:root{color:#173653;font-synthesis:none;background:#edf7f8;font-family:Hiragino Sans,Yu Gothic,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 10% 10%,#fff 0 8%,#0000 28%),linear-gradient(160deg,#f9fcfb,#d8eef1);min-width:320px;margin:0}button,input,select,textarea{font:inherit}.shell{max-width:560px;min-height:100dvh;padding:calc(24px + env(safe-area-inset-top)) 20px calc(32px + env(safe-area-inset-bottom));text-align:center;margin:auto}.cover{object-fit:cover;border-radius:28px;width:100%;height:180px;box-shadow:0 14px 35px #17365322}h1{margin:20px 0;font-family:Georgia,Yu Mincho,serif;font-size:clamp(28px,8vw,42px);line-height:1.25}h2{font-size:22px}.eyebrow{text-transform:uppercase;letter-spacing:.18em;color:#b38a42;font-size:12px;font-weight:700}.card,.status-card,details{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffd9;border:1px solid #fff;border-radius:24px;margin:18px 0;padding:22px;box-shadow:0 12px 35px #17365314}.form,.admin-form{text-align:left}.form h2{text-align:center}.form label,.admin-form label{margin:16px 0;font-weight:700;display:block}.form input,.admin-form input,.admin-form select,.admin-form textarea{background:#fff;border:1px solid #afc9cf;border-radius:14px;width:100%;margin-top:8px;padding:13px;font-size:16px;display:block}.recovery-help{color:#667f89;margin-top:8px;font-size:12px;font-weight:500;line-height:1.65;display:block}.admin-form textarea{resize:vertical;min-height:76px}.form button,.admin-form button,.host-action{color:#fff;background:#173653;border:0;border-radius:16px;width:100%;padding:17px;font-weight:800;box-shadow:0 8px 20px #17365333}.form button:disabled,.host-action:disabled,.choices button:disabled{opacity:.48}.link-button{margin-top:8px;color:#173653!important;box-shadow:none!important;background:0 0!important}.event-header{justify-content:space-between;align-items:center;font-size:13px;font-weight:700;display:flex}.choices{gap:12px;display:grid}.choices button{text-align:left;color:#173653;background:#ffffffdf;border:2px solid #fff;border-radius:18px;align-items:center;gap:14px;min-height:66px;padding:12px 16px;font-weight:700;display:flex;box-shadow:0 8px 24px #17365312}.choices button span{background:#d5ebed;border-radius:50%;flex:0 0 38px;place-items:center;height:38px;display:grid}.choices button.selected{background:#fff9eb;border-color:#c5a25f}.correct-answer{color:#9b742d;font-size:20px;font-weight:900}.message,.toast{color:#6b4c13;background:#fff4d6;border-radius:12px;padding:12px}.message{text-align:center}.toast{width:min(90%,500px);position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.tennis{margin-top:30px}.court{background:#6fa87c;border:6px solid #fff;border-radius:22px;height:180px;position:relative;overflow:hidden;box-shadow:0 10px 30px #17365322}.court:before,.court:after{content:"";background:#fff9;position:absolute}.court:before{width:2px;height:100%;left:50%}.court:after{width:100%;height:2px;top:50%;left:0}.ball{color:#fff8a5;z-index:1;text-shadow:0 2px 4px #17365388;transition:left .8s ease-in-out;position:absolute;top:45%}.ball.left{left:12%}.ball.right{left:82%}.secondary{color:#fff;background:#c5a25f;border:0;border-radius:999px;margin-top:14px;padding:14px 28px;font-weight:800}.ranking{gap:10px;display:grid}.ranking-row{text-align:left;background:#fff;border-radius:16px;grid-template-columns:50px 1fr;align-items:center;gap:4px;padding:14px;display:grid;box-shadow:0 6px 20px #17365312}.ranking-row small,.ranking-row em{grid-column:2}.ranking-row em{color:#9b742d}.status-card{gap:8px;display:grid}.status-card strong{font-size:28px}.host-action{background:#b58b3f;min-height:70px;font-size:20px}.host details{text-align:left}.host summary{cursor:pointer;font-weight:800}.uid{overflow-wrap:anywhere;background:#fff;border-radius:10px;padding:12px;display:block}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.guest-header{margin-bottom:18px}.host{padding-top:0}.host-sticky{z-index:10;padding:calc(14px + env(safe-area-inset-top)) 20px 10px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);text-align:left;background:#f4faf9ee;border-bottom:1px solid #d5e5e7;margin:0 -20px;position:sticky;top:0}.host-sticky h1{margin:13px 0 0;font-family:inherit;font-size:25px}.mode-switch{background:#dcedee;border-radius:13px;gap:3px;padding:3px;display:flex}.mode-switch button{color:#56717b;background:0 0;border:0;border-radius:10px;padding:9px 10px;font-size:12px;font-weight:800}.host-content{text-align:left;padding-top:10px}.host-intro{font-size:14px}.admin-section{background:#ffffffdf;border:1px solid #fff;border-radius:23px;margin:14px 0;padding:18px;box-shadow:0 10px 28px #17365312}.admin-section>h2{margin:0 0 4px}.admin-section>p{color:#6c838d;margin:0 0 14px;font-size:13px}.admin-grid{grid-template-columns:1fr 1fr;gap:0 12px;display:grid}.copy-field{grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px;margin-top:8px;display:grid}.copy-field input{margin-top:0}.copy-field button{width:auto;box-shadow:none;padding:10px 13px}.admin-image-preview{object-fit:cover;border-radius:15px;width:100%;max-height:190px;display:block}.prize-preview{object-fit:contain;background:#f4f8f8}.form-error,.form-success,.form-note{border-radius:11px;padding:10px 12px;font-size:13px}.form-note{color:#765712;background:#fff5db}.admin-list{gap:8px;margin-bottom:18px;display:grid}.admin-list-row{grid-template-columns:1fr auto;gap:8px;display:grid}.admin-list-row button{border:0}.row-main{text-align:left;grid-template-columns:38px 1fr;align-items:center;gap:8px;display:grid;color:#173653!important;box-shadow:none!important;background:#f1f7f7!important;border-radius:13px!important;padding:11px!important}.row-main span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.delete-button{color:#9a382f!important;width:auto!important;box-shadow:none!important;background:#fff0ee!important;border-radius:12px!important;padding:10px!important}.editor-form{border-top:1px solid #d8e5e7;padding-top:10px}.editor-title{justify-content:space-between;align-items:center;display:flex}.editor-title h3{margin:8px 0}.text-button{color:#8d6929!important;width:auto!important;box-shadow:none!important;background:0 0!important;padding:7px!important}.option-editor{border:1px solid #c8dadd;border-radius:14px;margin:14px 0;padding:12px}.option-editor legend{font-weight:800}.option-editor img{object-fit:cover;border-radius:10px;width:100%;height:120px;margin-top:10px}.option-editor label{margin-bottom:0}@media (max-width:390px){.admin-grid{grid-template-columns:1fr}.event-header{align-items:flex-start;gap:8px}.mode-switch button{padding:8px 7px}}.section-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-header>div{align-items:center;gap:9px;min-width:0;display:flex}.section-header h2{margin:0}.section-count{color:#526e78;white-space:nowrap;background:#e5f1f2;border-radius:999px;flex:none;justify-content:center;align-items:center;padding:4px 9px;font-size:12px;font-weight:800;display:inline-flex}.section-header button{color:#9b742d;width:auto;box-shadow:none;background:0 0;border:0;flex:none;align-items:center;gap:5px;padding:7px 3px;font-weight:800;display:flex}.section-header button span{font-size:18px;line-height:1}.admin-section>[hidden]{display:none}.settings-fieldset{border:0;min-width:0;margin:0;padding:0}.reset-event-button{color:#8d3932;background:#fff0ed;border:1px solid #b96961;border-radius:14px;width:100%;padding:14px;font-weight:800}.reset-event-button:disabled{opacity:.48}.progress-content{padding-top:14px}.progress-panel{background:#ffffffed;border-radius:20px;padding:17px;box-shadow:0 10px 28px #17365316}.progress-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.progress-heading small{color:#70858e}.progress-heading h2{margin:3px 0;font-size:21px}.progress-heading p{color:#637b85;margin:0;font-size:12px}.question-count{background:#edf5f5;border-radius:999px;flex:none;padding:6px 9px;font-size:11px;font-weight:800}.current-question{background:#f2f7f7;border-radius:12px;margin:13px 0 8px;padding:10px 12px;font-size:13px}.current-question b{color:#a77d34;margin-right:5px}.progress-stats{grid-template-columns:repeat(3,1fr);gap:7px;margin:12px 0;display:grid}.progress-stats div{text-align:center;background:#f7faf9;border-radius:11px;padding:9px 5px}.progress-stats small,.progress-stats b{display:block}.progress-stats small{color:#73878e;font-size:10px}.progress-stats b{margin-top:2px;font-size:16px}.progress-actions{grid-template-columns:minmax(88px,.42fr) 1fr;gap:9px;display:grid}.progress-actions .host-action{min-height:auto;padding:14px;font-size:16px}.back-button{color:#173653;background:#fff;border:1px solid #b7cdd1;border-radius:14px;font-weight:800}.back-button:disabled{opacity:.38}.back-hint{color:#7d6660;margin-top:8px;display:block}.guest-preview{text-align:center;background:linear-gradient(160deg,#fbfdfc,#dceff1);border-top:1px solid #cfe1e3;min-height:420px;margin:20px -20px -32px;padding:18px 20px 40px}.preview-label{color:#fff;letter-spacing:.08em;background:#173653;border-radius:999px;margin:0 0 12px;padding:5px 10px;font-size:10px;font-weight:800;display:inline-block}.guest-state-card{background:#ffffffdf;border-radius:23px;padding:20px;box-shadow:0 10px 28px #17365312}.guest-state-card h1,.question-view h1{font-family:inherit;font-size:clamp(24px,7vw,34px)}.rules-text{white-space:pre-line;line-height:1.9}.submitted-answer{background:#fff;border-radius:14px;padding:15px;box-shadow:0 6px 18px #17365312}.submitted-answer b{background:#d8ecee;border-radius:50%;place-items:center;width:32px;height:32px;margin-left:7px;display:inline-grid}.question-view{text-align:center}.question-view .choices button{grid-template-columns:38px 1fr;display:grid}.question-view .choices .choice-letter{background:#d5ebed;border-radius:50%;place-items:center;width:38px;height:38px;display:grid}.question-view .choices b{align-self:center}.question-view .image-choices{grid-template-columns:1fr 1fr}.question-view .image-choices button{grid-template-columns:32px 1fr;padding:8px;display:grid;overflow:hidden}.question-view .image-choices .choice-image{background:#e8f1f1;border-radius:11px;grid-column:1/-1;width:100%;height:92px;display:block;overflow:hidden}.choice-image img{object-fit:cover;width:100%;height:100%}.choice-image i{color:#91a3a8;place-items:center;height:100%;font-size:11px;display:grid}.question-view .image-choices .choice-letter{width:30px;height:30px}.result-table{background:#fff;border-radius:14px;overflow:hidden}.result-table-row{text-align:left;border-bottom:1px solid #e3ecec;align-items:center;gap:6px;padding:11px 8px;font-size:12px;display:grid}.result-table-row.ranking{grid-template-columns:42px 1fr 48px 72px}.result-table-row.responders{grid-template-columns:42px 1fr 72px}.result-table-row.header{color:#657b83;background:#edf5f5;font-size:10px;font-weight:800}.empty-result{color:#71858c;padding:18px;font-size:12px}@media (max-width:390px){.progress-panel{padding:14px}.guest-preview{padding-left:14px;padding-right:14px}.question-view .image-choices{gap:8px}.result-table-row{padding-left:6px;padding-right:6px}}.answer-timer{color:#fff;background:#173653;border-radius:999px;justify-content:center;align-items:baseline;gap:5px;width:max-content;min-width:112px;margin:16px auto;padding:9px 16px;display:flex;box-shadow:0 7px 18px #17365326}.answer-timer small{font-size:11px}.answer-timer b{font-size:25px}.answer-state-loading{color:#6d828a;font-size:13px}.answer-accepted{color:#286c44;background:#e9f6ee;border-radius:13px;padding:12px;font-weight:800}.answer-accepted small{margin-top:3px;font-weight:600;display:block}.question-view .choices button:disabled{opacity:1}.question-view .choices button.selected{background:#fff9e8;border-color:#c5a25f}.question-view .choices button.is-correct{background:#e8f7ee;border-color:#3b9965}.question-view .choices button.is-wrong{background:#fff0ed;border-color:#b96961}.answer-explanation{text-align:left;background:#f5f9f8;border-radius:15px;margin-top:18px;padding:14px}.answer-explanation h2{margin:0 0 7px;font-size:16px}.answer-explanation p{margin:0;line-height:1.7}.answer-explanation .answer-summary{color:#28764b;margin-bottom:6px;font-weight:800}.own-rank{color:#6b4c13;background:#fff4d6;border-radius:13px;margin:0 0 12px;padding:12px;font-weight:700;animation:.3s ease-out reveal-row}.own-rank b{font-size:21px}.result-table-row:not(.header){animation:.28s ease-out reveal-row}@keyframes reveal-row{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.own-rank,.result-table-row:not(.header){animation:none}}.prize-modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#173653b8;place-items:center;padding:24px;animation:.35s ease-out modal-in;display:grid;position:fixed;inset:0}.prize-modal{text-align:center;color:#173653;background:linear-gradient(155deg,#fffdf7,#fff3cf);border:2px solid #f2d690;border-radius:28px;width:min(100%,420px);padding:28px 22px;animation:.35s ease-out modal-card-in;box-shadow:0 24px 70px #0c233b88}.prize-modal img{object-fit:contain;background:#fff;border-radius:18px;width:100%;max-height:240px;margin:15px 0;display:block}.prize-modal h2{margin:12px 0 6px;font-size:clamp(25px,8vw,38px)}.prize-modal p:last-child{color:#976e24;font-weight:800}.prize-rank{background:#b58b3f;border-radius:999px;margin:0;padding:7px 15px;font-size:18px;display:inline-block;color:#fff!important}.guest-preview .prize-modal-backdrop{position:absolute}.guest-preview{position:relative}@keyframes modal-in{0%{opacity:0}to{opacity:1}}@keyframes modal-card-in{0%{transform:scale(.92)}to{transform:scale(1)}}@media (prefers-reduced-motion:reduce){.prize-modal-backdrop,.prize-modal{animation:none}}.confirm-backdrop{z-index:100;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#173653a8;place-items:center;padding:20px;animation:.2s ease-out modal-in;display:grid;position:fixed;inset:0}.confirm-dialog{text-align:center;color:#173653;background:#fff;border:1px solid #fff;border-radius:24px;width:min(100%,390px);padding:24px;animation:.2s ease-out modal-card-in;box-shadow:0 24px 70px #0c233b66}.confirm-dialog h2{margin:0 0 12px;font-size:22px}.confirm-dialog p{white-space:pre-line;color:#526d78;margin:0;line-height:1.7}.confirm-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:22px;display:grid}.confirm-dialog .confirm-cancel,.confirm-dialog .confirm-submit{width:100%;box-shadow:none;border-radius:14px;margin:0;padding:13px 10px;font-weight:800}.confirm-dialog .confirm-cancel{color:#173653;background:#fff;border:1px solid #b7cdd1}.confirm-dialog .confirm-submit{color:#fff;background:#173653;border:1px solid #173653}.confirm-dialog .confirm-submit.danger{background:#9e4941;border-color:#9e4941}@media (prefers-reduced-motion:reduce){.confirm-backdrop,.confirm-dialog{animation:none}}.answer-timer{border-radius:24px;flex-direction:column;align-items:center;gap:1px;padding:8px 20px 10px}.answer-timer-value{justify-content:center;align-items:baseline;gap:4px;line-height:1;display:flex}.answer-accepted{color:#173653;background:#fff;box-shadow:0 6px 18px #17365312}.question-view .choices button.is-incorrect{color:#829096;box-shadow:none;filter:grayscale();background:#e9eded;border-color:#d8dfe0}.question-view .choices button.is-incorrect>*{opacity:.62}.answer-explanation .answer-summary{color:#28764b;margin-bottom:6px;font-size:16px;font-weight:800}.result-modal-backdrop{z-index:90;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#173653a8;place-items:center;padding:24px;animation:.25s ease-out modal-in;display:grid;position:fixed;inset:0}.result-modal{text-align:center;background:#fff;border-radius:26px;width:min(100%,390px);padding:28px 22px 22px;animation:.25s ease-out modal-card-in;box-shadow:0 24px 70px #0c233b66}.result-modal p{white-space:pre-line;margin:0 0 22px;font-size:22px;font-weight:800;line-height:1.6}.result-modal.correct p{color:#28764b}.result-modal.incorrect p{color:#8d493f}.result-modal button{color:#fff;background:#173653;border:0;border-radius:14px;width:100%;padding:14px;font-weight:800}.guest-preview .result-modal-backdrop{position:absolute}@media (prefers-reduced-motion:reduce){.result-modal-backdrop,.result-modal{animation:none}}.guest-header{text-align:left;grid-template-columns:minmax(0,1fr);gap:8px;display:grid}.guest-header .event-name{overflow-wrap:anywhere;font-size:15px;line-height:1.5}.user-nav{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.nickname-badge{color:#365965;overflow-wrap:anywhere;white-space:normal;background:#e2eff0;border-radius:12px;align-items:center;padding:5px 9px;font-size:11px;font-weight:800;line-height:1.45;display:inline-flex}.logged-in-user{color:#627b84;overflow-wrap:anywhere;margin:4px 0 0;font-size:11px;line-height:1.5}.logged-in-user b{color:#365965}@media (max-width:390px){.user-nav{gap:5px}.nickname-badge{padding:4px 7px}}.admin-login{padding-top:max(48px,calc(24px + env(safe-area-inset-top)))}.admin-login .card{margin-top:28px}.logout-link{color:#173653;background:0 0;border:0;padding:2px 4px;font-weight:700;text-decoration:underline}.admin-return-link{color:#fff;background:#173653;border-radius:14px;justify-content:center;margin-top:12px;padding:13px 20px;font-weight:800;text-decoration:none;display:inline-flex}.reset-event-area{gap:10px;display:grid}.reset-participants-option{color:#6b4c45;justify-content:center;align-items:center;gap:8px;font-size:13px;font-weight:800;display:flex}.reset-participants-option input{accent-color:#a4473e;width:18px;height:18px;margin:0}@media (max-width:600px){.admin-grid{grid-template-columns:minmax(0,1fr)}}.confirm-actions.single{grid-template-columns:1fr}.guest-header.waiting-header{justify-content:flex-end;margin:0 0 10px;display:flex}.waiting-event-title{overflow-wrap:anywhere;margin:12px 0 8px;font-family:inherit;font-size:clamp(32px,9vw,46px)}.waiting-header .user-nav{align-items:flex-end}.waiting-cover{margin-top:0}.image-guidance{color:#6c838d;margin-top:4px;font-size:11px;font-weight:500;display:block}.cover{aspect-ratio:16/9;height:auto}.option-editor img{aspect-ratio:4/3;height:auto}.answer-image-editor img,.answer-reveal-image{aspect-ratio:16/9;object-fit:contain;background:#f3f7f7;border-radius:14px;width:100%;display:block}.answer-image-editor{margin:10px 0 18px}.answer-image-editor .text-button{margin-left:auto;display:block}.answer-reveal-image{margin:14px 0}.prize-preview{aspect-ratio:1;height:auto}.prize-modal h2+p{color:#976e24;font-weight:800}.prize-list-button{color:#fff;background:#173653;border:0;border-radius:14px;width:100%;margin-top:8px;padding:14px;font-weight:800}.admin-list-row.is-selected .row-main{background:#e4f1ed!important;box-shadow:inset 0 0 0 2px #3b8b70!important}.admin-list-row.is-selected .row-main:after{content:"編集中";color:#fff;background:#3b8b70;border-radius:999px;justify-self:end;padding:3px 7px;font-size:10px}.admin-list-row.is-selected .row-main{grid-template-columns:38px minmax(0,1fr) auto}.editor-form{scroll-margin-top:150px}.editor-title{flex-wrap:wrap}.editor-title h3{width:100%}.editor-title .text-button{margin-left:auto}.answer-waiting-label{color:#617982;justify-content:center;align-items:center;gap:8px;margin:0 0 14px;font-size:12px;display:flex}.answer-waiting-label b{color:#49636c;background:#e4eeee;border-radius:999px;padding:5px 9px;font-size:11px}.question-view.is-waiting .choices button{box-shadow:none;cursor:default;background:#f8fbfa;border-color:#d8e5e7}.question-view.is-waiting .choices button .choice-letter{color:#58717a;background:#e3eeee}.prize-modal img{aspect-ratio:1;object-fit:cover;background:0 0;width:min(100%,280px);height:auto;max-height:none;margin:15px auto}.display-shell{max-width:920px}.display-shell .guest-state-card{max-width:760px;margin:18px auto}.display-shell .waiting-cover{max-width:760px;margin-left:auto;margin-right:auto}.display-link-area{background:#f1f7f7;border-radius:13px;margin:0 0 14px;padding:12px}.display-link-issue{color:#173653;background:#fff;border:1px solid #adc8cd;border-radius:12px;width:100%;padding:11px;font-weight:800}.display-link-result{margin-top:10px}.display-link-result p{color:#637b85;margin:0 0 8px;font-size:11px;line-height:1.5}.display-link-result input{background:#fff;border:1px solid #b7cdd1;border-radius:10px;width:100%;padding:10px;font-size:12px}.display-link-result>div{grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;display:grid}.display-link-result button,.display-link-result a{color:#fff;background:#173653;border:0;border-radius:10px;place-items:center;padding:10px;font-size:12px;font-weight:800;text-decoration:none;display:grid}.question-view .image-choices .choice-image{aspect-ratio:4/3;height:auto}.display-shell .question-view{max-width:680px;margin-left:auto;margin-right:auto}.display-shell .question-view h1{font-size:clamp(22px,2.4vw,30px)}.display-shell .display-answer-reveal .question-view{max-width:none}.display-shell .display-answer-reveal .image-choices{grid-template-columns:repeat(4,minmax(0,1fr))}.display-shell .display-answer-reveal .answer-reveal-image{max-height:240px}.question-phase-view>h1{font-family:inherit;font-size:clamp(24px,7vw,34px)}.guest-preview .prize-modal-backdrop{padding:12px}.guest-preview .prize-modal{border-radius:22px;width:min(100%,320px);padding:18px 16px}.guest-preview .prize-modal img{aspect-ratio:1;width:min(100%,160px);max-height:160px;margin:10px auto}.guest-preview .prize-modal h2{margin:8px 0 4px;font-size:24px}.guest-preview .prize-rank{padding:5px 12px;font-size:15px}.pdf-output-link{color:#fff;background:#173653;border-radius:9px;margin-left:8px;padding:5px 9px;font-weight:800;text-decoration:none;display:inline-block}.host-account-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.host-account-row>span{overflow-wrap:anywhere;min-width:0}.host-account-row .pdf-output-link{flex:none;margin-left:auto}.recovery-print-shell{color:#173653;background:#dceff1;min-height:100dvh;padding:86px 20px 40px}.recovery-print-toolbar{z-index:100;color:#fff;background:#173653;justify-content:center;align-items:center;gap:18px;padding:12px 20px;display:flex;position:fixed;top:0;left:0;right:0;box-shadow:0 6px 18px #17365344}.recovery-print-toolbar>div{flex-direction:column;line-height:1.35;display:flex}.recovery-print-toolbar small{opacity:.76}.recovery-print-toolbar a{color:#fff}.recovery-print-toolbar button{color:#fff;background:#c59a4a;border:0;border-radius:12px;padding:11px 20px;font-weight:800}.recovery-print-toolbar button:disabled{opacity:.55}.recovery-print-content{gap:28px;display:grid}.recovery-page{aspect-ratio:16/9;text-align:center;background:radial-gradient(circle at 10% 10%,#fff 0 8%,#0000 28%),linear-gradient(160deg,#f9fcfb,#d8eef1);border-radius:16px;width:min(100%,1280px);margin:auto;position:relative;overflow:hidden;box-shadow:0 12px 36px #17365322}.recovery-page-inner{flex-direction:column;justify-content:center;align-items:center;height:100%;padding:42px 56px;display:flex}.recovery-page-label{z-index:2;color:#fff;background:#173653;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800;position:absolute;top:16px;left:18px}.recovery-page h1{overflow-wrap:anywhere;max-width:100%;margin:10px 0 20px;font-family:inherit;font-size:clamp(28px,3.3vw,48px)}.recovery-page h2{font-size:30px}.recovery-page p{font-size:20px;line-height:1.7}.recovery-cover{aspect-ratio:16/9;object-fit:cover;border-radius:24px;width:min(70%,760px);max-height:390px}.recovery-rules{white-space:pre-line;max-width:950px}.recovery-page.question .recovery-page-inner{justify-content:flex-start;padding-top:48px}.recovery-page.question h1{margin:0 0 12px;font-size:clamp(25px,2.8vw,40px);line-height:1.3}.recovery-state-message{color:#45616b;background:#fff;border-radius:999px;margin:0 0 12px;padding:7px 16px;font-weight:800;font-size:16px!important}.recovery-options{grid-template-columns:1fr 1fr;gap:14px;width:100%;display:grid}.recovery-option{text-align:left;background:#ffffffdf;border:2px solid #fff;border-radius:18px;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;min-height:82px;padding:13px 16px;display:grid;box-shadow:0 8px 24px #17365312}.recovery-option>span{background:#d5ebed;border-radius:50%;place-items:center;width:42px;height:42px;font-size:20px;font-weight:800;display:grid}.recovery-option>b{font-size:21px}.recovery-options.with-images .recovery-option{grid-template-columns:38px minmax(0,1fr);padding:9px}.recovery-options.with-images img{aspect-ratio:4/3;object-fit:cover;border-radius:11px;grid-column:1/-1;width:100%;height:auto;max-height:190px}.recovery-option.correct{background:#e8f7ee;border-color:#3b9965}.recovery-option.incorrect{color:#829096;box-shadow:none;filter:grayscale();background:#e9eded;border-color:#d8dfe0}.recovery-page.answer .recovery-options.with-images{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.recovery-page.answer .recovery-options.with-images img{max-height:130px}.recovery-answer-explanation{text-align:left;background:#f5f9f8;border-radius:16px;width:100%;margin-top:13px;padding:12px 18px}.recovery-answer-explanation>b{color:#28764b;font-size:18px}.recovery-answer-explanation p{margin:5px 0 0;font-size:16px}.recovery-answer-explanation img{float:left;object-fit:contain;border-radius:10px;width:180px;max-height:105px;margin:8px 14px 0 0}.recovery-prize-rank{color:#fff;background:#b58b3f;border-radius:999px;padding:8px 18px;font-weight:800;margin:0!important}.recovery-prize-image{aspect-ratio:1;object-fit:contain;border-radius:22px;width:min(42%,330px);margin:18px}.recovery-page.prize h1{margin:0 0 4px}@media print{@page{size:13.333in 7.5in;margin:0}html,body,#root,.recovery-print-shell,.recovery-print-content{background:#fff;width:100%;max-width:none;margin:0;padding:0}.recovery-print-toolbar{display:none}.recovery-print-content{display:block}.recovery-page{aspect-ratio:auto;width:100%;max-width:none;height:7.5in;box-shadow:none;break-after:page;page-break-after:always;-webkit-print-color-adjust:exact;print-color-adjust:exact;border-radius:0;margin:0}.recovery-page:last-child{break-after:auto;page-break-after:auto}}.recovery-page{background:#eaf6f7}.recovery-option{box-shadow:none;background:#fff}.recovery-option.incorrect{filter:none;background:#e9eded}.recovery-answer-explanation{background:#f5f9f8}.recovery-page.long-title .recovery-page-inner{padding-top:32px;padding-bottom:30px}.recovery-page.long-title h1{margin-bottom:8px;font-size:30px;line-height:1.2}.recovery-page.long-title .recovery-state-message{margin-bottom:8px;padding-top:5px;padding-bottom:5px;font-size:14px!important}.recovery-page.long-title .recovery-options.with-images img{max-height:110px}.recovery-page.answer .recovery-page-inner{padding-top:32px;padding-bottom:28px}.recovery-page.answer h1{margin-bottom:8px;font-size:30px}.recovery-page.question .recovery-page-inner{padding-top:30px;padding-bottom:24px}.recovery-page.question:not(.answer) .recovery-options.with-images{grid-template-rows:repeat(2,minmax(0,1fr));height:330px}.recovery-page.question:not(.answer) .recovery-options.with-images .recovery-option{grid-template-rows:minmax(0,1fr) 30px;height:100%;min-height:0;overflow:hidden}.recovery-page.question:not(.answer) .recovery-options.with-images img{aspect-ratio:auto;height:100%;min-height:0;max-height:none}.recovery-page.answer .recovery-options.with-images .recovery-option{grid-template-rows:minmax(0,1fr) 30px;height:100%;min-height:0;overflow:hidden}.recovery-page.answer .recovery-options.with-images img{aspect-ratio:auto;height:100%;min-height:0;max-height:none}.recovery-page.question:not(.answer) .recovery-page-inner{grid-template-rows:auto auto minmax(0,1fr);align-items:stretch;display:grid}.recovery-page.question:not(.answer) h1,.recovery-page.question:not(.answer) .recovery-state-message{justify-self:center}.recovery-page.question:not(.answer) .recovery-options{grid-template-rows:repeat(2,minmax(0,1fr));height:100%;min-height:0}.recovery-page.question:not(.answer) .recovery-option{height:100%;min-height:0;overflow:hidden}.recovery-page.question:not(.answer) .recovery-options.with-images{height:100%}.recovery-page.answer .recovery-page-inner{grid-template-rows:auto minmax(0,1fr) auto;align-items:stretch;display:grid}.recovery-page.answer h1{justify-self:center}.recovery-page.answer .recovery-options{grid-template-rows:repeat(2,minmax(0,1fr));height:100%;min-height:0}.recovery-page.answer .recovery-options.with-images{grid-template-rows:minmax(0,1fr);height:100%}@media print{.recovery-page.question .recovery-page-label{white-space:nowrap;padding:4px 8px;font-size:10px;top:8px;left:50%;transform:translate(-50%)}.recovery-page.question .recovery-page-inner{width:100%;max-width:none;padding:42px 36px 14px}.recovery-page.question:not(.answer) .recovery-page-inner{grid-template-rows:auto auto minmax(0,1fr)}.recovery-page.question h1{text-align:center;width:100%;max-height:70px;margin:0 0 6px;padding:0 18px;font-size:28px;line-height:1.18;overflow:hidden}.recovery-page.question .recovery-state-message{margin:0 0 6px;padding:4px 12px;line-height:1.35;font-size:13px!important}.recovery-page.question .recovery-options{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0}.recovery-page.question:not(.answer) .recovery-options{gap:8px;min-height:0;overflow:hidden}.recovery-page.question:not(.answer) .recovery-option{grid-template-rows:minmax(0,1fr) 25px;gap:7px;width:100%;min-width:0;min-height:0;padding:6px}.recovery-page.question:not(.answer) .recovery-option>span{width:30px;height:30px;font-size:15px}.recovery-page.question:not(.answer) .recovery-option>b{font-size:16px}.recovery-page.question:not(.answer) .recovery-options.with-images img{object-fit:contain;width:100%;min-width:0;height:100%;min-height:0;max-height:none}.recovery-page.answer .recovery-page-inner{grid-template-rows:auto minmax(0,1fr) auto;padding:42px 34px 14px}.recovery-page.answer .recovery-options{gap:7px;min-height:0;overflow:hidden}.recovery-page.answer .recovery-option{grid-template-rows:minmax(0,1fr) 24px;gap:6px;width:100%;min-width:0;min-height:0;padding:5px}.recovery-page.answer .recovery-option>span{width:28px;height:28px;font-size:14px}.recovery-page.answer .recovery-option>b{font-size:15px}.recovery-page.answer .recovery-options.with-images img{object-fit:contain;width:100%;min-width:0;height:100%;min-height:0;max-height:none}.recovery-answer-explanation{margin-top:7px;padding:8px 12px}.recovery-answer-explanation>b{font-size:15px}.recovery-answer-explanation p{margin-top:3px;font-size:13px;line-height:1.45}}:root,h1{font-family:Roboto,Noto Sans JP,sans-serif}:root{--wq-bg:#fbf7ef;--wq-surface:#fff;--wq-gold:#c49a55;--wq-gold-dark:#a77c38;--wq-pink:#d98f91;--wq-text:#342e2a;--wq-muted:#756d66;--wq-border:#eae0d2;--wq-correct:#65a67c;--wq-disabled:#f2edea;--wq-danger:#a94d48;--wq-radius-sm:8px;--wq-radius-md:12px;--wq-radius-lg:20px;--wq-radius-xl:28px;--wq-shadow-sm:0 2px 8px #342e2a0d;--wq-shadow-md:0 6px 20px #342e2a12;color:var(--wq-text);background:var(--wq-bg);font-family:Noto Sans JP,Hiragino Sans,Yu Gothic,sans-serif}body{color:var(--wq-text);background:var(--wq-bg)}h1,h2,h3,p,label,button,input,select,textarea{color:inherit}h1{font-family:inherit}a{color:var(--wq-gold-dark)}.brand-logo{color:var(--wq-text);white-space:nowrap;align-items:center;gap:9px;font-family:Playfair Display,Georgia,serif;font-size:18px;font-weight:700;line-height:1;display:inline-flex}.brand-logo img{object-fit:contain;width:38px;height:32px}.brand-logo-compact img{width:28px;height:24px}.entry-brand,.login-brand{justify-content:center;margin:4px auto 14px;font-size:24px}.entry-brand img,.login-brand img{width:52px;height:43px}.shell{color:var(--wq-text)}.card,.status-card,details,.admin-section,.progress-panel,.guest-state-card{border-color:var(--wq-border);background:var(--wq-surface);box-shadow:var(--wq-shadow-md);-webkit-backdrop-filter:none;backdrop-filter:none}.card,.status-card,details,.admin-section,.guest-state-card{border-radius:var(--wq-radius-lg)}.cover{box-shadow:var(--wq-shadow-md)}.form input,.admin-form input,.admin-form select,.admin-form textarea{border-color:var(--wq-border);border-radius:var(--wq-radius-md);color:var(--wq-text)}.form input:focus,.admin-form input:focus,.admin-form select:focus,.admin-form textarea:focus{border-color:var(--wq-gold);outline:3px solid color-mix(in srgb, var(--wq-gold) 22%, transparent)}.form button,.admin-form button,.host-action,.admin-return-link{background:var(--wq-gold);box-shadow:var(--wq-shadow-sm)}.form button:hover:not(:disabled),.admin-form button:hover:not(:disabled),.host-action:hover:not(:disabled){background:var(--wq-gold-dark)}.form button:disabled,.host-action:disabled{background:var(--wq-disabled);color:var(--wq-muted)}.link-button,.text-button,.logout-link{color:var(--wq-gold-dark)!important}.message,.toast,.form-note{color:#72572c;background:#fff6e7}.form-error{color:var(--wq-danger);background:#fbeceb}.form-success{color:#417c55;background:#edf7f0}.event-header a{color:var(--wq-gold-dark)}.guest-header{grid-template-columns:minmax(0,1fr) auto;align-items:center}.guest-header.waiting-header{justify-content:space-between}.nickname-badge{color:var(--wq-text);border:1px solid var(--wq-border);background:#f6eee5}.display-brand-header{justify-content:center;margin-bottom:18px;display:flex}.display-shell .display-brand-header .brand-logo{font-size:22px}.waiting-event-title{color:var(--wq-text)}.waiting-participant-count{color:var(--wq-gold-dark);background:#f3eadc;border-radius:999px;justify-content:center;align-items:center;margin:4px auto 10px;padding:7px 14px;font-size:14px;font-weight:800;display:inline-flex}.choices button{border-color:var(--wq-border);background:var(--wq-surface);color:var(--wq-text);box-shadow:var(--wq-shadow-sm)}.question-view .choices .choice-letter,.choices button span,.submitted-answer b,.question-view.is-waiting .choices button .choice-letter{color:var(--wq-text);background:#f3eadc}.question-view .choices button.selected{border-color:var(--wq-gold);background:#fff8ed}.question-view .choices button.selected .choice-letter{background:var(--wq-gold);color:#fff}.question-view .choices button.is-correct{border-color:var(--wq-correct);background:#edf7f0}.question-view .choices button.is-correct .choice-letter{background:var(--wq-correct);color:#fff}.question-view .choices button.is-incorrect{background:var(--wq-disabled);color:var(--wq-muted);border-color:#e4ded9}.question-view .choices button.is-incorrect .choice-letter{color:var(--wq-muted);background:#ded6d1}.question-view.is-waiting .choices button{border-color:var(--wq-border);background:#faf8f4}.question-view .image-choices .choice-image{color:var(--wq-muted);background:#f3eadc}.question-view .image-choices .choice-image img{background:#f3eadc}.question-view .image-choices .choice-image i{color:var(--wq-muted)}.answer-waiting-label b,.question-count{color:var(--wq-gold-dark);background:#f3eadc}.answer-timer{background:var(--wq-pink);box-shadow:var(--wq-shadow-sm)}.answer-timer.expired{background:#928780}.answer-accepted,.submitted-answer,.answer-explanation{background:var(--wq-surface);box-shadow:var(--wq-shadow-sm)}.answer-explanation .answer-summary{color:#437f58}.result-table{border:1px solid var(--wq-border);background:var(--wq-surface)}.result-table-row{border-bottom-color:var(--wq-border)}.result-table-row.header{color:var(--wq-muted);background:#f5eee5}.result-table-row:not(.header):nth-child(2)>b{color:#b18435}.result-table-row:not(.header):nth-child(3)>b{color:#858585}.result-table-row:not(.header):nth-child(4)>b{color:#a66f45}.own-rank{color:#72572c;background:#fff6e7}.host-sticky{background:color-mix(in srgb, var(--wq-bg) 94%, transparent);border-bottom-color:var(--wq-border)}.host-mode-row{justify-content:space-between}.mode-switch{background:#eee7df}.mode-switch button{color:var(--wq-muted)}.mode-switch button.active{color:var(--wq-text);background:var(--wq-surface);box-shadow:var(--wq-shadow-sm)}.admin-section>p,.progress-heading p,.progress-heading small,.image-guidance,.logged-in-user{color:var(--wq-muted)}.section-count{color:var(--wq-gold-dark);background:#f3eadc}.section-header button,.current-question b{color:var(--wq-gold-dark)}.row-main,.current-question,.progress-stats div{color:var(--wq-text)!important;background:#faf7f2!important}.admin-list-row.is-selected .row-main{box-shadow:inset 0 0 0 2px var(--wq-gold)!important;background:#fff8ed!important}.admin-list-row.is-selected .row-main:after{background:var(--wq-gold)}.editor-form{border-top-color:var(--wq-border)}.editor-form.is-editing .editor-title h3{color:var(--wq-gold-dark)}.option-editor{border-color:var(--wq-border)}.admin-image-preview,.option-editor img,.prize-preview,.answer-image-editor img,.answer-reveal-image,.prize-modal img{background:#faf7f2}.guest-preview{border-top-color:var(--wq-border);background:var(--wq-bg)}.preview-label{background:var(--wq-text)}.back-button{border-color:var(--wq-border);color:var(--wq-text)}.pdf-output-link.disabled{cursor:not-allowed;background:var(--wq-disabled);color:var(--wq-muted)}.display-link-area{border:1px solid var(--wq-border);background:#faf7f2}.display-link-issue{border-color:var(--wq-gold);color:var(--wq-gold-dark);background:var(--wq-surface)}.display-link-issue:hover:not(:disabled){background:#fff8ed}.display-link-result p{color:var(--wq-muted)}.display-link-result input{border-color:var(--wq-border);color:var(--wq-text)}.display-link-result button,.display-link-result a{background:var(--wq-gold)}.confirm-backdrop,.result-modal-backdrop,.prize-modal-backdrop{background:#342e2a9e}.confirm-dialog,.result-modal,.prize-modal{color:var(--wq-text);border-color:var(--wq-border);background:var(--wq-surface);box-shadow:0 18px 48px #342e2a2e}.confirm-dialog .confirm-submit,.result-modal button,.prize-list-button{appearance:none;border:2px solid var(--wq-gold);background:var(--wq-gold);color:#fff;box-shadow:none}.result-modal button:hover{border-color:var(--wq-gold-dark);background:var(--wq-gold-dark)}.result-modal button:focus-visible{outline-offset:3px;outline:3px solid #c49a554d}.confirm-dialog .confirm-cancel{border-color:var(--wq-border);color:var(--wq-text)}.prize-rank{background:var(--wq-gold)}.prize-modal p:last-child,.prize-modal h2+p{color:var(--wq-gold-dark)}@media (max-width:390px){.brand-logo{gap:6px;font-size:15px}.brand-logo img{width:31px;height:27px}.guest-header{gap:8px}.nickname-badge{max-width:132px}.host-mode-row .brand-logo span{display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
