.tool-menu.play-tabs {
    grid-template-columns: 1fr 1fr;
}

@media (min-width: 520px) {
    .tool-menu.play-tabs { grid-template-columns: repeat(4, 1fr); }
}

.tool-menu.play-tabs button {
    padding: 10px 6px;
    font-size: 0.8rem;
}

.setup-more-toggle {
    grid-column: 1 / -1;
    margin-top: 4px;
}

body:not(.setup-more-open) .setup-more {
    display: none !important;
}

.tos-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    font-size: 0.8rem;
    color: var(--ink-soft);
    line-height: 1.45;
}

.tos-row input { margin-top: 3px; accent-color: var(--teal); }

.holiday-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 0 12px;
}

.holiday-strip .stat { margin: 0; }

.welcome-q {
    margin: 16px 0 10px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    line-height: 1.4;
}

.welcome-step {
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 8px;
}

.choice-btn {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    background: rgba(247, 243, 236, 0.75);
    font: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.choice-btn:hover,
.choice-btn.is-on {
    border-color: var(--teal);
    background: rgba(31, 107, 92, 0.08);
    color: var(--teal);
}

.welcome-result h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 8px 0 6px;
}

.welcome-result .code {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(232, 184, 74, 0.2);
    color: var(--gold-deep);
    font-size: 0.78rem;
    font-weight: 700;
}

.fish-value {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(31, 107, 92, 0.08);
    border: 1px solid var(--line);
    margin-bottom: 14px;
}

.fish-value .k { font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.fish-value .v {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 4px 0;
}
.fish-value .u { font-size: 0.78rem; color: var(--muted); line-height: 1.4; }

.fish-list { list-style: none; display: grid; gap: 8px; margin: 12px 0 18px; }

.fish-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: rgba(247, 243, 236, 0.65);
    cursor: pointer;
}

.fish-item.is-on {
    border-color: var(--teal);
    background: rgba(31, 107, 92, 0.08);
}

.fish-item input { accent-color: var(--teal); }

.mix-row { margin: 8px 0 12px; }
.mix-row .lab {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 4px;
}
.mix-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(26, 22, 18, 0.08);
    overflow: hidden;
}
.mix-bar > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--teal));
}

.play-card {
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(247, 243, 236, 0.55);
}

.play-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 6px;
}

.play-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.45; }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(232, 184, 74, 0.18);
    color: var(--gold-deep);
    font-size: 0.72rem;
    font-weight: 700;
}

.career-grid { display: grid; gap: 8px; margin-top: 10px; }
.career-btn {
    appearance: none;
    border: 1.5px solid var(--line);
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    text-align: left;
    font: inherit;
    cursor: pointer;
}
.career-btn strong { display: block; font-size: 0.9rem; }
.career-btn span { font-size: 0.75rem; color: var(--muted); }
.career-btn.is-on { border-color: var(--teal); background: rgba(31, 107, 92, 0.08); }
.career-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.studio {
    position: relative;
    margin: 10px 0 12px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #2a2018;
    background: #1a1410;
    aspect-ratio: 16 / 9;
}

