/* Animated guide. The stage scales as one picture: sizes are in cqw (1% of its width). */
.g-wrap { max-width: 1040px; }
.g-public { width: 100%; max-width: 1040px; }
.g-player {
  --g-ink: #10233f; --g-blue: #1f4e9c; --g-sky: #5ea2ff; --g-gold: #f5b82e;
  --g-green: #2ea05a; --g-grey: #8a94a6; --g-paper: #ffffff;
  background: #0b1626; border-radius: 14px; overflow: hidden; color: #fff;
  box-shadow: 0 12px 34px rgba(5, 15, 35, .35);
}
.g-player:fullscreen { display: flex; flex-direction: column; justify-content: center; border-radius: 0; }
.g-stage {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size;
  background: radial-gradient(120% 120% at 15% 0%, #1d4587 0%, #0f2547 55%, #0b1626 100%);
}
.g-player:fullscreen .g-stage { max-height: 82vh; width: 100%; }
.g-scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s .45s; }
.g-scene.is-active { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.g-title { position: absolute; left: 4cqw; top: 2.4cqw; margin: 0; font-size: 2.7cqw; font-weight: 700; color: #fff; }

/* Start overlay */
.g-start {
  position: absolute; inset: 0; z-index: 5; border: 0; color: #fff; cursor: pointer;
  background: rgba(8, 18, 36, .72); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2cqw;
}
.g-player.is-started .g-start { display: none; }
.g-start-icon {
  width: 11cqw; height: 11cqw; border-radius: 50%; background: var(--g-gold); color: var(--g-ink);
  display: flex; align-items: center; justify-content: center; font-size: 7cqw; transition: transform .2s;
  box-shadow: 0 0 0 1.4cqw rgba(245, 184, 46, .25);
}
.g-start:hover .g-start-icon, .g-start:focus-visible .g-start-icon { transform: scale(1.07); }
.g-start-title { font-size: max(15px, 3.3cqw); font-weight: 700; }
.g-start-sub { font-size: max(12px, 1.8cqw); opacity: .85; }

/* Frames */
.g-browser { background: #fff; border-radius: 1cqw; overflow: hidden; box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, .45); }
.g-browser img { display: block; width: 100%; }
.g-browser-body { position: relative; }
.g-bar { display: flex; align-items: center; gap: .5cqw; padding: .7cqw 1cqw; background: #e8ecf3; color: #475569; font-size: 1.15cqw; }
.g-bar i { width: .8cqw; height: .8cqw; border-radius: 50%; background: #b8c1cf; }
.g-bar span { margin-left: 1cqw; background: #fff; border-radius: .6cqw; padding: .15cqw 1.2cqw; }
.g-phone { position: absolute; width: 21.5cqw; aspect-ratio: 720 / 1560; background: #0a0f1a; border-radius: 2.6cqw; padding: .75cqw; box-shadow: 0 2.4cqw 5cqw rgba(0, 0, 0, .55), inset 0 0 0 .14cqw #39445a; }
.g-phone-screen { position: relative; width: 100%; height: 100%; border-radius: 1.9cqw; overflow: hidden; background: #fff; }
.g-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.g-shot-0 { opacity: 1; }

/* Tap ripple */
.g-ripple { position: absolute; width: 5cqw; height: 5cqw; margin: -2.5cqw 0 0 -2.5cqw; border-radius: 50%; background: rgba(245, 184, 46, .6); border: .25cqw solid var(--g-gold); opacity: 0; pointer-events: none; }
@keyframes g-tap { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.6); } }

/* Phone scenes: phone on the left, the steps beside it */
.g-phone-scene .g-phone { left: 13cqw; top: 2.5cqw; height: 51.2cqw; width: auto; }
.g-side { position: absolute; left: 41cqw; right: 4cqw; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 1.5cqw; }
.g-side-step, .g-done, .g-url, .g-signal {
  font-size: max(10px, 2.15cqw); line-height: 1.25; padding: 1.25cqw 1.7cqw; border-radius: 1.1cqw;
  background: rgba(255, 255, 255, .1); border: .1cqw solid rgba(255, 255, 255, .18);
  opacity: 0; transform: translateX(3cqw); transition: opacity .4s ease, transform .4s ease, background .3s;
}
.g-side-step i, .g-done i, .g-url i, .g-signal i { color: var(--g-gold); margin-right: .7cqw; }
.g-done { background: var(--g-green); border-color: transparent; font-weight: 700; }
.g-done i { color: #fff; }
.g-url { font-weight: 700; background: #fff; color: var(--g-ink); opacity: 1; transform: none; }
.g-url i { color: var(--g-blue); }

/* Welcome */
.g-w-browser { position: absolute; left: 4cqw; top: 8cqw; width: 58cqw; opacity: 0; transform: translateX(-5cqw); transition: all .7s cubic-bezier(.2, .8, .2, 1); }
.g-w-phone { right: 7cqw; top: 4cqw; width: 20cqw; opacity: 0; transform: translateX(5cqw); transition: all .7s cubic-bezier(.2, .8, .2, 1); }
.m0 .g-w-browser, .m1 .g-w-phone { opacity: 1; transform: none; }
.g-person { position: absolute; padding: .9cqw 1.7cqw; border-radius: 1cqw; background: var(--g-gold); color: var(--g-ink); box-shadow: 0 1cqw 2.4cqw rgba(0, 0, 0, .4); opacity: 0; transform: scale(.8); transition: all .4s cubic-bezier(.3, 1.5, .5, 1); }
.g-person b { display: block; font-size: 2.4cqw; line-height: 1.1; }
.g-person span { font-size: 1.4cqw; }
.g-person-fred { left: 7cqw; top: 3.4cqw; }
.g-person-vera { right: 3cqw; bottom: 5cqw; }
.m2 .g-person-fred, .m3 .g-person-vera { opacity: 1; transform: none; }
.g-town { position: absolute; left: 4cqw; bottom: 1.6cqw; font-size: 1.35cqw; opacity: .8; }

/* Menu */
.g-full { position: absolute; left: 4cqw; right: 4cqw; top: 2.5cqw; }
.g-ring { position: absolute; border: .35cqw solid var(--g-gold); border-radius: 1cqw; box-shadow: 0 0 0 100cqw rgba(8, 18, 36, .45); opacity: 0; transition: opacity .4s; }
.g-menu-ring { left: 0; top: 7%; width: 19.5%; height: 91%; }
[data-scene="menu"].m0 .g-menu-ring { opacity: 1; }
[data-scene="menu"].m2 .g-menu-ring { opacity: 0; }
.g-tip { position: absolute; left: 21%; top: 42%; max-width: 40%; background: var(--g-ink); color: #fff; padding: 1cqw 1.5cqw; border-radius: .9cqw; font-size: max(10px, 1.9cqw); box-shadow: 0 1cqw 2.4cqw rgba(0, 0, 0, .4); opacity: 0; transform: translateY(1cqw); transition: all .35s; z-index: 2; }
.m1 .g-tip { opacity: 1; transform: none; }
.m2 .g-tip { opacity: 0; }
.g-roles { position: absolute; left: 0; right: 0; bottom: 3.5cqw; display: flex; justify-content: center; gap: 1.6cqw; opacity: 0; transform: translateY(2cqw); transition: all .45s; z-index: 3; }
.m2 .g-roles { opacity: 1; transform: none; }
.g-roles span { background: #fff; color: var(--g-ink); border-radius: 1cqw; padding: 1.1cqw 2cqw; font-weight: 700; font-size: max(10px, 2cqw); text-align: center; box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, .45); }
.g-roles em { display: block; font-style: normal; font-weight: 400; font-size: max(9px, 1.4cqw); color: #475569; }

/* Where to go */
.g-chart { position: absolute; left: 6cqw; right: 6cqw; top: 6.5cqw; width: 88cqw; height: 49cqw; }
.g-zone { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .22); transition: fill .4s; }
.g-zl { fill: #fff; font-size: 25px; font-weight: 700; text-anchor: middle; opacity: .4; transition: opacity .4s; }
.g-axis { fill: #c8d3e6; font-size: 19px; text-anchor: middle; }
.g-dot { --x: 535px; --y: 255px; transform: translate(535px, 255px); opacity: 0; transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .4s, fill .4s; fill: #dbe5f5; }
[data-scene="where"].m0 .g-dot { transform: translate(var(--x), var(--y)); opacity: .9; }
.m1 .g-z-turnout { fill: rgba(245, 184, 46, .24); } .m1 .g-zl-turnout { opacity: 1; } .m1 .g-dot-turnout { fill: var(--g-gold); }
.m2 .g-z-close { fill: rgba(94, 162, 255, .24); } .m2 .g-zl-close { opacity: 1; } .m2 .g-dot-close { fill: var(--g-sky); }
.m3 .g-z-base { fill: rgba(46, 160, 90, .24); } .m3 .g-zl-base { opacity: 1; } .m3 .g-dot-base { fill: #49c97c; }
.m4 .g-z-away { fill: rgba(138, 148, 166, .2); } .m4 .g-zl-away { opacity: 1; } .m4 .g-dot-away { fill: var(--g-grey); }
[data-scene="where"].m5 .g-dot-base, [data-scene="where"].m5 .g-dot-away { opacity: .22; }
.m5 .g-z-base, .m5 .g-z-away { fill: rgba(255, 255, 255, .02); }
[data-scene="where"].m5 .g-zl-base, [data-scene="where"].m5 .g-zl-away { opacity: .3; }
.m5 .g-z-turnout { fill: rgba(245, 184, 46, .36); } .m5 .g-z-close { fill: rgba(94, 162, 255, .36); }

/* Score */
.g-score { position: absolute; left: 7cqw; right: 7cqw; top: 11cqw; display: flex; gap: 4cqw; align-items: center; }
.g-score-card { flex: 0 0 27cqw; background: #fff; color: var(--g-ink); border-radius: 1.6cqw; padding: 2.4cqw; text-align: center; box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, .4); }
.g-score-name { font-size: 2cqw; font-weight: 600; }
.g-score-num { font-size: 9cqw; line-height: 1.15; font-weight: 800; color: var(--g-blue); font-variant-numeric: tabular-nums; }
.g-score-tier { display: inline-block; background: var(--g-green); color: #fff; font-weight: 700; font-size: 1.7cqw; padding: .4cqw 1.4cqw; border-radius: 2cqw; opacity: 0; transition: opacity .4s; }
[data-scene="score"].m2 .g-score-tier { opacity: 1; }
.g-bars { flex: 1; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2.2cqw; }
.g-bars label { display: block; font-size: max(10px, 2.2cqw); margin-bottom: .6cqw; }
.g-bars div { height: 1.7cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .14); overflow: hidden; }
.g-bars i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--g-sky), var(--g-gold)); border-radius: 1cqw; transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.m0 .g-bar-a i, .m1 .g-bar-b i, .m2 .g-bar-c i { width: var(--w); }
.g-note { position: absolute; left: 0; right: 0; bottom: 5cqw; margin: 0; text-align: center; font-size: max(11px, 2.4cqw); font-weight: 700; color: var(--g-gold); opacity: 0; transition: opacity .4s; }
.m3 .g-score-note { opacity: 1; }

/* Plan and turfs */
.g-plan, .g-turf { position: absolute; top: 4cqw; bottom: 4cqw; width: 43cqw; background: rgba(255, 255, 255, .07); border: .1cqw solid rgba(255, 255, 255, .17); border-radius: 1.6cqw; padding: 2cqw; transition: opacity .5s; }
.g-plan { left: 4cqw; } .g-turf { right: 4cqw; opacity: .3; }
.m1 .g-turf { opacity: 1; }
.g-plan h3, .g-turf h3 { margin: 0 0 1cqw; font-size: 2.4cqw; font-weight: 700; color: #fff; }
.g-weeks { display: flex; align-items: flex-end; gap: 2cqw; height: 37cqw; }
.g-week { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; text-align: center; font-size: 1.7cqw; }
.g-week i { display: block; height: 0; border-radius: .7cqw .7cqw 0 0; background: linear-gradient(180deg, var(--g-gold), #d68d13); transition: height .8s cubic-bezier(.2, .8, .2, 1) var(--d); }
.m0 .g-week i { height: var(--h); }
.g-week span { margin-top: .6cqw; opacity: .8; }
.g-week b { opacity: 0; transition: opacity .3s .7s; } .m0 .g-week b { opacity: 1; }
.g-turf svg { width: 100%; height: 38cqw; }
.g-road { fill: rgba(255, 255, 255, .15); }
.g-house { fill: #6f7f99; transition: fill .4s; }
.m1 .g-house-a { fill: var(--g-gold); } .m1 .g-house-b { fill: var(--g-sky); }
.g-route { fill: none; stroke: #fff; stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; transition: stroke-dashoffset 3.2s linear; }
.m2 .g-route { stroke-dashoffset: 0; }

/* Invite */
.g-invite-browser { position: absolute; left: 4cqw; top: 3cqw; width: 58cqw; opacity: 0; transform: translateY(2cqw); transition: all .5s; }
.m0 .g-invite-browser { opacity: 1; transform: none; }
.g-qr { position: absolute; right: 6cqw; top: 4.5cqw; width: 25cqw; padding: 1.5cqw; background: #fff; border-radius: 1.5cqw; color: var(--g-ink); text-align: center; font-size: 1.8cqw; font-weight: 700; opacity: 0; transform: scale(.75); transition: all .45s cubic-bezier(.3, 1.5, .5, 1); box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, .5); }
.g-qr img { display: block; width: 100%; }
.m1 .g-qr { opacity: 1; transform: none; }
.g-share { position: absolute; right: 6cqw; top: 36cqw; width: 25cqw; display: flex; gap: 1cqw; opacity: 0; transition: opacity .4s; }
.g-share span { flex: 1; text-align: center; font-size: max(9px, 1.5cqw); padding: .8cqw .3cqw; border-radius: .9cqw; background: rgba(255, 255, 255, .13); }
.m2 .g-share { opacity: 1; }
.g-nopass { position: absolute; right: 6cqw; top: 42cqw; width: 25cqw; text-align: center; padding: 1cqw; border-radius: 1cqw; background: var(--g-green); font-weight: 700; font-size: max(10px, 1.75cqw); opacity: 0; transition: opacity .4s; }
.m3 .g-nopass { opacity: 1; }

/* Phone scene steps */
[data-scene="install"].m0 .g-s-android, [data-scene="install"].m1 .g-s-iphone, [data-scene="install"].m2 .g-s-join, [data-scene="install"].m3 .g-s-done,
[data-scene="today"].m0 .g-s-a, [data-scene="today"].m1 .g-s-b, [data-scene="today"].m2 .g-s-c,
[data-scene="door"].m0 .g-s-a, [data-scene="door"].m1 .g-s-b, [data-scene="door"].m2 .g-s-c, [data-scene="door"].m3 .g-s-d, [data-scene="door"].m5 .g-s-e,
[data-scene="offline"].m0 .g-s-a, [data-scene="offline"].m1 .g-s-b, [data-scene="offline"].m2 .g-s-c, [data-scene="offline"].m3 .g-s-d { opacity: 1; transform: none; }

[data-scene="install"].m2 .g-shot-1 { opacity: 1; transition-delay: .5s; }
.g-r-join { left: 50%; top: 36%; } [data-scene="install"].m2 .g-r-join { animation: g-tap .85s ease-out; }

[data-scene="today"].m1 .g-shot-1 { opacity: 1; transition-delay: .5s; }
[data-scene="today"].m2 .g-shot-2 { opacity: 1; }
.g-r-turfs { left: 37%; top: 94%; } [data-scene="today"].m1 .g-r-turfs { animation: g-tap .85s ease-out; }

.g-r-address { left: 50%; top: 71%; } [data-scene="door"].m0 .g-r-address { animation: g-tap .85s ease-out; }
.g-r-record { left: 50%; top: 70.5%; } [data-scene="door"].m1 .g-r-record { animation: g-tap .85s ease-out; }
.g-r-talked { left: 50%; top: 30%; } [data-scene="door"].m2 .g-r-talked { animation: g-tap .85s ease-out; }
.g-r-lean { left: 62%; top: 39%; } [data-scene="door"].m3 .g-r-lean { animation: g-tap .85s ease-out .25s; }
.g-r-save { left: 50%; top: 95%; } [data-scene="door"].m4 .g-r-save { animation: g-tap .85s ease-out; }
.g-r-nobody { left: 50%; top: 40%; } [data-scene="door"].m5 .g-r-nobody { animation: g-tap .85s ease-out .35s; }
[data-scene="door"].m0 .g-shot-1, [data-scene="door"].m1 .g-shot-2, [data-scene="door"].m2 .g-shot-3, [data-scene="door"].m4 .g-shot-5 { opacity: 1; transition-delay: .5s; }
[data-scene="door"].m3 .g-shot-4, [data-scene="door"].m5 .g-shot-6 { opacity: 1; }

/* No signal */
.g-signal { background: #b3362d; border-color: transparent; font-weight: 700; opacity: 1; transform: none; transition: background .5s; }
.g-signal i { color: #fff; }
[data-scene="offline"].m1 .g-shot-1 { opacity: 1; }
[data-scene="offline"].m3 .g-shot-2 { opacity: 1; transition-delay: .3s; }
[data-scene="offline"].m3 .g-signal { background: var(--g-green); }
.g-sig-on { display: none; }
[data-scene="offline"].m3 .g-sig-on { display: inline; }
[data-scene="offline"].m3 .g-sig-off { display: none; }
[data-scene="offline"].m2:not(.m3) .g-phone { animation: g-reopen 1.8s ease; }
@keyframes g-reopen { 0%, 100% { opacity: 1; transform: scale(1); } 35%, 60% { opacity: .15; transform: scale(.93); } }

/* Results */
.g-dash { position: absolute; inset: 4cqw; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 2cqw; align-content: center; }
.g-card { background: #fff; color: var(--g-ink); border-radius: 1.4cqw; padding: 1.9cqw; box-shadow: 0 1.6cqw 4cqw rgba(0, 0, 0, .4); opacity: 0; transform: translateY(2.5cqw); transition: all .5s cubic-bezier(.2, .8, .2, 1); }
.g-card h4 { margin: 0 0 1cqw; font-size: 2.1cqw; font-weight: 700; color: var(--g-blue); }
.m0 .g-live, .m1 .g-brief, .m2 .g-reknock { opacity: 1; transform: none; }
.g-reknock { grid-column: 1 / span 2; }
.g-row { display: flex; gap: 1.5cqw; justify-content: space-between; padding: .55cqw 0; border-top: .08cqw solid #e2e7ef; font-size: max(9px, 1.65cqw); }
.g-row span { color: #475569; flex: 1; } .g-row em { font-style: normal; font-weight: 700; }
.g-stats { display: flex; gap: 2.5cqw; font-size: max(9px, 1.5cqw); margin-bottom: 1cqw; color: #475569; }
.g-stats b { display: block; font-size: 4cqw; line-height: 1.05; color: var(--g-ink); }
.g-card label { font-size: max(9px, 1.4cqw); color: #475569; }
.g-pace { height: 1.5cqw; border-radius: 1cqw; background: #e2e7ef; overflow: hidden; }
.g-pace i { display: block; height: 100%; width: 0; background: var(--g-green); transition: width 1.2s ease .3s; }
.m1 .g-pace i { width: 72%; }

/* Closing loop */
.g-loop { position: absolute; left: 5cqw; right: 5cqw; top: 8cqw; display: flex; align-items: center; justify-content: space-between; }
.g-node { width: 23cqw; padding: 2.4cqw 1cqw; text-align: center; background: #fff; color: var(--g-ink); border-radius: 1.8cqw; box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, .45); opacity: .15; transform: scale(.9); transition: all .45s cubic-bezier(.3, 1.4, .5, 1); }
.g-node > i { display: block; font-size: 5.5cqw; line-height: 1.15; color: var(--g-blue); }
.g-node b { display: block; font-size: 3cqw; } .g-node span { font-size: 1.8cqw; color: #475569; }
.g-arrow { font-size: 4cqw; color: var(--g-gold); opacity: 0; transition: opacity .4s; }
.m0 .g-n-a, .m1 .g-n-b, .m2 .g-n-c { opacity: 1; transform: none; }
.m1 .g-arrow-a, .m2 .g-arrow-b { opacity: 1; }
.g-extras { position: absolute; left: 0; right: 0; bottom: 6cqw; display: flex; flex-direction: column; gap: 1.2cqw; align-items: center; }
.g-extras span { font-size: max(10px, 2.15cqw); padding: 1cqw 2cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .11); opacity: 0; transform: translateY(1cqw); transition: all .4s; }
.g-extras i { color: var(--g-gold); margin-right: .6cqw; }
.m3 .g-x-a, .m4 .g-x-b { opacity: 1; transform: none; }

/* Captions and controls */
.g-caption { min-height: 3.6em; padding: .55rem 1rem; background: #0b1626; color: #fff; font-size: clamp(.9rem, 1.6vw, 1.15rem); line-height: 1.3; text-align: center; display: flex; align-items: center; justify-content: center; }
.captions-off .g-caption { display: none; }
.g-controls { display: flex; align-items: center; gap: .2rem; padding: .35rem .6rem; background: #101f35; }
.g-btn { border: 0; background: transparent; color: #fff; width: 2.5rem; height: 2.5rem; border-radius: .5rem; font-size: 1.2rem; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.g-btn:hover, .g-btn:focus-visible { background: rgba(255, 255, 255, .14); }
.g-btn.g-text { font-size: .85rem; font-weight: 700; }
.g-track { flex: 1; min-width: 3rem; height: 1.6rem; display: flex; align-items: center; cursor: pointer; position: relative; margin: 0 .4rem; }
.g-track::before { content: ""; position: absolute; left: 0; right: 0; height: .4rem; border-radius: 1rem; background: rgba(255, 255, 255, .22); }
.g-fill { position: relative; height: .4rem; border-radius: 1rem; background: var(--g-gold); width: 0; }
.g-time { font-size: .8rem; font-variant-numeric: tabular-nums; white-space: nowrap; margin-right: .3rem; opacity: .9; }
.g-chapters { display: flex; flex-wrap: wrap; gap: .3rem; padding: .55rem .6rem .7rem; background: #101f35; border-top: 1px solid rgba(255, 255, 255, .08); }
.g-chapter { border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #dce6f6; border-radius: 2rem; padding: .22rem .7rem; font-size: .8rem; }
.g-chapter:hover, .g-chapter:focus-visible { background: rgba(255, 255, 255, .13); }
.g-chapter.is-active { background: var(--g-gold); border-color: var(--g-gold); color: var(--g-ink); font-weight: 700; }
.g-transcript { margin-top: .9rem; font-size: .92rem; }
.g-transcript summary { cursor: pointer; font-weight: 600; }
.g-transcript h3 { font-size: .95rem; font-weight: 700; margin: .8rem 0 .15rem; }
.g-transcript p { margin: 0; }
.g-credit { font-size: .75rem; opacity: .75; margin: .6rem 0 0; }
.g-public .g-transcript, .g-public .g-credit, .g-public .g-credit a { color: #fff; }
.g-doc { line-height: 1.55; scroll-margin-top: 4.5rem; }
.g-doc section { border-top: 1px solid var(--bs-border-color); margin-top: 1.5rem; padding-top: 1.25rem; scroll-margin-top: 4.5rem; }
.g-doc h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; }
.g-doc h4 { font-size: 1rem; font-weight: 700; margin: 1.1rem 0 .4rem; }
.g-doc li { margin-bottom: .3rem; }
.g-doc dt { margin-top: .7rem; }
.g-doc dd { margin-bottom: 0; }
.g-doc .table { margin-bottom: .75rem; }
.g-toc { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: .25rem 1rem; }
@media (max-width: 600px) {
  .g-time, [data-speed], [data-prev], [data-next] { display: none; }
  .g-player { border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .g-player * { transition-duration: .01s !important; animation-duration: .01s !important; transition-delay: 0s !important; }
}
