.notif-menu{position:relative;display:inline-flex;align-items:center;flex:0 0 auto;color:var(--header-fg)}.notif-badge{position:absolute;top:-4px;right:-4px;display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 4px;border-radius:999px;color:var(--accent-fg);background:var(--accent);font-size:10px;font-weight:700;line-height:1;pointer-events:none}.modal.notifications-dialog{width:min(520px,100%);max-width:520px;max-height:min(80dvh,640px);color:var(--ink);background:var(--bg);border:1px solid var(--line2)}.notifications-announcement{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.notifications-list{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}.notification-card{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border:1px solid var(--line);border-left:4px solid var(--gold);border-radius:var(--radius);color:var(--ink);background:var(--paper)}.notification-card p{margin:0}.notification-actions{display:flex;flex-wrap:wrap;gap:8px}.modal.accept-invitation-modal{width:min(480px,100%);max-width:480px;color:var(--ink);background:var(--bg);border:1px solid var(--line2)}.accept-invitation-list{display:grid;gap:8px;max-height:320px;margin-bottom:12px;overflow-y:auto}.accept-invitation-option{display:grid;gap:4px;padding:10px 12px;border:1px solid var(--line2);border-radius:var(--radius-sm);color:inherit;background:var(--paper);font:inherit;text-align:left;cursor:pointer}.accept-invitation-option:hover:not(:disabled){background:var(--paper2)}.accept-invitation-option-selected{border-color:color-mix(in srgb,var(--accent) 45%,var(--line));background:var(--accent-soft)}.accept-invitation-option:disabled{cursor:default;opacity:.6}.accept-invitation-option-name{font-weight:700}.accept-invitation-option-hint{color:var(--muted);font-size:.84rem}.accept-invitation-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}@media(forced-colors:active){.notif-badge{color:ButtonText;background:Canvas;border:1px solid ButtonText;forced-color-adjust:none}.modal.notifications-dialog,.modal.accept-invitation-modal,.notification-card,.accept-invitation-option{border:2px solid ButtonText;forced-color-adjust:auto}.accept-invitation-option-selected{outline:2px solid Highlight;outline-offset:-2px}}.guided-tour-overlay{position:fixed;inset:0;z-index:30;pointer-events:none}.guided-tour-shade-layer,.guided-tour-hit-test-layer{position:fixed;inset:0;z-index:0}.guided-tour-shade-layer{pointer-events:none}.guided-tour-shade{position:fixed;z-index:0;pointer-events:none;background:#180d10a3}.guided-tour-target-outline{position:fixed;z-index:1;top:var(--guided-tour-top);right:calc(100vw - var(--guided-tour-right));bottom:calc(100vh - var(--guided-tour-bottom));left:var(--guided-tour-left);pointer-events:none;border:2px solid var(--guided-tour-gold, #d7a84f);border-radius:max(.35rem,var(--radius-sm, .35rem));box-shadow:0 0 0 3px #d7a84f2e}.guided-tour-shade-layer:not(.guided-tour-shade-layer-missing) .guided-tour-shade-full,.guided-tour-shade-layer-missing .guided-tour-shade:not(.guided-tour-shade-full),.guided-tour-hit-test-layer:not(.guided-tour-hit-test-layer-missing) .guided-tour-hit-test-full,.guided-tour-hit-test-layer-missing .guided-tour-hit-test:not(.guided-tour-hit-test-full){display:none}.guided-tour-shade-top{inset:0 0 auto;height:var(--guided-tour-top)}.guided-tour-shade-left{top:var(--guided-tour-top);bottom:calc(100vh - var(--guided-tour-bottom));left:0;width:var(--guided-tour-left)}.guided-tour-shade-right{top:var(--guided-tour-top);right:0;bottom:calc(100vh - var(--guided-tour-bottom));width:calc(100vw - var(--guided-tour-right))}.guided-tour-shade-bottom{inset:var(--guided-tour-bottom) 0 0}.guided-tour-shade-full{inset:0}.guided-tour-hit-test-layer{pointer-events:none}.guided-tour-hit-test{position:fixed;z-index:0;pointer-events:auto;background:transparent}.guided-tour-hit-test-top{inset:0 0 auto;height:var(--guided-tour-top)}.guided-tour-hit-test-left{top:var(--guided-tour-top);bottom:calc(100vh - var(--guided-tour-bottom));left:0;width:var(--guided-tour-left)}.guided-tour-hit-test-right{top:var(--guided-tour-top);right:0;bottom:calc(100vh - var(--guided-tour-bottom));width:calc(100vw - var(--guided-tour-right))}.guided-tour-hit-test-bottom{inset:var(--guided-tour-bottom) 0 0}.guided-tour-hit-test-full{inset:0}.guided-tour-shade-layer-transition .guided-tour-shade{transition:top .25s ease,right .25s ease,bottom .25s ease,left .25s ease,width .25s ease,height .25s ease}.guided-tour-card{position:fixed;z-index:1;right:max(1rem,env(safe-area-inset-right));bottom:max(1rem,env(safe-area-inset-bottom));width:min(27rem,calc(100vw - 2rem));max-height:min(28rem,calc(100vh - 2rem));overflow:auto;padding:1.2rem 1.3rem 1.1rem;color:var(--text, #211b16);background:var(--guided-tour-paper, var(--paper, #fffaf0));border:1px solid var(--guided-tour-border, var(--border-strong, #8f806d));border-top:3px solid var(--guided-tour-crimson, #8e2737);border-radius:var(--radius, .5rem);box-shadow:0 .5rem 2rem #00000047;pointer-events:auto}.guided-tour-eyebrow{margin:0 2.3rem .28rem 0;color:var(--guided-tour-crimson, #8e2737);font-size:.68rem;font-weight:800;letter-spacing:.12em;line-height:1.25;text-transform:uppercase}.guided-tour-card h2{margin:0 2rem .55rem 0;color:var(--heading, var(--text, #211b16));font-family:Georgia,Times New Roman,serif;font-size:1.32rem;line-height:1.2}.guided-tour-body{line-height:1.5}.guided-tour-body p{margin:0 0 .5rem}.guided-tour-body p:last-child{margin-bottom:0}.guided-tour-body ul{margin:0 0 .5rem;padding-left:1.1rem}.guided-tour-body li{margin:0 0 .3rem}.guided-tour-progress-row{display:flex;align-items:center;gap:.65rem;margin:0 2rem .55rem 0}.guided-tour-progress{margin:0;color:var(--muted, #665d53);font-size:.76rem;font-weight:750;white-space:nowrap}.guided-tour-progress-track{display:block;flex:1;height:.3rem;overflow:hidden;background:color-mix(in srgb,var(--guided-tour-crimson, #8e2737) 16%,transparent);border-radius:999px}.guided-tour-progress-track span{display:block;width:var(--guided-tour-progress, 0%);height:100%;background:var(--guided-tour-crimson, #8e2737);border-radius:inherit}.guided-tour-status{min-height:1.25em;margin:.65rem 0 0;color:var(--muted, #665d53);font-size:.85rem}.guided-tour-status:empty{display:none}.guided-tour-close{position:absolute;top:.55rem;right:.6rem;min-width:2rem;min-height:2rem;padding:0;color:inherit;background:transparent;border:0;font-size:1.5rem;line-height:1;cursor:pointer}.guided-tour-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-top:.8rem}.guided-tour-actions button{min-height:2.45rem;padding:.5rem .78rem;color:inherit;background:transparent;border:1px solid var(--guided-tour-border, var(--border-strong, #8f806d));border-radius:var(--radius-sm, .35rem);font:inherit;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,transform .16s ease}.guided-tour-actions button:hover{border-color:var(--guided-tour-crimson, #8e2737);background:#8e273712;transform:translateY(-1px)}.guided-tour-actions button:focus-visible{outline:2px solid var(--guided-tour-gold, #d7a84f);outline-offset:2px}.guided-tour-advance{color:var(--accent-fg, #fff)!important;background:var(--guided-tour-crimson, var(--accent, #8e2737))!important;border-color:var(--guided-tour-crimson, var(--accent, #8e2737))!important;font-weight:750!important}.guided-tour-skip{margin-left:auto;border-color:transparent!important;color:var(--muted, #665d53)!important}@media(prefers-reduced-motion:reduce){.guided-tour-actions button,.guided-tour-shade{transition:none!important}.guided-tour-actions button:hover{transform:none}}@media(forced-colors:active){.guided-tour-shade{background:CanvasText;opacity:.62}.guided-tour-target-outline{border:2px solid Highlight;box-shadow:none}.guided-tour-card{color:CanvasText;background:Canvas;border:2px solid CanvasText;box-shadow:none}.guided-tour-eyebrow,.guided-tour-card h2{color:CanvasText}.guided-tour-advance{color:ButtonText!important;background:ButtonFace!important;border-color:ButtonText!important}}@media(max-width:520px){.guided-tour-card{right:.5rem;bottom:.5rem;width:calc(100vw - 1rem);max-height:calc(100vh - 1rem);padding:1rem}.guided-tour-actions{align-items:stretch}.guided-tour-actions button{flex:1 1 auto}.guided-tour-skip{flex:0 0 auto!important;margin-left:0}}.class-reference-page .modal-body{overflow:visible;max-height:none}.class-reference-page .modal-head{position:static}.class-progression{width:100%;border-collapse:collapse;font-size:.9rem;margin:8px 0 16px}.class-progression th,.class-progression td{padding:5px 8px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}.class-progression th:first-child,.class-progression td:first-child{width:4rem}.entity-level-row{margin-top:16px;scroll-margin-top:100px}.class-feature-text{margin:6px 0 14px}.class-reference-page .modal-title h1{font-size:1.5rem;margin:0}@media(max-width:640px){.class-progression{font-size:.8rem}.class-progression th,.class-progression td{padding:4px;overflow-wrap:anywhere}}@font-face{font-family:Cinzel;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/cinzel-latin-ext-400-normal-XQK_CSAr.woff2) format("woff2"),url(/assets/cinzel-latin-ext-400-normal-DJ0Lq8y-.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cinzel;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/cinzel-latin-400-normal-DnUIPmzd.woff2) format("woff2"),url(/assets/cinzel-latin-400-normal-C8jUSQqm.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Cinzel;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/cinzel-latin-ext-600-normal-BEFdM_VE.woff2) format("woff2"),url(/assets/cinzel-latin-ext-600-normal-BY9Mq9iK.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cinzel;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/cinzel-latin-600-normal-Dd5YO2UX.woff2) format("woff2"),url(/assets/cinzel-latin-600-normal-CH_LB4su.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Cinzel;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/cinzel-latin-ext-700-normal-C24KFjuG.woff2) format("woff2"),url(/assets/cinzel-latin-ext-700-normal-CORa-yIv.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cinzel;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/cinzel-latin-700-normal-Dkw14w9r.woff2) format("woff2"),url(/assets/cinzel-latin-700-normal-C-gK7hA8.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/eb-garamond-cyrillic-ext-400-normal-o8fRvAFQ.woff2) format("woff2"),url(/assets/eb-garamond-cyrillic-ext-400-normal-DG8lny6_.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/eb-garamond-cyrillic-400-normal-DDLP67lu.woff2) format("woff2"),url(/assets/eb-garamond-cyrillic-400-normal-C0kVTdou.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/eb-garamond-greek-ext-400-normal-K8pwR3tn.woff2) format("woff2"),url(/assets/eb-garamond-greek-ext-400-normal-BaZl8BIK.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/eb-garamond-greek-400-normal-CVAbzS9p.woff2) format("woff2"),url(/assets/eb-garamond-greek-400-normal-d4JlP2QH.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/eb-garamond-vietnamese-400-normal-CLvJdMEL.woff2) format("woff2"),url(/assets/eb-garamond-vietnamese-400-normal-ifvNSiWx.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/eb-garamond-latin-ext-400-normal-o4A__6QZ.woff2) format("woff2"),url(/assets/eb-garamond-latin-ext-400-normal-B4EmgUmt.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/eb-garamond-latin-400-normal-BCNrxLz_.woff2) format("woff2"),url(/assets/eb-garamond-latin-400-normal-maQnHeKB.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/eb-garamond-cyrillic-ext-500-normal-DcO3I2lp.woff2) format("woff2"),url(/assets/eb-garamond-cyrillic-ext-500-normal-I3TfTkSf.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/eb-garamond-cyrillic-500-normal-c5LjvaqX.woff2) format("woff2"),url(/assets/eb-garamond-cyrillic-500-normal-CLHyttEY.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/eb-garamond-greek-ext-500-normal-DkhmZW4r.woff2) format("woff2"),url(/assets/eb-garamond-greek-ext-500-normal-CMJ7zNBO.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/eb-garamond-greek-500-normal-BtA0fbXC.woff2) format("woff2"),url(/assets/eb-garamond-greek-500-normal-BjSCMh1N.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/eb-garamond-vietnamese-500-normal-BCT1_K6u.woff2) format("woff2"),url(/assets/eb-garamond-vietnamese-500-normal-B0TRhMco.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/eb-garamond-latin-ext-500-normal-BFuc0jzo.woff2) format("woff2"),url(/assets/eb-garamond-latin-ext-500-normal-obw7ZvB_.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/eb-garamond-latin-500-normal-DehAIUv0.woff2) format("woff2"),url(/assets/eb-garamond-latin-500-normal-DZU8xF9o.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/eb-garamond-cyrillic-ext-600-normal-cjIjEMm6.woff2) format("woff2"),url(/assets/eb-garamond-cyrillic-ext-600-normal-b6vuEf1e.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/eb-garamond-cyrillic-600-normal-CHfC3jm-.woff2) format("woff2"),url(/assets/eb-garamond-cyrillic-600-normal-koFutDBv.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/eb-garamond-greek-ext-600-normal-B6KG6Acg.woff2) format("woff2"),url(/assets/eb-garamond-greek-ext-600-normal-DzPSPp8W.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/eb-garamond-greek-600-normal--vWuDlyL.woff2) format("woff2"),url(/assets/eb-garamond-greek-600-normal-JScKXZBq.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/eb-garamond-vietnamese-600-normal-Dmi8L14S.woff2) format("woff2"),url(/assets/eb-garamond-vietnamese-600-normal-DgZMCD0h.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/eb-garamond-latin-ext-600-normal-CrweTMKz.woff2) format("woff2"),url(/assets/eb-garamond-latin-ext-600-normal-CoWPx8v4.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/eb-garamond-latin-600-normal-DHwxsLHv.woff2) format("woff2"),url(/assets/eb-garamond-latin-600-normal-xCe6GkOx.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:EB Garamond;font-style:italic;font-display:swap;font-weight:400;src:url(/assets/eb-garamond-cyrillic-ext-400-italic-Bz1w3xqM.woff2) format("woff2"),url(/assets/eb-garamond-cyrillic-ext-400-italic-CYS3phfl.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:EB Garamond;font-style:italic;font-display:swap;font-weight:400;src:url(/assets/eb-garamond-cyrillic-400-italic-BGIwiowF.woff2) format("woff2"),url(/assets/eb-garamond-cyrillic-400-italic-BZInx2ys.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:EB Garamond;font-style:italic;font-display:swap;font-weight:400;src:url(/assets/eb-garamond-greek-ext-400-italic-CHZOQEtG.woff2) format("woff2"),url(/assets/eb-garamond-greek-ext-400-italic-BL1XYHtS.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:EB Garamond;font-style:italic;font-display:swap;font-weight:400;src:url(/assets/eb-garamond-greek-400-italic-Dqr5KC66.woff2) format("woff2"),url(/assets/eb-garamond-greek-400-italic-BamGE6QP.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:EB Garamond;font-style:italic;font-display:swap;font-weight:400;src:url(/assets/eb-garamond-vietnamese-400-italic-DQ8HKnks.woff2) format("woff2"),url(/assets/eb-garamond-vietnamese-400-italic-ORtyMVfw.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:EB Garamond;font-style:italic;font-display:swap;font-weight:400;src:url(/assets/eb-garamond-latin-ext-400-italic-V7s3nWfX.woff2) format("woff2"),url(/assets/eb-garamond-latin-ext-400-italic-DUSsnRSD.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:EB Garamond;font-style:italic;font-display:swap;font-weight:400;src:url(/assets/eb-garamond-latin-400-italic-DSEbMgZu.woff2) format("woff2"),url(/assets/eb-garamond-latin-400-italic-CDFyLPXJ.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.species-art-gallery{margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--border, #b5a795)}.species-art-gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:1.25rem}.species-art-gallery figure{margin:0;min-width:0}.species-art-gallery figure>a{display:block;border-radius:.4rem}.species-art-gallery figure>a:focus-visible{outline:2px solid currentColor;outline-offset:4px}.species-art-gallery img{display:block;width:100%;height:auto;max-height:36rem;margin-inline:auto;object-fit:contain}.species-art-gallery figcaption{margin-top:.5rem;font-size:.8rem;overflow-wrap:anywhere}.species-art-gallery-notice{margin:1rem 0 0;font-size:.75rem;line-height:1.5}:root{color-scheme:light;--page: #d9cba8;--bg: #e9dcc0;--paper: #f7efdd;--paper2: #efe3c9;--ink: #2b2018;--muted: #7a6a53;--line: #cdb488;--line2: #9c8460;--accent: #8a2b22;--accent-soft: rgba(138, 43, 34, .12);--gold: #9a7328;--temp: #1d6a8a;--heal: #2f6d4f;--trait: #5f4b73;--heal-soft: rgba(47, 109, 79, .12);--pad: 11px;--gap: 12px;--surface: var(--paper);--surface-2: var(--paper2);--text: var(--ink);--border: var(--line);--border-strong: var(--line2);--accent-fg: #fbf4e3;--badge-conc: var(--temp);--badge-ritual: #6a3d9a;--badge-comp: var(--muted);--warn: var(--gold);--header-bg: #2b2018;--header-fg: #f7efdd;--header-brand: #9a7328;--header-selected-fg: #f7efdd;--header-control-border: #9c8460;--on-gold: #2b2018;--focus: #9a7328;--control-tint: #eadfc7;--popover-bg: #272625;--popover-fg: #f4efe7;--popover-muted: #aaa49c;--popover-line: #55514c;--popover-divider: #44413d;--popover-action: #d8d1c8;--popover-disabled: #6e6a66;--popover-hover: #3a3835;--popover-hover-fg: #f4efe7;--popover-focus: #f4efe7;--popover-selected: color-mix(in srgb, var(--accent) 35%, #272625);--popover-selected-fg: #ffffff;--modal-backdrop: #272625;--badge-fg: #ffffff;--readonly-theme-muted: #6f5d47;--attunement-warning-border: #a05c22;--attunement-warning-fg: #7b4315;--attunement-warning-bg: #f8e7cd;--homebrew-unavailable: #9b4b1a;--homebrew-delete: #9b3030;--shadow: 0 10px 34px rgba(43, 32, 24, .3);--radius: 6px;--radius-sm: 5px;font-family:EB Garamond,Georgia,serif;font-size:16px;line-height:1.5}:root[data-color-scheme=light]{color-scheme:light;--page: #f3efe7;--bg: #eee7dc;--paper: #fffefa;--paper2: #f5eee4;--ink: #241b17;--muted: #695d56;--line: #8e7f72;--line2: #827367;--accent: #7a263a;--accent-soft: rgba(122, 38, 58, .12);--accent-fg: #fff8f2;--gold: #a56723;--temp: #146c94;--heal: #2f6b4f;--trait: #6a4f7c;--heal-soft: rgba(47, 107, 79, .12);--badge-ritual: #684096;--header-bg: #fcfaf5;--header-fg: #241b17;--header-brand: #7a263a;--header-selected-fg: #fff8f2;--header-control-border: #827367;--on-gold: #ffffff;--focus: #146c94;--control-tint: #f2eadf;--popover-bg: #fffefa;--popover-fg: #241b17;--popover-muted: #695d56;--popover-line: #9a8a7c;--popover-divider: #ded5ca;--popover-action: #7a263a;--popover-disabled: #8f837a;--popover-hover: #f5eee4;--popover-hover-fg: #241b17;--popover-focus: #146c94;--popover-selected: #7a263a;--popover-selected-fg: #fff8f2;--modal-backdrop: #241b17;--badge-fg: #ffffff;--readonly-theme-muted: #695d56;--danger: #a12b32;--attunement-warning-border: #a56723;--attunement-warning-fg: #7b4315;--attunement-warning-bg: #f6e9d6;--homebrew-unavailable: #8a4e14;--homebrew-delete: #a12b32;--shadow: 0 10px 34px rgba(57, 38, 30, .18)}:root[data-color-scheme=sakura]{color-scheme:light;--page: #efd9dc;--bg: #f7e6e8;--paper: #fff8f7;--paper2: #f9ecec;--ink: #321d26;--muted: #76515e;--line: #a26778;--line2: #95606f;--accent: #98264f;--accent-soft: rgba(152, 38, 79, .12);--accent-fg: #fff8f7;--gold: #9a5a16;--temp: #246b73;--heal: #326e50;--trait: #704d7d;--heal-soft: rgba(50, 110, 80, .12);--badge-ritual: #70458f;--header-bg: #4b2537;--header-fg: #fff3f4;--header-brand: #f3b5c5;--header-selected-fg: #fff8f7;--header-control-border: #c58d9e;--on-gold: #fff8f7;--focus: #438f8f;--control-tint: #f0dde2;--popover-bg: #fff3f4;--popover-fg: #321d26;--popover-muted: #76515e;--popover-line: #a26778;--popover-divider: #a26778;--popover-action: #98264f;--popover-disabled: #8a606d;--popover-hover: #f4dfe5;--popover-hover-fg: #321d26;--popover-focus: #438f8f;--popover-selected: #98264f;--popover-selected-fg: #fff8f7;--modal-backdrop: #4b2537;--badge-fg: #fff8f7;--readonly-theme-muted: #76515e;--danger: #a22746;--attunement-warning-border: #9a5a16;--attunement-warning-fg: #75420f;--attunement-warning-bg: #f8ead8;--homebrew-unavailable: #87500f;--homebrew-delete: #a22746;--shadow: 0 10px 34px rgba(75, 37, 55, .2)}:root[data-color-scheme=dark]{color-scheme:dark;--page: #111419;--bg: #171b22;--paper: #202630;--paper2: #272f3a;--ink: #f3eee5;--muted: #b9b0a5;--line: #6c7887;--line2: #778391;--accent: #ef7587;--accent-soft: rgba(239, 117, 135, .17);--accent-fg: #18090c;--gold: #e2b65a;--temp: #67d5ff;--heal: #63c89c;--trait: #c29de8;--heal-soft: rgba(99, 200, 156, .16);--badge-ritual: #c79bf7;--header-bg: #171b22;--header-fg: #f3eee5;--header-brand: #e2b65a;--header-selected-fg: #18090c;--header-control-border: #778391;--on-gold: #17120a;--focus: #67d5ff;--control-tint: #2d3540;--popover-bg: #272f3a;--popover-fg: #f3eee5;--popover-muted: #b9b0a5;--popover-line: #778391;--popover-divider: #4a5360;--popover-action: #f4c86e;--popover-disabled: #8f99a6;--popover-hover: #343d49;--popover-hover-fg: #f3eee5;--popover-focus: #67d5ff;--popover-selected: #ef7587;--popover-selected-fg: #18090c;--modal-backdrop: #111419;--badge-fg: #111419;--readonly-theme-muted: #b9b0a5;--danger: #ff7c85;--attunement-warning-border: #e2b65a;--attunement-warning-fg: #f4c86e;--attunement-warning-bg: #302a21;--homebrew-unavailable: #f4c86e;--homebrew-delete: #ff7c85;--shadow: 0 12px 38px rgba(0, 0, 0, .42)}:root[data-color-scheme=contrast]{color-scheme:dark;--page: #000000;--bg: #000000;--paper: #000000;--paper2: #111111;--ink: #ffffff;--muted: #ffffff;--line: #ffffff;--line2: #ffffff;--accent: #ffd400;--accent-soft: #2b2500;--accent-fg: #000000;--gold: #ffd400;--temp: #00e5ff;--heal: #7cff6b;--trait: #ff66ff;--heal-soft: #0b2807;--badge-ritual: #ff66ff;--header-bg: #000000;--header-fg: #ffffff;--header-brand: #ffd400;--header-selected-fg: #000000;--header-control-border: #ffffff;--on-gold: #000000;--focus: #ff66ff;--control-tint: #111111;--popover-bg: #000000;--popover-fg: #ffffff;--popover-muted: #ffffff;--popover-line: #ffffff;--popover-divider: #ffffff;--popover-action: #00e5ff;--popover-disabled: #d6d6d6;--popover-hover: #ffffff;--popover-hover-fg: #000000;--popover-focus: #ff66ff;--popover-selected: #ffd400;--popover-selected-fg: #000000;--modal-backdrop: #000000;--badge-fg: #000000;--readonly-theme-muted: #ffffff;--danger: #ff5151;--attunement-warning-border: #ffd400;--attunement-warning-fg: #ffd400;--attunement-warning-bg: #000000;--homebrew-unavailable: #ffd400;--homebrew-delete: #ff5151;--shadow: none}@media screen{:root[data-color-scheme=contrast] *{box-shadow:none!important;text-shadow:none!important}:root[data-color-scheme=contrast] :is(button,input,select,textarea){border-width:2px!important;border-style:solid!important;border-color:var(--line)!important}:root[data-color-scheme=contrast] :is(:disabled,[aria-disabled=true]){opacity:1!important;text-decoration:line-through;text-decoration-thickness:1px}:root[data-color-scheme=contrast] :is([aria-current]:not([aria-current=false]),[aria-selected=true],[aria-pressed=true]){text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.2em}:root[data-color-scheme=contrast] :focus-visible{outline:4px solid var(--focus)!important;outline-offset:3px!important}}*{box-sizing:border-box}*{scrollbar-width:none}*::-webkit-scrollbar{display:none}body{margin:0;background:var(--page);color:var(--ink);font-family:EB Garamond,Georgia,serif;-webkit-text-size-adjust:100%}a{color:var(--accent)}h1,h2,h3,h4{font-family:Cinzel,EB Garamond,Georgia,serif}.app{--app-header-height: 0px;min-height:100dvh;max-width:1040px;margin:0 auto;background:var(--bg);border-inline:1px solid var(--line2)}.app-wide{max-width:none;border-inline:none}.app-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:10px;padding:6px 16px;background:var(--header-bg);color:var(--header-fg)}.nav{display:flex;gap:2px;margin-left:auto}.nav-secondary{display:flex;gap:2px}.nav-tab{appearance:none;border:none;background:transparent;color:color-mix(in srgb,var(--header-fg) 62%,transparent);font-family:Cinzel,EB Garamond,Georgia,serif;font-size:11px;letter-spacing:.08em;text-transform:uppercase;padding:4px 12px;border-radius:3px;cursor:pointer}.nav-tab-on{color:var(--header-selected-fg);background:var(--accent)}.nav-tab:not(.nav-tab-on):hover{color:var(--header-fg);background:color-mix(in srgb,var(--header-fg) 12%,transparent)}.settings-menu{position:relative;display:inline-flex;align-items:center;flex:0 0 auto;color:var(--header-fg)}.settings-trigger,.notif-trigger,.header-bug-btn{appearance:none;display:grid;place-items:center;width:36px;min-width:36px;height:36px;padding:0;border:1px solid var(--header-control-border);border-radius:4px;color:inherit;background:color-mix(in srgb,var(--header-fg) 10%,var(--header-bg));cursor:pointer;opacity:1;transition:background-color .15s}.settings-trigger:hover,.settings-trigger[aria-expanded=true],.notif-trigger:hover,.notif-trigger[aria-expanded=true],.header-bug-btn:hover{background:color-mix(in srgb,var(--header-fg) 18%,var(--header-bg))}.settings-trigger:focus-visible,.notif-trigger:focus-visible,.header-bug-btn:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.settings-trigger-icon,.notif-trigger-icon,.header-bug-icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.modal.settings-dialog{width:min(840px,100%);max-width:840px;max-height:min(90dvh,900px);color:var(--ink);background:var(--bg);border:1px solid var(--line2)}.settings-dialog-shell{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;color:var(--ink);background:var(--bg)}.settings-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px 14px;color:var(--ink);background:var(--paper);border-bottom:1px solid var(--line)}.settings-dialog-heading{min-width:0}.settings-dialog-kicker{margin:0 0 2px;color:var(--accent);font-family:Cinzel,EB Garamond,Georgia,serif;font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.settings-dialog-title{margin:0;font-family:Cinzel,EB Garamond,Georgia,serif;font-size:1.25rem;font-weight:700;letter-spacing:.06em}.settings-dialog-description{margin:4px 0 0;color:var(--muted);line-height:1.35}.settings-dialog-close{appearance:none;flex:none;width:40px;height:40px;display:grid;place-items:center;padding:0;color:var(--ink);background:var(--paper2);border:1px solid var(--line);border-radius:50%;font:inherit;font-size:1.45rem;line-height:1;cursor:pointer}.settings-dialog-close:hover{border-color:var(--line2);background:var(--control-tint)}.settings-dialog-close:focus-visible,.settings-action:focus-visible,.settings-link-reveal:focus-visible,.settings-link-copy:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.settings-dialog-body{flex:1;min-width:0;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:16px;padding:18px 20px 28px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.settings-section{position:relative;min-width:0;margin:12px 0 0;padding:20px 16px 16px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:var(--radius)}.settings-theme-section,.settings-link-section,.settings-guest-note{grid-column:1 / -1}.settings-section-title{position:absolute;top:-13px;left:16px;max-width:calc(100% - 32px);box-sizing:border-box;margin:0;padding:2px 10px 0;line-height:24px;background:var(--paper);color:var(--ink);font-family:Cinzel,EB Garamond,Georgia,serif;font-size:.95rem;font-weight:700;letter-spacing:.045em}.settings-section-title:before{content:"";position:absolute;top:0;left:0;right:0;height:12px;border:1px solid var(--line);border-bottom:0;border-radius:var(--radius) var(--radius) 0 0;pointer-events:none}.settings-section-description{margin:5px 0 14px;color:var(--muted);line-height:1.4}.settings-theme-grid{min-width:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.settings-theme-card{position:relative;min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-content:start;gap:9px;padding:9px;color:var(--ink);background:var(--paper2);border:1px solid var(--line);border-radius:var(--radius-sm);cursor:pointer}.settings-theme-card:hover{border-color:var(--line2);background:color-mix(in srgb,var(--accent) 5%,var(--paper2))}.settings-theme-card:has(input:checked){border-color:var(--accent);outline:3px double var(--accent);outline-offset:2px}.settings-theme-card:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:3px}.settings-theme-card>input[type=radio]{grid-column:1;grid-row:2;align-self:start;flex:none;width:19px;height:19px;margin:1px 0 0;accent-color:var(--accent)}.settings-theme-preview{position:relative;grid-column:1 / -1;grid-row:1;min-width:0;height:70px;display:grid;grid-template-columns:minmax(0,1fr) 34%;grid-template-rows:20px minmax(0,1fr);gap:7px;padding:0 9px 9px;overflow:hidden;background:var(--settings-preview-bg);border:1px solid var(--settings-preview-line);border-radius:4px}.settings-theme-swatch{display:block;min-width:0;border-radius:2px}.settings-theme-swatch:nth-child(1){grid-column:1 / -1;margin-inline:-9px;background:var(--settings-preview-header);border-bottom:1px solid var(--settings-preview-line);border-radius:0}.settings-theme-swatch:nth-child(2){background:var(--settings-preview-paper);border:1px solid var(--settings-preview-line)}.settings-theme-swatch:nth-child(3){background:var(--settings-preview-accent);border:1px solid var(--settings-preview-line);box-shadow:inset 0 -8px 0 var(--settings-preview-muted)}.settings-theme-card[data-scheme=current],.settings-theme-preview[data-scheme=current]{--settings-preview-bg: #e9dcc0;--settings-preview-paper: #f7efdd;--settings-preview-header: #2b2018;--settings-preview-line: #9c8460;--settings-preview-accent: #8a2b22;--settings-preview-muted: #7a6a53}.settings-theme-card[data-scheme=light],.settings-theme-preview[data-scheme=light]{--settings-preview-bg: #eee7dc;--settings-preview-paper: #fffefa;--settings-preview-header: #fcfaf5;--settings-preview-line: #827367;--settings-preview-accent: #7a263a;--settings-preview-muted: #695d56}.settings-theme-card[data-scheme=sakura],.settings-theme-preview[data-scheme=sakura]{--settings-preview-bg: #f7e6e8;--settings-preview-paper: #fff8f7;--settings-preview-header: #4b2537;--settings-preview-line: #95606f;--settings-preview-accent: #98264f;--settings-preview-muted: #76515e}.settings-theme-card[data-scheme=dark],.settings-theme-preview[data-scheme=dark]{--settings-preview-bg: #171b22;--settings-preview-paper: #202630;--settings-preview-header: #171b22;--settings-preview-line: #778391;--settings-preview-accent: #ef7587;--settings-preview-muted: #b9b0a5}.settings-theme-card[data-scheme=contrast],.settings-theme-preview[data-scheme=contrast]{--settings-preview-bg: #000000;--settings-preview-paper: #000000;--settings-preview-header: #000000;--settings-preview-line: #ffffff;--settings-preview-accent: #ffd400;--settings-preview-muted: #00e5ff}.settings-theme-meta{grid-column:2;grid-row:2;min-width:0;display:block}.settings-theme-name{min-width:0;font-weight:700;line-height:1.2}.settings-theme-description{display:block;margin-top:3px;min-width:0;color:var(--muted);font-size:.76rem;line-height:1.25}.settings-profile-summary{min-width:0;display:flex;align-items:center;gap:12px;margin-top:13px}.settings-profile-avatar{flex:0 0 46px;width:46px;height:46px;display:grid;place-items:center;color:var(--accent-fg);background:var(--accent);border:1px solid var(--line2);border-radius:50%;font-family:Cinzel,EB Garamond,Georgia,serif;font-size:1.1rem;font-weight:700}.settings-profile-details{min-width:0}.settings-profile-name{display:block;overflow:hidden;color:var(--ink);font-size:1.05rem;font-weight:700;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.settings-profile-role{display:block;color:var(--muted);font-size:.8rem;letter-spacing:.05em;text-transform:uppercase}.settings-rename-form{min-width:0;display:grid;gap:7px;margin-top:16px}.settings-rename-form label{color:var(--muted);font-size:.84rem;font-weight:650}.settings-rename-row,.settings-link-row{min-width:0;display:flex;align-items:stretch;gap:8px}.settings-rename-input,.settings-link-input{appearance:none;flex:1 1 0;width:0;min-width:0;min-height:40px;padding:8px 10px;color:var(--ink);background:var(--bg);border:1px solid var(--line2);border-radius:var(--radius-sm);font:inherit}.settings-link-input{overflow:hidden;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.settings-rename-input:focus-visible,.settings-link-input:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.settings-rename-actions,.settings-link-actions{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.settings-rename-actions button,.settings-link-actions button,.settings-link-row button,button.settings-link-reveal,.settings-action{appearance:none;min-height:40px;padding:8px 14px;color:var(--accent-fg);background:var(--accent);border:1px solid var(--accent);border-radius:var(--radius-sm);font:inherit;font-weight:700;cursor:pointer}.settings-rename-actions button:hover:not(:disabled),.settings-link-actions button:hover:not(:disabled),.settings-link-row button:hover:not(:disabled),button.settings-link-reveal:hover:not(:disabled),.settings-action:hover:not(:disabled){filter:brightness(1.08)}.settings-rename-actions button:disabled,.settings-link-actions button:disabled,.settings-link-row button:disabled,button.settings-link-reveal:disabled,.settings-action:disabled{cursor:default;opacity:.55}.settings-rename-note,.settings-link-status{min-width:0;margin:2px 0 0;color:var(--muted);overflow-wrap:anywhere}.settings-link-intro,.settings-link-content{min-width:0}.settings-link-intro{display:grid;gap:12px}.settings-link-intro>:first-child,.settings-link-warning{margin:0}.settings-link-content{display:grid;grid-template-columns:minmax(140px,180px) minmax(0,1fr);align-items:start;gap:16px;margin-top:14px}.settings-link-content>*{min-width:0}.settings-link-content>.settings-link-row,.settings-link-content>.settings-link-warning,.settings-link-content>.settings-link-status,.settings-link-content>.settings-link-actions{grid-column:2}.settings-link-content:not(:has(.settings-link-qr)){grid-template-columns:minmax(0,1fr)}.settings-link-content:not(:has(.settings-link-qr))>.settings-link-row,.settings-link-content:not(:has(.settings-link-qr))>.settings-link-warning,.settings-link-content:not(:has(.settings-link-qr))>.settings-link-status,.settings-link-content:not(:has(.settings-link-qr))>.settings-link-actions{grid-column:1}.settings-link-qr{width:min(180px,100%);max-width:100%;padding:8px;justify-self:center;overflow:hidden;background:#fff;border:1px solid var(--line2);border-radius:var(--radius-sm)}.settings-link-qr svg{display:block;width:100%;height:auto}.settings-link-warning{color:var(--danger, var(--accent));font-weight:650;line-height:1.4;overflow-wrap:anywhere}.settings-rename-note.is-error,.settings-link-status.is-error{color:var(--danger, var(--accent))}.settings-rename-note.is-success,.settings-link-status.is-success{color:var(--heal)}.settings-action-quiet{color:var(--accent);background:transparent;border-color:var(--line2)}.settings-action-quiet:hover:not(:disabled){background:var(--paper2);filter:none}.settings-guest-note{min-width:0;margin:12px 0 0;padding:10px 12px;color:var(--muted);background:var(--paper2);border-left:3px solid var(--accent);overflow-wrap:anywhere}@media(max-width:760px){.settings-dialog-body{grid-template-columns:minmax(0,1fr)}.settings-theme-section,.settings-link-section,.settings-guest-note{grid-column:auto}.settings-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:639px){.modal.settings-dialog{width:100%;max-width:none;height:100dvh;max-height:none;border:0;border-radius:0}.settings-dialog-header{padding:12px 12px 10px}.settings-dialog-close{width:44px;height:44px}.settings-dialog-description{font-size:.88rem}.settings-dialog-body{grid-template-columns:minmax(0,1fr);gap:12px;padding:12px 10px 24px}.settings-section{min-width:0;padding:20px 12px 13px}.settings-section-title{left:12px;max-width:calc(100% - 24px)}.settings-theme-grid{grid-template-columns:minmax(0,1fr)}.settings-theme-card{min-height:44px}.settings-theme-card>input[type=radio]{width:22px;height:22px}.settings-link-content{grid-template-columns:minmax(0,1fr);gap:12px}.settings-link-content>.settings-link-row,.settings-link-content>.settings-link-warning,.settings-link-content>.settings-link-status,.settings-link-content>.settings-link-actions{grid-column:1}.settings-rename-row,.settings-link-row{flex-direction:column;align-items:stretch}.settings-rename-input,.settings-link-input,.settings-rename-actions button,.settings-link-actions button,.settings-link-row button,button.settings-link-reveal,.settings-action{width:100%;min-height:44px}.settings-rename-actions,.settings-link-actions{align-items:stretch;justify-content:stretch}.settings-link-qr{width:min(180px,100%)}}@media(max-width:768px){.app-header{flex-wrap:wrap}.app-header:has(.nav-secondary):before{content:"";order:4;flex-basis:100%;height:0}.player-chip-wrap{order:0}.settings-menu{order:1}.notif-menu{order:2}.header-bug-btn{order:3}.nav{order:3;flex:1 1 0;min-width:0;margin-left:0;overflow-x:auto}.nav-secondary{order:5;flex:1 1 0;min-width:0;margin-left:0;flex-wrap:wrap;row-gap:2px}.nav-tab{flex:0 0 auto;min-height:40px}}.header-bug-icon{stroke-linejoin:round}.feedback-modal{max-width:480px;width:100%}.feedback-modal-body{display:flex;flex-direction:column;gap:10px}.feedback-label{font-size:14px;color:var(--muted)}.feedback-textarea{width:100%;min-height:120px;resize:vertical;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--paper);color:var(--ink);font-family:inherit;font-size:14px;padding:8px;line-height:1.5}.feedback-textarea:focus{outline:2px solid var(--gold);outline-offset:0}.feedback-actions{display:flex;gap:8px;justify-content:flex-end}.feedback-success{display:flex;flex-direction:column;align-items:center;gap:16px;padding:12px 0;text-align:center}.player-chip{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:44vw;padding:3px 10px;border-radius:999px;font-family:Cinzel,EB Garamond,Georgia,serif;font-size:11px;letter-spacing:.05em;color:var(--header-fg);background:color-mix(in srgb,var(--header-fg) 12%,transparent);border:1px solid color-mix(in srgb,var(--header-fg) 22%,transparent);white-space:nowrap;cursor:default}.player-chip-name{overflow:hidden;text-overflow:ellipsis}.player-chip-role{flex:none;text-transform:uppercase;font-weight:700;font-size:9.5px;letter-spacing:.11em}.player-chip-admin{color:var(--on-gold);background:var(--gold);border-color:var(--gold)}.player-chip-dm{color:var(--accent-fg);background:var(--accent);border-color:var(--accent)}@media(max-width:560px){.app-header{gap:8px;padding:4px 10px 6px}.player-chip-wrap{max-width:38vw}.player-chip{max-width:100%;min-width:44px;min-height:44px;padding:6px 9px}.settings-trigger,.notif-trigger,.header-bug-btn{width:44px;min-width:44px;height:44px}.nav-tab{min-height:44px;padding:4px 8px;font-size:10.5px;letter-spacing:.02em}.nav{scrollbar-width:none}.nav::-webkit-scrollbar{display:none}}@media(max-width:559px){.app-header{position:static}}.player-chip-wrap{position:relative;display:inline-flex;min-width:0}.mylink-pop{position:absolute;top:calc(100% + 8px);left:0;z-index:60;width:min(88vw,320px);padding:14px;background:var(--paper);color:var(--ink);border:1px solid var(--line2);border-radius:var(--radius, 10px);box-shadow:0 12px 34px #00000047;display:flex;flex-direction:column;gap:10px;text-align:left}@media(max-width:560px){.mylink-pop{right:0;left:auto;width:min(75vw,320px);max-width:calc(100vw - 24px)}}.mylink-title{font-family:Cinzel,EB Garamond,Georgia,serif;font-weight:700;letter-spacing:.05em;font-size:.98rem;margin:0}.mylink-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.mylink-close{flex:0 0 auto;padding:4px 8px;font-size:.78rem}.mylink-qr{align-self:center;width:180px;height:180px;image-rendering:pixelated;background:#fff;padding:8px;border-radius:6px;border:1px solid var(--line)}.mylink-row{display:flex;gap:6px;align-items:center}.mylink-input{flex:1;min-width:0;padding:7px 10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;color:var(--ink);background:var(--bg);border:1px solid var(--line2);border-radius:var(--radius-sm, 6px)}.mylink-hint{margin:0;font-size:.8rem;line-height:1.45;color:var(--muted)}.mylink-error{margin:0;font-size:.85rem;color:var(--accent)}.mylink-rename{display:flex;flex-direction:column;gap:5px;padding-top:8px;border-top:1px solid var(--line);font-size:.84rem}.mylink-rename label{color:var(--muted)}.app-main{max-width:760px;margin:0 auto;padding:16px 16px 64px}.app-main-wide{width:100%;max-width:none;margin:0}.app-main-workspace{width:100%;max-width:1480px;padding:24px clamp(18px,3vw,42px) 64px}@media(max-width:559px){.app-main-workspace{padding:16px 16px 64px}}@media(min-width:960px){.app:has(.app-main-wide){height:100dvh;overflow:hidden;display:flex;flex-direction:column}.app-main-wide{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding-bottom:12px}.readonly-character{flex:1;min-height:0;overflow-y:auto}}.status{color:var(--muted);padding:24px 4px}.status-error{color:var(--accent)}.muted{color:var(--muted)}.placeholder{padding:40px 8px}.placeholder h1{margin:0 0 8px}.query-bar{position:sticky;top:calc(var(--app-header-height) + var(--compendium-bar-height, 0px));z-index:10;background:var(--bg);padding-top:4px;scroll-margin-top:var(--app-header-height)}.query-input{width:100%;padding:12px 14px;font:inherit;font-size:16px;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius)}.query-input:focus{outline:2px solid var(--accent);outline-offset:1px}.query-hint{margin:6px 2px 0;font-size:.8rem;color:var(--muted)}.query-hint code{background:var(--surface-2);border-radius:4px;padding:0 4px;font-size:.9em}.query-error{margin:6px 0 0;padding:8px 10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;white-space:pre-wrap;word-break:break-word;color:var(--accent);background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent) 40%,transparent);border-radius:var(--radius-sm)}.facet-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:8px;margin:12px 0 4px}.facet-dropdown{position:relative;min-width:0}.facet-open{z-index:30}.facet-trigger{appearance:none;width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border:1px solid var(--border-strong);border-radius:var(--radius);color:var(--text);background:color-mix(in srgb,var(--surface) 88%,var(--control-tint));font:inherit;font-weight:650;text-align:left;cursor:pointer}.facet-trigger>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.facet-trigger:hover,.facet-trigger:focus-visible,.facet-open .facet-trigger{border-color:var(--accent);outline:none;box-shadow:0 0 0 1px var(--accent)}.facet-has-value{color:var(--accent)}.facet-chevron{width:9px;height:9px;flex:0 0 auto;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .12s ease}.facet-open .facet-chevron{transform:rotate(225deg) translate(-2px,-2px)}.facet-menu{position:absolute;top:calc(100% + 5px);left:0;width:max-content;min-width:100%;max-width:min(360px,calc(100vw - 32px));max-height:min(55dvh,380px);overflow:auto;padding:8px;color:var(--popover-fg);background:var(--popover-bg);border:1px solid var(--popover-line);border-radius:var(--radius-sm);box-shadow:0 12px 28px #00000059}.facet-menu-right{right:0;left:auto}.facet-menu-up{top:auto;bottom:calc(100% + 5px)}.facet-menu-head{position:sticky;top:-8px;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px 8px 7px;color:var(--popover-muted);background:var(--popover-bg);border-bottom:1px solid var(--popover-divider);font-size:.8rem}.facet-clear{appearance:none;padding:5px;border:0;color:var(--popover-action);background:transparent;font:inherit;cursor:pointer}.facet-clear:disabled{color:var(--popover-disabled);cursor:default}.facet-options{display:grid;gap:2px;padding-top:5px}.facet-option{min-height:42px;display:flex;align-items:center;gap:10px;padding:7px 9px;border-radius:5px;cursor:pointer;white-space:nowrap}.facet-option:hover,.facet-option:has(input:focus-visible){color:var(--popover-hover-fg);background:var(--popover-hover)}.facet-option:has(input:checked){color:var(--popover-selected-fg);background:var(--popover-selected)}.facet-option input{width:18px;height:18px;margin:0;accent-color:var(--accent)}.chips{margin:12px 0 4px;display:flex;flex-direction:column;gap:8px}.chip-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.chip-legend{font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-right:2px;min-width:52px}.chip{appearance:none;font:inherit;font-size:.85rem;line-height:1;padding:7px 11px;min-height:32px;border:1px solid var(--border-strong);border-radius:999px;background:var(--surface);color:var(--text);cursor:pointer}.chip:hover{border-color:var(--accent)}.chip-on{background:var(--accent);color:var(--accent-fg);border-color:var(--accent)}@media(max-width:520px){.facet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.facet-menu{position:fixed;inset:auto 12px 12px;width:auto;min-width:0;max-width:none;max-height:min(62dvh,440px)}}.results-head{display:flex;align-items:center;justify-content:space-between;margin:14px 2px 6px}.results-count{font-size:.85rem;color:var(--muted)}.clear-btn{appearance:none;font:inherit;font-size:.85rem;background:transparent;border:none;color:var(--accent);cursor:pointer;padding:4px 6px}.empty{color:var(--muted);padding:24px 4px;text-align:center}.browser{--catalog-query-height: 0px;scroll-padding-top:calc(var(--app-header-height) + var(--catalog-query-height) + var(--compendium-bar-height, 0px))}.spell-group{margin-top:8px}.group-head{margin:0;padding:6px 2px;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);background:var(--bg)}.browser .group-head{position:sticky;top:calc(var(--app-header-height) + var(--catalog-query-height) + var(--compendium-bar-height, 0px));z-index:9;scroll-margin-top:calc(var(--app-header-height) + var(--catalog-query-height))}.entity-source-badges{display:inline-flex;align-items:center;gap:4px;margin-inline-start:4px;flex:0 0 auto}.entity-source-badge{display:inline-flex;align-items:center;min-height:18px;padding:1px 5px;border:1px solid currentColor;border-radius:999px;font-family:EB Garamond,Georgia,serif;font-size:.7rem;font-weight:700;line-height:1;letter-spacing:.04em}.source-badge-legacy-2014{color:var(--muted);background:color-mix(in srgb,var(--muted) 10%,var(--paper))}.source-badge-homebrew{color:var(--accent);background:color-mix(in srgb,var(--accent) 11%,var(--paper))}.spell-list{list-style:none;margin:0;padding:0}.spell-list li{border-bottom:1px solid var(--border)}.spell-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;padding:9px 6px;font:inherit;text-align:left;background:transparent;border:none;color:inherit;cursor:pointer}.spell-row:hover,.spell-row:focus-visible{background:var(--surface-2);border-radius:var(--radius-sm);outline:none}.spell-names{display:flex;flex-direction:column;min-width:0}.spell-name-ru{font-weight:600}.spell-name-en{font-size:.78rem;color:var(--muted)}.spell-meta{display:flex;align-items:center;gap:8px;flex-shrink:0}.spell-school{font-size:.78rem;color:var(--muted)}.badges{display:inline-flex;gap:4px}.badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;font-size:.72rem;font-weight:700;border-radius:5px;color:var(--badge-fg);white-space:nowrap}.badge-conc{background:var(--badge-conc)}.badge-ritual{background:var(--badge-ritual)}.badge-comp{background:var(--badge-comp)}.owner-badge{display:inline-flex;align-items:center;padding:1px 9px;border-radius:999px;font-family:EB Garamond,Georgia,serif;font-size:.72rem;letter-spacing:.02em;color:var(--accent);background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent) 32%,transparent);white-space:nowrap}.owner-badge-none{color:var(--muted);background:transparent;border-color:var(--line);font-style:italic}.owner-cell{display:flex;align-items:center;padding:0 8px}.owner-select{appearance:none;-webkit-appearance:none;max-width:12rem;font-family:EB Garamond,Georgia,serif;cursor:pointer}.campaigns-page,.readonly-character{display:grid;gap:16px}.campaign-card,.campaign-mechanics,.campaign-editor{padding:16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper)}.campaign-card-head,.campaign-actions,.readonly-character-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.campaign-card h2,.campaign-mechanics h2,.campaign-editor h2,.readonly-character h1{margin:0}.campaign-character-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;padding:0;list-style:none}.campaign-character{display:grid;grid-template-columns:1fr;gap:2px 10px;width:100%;min-height:64px;padding:8px;text-align:left;color:inherit;background:var(--paper2);border:1px solid var(--line);border-radius:var(--radius-sm);cursor:pointer}.campaign-character span{color:var(--muted)}.campaign-global-characters{margin-top:28px;padding-top:24px;border-top:2px solid var(--line2)}.readonly-character{width:100%;margin:0 auto}.readonly-character-columns,.readonly-character-column{display:contents}.readonly-character-column>.campaign-mechanics{min-width:0;overflow-wrap:anywhere}.readonly-character-head{justify-content:flex-start}.readonly-character-head img{width:96px;height:96px;object-fit:cover;border-radius:50%}.readonly-stat-grid,.readonly-abilities{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px}.readonly-stat-grid>div,.readonly-abilities>div{display:grid;justify-items:center;padding:10px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-sm)}.campaign-mechanics ul{margin-bottom:0}.campaign-editor{display:grid;gap:12px}.campaign-name-field{display:grid;gap:4px;max-width:34rem;font-weight:600}.campaign-name-field input{min-height:44px;padding:8px 10px;font:inherit}.campaign-editor fieldset{border:1px solid var(--line)}.campaign-checkboxes{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:6px 12px}.campaign-checkboxes label{display:flex;align-items:center;gap:8px;min-height:44px}.campaign-checkboxes input{width:20px;height:20px}.readonly-columns{columns:2 220px}.readonly-slots,.readonly-ref-list{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:6px}.readonly-entity-link{padding:0;border:0;color:var(--accent);background:none;font:inherit;text-decoration:underline;cursor:pointer}@media(min-width:960px){.readonly-character{max-width:1480px}.readonly-character-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}.readonly-character-column{display:grid;align-content:start;gap:16px;min-width:0}}@media(max-width:559px){.campaign-card-head,.readonly-character-head{align-items:stretch;flex-direction:column}.campaign-actions{flex-wrap:wrap}.campaign-card,.campaign-mechanics,.campaign-editor{padding:12px}}.owner-select:disabled{cursor:default;opacity:.6}.owner-select:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.no-access{max-width:30rem;margin:clamp(48px,12vh,140px) auto 0;padding:8px 16px 40px;text-align:center}.no-access-mark{font-size:40px;line-height:1;color:var(--gold);margin-bottom:14px}.no-access-title{font-family:Cinzel,EB Garamond,Georgia,serif;font-weight:700;letter-spacing:.06em;color:var(--accent);margin:0 0 10px}.no-access-text{color:var(--muted);font-size:1.05rem;margin:0 auto;max-width:26rem}.no-access-form{display:flex;gap:8px;margin:22px auto 0;max-width:28rem}.no-access-input{flex:1;min-width:0;padding:10px 12px;color:var(--ink);background:var(--surface);border:1px solid var(--line2);border-radius:var(--radius-sm, 6px);font:.9rem ui-monospace,SFMono-Regular,Menlo,monospace}.no-access-input:focus{outline:2px solid var(--gold);outline-offset:1px}.no-access-submit{flex:none;padding:9px 18px;color:var(--accent-fg);background:var(--accent);border:1px solid var(--accent);border-radius:var(--radius-sm, 6px);font-family:Cinzel,EB Garamond,Georgia,serif;font-weight:600;cursor:pointer}.no-access-submit:hover:not(:disabled){filter:brightness(1.08)}.no-access-submit:disabled{cursor:default;opacity:.55}.no-access-submit:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.no-access-error{color:var(--accent);margin:12px 0 0}.no-access-help{color:var(--muted);font-size:.85rem;margin:14px 0 0}.no-access-actions{margin-top:14px}.access-request-review{max-width:34rem}.access-request-review-status{margin-bottom:14px}.access-request-review-meta{display:grid;gap:4px;margin-bottom:8px}.access-request-link-label{display:block;margin-top:10px;color:var(--muted);font-size:.9rem}.access-request-link-row{display:flex;gap:8px;align-items:stretch;margin-top:6px}.access-request-link-row .no-access-input{flex:1;min-width:0}.access-request-recovery{display:grid;gap:8px;margin-top:12px;padding-top:10px;border-top:1px dashed color-mix(in srgb,var(--line2) 40%,transparent)}.text-link{color:var(--accent)}.access-request-modal{max-width:560px}.access-request-form{display:grid;gap:8px}.access-request-textarea{width:100%;min-height:130px;resize:vertical;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--paper);color:var(--ink);font-family:inherit;font-size:.9rem;padding:8px 10px}.access-request-textarea:focus{outline:2px solid var(--gold);outline-offset:0}.access-request-counter,.access-request-actions{display:flex;gap:8px;align-items:center}.access-request-actions{margin-top:6px;justify-content:flex-start;flex-wrap:wrap}.access-request-counter{font-size:.85rem;color:var(--muted);margin-top:4px}.access-request-secondary{appearance:none;flex:none;padding:9px 18px;color:var(--accent);background:transparent;border:1px solid transparent;border-radius:var(--radius-sm, 6px);font-family:Cinzel,EB Garamond,Georgia,serif;font-weight:600;min-height:40px;cursor:pointer}.access-request-secondary:hover:not(:disabled){border-color:var(--accent);background:color-mix(in srgb,var(--paper) 90%,transparent)}.access-request-secondary:disabled{cursor:default;opacity:.55}@media(max-width:559px){.no-access-form{flex-direction:column}.no-access-submit,.access-request-secondary{min-height:44px}}.modal-backdrop{position:fixed;inset:0;z-index:50;background:var(--modal-backdrop);display:flex;align-items:stretch;justify-content:center}.modal{position:relative;width:100%;background:var(--surface);display:flex;flex-direction:column;overflow:hidden}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 16px 8px;border-bottom:1px solid var(--border)}.modal-title h2{margin:0;font-size:1.3rem;line-height:1.2}.modal-title-en{font-size:.85rem;color:var(--muted)}.modal-close{appearance:none;flex-shrink:0;width:36px;height:36px;font-size:1.6rem;line-height:1;border:none;border-radius:50%;background:var(--surface-2);color:var(--text);cursor:pointer}.modal-subhead{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 16px;border-bottom:1px solid var(--border)}.subhead-level{font-size:.9rem;color:var(--muted)}.modal-body{flex:1;min-height:0;padding:12px 16px 32px;overflow-y:auto;-webkit-overflow-scrolling:touch}.params{display:grid;grid-template-columns:max-content 1fr;gap:4px 14px;margin-bottom:16px;padding:12px;background:var(--surface-2);border-radius:var(--radius-sm)}.param{display:contents}.param-label{font-size:.82rem;font-weight:600;color:var(--muted);white-space:nowrap}.param-value{font-size:.92rem;min-width:0}.creature-modal{max-width:760px}.creature-core-params,.creature-detail-params{margin-bottom:14px}.creature-abilities{display:grid;grid-template-columns:repeat(6,minmax(66px,1fr));gap:6px;margin:12px 0 16px}.creature-ability{display:flex;flex-direction:column;align-items:center;gap:1px;padding:7px 4px;border:1px solid var(--line);border-radius:4px;background:var(--paper2)}.creature-ability small{color:var(--muted)}.creature-section{margin-top:16px}.creature-section h3{margin:0 0 6px;padding-bottom:3px;border-bottom:1px solid var(--line);font-family:Cinzel,serif;color:var(--accent)}.creature-resolved-value{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:.35rem}.creature-resolved-value small{color:var(--muted)}.creature-resolved-inline{display:inline-flex;align-items:baseline;gap:.18rem;margin-right:.7rem}.creature-resolved-movement{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:.2rem;margin-right:.75rem}.creature-resolved-movement .creature-resolved-inline{margin-right:0}.creature-resolved-attack+.creature-resolved-attack{margin-top:.7rem;padding-top:.65rem;border-top:1px solid var(--line)}.creature-resolved-attack-stats{display:flex;flex-wrap:wrap;gap:.25rem .55rem;margin-top:.15rem;color:var(--muted)}.creature-resolved-attack p{margin:.3rem 0 0}.creature-resolved-action-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:.45rem}@media(max-width:620px){.creature-abilities{grid-template-columns:repeat(3,1fr)}}.conc-note{color:var(--muted)}.spell-text .md-p:first-child{margin-top:0}.md-p{margin:0 0 .7em}.md-list{margin:0 0 .7em;padding-left:1.3em}.md-list li{margin:.2em 0}.md-table-wrap{overflow-x:auto;margin:0 0 .8em}.md-table{border-collapse:collapse;width:100%;font-size:.9rem}.md-table caption{text-align:left;font-weight:600;margin-bottom:4px}.md-table th,.md-table td{border:1px solid var(--border);padding:5px 9px;text-align:left;vertical-align:top}.md-table th{background:var(--surface-2)}.md-dice{font-variant-numeric:tabular-nums;font-weight:600;padding:0 3px;border-radius:4px;background:var(--accent-soft);color:var(--accent);white-space:nowrap}.md-gloss{text-decoration:underline dotted;text-underline-offset:2px;cursor:help}.md-gloss-btn{font:inherit;color:inherit;background:none;border:none;padding:0;margin:0;cursor:pointer;text-decoration:underline dotted;text-underline-offset:2px}.md-gloss-btn:hover,.md-gloss-btn:focus-visible{color:var(--accent);text-decoration-style:solid}.md-itemref{color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}.md-itemref-btn,.md-spellref-btn{font:inherit;background:none;border:none;padding:0;margin:0;cursor:pointer}.md-itemref-btn:hover,.md-itemref-btn:focus-visible,.md-spellref-btn:hover,.md-spellref-btn:focus-visible{color:var(--accent-strong, var(--accent));text-decoration-thickness:2px}.md-spellref{color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}.higher-levels{margin-top:8px;padding-top:8px;border-top:1px solid var(--border)}.higher-levels h3{margin:0 0 .4em;font-size:.95rem}.homebrew-authoring{display:grid;gap:16px}.homebrew-page-head,.homebrew-section-head,.homebrew-publish-row,.homebrew-parser-meta,.homebrew-definition-title,.homebrew-definition-actions,.homebrew-list-tools,.homebrew-actions,.homebrew-message{display:flex;align-items:center;gap:10px}.homebrew-page-head,.homebrew-section-head,.homebrew-publish-row,.homebrew-parser-meta{justify-content:space-between}.homebrew-page-head{align-items:flex-start;padding:8px 2px 2px}.homebrew-page-head h1,.homebrew-section-head h2{margin:0}.homebrew-page-head h1{font-size:clamp(1.55rem,4vw,2.15rem)}.homebrew-page-head p:not(.homebrew-eyebrow),.homebrew-section-head p,.homebrew-publish-row p{margin:4px 0 0;color:var(--muted)}.homebrew-eyebrow{margin:0 0 3px;color:var(--accent);font-family:Cinzel,EB Garamond,Georgia,serif;font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.homebrew-card{min-width:0;padding:16px;background:var(--paper);border:1px solid var(--line2);border-radius:var(--radius);box-shadow:0 3px 12px #2b201814}.homebrew-section-head{align-items:flex-start;margin-bottom:14px}.homebrew-section-head h2{font-size:1.15rem}.homebrew-stable-id{max-width:530px;font-size:.84rem}.homebrew-stable-id code,.homebrew-authoring-field code,.homebrew-definition-main code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}.homebrew-identity-grid{display:grid;grid-template-columns:minmax(150px,.72fr) minmax(230px,1.28fr);gap:12px}.homebrew-authoring-field{display:grid;gap:5px;min-width:0;margin-bottom:13px;font-weight:600}.homebrew-authoring-field input,.homebrew-authoring-field select,.homebrew-authoring-field textarea,.homebrew-list-tools select{width:100%;min-width:0;padding:9px 11px;color:var(--ink);background:var(--bg);border:1px solid var(--line2);border-radius:var(--radius-sm);font:inherit;font-weight:400}.homebrew-authoring-field input,.homebrew-authoring-field select,.homebrew-list-tools select{min-height:44px}.homebrew-authoring-field textarea{resize:vertical;line-height:1.42}.homebrew-authoring-field input:focus-visible,.homebrew-authoring-field select:focus-visible,.homebrew-authoring-field textarea:focus-visible,.homebrew-list-tools select:focus-visible{border-color:var(--accent);outline:2px solid var(--accent);outline-offset:1px}.homebrew-authoring-field input[readonly],.homebrew-authoring-field input:disabled,.homebrew-authoring-field select:disabled,.homebrew-authoring-field textarea:disabled{color:var(--muted);background:var(--paper2);cursor:not-allowed}.homebrew-authoring-field small,.homebrew-definition-main small,.homebrew-action-note{color:var(--muted);font-size:.8rem;font-weight:400}.homebrew-source{min-height:150px}.homebrew-help{margin:-3px 0 13px;color:var(--ink);background:color-mix(in srgb,var(--paper2) 70%,transparent);border:1px solid var(--line);border-radius:var(--radius-sm)}.homebrew-help summary{min-height:42px;padding:9px 12px;color:var(--accent);font-weight:700;cursor:pointer}.homebrew-help summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.homebrew-help-body{display:grid;gap:9px;padding:0 12px 12px}.homebrew-help-body p{margin:0}.homebrew-help-body pre{max-width:100%;margin:0;padding:10px;overflow-x:auto;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-sm);font:.78rem/1.45 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap}.homebrew-help-warning{color:var(--muted);font-size:.84rem}.homebrew-item-quick-help{color:var(--ink);background:var(--paper);border:1px solid var(--line2);border-radius:var(--radius);box-shadow:0 3px 12px #2b201814}.homebrew-item-quick-help summary{min-height:44px;padding:11px 16px;color:var(--accent);font-weight:700;cursor:pointer}.homebrew-item-quick-help summary:focus-visible,.homebrew-item-guide-back:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.homebrew-item-quick-help-body{padding:0 16px 14px}.homebrew-item-quick-help-body ol{margin-top:0}.homebrew-item-quick-help-body pre,.homebrew-item-guide-code pre{max-width:100%;overflow-x:auto;color:var(--ink);background:var(--paper2);border:1px solid var(--line);border-radius:var(--radius-sm);font:.78rem/1.45 ui-monospace,SFMono-Regular,Menlo,monospace}.homebrew-item-quick-help-body pre{padding:10px}.homebrew-item-guide{display:grid;gap:24px;min-width:0;padding-bottom:24px}.homebrew-item-guide>section,.homebrew-item-guide-head{min-width:0;padding:16px;background:var(--paper);border:1px solid var(--line2);border-radius:var(--radius)}.homebrew-item-guide h1,.homebrew-item-guide h2,.homebrew-item-guide h3{margin-top:0}.homebrew-item-guide-head p:last-child{max-width:760px;margin-bottom:0;color:var(--muted)}.homebrew-item-guide-back{width:fit-content;color:var(--accent);font-weight:700}.homebrew-item-guide-examples{display:grid;gap:16px}.homebrew-item-guide-example{min-width:0;padding-top:16px;border-top:1px solid var(--line)}.homebrew-item-guide-code{position:relative;min-width:0;padding-top:38px}.homebrew-item-guide-code pre{margin:0;padding:12px;white-space:pre}.homebrew-item-guide-copy{position:absolute;top:0;right:0}.homebrew-item-guide .homebrew-item-guide-copy{min-height:44px;padding:8px 12px;color:var(--accent);background:var(--paper);border:1px solid var(--line2);border-radius:var(--radius-sm);font:inherit;font-weight:700;cursor:pointer}.homebrew-item-guide .homebrew-item-guide-copy:hover{background:var(--paper2)}.homebrew-item-guide .homebrew-item-guide-copy:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.homebrew-item-guide-copy-status{display:block;min-height:1.25em;margin-top:4px;color:var(--muted);font-size:.8rem}.homebrew-item-guide-table-wrap{max-width:100%;overflow-x:auto}.homebrew-item-guide table{width:100%;border-collapse:collapse}.homebrew-item-guide th,.homebrew-item-guide td{padding:8px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}.homebrew-item-guide td code{white-space:nowrap}@media(max-width:640px){.homebrew-item-guide>section,.homebrew-item-guide-head{padding:12px}.homebrew-item-guide-code{padding-top:42px}.homebrew-item-guide-copy{left:0;right:auto}}.homebrew-json{min-height:280px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important;font-size:.82rem!important;tab-size:2}.homebrew-authoring .btn,.homebrew-authoring .btn-ghost,.homebrew-publish,.homebrew-danger{appearance:none;min-height:40px;padding:8px 14px;border-radius:var(--radius-sm);font:inherit;font-weight:600;cursor:pointer}.homebrew-authoring .btn{color:var(--ink);background:var(--paper);border:1px solid var(--line2)}.homebrew-authoring .btn-ghost{color:var(--accent);background:transparent;border:1px solid transparent}.homebrew-authoring .btn:hover:not(:disabled),.homebrew-authoring .btn-ghost:hover:not(:disabled){border-color:var(--accent);background:var(--paper2)}.homebrew-authoring button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.homebrew-authoring button:disabled{opacity:.5;cursor:default}.homebrew-publish{flex:0 0 auto;color:var(--accent-fg);background:var(--accent);border:1px solid var(--accent)}.homebrew-publish:hover:not(:disabled){filter:brightness(1.08)}.homebrew-danger{color:var(--accent);background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent) 50%,var(--line))}.homebrew-parser-result,.homebrew-message{margin:13px 0;padding:10px 12px;border-radius:var(--radius-sm)}.homebrew-parser-result{background:color-mix(in srgb,var(--gold) 10%,var(--paper));border:1px solid color-mix(in srgb,var(--gold) 45%,var(--line))}.homebrew-parser-meta span{color:var(--muted);font-size:.8rem}.homebrew-warnings{margin:8px 0 0;padding-left:20px}.homebrew-message{justify-content:space-between;align-items:flex-start}.homebrew-message>span{min-width:0;white-space:pre-line}.homebrew-message-error{color:var(--accent);background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent) 40%,transparent)}.homebrew-message-warning{color:var(--ink);background:color-mix(in srgb,var(--gold) 13%,var(--paper));border:1px solid color-mix(in srgb,var(--gold) 48%,var(--line))}.homebrew-message-ok{color:var(--heal);background:var(--heal-soft);border:1px solid color-mix(in srgb,var(--heal) 40%,transparent)}.homebrew-dirty-note{margin:-8px 2px 0;color:var(--muted);font-size:.82rem}.homebrew-dirty-note-error,.homebrew-parser-stale{color:var(--accent)}.homebrew-parser-stale{margin:8px 0 0}.homebrew-json-confirm{display:flex;align-items:flex-start;gap:9px;margin:8px 0 14px;color:var(--ink);font-size:.88rem;cursor:pointer}.homebrew-json-confirm input{flex:0 0 auto;width:18px;height:18px;margin:2px 0 0;accent-color:var(--accent)}.homebrew-conflict{margin:13px 0;padding:12px;color:var(--ink);background:color-mix(in srgb,var(--gold) 10%,var(--paper));border:1px solid color-mix(in srgb,var(--gold) 45%,var(--line));border-radius:var(--radius-sm)}.homebrew-conflict h3,.homebrew-conflict p{margin:0 0 7px}.homebrew-conflict details{margin-bottom:10px}.homebrew-conflict summary{min-height:40px;padding:7px 0;color:var(--accent);font-weight:700;cursor:pointer}.homebrew-conflict pre{max-height:300px;margin:4px 0 10px;padding:10px;overflow:auto;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:var(--radius-sm);font:.78rem/1.42 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap}.homebrew-focus-heading:focus{outline:2px solid var(--accent);outline-offset:3px}.homebrew-publish-row{align-items:center;padding-top:13px;border-top:1px solid var(--line)}.homebrew-publish-row p{max-width:320px;text-align:right;font-size:.84rem}.homebrew-authoring-state{flex:0 0 auto;padding:3px 8px;color:var(--heal);background:var(--heal-soft);border:1px solid color-mix(in srgb,var(--heal) 40%,transparent);border-radius:999px;font-size:.75rem;font-weight:700}.homebrew-authoring-state-archived{color:var(--muted);background:var(--paper2);border-color:var(--line)}.homebrew-list-tools{flex-wrap:wrap;justify-content:flex-end}.homebrew-list-tools select{width:auto;min-height:40px;padding-block:7px}.homebrew-definition-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.homebrew-definition-list>li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 12px;background:var(--bg);border:1px solid var(--line);border-radius:var(--radius-sm)}.homebrew-definition-archived{opacity:.72}.homebrew-definition-main{min-width:0}.homebrew-definition-main code,.homebrew-definition-main small{display:block}.homebrew-definition-main code{margin:2px 0;color:var(--muted);font-size:.75rem}.homebrew-definition-title{flex-wrap:wrap}.homebrew-definition-title>span:not(.homebrew-authoring-state){color:var(--muted);font-size:.78rem}.homebrew-definition-actions,.homebrew-archive-confirm{display:flex;align-items:center;gap:3px}.homebrew-archive{color:var(--muted)!important}.homebrew-empty{margin:20px 0 8px;color:var(--muted);text-align:center}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:640px){.homebrew-page-head,.homebrew-section-head,.homebrew-publish-row,.homebrew-definition-list>li{display:flex;flex-direction:column;align-items:stretch}.homebrew-new{align-self:flex-start}.homebrew-identity-grid{grid-template-columns:1fr;gap:0}.homebrew-publish-row p{max-width:none;text-align:left}.homebrew-definition-actions{justify-content:flex-start;flex-wrap:wrap}.homebrew-message{flex-direction:column;align-items:stretch}.homebrew-message .btn-ghost{align-self:flex-start}.homebrew-list-tools{justify-content:flex-start}}@media(max-width:480px){.chip{min-height:40px;padding:9px 13px}.modal-close{width:44px;height:44px}}@media(min-width:640px){.modal-backdrop{align-items:center;padding:24px}.modal{max-width:640px;max-height:88vh;border-radius:var(--radius);box-shadow:var(--shadow)}}@media(forced-colors:active){:focus-visible{outline:3px solid Highlight!important;outline-offset:2px!important}:is(.nav-tab-on,[aria-current]:not([aria-current=false]),[aria-selected=true],[aria-pressed=true]){outline:2px solid Highlight!important;outline-offset:-2px!important;forced-color-adjust:auto}.settings-trigger,.notif-trigger,.header-bug-btn,.modal.settings-dialog{border:2px solid ButtonText;forced-color-adjust:auto}.settings-theme-card:has(input:checked),.settings-theme-card[data-selected=true]{outline:2px solid Highlight;outline-offset:-2px}}.app-main:has(.landing-page){max-width:1160px;width:100%;box-sizing:border-box}.landing{max-width:1120px;margin:0 auto;padding:clamp(28px,5vw,72px) clamp(18px,5vw,52px) 64px;display:grid;gap:clamp(40px,7vw,88px);color:var(--ink);background:var(--page);overflow:hidden}.landing h1{margin:0 0 22px;max-width:650px;font-size:clamp(3.2rem,8vw,6.8rem);line-height:.86;letter-spacing:-.045em;font-weight:500}.landing h1 em{color:var(--accent);font-style:italic;font-weight:400}.landing h2{margin:0 0 14px;font-size:clamp(2rem,4vw,3.5rem);line-height:.95;letter-spacing:-.025em;font-weight:500}.landing-kicker{margin:0 0 15px;color:var(--gold);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.68rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase}.landing-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,430px);align-items:center;gap:clamp(32px,8vw,108px);min-height:570px;position:relative}.landing-hero-copy{position:relative;z-index:1}.landing-lead{max-width:550px;margin:0 0 18px;color:var(--muted);font-size:clamp(1.05rem,1.6vw,1.28rem);line-height:1.35}.landing-proof{margin:0 0 28px;color:var(--ink);font-size:.95rem}.landing-proof span{color:var(--gold);margin-right:6px}.landing-actions{display:flex;flex-wrap:wrap;gap:12px;margin:0}.landing-cta{display:inline-block;min-height:46px;padding:11px 18px;color:var(--accent-fg);background:var(--accent);border:1px solid var(--accent);border-radius:2px;font-weight:700;text-decoration:none}.landing-cta span{margin-left:8px;font-size:1.1em}.landing-cta:hover{filter:brightness(1.08)}.landing-cta-secondary{color:var(--accent);background:transparent}.landing-cta-secondary:hover{background:var(--accent-soft);filter:none}.landing-section p{margin:0 0 10px}.landing-sheet-preview{width:100%;box-sizing:border-box;padding:20px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-top:3px solid var(--gold);box-shadow:14px 18px color-mix(in srgb,var(--gold) 18%,transparent);transform:rotate(1.5deg)}.sheet-preview-topline,.sheet-preview-subtitle,.sheet-preview-attack small,.sheet-preview-stat-row small{display:flex;justify-content:space-between;color:var(--muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.58rem;letter-spacing:.06em;text-transform:uppercase}.sheet-preview-edition{color:var(--accent)}.sheet-preview-heading{display:flex;justify-content:space-between;align-items:center;padding:22px 0 17px;border-bottom:1px solid var(--line)}.sheet-preview-name{display:block;font-size:1.65rem;line-height:1}.sheet-preview-subtitle{display:block;margin-top:6px;font-size:.64rem}.sheet-preview-level{display:grid;width:36px;height:36px;place-items:center;color:var(--accent-fg);background:var(--accent);border-radius:50%;font-size:1.2rem}.sheet-preview-tabs{display:flex;gap:18px;padding:13px 0 10px;border-bottom:1px solid var(--line);color:var(--muted);font-size:.8rem}.sheet-preview-tabs .is-active{color:var(--accent);border-bottom:2px solid var(--accent)}.sheet-preview-combat-label{display:flex;justify-content:space-between;align-items:baseline;padding:17px 0 10px;color:var(--accent);font-weight:700}.sheet-preview-round{color:var(--gold);font-family:ui-monospace,monospace;font-size:.57rem;text-transform:uppercase}.sheet-preview-stat-row{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:8px;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.sheet-preview-stat-row div{padding-left:10px;border-left:2px solid var(--gold)}.sheet-preview-stat-row b{display:block;font-size:1.25rem;line-height:1.1}.sheet-preview-stat-row small{display:block;margin-top:4px;font-size:.52rem}.sheet-preview-progress{height:6px;margin:11px 0;background:var(--paper2)}.sheet-preview-progress span{display:block;width:70%;height:100%;background:var(--heal)}.sheet-preview-attack{display:grid;grid-template-columns:22px 1fr 30px 45px;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line);font-size:.84rem}.sheet-preview-attack small{display:block;margin-top:2px;font-size:.52rem;text-transform:none;letter-spacing:0}.sheet-preview-attack strong,.sheet-preview-attack i{font-style:normal;color:var(--accent);text-align:right}.attack-mark{color:var(--accent)}.attack-mark-muted{color:var(--gold)}.sheet-preview-resources{display:flex;justify-content:space-between;gap:8px;padding-top:15px;color:var(--muted);font-size:.67rem}.sheet-preview-resources b{display:block;margin-top:4px;color:var(--accent);letter-spacing:2px}.sheet-preview-detail-row{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font-size:.82rem}.sheet-preview-detail-row b{display:block}.sheet-preview-detail-row small{display:block;margin-top:3px;color:var(--muted);font-size:.58rem}.detail-arrow{color:var(--gold);font-size:1.3rem}.landing-overview{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(30px,8vw,110px);padding:clamp(28px,5vw,55px) 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.landing-section-intro>p:not(.landing-kicker){max-width:490px;color:var(--muted);font-size:1.05rem}.landing-overview-points,.landing-benefit-list,.landing-step-list{display:grid;gap:0}.landing-overview-points{grid-template-columns:repeat(2,1fr);column-gap:24px}.landing-overview-points>div,.landing-benefit-list>div,.landing-step-list>div{padding:16px 0;border-top:1px solid var(--line)}.landing-overview-points span,.landing-step-list span{display:block;margin-bottom:7px;color:var(--gold);font-family:ui-monospace,monospace;font-size:.65rem}.landing-overview-points b,.landing-benefit-list b,.landing-step-list b{font-size:1.1rem}.landing-overview-points p,.landing-benefit-list p,.landing-step-list p{color:var(--muted);font-size:.9rem}.landing-benefits{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(30px,8vw,100px)}.landing-benefit-list>div{display:grid;grid-template-columns:25px 1fr;gap:8px}.landing-benefit-list>div>span{color:var(--accent)}.landing-steps{padding-top:10px}.landing-step-list{grid-template-columns:repeat(3,1fr);gap:20px}.landing-step-list>div{border-top:2px solid var(--accent)}.landing-compendiums{padding-top:20px}.landing-fineprint{color:var(--muted);font-size:.88rem;border-top:1px solid var(--line);padding-top:28px}.landing-fineprint h2{font-size:1.5rem;color:var(--ink)}.landing-links{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}.landing-links a:focus-visible,.landing-cta:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.landing-footer{padding-top:20px;border-top:1px solid var(--line);color:var(--muted);font-size:.85rem}@media(max-width:760px){.landing-hero,.landing-overview,.landing-benefits{grid-template-columns:1fr}.landing-hero{min-height:auto}.landing-sheet-preview{max-width:440px;margin:0 auto}.landing-step-list{grid-template-columns:1fr;gap:0}.landing-overview-points{grid-template-columns:1fr}}@media(max-width:420px){.landing{padding-inline:15px}.landing h1{font-size:3.35rem}.landing-sheet-preview{padding:14px;transform:none;box-shadow:8px 10px color-mix(in srgb,var(--gold) 22%,transparent)}.sheet-preview-resources{display:block}.sheet-preview-resources span{display:block;margin-top:5px}}@media(prefers-reduced-motion:reduce){.landing-sheet-preview{transform:none}}.landing-links a{display:inline-block;padding:6px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--paper);color:inherit;text-decoration:none}.landing-links a:hover{border-color:var(--accent);color:var(--accent)}.guest-tutorial{width:100%;height:100%;min-width:0;min-height:0;flex:1;display:flex;flex-direction:column}.guest-tutorial-compendium-surface{flex:1;min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden}.guest-tutorial-promotion-status{position:fixed;top:calc(var(--app-header-height, 0px) + .75rem);right:.75rem;z-index:25;width:min(32rem,calc(100vw - 1.5rem));max-height:min(12rem,calc(100vh - 1.5rem));overflow:auto;margin:0;padding:.75rem .85rem;box-sizing:border-box;border:1px solid var(--accent, #7b2738);border-radius:var(--radius-sm, .35rem);background:var(--paper, #fffaf0);box-shadow:0 .25rem 1rem #28190a24}.guest-tutorial-promotion-status p{margin:0 0 .65rem}.settings-account-status{display:grid;gap:.55rem}.account-unverified-badge{display:inline-flex;width:fit-content;padding:.25rem .55rem;border:1px solid var(--accent, #7b2738);border-radius:999px;color:var(--accent, #7b2738);font-size:.85rem;font-weight:700}.account-auth-dialog{max-width:34rem}.account-auth-form{display:grid;gap:.55rem}.account-auth-form input{width:100%;min-height:2.65rem;padding:.55rem .7rem;border:1px solid var(--line, #b6a68f);border-radius:.35rem;background:var(--paper, #fffaf0);color:inherit;font:inherit}.account-auth-form input:focus-visible{outline:2px solid currentColor;outline-offset:2px}.account-auth-notice{margin:0 0 1rem;padding:.7rem .8rem;border-left:3px solid var(--accent, #7b2738);background:color-mix(in srgb,var(--accent, #7b2738) 10%,transparent)}.account-auth-links{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:1rem}.account-auth-divider{display:flex;align-items:center;gap:.7rem;margin:1.1rem 0 .75rem;color:var(--muted, #766b5a);font-size:.9rem}.account-auth-divider:before,.account-auth-divider:after{content:"";height:1px;flex:1;background:var(--line, #b6a68f)}.account-auth-social{display:grid;gap:.55rem}.account-auth-provider{min-height:2.65rem;padding:.55rem .7rem;border:1px solid var(--line, #b6a68f);border-radius:.35rem;background:var(--paper, #fffaf0);color:inherit;font:inherit;font-weight:700;cursor:pointer}.account-auth-provider:hover:not(:disabled){border-color:var(--accent, #7b2738);background:color-mix(in srgb,var(--accent, #7b2738) 8%,var(--paper, #fffaf0))}.account-auth-provider:focus-visible{outline:2px solid currentColor;outline-offset:2px}.account-auth-provider:disabled{opacity:.62;cursor:wait}.account-auth-callback-status{width:min(34rem,calc(100% - 2rem));margin:.8rem auto 0;padding:.7rem .8rem;border-left:3px solid var(--accent, #7b2738);background:color-mix(in srgb,var(--accent, #7b2738) 10%,transparent)}.settings-subsection-title{margin:1.2rem 0 .5rem;font-size:.95rem}.settings-connected-list{display:grid;gap:.45rem;margin:0;padding:0;list-style:none}.settings-connected-item{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.5rem .6rem;border:1px solid var(--line, #b6a68f);border-radius:.35rem}.settings-connected-item .settings-action{flex:0 0 auto}.settings-legacy-guidance{margin-top:1rem}.onboarding-form{width:min(28rem,100%);margin-top:1rem}.settings-account-form{max-width:28rem;margin-top:.8rem}.settings-account-section .settings-link-actions{margin-top:1rem}.no-access-conflict{margin:1rem 0;padding:.8rem;border:1px solid var(--accent, #7b2738);border-radius:.35rem}.no-access-conflict p{margin:0 0 .7rem}.no-access-legacy{margin-top:1.6rem;padding-top:1rem;border-top:1px solid var(--line, #b6a68f)}.no-access-legacy h2{margin:0 0 .4rem;font-size:1.05rem}@media print{:root{color-scheme:light!important;--page: #ffffff !important;--bg: #ffffff !important;--paper: #ffffff !important;--paper2: #ffffff !important;--ink: #000000 !important;--muted: #333333 !important;--line: #b8b8b8 !important;--line2: #7a7a7a !important;--accent: #000000 !important;--accent-soft: #eeeeee !important;--gold: #000000 !important;--temp: #000000 !important;--heal: #000000 !important;--trait: #000000 !important;--heal-soft: #ffffff !important;--surface: #ffffff !important;--surface-2: #ffffff !important;--text: #000000 !important;--border: #b8b8b8 !important;--border-strong: #7a7a7a !important;--accent-fg: #ffffff !important;--badge-conc: #000000 !important;--badge-ritual: #000000 !important;--badge-comp: #000000 !important;--warn: #000000 !important;--danger: #000000 !important;--header-bg: #000000 !important;--header-fg: #ffffff !important;--header-brand: #000000 !important;--header-selected-fg: #ffffff !important;--header-control-border: #ffffff !important;--on-gold: #ffffff !important;--focus: #000000 !important;--control-tint: #ffffff !important;--popover-bg: #ffffff !important;--popover-fg: #000000 !important;--popover-muted: #333333 !important;--popover-line: #7a7a7a !important;--popover-divider: #b8b8b8 !important;--popover-action: #000000 !important;--popover-disabled: #555555 !important;--popover-hover: #eeeeee !important;--popover-hover-fg: #000000 !important;--popover-focus: #000000 !important;--popover-selected: #000000 !important;--popover-selected-fg: #ffffff !important;--modal-backdrop: #ffffff !important;--badge-fg: #ffffff !important;--readonly-theme-muted: #333333 !important;--attunement-warning-border: #000000 !important;--attunement-warning-fg: #000000 !important;--attunement-warning-bg: #ffffff !important;--homebrew-unavailable: #000000 !important;--homebrew-delete: #000000 !important;--shadow: none !important;--radius: 6px;--radius-sm: 5px;font-size:12.5px}*{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;box-shadow:none!important;text-shadow:none!important}html,body{background:#fff!important;color:#000!important}@page{margin:12mm}.app-header,.builder-topbar,.builder-conflict,.builder-settings,.builder-problems,.builder-pane-build,.builder-splitter,.builder-build-toggle,.sheet-tabs,.homebrew-control,.modal-backdrop{display:none!important}.app,.app-main,.app-main-wide,.builder,.builder-panes{display:block!important;max-width:none!important;width:auto!important;margin:0!important;padding:0!important;border:none!important;background:#fff!important;overflow:visible!important}.builder-pane-sheet{display:block!important;position:static!important;max-height:none!important;overflow:visible!important;top:auto!important}.sheet{display:block!important;column-count:2;column-gap:10mm;column-fill:auto;gap:0!important}.sheet-tabpanel{display:block!important}.sheet-tabpanel>*{margin:0 0 3mm!important}.sheet-band,.sheet-grid-2,.sheet-hp-col,.attacks-resources-col{display:block!important}.sheet-band>*,.sheet-grid-2>*{margin:0 0 3mm!important;break-inside:avoid}.ability-grid{grid-template-columns:repeat(3,1fr)!important;gap:1.5mm!important}.stat-tiles{grid-template-columns:repeat(2,1fr)!important;gap:1.5mm!important}.stat-tile-ac{grid-column:auto!important}.skills-list{grid-template-columns:1fr!important}.sheet>*:not(.sheet-tabpanel){break-inside:avoid;margin:0 0 3mm!important}.sheet-header{column-span:all;border-bottom:1.5pt solid #000;padding-bottom:2mm;margin-bottom:3mm!important}.sheet-section:has(.features),.sheet-section:has(.inv-list),.attacks-resources-col:has(.attacks-list),.sheet-section:has(.casting-blocks){break-inside:auto}.card,.ability-card,.stat-tile,.stat-tile-ac,.skill-row,.slot-row,.resources-list>li,.feature,.inv-row,.prof-line,.attack-row,.casting-block,.casting-block-granted,.coin{break-inside:avoid}.card,.ability-card,.stat-tile,.stat-tile-ac,.inv-row,.casting-stat,.coin{border-width:.75pt!important;border-radius:4px}.sheet-label,.sheet-section-title,.sheet-classline{color:#000!important}.calc-value{text-decoration:none!important;cursor:default!important}.roll-indicator-up,.roll-indicator-down{color:#000!important}.sheet-level{border-color:#000!important}.sheet-portrait-empty{display:none!important}.bipki-specialty .query-input,.inv-qty-input,.inv-notes,.coin-input,.notes-area,.lore-area{-webkit-appearance:none!important;appearance:none!important;border:none!important;background:transparent!important;color:#000!important;padding:0!important;box-shadow:none!important;resize:none!important}.coin-input{border-bottom:.5pt solid #999!important;text-align:center}.notes-area{min-height:14mm;border:.75pt solid #bbb!important;padding:1.5mm!important}.lore-area{min-height:24mm;border:.75pt solid #bbb!important;padding:1.5mm!important}.sheet-name-input{display:none!important}.sheet-name-print{display:block!important}.sheet-quick-notes-notes textarea{-webkit-appearance:none!important;appearance:none!important;display:none!important;width:100%!important;min-height:14mm;border:.75pt solid #bbb!important;background:transparent!important;color:#000!important;padding:1.5mm!important;box-shadow:none!important;resize:none!important;font:inherit}.sheet-quick-notes-notes .sheet-quick-notes-print{display:block!important;width:100%!important;min-height:14mm;border:.75pt solid #bbb!important;background:transparent!important;color:#000!important;padding:1.5mm!important;box-shadow:none!important;font:inherit;line-height:1.58rem;white-space:pre-wrap;overflow-wrap:anywhere}.sheet-quick-notes-notes:has(textarea:placeholder-shown){display:none!important}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.btn,.btn-round,.inv-del,.hp-amount,.hp-actions,.hd-amount,.hd-spend,.inv-add,.inv-search,.inv-search-results,.bipki-controls,.section-edit{display:none!important}.homebrew-sheet-indicator{display:block!important}.sp-header .btn-round{display:none!important}.entity-link,a{color:#000!important;text-decoration:none!important}.md-itemref,.md-spellref,.md-gloss,.md-itemref-btn,.md-spellref-btn,.md-gloss-btn{color:#000!important;text-decoration:none!important;cursor:default!important}.feature-summary{flex-wrap:wrap!important}.feature-meta{white-space:normal!important;overflow-wrap:break-word}.pip,.death-pip,.dot{border-color:#000!important}.pip-used,.dot-on,.dot-expert,.death-pip-success.death-pip-on,.death-pip-fail.death-pip-on{background:#000!important;border-color:#000!important}.md-dice{background:#eee!important;color:#000!important}.recharge-badge,.sp-tag,.sp-badge,.cond-badge{border:.5pt solid #999!important;color:#000!important;background:#fff!important}.feature>.feature-summary{cursor:default}.feature>.feature-summary:before{display:none!important}details.feature>.feature-body{display:block!important}details.feature::details-content{content-visibility:visible!important}.resource-slots-summary{display:none!important}details.resource-slots-cut>.resource-slots-body{display:block!important}details.resource-slots-cut::details-content{content-visibility:visible!important}.sheet-section:has(.inv-list){break-before:auto}}
