.rest-page{background:#fcfbf7;color:#283e32;font-family:Pretendard,system-ui,sans-serif;word-break:keep-all;overflow-wrap:anywhere}
.rest-page .layout,.rest-page .primary{min-width:0}
.rest-page .foot-net{display:none}.rest-page .ad{max-width:100%;overflow:hidden;contain:inline-size}
.rest-shell{max-width:600px;margin:0 auto 32px}.rest-back{font-size:14px;color:#516a58;display:inline-flex;align-items:center;min-height:44px;margin-bottom:12px}
.rest-panel{background:#fff;border:1px solid #e3e7d9;border-radius:24px;padding:32px;text-align:center;box-shadow:0 6px 0 #edf0e5}
.rest-kicker{font-size:13px;font-weight:650;letter-spacing:.04em;color:#57725b;margin:0 0 12px}.rest-animals{font-size:48px;line-height:1.6;letter-spacing:4px;margin:22px 0}
.rest-panel h1{font-size:32px;line-height:1.45;letter-spacing:-.04em;margin:12px 0 16px}.rest-lead{font-size:16px;line-height:1.8;color:#536152;margin:0 0 24px}.rest-note,.rest-disclaimer{font-size:12px;line-height:1.75;color:#62705f;margin:16px 0 0}.rest-disclaimer{text-align:center;margin-top:24px}
.rest-panel button{font:inherit;cursor:pointer;min-height:48px;padding:12px 18px;border:1px solid #d4decf;border-radius:12px;background:#fff;color:#314832;font-weight:650;line-height:1.5}
.rest-panel button:hover{background:#f0f5e9;border-color:#76936c}.rest-panel button:focus-visible,.rest-panel a:focus-visible{outline:3px solid #b3ca7a;outline-offset:3px}
.rest-panel .rest-primary{background:#3c6950;color:#fff;border-color:#3c6950}.rest-panel .rest-primary:hover{background:#2b553e}
#rest-start{min-width:240px;max-width:100%}.rest-progress{display:flex;align-items:center;justify-content:space-between;font-size:14px;color:#62705f}.rest-progress button{border:0;padding-left:0;background:transparent}.rest-panel progress{width:100%;height:8px;border:0;border-radius:10px;background:#edf0e5;accent-color:#6c8c4e;margin:12px 0 28px}.rest-panel progress::-webkit-progress-bar{background:#edf0e5;border-radius:10px}.rest-panel progress::-webkit-progress-value{background:#6c8c4e;border-radius:10px}
#rest-question h1{font-size:25px;min-height:84px}#rest-answers{display:grid;gap:12px;margin:24px 0 8px}#rest-answers button{min-height:72px;font-weight:500;text-align:left;padding:18px 20px;background:#fafbf7}#rest-answers button:hover{background:#edf3e2}
#rest-art svg{width:190px;height:170px;max-width:100%}#rest-tagline{font-size:14px;color:#66704d;margin:4px 0}#rest-name{font-size:30px;margin:8px 0 16px}.rest-ideas{background:#f4f6ee;border-radius:16px;padding:20px;text-align:left;margin:24px 0}.rest-ideas h2,.rest-next h2{font-size:16px;margin:0 0 12px}.rest-ideas ul{padding-left:20px;margin:0;line-height:1.9;font-size:15px}.rest-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.rest-actions .rest-primary{grid-column:1/-1}.rest-panel .rest-text-button{border:0;background:none;font-size:14px;text-decoration:underline;text-underline-offset:4px}.rest-next{border-top:1px solid #e0e6d8;margin-top:24px;padding-top:24px;text-align:left}.rest-next a{display:block;color:#405a3f;font-size:14px;line-height:1.7}.rest-next span{display:block;font-weight:650;margin-top:6px}#rest-status{font-size:13px;min-height:20px;margin:12px 0;color:#426044}#rest-link-fallback{font-size:13px;text-align:left;margin-top:16px}#rest-link{width:100%;min-width:0;margin-top:8px;font-size:14px}
@media(max-width:480px){.rest-panel{padding:24px 18px;border-radius:20px}.rest-panel h1{font-size:27px}.rest-lead{font-size:14px}.rest-animals{font-size:38px;letter-spacing:0}.rest-shell{margin-bottom:24px}#rest-question h1{font-size:23px}.rest-ideas{padding:16px}.rest-ideas ul{font-size:14px}.rest-actions button{font-size:14px}}
/* Keep the previous-question control below the shared sticky header. */
.rest-page .rest-panel{scroll-margin-top:84px}
