.gp-page {
    --gp-ink: #f3f7fa;
    --gp-muted: #aabdc8;
    --gp-accent: #83e1c7;
    --gp-line: #344a56;
    --gp-card: #182831;
    --gp-body: #121e26;
    width: min(1296px, calc(100% - 48px));
    margin-inline: auto;
    padding-bottom: clamp(26px, 5vw, 58px);
    color: var(--gp-ink);
    color-scheme: dark;
}
.gp-page :is(h1, h2, h3, h4, p, dl, dd) { margin: 0; }
.gp-page .gp-crumb { margin-bottom: 16px; }
.gp-link { display: inline-flex; align-items: center; gap: 7px; color: var(--gp-accent); text-decoration: none; font-size: .84rem; font-weight: 720; }
.gp-link:hover { color: #b9f7e7; text-decoration: underline; text-underline-offset: 3px; }
.gp-link i { font-size: .84em; }
.gp-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 9px 18px; margin-bottom: 16px; }
.gp-intro h1 { font-size: clamp(2.18rem, 4.55vw, 4.3rem); line-height: 1.02; letter-spacing: -.06em; font-weight: 800; }
.gp-intro p { margin-top: 8px; max-width: 70ch; color: var(--gp-muted); font-size: clamp(.88rem, 1.4vw, 1.04rem); line-height: 1.55; }
.gp-intro > a { margin-bottom: 3px; }
.gp-page :is(button, select, input, a, summary, [tabindex]):focus-visible { outline: 2px solid var(--gp-accent); outline-offset: 2px; }

