:root {
    --cf-ink: #eefbf8;
    --cf-muted: rgba(229, 246, 242, 0.64);
    --cf-line: rgba(210, 247, 239, 0.18);
    --cf-panel: rgba(7, 24, 28, 0.86);
    --cf-panel-solid: #0a2024;
    --cf-accent: #72ead9;
    --cf-accent-strong: #31c9bb;
    --cf-warm: #f5a16d;
    --cf-danger: #ff806e;
    --cf-shadow: 0 24px 70px rgba(0, 11, 14, 0.4);
}

html:has(.cf-app),
body:has(.cf-app) {
    height: 100%;
    overflow: hidden;
    background: #061a20;
}

body:has(.cf-app) header.site-header,
body:has(.cf-app) footer,
body:has(.cf-app) .site-footer {
    display: none !important;
}

body:has(.cf-app) main,
body:has(.cf-app) .main-content,
body:has(.cf-app) .page-content {
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.cf-app,
.cf-app *,
.cf-app *::before,
.cf-app *::after {
    box-sizing: border-box;
}

.cf-app {
    position: fixed;
    inset: 0;
    z-index: 40;
    color: var(--cf-ink);
    overflow: hidden;
    background: #061a20;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    isolation: isolate;
}

.cf-app button,
.cf-app a {
    -webkit-tap-highlight-color: transparent;
}

.cf-app button {
    color: inherit;
    font: inherit;
}

.cf-app [hidden] {
    display: none !important;
}

.cf-shell,
.cf-stage,
.cf-scene-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.cf-stage {
    overflow: hidden;
    background: #0b7890;
}

.cf-scene-canvas {
    display: block;
    touch-action: none;
    cursor: grab;
}

.cf-scene-canvas:active {
    cursor: grabbing;
}

.cf-scene-failure {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: 15;
    width: min(480px, calc(100% - 32px));
    margin: 0;
    padding: 20px 24px;
    color: #ffe5df;
    background: rgba(53, 16, 13, 0.9);
    border: 1px solid rgba(255, 144, 119, 0.5);
    transform: translate(-50%, -50%);
    text-align: center;
}

.cf-scene-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    box-shadow: inset 0 -210px 150px rgba(2, 17, 19, 0.48), inset 0 120px 90px rgba(3, 14, 17, 0.32);
}

.cf-weather-fx {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 500ms ease;
}

.cf-stage[data-weather="rain"] .cf-weather-fx,
.cf-stage[data-weather="drizzle"] .cf-weather-fx,
.cf-stage[data-weather="storm"] .cf-weather-fx {
    opacity: 0.6;
}

.cf-weather-fx i {
    position: absolute;
    inset: -30%;
    background-image: repeating-linear-gradient(105deg, transparent 0 34px, rgba(224, 249, 255, 0.45) 35px 36px, transparent 37px 69px);
    transform: rotate(4deg);
    animation: cf-rain 0.8s linear infinite;
}

.cf-weather-fx i:last-child {
    animation-duration: 1.2s;
    animation-delay: -0.35s;
    opacity: 0.38;
}

.cf-topbar {
    position: absolute;
    inset: 18px 20px auto;
    z-index: 12;
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    min-height: 58px;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: rgba(5, 22, 25, 0.74);
    border: 1px solid var(--cf-line);
    box-shadow: 0 10px 30px rgba(0, 15, 18, 0.22);
    backdrop-filter: blur(18px) saturate(1.15);
}

.cf-back,
.cf-topbar-actions button {
    min-height: 40px;
    padding: 0 15px;
    color: var(--cf-muted);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: 160ms ease;
}

.cf-back {
    display: inline-flex;
    align-items: center;
    border-color: var(--cf-line);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.cf-back:hover,
.cf-back:focus-visible,
.cf-topbar-actions button:hover,
.cf-topbar-actions button:focus-visible {
    color: var(--cf-ink);
    background: rgba(137, 237, 221, 0.1);
    border-color: rgba(137, 237, 221, 0.3);
    outline: none;
}

.cf-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    padding: 0 10px;
}

.cf-brand-signal {
    position: relative;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(114, 234, 217, 0.5);
    border-radius: 50%;
}

.cf-brand-signal::before,
.cf-brand-signal::after,
.cf-brand-signal i {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--cf-accent);
    border-radius: 50%;
}

.cf-brand-signal::before { transform: translate(-6px, -4px); }
.cf-brand-signal::after { transform: translate(6px, -4px); }
.cf-brand-signal i { width: 10px; height: 8px; transform: translateY(5px); border-radius: 50% 50% 45% 45%; }

.cf-brand span:last-child {
    display: grid;
    gap: 1px;
}

.cf-brand strong {
    font-size: 13px;
    letter-spacing: 0.12em;
}

.cf-brand small {
    color: var(--cf-muted);
    font-size: 10px;
    letter-spacing: 0.12em;
}

.cf-topbar-status {
    display: flex;
    justify-self: center;
    align-items: center;
    gap: 1px;
}

.cf-topbar-status > span {
    display: grid;
    min-width: 82px;
    gap: 1px;
    padding: 3px 14px;
    border-left: 1px solid var(--cf-line);
}

.cf-topbar-status small {
    color: var(--cf-muted);
    font-size: 9px;
    letter-spacing: 0.13em;
}

.cf-topbar-status b {
    font-size: 12px;
    font-weight: 700;
}

.cf-topbar-actions {
    display: flex;
    gap: 2px;
}

.cf-topbar-actions button {
    padding-inline: 11px;
    font-size: 12px;
}

.cf-world-hud {
    position: absolute;
    inset: 102px auto auto 28px;
    z-index: 7;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    pointer-events: none;
}

.cf-location-card {
    max-width: 430px;
    padding: 16px 18px 17px;
    background: rgba(7, 28, 31, 0.66);
    border-left: 2px solid var(--cf-warm);
    backdrop-filter: blur(10px);
}

