
.fm-hero--forge, .fg-keys, .fg-sec, main .final {
  --fg: #a8401a; --fg-ink: #8a3210; --fg-deep: #6b2410;
  --fg-glow: #ea7a2c; --fg-gold: #f5a524; --fg-sand: #f6dcc7; --fg-cream: #fdf3ea; --fg-line: rgba(168, 64, 26, .24);
  --fg-tint: rgba(234, 122, 44, .12); --fg-rgb: 168, 64, 26;
  --fg-orb: radial-gradient(circle at 34% 30%, #ffd9b8, var(--fg-glow) 55%, #7c2d12);
  
  --fg-grad: linear-gradient(100deg, #5e1f0b, var(--fg-ink) 45%, var(--fg) 100%);
  
  --fg-btn: linear-gradient(100deg, #6b2410, #8a3210 45%, #b5501d);
}


.fm-hero--forge { --ht-ink: rgba(var(--fg-rgb), .13); }
.fm-hero--forge .ac-hero__art {
  background:
    radial-gradient(70% 70% at 78% 62%, rgba(234, 122, 44, .2), rgba(234, 122, 44, 0) 70%),
    radial-gradient(120% 95% at 74% 10%, rgba(255, 220, 192, .9), rgba(255, 220, 192, .3) 46%, rgba(255, 220, 192, 0) 76%);
}
.fm-hero--forge .halftone {
  -webkit-mask-image: linear-gradient(118deg, transparent 46%, rgba(0, 0, 0, .3) 66%, #000 100%);
  mask-image: linear-gradient(118deg, transparent 46%, rgba(0, 0, 0, .3) 66%, #000 100%);
}

.fg-heat {
  position: absolute; right: -14%; bottom: -40%; width: 1200px; height: 1200px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(234, 122, 44, .34), rgba(245, 165, 36, .14) 50%, rgba(245, 165, 36, 0) 76%);
}
.fg-embers {
  position: absolute; right: 0; bottom: 0; width: 62%; height: 74%; pointer-events: none; opacity: .6;
  background-image: radial-gradient(circle, rgba(var(--fg-rgb), .6) 1.2px, transparent 1.8px), radial-gradient(circle, rgba(234, 122, 44, .55) 1px, transparent 1.6px);
  background-size: 46px 52px, 31px 37px; background-position: 0 0, 17px 9px;
  -webkit-mask-image: radial-gradient(70% 80% at 70% 100%, #000, transparent 72%);
  mask-image: radial-gradient(70% 80% at 70% 100%, #000, transparent 72%);
}
.fg-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(18px, 2.4vw, 28px); padding: 5px 16px 5px 5px;
  border: 1px solid rgba(var(--fg-rgb), .36); border-radius: var(--r-pill); background: rgba(255, 255, 255, .78);
  font: 600 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-ink);
}
.fg-kicker__ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--fg-btn); color: #fff; box-shadow: 0 6px 14px -6px rgba(107, 36, 16, .7); }
.fg-kicker__ic .i { width: 18px; height: 18px; stroke-width: 1.9; }
.fm-hero--forge .fg-h1 { max-width: 11em; margin-top: clamp(16px, 2vw, 22px); font-size: clamp(40px, 5.4vw, 74px); line-height: 1; }
.fg-em { font-style: normal; background: var(--fg-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fm-hero--forge .fm-h1 .stop .orb { background: var(--fg-orb); box-shadow: 0 .06em .18em rgba(var(--fg-rgb), .45); }
.fg-tag { max-width: 30ch; margin-top: clamp(18px, 2vw, 24px); font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; line-height: 1.38; letter-spacing: -.012em; color: var(--ink); text-wrap: balance; }
.fg-lead { max-width: 52ch; margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--ink2); }
.fg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 18px; }
.fg-from {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 11px; border-radius: var(--r-pill);
  background: var(--fg-btn); box-shadow: 0 10px 22px -12px rgba(107, 36, 16, .8); font-size: 14px; font-weight: 700; color: #fff;
}
.fg-from .orb { background: radial-gradient(circle at 34% 30%, #fff, #ffd9b8 55%, var(--fg-gold)); }
.fg-meta .ac-link, .fg-sec .ac-link { color: var(--fg-ink); }
.fg-pick__k { margin: clamp(24px, 3vw, 34px) 0 14px; color: var(--fg-ink); }
.fm-hero--forge .bp__k { color: var(--fg-ink); }

.fm-hero--forge .bp .gl { filter: drop-shadow(0 6px 16px rgba(107, 36, 16, .3)); }
.fm-hero--forge .bp .gl__fill { background: var(--fg-btn); }
.fm-hero--forge .bp__seg:not(:has(.gl)) > .is-active { background: var(--fg-btn); color: #fff; }
.fm-hero--forge .bp__seg { border-color: rgba(var(--fg-rgb), .2); }

.fm-hero--forge .price-card.is-featured { border-color: rgba(var(--fg-rgb), .55); box-shadow: 0 24px 64px rgba(107, 36, 16, .16); }

.fm-hero--forge .price-card .tier { text-wrap: balance; }


.fm-hero--forge .fm-hero__card > .fg-anvil { position: absolute; left: 50%; top: calc(100% + 2px); width: 100%; max-width: 440px; translate: -50% 0; }
.fg-anvil { container-type: inline-size; -webkit-tap-highlight-color: transparent; }
.fg-anvil__base { position: relative; display: block; width: 100%; height: auto; filter: drop-shadow(0 22px 18px rgba(74, 24, 8, .3)); }
.fg-anvil__hammer { position: absolute; left: 0; top: 0; width: 100%; height: auto; transform-origin: 73.1% 23.1%; filter: drop-shadow(0 14px 12px rgba(74, 24, 8, .22)); }
.fg-anvil__heat {
  position: absolute; left: 6%; right: 6%; bottom: -4%; height: 26%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(234, 122, 44, .42), rgba(234, 122, 44, .12) 60%, rgba(234, 122, 44, 0));
}

.fg-anvil__flash {
  position: absolute; left: 50%; top: 55.8%; width: 46%; aspect-ratio: 2.2; translate: -50% -50%; border-radius: 50%; opacity: .5;
  background: radial-gradient(closest-side, rgba(255, 196, 110, .9), rgba(245, 150, 40, .45) 45%, rgba(234, 122, 44, 0));
}
.fg-anvil__sparks, .fg-anvil__rise { position: absolute; left: 51.5%; top: 54.2%; width: 0; height: 0; }

.fg-anvil__sparks i {
  position: absolute; left: 0; top: -.55cqw; width: var(--l, 4.6cqw); height: 1.1cqw; border-radius: 1cqw; opacity: 0;
  transform-origin: 0 50%; rotate: var(--a);
  background: linear-gradient(90deg, rgba(255, 236, 190, 0), #ffe1a0 30%, #ffb347 60%, var(--fg-glow));
  box-shadow: 0 0 1.4cqw rgba(245, 150, 40, .65);
}

.fg-anvil__ring { position: absolute; left: 51.5%; top: 54.2%; width: 30cqw; aspect-ratio: 2.6; translate: -50% -50%; border-radius: 50%; opacity: 0; border: .7cqw solid rgba(255, 190, 100, .8); }
.fg-anvil__rise i { position: absolute; left: 0; top: 0; width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: var(--fg-glow); opacity: 0; }
.fg-anvil__rise i:nth-child(3n) { width: .7cqw; height: .7cqw; background: var(--fg-gold); }
.fg-anvil__rise i:nth-child(4n+1) { background: var(--fg); }

.fg-anvil__sparks i:nth-child(1) { --x: -30; --y: -22; --a: -144deg; }
.fg-anvil__sparks i:nth-child(2) { --x: -22; --y: -30; --a: -126deg; --l: 3.4cqw; }
.fg-anvil__sparks i:nth-child(3) { --x: -12; --y: -34; --a: -109deg; }
.fg-anvil__sparks i:nth-child(4) { --x: -3; --y: -36; --a: -95deg; --l: 3.2cqw; }
.fg-anvil__sparks i:nth-child(5) { --x: 9; --y: -33; --a: -75deg; }
.fg-anvil__sparks i:nth-child(6) { --x: 19; --y: -28; --a: -56deg; --l: 3.8cqw; }
.fg-anvil__sparks i:nth-child(7) { --x: 28; --y: -20; --a: -36deg; }
.fg-anvil__sparks i:nth-child(8) { --x: 34; --y: -9; --a: -15deg; --l: 5.8cqw; }
.fg-anvil__sparks i:nth-child(9) { --x: -35; --y: -8; --a: -167deg; --l: 5.8cqw; }
.fg-anvil__sparks i:nth-child(10) { --x: 36; --y: 2; --a: 3deg; --l: 6.2cqw; }
.fg-anvil__sparks i:nth-child(11) { --x: -37; --y: 3; --a: 175deg; --l: 6.2cqw; }
.fg-anvil__sparks i:nth-child(12) { --x: -17; --y: -22; --a: -128deg; --l: 2.8cqw; }
.fg-anvil__sparks i:nth-child(13) { --x: 14; --y: -20; --a: -55deg; --l: 2.8cqw; }
.fg-anvil__sparks i:nth-child(14) { --x: 24; --y: -36; --a: -56deg; --l: 3cqw; }
.fg-anvil__sparks i:nth-child(15) { --x: -26; --y: -38; --a: -124deg; --l: 3cqw; }
.fg-anvil__sparks i:nth-child(16) { --x: 4; --y: -24; --a: -80deg; --l: 2.6cqw; }
@media (prefers-reduced-motion: no-preference) {
  .fg-anvil__hammer { rotate: 26deg; animation: fg-ready 3.2s ease-in-out infinite alternate; }
  .fg-anvil__flash { animation: fg-glow 2.4s ease-in-out infinite alternate; }
  .fg-anvil.is-striking .fg-anvil__hammer { animation: fg-strike .95s both; }
  .fg-anvil.is-striking .fg-anvil__flash { animation: fg-flash .95s both; }
  .fg-anvil.is-striking .fg-anvil__base { animation: fg-jolt .95s both; }
  .fg-anvil.is-striking .fg-anvil__heat { animation: fg-flare .95s both; }
  .fg-anvil.is-striking .fg-anvil__sparks i { animation: fg-spark .95s both; }
  .fg-anvil.is-striking .fg-anvil__ring { animation: fg-ring .95s both; }
  .fg-anvil.is-striking .fg-anvil__sparks i:nth-child(3n) { animation-duration: 1.1s; }
  .fg-anvil.is-striking .fg-anvil__sparks i:nth-child(4n) { animation-duration: .85s; }
  @keyframes fg-ready { from { rotate: 26deg; } to { rotate: 29deg; } }
  @keyframes fg-glow { from { opacity: .4; } to { opacity: .62; } }
  @keyframes fg-strike {
    0% { rotate: 26deg; animation-timing-function: cubic-bezier(.3, 0, .3, 1); }
    24% { rotate: 34deg; animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
    40% { rotate: 0deg; animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
    47% { rotate: 4.5deg; animation-timing-function: cubic-bezier(.5, 0, .7, .4); }
    54% { rotate: 0deg; animation-timing-function: cubic-bezier(.35, 0, .2, 1); }
    100% { rotate: 26deg; }
  }
  @keyframes fg-flash {
    0%, 39% { opacity: .5; scale: 1; }
    41% { opacity: 1; scale: 1.22; }
    100% { opacity: .5; scale: 1; }
  }
  @keyframes fg-ring { 0%, 39% { opacity: 0; scale: .2; } 41% { opacity: .95; scale: .35; } 70%, 100% { opacity: 0; scale: 1.25; } }
  @keyframes fg-jolt { 0%, 39% { translate: 0 0; } 41% { translate: 0 .35cqw; } 48%, 100% { translate: 0 0; } }
  @keyframes fg-flare { 0%, 39% { opacity: 1; scale: 1; } 43% { opacity: 1; scale: 1.12 1.3; } 100% { opacity: 1; scale: 1; } }
  @keyframes fg-spark {
    0%, 39% { opacity: 0; translate: 0 0; scale: .3 1; }
    41% { opacity: 1; scale: 1 1; animation-timing-function: cubic-bezier(.15, .7, .35, 1); }
    78% { opacity: .9; translate: calc(var(--x) * 1cqw) calc(var(--y) * 1cqw); scale: .7 1; animation-timing-function: ease-in; }
    100% { opacity: 0; translate: calc(var(--x) * 1.12cqw) calc(var(--y) * 1cqw + 6cqw); scale: .3 1; }
  }
  
  .fg-anvil__rise i { animation: fg-ember 3.4s ease-out infinite; }
  .fg-anvil__rise i:nth-child(1) { --dx: -16cqw; --dy: -34cqw; animation-delay: 0s; }
  .fg-anvil__rise i:nth-child(2) { --dx: 9cqw; --dy: -41cqw; animation-delay: .3s; }
  .fg-anvil__rise i:nth-child(3) { --dx: -5cqw; --dy: -48cqw; animation-delay: .6s; }
  .fg-anvil__rise i:nth-child(4) { --dx: 20cqw; --dy: -30cqw; animation-delay: .9s; }
  .fg-anvil__rise i:nth-child(5) { --dx: -25cqw; --dy: -25cqw; animation-delay: 1.2s; }
  .fg-anvil__rise i:nth-child(6) { --dx: 3cqw; --dy: -54cqw; animation-delay: 1.5s; }
  .fg-anvil__rise i:nth-child(7) { --dx: 27cqw; --dy: -39cqw; animation-delay: 1.8s; }
  .fg-anvil__rise i:nth-child(8) { --dx: -10cqw; --dy: -43cqw; animation-delay: 2.1s; }
  .fg-anvil__rise i:nth-child(9) { --dx: 14cqw; --dy: -50cqw; animation-delay: 2.4s; }
  .fg-anvil__rise i:nth-child(10) { --dx: -20cqw; --dy: -39cqw; animation-delay: 2.7s; }
  .fg-anvil__rise i:nth-child(11) { --dx: 23cqw; --dy: -23cqw; animation-delay: 3s; }
  .fg-anvil__rise i:nth-child(12) { --dx: -2cqw; --dy: -34cqw; animation-delay: 3.2s; }
  @keyframes fg-ember {
    0% { transform: translate(0, 0) scale(1); opacity: 0; }
    12% { opacity: .95; }
    100% { transform: translate(var(--dx), var(--dy)) scale(.3); opacity: 0; }
  }
}

@media (max-width: 1020px) {
  .fm-hero--forge .fm-hero__card > .fg-anvil { position: relative; left: auto; top: auto; translate: none; width: 280px; margin: 0 auto 10px; }
}


main .btn--go { background: var(--fg-btn, linear-gradient(100deg, #6b2410, #8a3210 45%, #b5501d)); color: #fff; box-shadow: 0 14px 32px -12px rgba(107, 36, 16, .75), inset 0 1px 0 rgba(255, 255, 255, .26); }
main .btn--go .arr { background: #fff; color: #7c2d12; }
@media (hover: hover) and (pointer: fine) {
  main .btn--go:hover { background: linear-gradient(100deg, #7c2a12, #9a3a15 45%, #c4602a); box-shadow: 0 18px 36px -12px rgba(107, 36, 16, .85), inset 0 1px 0 rgba(255, 255, 255, .3); }
}

main .final { background: radial-gradient(120% 140% at 85% 0%, #d9682a 0%, #b5501d 26%, #9a4117 44%, #7c2d12 68%, #4f1a08 100%); }

main .final::after {
  content: ""; position: absolute; right: -2%; bottom: -14%; width: min(46%, 520px); aspect-ratio: 1; pointer-events: none;
  background: rgba(255, 255, 255, .09);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.6 10.6c1.6-.9 3.1-1.2 4.6-1.2h13.4V12c-2 0-3.8.6-4.5 2.6l.3 2.4h2v2.6H7.6V17h2l.3-2.4c-.6-1.6-2-2.4-3.8-2.9-1.3-.3-2.5-.6-3.5-1.1z'/%3E%3Crect x='10.7' y='2.8' width='3.2' height='5.6' rx='.7' transform='rotate(-34 12.3 5.6)'/%3E%3Cpath d='M13.6 4.7l6.2-4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.6 10.6c1.6-.9 3.1-1.2 4.6-1.2h13.4V12c-2 0-3.8.6-4.5 2.6l.3 2.4h2v2.6H7.6V17h2l.3-2.4c-.6-1.6-2-2.4-3.8-2.9-1.3-.3-2.5-.6-3.5-1.1z'/%3E%3Crect x='10.7' y='2.8' width='3.2' height='5.6' rx='.7' transform='rotate(-34 12.3 5.6)'/%3E%3Cpath d='M13.6 4.7l6.2-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
main .final .btn--go, main .final .btn--go:hover { background: var(--card); color: #7c2d12; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .45); }
main .final .btn--go .arr { background: var(--fg-btn); color: #fff; }
main .final .stop .orb { background: radial-gradient(circle at 34% 30%, #fff, #ffe9d6 60%, #f5b98a); box-shadow: 0 .06em .2em rgba(60, 18, 3, .35); }
@media (max-width: 560px) { main .final::after { width: 70%; right: -18%; bottom: -10%; } }


.fg-keys { position: relative; margin-top: calc(-1 * clamp(28px, 5vw, 64px)); padding-block: 0 clamp(56px, 7vw, 84px); }
.fg-keys__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fg-key { position: relative; overflow: clip; padding: 26px 22px 26px; border: 1px solid rgba(var(--fg-rgb), .16); border-radius: 22px; background: var(--card); box-shadow: var(--shadow-soft); }
.fg-key::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--fg-btn); }
.fg-ic {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff;
  background: var(--fg-btn); box-shadow: 0 10px 20px -10px rgba(107, 36, 16, .75), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.fg-ic .i { width: 22px; height: 22px; stroke-width: 1.8; }
.fg-key__t { margin-top: 18px; font-size: 19px; line-height: 1.22; letter-spacing: -.018em; }
.fg-key p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--ink2); }


.fg-sec .label, .fg-sec .label i { color: var(--fg-ink); }
.fg-sec .h-lg .stop .orb { background: var(--fg-orb); box-shadow: 0 .06em .18em rgba(var(--fg-rgb), .45); }


.fg-floor__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: center; gap: 28px 52px; }
.fg-chart { padding: clamp(18px, 2.4vw, 28px); border-color: rgba(var(--fg-rgb), .22); background: linear-gradient(172deg, #fffdfa, #fdf0e5); }
.fg-ch { display: block; width: 100%; height: auto; overflow: visible; }
.fg-ch__lv { stroke-width: 1; }
.fg-ch__lv.is-start { stroke: rgba(13, 22, 18, .42); stroke-width: 1.5; stroke-dasharray: 5 4; }
.fg-ch__lvk { font: 700 12.5px/1 var(--font); fill: var(--ink); }
.fg-g0 { stop-color: rgba(var(--fg-rgb), .2); }
.fg-g1 { stop-color: rgba(var(--fg-rgb), .03); }
.fg-hatch { stroke: rgba(var(--fg-rgb), .2); stroke-width: 2.2; }
.fg-ch__floor { fill: none; stroke: var(--fg-deep); stroke-width: 3.4; stroke-linejoin: round; }
.fg-ch__walk { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.fg-ch__close { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.fg-ch__halo { fill: rgba(234, 122, 44, .26); transform-box: fill-box; transform-origin: center; }
.fg-ch__stop { fill: var(--fg-glow); stroke: #fff; stroke-width: 3; }
@media (prefers-reduced-motion: no-preference) {
  .fg-ch__halo { animation: fg-heat 2.6s ease-in-out infinite; }
  @keyframes fg-heat { 0%, 100% { transform: scale(.8); opacity: .55; } 50% { transform: scale(1.15); opacity: 1; } }
}
.fg-ch__note { font: 600 12px/1 var(--mono); letter-spacing: .03em; fill: var(--fg-ink); }
.fg-ch__note.is-floor { fill: var(--fg-deep); }
.fg-ch__day { font: 500 11px/1 var(--mono); fill: var(--ink2); }
.fg-ch__key { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--ink2); }
.fg-k { display: inline-flex; align-items: center; gap: 9px; }
.fg-k--walk::before { content: ""; width: 22px; height: 2.2px; border-radius: 2px; background: var(--ink); }
.fg-k--floor::before { content: ""; width: 22px; height: 3.4px; border-radius: 2px; background: var(--fg-deep); }
.fg-chart__c { margin-top: 14px; padding-top: 14px; border-top: 1px dotted var(--line-dot); font-size: 14px; line-height: 1.6; color: var(--ink2); }
.fg-notes { display: grid; }
.fg-note { position: relative; padding: 22px 0 22px 62px; border-top: 1px solid var(--fg-line); }
.fg-note:first-child { padding-top: 4px; border-top: 0; }
.fg-note__n {
  position: absolute; left: 0; top: 18px; display: grid; place-items: center; width: 44px; height: 36px; border-radius: 12px;
  font-size: 12.5px; font-weight: 700; color: #fff; background: var(--fg-btn); box-shadow: 0 8px 16px -8px rgba(107, 36, 16, .7);
}
.fg-note:first-child .fg-note__n { top: 0; }
.fg-note__t { font-size: 19px; line-height: 1.25; letter-spacing: -.018em; }
.fg-note p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--ink2); }


.fg-grid__card { padding: clamp(16px, 2vw, 24px); }
.fg-grid__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 22px; margin-bottom: 14px; }
.fg-grid__for { font-size: 14px; color: var(--ink2); }
.fg-grid__for b { color: var(--ink); font-family: var(--mono); }
.fg-heatkey { display: inline-flex; align-items: center; gap: 4px; font: 600 11.5px/1 var(--mono); letter-spacing: .02em; color: var(--ink2); }
.fg-heatkey span { white-space: nowrap; }
.fg-heatkey span:first-child { margin-right: 6px; }
.fg-heatkey span:last-child { margin-left: 6px; }
.fg-heatkey i { width: 22px; height: 12px; border-radius: 4px; }
.fg-grid__scroll { overflow-x: auto; }
.fg-grid__t { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 4px; font-variant-numeric: tabular-nums; }
.fg-grid__t th { padding: 8px 6px; font: 600 12px/1.2 var(--mono); color: var(--ink2); text-align: center; white-space: nowrap; }
.fg-grid__t thead th:first-child, .fg-grid__t tbody th { width: 1%; padding-right: 14px; text-align: left; }
.fg-grid__t tbody th { color: var(--fg-ink); font-size: 13px; }

.fg-grid__t thead th:first-child, .fg-grid__t tbody th { position: sticky; left: 0; z-index: 2; background: var(--card); box-shadow: 6px 0 0 var(--card); }
.fg-grid__t td { height: 46px; padding: 0; border-radius: 12px; text-align: center; }
.fg-grid__t td a { display: grid; place-items: center; height: 100%; min-height: 46px; border-radius: 12px; font: 600 14px/1 var(--mono); letter-spacing: -.02em; color: var(--ink); }
.fg-grid__t .is-h1, .fg-heatkey .is-h1 { background: #fbefe4; }
.fg-grid__t .is-h2, .fg-heatkey .is-h2 { background: #f6d6bd; }
.fg-grid__t .is-h3, .fg-heatkey .is-h3 { background: #e3955f; }
.fg-grid__t .is-h4, .fg-heatkey .is-h4 { background: #b5501d; }
.fg-grid__t .is-h5, .fg-heatkey .is-h5 { background: #7c2d12; }
.fg-grid__t .is-h4 a, .fg-grid__t .is-h5 a { color: #fff; }
.fg-grid__t td.is-cur { background: var(--ink); box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--fg-glow); }
.fg-grid__t td.is-cur a { color: var(--on-ink); }
.fg-grid__t td a:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .fg-grid__t td:not(.is-cur) a:hover { box-shadow: inset 0 0 0 2px rgba(13, 22, 18, .55); }
}
.fg-grid__foot { margin-top: 12px; padding-top: 12px; border-top: 1px dotted var(--line-dot); font-size: 13px; line-height: 1.5; color: var(--ink2); }


.fg-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fg-fig { position: relative; overflow: clip; display: grid; align-content: start; gap: 10px; padding: 26px 22px 24px; border-color: rgba(var(--fg-rgb), .16); }
.fg-fig::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--fg-btn); }
.fg-fig__k { margin-top: 6px; color: var(--fg-ink); }
.fg-fig__v { font: 700 clamp(28px, 2.8vw, 38px)/1.05 var(--mono); letter-spacing: -.03em; color: var(--fg-deep); }
.fg-fig__p { font-size: 14.5px; line-height: 1.55; color: var(--ink2); }

.fg-bars { margin-top: 16px; padding: 18px 22px 16px; border-radius: 20px; background: linear-gradient(172deg, #fffaf5, #fbe9da); box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), .16); }

.fg-bars__row { display: grid; grid-template-columns: repeat(14, minmax(0, 74px)); gap: 8px 10px; }
.fg-ingot { display: block; width: 100%; height: auto; aspect-ratio: 40 / 24; overflow: visible; filter: drop-shadow(0 4px 5px rgba(107, 36, 16, .22)); }
.fg-bars__row:has(> .fg-ingot:nth-child(15)) { grid-template-columns: repeat(25, minmax(0, 40px)); gap: 7px 6px; }
.fg-bars__row:has(> .fg-ingot:nth-child(15)) .fg-ingot { filter: none; }
.fg-ingot path { fill: #b5501d; stroke: #6b2410; stroke-width: 1.2; stroke-linejoin: round; }
.fg-ingot path.fg-ingot__ghost { fill: rgba(var(--fg-rgb), .1); stroke: rgba(var(--fg-rgb), .35); stroke-dasharray: 3 2; }
.fg-bars__c { margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: var(--ink2); }
.fg-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(34px, 4vw, 48px); }
.fg-step { position: relative; padding: 30px 0 0; border-top: 3px solid var(--fg-line); }
.fg-step:last-child { border-top-color: var(--fg); }
.fg-step__n {
  position: absolute; left: 0; top: -17px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  font-size: 12px; font-weight: 700; color: #fff; background: var(--fg-btn); box-shadow: 0 0 0 4px var(--card);
}
.fg-step:last-child .fg-step__n { box-shadow: 0 0 0 4px var(--card), 0 0 0 8px rgba(234, 122, 44, .3); }
.fg-step__t { margin-top: 4px; font-size: 18px; line-height: 1.25; letter-spacing: -.016em; }
.fg-step p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--ink2); }


.fg-cmp__card { padding: 8px 10px 4px; }
.fg-cmp__scroll { overflow-x: auto; }
.fg-cmp__t { width: 100%; min-width: 560px; font-size: 15px; border-collapse: separate; border-spacing: 0; }
.fg-cmp__t th, .fg-cmp__t td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.fg-cmp__t tbody tr:last-child > * { border-bottom: 0; }
.fg-cmp__t tbody th { text-align: left; font-weight: 500; line-height: 1.35; color: var(--ink2); }
.fg-cmp__t thead th { padding-block: 16px 14px; border-bottom: 2px dotted var(--line2); font-size: 16px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.fg-cmp__mk { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 9px; vertical-align: -7px; color: var(--ink2); background: var(--paper); }
.fg-cmp__mk .i { width: 15px; height: 15px; stroke-width: 2; }
.fg-cmp__t td { font: 600 15px/1.25 var(--mono); letter-spacing: -.02em; color: var(--ink2); }
.fg-cmp__t td small { display: block; margin-top: 3px; font: 500 12px/1.2 var(--font); letter-spacing: 0; }

.fg-cmp__t thead th.is-forge { background: var(--fg-btn); color: #fff; border-bottom-color: transparent; border-radius: 14px 14px 0 0; }
.fg-cmp__t thead .is-forge .fg-cmp__mk { color: #fff; background: rgba(255, 255, 255, .18); }
.fg-cmp__t td.is-forge { background: rgba(234, 122, 44, .09); color: var(--fg-deep); }
.fg-cmp__t tbody tr:last-child .is-forge { border-radius: 0 0 14px 14px; }
.fg-cmp__foot { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 12px 12px 14px; border-top: 1px dotted var(--line-dot); }


@media (max-width: 1020px) {
  .fg-keys__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fg-floor__grid { grid-template-columns: minmax(0, 1fr); }
  .fg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}

@media (max-width: 900px) {
  .fg-grid__t { border-spacing: 3px; }
}
@media (max-width: 680px) {
  .fg-figs { grid-template-columns: minmax(0, 1fr); }
  
  .fg-grid__t { min-width: 700px; }
  
  .fg-grid__t thead th:first-child { min-width: 64px; max-width: 92px; white-space: normal; line-height: 1.3; }
}
@media (max-width: 560px) {
  .fg-keys__grid, .fg-steps { grid-template-columns: minmax(0, 1fr); }
  .fg-heatkey { gap: 3px; }
  .fg-heatkey i { width: 12px; }
  
  .fg-bars__row { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
  .fg-bars__row:has(> .fg-ingot:nth-child(15)) { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px 5px; }
  
  .fg-ch__note, .fg-ch__lvk { font-size: 23px; }
  .fg-ch__day { font-size: 21px; }
  .fg-ch__day.is-even { display: none; }
}
