.gg {
  --gg-paper: #eee8df;
  --gg-muted: #c4bcb0;
  --gg-line: #685945;
  color: var(--gg-paper);
  background: #101011;
  isolation: isolate;
}
.gg [hidden], .gg-viewer [hidden] {display:none!important}
.gg-scene {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:radial-gradient(ellipse at 60% 48%, #24201f 0, #181616 35%, #101011 70%);
}
.gg-scene::before, .gg-scene::after {
  content:""; position:absolute; z-index:-1; pointer-events:none; inset-block:0; width:35%;
  background-repeat:no-repeat; background-size:auto 94%; opacity:.22; mix-blend-mode:luminosity;
}
.gg-scene::before {left:0; background-image:url('/assets/fighter-left.webp'); background-position:left center; mask-image:linear-gradient(90deg,black,transparent 95%)}
.gg-scene::after {right:0; background-image:url('/assets/fighter-right.webp'); background-position:right center; mask-image:linear-gradient(270deg,black,transparent 95%)}
.gg-glass {position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:-1; color:#b3aaa0; opacity:.21; stroke-width:.9}
.gg #gg-title {font-family:Ring,var(--head,system-ui),sans-serif; font-size:var(--page-title-size); line-height:1.12; font-weight:750; text-transform:uppercase; letter-spacing:.005em; margin:0; text-align:center; color:#eee8dd}
.gg-crest {width:min(40vw,590px); height:auto; display:block; object-fit:contain; pointer-events:none; user-select:none}
.gg-tabs {display:inline-flex; align-items:stretch; border-radius:.6rem; border:1px solid #726252; background:#151414; max-width:100%; box-shadow:0 6px 21px #0005}
.gg-tabs button {display:inline-flex; align-items:center; justify-content:center; gap:.55rem; background:transparent; min-height:44px; padding:.46rem clamp(1.05rem,2.4vw,2.1rem); border:1px solid transparent; margin:-1px 0; border-radius:.55rem; font-size:1rem; line-height:1; font-weight:700; color:#ded6c9}
.gg-tabs button:first-child {margin-left:-1px}
.gg-tabs button:last-child {margin-right:-1px}
.gg-tabs button[aria-selected=true] {color:#fff3e7; border-color:#b54e68; background:linear-gradient(150deg,#82283e,#5b1729)}
.gg-tabs svg {width:1.16rem; height:1.16rem}
.gg :is(button,select,[tabindex]):focus-visible,.gg-viewer :is(button,select):focus-visible {outline:2px solid #f4d398;outline-offset:3px}
.gg-meta {display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:.2rem 1.15rem; color:var(--gg-muted); font:normal .875rem/1.35 var(--body,system-ui); z-index:1}
.gg-sample:not(:empty)::before {content:""; display:inline-block; width:1.05rem; height:1px; margin-right:.5rem; vertical-align:middle; background:#b19873}
.gg-albums,.gg-quality {display:inline-flex; align-items:center; gap:.4rem}
.gg-albums select,.gg-quality select {color:#eee6d9; background:#1b1919; border:1px solid #5b5146; padding:.25rem .4rem; border-radius:.3rem; min-height:38px; max-width:11rem; font:inherit}
.gg-empty {text-align:center; color:#ded6cb; font-size:.98rem; line-height:1.55; margin:0}
.gg-card {
  display:block; isolation:isolate; border:1px solid #aa9267; border-radius:.6rem; background:#211e1c; color:#eee5d7;
  padding:0; overflow:hidden; min-width:0; cursor:zoom-in; text-align:left;
}
.gg-card img {width:100%; height:100%; display:block; object-fit:cover; pointer-events:none; user-select:none}
.gg-card:hover {border-color:#e8c88d}
.gg-thumb-fallback {height:100%;display:grid;place-items:center;padding:.5rem; text-align:center}
.gg-play {position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:2.1rem; height:2.1rem; display:grid;place-items:center; border-radius:50%; color:#fff5e3; background:#121111ce; border:1px solid #e7d6b1}
.gg-play svg {width:1rem;height:1rem; fill:currentColor}
.gg-duration {position:absolute; right:.35rem; bottom:.35rem; padding:.05rem .3rem; border-radius:.22rem; background:#0b0a09dc; font:650 .83rem/1.4 var(--body,system-ui); font-variant-numeric:tabular-nums; color:#fff5e4}
.gg[data-gallery-layout=wheel] .gg-scene {
  --wheel-width:clamp(275px,29vw,485px);
  --content-left:max(38%,calc(var(--wheel-width) + 2rem));
  display:grid; grid-template-columns:var(--content-left) 1fr 9%; grid-template-rows:auto auto 1fr auto auto;
  min-height:clamp(550px,calc(100svh - 72px),960px); padding-top:clamp(2rem,4.7vh,4.4rem); padding-bottom:clamp(1.25rem,3vh,2.4rem);
}
.gg[data-gallery-layout=wheel] #gg-title, .gg[data-gallery-layout=wheel] .gg-tabs, .gg[data-gallery-layout=wheel] .gg-crest, .gg[data-gallery-layout=wheel] .gg-meta, .gg[data-gallery-layout=wheel] .gg-status {
  grid-column:2; justify-self:center;
}
.gg[data-gallery-layout=wheel] #gg-title {grid-row:1}
.gg[data-gallery-layout=wheel] .gg-tabs {grid-row:2; align-self:start; margin-top:1.05rem}
.gg[data-gallery-layout=wheel] .gg-crest {grid-row:3; align-self:center; width: min(100%, 60vh, 585px); max-height:52vh; margin-block:1.4rem}
.gg[data-gallery-layout=wheel] .gg-meta {grid-row:5; margin-top:.8rem}
.gg-status {text-align:center; color:#e3dacd; font-size:.94rem; font-variant-numeric:tabular-nums; margin:0; line-height:1.4}
.gg[data-gallery-layout=wheel] .gg-status {grid-row:4}
.gg[data-gallery-layout=wheel] #gg-panel {position:absolute; inset:0 auto 0 0; width:var(--wheel-width); display:flex; align-items:center; justify-content:center}
.gg[data-gallery-layout=wheel] .gg-empty {padding-inline:1.5rem}
.gg-wheel {
  --slot-size:57%;
  position:relative; isolation:isolate; width:100%; height:clamp(480px,76svh,772px); max-height:95%;
  cursor:grab; touch-action:none; user-select:none; -webkit-user-select:none;
}
.gg-wheel:focus-visible {outline-offset:-4px!important; border-radius:.45rem}
.gg-wheel.gg-dragging,.gg-wheel.gg-dragging button {cursor:grabbing}
.gg-orbit {position:absolute; left:-57%; top:-1%; bottom:-1%; width:150%; border:solid 2px #812940; border-left:0; border-radius:50%; box-shadow:3px 0 0 #411921, inset -2px 0 0 #39191f; pointer-events:none}
.gg-orbit::after {content:"";position:absolute;inset:-1.55% -2.1%;border-right:1px dashed #aa926966;border-radius:50%; pointer-events:none}
.gg-slots {position:absolute;inset:0;pointer-events:none}
.gg-slots .gg-card {position:absolute; z-index:1; width:var(--slot-size); height:16%; left:var(--slot-x); top:var(--slot-y); transform:translate(-50%,-50%) scale(var(--slot-scale,1)); border-radius:.65rem; pointer-events:auto; box-shadow:0 5px 16px #0007; transition:top .21s ease,left .21s ease,transform .21s ease,border-color .17s}
.gg-slots [data-slot="-2"] {--slot-x:33%;--slot-y:12%;--slot-scale:.86}
.gg-slots [data-slot="-1"] {--slot-x:49%;--slot-y:30%;--slot-scale:.95}
.gg-slots [data-slot="0"] {--slot-x:56%;--slot-y:50%;--slot-scale:1.12; z-index:2; border-color:#dcbe86}
.gg-slots [data-slot="1"] {--slot-x:49%;--slot-y:70%;--slot-scale:.95}
.gg-slots [data-slot="2"] {--slot-x:33%;--slot-y:88%;--slot-scale:.86}
.gg-turn {position:absolute; right:0; top:50%; transform:translate(44%,-50%); display:flex; flex-direction:column; gap:.32rem; z-index:3}
.gg-turn button {border:1px solid #95815e; border-radius:50%; background:#171618; color:#ead3a5; min-width:44px;min-height:44px; padding:9px;display:grid;place-items:center}
.gg-turn button:hover {background:#302527}
.gg-turn svg {width:20px;height:20px}
.gg-turn button:last-child svg {transform:rotate(180deg)}
.gg[data-gallery-layout=grid] .gg-scene {display:flex; flex-direction:column; align-items:center; width:100%; min-height:calc(100svh - 60px); padding:1.7rem max(1rem,env(safe-area-inset-left)) 2rem; background:radial-gradient(ellipse at 50% 20%,#24201f 0%,#111112 70%)}
.gg[data-gallery-layout=grid] .gg-scene::before,.gg[data-gallery-layout=grid] .gg-scene::after {bottom:auto; height:340px; width:31%; opacity:.2; background-size:auto 85%}
.gg[data-gallery-layout=grid] .gg-glass {height:360px}
.gg[data-gallery-layout=grid] #gg-title {order:1}
.gg[data-gallery-layout=grid] .gg-crest {order:2; width:min(45%,270px); margin-block:.85rem 1.1rem}
.gg[data-gallery-layout=grid] .gg-tabs {order:3}
.gg[data-gallery-layout=grid] .gg-meta {order:4; margin-block:.7rem 1rem}
.gg[data-gallery-layout=grid] #gg-panel {order:5; width:min(100%,75rem)}
.gg-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.48rem,1.3vw,1.15rem)}
.gg-grid .gg-card {position:relative;width:100%; aspect-ratio:1.35}
.gg[data-handset=true] .gg-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
@media (orientation:landscape) {.gg[data-handset=false] .gg-grid {grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:599px) {
  .gg[data-gallery-layout=grid] .gg-scene {padding-top:1.25rem}
  .gg[data-gallery-layout=grid] .gg-crest {width:min(60%,228px)}
  .gg[data-gallery-layout=grid] .gg-meta {column-gap:.7rem; font-size:.82rem}
  .gg-albums {gap:.24rem}
  .gg-grid .gg-card {aspect-ratio:1.18}
}
.gg[data-gallery-layout=rail] .gg-scene {
  display:flex; flex-direction:column; align-items:center; width:100%;
  min-height:calc(100svh - 60px); padding:1.55rem 0 2rem;
  background:radial-gradient(ellipse at 50% 20%,#24201f 0%,#111112 70%);
}
.gg[data-gallery-layout=rail] .gg-scene::before,.gg[data-gallery-layout=rail] .gg-scene::after {bottom:auto;height:340px;width:31%;opacity:.2;background-size:auto 85%}
.gg[data-gallery-layout=rail] .gg-glass {height:360px}
.gg[data-gallery-layout=rail] #gg-title {order:1}
.gg[data-gallery-layout=rail] .gg-crest {order:2;width:min(45%,250px);margin-block:.65rem .85rem}
.gg[data-gallery-layout=rail] .gg-tabs {order:3}
.gg[data-gallery-layout=rail] .gg-meta {order:4;margin-block:.6rem 1rem;padding-inline:.7rem}
.gg[data-gallery-layout=rail] #gg-panel {order:5;width:min(100%,72rem)}
.gg-rail {
  --rail-card:clamp(196px,39%,25rem); --rail-gap:clamp(9px,1.35vw,18px);
  position:relative; overflow:hidden; overflow:clip; padding:.75rem 0;
  touch-action:pan-y pinch-zoom; user-select:none; -webkit-user-select:none; cursor:grab;
}
.gg-rail:active {cursor:grabbing}
.gg-rail::before {
  content:""; position:absolute; inset-inline:0; top:50%; height:1px;
  background:linear-gradient(90deg,#7c3442,#b59a6b 50%,#7c3442); pointer-events:none;
}
.gg-rail-track {display:flex; align-items:center; justify-content:center; gap:var(--rail-gap); width:100%; will-change:transform}
.gg-rail .gg-card {
  position:relative; flex:0 0 var(--rail-card); aspect-ratio:1.64; min-height:0;
  border-radius:.55rem; border-color:#766849; opacity:.72; transform:scale(.94);
  transition:transform .16s ease,opacity .16s ease,border-color .16s ease;
}
.gg-rail .gg-card[aria-current=true] {transform:scale(1);opacity:1;border-color:#c6a878}
.gg-rail-nav {
  width:min(90%,29rem); margin:.4rem auto 0; display:grid;
  grid-template-columns:44px minmax(0,1fr) 44px; align-items:center; gap:.45rem;
}
.gg-rail-caption {
  grid-column:2; grid-row:1; text-align:center; font-variant-numeric:tabular-nums;
  color:#e4dac7; margin:0; font-size:.94rem; line-height:1.35; overflow-wrap:anywhere;
}
.gg-rail-nav button {
  display:grid;place-items:center; width:44px;height:44px; padding:0;
  border:1px solid #736146; border-radius:50%; background:#1b1819; color:#dfc89f;
}
.gg-rail-nav button:first-child {grid-column:1;grid-row:1}
.gg-rail-nav button:last-child {grid-column:3;grid-row:1}
.gg-rail-nav svg {width:18px;height:18px}
.gg[data-handset=true] .gg-rail {--rail-card:clamp(145px,66%,25rem)}
@media (max-width:599px) {
  .gg[data-gallery-layout=rail] .gg-scene {padding-top:1.2rem}
  .gg[data-gallery-layout=rail] .gg-crest {width:min(56%,210px)}
  .gg[data-gallery-layout=rail] .gg-meta {column-gap:.7rem;font-size:.82rem}
  .gg-albums {gap:.24rem}
}
.gg-modal-open {overflow:hidden; overscroll-behavior:none}
.gg-viewer {width:min(92vw,74rem); max-width:100vw; max-height:92svh; margin:auto; padding:0; box-sizing:border-box; border:1px solid #75654e; border-radius:.65rem; color:#eee7dd; background:#161515; box-shadow:0 16px 72px #0008; overscroll-behavior:contain}
.gg-viewer::backdrop {background:#090809e3}
.gg-viewer[open] {display:flex; flex-direction:column}
.gg-view-head, .gg-view-bar {display:flex; flex:none; align-items:center; gap:.75rem; padding:.6rem 1.05rem}
.gg-view-head {justify-content:space-between; border-bottom:1px solid #423a35}
.gg-view-type {color:#cab896; font-size:.83rem; margin:0 0 .1rem}
.gg-view-head h2 {margin:0; font-size:clamp(1.05rem,2vw,1.45rem); font-family:var(--head,system-ui); line-height:1.17}
.gg-viewer button {min-width:44px;min-height:44px; display:inline-grid; place-items:center; background:#242020; border:1px solid #776852; color:#efddbd; border-radius:.45rem; line-height:1}
.gg-viewer [data-close] {font-size:1.95rem;font-weight:350;background:transparent}
.gg-stage {position:relative;display:grid; place-items:center; overflow:hidden; min-height:6rem; min-width:0; max-height:calc(92svh - 8.6rem); flex:1 1 auto; background:#0b0b0c; touch-action:pan-y pinch-zoom}
.gg-stage img,.gg-stage video {display:block; min-height:0; max-width:100%;max-height:calc(92svh - 8.6rem); width:auto;height:auto;object-fit:contain}
.gg-stage img {-webkit-user-drag:none}
.gg-view-bar {justify-content:center; position:relative; flex-wrap:wrap; border-top:1px solid #423a35}
.gg-view-count {font-variant-numeric:tabular-nums; font-size:.94rem; min-width:4rem; text-align:center}
.gg-viewer button svg {width:21px;height:21px}
.gg-quality {font-size:.875rem; position:absolute; right:1rem}
.gg-view-description {padding:.6rem 1rem;margin:0;color:#d4cbbe;max-height:6rem;overflow:auto;line-height:1.35}
.gg-retry {display:block;margin:.7rem auto 0;border:1px solid #776852;border-radius:.35rem;color:#efe2ce;padding:.45rem .8rem;min-height:44px}
.gg-media-error {padding:2rem 1rem; text-align:center}
.gg-media-error button {margin-top:.7rem; padding:.5rem .85rem; font-size:.9rem}
@media (max-width:640px), (max-height:599px) and (hover:none), (max-height:540px) and (any-pointer:coarse) {
  .gg-viewer {inset:0; margin:0; width:100%; height:100dvh; max-height:100dvh; max-width:100%; border:none; border-radius:0; padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
  .gg-view-head, .gg-view-bar {padding:.6rem .65rem}
  .gg-stage {max-height:none;min-height:0;flex:1}
  .gg-stage img,.gg-stage video {position:absolute;inset:0;margin:auto;max-height:100%;max-width:100%}
  .gg-quality {position:static; font-size:.8rem;margin-left:auto;max-width:100%}
  .gg-view-bar {gap:.42rem}
  .gg-view-count {min-width:2.4rem}
}
@media (prefers-reduced-motion:reduce) {.gg-slots .gg-card,.gg-rail .gg-card {transition:none}}

.gg-card .gg-tap-fracture {
  position:absolute; z-index:4; inset:0; width:100%; height:100%; overflow:hidden; pointer-events:none;
  color:#eee0cf; stroke-width:1.05; filter:drop-shadow(.5px .75px .45px #18121bd9);
}
.gg-tap-fracture path {
  vector-effect:non-scaling-stroke; stroke-dasharray:1; stroke-dashoffset:0;
  animation:gg-fracture-draw 130ms cubic-bezier(.15,.64,.27,1) both;
}
.gg-tap-fracture .gg-hairline {stroke-width:.6; opacity:.72; animation-delay:30ms}
@keyframes gg-fracture-draw {from {stroke-dashoffset:1} to {stroke-dashoffset:0}}
.gg-corner-crack {
  position:absolute; left:0; bottom:0; width:clamp(24px,6.8vw,48px); height:auto;
  pointer-events:none; user-select:none; color:#b9a998; opacity:.78;
}
.gg-rail-viewer .gg-view-bar {padding-left:max(1.05rem,calc(clamp(24px,6.8vw,48px) + 4px))}
@media (prefers-reduced-motion:reduce) {.gg-tap-fracture {display:none}}