.cf-location-card > span,
.cf-panel-heading > span,
.cf-event-banner > span,
.cf-captain > span,
.cf-character-select > span,
.cf-menu-kicker,
.cf-dialog-code,
.cf-event-choice header > span {
    color: var(--cf-warm);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.cf-location-card h1 {
    margin: 4px 0 3px;
    font-size: clamp(27px, 3vw, 44px);
    font-weight: 770;
    letter-spacing: -0.045em;
    line-height: 1;
}

.cf-location-card p {
    margin: 0;
    color: var(--cf-muted);
    font-size: 12px;
}

.cf-readouts {
    display: flex;
    gap: 8px;
}

.cf-readouts p {
    display: grid;
    min-width: 94px;
    gap: 2px;
    margin: 0;
    padding: 11px 13px;
    background: rgba(7, 28, 31, 0.66);
    border: 1px solid var(--cf-line);
    backdrop-filter: blur(10px);
}

.cf-readouts span {
    color: var(--cf-muted);
    font-size: 9px;
    letter-spacing: 0.1em;
}

.cf-readouts strong {
    color: var(--cf-accent);
    font-size: 14px;
}

.cf-captain {
    position: absolute;
    top: 102px;
    right: 28px;
    z-index: 7;
    width: min(320px, 26vw);
    padding: 13px 15px;
    background: rgba(7, 28, 31, 0.68);
    border-right: 2px solid var(--cf-accent);
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.cf-captain p {
    display: grid;
    gap: 4px;
    margin: 5px 0 0;
}

.cf-captain strong {
    font-size: 12px;
    font-weight: 600;
}

.cf-captain small {
    color: var(--cf-muted);
    font-size: 10px;
}

.cf-spot-layer {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
}

.cf-spot-marker {
    position: absolute;
    left: var(--spot-x);
    top: var(--spot-y);
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 6px 10px 6px 7px;
    color: var(--cf-ink);
    background: rgba(4, 25, 27, 0.76);
    border: 1px solid rgba(108, 232, 216, 0.38);
    border-radius: 2px;
    box-shadow: 0 10px 28px rgba(0, 11, 13, 0.28);
    transform: translate(-50%, -50%);
    backdrop-filter: blur(8px);
    pointer-events: auto;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.cf-spot-marker > i {
    display: block;
    width: 24px;
    height: 24px;
    border: 2px solid var(--cf-accent);
    border-radius: 50%;
    box-shadow: inset 0 0 0 5px rgba(114, 234, 217, 0.13);
}

.cf-spot-marker span {
    display: grid;
    min-width: 60px;
    text-align: left;
}

.cf-spot-marker b {
    color: var(--cf-warm);
    font-size: 8px;
}

.cf-spot-marker strong {
    overflow: hidden;
    max-width: 110px;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cf-spot-marker[aria-pressed="true"] {
    background: rgba(18, 82, 79, 0.9);
    border-color: var(--cf-warm);
    transform: translate(-50%, -50%) scale(1.06);
}

.cf-spot-marker[aria-pressed="true"] > i {
    border-color: var(--cf-warm);
    box-shadow: inset 0 0 0 5px rgba(245, 161, 109, 0.2), 0 0 20px rgba(245, 161, 109, 0.35);
}

.cf-spot-marker:focus-visible {
    outline: 2px solid white;
    outline-offset: 3px;
}

.cf-console {
    position: absolute;
    inset: auto 20px 18px;
    z-index: 10;
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1.25fr) minmax(290px, 0.9fr);
    min-height: 136px;
    overflow: hidden;
    background: rgba(5, 23, 26, 0.8);
    border: 1px solid var(--cf-line);
    box-shadow: 0 20px 55px rgba(0, 9, 11, 0.34);
    backdrop-filter: blur(18px) saturate(1.2);
}

.cf-loadout,
.cf-technique,
.cf-cast-zone {
    min-width: 0;
    padding: 15px 18px;
}

.cf-loadout,
.cf-technique {
    border-right: 1px solid var(--cf-line);
}

.cf-expedition-meter {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2px 12px;
}

.cf-expedition-meter > span,
.cf-lure-fieldset legend,
.cf-technique-heading span {
    color: var(--cf-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.cf-expedition-meter > strong {
    font-size: 12px;
}

.cf-expedition-meter em {
    color: var(--cf-warm);
    font-size: 19px;
    font-style: normal;
}

.cf-energy-cells {
    grid-column: 1 / -1;
    display: flex;
    gap: 3px;
    margin-top: 6px;
}

.cf-energy-cell {
    width: 100%;
    height: 3px;
    background: rgba(214, 239, 235, 0.15);
}

.cf-energy-cell[data-active="true"] {
    background: var(--cf-warm);
    box-shadow: 0 0 8px rgba(245, 161, 109, 0.45);
}

.cf-lure-fieldset {
    min-width: 0;
    margin: 10px 0 0;
    padding: 0;
    border: 0;
}

.cf-lure-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-top: 5px;
}

.cf-lure-button {
    min-width: 0;
    min-height: 44px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--cf-line);
    border-radius: 2px;
    cursor: pointer;
}

.cf-lure-button strong,
.cf-lure-button small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cf-lure-button strong { font-size: 10px; }
.cf-lure-button small { margin-top: 2px; color: var(--cf-muted); font-size: 8px; }
.cf-lure-button[aria-pressed="true"] { color: #041a1c; background: var(--cf-accent); border-color: var(--cf-accent); }
.cf-lure-button[aria-pressed="true"] small { color: rgba(4, 26, 28, 0.66); }
.cf-lure-button:focus-visible { outline: 2px solid white; outline-offset: 2px; }

.cf-technique-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.cf-technique-heading strong {
    color: var(--cf-accent);
    font-size: 11px;
}

.cf-skill-meter {
    position: relative;
    height: 15px;
    margin-top: 12px;
    overflow: hidden;
    background: rgba(206, 239, 232, 0.12);
    border: 1px solid rgba(213, 246, 239, 0.12);
}

.cf-skill-meter::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(220, 244, 240, 0.1) calc(10% - 1px) 10%);
}

.cf-skill-target {
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 45%;
    width: 22%;
    background: rgba(90, 232, 197, 0.42);
}

.cf-skill-needle {
    position: absolute;
    top: -2px;
    bottom: -2px;
    left: 0;
    width: 3px;
    background: var(--cf-warm);
    box-shadow: 0 0 11px rgba(245, 161, 109, 0.8);
    transform: translateX(-1px);
}

.cf-technique > p {
    display: grid;
    gap: 3px;
    margin: 11px 0 0;
}

.cf-technique > p b {
    font-size: 12px;
}

.cf-technique > p span {
    overflow: hidden;
    color: var(--cf-muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cf-cast-zone {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 5px;
}

.cf-cast-button {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 10px 18px;
    color: #092325;
    background: var(--cf-warm);
    border: 0;
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34), 0 9px 28px rgba(242, 132, 80, 0.24);
    cursor: pointer;
    transition: transform 150ms ease, filter 150ms ease;
}

.cf-cast-button:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.cf-cast-button:active:not(:disabled) { transform: translateY(1px); }
.cf-cast-button:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.cf-cast-button:disabled { color: rgba(228, 242, 238, 0.44); background: rgba(212, 235, 230, 0.11); box-shadow: none; cursor: not-allowed; }

.cf-cast-key {
    padding: 7px 8px;
    border: 1px solid currentColor;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.cf-cast-button > span:last-child { display: grid; min-width: 0; gap: 2px; text-align: left; }
.cf-cast-button strong { font-size: 15px; }
.cf-cast-button small { font-size: 9px; opacity: 0.68; }

.cf-cast-zone > p {
    overflow: hidden;
    margin: 0;
    color: var(--cf-muted);
    font-size: 9px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cf-drawer {
    position: absolute;
    top: 92px;
    bottom: 172px;
    z-index: 20;
    display: flex;
    width: min(410px, calc(100vw - 40px));
    flex-direction: column;
    overflow: auto;
    padding: 20px;
    background: var(--cf-panel);
    border: 1px solid var(--cf-line);
    box-shadow: var(--cf-shadow);
    backdrop-filter: blur(22px);
    transition: transform 260ms cubic-bezier(0.2, 0.75, 0.2, 1), opacity 200ms ease;
}

.cf-water-panel { left: 20px; transform: translateX(calc(-100% - 28px)); }
.cf-log-panel { right: 20px; transform: translateX(calc(100% + 28px)); }
.cf-drawer[data-open="true"] { transform: translateX(0); }

.cf-panel-heading { position: relative; padding-right: 58px; }
.cf-panel-heading button {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 48px;
    min-height: 40px;
    color: var(--cf-muted);
    background: transparent;
    border: 1px solid var(--cf-line);
    cursor: pointer;
}
.cf-panel-heading h2 { margin: 7px 0 5px; font-size: 27px; letter-spacing: -0.04em; }
.cf-panel-heading p { margin: 0; color: var(--cf-muted); font-size: 11px; line-height: 1.6; }

.cf-water-list {
    display: grid;
    gap: 6px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.cf-water-button {
    display: grid;
    grid-template-columns: 38px 1fr 10px;
    width: 100%;
    min-height: 58px;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    color: var(--cf-ink);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--cf-line);
    text-align: left;
    cursor: pointer;
}

.cf-water-number { color: var(--cf-muted); font-size: 11px; font-weight: 800; }
.cf-water-copy { display: grid; gap: 2px; }
.cf-water-copy strong { font-size: 12px; }
.cf-water-copy small { color: var(--cf-muted); font-size: 9px; }
.cf-water-state { width: 6px; height: 6px; background: rgba(205, 234, 229, 0.25); border-radius: 50%; }
.cf-water-button[aria-current="true"] { background: rgba(91, 224, 207, 0.13); border-color: rgba(114, 234, 217, 0.5); }
.cf-water-button[aria-current="true"] .cf-water-number { color: var(--cf-warm); }
.cf-water-button[aria-current="true"] .cf-water-state { background: var(--cf-accent); box-shadow: 0 0 10px var(--cf-accent); }
.cf-water-button:disabled { opacity: 0.42; cursor: not-allowed; }
.cf-water-button:focus-visible { outline: 2px solid white; outline-offset: 2px; }

.cf-account-card {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--cf-line);
}
.cf-account-card > div:first-child { display: flex; justify-content: space-between; font-size: 11px; }
.cf-account-card strong { color: var(--cf-warm); }
.cf-progress { height: 4px; margin-top: 8px; overflow: hidden; background: rgba(255,255,255,.1); }
.cf-progress i { display: block; width: 0; height: 100%; background: var(--cf-accent); transition: width 400ms ease; }
.cf-account-card p { margin: 7px 0 0; color: var(--cf-muted); font-size: 9px; }

.cf-run-summary { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-top: 18px; padding: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--cf-line); }
.cf-run-summary > p { display: grid; gap: 4px; margin: 0; }
.cf-run-summary > p span, .cf-run-summary div span { color: var(--cf-muted); font-size: 9px; }
.cf-run-summary > p strong { color: var(--cf-warm); font-size: 30px; font-variant-numeric: tabular-nums; }
.cf-run-summary > div { display: flex; gap: 18px; }
.cf-run-summary > div p { display: grid; gap: 4px; margin: 0; text-align: right; }

.cf-log > ol,
.cf-voyage-timeline { margin: 12px 0 0; padding: 0; list-style: none; }
.cf-log-item { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--cf-line); }
.cf-log-number { color: var(--cf-accent); font-size: 9px; }
.cf-log-copy { display: grid; gap: 2px; }
.cf-log-copy strong { font-size: 11px; }
.cf-log-copy small { color: var(--cf-muted); font-size: 8px; }
.cf-log-score { display: grid; gap: 2px; text-align: right; }
.cf-log-score b { color: var(--cf-warm); font-size: 10px; }
.cf-log-score span { color: var(--cf-muted); font-size: 8px; }
.cf-log-empty { padding: 16px 0; color: var(--cf-muted); font-size: 10px; }
.cf-log-empty p { margin: 0; }

.cf-voyage-note { margin-top: 18px; padding: 14px; border: 1px solid var(--cf-line); }
.cf-voyage-note header { display: flex; justify-content: space-between; gap: 12px; }
.cf-voyage-note h3 { margin: 0; font-size: 14px; }
.cf-voyage-note header small { color: var(--cf-muted); font-size: 8px; }
.cf-voyage-note > p { margin: 8px 0 0; color: var(--cf-muted); font-size: 10px; line-height: 1.55; }
.cf-voyage-timeline li { display: grid; grid-template-columns: 25px 1fr; gap: 8px; padding-top: 7px; font-size: 9px; }
.cf-voyage-timeline li span { color: var(--cf-warm); }
.cf-voyage-timeline li p { margin: 0; }
.cf-total-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 14px; }
.cf-total-summary div { display: grid; gap: 4px; padding: 9px; background: rgba(255,255,255,.04); }
.cf-total-summary span { color: var(--cf-muted); font-size: 8px; }
.cf-total-summary strong { font-size: 12px; }

.cf-event-banner {
    position: absolute;
    top: 200px;
    left: 28px;
    z-index: 8;
    width: 310px;
    padding: 12px 15px;
    background: rgba(52, 29, 20, 0.84);
    border: 1px solid rgba(245, 161, 109, 0.42);
    backdrop-filter: blur(10px);
}
.cf-event-banner strong { display: block; margin-top: 3px; font-size: 13px; }
.cf-event-banner p { margin: 4px 0 0; color: var(--cf-muted); font-size: 9px; }

.cf-event-choice {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 22;
    width: min(590px, calc(100% - 36px));
    padding: 22px;
    background: var(--cf-panel);
    border: 1px solid rgba(245, 161, 109, 0.42);
    box-shadow: var(--cf-shadow);
    transform: translate(-50%, -52%);
    backdrop-filter: blur(22px);
}
.cf-event-choice h2 { margin: 5px 0; font-size: 24px; }
.cf-event-choice header p { margin: 0; color: var(--cf-muted); font-size: 11px; }
.cf-event-choice-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.cf-event-choice-button { min-height: 112px; padding: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--cf-line); text-align: left; cursor: pointer; }
.cf-event-choice-button strong, .cf-event-choice-button small, .cf-event-choice-button em { display: block; }
.cf-event-choice-button strong { font-size: 13px; }
.cf-event-choice-button small { margin-top: 5px; color: var(--cf-muted); font-size: 9px; line-height: 1.5; }
.cf-event-choice-button em { margin-top: 9px; color: var(--cf-accent); font-size: 9px; font-style: normal; }
.cf-event-choice-button[aria-pressed="true"] { background: rgba(114,234,217,.14); border-color: var(--cf-accent); }