.gp-lab { overflow: clip; border: 1px solid #425d68; border-radius: 21px; background: radial-gradient(ellipse at 10% 0, #243a45, transparent 60%), var(--gp-body); }
.gp-lab [hidden] { display: none !important; }
.gp-toolbar {
    position: relative; z-index: 4; display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 9px 15px; padding: 10px clamp(11px, 2.1vw, 24px);
    border-bottom: 1px solid var(--gp-line); background: #21313b;
}
.gp-toolbar-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gp-toolbar-icon { display: grid; place-items: center; flex: 0 0 39px; width: 39px; aspect-ratio: 1; border: 1px solid #50736f; border-radius: 11px; background: #314b50; color: var(--gp-accent); }
.gp-toolbar h2 { font-size: .99rem; line-height: 1.2; font-weight: 780; }
.gp-toolbar .gp-status { display: flex; align-items: baseline; gap: 6px; margin-top: 3px; color: #bfd1da; font-size: .73rem; }
.gp-status::before { content: ""; display: inline-block; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #93a6b3; }
.gp-status[data-state="active"]::before, .gp-status[data-state="finished"]::before { background: var(--gp-accent); box-shadow: 0 0 0 3px #83e1c729; }
.gp-status[data-state="waiting"]::before, .gp-status[data-state="paused"]::before, .gp-status[data-state="disconnected"]::before { background: #ecc58c; }
.gp-status[data-state="error"]::before { background: #f0a09a; }
.gp-actions, .gp-result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.gp-button, .gp-tab {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 41px;
    padding: 7px 11px; border: 1px solid #4b6472; border-radius: 9px; background: #283b46;
    color: var(--gp-ink); font-size: .81rem; font-weight: 720; line-height: 1.2;
}
.gp-button:disabled, .gp-tab:disabled { opacity: .53; cursor: default; }
.gp-button:not(:disabled):hover, .gp-tab:not(:disabled):hover { background: #35505d; border-color: #7aa69f; }
.gp-button--primary, .gp-button--primary:not(:disabled):hover { color: #122e2a; background: var(--gp-accent); border-color: transparent; }
.gp-button--primary:not(:disabled):hover { background: #a7efdc; }
.gp-button--finish:not(:disabled) { color: #d9f8ef; background: #294b49; border-color: #5f8982; }
.gp-button[aria-pressed="true"] { color: #d9f8ef; border-color: var(--gp-accent); background: #2d5650; }
.gp-lab :is(.gp-button, .gp-tab, .gp-text-button, select, input, summary) { touch-action: manipulation; }
.gp-body { padding: clamp(10px, 1.65vw, 20px) clamp(10px, 2.1vw, 24px); }
.gp-settings { display: grid; grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 11px; }
.gp-lab label { display: grid; align-content: start; gap: 4px; min-width: 0; color: #cedce2; font-size: .75rem; font-weight: 680; line-height: 1.25; }
.gp-lab select, .gp-range {
    width: 100%; min-width: 0; min-height: 38px; padding: 6px 8px; border: 1px solid #4e6572;
    border-radius: 7px; background: #22343f; color: var(--gp-ink); font-size: .81rem;
    font-weight: 500; text-overflow: ellipsis;
}
.gp-lab select:disabled, .gp-range:has(input:disabled) { opacity: .65; }
.gp-range { display: flex; align-items: center; gap: 8px; }
.gp-range input { min-width: 0; width: 100%; accent-color: var(--gp-accent); }
.gp-range output { min-width: 3.3em; text-align: right; font-variant-numeric: tabular-nums; }
.gp-page .gp-fullnote { margin: 0 0 8px; padding: 6px 8px; border-left: 2px solid var(--gp-accent); background: #294746; color: #d7ece6; font-size: .78rem; }
.gp-tabs { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 9px; }
.gp-tab { border-color: #3a5360; background: #1d2f39; color: #c6d7e0; }
.gp-tab i { color: #a6c8cf; }
.gp-tab[aria-selected="true"] { border-color: #80bdb1; background: #294742; color: #e2faf4; }
.gp-tab[aria-selected="true"] i { color: var(--gp-accent); }
.gp-pane { min-width: 0; }
.gp-live { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(274px, 1fr); gap: 9px; align-items: stretch; }
.gp-card, .gp-stage, .gp-history, .gp-result { min-width: 0; padding: 12px; border: 1px solid var(--gp-line); border-radius: 12px; background: var(--gp-card); }
.gp-stage {
    --gp-stage-height: clamp(248px, 28vw, 385px);
    display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: var(--gp-stage-height);
    overflow: hidden;
    background-color: #111e27;
    background-image: radial-gradient(ellipse at 50% 53%, #294957 0%, #192e3b 48%, transparent 78%), radial-gradient(circle at 1px 1px, #8bc4cf38 1px, transparent 0);
    background-size: auto, 22px 22px;
}
.gp-stage-top, .gp-card-heading, .gp-buttons-caption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; }
.gp-stage-top h3, .gp-card h3 { font-size: .99rem; font-weight: 780; letter-spacing: -.012em; }
.gp-chip { padding: 4px 8px; border: 1px solid #527b79; border-radius: 999px; background: #233c3d; color: #c1ede3; font-size: .7rem; font-weight: 690; line-height: 1.2; font-variant-numeric: tabular-nums; }
.gp-stage .gp-stage-note { z-index: 1; justify-self: center; padding: 5px 8px; border: 1px solid #45636c; border-radius: 7px; background: #14222be8; color: #d5e4ea; text-align: center; font-size: .76rem; line-height: 1.36; }
.gp-model-box { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; pointer-events: none; }
.gp-model {
    --gp-shell-hi: #657b87; --gp-shell-mid: #374c57; --gp-shell-lo: #1e2e37;
    position: relative; flex: 0 0 460px; width: 460px; height: 300px; transform-style: preserve-3d;
    transform: perspective(1250px) scale(var(--gp-scale, .62)) rotateX(var(--gp-angle, 25deg)) rotateZ(-6deg);
    transition: transform 180ms ease; user-select: none;
}
.gp-lab[data-view="top"] .gp-model { transform: scale(var(--gp-scale, .62)); }
.gp-lab[data-skin="playstation"] .gp-model { --gp-shell-hi: #e3e9f0; --gp-shell-mid: #becbd8; --gp-shell-lo: #7c94aa; }
.gp-lab[data-skin="switch"] .gp-model { --gp-shell-hi: #63717d; --gp-shell-mid: #454f60; --gp-shell-lo: #262d3b; }
.gp-lab[data-inputs="raw"] .gp-model { opacity: .50; }
.gp-shell { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; stroke-width: 1.3; }
.gp-shell--base { fill: #15232d; stroke: #3c5362; transform: translateZ(-13px) translateY(11px); filter: drop-shadow(4px 19px 12px #07121acb); }
.gp-shell--edge { fill: #314956; stroke: #6b9699; transform: translateZ(-7px) translateY(7px); }
.gp-shell--face { fill: url(#gp-shell-fill); stroke: #879da8; }
#gp-shell-fill stop:first-child { stop-color: var(--gp-shell-hi); }
#gp-shell-fill stop:nth-child(2) { stop-color: var(--gp-shell-mid); }
#gp-shell-fill stop:last-child { stop-color: var(--gp-shell-lo); }
.gp-grip { fill: none; stroke: #8197a3; stroke-opacity: .40; stroke-width: 3; stroke-linecap: round; }
.gp-model-brand { position: absolute; top: 58px; left: 175px; width: 110px; color: #e1edf1; text-align: center; font-size: 17px; font-weight: 810; letter-spacing: -.055em; }
.gp-model-brand span { color: var(--gp-accent); }
.gp-lab[data-skin="playstation"] .gp-model-brand { top: 45px; color: #263841; }
.gp-lab[data-skin="playstation"] .gp-model-brand span { color: #206953; }
.gp-touchpad { display: none; position: absolute; top: 74px; left: 178px; width: 104px; height: 59px; border: 2px solid #6fa59e; border-radius: 7px 7px 16px 16px; background: repeating-linear-gradient(140deg, #263c47, #263c47 2px, #304956 2px, #304956 4px); }
.gp-lab[data-skin="playstation"] .gp-touchpad { display: block; }
.gp-touchpad.is-down { border-color: #b9f5e5; background: #70bfae; box-shadow: 0 0 14px #83e1c77c; }
.gp-model-key, .gp-model-cap {
    position: absolute; display: grid; place-items: center; box-sizing: border-box; border: 1px solid #67808f;
    background: linear-gradient(148deg, #48606e, #243640 62%, #182a33); color: #ecf5f8;
    font: 700 12px ui-monospace, monospace; transform: translateZ(8px); box-shadow: 0 4px 0 #1a2c36, 0 6px 0 #435f6c;
}
.gp-model-key.is-down, .gp-model-cap.is-down { border-color: #a2f0d9; background: linear-gradient(145deg, #a5eed8, #6cc3ab); color: #0e3228; box-shadow: 0 2px 0 #3d756a, 0 0 14px #83e1c77c; }
.gp-key-0, .gp-key-1, .gp-key-2, .gp-key-3 { width: 35px; height: 35px; border-radius: 50%; font-size: 15px; }
.gp-key-0 { left: 338px; top: 139px; }
.gp-key-1 { left: 367px; top: 110px; }
.gp-key-2 { left: 309px; top: 110px; }
.gp-key-3 { left: 338px; top: 81px; }
.gp-key-4, .gp-key-5 { top: 42px; width: 82px; height: 22px; border-radius: 10px 10px 5px 5px; }
.gp-key-4 { left: 69px; }
.gp-key-5 { left: 309px; }
.gp-key-6, .gp-key-7 { top: 11px; width: 72px; height: 32px; border-radius: 14px 14px 6px 6px; transform-origin: center bottom; transform: translateZ(2px) rotateX(var(--gp-pull, 0deg)); }
.gp-key-6 { left: 74px; }
.gp-key-7 { left: 314px; }
.gp-key-8, .gp-key-9, .gp-key-16 { width: 28px; height: 21px; border-radius: 8px; font-size: 13px; }
.gp-key-8 { left: 188px; top: 102px; }
.gp-key-9 { left: 244px; top: 102px; }
.gp-key-16 { left: 216px; top: 130px; height: 28px; border-radius: 50%; }
.gp-lab[data-skin="playstation"] .gp-key-8 { left: 143px; top: 80px; }
.gp-lab[data-skin="playstation"] .gp-key-9 { left: 289px; top: 80px; }
.gp-lab[data-skin="playstation"] .gp-key-16 { top: 144px; }
.gp-key-12, .gp-key-13, .gp-key-14, .gp-key-15 { width: 25px; height: 25px; border-radius: 5px; font-size: 15px; }
.gp-key-12 { left: 148px; top: 137px; }
.gp-key-13 { left: 148px; top: 187px; }
.gp-key-14 { left: 123px; top: 162px; }
.gp-key-15 { left: 173px; top: 162px; }
.gp-lab[data-skin="playstation"] .gp-key-12 { left: 92px; top: 81px; }
.gp-lab[data-skin="playstation"] .gp-key-13 { left: 92px; top: 131px; }
.gp-lab[data-skin="playstation"] .gp-key-14 { left: 67px; top: 106px; }
.gp-lab[data-skin="playstation"] .gp-key-15 { left: 117px; top: 106px; }
.gp-model-stick { position: absolute; width: 68px; height: 68px; border: 1px solid #6b828c; border-radius: 50%; background: radial-gradient(circle, #101c23 42%, #283943 70%, #4d646f); transform: translateZ(4px); transform-style: preserve-3d; }
.gp-model-stick--left { left: 67px; top: 84px; }
.gp-model-stick--right { left: 266px; top: 153px; }
.gp-lab[data-skin="playstation"] .gp-model-stick--left { left: 129px; top: 154px; }
.gp-lab[data-skin="playstation"] .gp-model-stick--right { left: 263px; top: 154px; }
.gp-model-cap {
    top: 50%; left: 50%; width: 51px; height: 51px; border-radius: 50%; font-size: 10px;
    transform: translate(calc(-50% + var(--gp-x, 0px)), calc(-50% + var(--gp-y, 0px))) translateZ(12px);
    background: radial-gradient(circle at 44% 37%, #4b5c66 22%, #293d48 52%, #142630 67%);
}

.gp-live-readings { display: flex; flex-direction: column; gap: 8px; }
.gp-text-button { padding: 0; border: 0; background: none; color: var(--gp-accent); font-size: .76rem; font-weight: 700; text-align: left; }
.gp-text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.gp-coverage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.gp-coverage > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 7px; padding: 7px 8px; border: 1px solid #3c5360; border-radius: 8px; background: #21333f; }
.gp-coverage strong { color: var(--gp-accent); font-size: .92rem; font-weight: 760; font-variant-numeric: tabular-nums; }
.gp-coverage span, .gp-buttons-caption span { color: var(--gp-muted); font-size: .72rem; }
.gp-buttons-caption h4 { font-size: .76rem; font-weight: 740; }
.gp-buttons-caption span { display: inline-flex; align-items: center; gap: 5px; }
.gp-buttons-caption i { width: 6px; height: 6px; border-radius: 50%; background: var(--gp-accent); }
.gp-button-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 0; list-style: none; }
.gp-button-grid li { min-width: 0; display: grid; justify-items: center; align-content: center; gap: 1px; min-height: 38px; padding: 2px; border: 1px solid #415661; border-radius: 6px; background: #20323d; line-height: 1.15; font-weight: 750; font-size: .76rem; }
.gp-button-grid small { color: #b3c6cf; font-size: .62rem; font-weight: 600; }
.gp-button-grid li.is-seen { border-color: #729f98; background: #24433f; }
.gp-button-grid li.is-seen small { color: #a9e7d7; }
.gp-button-grid li.is-down { border-color: #b4f6e4; background: var(--gp-accent); color: #0d2d26; }
.gp-button-grid li.is-down small { color: #254b40; }
.gp-button-grid li.is-unavailable { opacity: .48; }
.gp-triggers { display: grid; gap: 5px; }
.gp-trigger { display: grid; grid-template-columns: auto 1fr; gap: 3px 8px; color: #dce9ee; font-size: .75rem; font-weight: 690; }
.gp-trigger strong { justify-self: end; font-variant-numeric: tabular-nums; }
.gp-trigger progress, .gp-drift-progress {
    grid-column: 1 / -1; width: 100%; height: 5px; border: 0; border-radius: 6px;
    background: #415764; accent-color: var(--gp-accent);
}
.gp-lab progress::-webkit-progress-bar { border-radius: 6px; background: #415764; }
.gp-lab progress::-webkit-progress-value { border-radius: 6px; background: var(--gp-accent); }
.gp-lab progress::-moz-progress-bar { border-radius: 6px; background: var(--gp-accent); }
.gp-page .gp-last { min-height: 1.15em; margin-top: auto; color: #bde4d9; font-size: .73rem; overflow-wrap: anywhere; }

.gp-page .gp-note { color: var(--gp-muted); font-size: .82rem; line-height: 1.5; }
.gp-page .gp-inline-notice { margin-bottom: 8px; padding: 8px 11px; border-left: 2px solid #dbb681; background: #302d28; color: #efdbba; }
.gp-stick-grid, .gp-raw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gp-plot-card.is-unavailable .gp-plot { opacity: .45; }
.gp-plot {
    --gp-dot-x: 0%; --gp-dot-y: 0%; --gp-center-size: 8%;
    position: relative; width: min(100%, 232px); aspect-ratio: 1; margin: 8px auto;
    border: 1px solid #496672; border-radius: 10px;
    background-image: linear-gradient(#aec9d21f 1px, transparent 1px), linear-gradient(90deg, #aec9d21f 1px, transparent 1px);
    background-color: #101f29; background-size: 12.5% 12.5%; background-position: center;
}
.gp-plot::before, .gp-plot::after { content: ""; position: absolute; inset: 10% 50%; width: 1px; background: #7695a674; }
.gp-plot::after { inset: 50% 10%; height: 1px; width: auto; }
.gp-plot-ring, .gp-center-ring { position: absolute; top: 50%; left: 50%; width: 82%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid #6b8b9eac; border-radius: 50%; }
.gp-center-ring { width: var(--gp-center-size); border-color: #8be6ca; border-style: dashed; background: #83e1c72a; }
.gp-plot canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.gp-plot-dot { position: absolute; z-index: 2; left: calc(50% + var(--gp-dot-x)); top: calc(50% + var(--gp-dot-y)); width: 11px; height: 11px; transform: translate(-50%, -50%); border: 1px solid #b0f8e5; border-radius: 50%; background: var(--gp-accent); box-shadow: 0 0 10px #83e1c774; }
.gp-page .gp-coordinates, .gp-directions { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 7px; color: var(--gp-muted); font-size: .74rem; font-variant-numeric: tabular-nums; }
.gp-coordinates strong { color: var(--gp-ink); }
.gp-directions { margin-top: 7px; }
.gp-directions > span { padding: 3px 5px; border: 1px solid #425a67; border-radius: 5px; background: #22343f; }
.gp-directions > span.is-seen { border-color: #81bcad; color: #ccf4e7; background: #294b46; }
.gp-drift { margin-top: 8px; }
.gp-drift .gp-note, .gp-raw-header .gp-note { margin-top: 5px; }
.gp-drift-controls, .gp-vibration-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 7px; margin: 8px 0; }
.gp-drift-controls { grid-template-columns: minmax(105px, 175px) auto; }
.gp-lab .gp-checkbox { display: flex; flex-wrap: wrap; align-items: center; min-height: 38px; gap: 7px; }
.gp-checkbox input { width: 16px; height: 16px; margin: 0; accent-color: var(--gp-accent); }
.gp-drift-progress { display: block; margin-top: 7px; }
.gp-drift-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.gp-drift-results > div { padding: 8px 9px; border: 1px solid #4d746d; border-radius: 8px; background: #213c3b; }
.gp-drift-results > div.is-review { border-color: #a18961; background: #3b3227; }
.gp-drift-results h4, .gp-raw-grid h4 { color: var(--gp-ink); font-size: .85rem; font-weight: 750; }
.gp-drift-results dl { display: grid; margin-top: 4px; gap: 3px; }
.gp-drift-results dl > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3px 6px; color: #d0dfdf; font-size: .75rem; }
.gp-drift-results dd { font-variant-numeric: tabular-nums; font-weight: 710; }

.gp-vibration-controls { max-width: 800px; }
.gp-page .gp-vibration-feedback { margin: 9px 0 6px; }
.gp-raw-grid { margin-top: 8px; }
.gp-raw-list, .gp-history ol { display: grid; gap: 4px; max-height: 285px; margin: 7px 0 0; padding: 0; overflow: auto; list-style: none; scrollbar-width: thin; }
.gp-raw-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 7px; min-height: 32px; padding: 4px 6px; border: 1px solid #3e5664; border-radius: 6px; background: #20333f; color: #d9e8ee; font-size: .75rem; }
.gp-raw-list li.is-seen { border-color: #5a847f; }
.gp-raw-list li.is-down { border-color: var(--gp-accent); background: #2b514d; }
.gp-raw-meter { position: relative; height: 5px; border-radius: 6px; background: #3b5261; }
.gp-raw-meter span { position: absolute; inset-block: 0; left: var(--gp-from, 0%); width: var(--gp-size, 0%); border-radius: inherit; background: var(--gp-accent); }
.gp-raw-meter.is-axis::after { content: ""; position: absolute; inset: 0 50%; width: 1px; background: #d4e5ea; }
.gp-raw-list strong { min-width: 3.8em; text-align: right; font-variant-numeric: tabular-nums; }
.gp-history { margin-top: 8px; padding: 9px 12px; }
.gp-history summary { cursor: pointer; color: #deebf1; font-size: .82rem; font-weight: 710; }
.gp-history summary span { margin-left: 6px; color: #b4d8d2; font-size: .72rem; }
.gp-history .gp-note { margin-top: 6px; }
.gp-history ol { max-height: 148px; }
.gp-history li { display: flex; justify-content: space-between; gap: 6px; padding: 3px; border-top: 1px solid #3a5460; color: #d6e6ea; font-size: .76rem; }
.gp-history time { color: var(--gp-muted); font-variant-numeric: tabular-nums; }
.gp-result-actions { margin-top: 9px; }
.gp-result { margin-top: 8px; scroll-margin-top: 125px; }
.gp-result[data-state="success"] { border-color: #558a78; background: #213d38; }
.gp-result[data-state="review"] { border-color: #987e59; background: #382f26; }
.gp-result h3 { font-size: .98rem; font-weight: 780; }
.gp-result p { margin-top: 6px; color: #e3ecec; font-size: .83rem; line-height: 1.5; }
.gp-result [data-gp-copy-status]:empty { margin: 0; }
.gp-result ul { display: flex; flex-wrap: wrap; gap: 5px; margin: 7px 0 0; padding: 0; list-style: none; }
.gp-result li { padding: 3px 6px; border: 1px solid #9b866c; border-radius: 5px; color: #f3e4ce; font-size: .73rem; }

.gp-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: clamp(22px, 4vw, 46px); scroll-margin-top: 16px; }
.gp-guide section, .gp-faq { padding: clamp(13px, 2.7vw, 24px); border: 1px solid var(--gp-line); border-radius: 13px; background: #15222b; }
.gp-guide h2, .gp-faq h2 { margin-bottom: 8px; font-size: clamp(1.15rem, 2.2vw, 1.6rem); letter-spacing: -.026em; font-weight: 770; }
.gp-guide ol { margin: 0; padding-left: 1.15rem; }
.gp-guide :is(li, p), .gp-faq p { color: var(--gp-muted); font-size: .86rem; line-height: 1.56; }
.gp-links { display: flex; flex-wrap: wrap; gap: 7px 12px; margin-top: 9px; }
.gp-faq { margin-top: 9px; }
.gp-faq details { padding: 8px 0; border-top: 1px solid var(--gp-line); }
.gp-faq summary { cursor: pointer; font-size: .87rem; font-weight: 710; }
.gp-faq p { margin-top: 5px; }
.gp-page summary::marker { color: var(--gp-accent); }

.gp-lab:is(:fullscreen, .is-expanded) {
    width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; overflow: auto; overscroll-behavior: contain;
    border: 0; border-radius: 0; background: radial-gradient(ellipse at 47% 0, #263d48, var(--gp-body) 69%);
}
.gp-lab:-webkit-full-screen { width: 100%; height: 100%; margin: 0; overflow: auto; border: 0; border-radius: 0; background: var(--gp-body); }
.gp-lab.is-expanded { position: fixed; z-index: 3000; inset: 0; height: 100vh; height: 100dvh; }
.gp-viewport-expanded { overflow: hidden; }
.gp-lab:is(:fullscreen, .is-expanded) .gp-toolbar { position: sticky; top: 0; }
.gp-lab:-webkit-full-screen .gp-toolbar { position: sticky; top: 0; }
.gp-lab:is(:fullscreen, .is-expanded) .gp-body { width: min(100%, 1500px); margin-inline: auto; }
.gp-lab:is(:fullscreen, .is-expanded) .gp-stage { --gp-stage-height: clamp(260px, calc(100dvh - 260px), 580px); }

@media (max-width: 760px) {
    .gp-page { width: calc(100% - 24px); }
    .gp-page .gp-crumb { margin-bottom: 12px; }
    .gp-intro { margin-bottom: 12px; }
    .gp-settings, .gp-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gp-live, .gp-guide { grid-template-columns: minmax(0, 1fr); }
    .gp-stage { --gp-stage-height: clamp(240px, 51vw, 330px); }
    .gp-lab:is(:fullscreen, .is-expanded) .gp-stage { --gp-stage-height: clamp(228px, 32dvh, 310px); }
    .gp-vibration-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
    .gp-stick-grid, .gp-raw-grid { grid-template-columns: minmax(0, 1fr); }
    .gp-plot { width: min(100%, 178px); }
    .gp-drift-results dl > div { flex-wrap: nowrap; }
}
@media (max-width: 360px) {
    .gp-toolbar { padding-inline: 9px; }
    .gp-actions .gp-button { padding-inline: 8px; }
    .gp-drift-results dl > div { flex-wrap: wrap; }
}
@media (max-height: 500px) and (min-width: 761px) {
    .gp-lab:is(:fullscreen, .is-expanded) .gp-stage { --gp-stage-height: 250px; }
}
@media (prefers-reduced-motion: reduce) { .gp-model { transition: none; } }
