:root{--npc-paper: #f3e8d2;--npc-ink: #3b2b22;--npc-brown: #754c33;--npc-line: #ae9167;--npc-light: #fcf5e7}body{margin:0;min-height:100dvh;display:grid;place-items:center;padding:1rem;box-sizing:border-box;background:#241d18;color:var(--npc-ink);font:1rem/1.4 Georgia,serif}.npc-portal{width:min(100%,674px);min-height:530px;box-sizing:border-box;background:var(--npc-paper);border:1px solid var(--npc-line);border-radius:8px;box-shadow:0 20px 55px #08040380,inset 0 0 0 3px #f8f0e0;display:flex;flex-direction:column;overflow:hidden}.npc-embedded body{padding:0;display:block;background:var(--npc-paper)}.npc-embedded .npc-portal{width:100%;min-height:100dvh;border:0;border-radius:0;box-shadow:none}.npc-portal [hidden]{display:none!important}.npc-portal-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.55rem clamp(1rem,4vw,1.55rem);border-bottom:1px solid #cfba96;background:#e9d9bd;font-size:1.35rem;font-weight:700}.npc-portal-close{display:grid;place-items:center;width:2.5rem;height:2.5rem;font:1.5rem/1 Georgia,serif;text-decoration:none;color:var(--npc-ink);background:#f4e7d0;border:1px solid #a78961;border-radius:4px}.npc-stage{padding:clamp(1rem,4vw,1.6rem);display:flex;flex:1;flex-direction:column;min-width:0}.npc-stage h1,.npc-stage h2{font-size:clamp(1.85rem,6vw,2.6rem);line-height:1.06;letter-spacing:-.025em;margin:0 0 .6rem}.npc-main-action{min-height:2.75rem;padding:.55rem 1.2rem;border:1px solid #765431;border-radius:4px;background:var(--npc-brown);font:700 1rem/1.3 Georgia,serif;color:#fff6e4;cursor:pointer}.npc-main-action:disabled{border-color:#bdab8d;background:#e4d6bf;color:#625342;cursor:default}.npc-portal a{color:#694325}.npc-portal :focus-visible{outline:2px solid #7f452c;outline-offset:3px}.npc-portal input{accent-color:#754c33}
