:root{--ink:#4a3a52;--ink-soft:#7d6a83;--card:#fff9f0c7;color:var(--ink);font-family:PingFang SC,Hiragino Sans GB,Microsoft YaHei,system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{touch-action:manipulation;overscroll-behavior:none;height:100%;margin:0;overflow:hidden}button,a{touch-action:manipulation}body{-webkit-tap-highlight-color:transparent;background:#f4cdb5}.app{background:radial-gradient(120% 90% at 30% 10%,#fff1dc 0%,#fff1dc00 55%),radial-gradient(90% 70% at 85% 95%,#b9a3cf 0%,#b9a3cf00 60%),linear-gradient(170deg,#fbe2c8 0%,#f3c1a9 48%,#d7b0c4 100%);height:100%;position:relative}.app:after{content:"";pointer-events:none;background:radial-gradient(130% 100% at 50% 45%,#0000 60%,#5b456938 100%);position:absolute;inset:0}.stage{inset:0;position:absolute!important}.title{z-index:1;pointer-events:none;position:absolute;top:28px;left:32px}.title h1{letter-spacing:.12em;margin:0;font-size:30px;font-weight:600}.title p{letter-spacing:.28em;color:var(--ink-soft);margin:6px 0 0;font-size:12px}.hud-button,.result-card button,.title-actions button{background:var(--card);color:var(--ink);font:inherit;letter-spacing:.1em;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid #4a3a522e;border-radius:999px;padding:8px 18px;font-size:13px;transition:transform .15s,background .15s}.hud-button:hover,.result-card button:hover,.title-actions button:hover{background:#fffaf3;transform:translateY(-1px)}.hud-button[aria-pressed=true]{color:#fff7ea;background:#4a3a52d1}.hud-actions{z-index:1;gap:8px;display:flex;position:absolute;top:30px;right:32px}.unsupported{text-align:center;letter-spacing:.06em;justify-content:center;align-items:center;min-height:100%;margin:0;padding:32px 24px;font-size:16px;display:flex}.title-actions{pointer-events:auto;gap:12px;display:flex}.ending-message{bottom:calc(20px + env(safe-area-inset-bottom));z-index:1;flex-direction:row;align-items:center;gap:20px;animation:.7s both fade-in;display:flex;position:absolute;left:50%;transform:translate(-50%)}.ending-message h1{letter-spacing:.2em;white-space:nowrap;margin:0;font-size:24px;font-weight:600}.ending-message button{min-height:44px}.screen{touch-action:none;height:100%}.hints{z-index:1;pointer-events:none;gap:10px;display:flex;position:absolute;bottom:28px;left:50%;transform:translate(-50%)}.hints span{background:var(--card);letter-spacing:.06em;white-space:nowrap;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:999px;padding:7px 14px;font-size:12px}.toast{z-index:2;color:#fff7ea;background:#4a3a52d1;border-radius:999px;padding:8px 16px;font-size:13px;animation:.2s fade-in;position:absolute;top:90px;left:50%;transform:translate(-50%)}.challenge-screen .toast{color:var(--ink);background:#fff7eaf0}.result{z-index:3;animation:.7s .5s both rise-in;position:absolute;top:96px;left:50%;transform:translate(-50%)}.result-card{background:var(--card);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:24px;flex-direction:column;align-items:center;gap:12px;padding:18px 24px;display:flex;box-shadow:0 14px 40px #5b45692e}.result-card h2{letter-spacing:.4em;margin:0;font-size:18px;font-weight:600}.result-card p{color:var(--ink-soft);white-space:nowrap;margin:0;font-size:13px}@keyframes fade-in{0%{opacity:0}}@keyframes rise-in{0%{opacity:0;transform:translate(-50%,-8px)}}@media (width<=720px){.ending-message{bottom:calc(12px + env(safe-area-inset-bottom));flex-direction:row;gap:16px;width:max-content;max-width:calc(100% - 24px)}.ending-message h1{font-size:22px}.title{top:calc(12px + env(safe-area-inset-top));left:calc(12px + env(safe-area-inset-left));max-width:calc(100% - 210px);right:auto}.title h1{font-size:18px}.hud-actions{top:calc(12px + env(safe-area-inset-top));right:calc(12px + env(safe-area-inset-right));max-width:calc(100% - 24px - env(safe-area-inset-left) - env(safe-area-inset-right));flex-wrap:nowrap;gap:6px;left:auto}.hud-button{padding:7px 12px;font-size:12px}.result{top:calc(96px + env(safe-area-inset-top));width:max-content;max-width:calc(100% - 24px)}.result-card{gap:12px;padding:8px 10px 8px 16px}.result-card h2{letter-spacing:.2em;white-space:nowrap;font-size:15px}.result-card button{white-space:nowrap;flex-shrink:0;min-height:44px}.hints{bottom:calc(12px + env(safe-area-inset-bottom));flex-direction:column;align-items:center;gap:6px;width:calc(100% - 24px)}.hints span{white-space:normal;text-align:center}}button:disabled{opacity:.4;cursor:default}button:disabled:hover{transform:none}.hud-button,.result-card button,.title-actions button{min-height:44px}.hud-desktop{gap:8px;display:flex}.hud-menu{display:none;position:relative}.hud-menu summary{align-items:center;list-style:none;display:flex}.hud-menu summary::-webkit-details-marker{display:none}.hud-menu-options{background:var(--card);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:22px;flex-direction:column;gap:8px;width:170px;padding:10px;display:flex;position:absolute;top:52px;right:0;box-shadow:0 12px 30px #5b456926}.hud-menu[open]{z-index:5}.ratings{align-items:center;gap:10px;display:inline-flex}.rating{color:#7a5f86;opacity:.35;width:24px;height:24px}.rating.earned{color:#ffd98a;opacity:1;filter:drop-shadow(0 0 1px #7a5f86)}.ratings-animate .rating.earned{animation:.5s both rating-in}.result-actions{gap:8px;display:flex}@keyframes rating-in{0%{opacity:.25;transform:scale(.8)}}@media (width<=720px){.title h1{letter-spacing:.04em;overflow-wrap:anywhere;font-size:16px}.title p{letter-spacing:0;white-space:nowrap;font-size:11px}.hud-desktop{display:none}.hud-menu{display:block}.hud-actions .hud-button{letter-spacing:0;padding:7px 10px}.result-card{padding:16px}.toast{text-align:center;width:max-content;max-width:calc(100% - 24px)}}@media (prefers-reduced-motion:reduce){.ratings-animate .rating.earned,.result{animation-duration:.01ms;animation-delay:0s}}.entry-title{touch-action:pan-y;height:100%;color:var(--ink);position:relative;overflow:auto}.entry-title-layout{box-sizing:border-box;grid-template-columns:minmax(320px,400px) minmax(0,1fr);align-items:center;column-gap:40px;width:min(1280px,100%);min-height:100%;margin:0 auto;padding:72px 48px;display:grid}.entry-copy{flex-direction:column;justify-content:center;align-items:flex-start;display:flex}.entry-brand{letter-spacing:.24em;text-transform:uppercase;color:#5b4569;margin:0 0 14px;font-size:13px;line-height:1.4}.entry-title h1{letter-spacing:.14em;margin:0;font-size:48px;font-weight:500;line-height:1.25}.entry-tagline{margin:20px 0 0;font-size:16px;line-height:1.75}.entry-progress{color:#5b4569;gap:2px;margin:24px 0 0;font-size:13px;line-height:1.6;display:grid}.entry-title .entry-primary,.entry-title .entry-secondary,.entry-title .entry-mute{font:inherit;cursor:pointer;border:0;transition:background .14s,border-color .14s}.entry-title .entry-primary,.entry-title .entry-secondary{border-radius:999px;width:100%;min-width:168px;height:48px}.entry-title .entry-primary{background:var(--ink);color:#fff7ea;margin-top:24px}.entry-title .entry-primary:hover{background:#5c4a66}.entry-caption{color:#5b4569;margin:10px 0 0;font-size:12px;line-height:1.6}.entry-title .entry-secondary{color:var(--ink);background:#fff7eab8;border:1px solid #4a3a522e;margin-top:12px}.entry-title .entry-secondary:hover{background:#fff7eaeb}.entry-stage{height:min(560px,100svh - 144px);min-height:180px}.entry-title .stage{width:100%;height:100%;position:relative!important;inset:auto!important}.entry-mute{z-index:2;min-height:44px;color:var(--ink);letter-spacing:.06em;background:#fff7eab8;border:1px solid #4a3a522e;border-radius:999px;padding:0 18px;position:absolute;top:24px;right:32px}.entry-title button:focus-visible{outline-offset:3px;outline:3px solid #355e5b}@media (width<=959px){.entry-title-layout{width:100%;padding:calc(40px + env(safe-area-inset-top)) calc(24px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(24px + env(safe-area-inset-left));text-align:center;flex-direction:column;align-items:center;display:flex}.entry-copy{display:contents}.entry-brand,.entry-title h1,.entry-tagline{order:1}.entry-stage{order:2;width:100%;height:clamp(180px,35svh,260px);min-height:0;margin:8px 0}.entry-progress,.entry-title .entry-primary,.entry-caption,.entry-title .entry-secondary{order:3}.entry-brand{margin-bottom:8px;font-size:11px}.entry-title h1{font-size:32px;line-height:1.3}.entry-tagline{margin-top:12px;font-size:14px}.entry-progress{margin-top:8px}.entry-title .entry-primary{margin-top:16px}.entry-title .entry-primary,.entry-title .entry-secondary{width:min(320px,100%);min-width:0}.entry-mute{top:calc(12px + env(safe-area-inset-top));right:calc(12px + env(safe-area-inset-right))}}@media (prefers-reduced-motion:reduce){.entry-title .entry-primary,.entry-title .entry-secondary,.entry-title .entry-mute{transition:none}}.entry-select{touch-action:pan-y;height:100%;color:var(--ink);overflow:auto}.entry-select-frame{box-sizing:border-box;width:min(1280px,100%);margin:0 auto;padding:24px 40px 28px}.entry-select-tools{justify-content:space-between;align-items:center;gap:12px;display:flex}.entry-select .entry-tool{min-height:44px;color:var(--ink);font:inherit;letter-spacing:.06em;cursor:pointer;background:#fff7eab8;border:1px solid #4a3a522e;border-radius:999px;padding:0 18px;transition:background .14s,border-color .14s}.entry-select .entry-tool:hover{background:#fff7eaeb}.entry-select-body{grid-template-columns:minmax(0,680px) minmax(280px,1fr);gap:32px;margin-top:24px;display:grid}.entry-select h1{letter-spacing:.08em;margin:0;font-size:28px;font-weight:500;line-height:1.3}.entry-select .entry-progress{color:#5b4569;margin:8px 0 0;font-size:13px}.entry-chapter{margin-top:28px}.entry-chapter-head{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px;display:flex}.entry-chapter-head h2{letter-spacing:.06em;margin:0;font-size:20px;font-weight:500}.entry-chapter-head span,.entry-card-theme,.entry-card-status,.entry-preview-copy p:last-child{color:#5b4569}.entry-chapter-head span,.entry-card-theme,.entry-card-status{font-size:12px;line-height:1.6}.entry-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.entry-card{box-sizing:border-box;width:100%;min-height:224px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:#fff9f057;border:1px solid #4a3a522e;border-radius:16px;flex-direction:column;align-items:flex-start;gap:8px;padding:16px;transition:background .14s,border-color .14s;display:flex}.entry-card-next{background:#fff9f0a6;border:2px solid #5f9894;padding:15px}.entry-card-locked,.entry-card:disabled{cursor:default;opacity:1;background:#fff9f026;border-style:dashed}.entry-card-index{letter-spacing:.08em;font-size:16px}.entry-card-name{font-size:18px;font-weight:500;line-height:1.3}.entry-select .ratings{gap:7px;margin-top:4px}.entry-select .rating{color:#7a5f86;opacity:1;filter:none;box-sizing:border-box;width:20px;height:20px;padding:2px}.entry-select .rating.earned{color:#5b4569;filter:none;background:#ffd98a99;border-radius:999px}.entry-preview{align-self:start;position:sticky;top:16px}.entry-preview-stage{height:340px}.entry-select .stage{width:100%;height:100%;position:relative!important;inset:auto!important}.entry-preview-copy{text-align:center;margin-top:12px;animation:.24s entry-fade}.entry-preview-copy p{margin:0;font-size:16px}.entry-preview-copy p:last-child{margin-top:4px;font-size:12px}.entry-select button:focus-visible{outline-offset:3px;outline:3px solid #355e5b}@keyframes entry-fade{0%{opacity:0}to{opacity:1}}@media (width<=959px){.entry-select-frame{padding:calc(16px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left))}.entry-select-body{display:block}.entry-select h1{font-size:24px}.entry-chapter-head h2{font-size:18px}.entry-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-card{min-height:216px;padding:14px}.entry-card-next{padding:13px}.entry-card-status{white-space:normal}}@media (prefers-reduced-motion:reduce){.entry-select .entry-tool,.entry-select .entry-card{transition:none}.entry-preview-copy{animation:none}}.rating-item{color:var(--ink);align-items:center;gap:4px;font-size:12px;display:flex}.rating-item .rating{flex:none}.rating-check{color:#5b4569;margin-left:auto;font-size:12px}.entry-select .ratings{flex-direction:column;align-items:stretch;gap:6px;width:100%;display:flex}.entry-select .rating-item{flex-wrap:wrap}.entry-card-count{color:#5b4569;font-size:12px;line-height:1.6}.entry-card-heading{justify-content:space-between;align-items:baseline;gap:8px;width:100%;display:flex}.entry-card .ratings{border-top:1px solid #4a3a521f;gap:8px;margin-top:8px;padding-top:12px}.entry-card .rating-item{min-height:20px}.entry-card .entry-card-status{margin-top:auto}.result{width:min(440px,100% - 24px);max-height:calc(100svh - 112px - env(safe-area-inset-bottom));touch-action:pan-y;border-radius:24px;overflow-y:auto}.result-card h2{letter-spacing:.12em}.result .result-card{background:#fff9f0eb;gap:18px;padding:24px}.result .result-actions{width:100%;padding-top:4px}.result .result-actions button:first-child{background:var(--ink);color:#fff7ea}.result-card p{white-space:normal;text-align:center;color:#5b4569;line-height:1.6}.result-ratings{text-align:center;width:100%}.result-ratings h3{margin:0 0 8px;font-size:13px;font-weight:500}.result-ratings .ratings{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:8px;display:grid}.result-ratings .rating-item{flex-wrap:wrap;justify-content:center}.result-ratings .rating-check{margin-left:0}.result-ratings .rating.earned{color:#5b4569;filter:none;background:#ffd98a99;border-radius:999px}.result .result-actions{flex-wrap:wrap;justify-content:center}.journey-dialog{width:min(480px,100% - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));color:var(--ink);background:#fff7ea;border:1px solid #4a3a522e;border-radius:22px;padding:0;overflow:hidden}.journey-dialog[open]{flex-direction:column;display:flex}.journey-dialog::backdrop{background:#4a3a5285}.journey-heading{justify-content:space-between;align-items:center;gap:12px;padding:10px 18px;display:flex}.journey-heading h2{letter-spacing:.12em;margin:0;font-size:17px;font-weight:500}.journey-dialog button,.journey-actions a{min-height:44px;color:var(--ink);font:inherit;cursor:pointer;background:#fff2df;border:1px solid #4a3a5233;border-radius:24px;justify-content:center;align-items:center;padding:8px 16px;font-size:13px;text-decoration:none;display:inline-flex}.journey-dialog button:disabled{opacity:.6;cursor:wait}.journey-body{overscroll-behavior:contain;min-height:0;padding:0 18px;overflow:auto}.journey-image{border-radius:16px;width:100%;height:auto;display:block}.journey-pending{text-align:center;min-height:160px;padding:28px 0;font-size:14px}.journey-render{pointer-events:none;position:fixed;top:0;left:-12000px}.journey-footer{padding:12px 18px}.journey-actions{flex-wrap:wrap;gap:10px;display:flex}.journey-footer p{margin:8px 0 0;font-size:12px;line-height:1.6}.journey-footer .journey-notice:empty{display:none}.entry-select-tools,.ending-message .title-actions{flex-wrap:wrap}.entry-links{flex-wrap:wrap;order:3;gap:12px;width:100%;display:flex}.entry-title .entry-links .entry-secondary{flex:1;min-width:0}@media (width<=959px){.entry-links{width:min(320px,100%)}}.ending-message button{white-space:nowrap}.journey-load-notice{flex-basis:100%;font-size:12px;line-height:1.6}
