:root{color-scheme:dark;--bg:#101714;--surface:#19241f;--line:#39483d;--ink:#eae7d9;--muted:#a9b4a8;--accent:#d2b779;--soft:#222e26;--serif:"Noto Serif KR","Nanum Myeongjo","Batang","Georgia",serif;font:16px/1.55 "Pretendard","Malgun Gothic","Apple SD Gothic Neo",system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 45% -10%,#27382b,transparent 55%),var(--bg);color:var(--ink);min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer;color:var(--ink);background:var(--soft);border:1px solid var(--line);border-radius:4px;padding:.58rem .92rem;text-align:center;transition:background .15s,border-color .15s}button:hover:not(:disabled){background:#344537;border-color:#8b956f}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #e5cd85;outline-offset:3px}button:disabled{opacity:.43;cursor:default}.primary{background:#d3b87d;border-color:#d3b87d;color:#21251d;font-weight:750}.primary:hover:not(:disabled){background:#edcf8d}.plain{background:transparent}.wide{width:100%}.danger{color:#f0b1a5}.small{font-size:.83rem;padding:.4rem .68rem}.wrap{max-width:1512px;padding:0 clamp(18px,4vw,74px) 40px;margin:auto}.mast{min-height:74px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:1rem}.brand{display:flex;gap:.8rem;align-items:center}.seal{position:relative;display:grid;place-items:center;width:38px;height:38px;color:#d5bc80;font:29px Georgia;border:1px solid #b7a473;outline:1px solid #706c4c;outline-offset:-5px;transform:rotate(45deg);margin:0 7px}.seal i{font-style:normal;transform:rotate(-45deg)}.brand strong{font:700 1.15rem var(--serif);letter-spacing:.08em}.latin,.eyebrow{font:600 .73rem/1.4 Georgia,serif;letter-spacing:.19em;color:var(--accent)}.brand small{display:block;color:var(--muted);font-size:.63rem;letter-spacing:.18em}.mast .right,.row,.actions,.chips,.tabrow{display:flex;gap:.55rem;align-items:center;flex-wrap:wrap}.right{justify-content:flex-end}.hero{isolation:isolate;position:relative;border:1px solid #475047;overflow:hidden;display:flex;align-items:center;min-height:clamp(340px,32vw,505px);margin:25px 0 0;background:#101c19}.hero:before{content:"";position:absolute;z-index:-2;inset:0;background:url(/art/manor.webp) center right / auto 130% no-repeat}.hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#122019 0%,rgba(18,31,25,.97) 25%,rgba(18,31,25,.48) 49%,transparent 68%)}.hero-copy{max-width:570px;padding:clamp(28px,4vw,64px)}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);line-height:1.35}h1{font-size:clamp(3.4rem,5.3vw,6.4rem);letter-spacing:-.085em;margin:.55rem 0}.hero-copy>p{margin:.8rem 0 1.6rem;color:#ccd2c5;line-height:1.75}.hero .actions button{padding:.7rem 1.4rem}.sectionhead{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin:27px 0 13px}.sectionhead h2{font-size:1.55rem;letter-spacing:-.04em}.sectionhead span,.sub,.muted{color:var(--muted);font-size:.88rem}.casegrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.case{position:relative;display:block;overflow:hidden;padding:0;text-align:left;background:var(--surface);border-color:var(--line)}.case img{width:100%;height:clamp(98px,9vw,165px);object-fit:cover;display:block}.case .caseinfo{padding:14px 19px;display:flex;justify-content:space-between;align-items:center}.case h3{font-size:1.25rem;margin:.15rem 0}.case.active{border-color:var(--accent);box-shadow:inset 0 -2px var(--accent)}.case.active .choice{color:#e4cca0}.choice{font-size:.79rem;color:var(--muted)}.foot{display:flex;justify-content:space-between;gap:15px;margin-top:22px;color:var(--muted);font-size:.78rem}.panel,.side,.tray,.surface{background:var(--surface);border:1px solid var(--line);border-radius:5px}.panel,.side,.tray{padding:18px}.room-top{display:flex;justify-content:space-between;align-items:end;margin:22px 0 15px;gap:1rem}.room-top h1{font-size:2.35rem;letter-spacing:-.05em;margin:.25rem 0 0}.desk{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,335px);align-items:start;gap:16px}.board{min-width:0}.side{position:sticky;top:10px;display:grid;gap:13px}.boardtop,.spread,.tilehead{display:flex;align-items:center;justify-content:space-between;gap:.65rem}.spread{flex-wrap:wrap}.panel+.panel,.tray{margin-top:14px}.board>.panel:first-child{margin-top:0}.storyrow{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.story{text-align:left;display:block;padding:.75rem 1rem;border-left:3px solid #a5bd9a}.story.agenda{border-left-color:#bd9479}.story b{display:block;font-family:var(--serif);font-size:1rem}.boardmap{background:radial-gradient(ellipse at center,#2e3c31,#1c2924 70%);border:1px solid var(--line);padding:16px;display:flex;gap:14px;flex-wrap:wrap;min-height:150px;align-items:center;justify-content:center}.location{width:clamp(135px,19%,222px);min-height:100px;padding:11px;background:linear-gradient(#34443a,#1c2923);border:1px solid #65715e;border-top:2px solid #929c72;color:#e4e7d8;line-height:1.45}.location strong{display:block;font:700 1.05rem var(--serif);margin:.35rem 0}.location small{color:var(--muted);font-size:.77rem}.location.here{border-color:#d1b778;box-shadow:0 0 0 2px #9a845534}.location .symbol{font-size:1.3rem;color:var(--accent)}.divider{border:0;border-top:1px solid var(--line);width:100%;margin:7px 0}.chip{display:inline-block;border:1px solid #536154;border-radius:20px;padding:.18rem .65rem;font-size:.78rem;color:#c1cbbc}.highlight{color:var(--accent)}.side h2,.panel h2,.tray h2{font-size:1.23rem}.big{font-size:1.35rem}.btnGrid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.btnGrid button{padding:.6rem .3rem;font-size:.91rem}.hand{display:flex;gap:9px;overflow-x:auto;padding:9px 1px}.playing{flex:0 0 147px;min-height:136px;text-align:left;display:flex;flex-direction:column;justify-content:space-between;gap:7px;padding:12px;background:linear-gradient(145deg,#304034,#202a24);border-top:3px solid var(--color,#a89971)}.playing strong{font:700 1.06rem/1.45 var(--serif)}.playing .type{color:#ced2bf;font-size:.76rem}.playing .pip{color:var(--accent);font-size:.76rem}.f-guardian{--color:#7ba7c4}.f-seeker{--color:#d5a564}.f-rogue{--color:#88ad7d}.f-mystic{--color:#b998c7}.f-survivor{--color:#c38b7d}.listitem{display:block;width:100%;text-align:left;margin:6px 0}.helptext,.hint{font-size:.9rem;color:#bcc7bb;line-height:1.65;white-space:pre-line}.hint{padding:.65rem .85rem;background:#233529;border-left:2px solid #9f9e75}.steps{padding-left:1.4rem}.steps li{margin:.5rem 0}.stats{display:flex;gap:8px;flex-wrap:wrap}.stats span{color:#c5cbbb;font-size:.84rem}.line{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid var(--line)}.line:last-child{border:0}.num{display:flex;gap:8px;align-items:center;font-variant-numeric:tabular-nums}.num button{padding:.13rem .55rem}.log{list-style:none;padding:0;margin:0}.log li{padding:.4rem 0;border-bottom:1px solid var(--line);color:#c3ccbe;font-size:.86rem}.token{margin:14px auto;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,#5f5b42,#262f26 70%);border:3px double var(--accent);color:#f3da9d;width:90px;height:90px;font:700 1.5rem var(--serif)}.lounge{max-width:760px;margin:42px auto}.lounge h1{font-size:2.6rem}.code{font:700 1.55rem Georgia,serif;letter-spacing:.17em;color:var(--accent)}dialog{width:min(560px,94vw);max-height:86dvh;overflow:auto;border:1px solid #7a8068;border-radius:7px;background:#1c2922;color:var(--ink);padding:24px;box-shadow:0 22px 100px #000a}dialog::backdrop{background:#08100cba}dialog h2{font-size:1.6rem;margin:.2rem 0 12px}dialog h3{font-size:1.1rem;margin:14px 0 7px}dialog p{margin:.55rem 0;white-space:pre-line}dialog .actions,dialog .btnGrid{margin:12px 0}#close{margin-top:14px}label{display:block;margin:.7rem 0;color:#cdd3c5;font-size:.9rem}input:not([type=checkbox]),select,textarea{display:block;width:100%;min-height:43px;margin-top:4px;padding:7px 10px;color:var(--ink);background:#111c15;border:1px solid #566653;border-radius:4px}input[type=checkbox]{accent-color:var(--accent);width:17px;height:17px;vertical-align:middle}fieldset{border:1px solid var(--line);margin:12px 0;padding:8px 13px}.error{color:#ffb3a2;font-size:.92rem}.hidden{display:none!important}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);max-width:min(530px,90vw);background:#e0d0ab;color:#20271d;border-radius:5px;padding:8px 16px;box-shadow:0 2px 15px #0008;z-index:30}#toast:empty{display:none}.tag{font:.72rem Georgia,serif;color:var(--accent);letter-spacing:.1em}.lounge .row{margin:12px 0}.hero strong{font-weight:normal}.testbox{border-color:#a08a5b}.shelf{margin-top:8px}.shelf:empty{display:none}.strip{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}a{color:var(--accent)}@media(min-width:1600px){.hero{min-height:480px}}@media(max-width:900px){.desk{grid-template-columns:minmax(0,1fr) 258px}.wrap{padding-inline:18px}.mast{min-height:64px}.side,.panel,.tray{padding:13px}.location{width:140px}}@media(max-width:700px){.desk{display:flex;flex-direction:column}.board,.side{width:100%}.side{position:static;order:-1}.casegrid{gap:6px}.case .caseinfo{padding:7px;display:block}.case h3{font-size:1rem}.case img{height:70px}.hero{min-height:330px}.hero:before{background-size:auto 100%;opacity:.63}.hero-copy{padding:22px}.hero:after{background:linear-gradient(90deg,#122019ec,transparent)}.foot{display:block}.room-top{align-items:center}.mast .latin{display:none}.room-top h1{font-size:1.7rem}.wrap{padding-inline:12px}}
.switcher{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem}.switcher span{font-size:.85rem;color:var(--muted)}.switcher .primary:disabled{opacity:1;color:#21251d}#partner-label[hidden]{display:none}