.cf-main-menu {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(380px, 0.8fr);
    align-items: end;
    gap: 8vw;
    padding: clamp(100px, 13vh, 150px) clamp(34px, 6vw, 100px) clamp(44px, 8vh, 82px);
    background: rgba(2, 16, 18, 0.28);
    box-shadow: inset 0 -55vh 30vh rgba(2, 16, 18, 0.62);
    backdrop-filter: saturate(0.92);
}

.cf-app:has(.cf-main-menu:not([hidden])) .cf-topbar,
.cf-app:has(.cf-main-menu:not([hidden])) .cf-world-hud,
.cf-app:has(.cf-main-menu:not([hidden])) .cf-captain,
.cf-app:has(.cf-main-menu:not([hidden])) .cf-spot-layer,
.cf-app:has(.cf-main-menu:not([hidden])) .cf-event-banner,
.cf-app:has(.cf-main-menu:not([hidden])) .cf-event-choice,
.cf-app:has(.cf-main-menu:not([hidden])) .cf-console {
    visibility: hidden;
}

.cf-menu-copy { max-width: 720px; }
.cf-menu-copy h1 { margin: 12px 0 16px; font-size: clamp(45px, 6vw, 88px); font-weight: 760; letter-spacing: -0.065em; line-height: 0.96; text-wrap: balance; }
.cf-menu-copy > p { max-width: 570px; margin: 0; color: rgba(238,251,248,.74); font-size: 14px; line-height: 1.8; }
.cf-menu-copy dl { display: flex; gap: 34px; margin: 28px 0 0; }
.cf-menu-copy dl div { display: grid; gap: 2px; }
.cf-menu-copy dt { color: var(--cf-muted); font-size: 9px; letter-spacing: .12em; }
.cf-menu-copy dd { margin: 0; color: var(--cf-warm); font-size: 26px; font-weight: 760; }

