/* Only two representative activities use these selectors. No game logic or shared theme overrides. */
.rep-activity{scrollbar-gutter:stable}.rep-activity #app{min-height:100svh}.rep-activity main{min-height:calc(100svh - 90px)}
.rep-loading{padding:24px;border:1px solid #cad8d6;border-radius:18px;background:#fffaf0;color:#304a76;font-size:17px;line-height:1.65;min-height:360px}
.rep-loading strong{display:block;font-size:24px;margin-bottom:12px}.rep-loading .rep-loading-lines{height:130px;margin-top:22px;background:repeating-linear-gradient(to bottom,#e9efeb 0 20px,transparent 20px 46px);border-radius:8px;max-width:520px}
.rep-activity .study-toolbar,.rep-initial-toolbar{min-height:82px}.rep-initial-toolbar{box-sizing:border-box;display:flex;align-items:center;gap:12px;background:#f8f6ef;border:1px solid #dedfdc;border-radius:12px;padding:7px 12px;margin:0 0 12px;font-weight:800;color:#304a76}.rep-initial-toolbar .corgi{--corgi-size:46px}
.rep-activity.study-wet-grass .investigation{min-height:720px}.rep-activity .pilot-promise{margin-block:8px 14px}
.rep-activity .rep-read-label{display:block;margin:0 0 12px!important;padding:9px 11px!important;border-radius:10px;background:#eef2f4;color:#3c5369;font-size:13px!important;line-height:1.55!important;font-weight:700}
.rep-activity .rep-stage{font-size:14px;font-weight:750;color:#304a76;margin:0 0 10px;line-height:1.5}
.rep-activity .rep-task{box-sizing:border-box;min-width:0;padding:14px;margin:14px 0;border:1px solid #aabfbc;border-radius:14px;background:#fcfefd;scroll-margin-top:112px}
.rep-activity fieldset.rep-task{padding-top:10px}.rep-activity .rep-task h3,.rep-activity .rep-task legend{color:#234d47;font-size:17px;line-height:1.5;font-weight:800;margin:0 0 8px;padding:0;max-width:100%}
.rep-activity .rep-task legend{padding-inline:5px}.rep-activity .rep-required{display:inline-block;font-size:12px;font-weight:700;color:#355e58;background:#e2efea;border-radius:7px;padding:2px 6px;margin-inline-start:5px;vertical-align:middle}
.rep-activity .rep-task-instruction{font-size:14px;line-height:1.6;margin:4px 0 10px!important;color:#3c5369}.rep-activity .rep-task .choices{margin:0}.rep-activity .rep-task .choice{min-height:52px}
.rep-activity .choice[aria-pressed=true],.rep-activity .person-pool button[aria-pressed=true]{background:#e5f2ed;border-color:#3f7d71;color:#173f38;box-shadow:inset 0 0 0 1px #3f7d71}
.rep-activity .choice[aria-pressed=true] .checkmark{background:#316d60;border-color:#316d60;color:#fff}.rep-activity .choice:disabled{opacity:1}
.rep-activity .rep-action-help{padding:13px 14px;border:1px solid #b4c8ce;border-radius:14px;background:#f0f5f7;margin:16px 0 10px;text-align:start;color:#243e60}
.rep-activity .rep-checklist{display:flex;flex-wrap:wrap;gap:7px;font-size:13px;font-weight:750;line-height:1.55}
.rep-activity .rep-checklist span{padding:4px 8px;border-radius:8px;border:1px solid #a8babf;background:#fff}.rep-activity .rep-checklist .is-selected{background:#e5f2ed;border-color:#6c9b8d;color:#1e4d47}.rep-activity .rep-checklist .is-missing{border-style:dashed}
.rep-activity .rep-next-reason{font-size:15px;line-height:1.65;margin:9px 0!important;min-height:0}
.rep-activity button.rep-jump{background:#fff;border:1px solid #809fad;color:#274c66;min-height:44px;padding:8px 12px;border-radius:10px;font:inherit;font-size:14px;font-weight:700;max-width:100%;white-space:normal}
.rep-activity #action:disabled,.rep-activity [data-do=check]:disabled{opacity:1;background:#e5ebee;border:1px solid #8b9ca8;color:#46596b}
.rep-activity .person-pool{margin:0;gap:8px}.rep-activity .person-pool button{min-height:76px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;padding:8px;position:relative}.rep-friend-name{font-weight:700}.rep-seat-note{flex-basis:100%;font-size:12px;line-height:1.5;color:#355d56}
.rep-activity .rep-seat-note.is-waiting{color:#536778}.rep-activity .selection-status{font-size:15px;line-height:1.55;color:#264d45;background:#edf4f1;border:1px solid #b4cbbf;border-radius:10px;padding:10px 12px;min-height:44px}
.rep-activity .seats{scroll-margin-top:112px}.rep-activity .seat{min-height:100px}.rep-activity .rep-task:focus,.rep-activity #rep-seats:focus,.rep-activity #rep-friends:focus{outline:3px solid #35789a;outline-offset:3px}
.rep-activity .rep-task button:active,.rep-activity .rep-jump:active{transform:scale(.985)}.rep-activity .rep-picked{animation:rep-touch .16s ease-out}
@keyframes rep-touch{from{box-shadow:0 0 0 3px #77afa733;transform:scale(.99)}to{transform:scale(1)}}
@media(max-width:899px){.rep-activity .study-toolbar,.rep-initial-toolbar{min-height:116px}.rep-activity:not(.rep-ready) .layout>.study-reference{display:none}.rep-activity .rep-task{padding:12px;scroll-margin-top:146px}.rep-activity .rep-task h3,.rep-activity .rep-task legend{font-size:16px}.rep-activity .seats{scroll-margin-top:146px}.rep-activity .rep-loading{margin:12px 14px}.rep-activity .investigation .rep-loading{margin:0}}
@media(max-width:420px){.rep-activity .person-pool{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.rep-activity .festival{padding:10px 5px}.rep-activity .seats{gap:5px}.rep-activity .seat{padding:8px 3px;font-size:14px}.rep-activity .rep-required{margin-inline-start:2px}}
@media(prefers-reduced-motion:reduce){.rep-activity .rep-picked{animation:none}.rep-activity .rep-task button:active,.rep-activity .rep-jump:active{transform:none}}

.rep-activity .rule-status.bad{color:#775522;background:#fff4d8;border-radius:5px;padding-inline:4px}

/* Reserve the initial activity shell; late game instructions do not move visible controls. */
.rep-activity #app{display:flow-root}.rep-activity.study-wet-grass .investigation{position:relative}
.rep-activity:not(.rep-ready) .progress-row,.rep-activity:not(.rep-ready) .progress-track{display:none}
.rep-activity .rep-initial-activity{position:absolute;inset:20px;min-height:0;margin:0!important}
.rep-activity #words{min-width:80px}
@media(max-width:370px){.rep-activity #words{min-width:68px}}
