.gw {
  --fw-text: #ddd6c6; --fw-dim: #918a7d; --fw-gold: #e9c46a; --fw-count: #ffe23f;
  --fw-edge: #6b4a28; --fw-edge-hi: #b88a48; --fw-sel: #f0c862; --fw-good: #62d65c; --fw-bad: #ee6152;
  --fw-noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .055 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  color: var(--fw-text); font-family: var(--font-ui);
}

.is-hud .stage.is-game { background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; pointer-events: none; }
.is-hud { --gw-top: calc(var(--cb-h, 4.7rem) + 3.6rem); }
.is-hud .stage.is-game { inset: auto; top: var(--gw-top); left: calc(var(--hud-pad) + var(--hud-rail-w) + .75rem); right: var(--hud-pad); bottom: var(--hud-pad); }
.is-hud.has-game-window .cb-hang { max-height: var(--gw-top); overflow: hidden; }
.is-hud.has-game-window .region-top > :not(.cb-bar, .cb-hang, .launcher, .is-pop, .popover) { visibility: hidden; }
.is-hud .stage.is-game > .window-close { display: none; }
.is-hud .stage.is-game > .gw { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; pointer-events: none; }
.is-hud .stage.is-game > .gw[data-station="choose"] { justify-content: center; }

.gw-win {
  position: relative; display: flex; flex-direction: column; pointer-events: auto;
  width: 100%; height: 100%; flex: 0 1 auto;
  background: var(--fw-noise), linear-gradient(#202123, #18191b);
  border: 1px solid #000; border-radius: 1.05rem;
  box-shadow: 0 0 0 2px #7d5f36, 0 0 0 3px #050403, inset 0 0 0 1px rgba(201, 164, 98, .38), 0 1.6rem 4rem rgba(0, 0, 0, .7);
}
.gw-win::before {
  content: ""; position: absolute; inset: 1px; pointer-events: none; z-index: 2;
  --rivet: radial-gradient(circle at 45% 40%, #ffe9b0 0 1.4px, #c8963e 2.2px, #4a3014 3.2px, transparent 3.8px);
  background: var(--rivet) 0 0 / 10px 10px no-repeat, var(--rivet) 100% 0 / 10px 10px no-repeat, var(--rivet) 0 100% / 10px 10px no-repeat, var(--rivet) 100% 100% / 10px 10px no-repeat;
}
.gw-win.is-choose { width: min(41rem, 100%); height: auto; }

.gw-title {
  flex: none; display: flex; align-items: center; gap: .4rem; height: 2.15rem; padding: 0 .35rem;
  background: var(--fw-noise), linear-gradient(#2e2721, #1a1612); border-bottom: 1px solid #000; border-radius: 1rem 1rem 0 0;
  box-shadow: inset 0 -1px 0 rgba(201, 164, 98, .42), inset 0 1px 0 rgba(255, 230, 180, .07);
}
.gw-title h1 {
  flex: 1; margin: 0; text-align: center; font: 700 .98rem/1 var(--font-display); letter-spacing: .24em; text-transform: uppercase; padding-left: .24em;
  background: linear-gradient(#fff0bf, #e7b85a 55%, #b07a2c); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 #000) drop-shadow(0 0 6px rgba(240, 180, 80, .18));
}
.gw-close, .gw-back {
  flex: none; display: grid; place-items: center; width: 1.55rem; height: 1.55rem; padding: 0; border-radius: .45rem; cursor: pointer;
  border: 1px solid #c08a48; box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(255, 210, 170, .25);
}
.gw-close { background: linear-gradient(#86281a, #4e130c); color: #f8dcb6; }
.gw-back { background: linear-gradient(#4a3a24, #2a2014); color: #f0d698; }
.gw-back-gap { flex: none; width: 1.55rem; }
.gw-close:hover { background: linear-gradient(#a8361f, #631a10); }
.gw-back:hover { background: linear-gradient(#5e4a2e, #362818); }
.gw-close .ia-glyph, .gw-back .ia-glyph { width: .95rem; height: .95rem; }

.gw-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 13rem minmax(0, 1fr) 25rem; gap: .45rem; padding: .45rem; }
.gw-col {
  min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: .45rem;
  background: rgba(8, 9, 10, .62); border: 1px solid #000; border-radius: .75rem;
  box-shadow: inset 0 0 0 1px #2c2d30, inset 0 .2rem .8rem rgba(0, 0, 0, .6);
  scrollbar-width: thin; scrollbar-color: #b8893e #0d0d0e;
}
.gw-col::-webkit-scrollbar { width: 9px; }
.gw-col::-webkit-scrollbar-track { background: #0d0d0e; border-left: 1px solid #000; }
.gw-col::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #e3b65e, #9a6c28); border: 1px solid #000; border-radius: .45rem; }
.gw-col.is-detail { display: flex; padding: 0; overflow: hidden; }

.gw-section + .gw-section { margin-top: .7rem; }
.gw-head {
  position: relative; display: flex; align-items: center; justify-content: center; height: 1.5rem; margin: 0 0 .45rem;
  font: 400 .8rem/1 var(--font-ui); letter-spacing: .02em; color: #dcd6c8;
  background: linear-gradient(#48494d, #2c2d30); border: 1px solid #000; border-radius: .6rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), inset 0 -1px 0 rgba(0, 0, 0, .4);
}
.gw-slots { display: grid; grid-template-columns: repeat(auto-fill, var(--gw-slot, 3.3rem)); gap: .42rem; }
.gw-cells { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.1rem, 1fr)); gap: .5rem .35rem; }
.gw-cell { display: flex; flex-direction: column; align-items: center; gap: .18rem; min-width: 0; padding: .3rem .15rem .35rem; border: 1px solid transparent; border-radius: .45rem; background: none; color: var(--fw-text); cursor: pointer; font: inherit; }
.gw-cell:hover { background: rgba(255, 220, 150, .04); border-color: rgba(184, 138, 72, .25); }
.gw-cell:hover .gw-slot { border-color: var(--fw-edge-hi); }
.gw-cell:hover .gw-img { transform: scale(1.06); }
.gw-cell.is-on { background: rgba(240, 200, 98, .07); border-color: rgba(240, 200, 98, .35); }
.gw-cname { max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; text-align: center; font-size: .74rem; line-height: 1.15; color: #e6dfcf; }
.gw-cell.is-on .gw-cname { color: #ffe7a6; }
.gw-cname b { color: var(--fw-count); font-weight: 700; }
.gw-cell.is-locked .gw-cname { color: #8a8478; }
.gw-ccost { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .15rem .3rem; font-size: .7rem; line-height: 1; font-weight: 700; }
.gw-ccost > span { display: inline-flex; align-items: center; gap: 1px; }
.gw-ccost .item-img { width: .95rem; height: .95rem; object-fit: contain; }
.gw-ccost .t-good { color: var(--fw-good); }
.gw-ccost .t-bad { color: var(--fw-bad); }
.gw-heading { display: flex; align-items: center; gap: .45rem; margin: .05rem 0 .55rem .1rem; font: 600 1rem/1.1 var(--font-display); color: #f0e4c8; }
.gw-heading .item-img { width: 1.5rem; height: 1.5rem; object-fit: contain; }

.gw-slot {
  position: relative; display: grid; place-items: center; width: var(--gw-slot, 3.3rem); height: var(--gw-slot, 3.3rem); padding: 0; cursor: pointer;
  border: 1px solid var(--fw-edge); border-radius: .45rem;
  background: radial-gradient(circle at 50% 38%, #2a2b2e, #0e0f10 76%);
  box-shadow: inset 0 0 0 1px #000, inset 0 0 .7rem rgba(0, 0, 0, .85);
  transition: border-color .12s, box-shadow .12s;
}
.gw-img { width: 80%; height: 80%; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .7)); transition: transform .12s; }
.gw-slot:hover { border-color: var(--fw-edge-hi); background: radial-gradient(circle at 50% 38%, #34353a, #121315 76%); }
.gw-slot:hover .gw-img { transform: scale(1.06); }
.gw-slot.is-on { border-color: var(--fw-sel); box-shadow: inset 0 0 0 1px #000, 0 0 0 1px rgba(240, 200, 98, .55), 0 0 .7rem rgba(240, 200, 98, .32), inset 0 0 .9rem rgba(240, 200, 98, .14); }
.gw-slot.is-short .gw-img { opacity: .5; }
.gw-slot.is-locked .gw-img { filter: grayscale(1) brightness(.42); }
.gw-slot.is-locked { border-color: #3c2e20; }
.gw-slot.is-working { border-color: #e0843a; box-shadow: inset 0 0 0 1px #000, 0 0 0 1px rgba(255, 140, 50, .45), inset 0 0 1rem rgba(255, 120, 30, .28); }
.gw-slot.is-working.is-on { border-color: var(--fw-sel); }
.gw-count { position: absolute; left: 3px; top: 2px; font: 700 .7rem/1 var(--font-ui); color: var(--fw-count); text-shadow: 1px 1px 0 #000, -1px 0 0 #000, 0 -1px 0 #000, 1px 0 0 #000; pointer-events: none; }
.gw-lock { position: absolute; right: 2px; bottom: 2px; display: flex; align-items: center; gap: 1px; font: 700 .64rem/1 var(--font-ui); color: #e8dcc4; text-shadow: 1px 1px 0 #000; pointer-events: none; }
.gw-lock.is-level { left: 0; right: 0; bottom: 0; justify-content: center; gap: .15rem; padding: .14rem 0 .12rem; border-top: 1px solid rgba(196, 71, 58, .75); border-radius: 0 0 .32rem .32rem; background: rgba(26, 8, 7, .86); font: 700 .74rem/1 var(--font-num); color: #ffd9d2; text-shadow: none; }
.gw-lock.is-level .ia-glyph { width: .66rem; height: .66rem; }
.gw-lock .ia-glyph { width: .62rem; height: .62rem; }
.gw-spark { position: absolute; right: 3px; top: 3px; width: .42rem; height: .42rem; border-radius: 50%; background: #ffb050; box-shadow: 0 0 5px #ff8a20; }
.gw-slot.is-big { width: 3.7rem; height: 3.7rem; cursor: default; flex: none; }
.gw-slot.is-small { width: 2.5rem; height: 2.5rem; cursor: default; flex: none; }

.gw-detail { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gw-dscroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: .65rem .75rem .5rem; scrollbar-width: thin; scrollbar-color: #b8893e #0d0d0e; }
.gw-item { display: flex; align-items: center; gap: .65rem; }
.gw-copy { flex: 1; min-width: 0; }
.gw-copy h2 { margin: 0; font: 600 1.12rem/1.15 var(--font-display); }
.gw-copy h2.r-common { color: #f2ece0; }
.gw-copy p { margin: .15rem 0 0; font-size: .78rem; line-height: 1.3; color: var(--fw-dim); }
.gw-copy .gw-stat { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.gw-copy .compare-line { margin: .2rem 0 0; font-size: .74rem; }
.gw-pin { flex: none; align-self: flex-start; }
.gw-label { margin: .75rem 0 .3rem; font: 400 .88rem/1 var(--font-ui); color: #f2ead8; }
.gw-values { display: flex; gap: .3rem; padding: .35rem .3rem; background: linear-gradient(#232426, #1a1b1d); border: 1px solid #000; border-radius: .45rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.gw-val { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.gw-val-icon { display: grid; place-items: center; width: 2rem; height: 2rem; background: #0e0f10; border: 1px solid #5c4226; border-radius: .45rem; box-shadow: inset 0 0 .4rem #000; }
.gw-val-icon .ia-emblem, .gw-val-icon .item-img { width: 1.4rem; height: 1.4rem; object-fit: contain; }
.gw-val-icon .ia-glyph { width: 1.05rem; height: 1.05rem; color: #e6c57a; }
.gw-val b { font-size: .8rem; color: var(--fw-gold); white-space: nowrap; }
.gw-val b .t-good { color: var(--fw-good); }
.gw-val small { font-size: .62rem; color: var(--fw-dim); white-space: nowrap; }
.gw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.gw-row { display: flex; align-items: center; gap: .5rem; min-height: 1.85rem; padding: .2rem .45rem; background: linear-gradient(90deg, #232427, #1c1d1f); border-left: 2px solid #4a3520; font-size: .83rem; }
.gw-row .item-img, .gw-row .ia-emblem { width: 1.3rem; height: 1.3rem; object-fit: contain; flex: none; }
.gw-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gw-row b { font-size: .8rem; }
.gw-row .t-good { color: var(--fw-good); }
.gw-row .t-bad { color: var(--fw-bad); }
.gw-tick { display: grid; place-items: center; flex: none; }
.gw-tick .ia-glyph { width: .95rem; height: .95rem; stroke-width: 3; }
.gw-tick.is-ok { color: var(--fw-good); }
.gw-tick.is-no { color: var(--fw-bad); }
.gw .potion-callout { margin-top: .7rem; padding: .45rem .55rem; border: 1px solid #3a2c1c; border-radius: .45rem; background: #141516; font-size: .76rem; }

.gw .src-btn { border-color: #7a5a32; background: radial-gradient(circle at 50% 38%, #2e2a24, #121213 80%); color: #cfa962; box-shadow: 0 0 0 1px #000; }
.gw .src-btn:hover { border-color: var(--fw-sel); background: radial-gradient(circle at 50% 38%, #5a4520, #2a2012 80%); color: #ffe7a6; box-shadow: 0 0 0 1px #000, 0 0 .45rem rgba(240, 200, 98, .4); }
.gw .src-btn:focus-visible { border-color: var(--fw-sel); background: radial-gradient(circle at 50% 38%, #5a4520, #2a2012 80%); color: #ffe7a6; outline: none; box-shadow: 0 0 0 1px #000, 0 0 0 3px rgba(240, 200, 98, .7); }
.gw-iname { display: flex; align-items: center; gap: .4rem; min-width: 0; }
.gw-iname h2 { min-width: 0; overflow-wrap: anywhere; }
.gw-iname .src-btn, .gw-row .src-btn { margin-left: 0; }
.gw-row.is-short .src-btn { border-color: #b88a48; color: #f6cf6e; }
.gw-row .src-btn + b { min-width: 4.6rem; text-align: right; }
.gw-ing .gw-slot > .src-btn { position: absolute; right: -.45rem; bottom: -.45rem; z-index: 1; width: 1.15rem; height: 1.15rem; margin: 0; }
.gw-ing .gw-slot > .src-btn .ia-glyph { width: .7rem; height: .7rem; }
.gw-ing .gw-slot.is-short > .src-btn { border-color: #b88a48; color: #f6cf6e; }

.gw-foot { flex: none; display: grid; gap: .45rem; padding: .55rem .75rem .7rem; border-top: 1px solid #000; box-shadow: inset 0 1px 0 #2c2d30; background: linear-gradient(#19191b, #121314); }
.gw-amount { display: flex; align-items: center; gap: .35rem; }
.gw-step { display: grid; place-items: center; width: 1.4rem; height: 1.4rem; padding: 0; border: 1px solid #8b6a3e; border-radius: .45rem; background: linear-gradient(#3e3324, #231b12); color: #f2d48e; cursor: pointer; box-shadow: 0 0 0 1px #000; }
.gw-step .ia-glyph { width: .8rem; height: .8rem; stroke-width: 3; }
.gw-step:disabled { opacity: .45; cursor: default; }
.gw-slider { flex: 1; min-width: 0; height: .55rem; margin: 0; -webkit-appearance: none; appearance: none; border: 1px solid #000; border-radius: .6rem; cursor: pointer;
  background: linear-gradient(90deg, #d39a3e var(--fill, 0%), #0b0b0c var(--fill, 0%)); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .8), 0 0 0 1px #3c2c1a; }
.gw-slider::-webkit-slider-thumb { -webkit-appearance: none; width: .8rem; height: 1.3rem; border: 1px solid #4a2e0a; border-radius: .45rem; background: linear-gradient(#ffe39a, #d8962e 60%, #a8681a); box-shadow: 0 1px 3px #000, inset 0 1px 0 rgba(255, 255, 255, .5); }
.gw-slider::-moz-range-thumb { width: .8rem; height: 1.3rem; border: 1px solid #4a2e0a; border-radius: .45rem; background: linear-gradient(#ffe39a, #d8962e 60%, #a8681a); box-shadow: 0 1px 3px #000; }
.gw-slider:disabled { cursor: default; opacity: .6; }
.gw-num { width: 3.9rem; height: 1.55rem; padding: 0 .3rem; border: 1px solid #5c4226; border-radius: .45rem; background: #0b0b0c; color: #f2ead8; font-size: .84rem; text-align: center; box-shadow: inset 0 1px 3px #000; -moz-appearance: textfield; appearance: textfield; }
.gw-num::-webkit-inner-spin-button, .gw-num::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.gw-all { height: 1.55rem; padding: 0 .55rem; border: 1px solid #5c4226; border-radius: .45rem; background: linear-gradient(#2e2f32, #1c1d1f); color: #cfc8b8; font-size: .76rem; cursor: pointer; box-shadow: 0 0 0 1px #000; }
.gw-all[aria-pressed="true"] { border-color: var(--fw-gold); color: #ffeab0; background: linear-gradient(#4e3c1c, #2a2012); }
.gw-note { margin: 0; font-size: .76rem; line-height: 1.3; color: var(--fw-dim); }
.gw-note b { color: #e8e0cc; font-weight: 600; }
.gw-note.is-blocked { display: flex; align-items: center; gap: .35rem; color: #f09a88; }
.gw-note .ia-glyph { width: .8rem; height: .8rem; }
.gw-buttons { display: flex; gap: .4rem; }
.gw-begin {
  flex: 1; height: 2.5rem; padding: 0; cursor: pointer; border: 1px solid #6a3e08; border-radius: .6rem;
  background: linear-gradient(#ffdc7c 0%, #f6b53a 47%, #db8c16 53%, #c27810 100%);
  box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(255, 255, 240, .65), inset 0 -2px 0 rgba(120, 60, 0, .45), 0 .2rem .5rem rgba(0, 0, 0, .5);
  font: 700 1rem/1 var(--font-display); letter-spacing: .2em; text-transform: uppercase; color: #2c1600; text-shadow: 0 1px 0 rgba(255, 238, 190, .55);
}
.gw-begin span { padding-left: .2em; }
.gw-begin:hover:not(:disabled) { filter: brightness(1.08) saturate(1.05); }
.gw-begin:active:not(:disabled) { transform: translateY(1px); box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(255, 255, 240, .4), inset 0 2px 4px rgba(120, 60, 0, .4); }
.gw-begin:disabled { cursor: not-allowed; background: linear-gradient(#5e5a54, #3c3a36); color: #22211f; text-shadow: none; box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(255, 255, 255, .14); }
.gw-queue { display: flex; align-items: center; gap: .3rem; height: 2.5rem; padding: 0 .75rem; border: 1px solid #8b6a3e; border-radius: .6rem; background: linear-gradient(#36312a, #1f1c18); color: #ead9b0; font-size: .82rem; cursor: pointer; box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(255, 230, 180, .1); }
.gw-queue .ia-glyph { width: .8rem; height: .8rem; }
.gw-queue:hover:not(:disabled) { border-color: var(--fw-gold); }
.gw-queue:disabled { opacity: .5; cursor: not-allowed; }

.gw-prog {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "icon copy stop" "bar bar bar"; align-items: center; gap: .4rem .55rem;
  padding: .45rem .5rem .5rem; border: 1px solid var(--fw-edge); border-radius: .45rem;
  background: linear-gradient(#24211c, #161411); box-shadow: 0 0 0 1px #000, inset 0 0 1rem rgba(255, 130, 40, .08);
}
.gw-prog > .gw-slot { grid-area: icon; }
.gw-prog-copy { grid-area: copy; display: grid; min-width: 0; }
.gw-prog-copy strong { font-size: .86rem; color: #f2e8d4; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gw-prog-copy small { font-size: .76rem; color: var(--fw-dim); }
.gw-prog-copy small b { color: #f2e8d4; }
.gw-prog-bar { grid-area: bar; }
.gw-stop { grid-area: stop; height: 1.75rem; padding: 0 .85rem; cursor: pointer; border: 1px solid #b06a3a; border-radius: .45rem; background: linear-gradient(#80281a, #4c120c); color: #f8dcbc; box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(255, 200, 160, .22); font: 700 .78rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
.gw-stop:hover:not(:disabled) { background: linear-gradient(#a2361f, #631a10); }
.gw .gw-track { height: .75rem; margin: 0; border: 1px solid #000; border-radius: .45rem; background: #09090a; box-shadow: inset 0 1px 2px #000, 0 0 0 1px #3c2c1a; overflow: hidden; }
.gw .gw-track > i { display: block; height: 100%; border-radius: 0; background: linear-gradient(#86ea70, #44ad3e 55%, #2a7c28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.gw .gw-track > i::after { display: none; }
.gw .bench-queue { margin: 0; padding: .4rem .5rem; border: 1px solid #3a2c1c; border-radius: .45rem; background: #121314; font-size: .76rem; }

.gw-chain { display: flex; align-items: center; gap: .3rem; margin: 0 0 .75rem; padding: .45rem; background: linear-gradient(#232426, #1a1b1d); border: 1px solid #000; border-radius: .45rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.gw-chain-step { flex: 1; min-width: 0; display: flex; align-items: center; gap: .45rem; padding: .3rem .4rem; border: 1px solid var(--fw-edge); border-radius: .45rem; background: #121314; color: var(--fw-text); font: inherit; text-align: left; cursor: pointer; }
.gw-chain-step:hover { border-color: var(--fw-edge-hi); }
.gw-chain-step.is-on { border-color: var(--fw-sel); box-shadow: 0 0 0 1px rgba(240, 200, 98, .4), inset 0 0 .8rem rgba(240, 200, 98, .1); }
.gw-chain-copy { display: grid; min-width: 0; line-height: 1.15; }
.gw-chain-copy small { font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: #c9a462; }
.gw-chain-copy b { font-size: .95rem; color: var(--fw-count); text-shadow: 1px 1px 0 #000; }
.gw-chain-copy em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .68rem; font-style: normal; color: var(--fw-dim); }
.gw-chain-link { flex: none; color: #c9a462; }
.gw-logs { display: grid; grid-template-columns: repeat(auto-fill, minmax(2.9rem, 1fr)); gap: .4rem .3rem; padding: .4rem; background: linear-gradient(#232426, #1a1b1d); border: 1px solid #000; border-radius: .45rem; }
.gw-log { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: 0; border: 0; background: none; color: var(--fw-text); font: inherit; cursor: pointer; }
.gw-log:hover .gw-slot { border-color: var(--fw-edge-hi); }
.gw-log small { font-size: .66rem; font-weight: 700; color: var(--fw-count); }
.gw-log small.t-bad { color: var(--fw-bad); }
.gw-log .gw-count { font-size: .6rem; }
.gw-chain-link .ia-glyph { width: .9rem; height: .9rem; }

.gw-tabs { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 .65rem; padding: .35rem; background: linear-gradient(#232426, #1a1b1d); border: 1px solid #000; border-radius: .45rem; }
.gw-tab { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; padding: 0; border: 1px solid var(--fw-edge); border-radius: .45rem; background: radial-gradient(circle at 50% 38%, #2a2b2e, #0e0f10 76%); box-shadow: inset 0 0 0 1px #000; cursor: pointer; }
.gw-tab .ia-emblem { width: 1.6rem; height: 1.6rem; transition: transform .12s; }
.gw-tab:hover { border-color: var(--fw-edge-hi); }
.gw-tab:hover .ia-emblem { transform: scale(1.08); }
.gw-tab.is-on { border-color: var(--fw-sel); box-shadow: inset 0 0 0 1px #000, 0 0 0 1px rgba(240, 200, 98, .55), 0 0 .6rem rgba(240, 200, 98, .3); }
.gw-tab.is-locked .ia-emblem { filter: grayscale(1) brightness(.5); }
.gw-tier { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.1rem; margin-left: .4rem; padding: 0 .25rem; vertical-align: .12em; font: 700 .66rem/1 var(--font-display); color: #2a1600; background: linear-gradient(#ffe08a, #c8902e); border: 1px solid #5a3a10; border-radius: .45rem; }
.gw-effects { list-style: none; margin: .55rem 0 0; padding: .45rem .55rem; display: grid; gap: .2rem; background: rgba(98, 214, 92, .06); border: 1px solid rgba(98, 214, 92, .22); border-radius: .45rem; }
.gw-effects li { font-size: .8rem; line-height: 1.3; color: #c8f0c0; }
.gw-effects li::before { content: "\25C6"; margin-right: .4rem; font-size: .55rem; vertical-align: .15em; color: #6ad45a; }
.gw-cauldron { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .4rem; margin: .65rem 0 0; padding: .5rem .4rem; background: radial-gradient(ellipse at 50% 70%, rgba(255, 140, 40, .14), transparent 60%), linear-gradient(#1c1d1f, #121314); border: 1px solid #000; border-radius: .45rem; box-shadow: inset 0 0 0 1px #2c2d30; }
.gw-pot { width: 7.5rem; height: 7.5rem; object-fit: contain; filter: drop-shadow(0 .4rem .5rem rgba(0, 0, 0, .7)); }
.gw-ings { display: grid; gap: .45rem; justify-items: center; }
.gw-ing { display: grid; justify-items: center; gap: .12rem; max-width: 5.5rem; }
.gw-ing small { display: inline-flex; align-items: center; gap: .15rem; font-size: .72rem; font-weight: 700; }
.gw-ing small .ia-glyph { width: .7rem; height: .7rem; stroke-width: 3; }
.gw-ing small.t-good { color: var(--fw-good); }
.gw-ing small.t-bad { color: var(--fw-bad); }
.gw-ing em { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .66rem; font-style: normal; color: var(--fw-dim); }
.gw-tiers { display: grid; gap: .4rem; padding: .45rem .5rem; background: linear-gradient(#232426, #1a1b1d); border: 1px solid #000; border-radius: .45rem; }
.gw-tier-pips { display: flex; gap: .3rem; }
.gw-tier-pip { flex: 1; display: grid; place-items: center; height: 1.5rem; font: 700 .78rem/1 var(--font-display); color: #6e675c; background: #0e0f10; border: 1px solid #3a2c1c; border-radius: .45rem; }
.gw-tier-pip.is-on { color: #2a1600; background: linear-gradient(#ffe08a, #c8902e); border-color: #5a3a10; }
.gw-tier-bar { display: grid; gap: .2rem; }
.gw-tier-bar small { font-size: .7rem; color: var(--fw-dim); }
.gw-luck { display: flex; flex-wrap: wrap; gap: .2rem .8rem; font-size: .72rem; color: var(--fw-dim); }
.gw-luck b { color: #e8e0cc; }
.gw-pockets { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.6rem, 1fr)); gap: .45rem; }
.gw-pocket { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "skill skill" "slot n" "auto auto"; align-items: center; gap: .3rem .45rem; padding: .45rem; border: 1px solid #3a2c1c; border-left: 3px solid color-mix(in srgb, var(--skill) 70%, #000); border-radius: .45rem; background: linear-gradient(#1f2022, #151617); }
.gw-pocket.is-full { border-color: var(--fw-edge); border-left-color: var(--skill); }
.gw-pocket.is-on { border-color: var(--fw-sel); box-shadow: 0 0 0 1px rgba(240, 200, 98, .45), inset 0 0 .8rem rgba(240, 200, 98, .08); }
.gw-pocket-pick { position: absolute; inset: 0; z-index: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.gw-pocket > :not(.gw-pocket-pick) { position: relative; z-index: 1; pointer-events: none; }
.gw-pocket > .gw-auto { pointer-events: auto; }
.gw-pocket-skill { grid-area: skill; display: flex; align-items: center; gap: .35rem; font-size: .74rem; color: #e6dfcf; }
.gw-pocket-skill .ia-emblem { width: 1.2rem; height: 1.2rem; }
.gw-pocket > .gw-slot { grid-area: slot; }
.gw-pocket > .gw-slot .ia-emblem { width: 60%; height: 60%; opacity: .35; filter: grayscale(1); }
.gw-pocket-n { grid-area: n; font-size: 1.05rem; color: var(--fw-count); text-shadow: 1px 1px 0 #000; }
.gw-pocket:not(.is-full) .gw-pocket-n { color: #5e584f; }
.gw-auto { grid-area: auto; display: inline-flex; align-items: center; justify-content: center; gap: .25rem; height: 1.5rem; padding: 0 .5rem; border: 1px solid #5c4226; border-radius: .45rem; background: linear-gradient(#2e2f32, #1c1d1f); color: #a8a090; font-size: .7rem; cursor: pointer; }
.gw-auto .ia-glyph { width: .75rem; height: .75rem; }
.gw-auto.is-on { border-color: #4f9a46; color: #b8f0a8; background: linear-gradient(#24401f, #162a12); }
.gw-auto.is-big { width: 100%; height: 2rem; font-size: .8rem; }
.gw-drink { height: 1.6rem; padding: 0 .65rem; border: 1px solid #6a3e08; border-radius: .45rem; background: linear-gradient(#ffd977, #d88a16); color: #2c1600; font: 700 .7rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; box-shadow: 0 0 0 1px #000; }
.gw-drink:disabled { opacity: .5; cursor: default; }
.gw-empty { margin: .3rem; font-size: .78rem; color: var(--fw-dim); }

.gw-case { display: grid; gap: .3rem; }
.gw-case-row { display: grid; grid-template-columns: 6.2rem repeat(3, minmax(0, 1fr)); align-items: center; gap: .35rem; padding: .15rem .2rem; border-bottom: 1px solid #232427; }
.gw-case-row.is-head { border-bottom-color: #3a2c1c; }
.gw-case-row.is-head b { text-align: center; font: 400 .72rem/1 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: #c9a462; }
.gw-case-set { font: 600 .9rem/1.1 var(--font-display); color: #f0e4c8; }
.gw-case-gap { display: block; }
.gw-case .gw-cname { display: none; }
.gw-case .gw-cell { justify-self: center; width: 6rem; padding: .2rem .15rem .25rem; }
.gw-win.is-choose.is-many { width: min(66rem, 100%); }
.gw-cards.is-many { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.gw-cards.is-many .gw-art { width: 8.5rem; height: 8.5rem; }
.gw-cards.is-many .gw-card strong { font-size: 1.12rem; }

.gw-chapters { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 .65rem; }
.gw-chapter { position: relative; display: inline-flex; align-items: center; gap: .35rem; height: 2rem; padding: 0 .85rem 0 .7rem; border: 1px solid var(--fw-edge); border-radius: .45rem .45rem 0 0; background: linear-gradient(#2c2a27, #1a1917); color: #d8d0bf; font: 600 .82rem/1 var(--font-display); cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 230, 180, .08); }
.gw-chapter::after { content: ""; position: absolute; left: .5rem; right: .5rem; bottom: -1px; height: 2px; background: transparent; }
.gw-chapter:hover { border-color: var(--fw-edge-hi); }
.gw-chapter.is-on { color: #2c1600; background: linear-gradient(#ffd977, #d88a16); border-color: #6a3e08; }
.gw-chapter.is-locked { color: #7a7368; }
.gw-chapter small { display: inline-flex; align-items: center; gap: 1px; font: 700 .66rem/1 var(--font-ui); color: var(--fw-bad); }
.gw-chapter small .ia-glyph { width: .62rem; height: .62rem; }
.gw-meal { position: absolute; right: 2px; top: 2px; color: #ffd27a; filter: drop-shadow(0 0 3px rgba(255, 180, 60, .8)); }
.gw-meal .ia-glyph { width: .7rem; height: .7rem; }
.gw-cauldron.is-hearth { background: radial-gradient(ellipse at 50% 80%, rgba(255, 120, 30, .2), transparent 60%), linear-gradient(#1c1d1f, #121314); }
.gw-heat { display: grid; gap: .4rem; padding: .45rem .5rem; background: linear-gradient(#232426, #1a1b1d); border: 1px solid #000; border-radius: .45rem; }
.gw-heat-figs { display: flex; gap: .3rem; }
.gw-heat-fig { flex: 1; display: grid; justify-items: center; gap: .1rem; padding: .3rem .2rem; background: #0e0f10; border: 1px solid #3a2c1c; border-radius: .45rem; }
.gw-heat-fig small { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fw-dim); }
.gw-heat-fig b { font-size: .95rem; color: #f0e6d2; }
.gw-heat-fig em { font-size: .6rem; font-style: normal; color: var(--fw-dim); }
.gw-heat-fig.is-hot b { color: var(--fw-bad); }
.gw-heat-fig.is-safe b { color: var(--fw-good); }
.gw-heat-fig.is-gold b { color: var(--fw-gold); }
.gw .gw-heat-track { height: .5rem; margin: 0; border: 1px solid #000; border-radius: .45rem; background: linear-gradient(90deg, #1d3a1a, #3a2a10 50%, #3a1210); overflow: hidden; }
.gw .gw-heat-track > i { display: block; height: 100%; border-radius: 0; background: linear-gradient(90deg, #f2c14a, #e8641c 60%, #c8281a); }
.gw .gw-heat-track > i::after { display: none; }
.gw-heat-help { display: flex; flex-wrap: wrap; gap: .25rem .6rem; font-size: .72rem; color: #7a7368; }
.gw-heat-help span { display: inline-flex; align-items: center; gap: .2rem; }
.gw-heat-help span.is-on { color: #b8f0a8; }
.gw-heat-help .ia-glyph { width: .7rem; height: .7rem; }

.gw-places { display: grid; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: .55rem; }
.gw-place { position: relative; display: grid; grid-template-rows: auto auto auto; padding: 0; overflow: hidden; border: 1px solid var(--fw-edge); border-radius: .6rem; background: linear-gradient(#1f2022, #141516); color: var(--fw-text); font: inherit; text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1px #000; transition: border-color .12s, box-shadow .12s; }
.gw-place:hover { border-color: var(--fw-edge-hi); }
.gw-place:hover .gw-place-shot { filter: brightness(1.08) saturate(1.05); }
.gw-place.is-on { border-color: var(--fw-sel); box-shadow: inset 0 0 0 1px #000, 0 0 0 1px rgba(240, 200, 98, .55), 0 0 .8rem rgba(240, 200, 98, .3); }
.gw-place.is-working { border-color: #e0843a; }
.gw-place-shot { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid #000; transition: filter .15s; }
.gw-place-shot.is-none { display: grid; place-items: center; background: #0e0f10; }
.gw-place-shot.is-none .ia-emblem { width: 2.4rem; height: 2.4rem; opacity: .4; }
.gw-place.is-locked .gw-place-shot, .gw-place.is-planned .gw-place-shot { filter: grayscale(.85) brightness(.45); }
.gw-place-item { position: absolute; left: .4rem; top: calc((100% - 4.2rem) - 1.9rem); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid var(--fw-edge); border-radius: .45rem; background: radial-gradient(circle at 50% 38%, #2a2b2e, #0e0f10 76%); box-shadow: 0 .15rem .4rem rgba(0, 0, 0, .7); }
.gw-place-item:empty { display: none; }
.gw-place-item .item-img { width: 80%; height: 80%; object-fit: contain; }
.gw-req, .gw-place-lv { display: inline-flex; align-items: baseline; gap: .22rem; padding: .2rem .45rem .22rem; border: 1px solid #b8893a; border-radius: .4rem; background: linear-gradient(#2a241b, #14110d); box-shadow: inset 0 1px 0 rgba(255, 232, 170, .14), 0 0 0 1px #000; line-height: 1; white-space: nowrap; }
.gw-req small, .gw-place-lv small { font: 700 .6rem/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: #cdb57c; }
.gw-req b, .gw-place-lv b { font: 700 .84rem/1 var(--font-num); color: #fff1c8; font-variant-numeric: tabular-nums; }
.gw-req .ia-glyph, .gw-place-lv .ia-glyph { align-self: center; width: .68rem; height: .68rem; margin-right: .04rem; color: #ff9d8e; }
.gw-req.is-locked, .gw-place-lv.is-locked { border-color: #c4473a; background: linear-gradient(#3c1815, #1c0b0a); }
.gw-req.is-locked small, .gw-place-lv.is-locked small { color: #f2a094; }
.gw-req.is-locked b, .gw-place-lv.is-locked b { color: #ffe1db; }
.gw-place-lv { position: absolute; right: .4rem; top: .4rem; z-index: 1; padding: .3rem .55rem .32rem; box-shadow: inset 0 1px 0 rgba(255, 232, 170, .14), 0 0 0 1px #000, 0 2px 6px rgba(0, 0, 0, .55); }
.gw-place-lv small { font-size: .64rem; }
.gw-place-lv b { font-size: 1.05rem; }
.gw-ccost .gw-req { padding: .16rem .4rem .18rem; }
.gw-place-copy { display: grid; gap: .05rem; padding: .45rem .55rem .1rem 3.4rem; min-height: 2.6rem; }
.gw-place-copy strong { font: 600 .92rem/1.15 var(--font-display); color: #f2e8d2; }
.gw-place-copy small { font-size: .72rem; color: var(--fw-dim); }
.gw-place-foot { display: flex; align-items: center; justify-content: space-between; gap: .4rem; padding: .25rem .55rem .45rem; font-size: .72rem; color: #c2b9a4; }
.gw-place-foot > span { display: inline-flex; align-items: center; gap: .25rem; }
.gw-place-foot .ia-glyph { width: .7rem; height: .7rem; }
.gw-vista { position: relative; margin: 0 0 .6rem; border: 1px solid var(--fw-edge); border-radius: .45rem; overflow: hidden; box-shadow: inset 0 0 0 1px #000; }
.gw-vista img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.gw-vista-copy { position: absolute; left: 0; right: 0; bottom: 0; display: grid; padding: 1.2rem .6rem .45rem; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.gw-vista-copy b { font: 600 1.15rem/1.1 var(--font-display); color: #fff0c8; text-shadow: 0 1px 2px #000; }
.gw-vista-copy small { font-size: .74rem; color: #d8d0bf; }
.gw-uses { display: flex; flex-wrap: wrap; gap: .25rem; }
.gw-uses span { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .5rem; font-size: .72rem; color: #d8d0bf; background: #141516; border: 1px solid #3a2c1c; border-radius: .45rem; }
.gw-uses .item-img { width: 1.2rem; height: 1.2rem; object-fit: contain; }
.gw-toolcard { display: grid; gap: .4rem; padding: .4rem; background: linear-gradient(#232426, #1a1b1d); border: 1px solid #000; border-radius: .45rem; }
.gw-toolfigs { display: flex; flex-wrap: wrap; gap: .2rem .7rem; font-size: .74rem; color: var(--fw-dim); }
.gw-toolfigs b { color: #f0e6d2; }
.gw-toolcard .gw-queue { justify-content: center; height: 2rem; font-size: .74rem; }
.gw-toolcard .gw-queue .ia-emblem { width: 1.1rem; height: 1.1rem; }
.gw-col.is-stock > .gw-head { margin-top: .7rem; }

.gw-pool { position: relative; min-height: calc(100% - 3rem); padding: .55rem; border: 1px solid #1c3a4a; border-radius: .6rem; overflow: hidden;
  background: radial-gradient(ellipse at 30% 20%, rgba(140, 220, 255, .14), transparent 55%), radial-gradient(ellipse at 75% 85%, rgba(40, 120, 160, .25), transparent 60%), linear-gradient(#0f3346, #0a2230 60%, #071822);
  box-shadow: inset 0 0 0 1px #000, inset 0 .6rem 1.4rem rgba(0, 0, 0, .45); }
.gw-pool::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; background: repeating-radial-gradient(ellipse at 50% 120%, transparent 0 1.6rem, rgba(180, 230, 255, .07) 1.6rem 1.7rem); }
.gw-pool-line { position: relative; margin: 0 0 .5rem; font-size: .74rem; color: #a8c8d4; }
.gw-pool-line b { font: 600 .9rem var(--font-display); color: #e8f4f8; }
.gw-pool .gw-cells { position: relative; }
.gw-fish .gw-slot { background: radial-gradient(circle at 50% 38%, rgba(40, 90, 110, .9), rgba(6, 20, 28, .95) 76%); border-color: #2f6a80; }
.gw-fish.is-on .gw-slot { border-color: var(--fw-sel); }
.gw-fish.is-legend .gw-slot { border-color: #b88a2a; }
.gw-shadow { display: grid; place-items: center; width: 100%; height: 100%; }
.gw-shadow .item-img, .gw-shadow .gw-img { filter: brightness(0) drop-shadow(0 0 .3rem rgba(160, 220, 255, .45)); opacity: .75; }
.gw-shadow.is-small { width: 1.3rem; height: 1.3rem; }
.gw-unknown { display: grid; place-items: center; width: 100%; height: 100%; font: 700 1.5rem var(--font-display); color: #9ac8d8; }
.gw-ccost .t-gold { color: var(--fw-gold); font-weight: 700; }
.gw-ccost .t-dim, .gw-row .t-dim { color: var(--fw-dim); font-weight: 400; }
.gw-row.is-legend .gw-name { color: #f0d088; }
.gw-fish { position: relative; }
.gw-fish > .card-people { position: absolute; right: .2rem; top: .2rem; bottom: auto; z-index: 2; }
.gw-place-foot .card-people { position: static; }
.gw-places.is-waters { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: .7rem; }
.gw-water-pool { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 7;
  background: radial-gradient(ellipse at 28% 22%, color-mix(in srgb, var(--tint) 55%, #fff 10%), transparent 58%), radial-gradient(ellipse at 70% 90%, color-mix(in srgb, var(--tint) 70%, #000 30%), transparent 64%), linear-gradient(color-mix(in srgb, var(--tint) 80%, #000 20%), color-mix(in srgb, var(--tint) 35%, #000 65%)); }
.gw-water-pool::before { content: ""; position: absolute; inset: 0; opacity: .5; background: repeating-radial-gradient(ellipse at 40% 130%, transparent 0 1.1rem, rgba(220, 245, 255, .1) 1.1rem 1.18rem); }
.gw-water-pool::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(0, 0, 0, .45)); }
.gw-swim { position: absolute; z-index: 1; width: 2.4rem; height: 2.4rem; left: calc(8% + var(--i) * 22%); top: calc(18% + (var(--i) * 37%) - (var(--i) * var(--i) * 9%)); filter: drop-shadow(0 .25rem .3rem rgba(0, 0, 0, .5)); transform: rotate(calc(-10deg + var(--i) * 9deg)); }
.gw-swim .item-img { width: 100%; height: 100%; object-fit: contain; }
.gw-swim.is-shadow .item-img { filter: brightness(0) opacity(.55); }
.gw-swim.is-legend { left: auto; right: 6%; top: 46%; width: 3.1rem; height: 3.1rem; transform: none; }
.gw-swim.is-legend.is-shadow .item-img { filter: brightness(0) drop-shadow(0 0 .35rem rgba(255, 220, 140, .55)) opacity(.7); }
.gw-water.is-locked .gw-water-pool { filter: grayscale(.8) brightness(.5); }
.gw-place-copy.is-water { padding-left: .55rem; }
.gw-chapter-live { width: .45rem; height: .45rem; border-radius: 50%; background: #6ad45a; box-shadow: 0 0 6px #6ad45a; }

.gw-places.is-districts { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: .7rem; }
.gw-district .gw-place-shot { aspect-ratio: 16 / 7; }
.gw-district .gw-place-item { top: auto; bottom: 3.85rem; }
.gw-district .gw-place-copy { padding-left: 3.4rem; }
.gw-mark { position: relative; }
.gw-mark > .card-people { position: absolute; right: .2rem; top: .2rem; bottom: auto; z-index: 2; }
.gw :is(.gw-mark, .gw-fish, .gw-foe) > .card-people { height: auto; padding: .1rem .35rem .1rem .28rem; border: 1px solid #6b4a28; border-radius: .45rem; background: rgba(12, 12, 13, .9); box-shadow: 0 0 0 1px #000; line-height: 1.1; }
.gw :is(.gw-mark, .gw-fish, .gw-foe) > .card-people.has-online { border-color: rgba(88, 214, 127, .55); }
.gw-mark-kind { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: #8a8174; }
.gw-markicon { display: grid; place-items: center; width: 100%; height: 100%; }
.gw-markicon .ia-emblem { width: 62%; height: 62%; opacity: .75; }
.gw-blurb { margin: .5rem 0 0; font-size: .78rem; line-height: 1.4; color: #b8b0a0; font-style: italic; }
.gw-safety { margin-top: .5rem; padding: .45rem .55rem; font-size: .76rem; line-height: 1.35; background: #141516; border: 1px solid #3a2c1c; border-radius: .45rem; }
.gw-safety .ia-glyph { width: .8rem; height: .8rem; vertical-align: -.1em; }
.gw-drops { display: grid; gap: 2px; }
.gw-drops .drop-row { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr) auto auto; align-items: center; gap: .45rem; min-height: 1.85rem; padding: .2rem .45rem; background: linear-gradient(90deg, #232427, #1c1d1f); border-left: 2px solid #4a3520; font-size: .78rem; }
.gw-drops .drop-row .item-img { width: 1.3rem; height: 1.3rem; object-fit: contain; }
.gw-drops .drop-row small { color: var(--fw-dim); }
.gw-drops .drop-row b { color: var(--fw-gold); font-size: .74rem; }
.gw-drops .drop-unknown { display: grid; place-items: center; width: 1.3rem; height: 1.3rem; font-weight: 700; color: #8a8174; background: #0e0f10; border: 1px solid #3a2c1c; border-radius: .45rem; }
.gw .catch-record { display: flex; align-items: center; gap: .4rem; margin-top: .55rem; padding: .4rem .5rem; font-size: .76rem; color: #c8c0ae; background: #141516; border: 1px solid #3a2c1c; border-radius: .45rem; }
.gw .catch-record .ia-glyph { width: .85rem; height: .85rem; color: var(--fw-gold); }
.gw-hp { margin: 0 0 .5rem; }
.gw-hp .hp-line { display: grid; gap: .25rem; }
.gw-hp .hp-line .t-caps { display: flex; align-items: center; gap: .3rem; font-size: .7rem; color: #c9a462; }
.gw-hp .hp-line .ia-emblem { width: 1rem; height: 1rem; }
.gw .food-row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .35rem; margin: 0 0 .6rem; padding: .4rem; background: linear-gradient(#232426, #1a1b1d); border: 1px solid #000; border-radius: .45rem; }
.gw .food-row .food-slot { grid-column: 1 / -1; display: flex; align-items: center; gap: .45rem; width: 100%; padding: .25rem; border: 1px solid #3a2c1c; border-radius: .45rem; background: #121314; color: var(--fw-text); text-align: left; cursor: pointer; }
.gw .food-row .food-slot .well { width: 2.2rem; height: 2.2rem; }
.gw .food-row .eq-quiver-copy { display: grid; min-width: 0; }
.gw .food-row .eq-quiver-copy strong { font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gw .food-row .eq-quiver-copy small { font-size: .66rem; color: var(--fw-dim); }
.gw .food-row .auto-eat { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .4rem; font-size: .7rem; color: var(--fw-dim); }
.gw .food-row .auto-eat b { color: var(--fw-gold); }
.gw-safe-stop { display: flex; align-items: center; justify-content: space-between; gap: .4rem; font-size: .74rem; color: #c8c0ae; }
.gw .dust-callout { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: .5rem 0; padding: .4rem; font-size: .72rem; background: #141516; border: 1px solid #3a2c1c; border-radius: .45rem; }
.gw .dust-callout .item-img { width: 1.4rem; height: 1.4rem; }

.gw-chapters.is-farm .gw-chapter { padding: 0 .6rem 0 .45rem; }
.gw-chapter .ia-emblem { width: 1.15rem; height: 1.15rem; }
.gw-badge { display: grid; place-items: center; min-width: 1.1rem; height: 1.1rem; padding: 0 .25rem; font: 700 .64rem/1 var(--font-ui); color: #10260c; background: linear-gradient(#a8f08a, #4fb840); border: 1px solid #1d4a14; border-radius: 999px; }
.gw-farm-acts { display: grid; gap: .35rem; margin-top: .7rem; }
.gw-farm-acts .gw-queue { justify-content: center; height: 2rem; font-size: .76rem; }
.gw-begin.is-small { height: 2.1rem; font-size: .82rem; letter-spacing: .14em; }
.gw .plot-tile { border-color: var(--fw-edge); border-radius: .6rem; background: linear-gradient(#1f2022, #141516); box-shadow: inset 0 0 0 1px #000; }
.gw .plot-tile:hover { border-color: var(--fw-edge-hi); }
.gw .plot-tile.is-selected { border-color: var(--fw-sel); box-shadow: inset 0 0 0 1px #000, 0 0 0 1px rgba(240, 200, 98, .55), 0 0 .8rem rgba(240, 200, 98, .3); }
.gw .plot-tile.is-ready { border-color: #6ad45a; }
.gw .plot-label strong { font-family: var(--font-display); color: #f2e8d2; }
.gw-col.is-detail > .gw-farm-detail { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.gw-farm-detail > .panel { flex: 1; min-height: 0; display: flex; flex-direction: column; margin: 0; padding: .6rem .75rem 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.gw-farm-detail > .panel::before { display: none; }
.gw-farm-detail .plaque { position: static; translate: none; margin: 0 0 .45rem; padding: 0; border: 0; background: none; box-shadow: none; font: 600 1.12rem/1.15 var(--font-display); letter-spacing: 0; text-transform: none; color: #f2e8d2; }
.gw-farm-detail .plaque::before, .gw-farm-detail .plaque::after { display: none; }
.gw-farm-detail .plaque > span { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; }
.gw-farm-detail .detail-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #b8893e #0d0d0e; padding-right: .2rem; }
.gw-farm-detail .detail-action { flex: none; margin: 0 -.75rem; padding: .55rem .75rem .7rem; border-top: 1px solid #000; box-shadow: inset 0 1px 0 #2c2d30; background: linear-gradient(#19191b, #121314); }
.gw-farm-detail .plot-hero { border: 1px solid var(--fw-edge); border-radius: .45rem; background: radial-gradient(circle at 50% 45%, #2a2b2e, #0e0f10 76%); }
.gw-farm-detail .t-caps { color: #c9a462; }
.gw-farm-detail .compost-opt, .gw-farm-detail .seed-row, .gw-farm-detail .fact { border-color: #3a2c1c; background: linear-gradient(90deg, #232427, #1c1d1f); border-radius: .45rem; }
.gw-farm-detail .compost-opt.is-on { border-color: #6ad45a; }
.gw .farm-body .btn, .gw-farm-detail .btn, .is-hud .stage .gw-farm-detail .btn { border: 1px solid #8b6a3e; border-radius: .45rem; background: linear-gradient(#3e3324, #231b12); color: #f2d48e; box-shadow: 0 0 0 1px #000; }
.gw .farm-body .btn-primary, .gw-farm-detail .btn-primary, .gw-farm-detail .btn-gold, .is-hud .stage .gw-farm-detail .btn-primary, .is-hud .stage .gw-farm-detail .btn-gold { border-color: #6a3e08; background: linear-gradient(#ffdc7c 0%, #f6b53a 47%, #db8c16 53%, #c27810 100%); color: #2c1600; font-family: var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.gw-farm-detail .btn-danger { border-color: #b06a3a; background: linear-gradient(#80281a, #4c120c); color: #f8dcbc; }
.gw-farm-detail .btn:disabled, .gw .farm-body .btn:disabled { opacity: .5; }
.gw .farm-body .res-card { border-color: var(--fw-edge); border-radius: .6rem; background: linear-gradient(#1f2022, #141516); }
.gw .farm-body .res-card.is-selected { border-color: var(--fw-sel); }

.gw-win.is-page .gw-page { position: relative; flex: 1; min-height: 0; margin: .45rem; background: rgba(8, 9, 10, .62); border: 1px solid #000; border-radius: .45rem; box-shadow: inset 0 0 0 1px #2c2d30, inset 0 .2rem .8rem rgba(0, 0, 0, .6); overflow: hidden; }
.gw-win.is-page .gw-page > .page { inset: .9rem 1rem .9rem; animation: none; }
.gw-page .win-head .win-emblem, .gw-page .win-head h1 { display: none; }
.gw-page .win-head .win-level { margin-left: 0; }
.gw-page .win-blurb, .gw-page .win-elsewhere { display: none; }
.gw-page .win-head { align-items: center; padding-bottom: .2rem; }
.gw-page .win-head .win-aside { gap: .35rem; }
.gw-page .panel, .gw-page .win-side, .gw-page .res-card, .gw-page .win-card { border-color: rgba(201, 164, 98, .22); background: linear-gradient(#1f2022, #161718); }
.gw-page .res-card.is-selected, .gw-page .win-card.is-selected { border-color: var(--fw-sel); box-shadow: 0 0 0 1px rgba(240, 200, 98, .45), 0 0 .8rem rgba(240, 200, 98, .22); }
.gw-page .win-caps, .gw-page .t-caps { color: #c9a462; }
.gw-page .btn-gold, .gw-page .btn-primary { border-color: #6a3e08; background: linear-gradient(#ffdc7c 0%, #f6b53a 47%, #db8c16 53%, #c27810 100%); color: #2c1600; }
.gw-page .btn:not(.btn-gold):not(.btn-primary):not(.btn-danger) { border-color: #8b6a3e; background: linear-gradient(#3e3324, #231b12); color: #f2d48e; }
.gw-page .segmented button[aria-pressed="true"] { color: #2c1600; background: linear-gradient(#ffd977, #d88a16); border-color: #6a3e08; }

.gw-dive-marks { display: inline-flex; flex-wrap: wrap; gap: .15rem .5rem; }
.gw-dive-marks > span { display: inline-flex; align-items: center; gap: .15rem; }
.gw-dive-marks .t-gold { color: var(--fw-gold); }
.gw-dive.is-fog .gw-slot { border-style: dashed; }
.gw-dive.is-feature .gw-slot { border-color: #3f8aa0; }
.gw-dive.is-legend .gw-slot { border-color: #b88a2a; }
.gw-label-note { margin-left: .4rem; font-size: .66rem; font-weight: 400; color: var(--fw-dim); }
.gw-divechart { margin: 0 0 .3rem; padding: .4rem; background: #071319; border: 1px solid #1c3a4a; border-radius: .45rem; box-shadow: inset 0 0 0 1px #000; }
.gw-divechart svg { display: block; width: 100%; height: auto; max-height: 13rem; }
.gw .dive-air { display: grid; gap: .3rem; margin: .6rem 0 0; padding: .45rem .5rem; background: linear-gradient(#10232c, #0b171d); border: 1px solid #1c3a4a; border-radius: .45rem; font-size: .76rem; color: #b8d4dc; }
.gw .dive-air .t-caps { display: flex; align-items: center; gap: .3rem; font-size: .7rem; letter-spacing: .1em; color: #8ac8d8; }
.gw .dive-air .ia-emblem { width: 1rem; height: 1rem; }
.gw .dive-pips { display: flex; flex-wrap: wrap; gap: .25rem; }
.gw .dive-pips i { width: .9rem; height: .9rem; border-radius: 50%; border: 1px solid #000; background: radial-gradient(circle at 35% 30%, #d8f8ff, #4ab8d8 60%, #1a5a70); }
.gw .dive-pips i.is-last { background: #1a2a30; border-style: dashed; border-color: #4a8aa0; }
.gw .dive-pips i.is-last.is-on { background: radial-gradient(circle at 35% 30%, #fff0c8, #e8a83a 60%, #7a4a10); border-style: solid; border-color: #000; }
.gw .dive-finds { margin-top: .7rem; }
.gw .dive-finds .t-caps { display: block; margin-bottom: .3rem; font-size: .88rem; letter-spacing: 0; text-transform: none; color: #f2ead8; }
.gw .dive-find-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; }
.gw .dive-find { display: grid; justify-items: center; gap: .2rem; padding: .35rem .2rem; text-align: center; background: #121314; border: 1px solid var(--fw-edge); border-radius: .45rem; }
.gw .dive-find .item-img { width: 2.2rem; height: 2.2rem; object-fit: contain; }
.gw .dive-find small { font-size: .64rem; line-height: 1.2; color: #d8d0bf; }
.gw .dive-find.is-new small { color: var(--fw-dim); }
.gw .dive-find.is-legend { border-color: #b88a2a; }
.gw .hud-note { display: flex; gap: .35rem; margin: .35rem 0 0; font-size: .72rem; line-height: 1.35; color: var(--fw-dim); }
.gw .hud-note .ia-glyph { flex: none; width: .8rem; height: .8rem; margin-top: .1rem; }
.gw-side-callouts { display: grid; gap: .45rem; margin-top: .6rem; }
.gw .dive-breath, .gw .dive-salvage, .gw .dive-party { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem .45rem; align-items: start; padding: .45rem .5rem; font-size: .72rem; line-height: 1.35; color: #c8c0ae; background: #141516; border: 1px solid #3a2c1c; border-radius: .45rem; }
.gw .dive-breath > .btn, .gw .dive-salvage > .btn, .gw .dive-party > .btn { grid-column: 1 / -1; justify-self: stretch; }
.gw .dive-breath .ia-emblem, .gw .dive-salvage .ia-emblem, .gw .dive-party .ia-glyph { width: 1.1rem; height: 1.1rem; }
.gw .dive-breath.is-on { border-color: #b88a2a; }
.gw .dive-breath .btn, .gw .dive-salvage .btn, .gw .dive-party .btn, .is-hud .stage .gw .dive-breath .btn, .is-hud .stage .gw .dive-salvage .btn, .is-hud .stage .gw .dive-party .btn { border: 1px solid #8b6a3e; border-radius: .45rem; background: linear-gradient(#3e3324, #231b12); color: #f2d48e; box-shadow: 0 0 0 1px #000; }
.gw .dive-breath .btn-gold, .gw .dive-salvage .btn-gold, .gw .dive-party .btn-gold, .is-hud .stage .gw .dive-salvage .btn-gold, .is-hud .stage .gw .dive-breath .btn-gold, .is-hud .stage .gw .dive-party .btn-gold { border-color: #6a3e08; background: linear-gradient(#ffdc7c 0%, #f6b53a 47%, #db8c16 53%, #c27810 100%); color: #2c1600; }

.gw-win.is-explore .gw-body { grid-template-columns: 14rem minmax(0, 1fr) 26rem; }
.gw-win.is-explore .gw-col.is-make { display: flex; flex-direction: column; overflow: hidden; }
.gw-xr-table { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .45rem; }
.gw-xr-layers .xr-layers { display: flex; flex-wrap: wrap; gap: .3rem; }
.gw .xr-layer-chip { height: 1.8rem; padding: 0 .75rem; border: 1px solid var(--fw-edge); border-radius: .45rem .45rem 0 0; background: linear-gradient(#2c2a27, #1a1917); color: #d8d0bf; font: 600 .78rem/1 var(--font-display); cursor: pointer; }
.gw .xr-layer-chip[aria-pressed="true"] { color: #2c1600; background: linear-gradient(#ffd977, #d88a16); border-color: #6a3e08; }
.gw .xr-layer-chip:disabled { opacity: .45; cursor: default; }
.gw-xr-table .xr-chart-frame { flex: 1; min-height: 0; display: flex; flex-direction: column; margin: 0; padding: .35rem; background: #120e09; border: 1px solid var(--fw-edge); border-radius: .45rem; box-shadow: inset 0 0 0 1px #000, inset 0 0 1.4rem rgba(0, 0, 0, .7); }
.gw-xr-table .xr-chart { flex: 1; min-height: 0; width: 100%; height: 100%; border-radius: 0; background: none; box-shadow: none; }
.gw-xr-table .xr-legend { flex: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem .8rem; padding-top: .35rem; font-size: .7rem; color: #c2b9a4; }
.gw-xr-table .xr-legend > span { display: inline-flex; align-items: center; gap: .25rem; }
.gw-win.is-explore .xr-ladder { display: grid; grid-template-columns: 1fr; gap: .35rem; margin: 0; }
.gw-win.is-explore .xr-rung { display: flex; align-items: center; gap: .5rem; min-height: 3.2rem; padding: .3rem .45rem; border: 1px solid var(--fw-edge); border-radius: .45rem; background: linear-gradient(#1f2022, #141516); box-shadow: inset 0 0 0 1px #000; color: var(--fw-text); }
.gw-win.is-explore button.xr-rung:hover { border-color: var(--fw-edge-hi); }
.gw-win.is-explore .xr-rung.is-on { border-color: var(--fw-sel); box-shadow: inset 0 0 0 1px #000, 0 0 0 1px rgba(240, 200, 98, .5), 0 0 .7rem rgba(240, 200, 98, .25); }
.gw-win.is-explore .xr-rung.is-later { opacity: .55; }
.gw-win.is-explore .xr-rung.is-home { border-color: #6ad45a; }
.gw-win.is-explore .xr-rung strong { display: block; font: 600 .86rem/1.15 var(--font-display); color: #f2e8d2; }
.gw-win.is-explore .xr-rung small { display: block; font-size: .68rem; line-height: 1.2; color: var(--fw-dim); }
.gw-level.is-side { margin: .7rem 0 0; }
.gw-xr-home { margin: .45rem 0 0; font-size: .74rem; color: #b8f0a8; }
.gw-xr-home .ia-glyph { width: .8rem; height: .8rem; }
.gw-win.is-explore .xr-next { display: flex; gap: .35rem; margin: .5rem 0 0; font-size: .72rem; line-height: 1.35; color: var(--fw-dim); }
.gw-win.is-explore .xr-next b { color: #f0e6d2; }
.gw-win.is-explore .xr-next .ia-glyph { flex: none; width: .8rem; height: .8rem; color: var(--fw-gold); }
.gw-col.is-detail > .gw-xr-side { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.gw-xr-side > .detail-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #b8893e #0d0d0e; padding: .6rem .7rem .5rem; display: grid; align-content: start; gap: .7rem; }
.gw-xr-side > .xr-foot { flex: none; display: grid; gap: .45rem; margin: 0; padding: .55rem .7rem .7rem; border-top: 1px solid #000; box-shadow: inset 0 1px 0 #2c2d30; background: linear-gradient(#19191b, #121314); }
.gw-xr-side .t-display { font-family: var(--font-display); color: #f2e8d2; }
.gw-xr-side .t-caps { color: #c9a462; }
.gw-xr-side .xr-scout-card { display: flex; gap: .6rem; align-items: flex-start; padding: .5rem; background: linear-gradient(#232426, #1a1b1d); border: 1px solid #000; border-radius: .45rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.gw-xr-side .xr-tabs, .gw-xr-side .xr-subtabs { display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; border: 0; background: none; box-shadow: none; }
.gw-xr-side .xr-tabs button, .gw-xr-side .xr-subtabs button { height: 1.9rem; padding: 0 .7rem; border: 1px solid var(--fw-edge); border-radius: .45rem .45rem 0 0; background: linear-gradient(#2c2a27, #1a1917); color: #d8d0bf; font: 600 .78rem/1 var(--font-display); }
.gw-xr-side .xr-tabs button[aria-pressed="true"], .gw-xr-side .xr-subtabs button[aria-pressed="true"], .gw-xr-side .segmented button[aria-pressed="true"] { color: #2c1600; background: linear-gradient(#ffd977, #d88a16); border-color: #6a3e08; }
.gw-xr-side .panel, .gw-xr-side .res-card { border-color: rgba(201, 164, 98, .22); }
.gw-xr-side .btn, .is-hud .stage .gw-xr-side .btn { border: 1px solid #8b6a3e; border-radius: .45rem; background: linear-gradient(#3e3324, #231b12); color: #f2d48e; box-shadow: 0 0 0 1px #000; }
.gw-xr-side .btn-primary, .gw-xr-side .btn-gold, .is-hud .stage .gw-xr-side .btn-primary, .is-hud .stage .gw-xr-side .btn-gold { border-color: #6a3e08; background: linear-gradient(#ffdc7c 0%, #f6b53a 47%, #db8c16 53%, #c27810 100%); color: #2c1600; font-family: var(--font-display); letter-spacing: .06em; }
.gw-xr-side .btn-danger, .is-hud .stage .gw-xr-side .btn-danger { border-color: #b06a3a; background: linear-gradient(#80281a, #4c120c); color: #f8dcbc; }
.gw-xr-side .btn:disabled { opacity: .55; }

.gw-win.is-arena .gw-body { grid-template-columns: 14.5rem minmax(0, 1fr) 27rem; }
.gw-fights { display: grid; gap: .35rem; margin-bottom: .8rem; }
.gw-fight { position: relative; display: flex; align-items: center; gap: .55rem; min-height: 3.2rem; padding: .35rem .5rem; border: 1px solid var(--fw-edge); border-radius: .45rem; background: linear-gradient(#1f2022, #141516); box-shadow: inset 0 0 0 1px #000; color: var(--fw-text); text-align: left; font: inherit; cursor: pointer; }
.gw-fight:hover { border-color: var(--fw-edge-hi); }
.gw-fight.is-on { border-color: var(--fw-sel); background: linear-gradient(#2c2618, #17140e); box-shadow: inset 0 0 0 1px #000, 0 0 0 1px rgba(240, 200, 98, .5), 0 0 .7rem rgba(240, 200, 98, .25); }
.gw-fight-icon { display: grid; place-items: center; flex: none; width: 2.3rem; height: 2.3rem; border: 1px solid #5c4226; border-radius: .45rem; background: radial-gradient(circle at 50% 38%, #2a2b2e, #0e0f10 76%); }
.gw-fight-icon .ia-emblem { width: 1.7rem; height: 1.7rem; }
.gw-fight-copy { display: grid; min-width: 0; }
.gw-fight-copy strong { font: 600 .95rem/1.15 var(--font-display); color: #f2e8d2; }
.gw-fight.is-on .gw-fight-copy strong { color: #ffe7a6; }
.gw-fight-copy small { font-size: .66rem; line-height: 1.2; color: var(--fw-dim); }
.gw-fight .gw-badge { position: absolute; right: .4rem; top: .4rem; }
.gw-fighter { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; min-width: 0; padding: .5rem; background: linear-gradient(#232426, #1a1b1d); border: 1px solid #000; border-radius: .45rem; }
.gw-fighter-top { display: flex; align-items: center; justify-content: space-between; gap: .4rem; }
.gw-cl { display: grid; justify-items: start; line-height: 1; }
.gw-cl b { font: 700 1.6rem/1 var(--font-display); color: #ffe7a6; text-shadow: 0 1px 0 #000; }
.gw-cl small { font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: #c9a462; }
.gw-fighter .cw-power { display: grid; justify-items: end; gap: 0; font-size: .62rem; color: var(--fw-dim); }
.gw-fighter .cw-power > span { font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: #c9a462; }
.gw-fighter .cw-power .ia-glyph { display: none; }
.gw-fighter .cw-power b { font: 700 1.05rem/1 var(--font-display); color: var(--fw-gold); }
.gw-fighter .cw-power small { font-size: .6rem; }
.gw-fighter .hp-line, .gw-fighter .cw-hp { display: grid; grid-template-columns: minmax(0, 1fr); gap: .2rem; min-width: 0; }
.gw-fighter .hp-line .bar, .gw-fighter .cw-hp-bar { flex: none; width: 100%; min-width: 0; margin: 0; }
.gw-fighter .hp-line .t-caps { display: flex; align-items: center; gap: .3rem; font-size: .64rem; color: #c9a462; }
.gw-fighter .hp-line .ia-emblem { width: .95rem; height: .95rem; }
.gw-flevels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; min-width: 0; }
.gw-flevel { display: flex; align-items: center; justify-content: center; gap: .25rem; min-width: 0; padding: .25rem .15rem; border: 1px solid #3a2c1c; border-bottom: 2px solid var(--skill); border-radius: .45rem; background: #121314; }
.gw-flevel .ia-emblem { width: 1.15rem; height: 1.15rem; }
.gw-flevel b { font: 700 .9rem/1 var(--font-display); color: #f2e8d2; }
.gw-cells.is-foes { grid-template-columns: repeat(auto-fill, minmax(6.6rem, 1fr)); }
.gw-foe { position: relative; }
.gw-foe > .card-people { position: absolute; right: .2rem; top: .2rem; bottom: auto; z-index: 2; }
.gw-slot.is-portrait { width: 4.6rem; height: 4.6rem; background: radial-gradient(circle at 50% 40%, #3a2c22, #100c0a 76%); }
.gw-slot.is-portrait .gw-img { width: 92%; height: 92%; }
.gw-slot.is-portrait .is-emblem .ia-emblem { width: 60%; height: 60%; }
.gw-foe .gw-mark-kind { display: inline-flex; align-items: center; gap: .2rem; }
.gw-foe .gw-mark-kind .ia-emblem { width: .85rem; height: .85rem; }
.gw-foe .gw-ccost { gap: .15rem .45rem; }
.gw-foe .gw-ccost .ia-glyph { width: .7rem; height: .7rem; }
.gw-foe .card-finds { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem; margin-top: .1rem; }
.gw-foe .card-medal { font-size: .6rem; color: var(--fw-dim); }
.gw-arena-list .area-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; margin: 0 0 .45rem; padding: .3rem .5rem; background: linear-gradient(#48494d, #2c2d30); border: 1px solid #000; border-radius: .6rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13); }
.gw-arena-list .area-head h3 { margin: 0; font: 600 .95rem/1.1 var(--font-display); color: #f2e8d2; }
.gw-arena-list .area-head small { font-size: .7rem; color: #c8c0ae; }
.gw-arena-list .area-group + .area-group { margin-top: .8rem; }
.gw-arena-list .area-note { font-size: .74rem; color: var(--fw-dim); }
.gw-arena-list :is(.res-card, .bs-card, .dg-entry, .tr-rung, .tr-copy, .tr-record) { border-color: var(--fw-edge); border-radius: .45rem; background: linear-gradient(#1f2022, #141516); box-shadow: inset 0 0 0 1px #000; }
.gw-arena-list :is(.res-card, .bs-card, .dg-entry, .tr-rung, .tr-copy).is-selected, .gw-arena-list :is(.bs-card, .dg-entry, .tr-rung)[aria-pressed="true"] { border-color: var(--fw-sel); box-shadow: inset 0 0 0 1px #000, 0 0 0 1px rgba(240, 200, 98, .5), 0 0 .7rem rgba(240, 200, 98, .25); }
.gw-arena-list :is(.tr-views, .dg-views) { display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; border: 0; background: none; box-shadow: none; }
.gw-arena-list :is(.tr-views, .dg-views) button { display: inline-flex; align-items: center; gap: .3rem; height: 2rem; padding: 0 .75rem; border: 1px solid var(--fw-edge); border-radius: .45rem .45rem 0 0; background: linear-gradient(#2c2a27, #1a1917); color: #d8d0bf; font: 600 .8rem/1 var(--font-display); }
.gw-arena-list :is(.tr-views, .dg-views) button[aria-pressed="true"] { color: #2c1600; background: linear-gradient(#ffd977, #d88a16); border-color: #6a3e08; }
.gw-arena-list :is(.tr-views, .dg-views) .ia-emblem { width: 1.05rem; height: 1.05rem; }
.gw-arena-list .area-scroll { margin-top: .5rem; }
.gw-arena-list .t-caps { color: #c9a462; }
.gw-col.is-detail > .gw-arena-detail { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.is-hud .stage .gw-arena-detail > .panel, .gw-arena-detail > .panel { flex: 1; min-height: 0; display: flex; flex-direction: column; margin: 0; padding: .6rem .7rem 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.gw-arena-detail > .panel::before { display: none; }
.gw-arena-detail .plaque, .is-hud .stage .gw-arena-detail .plaque { position: static; translate: none; margin: 0 0 .45rem; padding: 0; border: 0; background: none; box-shadow: none; font: 600 1.15rem/1.15 var(--font-display); letter-spacing: 0; text-transform: none; color: #f2e8d2; }
.gw-arena-detail .plaque::before, .gw-arena-detail .plaque::after { display: none; }
.gw-arena-detail .plaque > span { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; }
.gw-arena-detail .detail-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #b8893e #0d0d0e; padding-right: .2rem; }
.gw-arena-detail .detail-action { flex: none; margin: 0 -.7rem; padding: .55rem .7rem .7rem; border-top: 1px solid #000; box-shadow: inset 0 1px 0 #2c2d30; background: linear-gradient(#19191b, #121314); }
.gw-arena-detail .detail-shot { border: 1px solid var(--fw-edge); border-radius: .45rem; }
.gw-arena-detail .t-caps { color: #c9a462; }
.gw-arena-detail :is(.fs-side, .fact, .food-row, .spell-row .food-slot, .stance-row, .safety .chip, .bs-ready, .bs-cache, .dg-card-block) { border-color: #3a2c1c; border-radius: .45rem; }
.gw-arena-detail .fs-side { background: linear-gradient(#232426, #1a1b1d); }
.gw-arena-detail .segmented button[aria-pressed="true"] { color: #2c1600; background: linear-gradient(#ffd977, #d88a16); border-color: #6a3e08; }
.gw-arena-detail .btn, .is-hud .stage .gw-arena-detail .btn { border: 1px solid #8b6a3e; border-radius: .45rem; background: linear-gradient(#3e3324, #231b12); color: #f2d48e; box-shadow: 0 0 0 1px #000; }
.gw-arena-detail .btn-primary, .gw-arena-detail .btn-gold, .is-hud .stage .gw-arena-detail .btn-primary, .is-hud .stage .gw-arena-detail .btn-gold { border-color: #6a3e08; background: linear-gradient(#ffdc7c 0%, #f6b53a 47%, #db8c16 53%, #c27810 100%); color: #2c1600; font-family: var(--font-display); letter-spacing: .1em; text-transform: uppercase; }
.gw-arena-detail .btn-danger, .is-hud .stage .gw-arena-detail .btn-danger { border-color: #b06a3a; background: linear-gradient(#80281a, #4c120c); color: #f8dcbc; }
.gw-arena-detail .btn:disabled { opacity: .55; }

.gw-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; padding: .8rem .8rem .65rem; }
.gw-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .85rem .8rem .8rem; cursor: pointer; color: var(--fw-text);
  border: 1px solid var(--fw-edge); border-radius: .6rem;
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 150, 60, .15), transparent 62%), linear-gradient(#211f1c, #121212);
  box-shadow: inset 0 0 0 1px #000, inset 0 0 1.6rem rgba(0, 0, 0, .7);
  transition: border-color .15s, box-shadow .15s;
}
.gw-card:hover { border-color: var(--fw-gold); box-shadow: inset 0 0 0 1px #000, 0 0 0 1px rgba(233, 196, 106, .45), 0 0 1.1rem rgba(233, 196, 106, .22), inset 0 0 1.6rem rgba(0, 0, 0, .7); }
.gw-art { display: grid; place-items: center; width: 10.5rem; height: 10.5rem; }
.gw-art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 .5rem .6rem rgba(0, 0, 0, .75)); transition: transform .18s; }
.gw-card:hover .gw-art img { transform: translateY(-3px) scale(1.035); }
.gw-card strong { font: 600 1.3rem/1.1 var(--font-display); color: #f4dc98; letter-spacing: .01em; }
.gw-card small { font-size: .8rem; line-height: 1.3; color: var(--fw-dim); text-align: center; }
.gw-key { position: absolute; left: .45rem; top: .45rem; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; font: 700 .76rem/1 var(--font-ui); color: #1e1406; background: linear-gradient(#f8d47c, #c8902e); border: 1px solid #5a3a10; border-radius: .45rem; box-shadow: 0 0 0 1px #000; }
.gw-cfoot { margin-top: .4rem; padding: .18rem .6rem; font-size: .74rem; color: #c2b9a4; background: #0d0d0e; border: 1px solid #3a2c1c; border-radius: .45rem; }
.gw-live { display: flex; align-items: center; gap: .4rem; color: #94e27e; }
.gw-live i { width: .45rem; height: .45rem; border-radius: 50%; background: #6ad45a; box-shadow: 0 0 6px #6ad45a; }
.gw-card.is-working { border-color: #c8803a; }
.gw-level { display: flex; align-items: center; gap: .6rem; margin: 0 .8rem .8rem; padding: .45rem .65rem; background: rgba(8, 9, 10, .62); border: 1px solid #000; border-radius: .45rem; box-shadow: inset 0 0 0 1px #2c2d30; }
.gw-level .ia-emblem { width: 1.7rem; height: 1.7rem; }
.gw-level > b { font: 700 1.05rem/1 var(--font-display); color: #f4dc98; }
.gw-xp { flex: 1; display: grid; gap: .25rem; }
.gw .gw-xpbar { height: .45rem; margin: 0; border: 1px solid #000; border-radius: .45rem; background: #09090a; box-shadow: 0 0 0 1px #3c2c1a; overflow: hidden; }
.gw .gw-xpbar > i { display: block; height: 100%; border-radius: 0; background: linear-gradient(#ffd57a, #c8902e); }
.gw .gw-xpbar > i::after { display: none; }
.gw-xp small { font-size: .7rem; color: var(--fw-dim); }

html:not(.is-hud) .gw { padding: .5rem .5rem 1rem; }
html:not(.is-hud) .gw-win { width: 100%; height: auto; box-shadow: 0 0 0 2px #7d5f36, 0 0 0 3px #050403, inset 0 0 0 1px rgba(201, 164, 98, .38); }
html:not(.is-hud) .gw-close { visibility: hidden; }
html:not(.is-hud) .gw-body { grid-template-columns: 1fr; }
html:not(.is-hud) .gw-win:is(.is-arena, .is-explore) .gw-body { grid-template-columns: 1fr; }
html:not(.is-hud) .gw-win.is-arena .gw-col.is-stock { display: contents; }
html:not(.is-hud) .gw-win.is-arena .gw-fights { order: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
html:not(.is-hud) .gw-win.is-arena .gw-fight { min-width: 0; min-height: 3rem; justify-content: center; }
html:not(.is-hud) .gw-win.is-arena .gw-fight-copy { flex: 0 1 auto; }
html:not(.is-hud) .gw-win.is-arena .gw-fight-copy small { display: none; }
html:not(.is-hud) .gw-win.is-arena .gw-col.is-make { order: 1; }
html:not(.is-hud) .gw-win.is-arena .gw-col.is-detail { order: 2; }
html:not(.is-hud) .gw-win.is-arena .gw-col.is-stock > :is(.gw-head, .gw-fighter) { order: 3; }
html:not(.is-hud) .gw-win.is-farm .gw-col.is-make { order: -2; }
html:not(.is-hud) .gw-win.is-farm .gw-col.is-detail { order: -1; }
html:not(.is-hud) .gw-place-lv { right: .3rem; top: .3rem; padding: .2rem .4rem .22rem; }
html:not(.is-hud) .gw-place-lv b { font-size: .86rem; }
html:not(.is-hud) .gw-place-lv small { font-size: .55rem; }
html:not(.is-hud) .gw-col { overflow: visible; }
html:not(.is-hud) .gw-col.is-detail { overflow: visible; }
html:not(.is-hud) .gw-dscroll { overflow: visible; }
html:not(.is-hud) .gw-art { width: 7.5rem; height: 7.5rem; }
html:not(.is-hud) .gw-card strong { font-size: 1.1rem; }
html:not(.is-hud) .gw-cards { gap: .5rem; padding: .6rem; }
@media (max-width: 760px), (max-height: 500px) and (pointer: coarse) {
  .gw .gw-col, .gw .gw-dscroll { overflow: visible; }
  .gw .src-btn::after { width: max(100%, 44px); height: max(100%, 44px); }
}
@media (max-height: 500px) and (pointer: coarse) {
  html:not(.is-hud) .gw-win:not(.is-arena) .gw-body, html:not(.is-hud) .gw-win.is-explore .gw-body { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
  html:not(.is-hud) .gw-win:not(.is-arena) .gw-body > .gw-col.is-stock { grid-column: 1; grid-row: 1; }
  html:not(.is-hud) .gw-win:not(.is-arena) .gw-body > .gw-col.is-make { grid-column: 1; grid-row: 2; }
  html:not(.is-hud) .gw-win:not(.is-arena) .gw-body > .gw-col.is-detail { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 3rem; }
  html:not(.is-hud) .gw-win.is-arena .gw-fights { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  html:not(.is-hud) .gw-win.is-arena .gw-fight { min-height: 2.6rem; }
}

.gw-bands { display: grid; gap: .3rem; margin-bottom: .7rem; }
.gw-band { display: flex; align-items: center; gap: .5rem; min-width: 0; padding: .3rem .4rem; border: 1px solid var(--fw-edge); border-radius: .45rem; background: linear-gradient(#1f2022, #141516); box-shadow: inset 0 0 0 1px #000; color: var(--fw-text); text-align: left; font: inherit; cursor: pointer; }
.gw-band:hover { border-color: var(--fw-edge-hi); }
.gw-band.is-on { border-color: var(--fw-sel); background: linear-gradient(#2c2618, #17140e); box-shadow: inset 0 0 0 1px #000, 0 0 0 1px rgba(240, 200, 98, .5), 0 0 .7rem rgba(240, 200, 98, .25); }
.gw-band.is-working { border-color: #e0843a; }
.gw-band-art { display: flex; gap: .2rem; flex: none; pointer-events: none; }
.gw-band-art .gw-slot { --gw-slot: 2.3rem; cursor: inherit; }
.gw-band-copy { display: grid; min-width: 0; }
.gw-band-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 .9rem/1.15 var(--font-display); color: #f2e8d2; }
.gw-band.is-on .gw-band-copy strong { color: #ffe7a6; }
.gw-band.is-locked .gw-band-copy strong { color: #8a8478; }
.gw-band-copy small { font-size: .66rem; color: var(--fw-dim); }

@media (min-width: 1600px) {
  .is-hud .gw-win { --gw-slot: 4rem; }
  .is-hud .gw-win .gw-cells { --gw-slot: 5.3rem; grid-template-columns: repeat(auto-fill, minmax(7.4rem, 1fr)); gap: .75rem .5rem; }
  .is-hud .gw-body { grid-template-columns: 16.5rem minmax(0, 1fr) 30rem; gap: .6rem; padding: .6rem; }
  .is-hud .gw-win.is-explore .gw-body { grid-template-columns: 16.5rem minmax(0, 1fr) 30rem; }
  .is-hud .gw-win.is-arena .gw-body { grid-template-columns: 17rem minmax(0, 1fr) 31rem; }
  .is-hud .gw-slots { gap: .5rem; }
  .is-hud .gw-head { height: 1.75rem; font-size: .9rem; }
  .is-hud .gw-cname { font-size: .88rem; }
  .is-hud .gw-ccost { font-size: .8rem; }
  .is-hud .gw-ccost .item-img { width: 1.1rem; height: 1.1rem; }
  .is-hud .gw-count { font-size: .8rem; }
  .is-hud .gw-mark-kind { font-size: .7rem; }
  .is-hud .gw-places { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .75rem; }
  .is-hud .gw-place-copy strong { font-size: 1.08rem; }
  .is-hud :is(.gw-place-copy small, .gw-place-foot) { font-size: .8rem; }
  .is-hud .gw-heading { font-size: 1.15rem; }
}