.studio-map {
    display: block;
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.boss-sprite {
    cursor: pointer;
    transition: transform 0.55s steps(8);
    transform-origin: 16px 28px;
    transform-box: fill-box;
}
.boss-sprite .fish-frame { display: none; }
.studio.pose-desk .boss-sprite .fish-sit { display: inline; }
.studio.pose-table .boss-sprite .fish-stand { display: inline; }
.studio.pose-bed .boss-sprite .fish-lie { display: inline; }
.boss-sprite .fin-dorsal,
.boss-sprite .fin-tail {
    transform-box: fill-box;
    transform-origin: 12px 20px;
}
.studio.pose-desk .boss-sprite { transform: translate(238px, 132px); }
.studio.pose-table .boss-sprite { transform: translate(148px, 176px); }
.studio.pose-bed .boss-sprite { transform: translate(358px, 118px); }

.studio.is-work:not(.is-sneak) .monitor-screen {
    animation: screen-flicker 0.55s steps(2) infinite;
}
.studio.is-work:not(.is-sneak) .fin-tail,
.studio.is-work:not(.is-sneak) .fin-dorsal {
    animation: claw-type 0.28s steps(2) infinite;
}
.studio.is-work:not(.is-sneak) .desk-lamp { opacity: 1; }
.studio:not(.is-work) .desk-lamp,
.studio.is-sneak .desk-lamp { opacity: 0.18; }
.studio.is-work:not(.is-sneak) .bed-lamp { opacity: 0.18; }
.studio:not(.is-work) .bed-lamp,
.studio.is-sneak .bed-lamp { opacity: 0.9; }

.studio.is-sneak { cursor: pointer; }
.studio.is-smack {
    animation: studio-smack 0.38s steps(4);
}

.boss-hit {
    position: absolute;
    width: 18%;
    height: 22%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    z-index: 3;
}
.studio.pose-desk .boss-hit { left: 46%; top: 42%; width: 22%; height: 28%; }
.studio.pose-table .boss-hit { left: 32%; top: 58%; width: 22%; height: 30%; }
.studio.pose-bed .boss-hit { left: 70%; top: 36%; width: 24%; height: 28%; }

.boss-ping {
    position: absolute;
    z-index: 4;
    padding: 3px 7px;
    border-radius: 8px;
    background: #e8b84a;
    color: #1a1612;
    font-size: 0.7rem;
    font-weight: 800;
    animation: ping-pop 0.9s ease-in-out infinite;
    pointer-events: none;
}
.studio.pose-desk .boss-ping { left: 54%; top: 42%; }
.studio.pose-table .boss-ping { left: 38%; top: 62%; }
.studio.pose-bed .boss-ping { left: 76%; top: 34%; }

@keyframes ping-pop {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.06); }
}
@keyframes studio-smack {
    0% { filter: brightness(1.8); transform: translateX(3px); }
    35% { filter: brightness(1.25); transform: translateX(-3px); }
    70% { filter: brightness(1.1); transform: translateX(2px); }
    100% { filter: none; transform: none; }
}

@keyframes screen-flicker {
    from { fill: #6ec8d6; }
    to { fill: #9be4ee; }
}
@keyframes claw-type {
    from { transform: translateY(0); }
    to { transform: translateY(-1px); }
}

.studio-hud {
    position: absolute;
    inset: 0 auto 0 0;
    width: 34%;
    max-width: 150px;
    padding: 10px 10px 34px;
    background: linear-gradient(90deg, rgba(10, 8, 6, 0.78) 0%, rgba(10, 8, 6, 0.28) 78%, transparent 100%);
    color: #f4ead8;
    pointer-events: none;
}

.hud-kicker {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    color: #e8b84a;
    font-weight: 700;
}

.hud-task {
    margin: 6px 0 8px;
    font-family: var(--font-display);
    font-size: 0.92rem;
    line-height: 1.3;
}

.hud-meter {
    margin: 6px 0;
    font-size: 0.68rem;
    color: #d7cbb8;
}
.hud-meter i {
    display: block;
    height: 6px;
    margin-top: 3px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}
.hud-meter em {
    display: block;
    height: 100%;
    width: 0;
    background: #6ec8d6;
}
.hud-meter.is-tired em { background: #e8b84a; }

.hud-time {
    margin-top: 8px;
    font-variant-numeric: tabular-nums;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.hud-log {
    margin-top: 8px;
    font-size: 0.64rem;
    line-height: 1.45;
    color: #c9bba6;
    max-height: 4.4em;
    overflow: hidden;
}

.studio-caption {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    min-width: 58%;
    max-width: 88%;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(12, 10, 8, 0.78);
    color: #f7f3ec;
    font-size: 0.72rem;
    text-align: center;
    line-height: 1.35;
    pointer-events: none;
}

.wool-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 0.88rem;
}
.wool-row:last-child { border-bottom: 0; }
.wool-ops { display: flex; gap: 6px; }
.wool-ops button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.wool-report {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(232, 184, 74, 0.14);
    font-size: 0.82rem;
    line-height: 1.5;
}

.roadmap {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 8px;
}