.cf-character-select { align-self: end; width: 100%; max-width: 470px; justify-self: end; padding: 24px; background: rgba(5, 24, 27, 0.82); border: 1px solid var(--cf-line); box-shadow: var(--cf-shadow); backdrop-filter: blur(20px); }
.cf-character-select h2 { margin: 4px 0 13px; font-size: 23px; letter-spacing: -0.04em; }
.cf-coat-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.cf-coat-list button { min-width: 0; min-height: 114px; padding: 10px; background: rgba(255,255,255,.035); border: 1px solid var(--cf-line); cursor: pointer; }
.cf-coat-list i { position: relative; display: block; width: 50px; height: 50px; margin: 0 auto 8px; overflow: hidden; background: #f1e5d2; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.cf-coat-list i::before, .cf-coat-list i::after { content: ""; position: absolute; width: 28px; height: 36px; border-radius: 50%; }
.cf-coat-list i::before { top: -6px; left: -4px; background: #e28547; transform: rotate(24deg); }
.cf-coat-list i::after { right: -4px; bottom: -8px; background: #343940; transform: rotate(-20deg); }
.cf-coat-list i[data-coat-preview="orange"] { background: #e8944f; }
.cf-coat-list i[data-coat-preview="orange"]::before { background: #ffc36d; }
.cf-coat-list i[data-coat-preview="orange"]::after { background: #b65c2f; }
.cf-coat-list i[data-coat-preview="tuxedo"] { background: #252b32; }
.cf-coat-list i[data-coat-preview="tuxedo"]::before { background: #f5f1e8; }
.cf-coat-list i[data-coat-preview="tuxedo"]::after { background: #59616a; }
.cf-coat-list button span { display: grid; gap: 1px; }
.cf-coat-list button strong { font-size: 11px; }
.cf-coat-list button small { color: var(--cf-muted); font-size: 8px; }
.cf-coat-list button[aria-pressed="true"] { background: rgba(114,234,217,.13); border-color: var(--cf-accent); box-shadow: inset 0 -2px var(--cf-accent); }
.cf-coat-list button:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.cf-menu-actions { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-top: 14px; }
.cf-start-button, .cf-menu-help { min-height: 52px; padding: 0 17px; border-radius: 2px; cursor: pointer; }
.cf-start-button { color: #082325; background: var(--cf-warm); border: 0; font-weight: 800; }
.cf-start-button:disabled { opacity: .4; cursor: wait; }
.cf-menu-help { color: var(--cf-ink); background: transparent; border: 1px solid var(--cf-line); }
.cf-character-select > small { display: block; margin-top: 9px; color: var(--cf-muted); font-size: 9px; }

.cf-loading {
    position: absolute;
    inset: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: auto minmax(180px, 360px) auto;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background: #071c20;
    transition: opacity 560ms ease, visibility 560ms ease;
}
.cf-loading[data-ready="true"] { visibility: hidden; opacity: 0; pointer-events: none; }
.cf-loading-mark { position: relative; width: 58px; height: 58px; border: 1px solid rgba(114,234,217,.25); border-radius: 50%; }
.cf-loading-mark::before, .cf-loading-mark::after, .cf-loading-mark i { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(114,234,217,.35); border-radius: 50%; animation: cf-sonar 1.8s ease-out infinite; }
.cf-loading-mark::after { inset: 17px; animation-delay: -.55s; }
.cf-loading-mark i:first-child { inset: 25px; background: var(--cf-accent); border: 0; animation: none; }
.cf-loading-mark i:last-child { inset: -1px; border-top-color: var(--cf-warm); animation: cf-spin 1.3s linear infinite; }
.cf-loading-mark span { position: absolute; inset: 50% auto auto 50%; width: 1px; height: 26px; background: var(--cf-accent); transform-origin: 0 0; animation: cf-sweep 1.7s linear infinite; }
.cf-loading-copy { display: grid; gap: 4px; }
.cf-loading-copy span { color: var(--cf-muted); font-size: 8px; letter-spacing: .16em; }
.cf-loading-copy strong { font-size: 14px; }
.cf-loading-progress { grid-column: 2; height: 3px; overflow: hidden; background: rgba(255,255,255,.1); }
.cf-loading-progress i { display: block; width: 0; height: 100%; background: var(--cf-accent); box-shadow: 0 0 12px var(--cf-accent); transition: width 180ms ease; }
.cf-loading > b { grid-row: 1; grid-column: 3; color: var(--cf-warm); font-size: 12px; font-variant-numeric: tabular-nums; }

.cf-transition { position: absolute; inset: 0; z-index: 25; display: grid; place-content: center; justify-items: center; background: rgba(3,20,23,.72); backdrop-filter: blur(10px); }
.cf-transition span { color: var(--cf-warm); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.cf-transition strong { margin-top: 6px; font-size: 22px; }
.cf-transition i { width: 220px; height: 2px; margin-top: 14px; overflow: hidden; background: rgba(255,255,255,.12); }
.cf-transition i::after { content: ""; display: block; width: 42%; height: 100%; background: var(--cf-accent); animation: cf-route 1s ease-in-out infinite alternate; }

.cf-toast { position: absolute; top: 96px; left: 50%; z-index: 80; width: min(440px, calc(100% - 32px)); padding: 12px 15px; background: rgba(7,28,31,.94); border: 1px solid var(--cf-line); box-shadow: var(--cf-shadow); transform: translateX(-50%); text-align: center; }
.cf-toast span { font-size: 11px; }
.cf-toast[data-kind="error"] { border-color: rgba(255,128,110,.55); color: #ffe3dd; }

.cf-dialog-backdrop { position: absolute; inset: 0; z-index: 70; display: grid; overflow: auto; place-items: center; padding: 24px; background: rgba(2,13,15,.72); backdrop-filter: blur(14px); }
.cf-dialog { position: relative; width: min(670px, 100%); max-height: min(760px, calc(100dvh - 48px)); overflow: auto; padding: 30px; color: var(--cf-ink); background: var(--cf-panel-solid); border: 1px solid var(--cf-line); box-shadow: var(--cf-shadow); }
.cf-dialog:focus { outline: none; }
.cf-dialog-close { position: absolute; top: 18px; right: 18px; z-index: 2; min-width: 48px; min-height: 44px; color: var(--cf-muted); background: transparent; border: 1px solid var(--cf-line); cursor: pointer; }
.cf-dialog-close:focus-visible { outline: 2px solid var(--cf-accent); outline-offset: 2px; }
.cf-dialog h2 { margin: 7px 0 18px; font-size: 30px; letter-spacing: -0.045em; }
.cf-rules-dialog { width: min(920px, 100%); }
.cf-rules-heading { padding-right: 88px; }
.cf-rules-heading h2 { margin-bottom: 6px; }
.cf-rules-heading > p { margin: 0 0 20px; color: var(--cf-muted); font-size: 11px; line-height: 1.6; }
.cf-rules-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.cf-rules-steps > li { display: grid; grid-template-columns: minmax(142px, .82fr) minmax(0, 1fr); min-height: 158px; overflow: hidden; background: rgba(255,255,255,.035); border: 1px solid var(--cf-line); }
.cf-guide-visual { position: relative; min-width: 0; min-height: 156px; overflow: hidden; background: linear-gradient(145deg, rgba(114,234,217,.11), rgba(1,14,18,.44)); border-right: 1px solid var(--cf-line); }
.cf-guide-copy { align-self: center; min-width: 0; padding: 17px 16px; }
.cf-guide-copy > span { display: block; margin-bottom: 8px; color: var(--cf-warm); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.cf-guide-copy strong { display: block; font-size: 14px; line-height: 1.35; }
.cf-guide-copy p { margin: 7px 0 0; color: var(--cf-muted); font-size: 11px; line-height: 1.65; }
.cf-guide-spots { background: radial-gradient(circle at 52% 44%, rgba(114,234,217,.19), transparent 32%), linear-gradient(164deg, #183c46 0 47%, #0a6875 48%, #073b47 100%); }
.cf-guide-spots::before, .cf-guide-spots::after { content: ""; position: absolute; left: -10%; width: 120%; height: 26px; border: 1px solid rgba(185,246,236,.16); border-width: 1px 0 0; border-radius: 50%; }
.cf-guide-spots::before { top: 54%; transform: rotate(-3deg); }
.cf-guide-spots::after { top: 71%; transform: rotate(2deg); }
.cf-guide-waterline { position: absolute; inset: 47% 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(207,255,247,.52), transparent); box-shadow: 0 12px 0 rgba(207,255,247,.1), 0 29px 0 rgba(207,255,247,.08); }
.cf-guide-spots > i { position: absolute; width: 12px; height: 12px; background: var(--cf-accent); border: 2px solid #dffff9; border-radius: 50%; box-shadow: 0 0 0 6px rgba(114,234,217,.12), 0 0 18px rgba(114,234,217,.65); }
.cf-guide-spots > i::after { content: ""; position: absolute; top: 10px; left: 3px; width: 2px; height: 18px; background: linear-gradient(var(--cf-accent), transparent); }
.cf-guide-spots > i[data-spot="near"] { top: 68%; left: 20%; }
.cf-guide-spots > i[data-spot="middle"] { top: 48%; left: 49%; background: var(--cf-warm); border-color: #ffe5d1; box-shadow: 0 0 0 7px rgba(245,161,109,.17), 0 0 20px rgba(245,161,109,.7); }
.cf-guide-spots > i[data-spot="far"] { top: 62%; right: 18%; }
.cf-guide-spots > b { position: absolute; top: 15px; left: 15px; color: rgba(238,251,248,.82); font-size: 8px; letter-spacing: .08em; }
.cf-guide-meter { display: grid; align-content: center; gap: 10px; padding: 18px 16px; }
.cf-guide-meter > span, .cf-guide-meter > small { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--cf-muted); font-size: 8px; }
.cf-guide-meter > span b { color: var(--cf-ink); font-size: 10px; }
.cf-guide-meter > div { position: relative; height: 20px; overflow: hidden; background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 9%, rgba(255,255,255,.1) 9% 10%); border: 1px solid var(--cf-line); }
.cf-guide-meter > div i { position: absolute; inset: 0 auto 0 58%; width: 22%; background: rgba(245,161,109,.65); box-shadow: 0 0 14px rgba(245,161,109,.22); }
.cf-guide-meter > div em { position: absolute; top: -4px; left: 71%; width: 2px; height: 27px; background: #fff; box-shadow: 0 0 8px #fff; transform: rotate(3deg); }
.cf-guide-meter kbd { padding: 3px 6px; color: var(--cf-ink); background: rgba(255,255,255,.07); border: 1px solid var(--cf-line); border-radius: 2px; font: 700 7px/1 ui-monospace, monospace; letter-spacing: .05em; }
.cf-guide-reel { background: linear-gradient(145deg, rgba(114,234,217,.14), rgba(1,14,18,.44)); }
.cf-guide-reel > div i { left: 31%; width: 38%; background: rgba(114,234,217,.65); box-shadow: 0 0 14px rgba(114,234,217,.25); }
.cf-guide-reel > div em { left: 53%; }
.cf-guide-reel > span b { color: var(--cf-accent); }
.cf-guide-reel > small { justify-content: flex-start; }
.cf-guide-reel > small i { width: 6px; height: 6px; background: var(--cf-accent); border-radius: 50%; box-shadow: 0 0 8px var(--cf-accent); }
.cf-guide-event { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 7px; padding: 18px 14px; }
.cf-guide-event > span { grid-column: 1 / -1; margin-bottom: 3px; color: var(--cf-warm); font-size: 8px; font-weight: 800; letter-spacing: .09em; }
.cf-guide-event > div { min-width: 0; padding: 10px 8px; background: rgba(255,255,255,.04); border: 1px solid var(--cf-line); }
.cf-guide-event > div:first-of-type { border-color: rgba(114,234,217,.55); background: rgba(114,234,217,.1); }
.cf-guide-event i { display: grid; width: 20px; height: 20px; margin-bottom: 7px; place-items: center; color: #082325; background: var(--cf-accent); border-radius: 50%; font-size: 8px; font-style: normal; font-weight: 900; }
.cf-guide-event div:last-child i { color: var(--cf-ink); background: rgba(255,255,255,.12); }
.cf-guide-event b { display: block; overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.cf-rules-note { display: grid; grid-template-columns: 36px 1fr; gap: 11px; align-items: center; margin-top: 12px; padding: 11px 13px; color: var(--cf-muted); background: rgba(114,234,217,.055); border: 1px solid rgba(114,234,217,.17); }
.cf-rules-note > span { display: grid; width: 34px; height: 34px; place-items: center; color: var(--cf-accent); border: 1px solid rgba(114,234,217,.32); border-radius: 50%; font-size: 18px; }
.cf-rules-note p { margin: 0; font-size: 9px; line-height: 1.55; }
.cf-rules-note strong { display: block; margin-bottom: 2px; color: var(--cf-ink); font-size: 10px; }
.cf-catalog-dialog { width: min(1020px, 100%); }
.cf-catalog-dialog > header { position: relative; }
.cf-catalog-tabs { display: flex; gap: 5px; overflow-x: auto; margin-bottom: 14px; padding-bottom: 5px; }
.cf-catalog-tab { min-width: max-content; min-height: 42px; padding: 0 13px; color: var(--cf-muted); background: transparent; border: 1px solid var(--cf-line); cursor: pointer; }
.cf-catalog-tab[aria-selected="true"] { color: #062326; background: var(--cf-accent); }
.cf-fish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cf-fish-card { min-height: 155px; padding: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--cf-line); }
.cf-fish-card > span { color: var(--cf-warm); font-size: 8px; }
.cf-fish-card h3 { margin: 5px 0; font-size: 15px; }
.cf-fish-card p { margin: 0; color: var(--cf-muted); font-size: 9px; line-height: 1.5; }
.cf-fish-card footer { display: flex; justify-content: space-between; gap: 8px; margin-top: 15px; padding-top: 8px; border-top: 1px solid var(--cf-line); font-size: 8px; }
.cf-fish-card footer span { color: var(--cf-muted); }
.cf-fish-card[data-caught="false"] { opacity: .42; filter: saturate(.1); }
.cf-result-dialog { width: min(560px, 100%); text-align: center; }
.cf-result-signal { position: relative; width: 86px; height: 86px; margin: 14px auto; border: 1px solid rgba(114,234,217,.3); border-radius: 50%; }
.cf-result-signal::before, .cf-result-signal::after, .cf-result-signal i { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(114,234,217,.28); border-radius: 50%; animation: cf-sonar 1.8s ease-out infinite; }
.cf-result-signal::after { inset: 27px; animation-delay: -.5s; }
.cf-result-signal i { inset: 39px; background: var(--cf-warm); border: 0; animation: none; }
.cf-result-dialog h2 { margin-bottom: 8px; }
.cf-result-dialog > p { color: var(--cf-muted); font-size: 11px; line-height: 1.65; }
.cf-result-event, .cf-result-journal, .cf-result-unlock { margin-top: 12px; padding: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--cf-line); text-align: left; }
.cf-result-event span, .cf-result-journal span { color: var(--cf-warm); font-size: 8px; }
.cf-result-event strong { display: block; margin-top: 3px; font-size: 11px; }
.cf-result-event p, .cf-result-journal p { margin: 4px 0 0; color: var(--cf-muted); font-size: 9px; }
.cf-result-commentary { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; margin: 12px 0 0; padding: 12px; text-align: left; border: 1px solid var(--cf-line); }
.cf-result-commentary span { color: var(--cf-accent); font-size: 9px; font-weight: 800; }
.cf-result-commentary p { margin: 0; font-size: 10px; }
.cf-result-dialog .cf-start-button { width: 100%; margin-top: 16px; }

@keyframes cf-rain { to { transform: translate3d(-40px, 90px, 0) rotate(4deg); } }
@keyframes cf-sonar { 0% { transform: scale(.45); opacity: 0; } 35% { opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes cf-spin { to { transform: rotate(360deg); } }
@keyframes cf-sweep { to { transform: rotate(360deg); } }
@keyframes cf-route { from { transform: translateX(0); } to { transform: translateX(138px); } }

@media (max-width: 1040px) {
    .cf-topbar { grid-template-columns: auto 1fr auto; }
    .cf-brand { display: none; }
    .cf-topbar-status { justify-self: start; }
    .cf-console { grid-template-columns: minmax(220px,.8fr) minmax(250px,1fr) minmax(260px,.85fr); }
    .cf-menu-copy h1 { font-size: clamp(44px, 6.5vw, 70px); }
    .cf-main-menu { gap: 4vw; padding-inline: 42px; }
}

@media (max-width: 820px) {
    .cf-topbar { inset: 8px 8px auto; grid-template-columns: auto 1fr auto; min-height: 52px; gap: 4px; padding: 5px; }
    .cf-back { min-height: 42px; padding: 0 10px; font-size: 10px; }
    .cf-topbar-status { justify-self: center; }
    .cf-topbar-status > span { min-width: 64px; padding: 2px 8px; }
    .cf-topbar-status > span:first-child { display: none; }
    .cf-topbar-status small { font-size: 7px; }
    .cf-topbar-status b { font-size: 10px; }
    .cf-topbar-actions button { display: none; min-width: 44px; min-height: 42px; padding: 0 9px; font-size: 10px; }
    .cf-topbar-actions button[data-cf-panel="waters"], .cf-topbar-actions button[data-cf-panel="log"] { display: inline-block; }
    .cf-world-hud { inset: 72px 10px auto; display: block; }
    .cf-location-card { width: fit-content; max-width: min(88vw, 360px); padding: 10px 12px; }
    .cf-location-card h1 { margin-top: 3px; font-size: 25px; }
    .cf-location-card p { display: none; }
    .cf-readouts { display: none; }
    .cf-captain { display: none; }
    .cf-event-banner { top: 144px; left: 10px; width: min(310px, calc(100% - 20px)); }
    .cf-spot-marker { padding-right: 7px; }
    .cf-spot-marker span { min-width: 0; }
    .cf-spot-marker strong { max-width: 74px; font-size: 9px; }
    .cf-console { inset: auto 8px 8px; grid-template-columns: 1fr auto; min-height: 210px; }
    .cf-loadout { grid-column: 1 / -1; display: grid; grid-template-columns: 116px 1fr; align-items: end; gap: 10px; padding: 10px 11px 7px; border-right: 0; border-bottom: 1px solid var(--cf-line); }
    .cf-lure-fieldset { margin: 0; }
    .cf-lure-button { min-height: 42px; padding: 4px 5px; }
    .cf-lure-button small { display: none; }
    .cf-technique { padding: 10px 11px; border-right: 1px solid var(--cf-line); }
    .cf-cast-zone { width: 148px; padding: 9px; }
    .cf-cast-button { min-height: 82px; gap: 7px; padding: 8px; }
    .cf-cast-key { display: none; }
    .cf-cast-button strong { font-size: 12px; }
    .cf-cast-button small { font-size: 8px; }
    .cf-technique > p span { max-width: calc(100vw - 200px); }
    .cf-drawer { inset: 68px 8px 8px; width: auto; padding: 17px; }
    .cf-water-panel { transform: translateX(calc(-100% - 16px)); }
    .cf-log-panel { transform: translateX(calc(100% + 16px)); }
    .cf-drawer[data-open="true"] { transform: translateX(0); }
    .cf-event-choice { top: auto; bottom: 8px; transform: translateX(-50%); padding: 16px; }
    .cf-event-choice h2 { font-size: 20px; }
    .cf-main-menu { grid-template-columns: 1fr; align-content: end; align-items: end; gap: 20px; overflow: auto; padding: 76px 16px max(16px, env(safe-area-inset-bottom)); box-shadow: inset 0 -70vh 40vh rgba(2,16,18,.72); }
    .cf-menu-copy h1 { margin: 7px 0 9px; font-size: clamp(37px, 11.5vw, 58px); line-height: 1; }
    .cf-menu-copy > p { display: none; }
    .cf-menu-copy dl { gap: 24px; margin-top: 14px; }
    .cf-menu-copy dd { font-size: 19px; }
    .cf-character-select { max-width: none; padding: 15px; }
    .cf-character-select h2 { margin-bottom: 9px; font-size: 18px; }
    .cf-coat-list button { min-height: 83px; padding: 7px; }
    .cf-coat-list i { width: 35px; height: 35px; margin-bottom: 5px; }
    .cf-menu-actions { margin-top: 9px; }
    .cf-start-button, .cf-menu-help { min-height: 48px; }
    .cf-character-select > small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .cf-dialog-backdrop { padding: 10px; align-items: end; }
    .cf-dialog { max-height: calc(100dvh - 20px); padding: 22px 18px; }
    .cf-dialog h2 { font-size: 25px; }
    .cf-rules-steps { grid-template-columns: 1fr; }
    .cf-rules-steps > li { grid-template-columns: 180px minmax(0, 1fr); }
    .cf-fish-grid { grid-template-columns: repeat(2, 1fr); }
    .cf-loading { grid-template-columns: auto minmax(160px, 250px) auto; gap: 10px; padding: 20px; }
    .cf-loading-mark { width: 48px; height: 48px; }
}

@media (max-width: 430px) {
    .cf-topbar-status > span:nth-child(2) { display: none; }
    .cf-topbar-actions button[data-cf-panel="log"] { display: none; }
    .cf-spot-marker:nth-child(1) { left: max(22%, 76px) !important; top: 43% !important; }
    .cf-spot-marker:nth-child(2) { left: 51% !important; top: 34% !important; }
    .cf-spot-marker:nth-child(3) { left: min(78%, calc(100% - 76px)) !important; top: 46% !important; }
    .cf-console { min-height: 218px; }
    .cf-technique > p span { display: none; }
    .cf-menu-copy h1 { font-size: clamp(35px, 11vw, 48px); }
    .cf-character-select > span, .cf-character-select h2 { display: none; }
    .cf-coat-list button strong { font-size: 10px; }
    .cf-coat-list button small { display: none; }
    .cf-event-choice-list { grid-template-columns: 1fr; }
    .cf-event-choice-button { min-height: 90px; }
    .cf-rules-heading { padding-right: 64px; }
    .cf-rules-heading > p { margin-bottom: 14px; font-size: 10px; }
    .cf-rules-steps > li { grid-template-columns: 116px minmax(0, 1fr); min-height: 140px; }
    .cf-guide-visual { min-height: 138px; }
    .cf-guide-copy { padding: 13px 12px; }
    .cf-guide-copy > span { margin-bottom: 6px; }
    .cf-guide-copy strong { font-size: 13px; }
    .cf-guide-copy p { margin-top: 5px; font-size: 10px; line-height: 1.55; }
    .cf-guide-meter { padding-inline: 10px; }
    .cf-guide-meter > span, .cf-guide-meter > small { font-size: 7px; }
    .cf-guide-event { padding-inline: 9px; }
    .cf-guide-event > div { padding-inline: 6px; }
    .cf-rules-note { grid-template-columns: 30px 1fr; }
    .cf-rules-note > span { width: 30px; height: 30px; }
    .cf-loading { grid-template-columns: auto 1fr auto; }
    .cf-loading-mark { width: 42px; height: 42px; }
    .cf-loading-copy strong { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .cf-app *,
    .cf-app *::before,
    .cf-app *::after {
        scroll-behavior: auto !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }
}
