.unfolded-lights{--fold-ink:#4f3a2d;--fold-paper:#f8da9f;background:#f7f4ed}.unfolded-lights main{max-width:1180px;padding:14px 22px 36px}.unfolded-lights header{max-width:1180px;padding:8px 22px;min-height:64px;height:auto}.unfolded-lights main>.heading{display:none}.unfolded-lights main>nav{margin-bottom:12px}.unfolded-lights .study-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 14px;background:#fffaf0;border:1px solid #ddcbb5;border-radius:14px;margin-bottom:14px;min-height:60px}.unfolded-lights .study-toolbar strong{font-size:20px}.unfolded-lights button{touch-action:manipulation;min-height:46px;line-height:1.45}.unfolded-lights [aria-disabled=true]{background:#e5ebee;color:#46596b;border-color:#8b9ca8;cursor:help}.unfolded-lights button:focus-visible,.unfolded-lights .paper-scroll:focus-visible{outline:3px solid #176b91;outline-offset:3px}.fold-workbench{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:22px;align-items:start}.fold-reference,.fold-answer{min-width:0;padding:20px;border:1px solid #dfd8cb;border-radius:20px;background:#fff;box-shadow:0 4px 16px #73573c08}.fold-reference{background:#fffaf2}.fold-workbench h2{font-size:21px;line-height:1.5;margin:0 0 14px}.fold-rule,.given-note{font-size:15px;line-height:1.65}.fold-rule{padding:12px;background:#f1ebe1;border-radius:12px}.fold-caption{text-align:center;line-height:1.5;font-size:14px;font-weight:700}.fold-story{border-top:1px solid #dfd8cb;padding-top:8px}.fold-story summary{cursor:pointer;padding:9px 0;min-height:44px}.fold-story img{display:block;width:100%;height:auto;border-radius:12px}.paper-scroll{max-width:100%;overflow:auto;overscroll-behavior:contain;padding:12px 8px;scrollbar-width:thin}.paper-stage{position:relative;width:240px;height:240px;min-width:240px;margin:18px auto 8px;perspective:850px;isolation:isolate;background:radial-gradient(ellipse,#d3bd9850,transparent 72%)}.paper-top{position:absolute;top:-23px;left:0;right:0;text-align:center;font-size:12px;font-weight:800;color:#765338}.paper-half{position:absolute;filter:drop-shadow(0 4px 3px #48301f22);transform-style:preserve-3d}.paper-half svg{display:block;width:100%;height:100%;overflow:hidden;backface-visibility:visible}.vertical .paper-half{width:50%;height:100%;top:0}.vertical .fixed-half{left:50%}.vertical .moving-half{left:0;transform-origin:100% 50%}.horizontal .paper-half{width:100%;height:50%;left:0}.horizontal .fixed-half{top:50%}.horizontal .moving-half{top:0;transform-origin:50% 100%}.moving-half{z-index:2}.vertical.is-folded:not(.is-flat) .moving-half{transform:rotateY(180deg)}.horizontal.is-folded:not(.is-flat) .moving-half{transform:rotateX(-180deg)}.crease{position:absolute;z-index:3;pointer-events:none}.vertical .crease{left:50%;top:0;height:100%;border-left:3px dashed #81583b}.horizontal .crease{top:50%;left:0;width:100%;border-top:3px dashed #81583b}.fold-arrow{position:absolute;z-index:5;font-size:58px;color:#305e6b;line-height:1;pointer-events:none}.vertical .fold-arrow{left:29%;top:22%}.horizontal .fold-arrow{left:43%;top:26%}.prediction-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.prediction-heading h3{font-size:18px;margin:0}.mark-count{font-size:13px;white-space:nowrap;color:#526675}.prediction-grid{display:grid;grid-template-columns:repeat(4,52px);grid-template-rows:repeat(4,52px);width:208px;min-width:208px;isolation:isolate;margin:0 auto;border:2px solid #765338;border-radius:3px;background:#fff8e9;box-sizing:content-box}.unfolded-lights .prediction-cell{margin:0;padding:0;border:1px solid #c4a477;border-radius:0;min-width:52px;max-width:52px;min-height:52px;max-height:52px;position:relative;display:grid;place-items:center;box-sizing:border-box;font-size:26px;background:#fffaf1;color:#304a76;box-shadow:none}.unfolded-lights .prediction-cell.known{background:#f3d9a9}.unfolded-lights .prediction-cell:disabled{opacity:1;cursor:default}.unfolded-lights .prediction-cell[aria-pressed=true]{background:#ebf4f6;box-shadow:inset 0 0 0 3px #2e7182}.unfolded-lights .prediction-cell.crease-right{border-right:3px dashed #765338}.unfolded-lights .prediction-cell.crease-bottom{border-bottom:3px dashed #765338}.hole-symbol{display:block;width:18px;height:18px;border-radius:50%;background:#594433;box-shadow:inset 0 2px 3px #382617,0 0 0 2px #fff9e7}.guess-symbol{position:absolute;inset:6px;border:2px dashed #2b657c;display:grid;place-items:center;border-radius:6px;font-size:21px;font-weight:800}.actual.is-marked .guess-symbol{color:#216852;place-items:start end;font-size:15px;border-color:#216852}.grid-key{display:flex;justify-content:center;gap:7px;align-items:center;font-size:12px;margin:3px 0 12px}.legend-guess{border:1px dashed #2b657c;border-radius:3px;padding:0 3px;color:#2b657c}.legend-hole{color:#594433;margin-left:9px}.fold-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.fold-hint-controls{margin-top:18px}.fold-answer .hint{margin-top:9px;padding:12px 15px}.fold-answer .hint p{margin:5px 0;font-size:15px}.unfolded-lights .rep-action-help{margin:12px 0;padding:10px 12px}.unfolded-lights .rep-next-reason{margin:0!important}.motion-status,.input-notice{font-size:14px;line-height:1.6;color:#37536a;background:#edf3f5;border-radius:9px;padding:9px 12px}.unfolded-lights .help-row{justify-content:flex-end;margin-top:16px}.unfolded-lights .rep-play-status{font-size:13px;color:#526675}.fold-complete{text-align:center;padding:28px 16px;background:#fffaf0;border:1px solid #e0c399;border-radius:24px}.fold-complete h2{font-size:27px}.lit-window{max-width:370px;margin:20px auto;background:radial-gradient(circle,#fffad0,#e9bd7444);border:12px solid #99734f;border-radius:80px 80px 10px 10px;padding:16px}.lit-window .paper-stage{perspective:none}.lit-window .paper-half{filter:drop-shadow(0 0 8px #fff5ae)}.lit-window .paper-half circle{fill:#fffde1;stroke:#ffe78b}.lit-window .paper-top,.lit-window .crease,.lit-window .fold-caption{display:none}.lit-window .paper-half path{opacity:.35}.unfolded-lights .foot{font-size:13px}.unfolded-lights .finish{max-width:700px;margin:auto}.unfolded-lights .finish>.seal,.unfolded-lights .finish>[data-do=stamp]{display:none}
@media(max-width:760px){.unfolded-lights main{padding:10px 14px 30px}.unfolded-lights header{padding:8px 14px}.fold-workbench{grid-template-columns:minmax(0,1fr);gap:14px}.fold-reference,.fold-answer{padding:15px}.fold-reference .paper-stage{width:208px;height:208px;min-width:208px}.fold-reference h2{font-size:18px}.fold-workbench h2{font-size:20px}.unfolded-lights .study-toolbar{min-height:0;align-items:flex-start;flex-wrap:wrap}.unfolded-lights .study-toolbar strong{font-size:18px}.fold-reference .fold-rule{margin:8px 0}.fold-caption{margin:4px 0}.unfolded-lights .study-toolbar button{font-size:13px}.unfolded-lights header .brand .corgi{--corgi-size:36px}.unfolded-lights header .tools{gap:5px}.unfolded-lights header button,.unfolded-lights header select{font-size:13px}.unfolded-lights header [data-do=dictionary]{max-width:90px}.unfolded-lights .prediction-grid{margin-inline:auto}}
@media(max-width:360px){.unfolded-lights main{padding:8px 10px 24px}.fold-reference,.fold-answer{padding:12px}.unfolded-lights .prediction-heading{align-items:flex-start}.unfolded-lights .study-toolbar{padding:9px}.unfolded-lights header .brand span{font-size:17px}.lit-window{padding:8px;border-width:8px}.fold-complete{padding:20px 8px}}
@media(prefers-reduced-motion:reduce){.unfolded-lights *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.unfolded-lights .paper-stage{width:208px;height:208px;min-width:208px}.unfolded-lights .paper-scroll{box-sizing:border-box}
