@font-face{font-family:DM Sans;font-style:normal;font-weight:300 900;font-display:swap;src:url(/fonts/dm-sans-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:DM Sans;font-style:normal;font-weight:300 900;font-display:swap;src:url(/fonts/dm-sans-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans;font-style:italic;font-weight:300 900;font-display:swap;src:url(/fonts/dm-sans-italic-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:DM Sans;font-style:italic;font-weight:300 900;font-display:swap;src:url(/fonts/dm-sans-italic-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IM Fell English;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/im-fell-english-latin.woff2)format("woff2")}@font-face{font-family:IM Fell English;font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/im-fell-english-italic-latin.woff2)format("woff2")}:root{color:#29302d;font-synthesis:none;--ink:#29302d;--ink-light:#65726d;--parchment:#f7f2e6;--paper:#fffaf0;--line:#d9cdbb;--copper:#ae694e;--sage:#718270;--muted:#817d72;--dark:#1c2623;--text-secondary:#625c51;--text-small:11px;--display:"IM Fell English",Georgia,"Times New Roman",serif;background:#ede6d7;font-family:DM Sans,Arial,sans-serif;font-weight:400}*{box-sizing:border-box}html{min-width:0}body{background:radial-gradient(at 15% 12%,#eacaa140,#0000 34%),radial-gradient(at 88% 62%,#b59c7d2b,#0000 37%),#efe9dc;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px;outline:2px solid #bd7b53}input,textarea,select{color:var(--ink)}svg{flex-shrink:0}.app-frame{background:repeating-linear-gradient(90deg,#0000 0 140px,#46382603 140px 141px),radial-gradient(at 20% 10%,#ffffffa6,#0000 45%),#f0e8d8;max-width:1440px;min-height:100vh;margin:0 auto;box-shadow:0 0 80px #2a1f131f}.app-header{background:var(--dark);color:#fff6e3;border-bottom:3px solid #c19a68;justify-content:space-between;align-items:center;gap:15px;height:77px;padding:0 clamp(18px,4vw,54px);display:flex}.brand{align-items:center;gap:13px;display:flex}.brand-icon{color:#e9d3a5;border:1px solid #9d8c6c;border-radius:50%;place-items:center;width:43px;height:43px;display:grid}.brand-name{font-family:var(--display);letter-spacing:1px;font-size:28px;font-weight:700;line-height:1;display:block}.brand-subtitle{letter-spacing:2.9px;opacity:.64;margin-top:6px;font-size:8px;font-weight:700;display:block}.header-tools{align-items:center;gap:9px;display:flex}.status-indicator{color:#bfbfb1;align-items:center;gap:7px;max-width:210px;margin-right:10px;font-size:10px;display:flex}.online-dot{background:#a4b99e;border-radius:100%;flex:none;width:6px;height:6px;box-shadow:0 0 0 3px #a4b99e1a}.header-icon-btn{color:#e2d8c7;background:#ffffff0d;border:1px solid #ffffff2b;border-radius:7px;place-items:center;width:35px;height:35px;transition:background .15s;display:grid}.header-icon-btn:hover{background:#ffffff24}.file-upload{cursor:pointer;position:relative}.app-controls{background:#efe7d5;border-bottom:1px solid #ded1bd;justify-content:space-between;align-items:center;gap:15px;padding:14px clamp(17px,4vw,54px);display:flex}.tabs{align-items:center;gap:8px;display:flex}.tab{color:#75756b;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:8px;padding:10px 13px;font-size:12px;font-weight:700;display:flex}.tab:hover{color:var(--ink);background:#e6dbc9}.tab.selected{color:#fff8ea;background:#29392f;border-color:#29392f;box-shadow:0 2px 5px #00000019}.tab-count{color:#29302d;background:#d5c3aa;border-radius:9px;padding:2px 6px;font-size:9px}.selected .tab-count{color:#e6f0dd;background:#47594c}.character-selector select{background:#fffaf0;border:1px solid #d7c7ae;border-radius:5px;min-width:110px;max-width:210px;height:36px;padding:0 9px;font-size:12px;font-weight:700}.character-plus,.character-delete{color:#536052;background:#faf4e7;border:1px solid #d7c7ae;border-radius:5px;place-items:center;width:35px;height:35px;display:grid}.character-delete{color:#9a776b}.character-plus:hover,.character-delete:hover{background:#eee1ce}.sheet-shell,.library-shell{padding:30px clamp(18px,4vw,54px) 34px}.sheet-titlebar{text-align:center;margin:15px auto 30px}.chapter-kicker,.eyebrow,.field-label,.section-meta,.section-index,.tiny-hint{letter-spacing:1.6px;color:#8d755b;font-size:10px;font-weight:700}.rune{color:#af7659;padding:0 7px}.sheet-titlebar h1,.library-hero h1{font-family:var(--display);letter-spacing:-1px;margin:11px 0 7px;font-size:clamp(29px,4.1vw,53px);font-weight:400;line-height:1.08}.sheet-titlebar em,.library-hero em{color:#a36b4f;font-weight:400}.sheet-titlebar p,.library-hero p{color:#847e71;font-family:var(--display);margin:0;font-size:16px;font-style:italic}.character-overview{grid-template-columns:minmax(0,1fr) minmax(280px,.67fr);align-items:center;gap:30px;padding:27px 29px;display:grid}.identity-block{grid-template-columns:1fr 1fr;gap:22px;display:grid}.field{flex-direction:column;gap:9px;min-width:0;display:flex}.field-label{color:var(--text-secondary);font-size:var(--text-small);letter-spacing:1px;display:block}.field input:not([type=radio]),.field textarea,.field select{background:#fefbf4;border:1px solid #dcd1bf;border-radius:5px;outline-color:#b57f5a;width:100%;padding:12px 13px;font-size:13px}.field textarea{resize:vertical;line-height:1.5}.name-field input{font-family:var(--display);height:50px;font-size:23px!important}.background-field input{height:50px}.progress-block{border-left:1px solid #e2d7c6;grid-template-columns:115px 1fr;gap:20px;padding-left:27px;display:grid}.progress-group .field-label,.value-group .field-label{white-space:nowrap}.tiny-hint{letter-spacing:.3px;opacity:.6;font-size:8px}.level-control{justify-content:space-between;align-items:center;gap:4px;height:43px;margin-top:12px;display:flex}.level-control button{color:#3a4b40;background:#e7e2d4;border:none;border-radius:4px;place-items:center;width:25px;height:27px;display:grid}.level-control span{font-family:var(--display);font-size:39px;line-height:1}.value-line{align-items:baseline;gap:10px;margin-top:5px;display:flex}.value-line input{width:75px;font-family:var(--display);background:0 0;border:none;border-bottom:1px solid #b2a690;border-radius:0;padding:0 3px;font-size:34px}.value-divider{font-family:var(--display);color:#c6bbaa;font-size:27px}.value-target{font-family:var(--display);color:#867e6b;font-size:24px}.value-track{background:#e8dfcd;border-radius:4px;height:5px;margin-top:5px;overflow:hidden}.value-track span{background:#a66c50;height:100%;display:block}.level-ready{color:#9b5d44;background:0 0;border:none;align-items:center;gap:5px;margin-top:8px;padding:0;font-size:11px;font-weight:700;display:flex}.lore-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0;display:grid}.lore-panel{background:#fffdf7a8;border:1px solid #ded1bd;border-radius:8px;flex-direction:column;min-height:218px;padding:18px 18px 14px;display:flex;position:relative;overflow:hidden}.lore-panel:before{content:"";opacity:.65;background:#8d9c85;height:3px;position:absolute;top:0;left:0;right:0}.lore-panel:nth-child(2):before{background:#9d7b76}.lore-panel:nth-child(3):before{background:#9c8fa9}.lore-panel:nth-child(4):before{background:#b89b61}.lore-ornament{color:#b9b19f;font-size:21px;position:absolute;top:18px;right:16px}.lore-panel .eyebrow{letter-spacing:1.3px;color:#978775;font-size:8px}.lore-panel h3{font-family:var(--display);margin:6px 0 12px;font-size:27px;font-weight:400}.lore-panel textarea{resize:vertical;color:#4a4c46;background:repeating-linear-gradient(#0000 0 25px,#a1967f36 26px 27px);border:none;outline:none;flex:1;width:100%;min-height:100px;padding:0 1px;font:12px/27px DM Sans,Arial,sans-serif}.anatomy-card{margin-top:15px;padding:22px 25px 18px}.panel-heading{border-bottom:1px solid #dfd3bf;align-items:center;gap:12px;padding-bottom:16px;display:flex}.section-index{color:#977e62;letter-spacing:0;border:1px solid #dacbb3;border-radius:3px;place-items:center;width:31px;height:31px;font-size:11px;display:grid}.panel-heading h2{font-family:var(--display);flex:1;margin:0;font-size:30px;font-weight:400;line-height:1.1}.section-meta{white-space:nowrap;letter-spacing:.7px;font-size:9px}.anatomy-content{grid-template-columns:minmax(147px,1fr) minmax(260px,1.35fr) minmax(147px,1fr);align-items:center;gap:14px;max-width:1120px;margin:4px auto 0;display:grid}.part-column{z-index:1;flex-direction:column;justify-content:center;gap:13px;display:flex}.part-card{background:#fffcf5cc;border:1px solid #ded2bf;border-radius:6px;flex-direction:column;justify-content:space-between;min-height:103px;padding:13px 14px;display:flex;box-shadow:0 2px 5px #5c4f3b09}.part-card.is-lost{background:linen;border-color:#d1a99b}.part-card-line{align-items:center;gap:11px;display:flex}.part-number{font-family:var(--display);color:#fff1d8;background:#35423a;border-radius:3px;flex-shrink:0;place-items:center;width:35px;height:35px;font-size:23px;display:grid;transform:rotate(-3deg)}.part-card:nth-child(2) .part-number{transform:rotate(3deg)}.part-name{font-family:var(--display);font-size:21px;line-height:1.1}.part-status{color:#9b8f7c;letter-spacing:1px;font-size:8px;font-weight:700}.is-lost .part-status{color:#b3654b}.part-card-bottom{justify-content:space-between;align-items:center;gap:6px;margin-top:12px;padding-left:46px;display:flex}.dots{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.dot{appearance:none;background:#fffdf7;border:1.8px solid #8f806d;border-radius:50%;place-items:center;width:19px;height:19px;padding:0;transition:background .1s,border-color .1s;display:grid}.dot.marked:after{content:"×";color:#fff7e9;margin-top:-2px;font-family:Georgia,serif;font-size:15px;line-height:1}.dot.marked{background:#424b40;border-color:#424b40}.dot:hover{border-color:#b36d4b;box-shadow:0 0 0 2px #e6d6c7}.part-repair{color:#a3654d;white-space:nowrap;background:0 0;border:0;padding:0;font-size:9px;font-weight:700;text-decoration:underline}.skeleton-stage{place-items:center;min-height:475px;display:grid;position:relative}.skeleton-halo{background:radial-gradient(circle,#c2b79824,#c2b79812 56%,#0000 71%);border:1px dashed #a2906c38;border-radius:50%;width:87%;max-width:400px;height:87%;max-height:410px;position:absolute;transform:scaleX(.83)}.skeleton-illustration{filter:drop-shadow(0 9px 7px #2a201412);width:auto;max-width:100%;height:440px;position:relative}.skeleton-caption{font-family:var(--display);letter-spacing:2px;color:#ad9c83;text-align:center;font-size:11px;position:absolute;bottom:13px}.anatomy-foot{border-top:1px solid #e2d6c3;justify-content:space-between;align-items:center;gap:14px;padding-top:17px;display:flex}.rule-text{color:#867c6c;align-items:center;gap:12px;max-width:670px;font-size:11px;line-height:1.6;display:flex}.rule-mark{color:#bd8b5e;font-size:22px}.outline-button{color:#495b4e;background:#f8f4e9;border:1px solid #cbbb9f;border-radius:5px;justify-content:center;align-items:center;gap:8px;padding:9px 12px;font-size:11px;font-weight:700;display:inline-flex}.outline-button:hover{background:#e8e7dc}.smaller-grid{grid-template-columns:1fr 1fr;gap:15px;margin:16px 0;display:grid}.inspiration-panel,.rule-note{min-height:155px;padding:22px 25px}.inspiration-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.inspiration-panel h2,.rule-note h2{font-family:var(--display);margin:6px 0 5px;font-size:29px;font-weight:400}.inspiration-panel p,.rule-note p{color:#7a756b;max-width:490px;margin:7px 0 0;font-size:12px;line-height:1.6}.inspiration-toggle{color:#7e876d;background:#f7f0e3;border:1.5px solid #b3a587;border-radius:50%;flex:none;place-items:center;width:49px;height:49px;display:grid}.inspiration-toggle.on{color:#fcf2dc;background:#384d40;border-color:#384d40}.inventory-section{padding:21px 24px 20px}.text-action{color:#9f6348;background:0 0;border:0;align-items:center;gap:6px;padding:3px;font-size:11px;font-weight:700;display:inline-flex}.text-action:hover{text-decoration:underline}.inventory-layout{grid-template-columns:1fr 1fr 1.4fr;gap:14px;margin-top:20px;display:grid}.inventory-group{min-width:0}.inventory-group-header{justify-content:space-between;align-items:start;gap:8px;margin-bottom:13px;display:flex}.inventory-group h3{font-family:var(--display);margin:0;font-size:25px;font-weight:400}.inventory-group p{color:#928879;margin:1px 0;font-size:10px}.slot-counter{color:#827763;white-space:nowrap;border:1px solid #dcd1bb;border-radius:30px;padding:4px 8px;font-size:10px}.inventory-grid{grid-template-columns:1fr;gap:9px;display:grid}.pack .inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-slot{text-align:left;color:#9d8f7c;background:#f9f4e9;border:1px dashed #d1bea2;border-radius:6px;justify-content:center;align-items:center;gap:9px;min-width:0;min-height:74px;padding:10px;font-size:11px;display:flex}.inventory-slot.empty:hover{color:#76644b;background:#f4ebdb;border-color:#b6a180}.slot-plus{color:#a99478;border:1px solid #d9c9b3;border-radius:50%;place-items:center;width:27px;height:27px;display:grid}.inventory-slot.occupied{color:#444c45;text-align:left;cursor:grab;background:#fffdf7;border:1px solid #dfd3c0;justify-content:stretch;gap:7px}.inventory-slot.occupied:hover{background:#f7f2e5;border-color:#bdab90}.slot-card-symbol{width:34px;height:39px;color:var(--card-accent);background:color-mix(in srgb,var(--card-accent) 10%,white);border-radius:3px;flex:none;place-items:center;display:grid;overflow:hidden}.slot-card-symbol img{object-fit:cover;width:100%;height:100%}.slot-card-copy{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.slot-card-copy strong{white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.slot-card-copy small{color:#908677;font-size:9px;line-height:1.2}.inventory-slot.occupied>svg{color:#aaa296}.pack-footer{color:#8b8275;border-top:1px solid #e2d7c5;align-items:center;gap:5px;margin-top:20px;padding-top:14px;font-size:11px;display:flex}.pack-footer span{align-items:start;gap:7px;line-height:1.5;display:flex}.pack-footer svg{flex:none;margin-top:2px}.overflow-section{background:#e8dfcc3d;border:1px dashed #b8ac9d;border-radius:6px;align-items:center;gap:12px;margin-top:14px;padding:12px 13px;display:flex;position:relative}.overflow-label{letter-spacing:1.3px;color:#a07058;white-space:nowrap;font-size:9px;font-weight:700}.overflow-items{flex-wrap:wrap;flex:1;gap:5px;display:flex}.overflow-empty{color:#ab9d8b;font-size:10px}.overflow-pill{color:#494d44;background:#f5eddf;border:1px solid #ddc9ac;border-radius:4px;align-items:center;gap:4px;padding:6px;font-size:10px;display:flex}.small-add{color:#6b705e;background:#f9f3e9;border:1px solid #c8bba7;border-radius:4px;align-items:center;gap:4px;padding:6px 8px;font-size:10px;display:flex}.foot-signature{text-align:center;font-family:var(--display);letter-spacing:2px;color:#a99d87;margin:30px auto 0;font-size:11px}.foot-signature span{color:#b17953;padding:0 10px}.app-footer{color:#9c9588;border-top:1px solid #dcd1c0;justify-content:space-between;align-items:center;gap:12px;padding:20px clamp(18px,4vw,54px);font-size:10px;display:flex}.app-footer button{color:#7b7466;background:0 0;border:0;align-items:center;gap:6px;font-size:10px;display:flex}.library-shell{min-height:850px}.library-hero{border-bottom:1px solid #d6c8b1;padding:28px 0 31px}.library-hero h1{margin:14px 0 12px;font-size:clamp(37px,5vw,66px)}.library-hero p{max-width:550px;font-size:17px;line-height:1.45}.library-hero-actions{gap:9px;margin-top:24px;display:flex}.button{white-space:nowrap;border:1px solid #0000;border-radius:5px;justify-content:center;align-items:center;gap:7px;padding:11px 16px;font-size:12px;font-weight:700;line-height:1.2;display:inline-flex}.button.primary{color:#fff9e7;background:#31483b;border-color:#31483b}.button.primary:hover{background:#415e4e}.button.secondary{color:#515a4d;background:#f9f1e3;border-color:#d9c8ac}.button.secondary:hover{background:#eee3d0}.button.danger-soft{color:#a65a46;background:#fff7ef;border-color:#eddbd2}.button.danger-soft:hover{background:#fae8dc}.library-toolbar{align-items:center;gap:10px;margin:24px 0 14px;display:flex}.search-wrap{color:#958c7d;background:#fffaf1;border:1px solid #daccb8;border-radius:6px;flex:1;align-items:center;gap:10px;min-width:0;height:43px;padding:0 12px;display:flex}.search-wrap input{color:#3f4842;background:0 0;border:none;outline:none;width:100%;font-size:12px}.library-toolbar select{color:#4d544d;background:#fffaf1;border:1px solid #daccb8;border-radius:6px;min-width:130px;height:43px;padding:0 10px;font-size:12px}.result-heading{color:#9b8b76;letter-spacing:1.2px;text-transform:uppercase;margin-bottom:13px;font-size:10px;font-weight:700}.library-card{background:#fffaf1;border:1px solid #d6c7af;border-radius:8px;flex-direction:column;min-width:0;display:flex;overflow:hidden;box-shadow:0 5px 15px #54402c0c}.library-card-art{background:linear-gradient(130deg,color-mix(in srgb,var(--card-accent) 28%,#f5e8d3),#efe6d7);height:158px;position:relative;overflow:hidden}.library-card-art>img{object-fit:cover;width:100%;height:100%}.card-placeholder{height:100%;color:color-mix(in srgb,var(--card-accent) 72%,#413e36);flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex}.card-embellishment{opacity:.45;font-size:17px}.card-placeholder-icon{opacity:.57;border:1px solid;border-radius:50%;place-items:center;width:82px;height:82px;display:grid;transform:rotate(-8deg)}.library-category{text-transform:uppercase;letter-spacing:1px;color:#fff7e7;background:#2e3e35;border-radius:3px;padding:5px 8px;font-size:9px;font-weight:700;position:absolute;bottom:10px;left:10px}.library-card-body{flex-direction:column;flex:1;padding:14px;display:flex}.library-card h3{font-family:var(--display);text-overflow:ellipsis;margin:0 0 7px;font-size:24px;font-weight:400;line-height:1.1;overflow:hidden}.library-card p{color:#837969;-webkit-line-clamp:3;-webkit-box-orient:vertical;min-height:51px;margin:0 0 17px;font-size:11px;line-height:1.6;display:-webkit-box;overflow:hidden}.library-card-foot{border-top:1px solid #ebe0cf;justify-content:space-between;align-items:center;gap:4px;margin-top:auto;padding-top:10px;display:flex}.library-card-foot>span{color:#928b7d;font-size:9px}.library-card-buttons{align-items:center;gap:3px;display:flex}.icon-button{color:#968b7b;background:0 0;border:none;border-radius:4px;place-items:center;padding:6px;display:grid}.icon-button:hover{background:#f3e5d2}.add-card-button{color:#fff8e9;background:#3c5143;border:none;border-radius:4px;align-items:center;gap:3px;padding:7px;font-size:10px;display:flex}.add-card-button:hover{background:#516f59}.empty-library{text-align:center;background:#fffbf47d;border:1px dashed #d3c3a9;border-radius:9px;flex-direction:column;grid-column:1/-1;justify-content:center;align-items:center;min-height:315px;padding:20px;display:flex}.empty-illustration{color:#b09a7a}.empty-library h3{font-family:var(--display);margin:10px 0 3px;font-size:30px;font-weight:400}.empty-library p{color:#8e8473;max-width:320px;font-size:12px;line-height:1.6}.empty-library button{margin-top:8px}.library-guidance{background:#efe7d5;border:1px solid #ddcfba;border-radius:8px;align-items:flex-start;gap:17px;margin-top:25px;padding:22px;display:flex}.guidance-star{color:#9f795b;font-size:26px}.library-guidance h3{font-family:var(--display);margin:0 0 4px;font-size:24px;font-weight:400}.library-guidance p{color:#827867;max-width:740px;margin:0 0 9px;font-size:11px;line-height:1.7}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#161f1ca6;justify-content:center;align-items:center;padding:15px;display:flex;position:fixed;inset:0}.modal{background:#fffaf0;border:1px solid #cbb79a;border-radius:10px;width:min(520px,100%);max-height:calc(100vh - 30px);padding:26px;position:relative;overflow:auto;box-shadow:0 20px 75px #0005}.modal-x{color:#7c7466;background:#faf4e9;border:1px solid #e6dac5;border-radius:50%;place-items:center;width:30px;height:30px;display:grid;position:absolute;top:17px;right:17px}.modal-heading{margin-bottom:21px;padding-right:27px}.modal-heading h2{font-family:var(--display);margin:9px 0 7px;font-size:36px;font-weight:400;line-height:1.1}.modal-heading p{color:#847b6b;margin:0;font-size:12px;line-height:1.55}.card-form{flex-direction:column;gap:15px;display:flex}.form-row{grid-template-columns:1fr 150px;gap:12px;display:grid}.image-picker{background:#faf4e8;border:1px dashed #d8c8b0;border-radius:6px;align-items:center;gap:15px;padding:10px;display:flex}.image-thumb{color:#9b8a72;background:#ede5d5;border-radius:5px;flex:none;place-items:center;width:80px;height:92px;display:grid;overflow:hidden}.image-thumb img{object-fit:cover;width:100%;height:100%}.upload-label{cursor:pointer;padding:8px 10px;font-size:10px}.subtle-link{color:#ad6b50;background:0 0;border:0;margin-left:7px;font-size:10px;text-decoration:underline}.mini-help{color:#9a8c79;margin:9px 0 0;font-size:10px;line-height:1.6}.swatches{gap:9px;margin-top:10px;display:flex}.swatches label{cursor:pointer;display:block}.swatches input{opacity:0;position:absolute}.swatches span{border:3px solid #fff8ed;border-radius:50%;width:28px;height:28px;display:block;box-shadow:0 0 0 1px #d9cab5}.swatches input:checked+span{box-shadow:0 0 0 2px #44483e}.modal-actions{border-top:1px solid #e5dac9;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;margin-top:7px;padding-top:17px;display:flex}.modal-actions>span{flex:1}.modal-actions .danger-soft{margin-right:auto}.picker-list{flex-direction:column;gap:7px;max-height:340px;margin-top:12px;display:flex;overflow:auto}.picker-item{text-align:left;background:#fefaf2;border:1px solid #eadfce;border-radius:6px;align-items:center;gap:11px;padding:8px 9px;display:flex}.picker-item:hover{background:#f1eadb;border-color:#cdbb9f}.picker-icon{width:39px;height:46px;color:var(--card-accent);background:color-mix(in srgb,var(--card-accent) 14%,white);border-radius:4px;flex-shrink:0;place-items:center;display:grid;overflow:hidden}.picker-icon img{object-fit:cover;width:100%;height:100%}.picker-item>span:nth-child(2){flex:1;min-width:0}.picker-item strong,.picker-item small{display:block}.picker-item strong{font-family:var(--display);font-size:18px;font-weight:400}.picker-item small{color:#9f9686;margin-top:3px;font-size:10px}.picker-empty{text-align:center;color:#8e8070;border:1px dashed #d6cab8;padding:28px;font-size:12px}.instance-art{background:#e9ddc8;border-radius:6px;height:180px;margin-top:-6px;margin-bottom:15px;overflow:hidden}.instance-art img{object-fit:cover;width:100%;height:100%}.instance-description{color:#5e655b;white-space:pre-wrap;border-left:3px solid #a58467;min-height:35px;margin-bottom:18px;padding:4px 10px;font-size:12px;line-height:1.7}.instance-uses{border:1px solid #e6dbcb;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;margin-bottom:17px;padding:14px;display:flex}.instance-uses p{color:#93897b;margin:4px 0;font-size:10px}.instance-uses .dots{justify-content:flex-end;max-width:235px}.instance-uses .dot{width:17px;height:17px}.no-dots{color:#938777;font-size:11px}.move-controls{margin:17px 0 19px}.move-choices{grid-template-columns:repeat(4,1fr);gap:6px;margin-top:9px;display:grid}.move-choice{color:#666b5e;background:#f4eadb;border:1px solid #dcd0bf;border-radius:5px;padding:10px 4px;font-size:11px;font-weight:600}.import-drop{align-items:center;gap:12px;margin-top:14px;display:flex}.import-drop span{color:#908677;font-size:10px}.toast{z-index:200;color:#fcf4e2;opacity:0;pointer-events:none;text-align:center;background:#263c30;border-radius:6px;max-width:min(500px,90vw);padding:11px 18px;font-size:12px;transition:opacity .15s,transform .15s;position:fixed;bottom:22px;left:50%;transform:translate(-50%,15px);box-shadow:0 5px 35px #0003}.toast.visible{opacity:1;transform:translate(-50%)}@media (width<=1150px){.card-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.character-overview{grid-template-columns:1fr}.progress-block{border-top:1px solid #e2d7c6;border-left:0;grid-template-columns:150px minmax(0,240px);padding:17px 0 0}.anatomy-content{grid-template-columns:minmax(125px,1fr) minmax(190px,1.1fr) minmax(125px,1fr);gap:8px}.part-card{padding:11px}.part-card-bottom{padding-left:0}.skeleton-illustration{height:400px}.skeleton-stage{min-height:420px}.inventory-layout{grid-template-columns:1fr 1fr}.inventory-group.pack{grid-column:1/-1}.pack .inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=760px){.app-header{height:68px}.app-controls{flex-wrap:wrap;align-items:stretch}.tabs{flex:1}.character-selector{margin-left:auto}.sheet-shell,.library-shell{padding-top:20px}.sheet-titlebar{margin:13px 0 24px}.lore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lore-panel{min-height:185px}.anatomy-content{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:8px}.skeleton-stage{order:-1;grid-column:1/-1;height:310px;min-height:310px}.skeleton-illustration{height:315px}.skeleton-caption{display:none}.part-column{gap:9px}.anatomy-foot{flex-direction:column;align-items:flex-start}.card-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.status-indicator{max-width:112px}.status-indicator #save-status{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.inventory-group .inventory-grid{grid-template-columns:1fr}.inventory-group.pack .inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=530px){.brand-icon{width:34px;height:34px}.brand-icon svg{width:22px}.brand-name{font-size:23px}.brand-subtitle{letter-spacing:1.5px;font-size:7px}.status-indicator{display:none}.app-controls{padding-top:10px;padding-bottom:10px}.tab{padding:9px 10px;font-size:11px}.character-selector{width:100%}.character-selector select{flex:1;max-width:none}.sheet-shell,.library-shell{padding-left:14px;padding-right:14px}.character-overview{padding:18px}.identity-block{grid-template-columns:1fr;gap:14px}.progress-block{grid-template-columns:105px 1fr;gap:12px}.lore-grid{gap:9px}.lore-panel{padding:14px 12px}.lore-panel h3{font-size:23px}.lore-panel textarea{font-size:11px}.anatomy-card,.inventory-section{padding:17px 13px}.panel-heading h2{font-size:24px}.section-meta{font-size:8px}.part-card{padding:10px}.part-name{font-size:18px}.part-number{width:28px;height:30px;font-size:19px}.part-card-line{gap:7px}.part-card-bottom{padding-left:0}.part-repair{font-size:8px}.dots{gap:6px}.dot{width:17px;height:17px}.skeleton-stage{height:270px;min-height:270px}.skeleton-illustration{height:274px}.smaller-grid{grid-template-columns:1fr}.inspiration-panel,.rule-note{min-height:120px;padding:19px}.inventory-layout{gap:12px}.inventory-slot{min-height:71px}.inventory-group h3{font-size:21px}.inventory-group p{font-size:9px}.slot-card-copy strong{font-size:10px}.slot-counter{padding:3px 6px;font-size:9px}.pack .inventory-grid{grid-template-columns:1fr 1fr}.overflow-section{flex-wrap:wrap}.overflow-items{min-width:100%}.overflow-label{font-size:8px}.library-hero{padding:12px 0 25px}.library-hero h1{font-size:36px}.library-hero p{font-size:15px}.library-toolbar select{min-width:105px;max-width:110px}.library-card-art{height:135px}.library-card-body{padding:10px}.library-card h3{font-size:21px}.library-card-foot{flex-wrap:wrap}.library-card-foot>span{width:100%}.modal{padding:23px 17px}.modal-heading h2{font-size:29px}.form-row{grid-template-columns:1fr 115px}.move-choices{grid-template-columns:repeat(2,1fr)}.instance-uses{flex-direction:column;align-items:flex-start}.app-footer{flex-wrap:wrap}}@media (width<=390px){.tabs{gap:2px}.tab svg{display:none}.tab{padding:10px 7px}.card-gallery{gap:9px}.library-card-art{height:112px}.library-card-foot .add-card-button{padding:6px}.library-card-buttons{margin-left:auto}.pack .inventory-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.library-image-import{margin:0}.library-hero-actions{flex-wrap:wrap}@media (width<=530px){.library-hero-actions .button{padding:10px 11px}.part-actions{justify-content:flex-end}}.dice-panel{flex-direction:column;gap:12px;margin:16px 0;padding:18px 24px;display:flex}.dice-panel-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.dice-panel h2{font-family:var(--display);margin:3px 0 0;font-size:25px;font-weight:400}.dice-presets{align-items:center;gap:6px;display:flex}.dice-presets button{min-width:45px;padding:7px 11px;font-size:12px}.dice-form{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.dice-form input,.dice-form select{background:#fffbf4;border:1px solid #d5c7b3;border-radius:6px;min-height:39px;padding:8px 10px;font-size:13px}.dice-form input{flex:2;min-width:105px;font-family:ui-monospace,Consolas,monospace}.dice-form select{flex:1;min-width:125px}.dice-form .button{white-space:nowrap;min-height:39px}.dice-result{color:#4b674f;min-height:16px;font-size:13px}.library-card-art,.instance-art,.image-thumb,.picker-icon,.slot-card-symbol{background:#fffaf1}.library-card-art img,.instance-art img,.image-thumb img,.picker-icon img,.slot-card-symbol img{object-fit:contain;background:#fff}@media (width<=530px){.dice-panel{padding:14px}.dice-form input{min-width:125px}.dice-form select{min-width:110px}}body{background:#f5f1e9}.app-header{background:#282d29;border-bottom:0;height:54px;padding:0 18px}.brand{gap:8px}.brand-icon{border:0;width:27px;height:27px}.brand-icon svg{width:23px;height:23px}.brand-name{letter-spacing:0;font-size:23px}.brand-subtitle{display:none}.header-icon-btn{width:30px;height:30px}.app-controls{background:#faf8f2;gap:8px;padding:8px 18px}.sheet-shell{max-width:1150px;margin:0 auto;padding:14px 18px 30px}.paper-card{box-shadow:none;background:#fffdf8;border:1px solid #dcd5c9;border-radius:5px}.minimal-sheet .field-label,.minimal-sheet .field label{color:#777168;letter-spacing:.02em;text-transform:none;font-size:11px;font-weight:600}.minimal-sheet .character-overview{grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:14px}.minimal-sheet .identity-block{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.minimal-sheet .field{gap:5px}.minimal-sheet .field input:not([type=radio]){background:#fff;border-radius:4px;height:38px;padding:7px 10px;font-size:14px}.minimal-sheet .name-field input{font-family:var(--display);height:38px;font-size:19px!important}.minimal-sheet .progress-block{border-left:1px solid #e5ded2;grid-template-columns:85px 110px;gap:15px;padding-left:16px}.minimal-sheet .progress-group .field-label,.minimal-sheet .value-group .field-label{letter-spacing:0;text-transform:none;font-size:11px}.minimal-sheet .level-control{justify-content:flex-start;gap:4px;height:36px;margin-top:1px}.minimal-sheet .level-control button{width:24px;height:24px}.minimal-sheet .level-control span{text-align:center;min-width:28px;font-size:27px}.minimal-sheet .value-line{align-items:center;gap:5px;margin-top:0}.minimal-sheet .value-line input{font-family:var(--display);width:49px;font-size:26px}.minimal-sheet .value-target,.minimal-sheet .value-divider{font-size:20px}.minimal-sheet .value-track{height:3px;margin-top:2px}.sheet-main-grid{grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:12px;margin-top:12px;display:grid}.sheet-stats-block{min-width:0;padding:15px}.stats-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.stat-panel{background:#faf8f2;border:1px solid #e4dccf;border-radius:5px;min-width:0;padding:11px 12px}.stat-panel label{font:25px var(--display);color:#292f2b;margin-bottom:9px;display:block}.stat-controls{align-items:center;gap:9px;display:flex}.stat-controls input{color:#202722;text-align:center;background:#fff;border:1px solid #cfc5b5;border-radius:4px;width:68px;min-width:0;height:42px;padding:4px 8px;font-size:24px;font-weight:650}.roll-stat{color:#fffdf3;white-space:nowrap;background:#29392f;border:1px solid #29392f;border-radius:4px;flex:1;justify-content:center;align-items:center;gap:6px;min-height:42px;font-size:13px;font-weight:700;display:flex}.roll-stat:hover{background:#47584c}.roll-adjustments{flex-wrap:wrap;align-items:center;gap:8px;margin-top:11px;display:flex}.roll-adjustments label{color:#625c50;align-items:center;gap:5px;font-size:11px;display:flex}.roll-adjustments select{color:#313a32;background:#fff;border:1px solid #d7cebf;border-radius:4px;height:32px;padding:0 5px;font-size:11px}.roll-adjustments #dice-target{max-width:125px;margin-left:auto}.roll-utility{justify-content:space-between;align-items:center;gap:8px;margin-top:9px;display:flex}.roll-utility>button{color:#3e4740;white-space:nowrap;background:#fff;border:1px solid #d9d0c1;border-radius:4px;align-items:center;gap:6px;padding:7px 9px;font-size:11px;display:flex}.roll-utility form{gap:0;min-width:80px;max-width:150px;display:flex}.roll-utility input{border:1px solid #d9d0c1;border-radius:4px 0 0 4px;width:100%;min-width:0;height:32px;padding:5px 7px;font-size:12px}.roll-utility form button{background:#eee8dc;border:1px solid #d9d0c1;border-left:0;border-radius:0 4px 4px 0;place-items:center;width:34px;height:32px;display:grid}.dice-result{word-break:break-word;margin-top:8px;font-size:12px;font-weight:600;line-height:1.4}.sheet-notes-block{grid-template-columns:1fr 1fr;gap:12px;display:grid}.simple-textbox{min-height:190px;font:24px var(--display);background:#fffdf8;border:1px solid #dcd5c9;border-radius:5px;flex-direction:column;gap:8px;min-width:0;padding:14px;display:flex}.simple-textbox textarea{resize:vertical;color:#343b35;background:0 0;border:0;outline:none;flex:1;width:100%;min-height:100px;font:13px/1.5 system-ui,Arial,sans-serif}.minimal-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:11px;display:flex}.minimal-heading h2{font:26px var(--display);margin:0}.minimal-heading span{color:#7f796d;font-size:11px}.minimal-sheet .anatomy-card{margin-top:12px;padding:15px}.minimal-sheet .anatomy-content{grid-template-columns:1fr minmax(105px,.58fr) 1fr;align-items:stretch;gap:11px;max-width:930px;margin:0 auto}.minimal-sheet .part-column{gap:7px}.minimal-sheet .part-card{border-radius:4px;min-height:64px;padding:8px 10px}.minimal-sheet .part-card-line{gap:8px}.minimal-sheet .part-number{border-radius:3px;width:25px;height:26px;font-size:16px;transform:none}.minimal-sheet .part-name{font-size:18px}.minimal-sheet .part-status{letter-spacing:.1em;font-size:8px}.minimal-sheet .part-card-bottom{margin-top:6px;padding-left:33px}.minimal-sheet .dot{flex:none;width:21px;min-width:21px;height:21px}.minimal-sheet .dots{gap:7px}.minimal-sheet .skeleton-illustration{width:100%;max-width:220px;height:245px}.minimal-sheet .skeleton-caption,.minimal-sheet .skeleton-halo{display:none}.minimal-sheet .inspiration-strip{font:22px var(--display);justify-content:space-between;align-items:center;margin-top:12px;padding:8px 14px;display:flex}.minimal-sheet .inspiration-toggle{width:32px;height:32px}.minimal-sheet .inventory-section{margin-top:12px;padding:15px}.minimal-sheet .inventory-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px;margin-top:0;display:grid}.minimal-sheet .inventory-group{min-width:0}.minimal-sheet .inventory-group.pack{grid-column:1/-1}.minimal-sheet .inventory-group-header{align-items:center;margin-bottom:7px}.minimal-sheet .inventory-group h3{font-size:22px}.minimal-sheet .slot-counter{font-size:var(--text-small);color:var(--text-secondary);font-variant-numeric:tabular-nums}.minimal-sheet .inventory-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.minimal-sheet .inventory-slot.empty{background:#fcfaf5;border:1px dashed #d5cbbd;border-radius:5px;min-height:84px}.minimal-sheet .inventory-slot.empty .slot-plus{color:#948875;place-items:center;display:grid}.inventory-tile{cursor:grab;background:#fff;border:1px solid #d4c9b9;border-radius:5px;align-items:stretch;min-width:0;min-height:84px;display:flex;overflow:hidden}.inventory-tile-art{color:#a4a298;background:#fff;border:none;border-right:1px solid #ebe4d9;justify-content:center;align-items:center;width:85px;min-width:70px;max-width:32%;padding:4px;display:flex}.inventory-tile-art img{object-fit:contain;mix-blend-mode:multiply;width:100%;height:100%;max-height:88px;display:block}.inventory-tile-content{flex-direction:column;flex:1;justify-content:space-between;gap:8px;min-width:0;padding:9px 7px 8px 10px;display:flex}.inventory-tile-head strong{word-break:normal;overflow-wrap:anywhere;min-width:0;font-size:13px;font-weight:650;line-height:1.25}.inventory-tile-more{color:#8a887d;background:0 0;border:0;flex:none;place-items:center;min-width:20px;padding:0 1px;display:grid}.inventory-tile-usage{align-items:center;min-height:22px;display:flex}.inventory-tile-usage .dots{gap:7px}.inventory-tile-usage .dot{width:21px;min-width:21px;height:21px}.inventory-tile-usage .dot:focus-visible{outline-offset:2px}.inventory-tile-usage .dot:hover{background:#f6ede2;border-color:#ab7154}.no-usage{color:#b4ada0;font-size:13px}.overflow-chip{background:#fff;border:1px solid #d7cbb8;border-radius:4px;align-items:center;gap:8px;padding:5px 7px;display:inline-flex}.overflow-chip>button{background:0 0;border:0;padding:0;font-size:12px;font-weight:650}.overflow-chip .dot{width:16px;min-width:16px;height:16px}.minimal-sheet .overflow-section{margin-top:13px}.minimal-sheet .overflow-label{text-transform:none;letter-spacing:0;font-size:11px}.minimal-sheet .text-action{font-size:12px}@media (width<=800px){.minimal-sheet .character-overview{grid-template-columns:1fr}.minimal-sheet .progress-block{border-top:1px solid #e5ded2;border-left:0;grid-template-columns:95px 125px;padding:10px 0 0}.sheet-main-grid{grid-template-columns:1fr}.simple-textbox{min-height:110px}.sheet-notes-block{grid-template-columns:1fr 1fr}.minimal-sheet .inventory-group.pack .inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=540px){.app-header{height:48px;padding:0 10px}.app-controls{padding:7px 10px}.sheet-shell{padding:9px 9px 22px}.minimal-sheet .character-overview,.sheet-stats-block,.minimal-sheet .inventory-section,.minimal-sheet .anatomy-card{padding:11px}.minimal-sheet .identity-block{grid-template-columns:1fr 1fr;gap:7px}.minimal-sheet .field input:not([type=radio]){padding:6px}.minimal-sheet .name-field input{font-size:17px!important}.stat-controls input{width:52px;font-size:22px}.roll-stat{padding:0 4px;font-size:12px}.sheet-notes-block{gap:8px}.simple-textbox{min-height:130px;padding:10px;font-size:21px}.minimal-sheet .anatomy-content{grid-template-columns:1fr 1fr;gap:6px}.minimal-sheet .skeleton-stage{display:none}.minimal-sheet .part-card{min-height:64px;padding:7px}.minimal-sheet .part-card-bottom{padding-left:0}.minimal-sheet .part-name{font-size:16px}.minimal-sheet .dots{gap:6px}.minimal-sheet .inventory-layout{grid-template-columns:1fr;gap:14px}.minimal-sheet .inventory-group.pack{grid-column:auto}.minimal-sheet .inventory-group.pack .inventory-grid{grid-template-columns:1fr 1fr}.inventory-tile{min-height:99px}.inventory-tile-art{width:69px;min-width:48px}.inventory-tile-content{gap:5px;padding:7px 5px 8px}.inventory-tile-head strong{font-size:11px}.inventory-tile-usage .dot{width:20px;min-width:20px;height:20px}.inventory-tile-usage .dots{gap:5px}}@media (width<=380px){.minimal-sheet .inventory-group.pack .inventory-grid{grid-template-columns:1fr}.inventory-tile-art{max-width:33%}.roll-adjustments #dice-target{margin-left:0}}.inventory-tile-title{color:inherit;text-align:left;word-break:normal;overflow-wrap:anywhere;background:0 0;border:0;flex:1;min-width:0;padding:0;font-size:13px;font-weight:650;line-height:1.25}.inventory-tile-title:hover{text-decoration:underline}@media (width<=540px){.inventory-tile-title{font-size:11px}}.minimal-sheet .inventory-group.held .inventory-grid,.minimal-sheet .inventory-group.worn .inventory-grid{grid-template-columns:minmax(0,1fr)}.inventory-tile{cursor:grab;border:1px solid #dbd2c4;border-radius:7px;align-items:center;min-height:77px}.inventory-tile-art{background:#fffdf9;border-right:1px solid #f0ebe3;flex:none;align-self:stretch;width:84px;min-width:0;max-width:34%;padding:8px 6px}.inventory-tile-art img{object-fit:contain;mix-blend-mode:multiply;background:0 0;width:100%;height:100%;max-height:69px}.inventory-tile-content{flex:1;justify-content:center;gap:6px;min-width:0;padding:10px 11px}.inventory-tile-head{justify-content:space-between;align-items:center;gap:6px;min-width:0;display:flex}.inventory-tile-title{white-space:nowrap;text-overflow:ellipsis;overflow-wrap:normal;min-width:0;max-width:100%;font-size:14px;font-weight:700;line-height:1.3;display:block;overflow:hidden}.inventory-tile-more{color:#8a877d;flex:0 0 18px;min-width:18px;padding:0}.inventory-tile-usage .dots{align-items:center;gap:6px}.inventory-tile-usage .dot{border-width:1.4px;border-color:#918a7c;width:19px;min-width:19px;height:19px}.inventory-tile-usage .dot.marked{border-color:#424f43}.inventory-tile:hover{border-color:#728472;box-shadow:0 1px 5px #0000000d}.library-card-art img,.instance-art img,.picker-icon img{object-fit:contain;mix-blend-mode:multiply;background:0 0}.library-card-art{background:#fffdf9}@media (width>=1150px){.minimal-sheet .inventory-group.pack .inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=650px){.minimal-sheet .inventory-layout{grid-template-columns:1fr 1fr;gap:10px}.minimal-sheet .inventory-group.pack{grid-column:1/-1}.minimal-sheet .inventory-group.pack .inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-tile-art{width:64px;max-width:29%}.inventory-tile-content{padding:7px}.inventory-tile-title{font-size:12px}.inventory-tile-usage .dot{width:17px;min-width:17px;height:17px}.inventory-tile-usage .dots{gap:5px}}@media (width<=450px){.minimal-sheet .inventory-layout{grid-template-columns:1fr}.minimal-sheet .inventory-group.pack{grid-column:auto}.minimal-sheet .inventory-group.pack .inventory-grid{grid-template-columns:1fr}.inventory-tile-art{width:84px;max-width:28%}.inventory-tile-content{padding:10px}.inventory-tile-title{font-size:14px}.inventory-tile-usage .dot{width:19px;min-width:19px;height:19px}}:root{--sticky-header:64px;--sticky-controls:54px}.app-header{height:var(--sticky-header);z-index:55;background:#171a19;border-bottom:1px solid #474a44;padding:5px 20px;position:sticky;top:0}.brand{gap:9px;height:100%}.brand-wordmark{object-fit:contain;object-position:left center;width:auto;max-width:186px;height:51px}.app-controls{min-height:var(--sticky-controls);top:var(--sticky-header);z-index:54;position:sticky;box-shadow:0 2px 7px #292e2714}.library-shell{min-height:0;padding-top:22px}.library-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin:0 0 14px;display:flex}.library-heading h1{font:400 32px/1.1 var(--display);margin:0}.library-heading .library-hero-actions{flex-wrap:wrap;gap:7px;margin:0;display:flex}.library-heading .button{padding:9px 12px;font-size:11px}.library-toolbar{top:calc(var(--sticky-header) + var(--sticky-controls) - 1px);z-index:45;background:#f7f3e9;margin:0 0 12px;padding:10px 0;position:sticky;box-shadow:0 5px 9px #e3dbce99}.library-toolbar .search-wrap{flex:1;min-width:160px}.card-gallery{grid-template-columns:repeat(auto-fill,minmax(134px,1fr));gap:10px;display:grid}.library-card.printable-card{min-width:0;box-shadow:none;background:#fffefa;border:1px solid #c6bdb0;border-radius:3px;flex-direction:column;transition:border-color .15s,box-shadow .15s;display:flex;overflow:hidden}.library-card.printable-card:hover{border-color:#797568;box-shadow:0 3px 12px #4b422119}.print-card-face{color:#202320;flex-direction:column;flex:1;justify-content:space-between;align-items:center;min-width:0;min-height:158px;padding:7px 7px 6px;display:flex}.catalog-dots{flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;max-width:100%;min-height:16px;margin-bottom:2px;display:flex}.catalog-dot{background:0 0;border:1.3px solid;border-radius:50%;width:13px;height:13px}.print-card-art{justify-content:center;align-items:center;width:100%;height:100px;display:flex;overflow:hidden}.print-card-art img{object-fit:contain;mix-blend-mode:multiply;width:auto;max-width:100%;height:auto;max-height:100%}.print-card-no-art{opacity:.4;place-items:center;width:100%;height:100%;display:grid}.print-card-name{text-align:center;overflow-wrap:anywhere;justify-content:center;align-items:center;min-height:22px;padding:3px 2px 0;font:700 13px/1.18 Georgia,Times New Roman,serif;display:flex}.print-card-actions{background:#f8f4eb;border-top:1px solid #e3ddd1;flex:none;justify-content:flex-end;align-items:center;gap:3px;height:35px;padding:3px 5px;display:flex}.print-card-actions button{color:#3d473e;background:0 0;border:0;border-radius:3px;justify-content:center;align-items:center;gap:3px;height:27px;padding:0 8px;font-size:11px;font-weight:700;display:inline-flex}.print-card-actions button:hover{background:#e9e2d5}.print-card-actions .catalog-add{color:#fffdf5;background:#304337;min-width:54px}.owned-number{color:#6f695e;margin-right:auto;padding:0 4px;font:700 10px/1 Arial,sans-serif}.card-action-spacer{flex:1}.library-card.condition-card{background:#222021;border-color:#575252}.condition-card .print-card-face{color:#fff}.condition-card .print-card-art img{mix-blend-mode:normal}.condition-card .print-card-actions{background:#34302f;border-color:#585252}.condition-card .print-card-actions button{color:#f1f1ea}.condition-card .print-card-actions .catalog-edit:hover{background:#4e4948}.condition-card .print-card-actions .catalog-add{color:#222;background:#ede7d8}.condition-card .print-card-actions .catalog-add:hover{background:#fff}.condition-card .owned-number{color:#e9e3d5}.result-heading{letter-spacing:.5px;margin:0 0 9px}@media (width>=980px){.card-gallery{grid-template-columns:repeat(auto-fill,minmax(146px,1fr))}}@media (width<=760px){:root{--sticky-header:58px;--sticky-controls:58px}.app-header{height:var(--sticky-header)}.app-controls{min-height:var(--sticky-controls);flex-wrap:nowrap;align-items:center}.brand-wordmark{max-width:160px;height:46px}.library-shell{padding-top:14px}.library-heading h1{font-size:29px}.card-gallery{grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:8px}.print-card-art{height:95px}.print-card-face{min-height:150px}.library-toolbar{padding:7px 0}}@media (width<=530px){:root{--sticky-header:54px;--sticky-controls:52px}.app-header{height:var(--sticky-header);padding:4px 10px}.app-controls{flex-wrap:wrap;gap:5px;padding:5px 10px}.brand-wordmark{max-width:122px;height:40px}.character-selector select{min-width:82px;max-width:116px}.tab{gap:5px;padding:8px;font-size:11px}.tab svg{width:15px}.library-heading .library-hero-actions{gap:5px}.library-heading .button{padding:8px 9px}.library-heading{margin-bottom:9px}.card-gallery{grid-template-columns:repeat(auto-fill,minmax(122px,1fr));gap:7px}.print-card-face{min-height:140px}.print-card-art{height:87px}.print-card-name{font-size:12px}.library-toolbar{top:calc(var(--sticky-header) + var(--sticky-controls))}.library-toolbar select{height:37px}.library-toolbar .search-wrap{min-width:115px}.catalog-dot{width:11px;height:11px}.catalog-dots{gap:3px}.print-card-actions button{padding:0 6px}.print-card-actions .catalog-add{min-width:47px}}@media (width<=370px){.app-controls{--sticky-controls:90px}.brand-wordmark{max-width:115px}.card-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.character-selector{margin-left:0}.library-toolbar{top:calc(var(--sticky-header) + 82px)}}:root{--ink:#20201e;--dark:#111311;--paper:#fffdfa;--line:#c9c4b9;--copper:#9d7c19;--sage:#292e29;--muted:#77736b;--parchment:#f7f5ed;--sk-yellow:#f2d64a}body{color:var(--ink);background:#e9e6da}.app-frame{box-shadow:none;background:#f5f3ea}.app-header{background:#141514;border-bottom:4px solid #f2d64a}.app-controls{box-shadow:none;background:#f4f1e7;border-bottom:1px solid #b8b4a6}.tab{color:#42423d;border-radius:3px}.tab.selected{color:#fff;background:#171817;border-color:#171817;border-radius:2px;box-shadow:3px 3px #eed341}.character-selector select,.character-plus,.character-delete{color:#242521;background:#fffefa;border:1px solid #b8b3a5;border-radius:3px}.sheet-shell{padding-top:16px}.paper-card{background:#fffcf5;border:1.5px solid #c4beb0;border-radius:3px;box-shadow:3px 3px #28251b0b}.minimal-sheet .character-overview{background:#faf9f3;gap:12px;padding:14px 16px}.minimal-sheet .field input:not([type=radio]){background:#fffdfa;border-color:#cdc7ba;border-radius:2px}.minimal-sheet .name-field input{font-size:21px!important}.minimal-sheet .progress-block{border-left:1px solid #c9c3b5}.minimal-sheet .level-control button{color:#fff;background:#252621;border-radius:2px}.minimal-sheet .value-track span{background:#252621}.minimal-sheet .simple-textbox,.simple-textbox{box-shadow:none;background:#fffefb;border:1px solid #cac3b4;border-radius:3px}.minimal-heading h2,.simple-textbox,.inventory-group h3{font-family:var(--display),Georgia,serif}.minimal-heading{border-bottom:2px solid #302f2a;padding-bottom:6px}.minimal-heading h2{font-weight:700}.minimal-sheet .anatomy-card{background:#fffefa;padding:15px 14px}.minimal-sheet .part-card{background:#fffefa;border:1px solid #d0c9bd;border-radius:2px}.minimal-sheet .part-number{color:#fff8e8;background:#242421;border-radius:0;box-shadow:2px 2px #f2d64a}.minimal-sheet .part-status{letter-spacing:.2px;color:#74736d}.minimal-sheet .part-card.is-lost{background:#f9e8e2;border-color:#9b6e5f}.minimal-sheet .dot{border-width:1.5px;border-color:#30322d}.minimal-sheet .dot.marked{background:#181917;border-color:#181917}.inspiration-toggle.on{color:#181917!important;background:#f1d84f!important}.minimal-sheet .inventory-tile{background:#fffef9;border-color:#bdb7a9;border-radius:3px;box-shadow:1px 2px #2323230c}.minimal-sheet .inventory-tile-title{color:#262521;font-family:Georgia,serif;font-weight:700}.minimal-sheet .inventory-tile:hover{border-color:#3e3e39}.minimal-sheet .inventory-slot.empty{background:#fffcf5;border-style:dashed}.library-card.printable-card{background:#fffefa;border-color:#aea89a}.print-card-actions .catalog-add{background:#1d1e1a;border-radius:2px}.print-card-actions .catalog-add:hover{background:#3a3b34}.quickroll-panel{top:calc(var(--sticky-header) + var(--sticky-controls) + 4px);z-index:42;background:#fffefa;border:2px solid #292924;border-radius:3px;margin-top:12px;padding:10px 13px 9px;position:sticky;box-shadow:0 6px #c7c2b7,0 11px 20px #1a1a1918}.quickroll-panel .stats-row{grid-template-columns:1fr 1fr;gap:11px}.quickroll-panel .stat-panel{background:0 0;border:0;border-radius:0;align-items:center;gap:9px;min-width:0;padding:7px 8px;display:flex}.quickroll-panel .stat-panel label{white-space:nowrap;margin:0;font:700 clamp(17px,2.4vw,23px)/1.05 Georgia,serif}.quickroll-panel .stat-controls{flex:1;justify-content:flex-end;align-items:center;gap:5px;min-width:0;display:flex}.quickroll-panel .stat-controls input{text-align:center;appearance:textfield;background:#fffdfa;border:1px solid #969186;border-radius:2px;width:49px;min-width:40px;height:52px;padding:0 2px;font:700 21px/1 Georgia,serif}.quickroll-panel input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.quickroll-panel input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.quickroll-panel .roll-stat{color:#fffefa;white-space:normal;text-align:left;background:#1b1d1a;border:1px solid #181916;border-radius:2px;flex:0 148px;gap:9px;min-height:52px;padding:5px 9px;transition:transform .12s,background .12s;display:flex}.quickroll-panel .roll-stat:hover{background:#373832;transform:translateY(-1px)}.roll-button-copy{flex-direction:column;align-items:flex-start;gap:3px;line-height:1.05;display:flex}.roll-button-copy b{letter-spacing:.1px;font-size:12px}.roll-button-copy small{color:#f4da67;font:700 11px/1 DM Sans,sans-serif}.quickroll-panel .roll-adjustments{border-top:1px dashed #d7d1c4;flex-wrap:wrap;align-items:center;gap:9px 12px;margin-top:9px;padding:6px 0 0;display:flex}.roll-mod-row{align-items:center;gap:7px;min-width:0;display:flex}.mod-title{color:#4b4a45;white-space:nowrap;font-size:11px;font-weight:750}.segmented-adjust{background:#fbfaf5;border:1px solid #b5b0a2;border-radius:2px;align-items:center;display:flex;overflow:hidden}.segmented-adjust button{color:#42403b;background:0 0;border:0;border-right:1px solid #c9c2b4;min-width:30px;height:29px;padding:2px 6px;font-size:12px;font-weight:800}.segmented-adjust button:last-child{border-right:0}.segmented-adjust button.active{color:#fff;background:#262721;border-color:#262721;box-shadow:inset 0 -3px #f1d243}.segmented-adjust button:hover:not(.active){background:#ede7d7}.roll-target-label{margin-left:auto;display:block}.roll-target-label select{color:#30312b;background:#fffefa;border:1px solid #bdb5a8;border-radius:2px;max-width:118px;height:31px;padding:0 7px;font-size:11px;font-weight:700}.reset-modifiers{color:#69665f;background:0 0;border:1px solid #c4beaf;border-radius:2px;place-items:center;min-width:28px;height:31px;padding:0 5px;display:grid}.reset-modifiers.is-adjusted{color:#23211b;background:#f2d64a;border-color:#c1a82b}.roll-minor{align-items:center;gap:7px;min-height:29px;margin-top:6px;display:flex}.hit-location-button{white-space:nowrap;color:#31302b;background:#f0ebdd;border:1px solid #c9c1b3;border-radius:2px;align-items:center;gap:5px;padding:5px 8px;font-size:11px;font-weight:750;display:flex}.roll-minor form{background:#fffefa;border:1px solid #c9c1b3;border-radius:2px;align-items:center;min-width:90px;max-width:123px;height:30px;display:flex;overflow:hidden}.roll-minor form input{color:#35332e;background:0 0;border:0;width:100%;min-width:0;padding:6px;font:650 11px/1 Arial,sans-serif}.roll-minor form button{background:#eee8d8;border:0;border-left:1px solid #c9c1b3;place-items:center;width:30px;height:29px;display:grid}.recent-rolls{flex:1;justify-content:flex-end;gap:4px;min-width:0;display:flex;overflow:hidden}.recent-rolls button{color:#59564f;background:#faf8f1;border:1px solid #ded9ce;border-radius:2px;justify-content:space-between;align-items:center;gap:7px;min-width:0;max-width:100px;padding:5px 7px;font-size:10px;display:flex}.recent-rolls button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.recent-rolls button b{color:#181917;font-size:12px}.dice-result{min-height:0;margin:7px 0 0}.dice-result:empty{display:none}.roll-outcome{background:#f9f8f2;border:1px solid #c9c3b5;border-radius:2px;padding:6px 9px;animation:.18s ease-out rollin}.roll-outcome.outcome-success{background:#f5f4e6;border-color:#8e9877}.roll-outcome.outcome-failure{background:#f9efea;border-color:#c9a69a}.roll-outcome-top,.roll-dice-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.roll-outcome-top{margin-bottom:5px}.roll-outcome-name{font:700 15px Georgia,serif}.roll-verdict{letter-spacing:1px;color:#fff;background:#272924;border:1px solid #272924;border-radius:2px;padding:5px 7px;font:900 10px/1 Arial,sans-serif}.roll-verdict.success{color:#fff;background:#26362a;border-color:#26362a}.roll-verdict.failure{color:#fff;background:#7b4231;border-color:#7b4231}.roll-verdict.neutral{color:#34322a;background:#e0d7bd;border-color:#a9a083}.roll-outcome-detail{color:#34342e;margin-left:auto;font-size:12px;font-weight:800}.result-die{color:#24241f;background:#fff;border:1.5px solid #3a3a36;border-radius:4px;place-items:center;width:29px;height:29px;font:800 17px/1 Georgia,serif;display:grid;box-shadow:1px 1px #aaa497}.result-die.six{background:#f3d84c;box-shadow:1px 1px #9c8b45}.roll-origin{letter-spacing:.8px;text-transform:uppercase;color:#777368;margin-left:auto;font:700 9px/1 Arial,sans-serif}.reroll-icon{color:#312f2a;background:0 0;border:1px solid #aaa598;border-radius:2px;align-items:center;gap:4px;padding:5px 8px;font-size:11px;font-weight:750;display:flex}.mark-hit{color:#fff;background:#282924;border:1px solid #151515;border-radius:2px;margin-top:7px;padding:7px 10px;font-size:11px;font-weight:750}.roll-waiting{align-items:center;gap:8px;padding:9px 0;font-size:12px;display:flex}.roll-spinner{border:2px solid #ccc5b5;border-top-color:#1d1f1b;border-radius:50%;width:13px;height:13px;animation:.8s linear infinite spin}.roll-error{color:#5f3d32;background:#fbf0e8;border:1px solid #cda89a;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;padding:8px;font-size:12px;display:flex}.roll-error-actions{gap:4px;display:flex}.roll-error-actions button{color:#382d29;background:#fff;border:1px solid #977e71;border-radius:2px;padding:5px 8px;font-size:11px}.visually-hidden{clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;position:absolute!important}.sheet-notes-block{margin-top:13px}.minimal-sheet .simple-textbox{min-height:130px;padding:11px 13px;font-size:21px}.minimal-sheet .simple-textbox textarea{min-height:65px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes rollin{0%{opacity:.45;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@media (width<=760px){.sheet-shell{padding:12px 14px 30px}.quickroll-panel{top:calc(var(--sticky-header) + var(--sticky-controls) + 3px);padding:8px}.quickroll-panel .stat-panel{gap:6px;padding:6px}.quickroll-panel .stat-panel label{font-size:19px}.quickroll-panel .roll-stat{flex-basis:118px;padding:5px 8px}.quickroll-panel .stat-controls input{width:43px;height:47px}.quickroll-panel .roll-stat{min-height:47px}.quickroll-panel .roll-adjustments{gap:6px 9px}.mod-title{font-size:var(--text-small)}.segmented-adjust button{min-width:27px;padding:3px 5px}}@media (width<=570px){.sheet-shell{padding:10px 9px 24px}.quickroll-panel{position:relative;top:auto;box-shadow:0 3px #c7c2b7}.quickroll-panel .stats-row{gap:6px}.quickroll-panel .stat-panel{flex-wrap:wrap;gap:5px}.quickroll-panel .stat-panel label{width:100%;font-size:18px}.quickroll-panel .stat-controls{justify-content:space-between;width:100%}.quickroll-panel .roll-stat{flex:1}.quickroll-panel .roll-adjustments{gap:6px}.roll-target-label{margin-left:0}.recent-rolls button{max-width:70px;padding:4px}.roll-minor form{max-width:90px}.mod-title{font-size:var(--text-small)}.roll-mod-row{gap:4px}.segmented-adjust button{min-width:25px}.roll-outcome-top{gap:5px}}@media (prefers-reduced-motion:reduce){.roll-spinner,.roll-outcome{animation:none}.roll-stat{transition:none}}.value-nudge{color:#272721;background:#eee9dc;border:1px solid #bcb4a7;border-radius:2px;flex-shrink:0;place-items:center;width:22px;height:23px;padding:0;font-size:17px;font-weight:800;display:grid}.minimal-sheet .value-line{align-items:center;gap:4px}.minimal-sheet .value-line input{text-align:center;border-color:#a9a294;width:50px}.anatomy-original{object-fit:contain;filter:contrast(1.5);opacity:.96;width:100%;height:auto;max-height:370px;display:block}.minimal-sheet .skeleton-stage{min-height:320px}@media (width<=760px){.minimal-sheet .skeleton-stage{min-height:270px}}.minimal-sheet .progress-block{grid-template-columns:minmax(120px,max-content) minmax(115px,1fr);gap:13px}.minimal-sheet .level-control{grid-template-columns:30px 36px 30px;justify-content:start;align-items:center;column-gap:7px;height:36px;margin-top:4px;display:grid}.minimal-sheet .level-control button{align-self:center;place-items:center;width:30px;min-width:30px;height:30px;padding:0;line-height:1;display:grid}.minimal-sheet .level-control span{font-family:var(--display), Georgia, serif;text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap;min-width:36px;height:36px;font-size:27px;font-weight:700;line-height:36px}.minimal-sheet .anatomy-content{grid-template-columns:minmax(0,1fr) minmax(170px,225px) minmax(0,1fr)}.minimal-sheet .skeleton-stage{justify-content:center;align-items:center;min-width:0;min-height:248px;padding:0;display:flex}.anatomy-figure{aspect-ratio:480/449;isolation:isolate;background:radial-gradient(#f6eedb 0%,#0000 71%);width:100%;max-width:300px;position:relative}.anatomy-figure:after{content:"";z-index:-1;pointer-events:none;border:1px dashed #31302b29;border-radius:50%;position:absolute;inset:10% 15% 7%}.anatomy-layer{object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;filter:contrast(1.2);width:100%;height:100%;display:block;position:absolute;inset:0}.anatomy-layer.worn{filter:contrast(1.2);opacity:.73}.missing-note,.perished-note{color:#292621;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;background:#f3d74d;border:1px solid #292621;padding:3px 7px;font:800 9px/1.1 system-ui,sans-serif;position:absolute;bottom:5px;left:50%;transform:translate(-50%)rotate(-2deg)}.perished-note{padding:9px 15px;font-size:14px;top:50%;bottom:auto}@media (width<=760px){.minimal-sheet .anatomy-content{grid-template-columns:minmax(0,1fr) minmax(170px,205px) minmax(0,1fr)}.minimal-sheet .skeleton-stage{min-height:225px}}@media (width<=540px){.minimal-sheet .progress-block{grid-template-columns:120px minmax(0,1fr)}.minimal-sheet .anatomy-content{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.minimal-sheet .skeleton-stage{order:-1;grid-area:1/1/auto/-1;min-height:170px;display:flex}.minimal-sheet .skeleton-stage .anatomy-figure{width:min(100%,220px)}.minimal-sheet .part-column{grid-row:2}}.anatomy-tools{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;display:flex}.anatomy-tools>span{font-family:var(--display);margin-left:4px;font-size:14px}.undo-sheet,.skull-draw-action,.draw-skull-mini{color:#282a26;font-weight:700;font-size:var(--text-small);white-space:nowrap;background:#fffdf5;border:1px solid #b6b1a5;border-radius:3px;justify-content:center;align-items:center;gap:5px;padding:6px 8px;display:inline-flex}.undo-sheet:hover:not(:disabled),.skull-draw-action:hover,.draw-skull-mini:hover{background:#f2e9ca}.draw-skull-mini{flex-shrink:0;margin-left:auto;padding:4px}.part-actions{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.minimal-sheet .part-card-bottom{align-items:center;gap:5px}.part-correct{color:#fffdf5;white-space:nowrap;background:#3c5344;border:1px solid #3c5344;border-radius:3px;align-items:center;gap:4px;padding:5px 6px;font-size:10px;font-weight:750;display:inline-flex}.part-correct:hover{background:#1b3628}.part-item-link{opacity:.7}.toast.visible{pointer-events:auto}.toast-undo{color:#243728;cursor:pointer;background:#fff9dc;border:1px solid #e8dec5;border-radius:3px;margin-left:12px;padding:4px 8px;font-weight:700}.anatomy-skull-ink{pointer-events:none;z-index:2;width:100%;height:100%;position:absolute;inset:0}.skull-editor-tools{flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:12px;display:flex}.skull-tool{color:#34332e;background:#fffdf7;border:1px solid #aaa595;border-radius:4px;align-items:center;gap:5px;padding:8px 11px;font-size:12px;font-weight:700;display:inline-flex}.skull-tool.active{color:#fffdeb;background:#29382f;border-color:#29382f}.skull-canvas-wrap{touch-action:none;-webkit-user-select:none;user-select:none;background:#f7f3e9;border:2px solid #2e322d;border-radius:6px;width:100%;max-width:350px;margin:0 auto;padding:8px;box-shadow:3px 3px #d1c6ad}#skull-pad{touch-action:none;-webkit-user-select:none;user-select:none;cursor:crosshair;background:radial-gradient(circle,#fffefa,#eee8d7);width:100%;height:auto;display:block}.skull-save-status{color:#6f746d;font-size:11px}@media (width<=570px){.anatomy-tools{gap:4px}.undo-sheet,.skull-draw-action{font-size:var(--text-small);padding:5px}.minimal-sheet .part-card-bottom{flex-wrap:wrap}.part-correct{padding:4px;font-size:9px}.part-actions{gap:3px}.part-item-link{display:none}}:root{--ui-control-height:36px;--ui-radius:4px;--ui-border:#c5bfb0;--ui-ink:#272824;--ui-primary:#24231f;--ui-cream:#fffdf7}.character-selector select,.character-selector .character-plus,.character-selector .character-delete,.library-heading .library-hero-actions .button{height:var(--ui-control-height);min-height:var(--ui-control-height);box-sizing:border-box;border-radius:var(--ui-radius);font-size:12px;font-weight:700;line-height:1.1;transition:background-color .12s,border-color .12s,box-shadow .12s}.character-selector{align-items:center;gap:6px;min-width:0;display:flex}.character-selector select{background:var(--ui-cream);width:clamp(116px,19vw,192px);min-width:0;max-width:192px;color:var(--ui-ink);border:1px solid var(--ui-border);text-overflow:ellipsis;flex:1;padding:0 28px 0 11px}.character-selector .character-plus{color:#fffdf5;background:var(--ui-primary);border:1px solid var(--ui-primary);justify-content:center;align-items:center;gap:5px;width:auto;min-width:68px;padding:0 10px;display:inline-flex}.character-selector .character-plus:hover{background:#414039;border-color:#414039}.character-selector .character-delete{width:var(--ui-control-height);min-width:var(--ui-control-height);background:var(--ui-cream);border:1px solid var(--ui-border);color:#6c635a;place-items:center;padding:0;display:grid}.character-selector .character-delete:not(:disabled):hover{color:#873f30;background:#f6e7e0;border-color:#af8b83}.character-selector .character-delete:disabled{opacity:.3}.library-heading .library-hero-actions{flex-wrap:wrap;align-items:center;gap:7px;margin:0}.library-heading .library-hero-actions .button{white-space:nowrap;cursor:pointer;justify-content:center;align-items:center;gap:6px;margin:0;padding:0 12px;display:inline-flex}.library-heading .library-hero-actions .button svg{width:15px;height:15px}.library-heading .library-hero-actions .button.primary{background:var(--ui-primary);border-color:var(--ui-primary);color:#fffdf5}.library-heading .library-hero-actions .button.secondary{background:var(--ui-cream);border-color:var(--ui-border);color:var(--ui-ink)}.library-heading .library-hero-actions .button.secondary:hover{background:#eee9de;border-color:#9d988c}.library-heading .library-hero-actions .button.primary:hover{background:#414039}.minimal-sheet .part-card{border-radius:var(--ui-radius);background:#fffefa;border:1px solid #c9c3b7;flex-direction:column;justify-content:flex-start;gap:9px;min-width:0;min-height:113px;padding:10px 11px;display:flex;box-shadow:0 1px #1919190c}.minimal-sheet .part-card.is-lost{background:#fff9f6;border:1px solid #bc8b7d;box-shadow:inset 3px 0 #b87360}.minimal-sheet .part-card-line{align-items:center;gap:9px;min-width:0;display:flex}.minimal-sheet .part-number{border-radius:2px;flex:none;width:28px;min-width:28px;height:28px;font-size:16px;line-height:1;box-shadow:2px 2px #f2d64a}.minimal-sheet .part-copy{flex:1;min-width:0}.minimal-sheet .part-name{overflow-wrap:break-word;font-size:18px;line-height:1.1}.minimal-sheet .part-status{letter-spacing:.1px;color:#716e66;margin-top:3px;font-family:Arial,sans-serif;font-size:10px;font-weight:700;line-height:1.3;display:inline-block}.minimal-sheet .part-card.is-lost .part-status{color:#a04c37}.part-header-actions{align-self:flex-start;align-items:center;gap:3px;margin-left:auto;display:flex}.part-icon-action{border-radius:var(--ui-radius);color:#696960;background:0 0;border:1px solid #0000;flex:none;place-items:center;width:27px;height:27px;padding:0;display:grid}.part-icon-action:hover{color:#282824;background:#eae6dc;border-color:#cfcac0}.minimal-sheet .part-card-bottom{flex-direction:column;justify-content:flex-start;align-items:stretch;gap:8px;min-width:0;margin:0;padding:0;display:flex}.minimal-sheet .part-card-bottom .dots{flex-wrap:nowrap;justify-content:flex-start;align-items:center;gap:8px;width:100%;max-width:none;min-height:23px;display:flex}.minimal-sheet .part-card-bottom .dot{border:1.5px solid #41433f;flex:none;width:21px;min-width:21px;height:21px}.minimal-sheet .part-card-bottom .dot.marked{background:#252825;border-color:#252825}.minimal-sheet .part-actions{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:6px;width:100%;min-width:0;display:flex}.minimal-sheet .part-actions:empty{display:none}.minimal-sheet .part-actions button{border-radius:var(--ui-radius);white-space:nowrap;cursor:pointer;justify-content:center;align-items:center;gap:4px;min-width:0;height:28px;min-height:28px;padding:0 8px;font-size:10px;font-weight:700;line-height:1;text-decoration:none;display:inline-flex}.minimal-sheet .part-actions .part-correct{border:1px solid var(--ui-primary);background:var(--ui-primary);color:#fffef8}.minimal-sheet .part-actions .part-correct:hover{background:#414039}.minimal-sheet .part-actions .part-repair{border:1px solid var(--ui-border);background:var(--ui-cream);color:#514d46}.minimal-sheet .part-actions .part-repair:hover{background:#f0e9dc;border-color:#8f897e}.minimal-sheet .part-actions .part-repair[data-action=repair]{font-variant-numeric:tabular-nums}@media (width<=760px){.minimal-sheet .part-card{gap:7px;min-height:107px;padding:9px 10px}.character-selector select{width:clamp(100px,20vw,166px)}.character-selector .character-plus{min-width:64px;padding:0 8px}.library-heading .library-hero-actions .button{padding:0 10px}}@media (width<=530px){.character-selector{gap:6px;width:100%;margin-left:0}.character-selector select{flex:1;width:auto;min-width:0;max-width:none}.character-selector .character-plus{width:var(--ui-control-height);min-width:var(--ui-control-height);padding:0}.character-plus-label{display:none}.character-selector .character-delete{width:var(--ui-control-height)}.library-heading{align-items:flex-start}.library-heading .library-hero-actions{gap:6px;width:100%}.library-heading .library-hero-actions .button{flex:auto;padding:0 8px;font-size:11px}.minimal-sheet .part-card{gap:8px;min-height:115px;padding:9px 8px}.minimal-sheet .part-name{font-size:17px}.minimal-sheet .part-card-bottom{gap:7px}.minimal-sheet .part-actions{gap:5px}.minimal-sheet .part-actions button{padding:0 7px;font-size:10px}.part-icon-action{width:24px;height:24px}}@media (width<=370px){.library-heading .library-hero-actions .button{gap:4px;padding:0 6px;font-size:10px}.minimal-sheet .part-actions button{height:27px;padding:0 6px}.minimal-sheet .part-card{padding:8px 7px}}@media (width<=530px){.character-selector .character-plus{width:auto;min-width:67px;padding:0 9px}.character-selector .character-plus-label{display:inline}}@media (width<=370px){.character-selector .character-plus{min-width:60px;padding:0 7px}}:root{--ui-primary:#24231f;--ui-primary-hover:#414039;--ui-ink:#25241f;--ui-border:#b9b2a5;--ui-cream:#fffdf7}.tab.selected,.button.primary,.library-heading .library-hero-actions .button.primary,.quickroll-panel .roll-stat,.roll-stat,.mark-hit,.print-card-actions .catalog-add,.skull-tool.active{background:var(--ui-primary);border-color:var(--ui-primary);color:#fffdf5}.tab.selected:hover,.button.primary:hover,.library-heading .library-hero-actions .button.primary:hover,.quickroll-panel .roll-stat:hover,.roll-stat:hover,.mark-hit:hover,.print-card-actions .catalog-add:hover{background:var(--ui-primary-hover);border-color:var(--ui-primary-hover)}.character-selector .character-plus{background:var(--ui-cream);border-color:var(--ui-border);color:var(--ui-ink)}.character-selector .character-plus:hover{color:#1c1c18;background:#eee8dc;border-color:#79756c}.minimal-sheet .part-actions .part-correct,.part-correct{color:#2a2925;background:#fffdf7;border:1px solid #aaa394}.minimal-sheet .part-actions .part-correct:hover,.part-correct:hover{color:#1e1d19;background:#efe9dc;border-color:#797367}.character-selector .character-select-wrap{height:var(--ui-control-height);flex:auto;align-items:center;width:clamp(116px,19vw,192px);min-width:0;max-width:192px;display:flex;position:relative}.character-selector .character-select-wrap select{appearance:none;text-overflow:ellipsis;cursor:pointer;flex:auto;width:100%;min-width:0;max-width:none;height:100%;padding:0 35px 0 11px;line-height:normal;display:block}.character-selector .character-select-wrap select::-ms-expand{display:none}.character-select-chevron{color:#3e3b35;pointer-events:none;place-items:center;width:16px;height:16px;display:grid;position:absolute;top:50%;right:11px;transform:translateY(-50%)}.character-select-chevron svg{width:15px;height:15px;display:block}@media (width<=760px){.character-selector .character-select-wrap{width:clamp(100px,20vw,166px)}}@media (width<=530px){.character-selector .character-select-wrap{flex:auto;width:auto;max-width:none}}.inventory-tile:hover,.inventory-tile.drag-over{background:#f8f3e8;border-color:#978c7c}.inventory-tile-usage .dot.marked:hover{background:#25241f}.drag-over{background:#f9f1d8!important;border-color:#927e53!important}.outline-button,.small-add{color:#34312b}.character-selector .character-creator{color:#242521;white-space:nowrap;background:#fffefa;border:1px solid #b8b3a5;border-radius:3px;justify-content:center;align-items:center;gap:6px;min-width:84px;min-height:36px;padding:0 10px;font-size:11px;font-weight:700;display:inline-flex}.character-selector .character-creator:hover{background:#f0e7d5;border-color:#3d3c37}.creator-modal{color:#242521;background:#fffdfa;border-radius:5px;flex-direction:column;width:min(620px,100%);max-height:min(750px,100dvh - 25px);padding:0;display:flex}.creator-modal .modal-x{z-index:2;top:15px;right:15px}.creator-modal-heading{flex:none;margin:0 0 8px;padding:20px 23px 0}.creator-modal-heading h2{margin:5px 0 13px;font-size:31px}.creator-steps{border-bottom:2px solid #252521;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding-bottom:8px;display:grid}.creator-step{white-space:nowrap;text-align:center;color:#82776a;background:#f3ecdf;border:1px solid #e4d9c8;border-radius:2px;padding:8px 3px;font-size:11px}.creator-step.current{color:#fffdf6;background:#272622;border-color:#272622;font-weight:750}.creator-step.completed{color:#34312a;background:#e9dfcb;border-color:#c1b293}.creator-content{overscroll-behavior:contain;flex-direction:column;gap:15px;min-height:0;padding:12px 23px 24px;display:flex;overflow-y:auto}.creator-step-lead{color:#62594d;font-size:13px;line-height:1.5}.creator-content .field{gap:6px}.creator-content .field .field-label{letter-spacing:1px;color:#5e574d;font-size:10px}.creator-content .field input,.creator-content .field select{color:#252521;background:#fffdf9;border:1px solid #bdb3a4;border-radius:3px;height:40px;padding:7px 10px;font-size:13px}.creator-choice-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.creator-choice-row .field{min-width:0}.creator-content .creator-roll-btn{white-space:nowrap;color:#272622;background:#f4ecdd;border:1px solid #b8a990;border-radius:3px;justify-content:center;align-items:center;gap:6px;min-width:106px;height:40px;font-size:12px;font-weight:700;display:flex}.creator-content .creator-roll-btn:hover{background:#e8dcc8}.creator-roll-note{color:#474139;background:#f8f2e6;border-left:3px solid #c8aa55;padding:7px 10px;font-size:11px;line-height:1.5}.creator-paper-preview{background:#faf6ed;border:1px solid #d8c7a9;padding:12px 14px;font-size:12px;line-height:1.5}.creator-paper-preview>div:first-child{justify-content:space-between;align-items:center;gap:10px;display:flex}.creator-paper-preview strong{font-family:var(--display);font-size:22px;font-weight:400}.creator-code{color:#675a48;border:1px solid #ccc0ab;padding:1px 6px;font-size:11px}.creator-paper-preview small{color:#655c4f;margin-top:8px;font-size:11px;display:block}.creator-paper-preview.subdued{color:#736b60}.creator-quick-stats{gap:18px;margin-top:7px;display:flex}.creator-quick-stats span{color:#665b4d;font-size:12px}.creator-quick-stats b{color:#282622;margin-left:4px;font-size:16px}.creator-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.creator-stat{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:6px;display:grid}.creator-stat .field input{text-align:center;width:100%;max-width:95px;font-size:23px;font-weight:700}.creator-stat .button{white-space:nowrap;align-items:center;gap:5px;height:40px;padding:0 10px;font-size:12px;display:inline-flex}.creator-stat .creator-roll-note{grid-column:1/-1}.creator-rule{border-top:1px solid #e4d8c5;flex-direction:column;gap:3px;padding-top:13px;display:flex}.creator-rule strong{font-family:var(--display);font-size:23px;font-weight:400}.creator-rule span{color:#796e61;font-size:11px}.creator-feature-preview{color:#43392e;background:#f4ecdf;border-left:2px solid #b7a07f;margin:0;padding:8px 11px;font-size:13px;line-height:1.4}.creator-text-action{color:#665944;background:0 0;border:0;align-self:start;padding:0;font-size:11px;text-decoration:underline}.creator-recap{border:1px solid #d6cbbb;gap:0;display:grid}.creator-recap>div{border-bottom:1px solid #e9e2d5;justify-content:space-between;gap:10px;padding:8px 10px;font-size:12px;display:flex}.creator-recap>div:last-child{border-bottom:0}.creator-recap span{color:#807261;flex:0 0 80px}.creator-recap b{text-align:right;overflow-wrap:anywhere;min-width:0;font-size:12px;font-weight:700}.creator-gear-toggle{cursor:pointer;align-items:center;gap:10px;font-size:13px;display:flex}.creator-gear-toggle input{accent-color:#282721;flex:none;width:18px;height:18px}.creator-gear-toggle span{flex-direction:column;gap:2px;display:flex}.creator-gear-toggle small{color:#7e7161;font-size:11px}.creator-gear-list{background:#fffefb;border:1px solid #e3d8c9;max-height:205px;overflow:auto}.creator-gear-list.is-disabled{opacity:.42}.creator-gear-row{border-bottom:1px solid #eee6db;grid-template-columns:23px minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 9px;display:grid}.creator-gear-row:last-child{border-bottom:0}.creator-gear-check{justify-content:center;align-items:center;display:flex}.creator-gear-check input{accent-color:#282721;width:17px;height:17px}.creator-gear-name{background:0 0;border:1px solid #0000;border-radius:2px;min-width:0;min-height:31px;padding:5px 7px;font-size:12px}.creator-gear-name:focus{background:#fffcf2;border-color:#bcb3a7}.creator-gear-flag{white-space:nowrap;color:#716451;font-size:10px}.creator-empty-gear{color:#797064;padding:14px;font-size:12px}.creator-add-item{gap:7px;display:flex}.creator-add-item input{background:#fff;border:1px solid #c7baa5;border-radius:3px;flex:1;min-width:0;height:35px;padding:6px 9px;font-size:12px}.creator-add-item button{align-items:center;gap:5px;display:inline-flex}.creator-fineprint{color:#7b7367;margin:0;font-size:10px;line-height:1.5}.creator-footer{background:#f8f4eb;border-top:1px solid #dfd3c1;flex:none;align-items:center;gap:10px;padding:12px 20px;display:flex}.creator-footer .button{border-radius:3px;align-items:center;gap:7px;min-height:37px;padding:6px 14px;display:inline-flex}.creator-footer .button.primary{color:#fff;background:#272622;border:1px solid #272622;margin-left:auto}.creator-footer .button.primary:hover{background:#43413b}.creator-footer .button.secondary{color:#2d2a24;background:#fffdfa;border:1px solid #bdb2a1}.creator-step-count{color:#8a7e6a;font-size:11px}@media (width<=660px){.character-selector .character-creator{width:var(--ui-control-height,36px);min-width:36px;padding:0}.character-creator-label{display:none}}@media (width<=530px){.creator-modal-heading{padding:17px 15px 0}.creator-content{padding:9px 15px 15px}.creator-footer{padding:10px 15px}.creator-choice-row{grid-template-columns:minmax(0,1fr) 99px}.creator-content .creator-roll-btn{min-width:0;padding:0 7px;font-size:11px}.creator-modal-heading h2{font-size:27px}.creator-stats{gap:9px}.creator-stat .button{padding:0 7px;font-size:11px}.creator-step{font-size:10px}.character-selector{gap:4px}}@media (width<=390px){.creator-choice-row{grid-template-columns:minmax(0,1fr) 91px}.creator-content .creator-roll-btn{gap:4px}.creator-footer .button{padding:6px 9px}.creator-step{font-size:9px}}@media (width<=660px){.character-selector .character-creator{width:auto;min-width:76px;padding:0 7px}.character-creator-label{display:inline}}@media (width<=360px){.character-selector .character-creator{min-width:69px;padding:0 5px}.character-selector .character-plus{min-width:55px;padding:0 5px}}.item-fast-action{color:#fffefa;white-space:nowrap;touch-action:manipulation;background:#242520;border:1px solid #242520;border-radius:2px;justify-content:center;align-self:flex-start;align-items:center;gap:5px;min-height:30px;margin-top:5px;padding:5px 10px;font-size:11px;font-weight:800;display:inline-flex}.item-fast-action:hover{background:#44433d}.item-fast-action:focus-visible,.item-do:focus-visible,.item-roll-dock button:focus-visible{outline-offset:2px;outline:3px solid #b69a38}.inventory-tile-content{min-width:0}.inventory-tile-usage{min-height:26px}.item-roll-dock{background:#f9f5e9;border:1px solid #9c9384;border-radius:2px;margin:9px 0 4px;padding:9px 10px;box-shadow:2px 2px #27252013}.item-roll-title{align-items:center;gap:9px;display:flex}.item-roll-art{background:#fff;border:1px solid #d8cbb8;flex:0 0 39px;place-items:center;width:39px;height:39px;display:grid;overflow:hidden}.item-roll-art img{object-fit:contain;mix-blend-mode:multiply;width:100%;height:100%}.item-roll-name{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.item-roll-name b{text-overflow:ellipsis;white-space:nowrap;font:700 16px Georgia,serif;overflow:hidden}.item-roll-name small{color:#6e675d;font-size:10px}.item-roll-close{color:#34322f;background:#fffcf7;border:1px solid #c8bfb1;border-radius:2px;flex:none;place-items:center;width:28px;height:28px;display:grid}.item-roll-options{flex-wrap:wrap;align-items:center;gap:7px 12px;margin-top:9px;display:flex}.item-option{align-items:center;gap:6px;display:flex}.item-option>span{color:#635b4f;font-size:11px;font-weight:700}.item-option .segmented-adjust button{min-width:35px}.item-pool{color:#5c5449;text-align:right;flex:1;min-width:180px;font-size:11px;line-height:1.5}.item-pool strong{white-space:nowrap;color:#1d1d1b;margin-left:5px;font:800 17px Georgia,serif;display:inline-block}.item-roll-note{color:#6c6253;margin:7px 0 0;font-size:11px;line-height:1.45;display:block}.number-stepper{background:#fffaf3;border:1px solid #b8ae9e;align-items:center;height:30px;display:flex}.number-stepper button{background:0 0;border:0;width:29px;height:28px;font-size:17px}.number-stepper b{text-align:center;min-width:22px;font-size:13px}.number-stepper button:disabled{opacity:.25}.item-roll-buttons{flex-wrap:wrap;align-items:center;gap:6px;margin-top:9px;display:flex}.item-roll-buttons .item-do{white-space:nowrap;flex:1;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:7px 12px;font-size:12px;font-weight:800;display:flex}.item-roll-buttons .item-do.primary{color:#fffefa;background:#242520;border:1px solid #242520}.item-roll-buttons .item-do.secondary{color:#242520;background:#fffcf5;border:1px solid #aaa090}.item-roll-buttons .item-do:disabled{opacity:.4;cursor:not-allowed}.inventory-heading-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.combat-wear-button{color:#211f19;background:#f2d653;border:1px solid #9f8c39;border-radius:2px;align-items:center;gap:5px;padding:7px 9px;font-size:11px;font-weight:850;display:flex}.roll-detail-note{color:#544a36;margin-bottom:5px;font-size:11px;line-height:1.4}.extra-trickiness{color:#292923;background:#f7e8b8;border:1px solid #c5b385;padding:3px 5px;font-size:11px}.card-roll-settings{background:#faf6ec;border:1px solid #d2c7b4;margin:8px 0;padding:8px 10px}.card-roll-settings summary{cursor:pointer;padding:3px 0;font:700 12px Arial,sans-serif}.card-roll-settings .form-row{margin-top:10px}.card-roll-settings .creator-gear-toggle{align-items:center;gap:7px;margin:9px 0;font-size:12px;display:flex}@media (width<=760px){.item-roll-options{gap:6px 8px}.item-roll-buttons .item-do{white-space:normal;min-width:0}.item-pool{text-align:left;min-width:100%}}@media (width<=430px){.item-roll-dock{padding:8px}.item-roll-options{gap:7px}.item-roll-buttons{flex-direction:column;align-items:stretch}.item-roll-buttons .item-do{flex:none;width:100%}.item-fast-action{padding:5px 7px}}.quickroll-panel .roll-minor{flex-wrap:wrap}.custom-pool-shell{display:contents}.custom-pool-trigger{white-space:nowrap;color:#292822;background:#fffefa;border:1px solid #a59e91;border-radius:2px;align-items:center;gap:5px;min-height:30px;padding:5px 9px;font-size:11px;font-weight:800;display:inline-flex}.custom-pool-trigger:hover,.custom-pool-trigger[aria-expanded=true]{background:#f0e8d5;border-color:#262521}.custom-pool-editor{background:#f7f3e8;border:1px solid #b9b0a1;flex:1 0 100%;order:3;min-width:0;padding:9px 10px;box-shadow:2px 2px #29272313}.roll-minor .recent-rolls{order:2}.custom-pool-row{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.custom-count-label,.custom-die-type{color:#36342f;font:800 12px Georgia,serif}.custom-count-stepper{background:#fffcf6;border:1px solid #aaa091;border-radius:2px;align-items:center;height:36px;display:flex}.custom-count-stepper button{color:#282720;background:0 0;border:0;min-width:33px;height:34px;padding:0;font:700 19px/1 Georgia,serif}.custom-count-stepper button:disabled{opacity:.28}.custom-count-stepper button:first-child{border-right:1px solid #d0c7b6}.custom-count-stepper button:last-child{border-left:1px solid #d0c7b6}.custom-count-stepper input{text-align:center;color:#22221e;appearance:textfield;background:0 0;border:0;width:45px;height:34px;font:800 17px Georgia,serif}.custom-count-stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.custom-count-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.custom-mode{background:#fffcf6;border:1px solid #aaa091;border-radius:2px;height:36px;display:flex;overflow:hidden}.custom-mode button{color:#35322c;background:0 0;border:0;min-width:55px;padding:0 9px;font-size:11px;font-weight:750}.custom-mode button+button{border-left:1px solid #c4baac}.custom-mode button.active{color:#fffdfa;background:#252521}.custom-pool-roll{color:#fffdf8;background:#21221f;border:1px solid #191a17;border-radius:2px;justify-content:center;align-items:center;gap:6px;min-height:36px;margin-left:auto;padding:0 12px;font-size:12px;font-weight:800;display:inline-flex}.custom-pool-roll:disabled{opacity:.5}.custom-notation{color:#645d4c;margin-top:6px;font-size:11px}.custom-notation summary{cursor:pointer;text-underline-offset:3px;text-decoration:underline;display:inline-block}.roll-minor .custom-notation form{width:100%;max-width:260px;height:34px;min-height:34px;margin-top:5px}.roll-minor .custom-notation form button{align-items:center;gap:3px;width:auto;min-width:65px;padding:0 7px;font-size:11px;display:flex}.wear-reminder{color:#343026;background:#fbf5d8;border:1px solid #ccb86e;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:7px;margin-top:8px;padding:7px 9px;font:700 11px Arial,sans-serif;display:flex}.wear-reminder span,.wear-reminder button{align-items:center;gap:6px;display:inline-flex}.wear-reminder button{color:#25241e;background:#fffef7;border:1px solid #55503b;border-radius:2px;padding:5px 9px;font-size:11px;font-weight:800}.inventory-tile-actions{flex-wrap:wrap;align-items:center;gap:4px 8px;display:flex}.combat-used-flag{color:#494028;white-space:nowrap;background:#fcf4cc;border:1px solid #c7b66f;align-items:center;padding:3px 5px;font:750 9px/1.2 Arial,sans-serif;display:inline-flex}.combat-used-flag[hidden]{display:none}@media (width<=450px){.custom-pool-editor{padding:8px}.custom-pool-row{gap:6px}.custom-pool-roll{flex:100%;margin-left:0}.custom-mode{margin-left:auto}.roll-minor .recent-rolls{flex:100%;justify-content:flex-start}}.minimal-sheet .inventory-section .inventory-layout{align-items:start;gap:12px}.minimal-sheet .inventory-section .inventory-group-header{align-items:start;gap:8px}.inventory-group-hint{font-family:var(--body,Georgia,serif);color:#746f65;margin-top:1px;font-size:10px;display:block}.inventory-item-size{color:#59534c;white-space:nowrap;background:#faf5ea;border:1px solid #d8d0c1;border-radius:2px;flex:none;align-items:center;padding:2px 5px;font-size:9px;display:inline-flex}.inventory-move-button{color:#3a3934;cursor:pointer;background:0 0;border:1px solid #d6cbbb;border-radius:3px;align-items:center;gap:4px;min-height:25px;padding:2px 6px;font-size:10px;font-weight:650;display:inline-flex}.inventory-move-button:hover,.inventory-move-button[aria-pressed=true]{color:#fff;background:#262521;border-color:#262521}.inventory-tile.is-moving{border:2px solid #2b2923;box-shadow:0 0 0 2px #e2b64c}.minimal-sheet .inventory-group.pack .inventory-tile.item-size-two{grid-column:span 2;min-height:80px}.minimal-sheet .inventory-group.held .inventory-tile.item-size-two,.minimal-sheet .inventory-group.worn .inventory-tile.item-size-two{grid-area:span 2;min-height:160px}.minimal-sheet .inventory-group.pack .inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-move-banner{background:#fff1cc;border:1px solid #5a4b31;border-radius:3px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:9px;margin:12px 0;padding:9px 11px;font-size:12px;display:flex}.inventory-move-banner>span{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.inventory-move-banner button{background:#fffaf0;border:1px solid #776c52;border-radius:3px;min-height:30px;padding:5px 11px;font-weight:700}.inventory-slot.empty.move-target{background:#fff0bc;border:2px dashed #7b5924;animation:2s ease-in-out infinite skellfie-drop-glow}@keyframes skellfie-drop-glow{50%{background:#ffe09c}}.inventory-encumbrance{color:#5e2c25;background:#f9e9e4;border:1px solid #ad7364;border-radius:3px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:9px;margin:10px 0;padding:10px 12px;font-size:12px;display:flex}.inventory-encumbrance b{font-weight:800}.inventory-encumbrance span{font-size:11px}.inventory-storage-note{color:#665b46;align-items:center;gap:6px;margin:8px 0;font-size:11px;display:flex}.small-items-section{border-top:1px solid #d9cfbe;margin-top:17px;padding-top:13px}.small-items-heading{justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:8px;display:flex}.small-items-heading h3{color:#2b2925;margin:0;font-family:Georgia,serif;font-size:21px}.small-items-heading span{font-size:var(--text-small);color:#766c5f}.small-items-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.small-items-list .inventory-tile{min-height:75px}.small-add-slot{background:#fcf8ef;border:1px dashed #d4c6b0;border-radius:3px;place-items:center;min-height:75px;display:grid}.minimal-sheet .overflow-section{background:#faf6ed;border:1px dashed #c1b7a4;border-radius:3px;margin-top:15px;padding:11px;display:block}.minimal-sheet .overflow-section.is-encumbered{background:#fff4ee;border-color:#a9796a}.minimal-sheet .overflow-section .overflow-label{color:var(--text-secondary);text-transform:none;letter-spacing:0;justify-content:space-between;font-size:12px;font-weight:800;display:flex}.minimal-sheet .overflow-section .overflow-label small{font-size:11px;font-weight:600}.minimal-sheet .overflow-section .overflow-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;margin-top:9px;display:grid}.minimal-sheet .overflow-section .overflow-items .inventory-tile{min-height:75px}.minimal-sheet .overflow-section .small-add{color:#3e3a31;background:#fffdf8;border:1px dashed #c2b5a3;border-radius:3px;justify-content:center;align-items:center;gap:6px;min-height:65px;display:flex}.minimal-sheet .overflow-section .overflow-items:not(:has(.inventory-tile)) .small-add{min-height:37px}.inventory-tile-actions{flex-wrap:wrap;align-items:center;gap:6px}.inventory-tile-head{align-items:start}.inventory-tile-title{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:2.7em;display:-webkit-box;overflow:hidden}@media (width<=770px){.small-items-list,.minimal-sheet .overflow-section .overflow-items{grid-template-columns:1fr 1fr}}@media (width<=450px){.small-items-list,.minimal-sheet .overflow-section .overflow-items{grid-template-columns:1fr}.minimal-sheet .inventory-group.pack .inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){.inventory-slot.empty.move-target{animation:none}}.minimal-sheet .inventory-tile:hover,.minimal-sheet .inventory-tile.drag-over{background:#fffcf5;border-color:#25231e}.minimal-sheet .inventory-tile.is-moving:hover{border-color:#25231e}.tile-effect-hint{max-width:100%;font:700 9px/1.25 var(--body,inherit);letter-spacing:.025em;color:#776957;text-overflow:ellipsis;white-space:nowrap;align-self:center;display:inline-block;overflow:hidden}.spell-inline{background:#fffdf5;border:1px solid #d4c5ad;border-left:3px solid #292824;margin:8px 0;padding:10px 12px}.spell-inline-title,.spell-rule-line{justify-content:space-between;align-items:center;gap:10px;font-size:12px;display:flex}.spell-inline-title span,.spell-rule-line span{color:#655f54;font-size:10px}.spell-inline p{color:#35312b;margin:6px 0 0;font-size:11px;line-height:1.48}.item-rules{background:#fbf7eb;border:1px solid #d8c8ac;gap:8px;margin-bottom:13px;padding:12px 13px;display:grid}.rule-label{letter-spacing:.13em;color:#534b40;font-size:9px;font-weight:800}.item-rules p{color:#292824;white-space:pre-wrap;margin:0;font-size:12px;line-height:1.55}.item-rules details summary,.magic-editor>summary,.reference-card details summary{cursor:pointer;color:#40362c;font-size:11px;font-weight:700}.spell-rule{background:#efeadc;border-left:2px solid #2a2925;gap:4px;padding:9px;display:grid}.spell-rule small{color:#696055;font-size:10px}.magic-note{background:#f1eadd;border:1px solid #e1d5c1;padding:9px;font-size:11px;line-height:1.5}.magic-actions,.magic-set-row{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.magic-actions .button,.magic-set-row .button,.magic-add .button{white-space:nowrap;min-height:35px;padding:8px 10px;font-size:11px}.magic-set-row>select{background:#fffdf8;border:1px solid #bcb09b;flex:160px;min-width:0;height:37px;padding:6px}.magic-set-row label{align-items:center;gap:5px;font-size:10px;display:flex}.magic-set-row input{text-align:center;background:#fffdf8;border:1px solid #bcb09b;width:48px;height:37px}.magic-editor{background:#faf5e9;border:1px solid #d9cbb8;margin:8px 0 17px;padding:10px 12px}.magic-editor>summary{padding:3px 0;font-size:12px}.magic-editor>p{color:#776858;font-size:10px;line-height:1.5}.magic-property-group{gap:7px;margin:14px 0;display:grid}.magic-property-group>strong{font-size:12px}.property-chip{background:#fffdfa;border:1px solid #ddd0b9;justify-content:space-between;align-items:flex-start;gap:9px;padding:8px 9px;font-size:11px;line-height:1.5;display:flex}.property-chip button{color:#4a3831;cursor:pointer;background:0 0;border:0;min-width:26px;min-height:26px;font-size:20px}.magic-add{flex-wrap:wrap;gap:5px;display:flex}.magic-add select{background:#fffdf9;border:1px solid #cbbda6;flex:170px;min-width:0;min-height:35px;padding:6px;font-size:11px}.pending-scroll-wear{background:#f6efdb;border:1px dashed #9b8055;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;margin:8px 0;padding:9px;font-size:11px;display:flex}.pending-scroll-wear button{white-space:nowrap}.reference-shell{max-width:1060px;margin:0 auto;padding:20px clamp(12px,4vw,40px) 55px}.reference-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.reference-header h1{font:400 clamp(27px,5vw,40px)/1.1 var(--display,Georgia,serif);margin:0 0 5px}.reference-header p{color:#655a4c;margin:0 0 14px;font-size:11px;line-height:1.5}.reference-header .button{white-space:nowrap;font-size:11px}.reference-sections{flex-wrap:wrap;align-items:center;gap:5px;margin:3px 0 14px;display:flex}.reference-tab{color:#282724;background:#fbf6ea;border:1px solid #c6b69a;border-radius:2px;min-height:32px;padding:5px 9px;font-size:11px;font-weight:650}.reference-tab.active{color:#fdf6e8;background:#252420;border-color:#252420}.reference-tab:hover:not(.active){background:#e9dfcd}.reference-tools{justify-content:space-between;align-items:center;gap:8px;margin-bottom:13px;display:flex}.reference-tools .search-wrap{flex:1;min-width:0;max-width:none}.reference-tools .button{white-space:nowrap;min-height:37px;font-size:11px}.reference-grid{grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:10px;display:grid}.reference-card{background:radial-gradient(at 90% 0,#fffefa,#f9f3e8);border:1px solid #c7b99f;flex-direction:column;min-width:0;min-height:140px;padding:14px 14px 12px;display:flex;box-shadow:1px 2px #29252210}.reference-card-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:7px;display:flex}.ref-number{letter-spacing:.08em;text-transform:uppercase;color:#715945;font-size:9px;font-weight:800}.ref-type{color:#5c554a;border:1px solid #d9c9b2;padding:2px 5px;font-size:10px}.reference-card h3{font:500 23px/1.08 var(--display,Georgia,serif);color:#292823;margin:10px 0 8px}.reference-card p{color:#40382e;flex:1;margin:0 0 11px;font-size:11.5px;line-height:1.6}.reference-card-bottom{border-top:1px solid #e0d2bd;justify-content:space-between;align-items:center;gap:7px;margin-top:auto;padding-top:9px;display:flex}.reference-card-bottom span,.reference-clear{color:#62574a;font-size:10px}.reference-card-bottom .button,.reference-card>.button{padding:7px 9px;font-size:11px}.reference-card details{border-top:1px solid #e0d2bd;margin-top:9px;padding-top:9px}.reference-card details p{margin:7px 0 2px}.reference-clear{border-top:1px solid #e0d2bd;margin-top:auto;padding-top:9px;line-height:1.5}.reference-table-row{border-top:1px solid #e7dac5;justify-content:space-between;gap:8px;padding:6px 0;font-size:11px;display:flex}.reference-table-row span{white-space:nowrap;color:#706251}.reference-empty,.reference-source{color:#736556;font-size:11px;line-height:1.5}.reference-source{border-top:1px solid #d6c7af;margin-top:24px;padding-top:14px}.reference-roll-result:not(:empty){margin:0 0 12px}@media (width<=480px){.reference-header{align-items:flex-start}.reference-header h1{font-size:28px}.reference-header .button{padding:8px}.reference-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.reference-card{min-height:140px;padding:10px}.reference-card h3{font-size:19px}.reference-card p{font-size:10.5px}.reference-tools .button{padding:7px}.magic-actions{align-items:stretch}.magic-actions .button{flex:1}.magic-add select{flex-basis:100%}.tab{padding:8px 7px}}@media (width<=370px){.reference-grid{grid-template-columns:1fr}.reference-tab{padding:5px 7px;font-size:10px}.reference-tools{flex-wrap:wrap}}.blessing-sheet{flex-direction:column;align-items:flex-start;gap:5px;display:flex}.blessing-sheet>label{flex-direction:column;gap:6px;width:100%;display:flex}.blessing-sheet textarea{width:100%}.blessing-chip{color:#24221e;background:#ece2cf;border:1px solid #b9a98e;align-items:center;gap:6px;max-width:100%;padding:4px 6px;font-size:10px;line-height:1.3;display:inline-flex}.blessing-chip button{min-width:22px;min-height:22px;color:inherit;background:0 0;border:0;font-size:16px}.blessing-reference-link{color:#39342c;font-family:DM Sans,Arial,sans-serif;font-size:var(--text-small);background:0 0;border:0;border-bottom:1px solid #6f6150;padding:5px 1px;font-weight:700}.reference-card .reference-card-bottom:has(button+button){flex-wrap:wrap;gap:4px}.reference-card .reference-card-bottom:has(button+button)>button{flex:1;padding:7px 5px;font-size:10px}.enchantment-stored{background:#f1e8d5;border:1px solid #cfbd9f;gap:8px;padding:10px;display:grid}.enchantment-stored>small{color:#605347;font-size:10px}.enchantment-stored select{background:#fffef9;border:1px solid #b7aa93;flex:1;min-width:105px;min-height:34px}.tile-magic-badge{letter-spacing:.03em;white-space:nowrap;color:var(--ink,#292823);border:1px solid;border-radius:2px;align-items:center;padding:2px 5px;font-size:9px;font-weight:800;line-height:1.2;display:inline-flex}.minimal-sheet .quickroll-panel{z-index:1;scroll-margin-top:calc(var(--sticky-header) + var(--sticky-controls) + 10px);position:relative;top:auto;box-shadow:0 3px #c7c2b7}.compact-roll-bar{top:calc(var(--sticky-header) + var(--sticky-controls) + 4px);color:#26251f;z-index:43;opacity:0;visibility:hidden;pointer-events:none;background:#fffdf6;border:1.5px solid #22231e;border-radius:3px;align-items:center;gap:7px;width:min(650px,100vw - 24px);padding:6px 9px;transition:opacity .15s,transform .15s,visibility .15s;display:flex;position:fixed;left:50%;transform:translate(-50%)translateY(-7px);box-shadow:0 4px 12px #17181725}.compact-roll-bar.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%)}.compact-roll-label{white-space:nowrap;padding:0 8px 0 2px;font:700 13px Georgia,serif}.compact-roll-bar button{color:#fffefa;white-space:nowrap;background:#242520;border:1px solid #242520;border-radius:2px;justify-content:center;align-items:center;gap:6px;min-width:0;min-height:35px;padding:5px 10px;font-size:12px;font-weight:700;display:flex}.compact-roll-bar button b{color:#f0d650;font-size:11px}.compact-roll-bar button:hover{background:#44433d}.compact-roll-bar .compact-roll-adjust{color:#282821;background:#fffefa;border-color:#aaa08f;margin-left:auto}.compact-roll-bar .compact-roll-adjust:hover{background:#f4ecd9}@media (width<=460px){.compact-roll-bar{gap:5px;width:calc(100vw - 12px);padding:5px}.compact-roll-bar button{padding:5px 7px;font-size:11px}.compact-roll-label{padding-right:1px;font-size:11px}.compact-roll-adjust span{display:none}}.minimal-sheet .progress-block{grid-template-columns:120px minmax(125px,1fr) 73px;align-items:center;gap:12px;min-width:0;display:grid}.minimal-sheet .inspiration-inline{flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;display:flex}.minimal-sheet .inspiration-inline .field-label{font-size:var(--text-small);letter-spacing:0;white-space:nowrap}.minimal-sheet .inspiration-inline .inspiration-toggle{color:#242520;background:#fffdf6;border:1.5px solid #8a826f;border-radius:50%;width:36px;height:36px}.minimal-sheet .inspiration-inline .inspiration-toggle.on{color:#242520!important;background:#f2d64c!important;border-color:#8e7935!important}@media (width<=1150px){.minimal-sheet .progress-block{border-top:1px solid #ded6c8;border-left:0;grid-template-columns:120px minmax(125px,1fr) 73px;padding:10px 0 0}}@media (width<=530px){.minimal-sheet .progress-block{grid-template-columns:97px minmax(115px,1fr) 66px;gap:7px}.minimal-sheet .level-control{grid-template-columns:24px 26px 24px;gap:4px}.minimal-sheet .level-control button{width:24px;min-width:24px;height:27px}.minimal-sheet .level-control span{padding:0;font-size:24px}.minimal-sheet .value-line{gap:3px}.minimal-sheet .value-line input{width:35px;font-size:23px}.minimal-sheet .value-nudge{width:19px;height:23px}.minimal-sheet .value-target,.minimal-sheet .value-divider{font-size:17px}.minimal-sheet .inspiration-inline .field-label{font-size:var(--text-small)}.minimal-sheet .inspiration-inline .inspiration-toggle{width:34px;height:34px}}@media (width<=370px){.minimal-sheet .progress-block{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:10px}.minimal-sheet .inspiration-inline{flex-direction:row;grid-column:1/-1;justify-content:flex-start;gap:10px}.roll-mod-row{flex-wrap:wrap}.roll-mod-row .mod-title{flex-basis:100%}}.inventory-spell-details{border-top:1px solid #e0d6c6;max-width:100%;margin-top:7px;padding-top:6px;font-size:11px;line-height:1.4}.inventory-spell-details summary{color:#312c25;cursor:pointer;align-items:center;gap:5px;min-height:28px;padding:3px 0;font-weight:750;list-style:none;display:flex}.inventory-spell-details summary::-webkit-details-marker{display:none}.inventory-spell-details summary:after{content:"⌄";color:#776c59;margin-left:auto;font-size:15px}.inventory-spell-details[open] summary:after{transform:rotate(180deg)}.inventory-spell-details summary span{color:#817566;font-size:10px;font-weight:500}.inventory-spell-details p{white-space:normal;overflow-wrap:anywhere;color:#39342c;margin:6px 0 8px;font-size:11px;line-height:1.5}.inventory-spell-details .spell-preview-meta{color:#756956;margin:3px 0 7px;font-size:10px}.spell-preview-action{color:#fffdf6;background:#242520;border:1px solid #242520;border-radius:2px;align-items:center;gap:5px;min-height:30px;padding:5px 9px;font-size:11px;font-weight:750;display:inline-flex}.spell-preview-action:hover{background:#48463e}.inventory-tile:has(.inventory-spell-details[open]){align-items:flex-start}.inventory-tile:has(.inventory-spell-details[open]) .inventory-tile-content{overflow:visible}.inventory-spell-details{margin-top:6px;padding-top:5px}.inventory-spell-details summary{gap:6px;min-height:27px;padding:3px 1px;font-weight:600}.inventory-spell-details summary strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:750;overflow:hidden}.inventory-spell-details summary span{white-space:nowrap;color:#756d60;margin-left:auto;font-size:10px}.inventory-spell-details summary:after{margin-left:2px}.inventory-spell-details p{margin:5px 0 6px;font-size:11.5px;line-height:1.42}.inventory-spell-details .spell-preview-meta{margin:0 0 5px}.tile-cast-actions{align-items:center;gap:5px;max-width:100%;display:inline-flex}.tile-cast-actions .item-fast-action{min-height:30px;padding:5px 9px}.tile-cast-actions .item-adjust-action{color:#373129;cursor:pointer;background:#fffcf4;border:1px solid #c7bda9;border-radius:2px;justify-content:center;align-items:center;gap:3px;min-height:30px;padding:4px 7px;font-size:10px;font-weight:650;display:inline-flex}.tile-cast-actions .item-adjust-action:hover{background:#eee6d8;border-color:#8a8070}@media (width<=390px){.tile-cast-actions .item-adjust-action span{display:none}}.inventory-tile-art img,.catalogue-item-art img,.card-art img{object-fit:contain;object-position:center}.unified-library{max-width:1100px;margin:0 auto;padding-inline:clamp(10px,3vw,30px)}.unified-library .library-heading{align-items:center;margin-bottom:12px}.unified-library .library-heading h1{font-family:var(--display,Georgia, serif);letter-spacing:0;font-weight:500}.library-kinds{scrollbar-width:thin;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;gap:5px;margin-bottom:7px;padding:0 0 7px;display:flex;overflow-x:auto}.library-kind{white-space:nowrap;color:#332d25;cursor:pointer;background:#fbf8ef;border:1px solid #c8bbab;border-radius:2px;flex:none;min-height:34px;padding:7px 11px;font-size:11px;font-weight:700;line-height:1.2}.library-kind:hover{background:#ece4d5}.library-kind.active,.library-kind[aria-pressed=true]{color:#fff9e9;background:#262623;border-color:#262623}.unified-library .library-toolbar{top:calc(var(--sticky-header) + var(--sticky-controls) - 1px);align-items:center;gap:8px;margin-bottom:14px;display:flex}.unified-library .library-toolbar select{flex:0 160px;min-width:110px}.unified-library .library-toolbar .button{white-space:nowrap;min-height:37px;font-size:11px}.unified-library .reference-grid{margin-top:0}.unified-library .reference-card{min-width:0}.unified-library .reference-condition-art{background:#211f20;justify-content:center;align-items:center;height:88px;margin:-14px -14px 9px;display:flex;overflow:hidden}.unified-library .reference-condition-art img{object-fit:contain;width:100%;height:100%}.unified-library .reference-condition-card .ref-number{margin-top:0}.library-search-group{border-bottom:1px solid #dfd1bb;margin:0 0 26px;padding-bottom:22px}.library-group-title{justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px;display:flex}.library-group-title h2{font:500 23px/1.1 var(--display,Georgia,serif);margin:0}.library-group-title button{color:#342e27;cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:7px;font-size:11px;font-weight:700;display:flex}.library-welcome{background:#fefbf4;border:1px solid #d3c4ae;justify-content:space-between;align-items:center;gap:10px;padding:15px;display:flex}.library-welcome p{color:#4c4336;margin:0;font-size:12px;line-height:1.5}.library-overview{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;margin-top:10px;display:grid}.library-overview-tile{text-align:left;color:#332d25;min-height:51px;font:700 12px/1.2 var(--sans,Arial,sans-serif);cursor:pointer;background:#fcf8f0;border:1px solid #cebea6;justify-content:space-between;align-items:center;gap:8px;padding:13px;display:flex}.library-overview-tile:hover{background:#f0e7d7}.unified-library .catalog-add{color:#fffdf6;background:#292723}.unified-library .catalog-add:hover{background:#42403b}.unified-library .print-card-art{box-sizing:border-box;padding:4px 7px;overflow:visible}.unified-library .print-card-art img{object-fit:contain;max-width:100%;max-height:100%}@media (width<=530px){.unified-library .library-heading{gap:8px}.unified-library .library-heading h1{font-size:27px}.unified-library .library-heading .button{font-size:var(--text-small);padding:7px}.library-kinds{margin-inline:-2px}.library-kind{font-size:var(--text-small);min-height:36px;padding:7px 9px}.unified-library .library-toolbar{flex-wrap:wrap}.unified-library .library-toolbar .search-wrap{flex:190px}.unified-library .library-toolbar select{flex:100px}.unified-library .reference-condition-art{height:72px;margin:-10px -10px 7px}.library-welcome{flex-direction:column;align-items:flex-start;padding:11px}.library-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}.rules-shell{color:#252824;max-width:1070px;margin:0 auto;padding:24px clamp(14px,3.3vw,34px) 52px}.rules-header{justify-content:space-between;align-items:end;gap:15px;margin:0 0 18px;display:flex}.rules-header h1{font-family:var(--display);margin:4px 0 5px;font-size:clamp(31px,5vw,43px);font-weight:600;line-height:1.1}.rules-header p{color:#756d60;margin:0;font-size:12px}.rules-search-bar{z-index:8;background:#f5f1e9;align-items:stretch;gap:8px;padding:8px 0;display:flex;position:sticky;top:0;box-shadow:0 3px #f5f1e9}.rules-search-label{color:#5b5851;background:#fffdf8;border:1px solid #b4aa99;border-radius:3px;flex:1;align-items:center;gap:9px;min-width:0;min-height:43px;padding:0 12px;display:flex}.rules-search-label:focus-within{border-color:#262925;box-shadow:0 0 0 2px #282d2917}.rules-search-label input{color:#222820;background:0 0;border:0;outline:0;flex:1;width:100%;min-width:0;height:40px;font-size:13px}.rules-search-label input:focus{outline:none}.rules-clear{color:#343631;background:#fbf8ef;border:1px solid #c7bbab;border-radius:3px;padding:0 16px;font-size:12px;font-weight:700}.rules-clear[hidden]{display:none}.rules-categories{scrollbar-width:thin;align-items:center;gap:6px;margin-bottom:4px;padding:12px 0 15px;display:flex;overflow-x:auto}.rules-category{white-space:nowrap;color:#504e48;background:0 0;border:1px solid #c9c0b1;border-radius:3px;padding:9px 12px;font-size:12px;font-weight:650}.rules-category.active{color:#fffaf0;background:#282b28;border-color:#282b28}.rules-category:hover:not(.active){background:#e9e2d5}.rules-quick{border-top:1px solid #d9d0c2;border-bottom:1px solid #d9d0c2;flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:22px;padding:10px 0 11px;display:flex}.rules-quick-label{color:#817766;letter-spacing:.13em;margin-right:4px;font-size:9px;font-weight:800}.rules-quick button{color:#383a34;background:#faf5e9;border:1px solid #d5c9b5;border-radius:3px;padding:7px 10px;font-size:11px;font-weight:650}.rules-quick button:hover{background:#e8dec8;border-color:#b0a087}.rules-match-count{color:#777267;margin:0 0 14px;font-size:11px;font-weight:700}.rules-group{margin:0 0 26px;scroll-margin-top:60px}.rules-group>h2{font-family:var(--display);margin:0 0 10px;font-size:26px;font-weight:500;line-height:1.2}.rules-group-cards{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px;display:grid}.rule-entry{background:#fffaf1;border:1px solid #cec3b2;border-radius:3px;min-width:0;scroll-margin-top:71px;box-shadow:1px 2px #e5ddcf}.rule-entry details{min-width:0}.rule-entry summary{cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:start;gap:10px;padding:14px 14px 13px;list-style:none;display:flex}.rule-entry summary::-webkit-details-marker{display:none}.rule-entry summary:hover{background:#f3eddf}.rule-entry summary:focus-visible{outline-offset:-3px;outline:2px solid #252824}.rule-summary-text{flex-direction:column;gap:6px;min-width:0;display:flex}.rule-entry-name{font-family:var(--display);color:#232521;font-size:21px;line-height:1.05}.rule-entry-brief{color:#625f57;max-width:45ch;font-size:12px;line-height:1.45}.rule-entry-meta{color:#70685e;white-space:nowrap;flex:none;align-items:center;gap:8px;display:flex}.rule-entry-meta svg{transition:transform .12s}.rule-entry details[open] .rule-entry-meta svg{transform:rotate(180deg)}.rule-page{color:#766e5f;background:#eee8db;border:1px solid #ddd3c3;border-radius:2px;padding:3px 5px;font-size:10px;font-weight:750}.rule-entry-details{border-top:1px solid #e0d5c5;margin:0 14px;padding:13px 0 16px}.rule-bullets{color:#41433d;margin:0;padding:0 0 0 18px;font-size:12px;line-height:1.6}.rule-bullets li{margin-bottom:7px;padding-left:2px}.rule-bullets li:last-child{margin-bottom:0}.rule-table-scroll{max-width:100%;margin-bottom:13px;overflow-x:auto}.rule-table{border-collapse:collapse;text-align:left;color:#3e4039;width:100%;font-size:11px}.rule-table th{color:#30332e;white-space:nowrap;background:#e8e0d2;border-bottom:1px solid #b4a895;padding:7px 8px;font-weight:800}.rule-table td{vertical-align:top;border-bottom:1px solid #e8e0d5;padding:7px 8px}.rule-table tbody tr:nth-child(2n){background:#f6f0e6}.rule-example{background:#eee8db;border-left:3px solid #45473d;margin-top:12px;padding:8px 10px;font-size:12px}.rule-example strong{letter-spacing:.08em;text-transform:uppercase;margin-bottom:3px;font-size:10px;display:block}.rule-example p{margin:0;line-height:1.5}.rule-note-inline{color:#716757;border-top:1px dashed #ddd1be;margin:12px 0 0;padding-top:10px;font-size:11px;line-height:1.5}.rule-no-results{text-align:center;background:#fffaf1;border:1px dashed #c6b9a5;padding:32px 10px}.rule-no-results h3{font-family:var(--display);margin:0 0 6px;font-size:23px;font-weight:500}.rule-no-results p{color:#706a5c;margin:0 0 14px;font-size:12px}.rules-source{color:#767063;border-top:1px solid #d8cdbe;margin-top:32px;padding-top:16px;font-size:11px;line-height:1.7}@media (width<=710px){.rules-group-cards{grid-template-columns:1fr}.rules-shell{padding-top:18px}.rules-group{margin-bottom:23px}.rules-search-bar{top:0}.rules-quick{gap:6px}.rules-quick-label{flex-basis:100%;margin-bottom:2px}}@media (width<=530px){.rules-category{padding:8px 10px;font-size:11px}.rules-quick button{font-size:10px}.rule-entry summary{padding:12px}.rule-entry-name{font-size:19px}.rule-entry-brief{font-size:11.5px}.rules-header h1{font-size:34px}.rules-group>h2{font-size:24px}.rule-entry-details{margin:0 12px}}@media (width<=390px){.tabs{gap:2px}.tab{padding:9px 8px}.tab svg{display:none}.rules-header p{max-width:34ch}}.game-tables-intro{color:#615548;background:#f2ecdf;border-left:3px solid #252420;margin:0 0 12px;padding:10px 12px;font-size:12px;line-height:1.5}.game-tables-intro strong{color:#24221e}.game-tables-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;display:grid}.game-table-card{background:#fffaf0;border:1.5px solid #342e25;min-width:0;padding:16px;box-shadow:2px 3px #25221c10}.game-table-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.table-count{white-space:nowrap;color:#6a6154;font-size:10px}.game-table-card h3{font:600 24px/1.12 var(--display,Georgia,serif);color:#24221e;margin:10px 0 5px}.game-table-card .table-intro{color:#574b3c;min-height:34px;margin:0 0 12px;font-size:12px;line-height:1.45}.game-table-card .table-roll{justify-content:center;align-items:center;gap:8px;width:100%;min-height:42px;font-size:12px;display:flex}.game-table-card .table-roll span{opacity:.8;margin-left:auto;font-size:10px;font-weight:500}.table-outcome{min-height:42px;margin-top:10px}.table-empty-result{color:#766d60;text-align:center;background:#f6f1e7;border:1px dashed #d3c4ad;margin:0;padding:12px;font-size:11px}.table-pending{color:#584f44;background:#f6f1e7;align-items:center;gap:7px;padding:10px;font-size:11px;display:flex}.table-error{color:#a73d2d;flex-wrap:wrap}.table-error>span{width:100%}.table-error .button{font-size:10px}.table-picked-result{background:#f7f0df;border:1.5px solid #b6a07d;border-left:4px solid #252420;padding:11px 12px;animation:.16s ease-out table-arrive}@keyframes table-arrive{0%{opacity:.55;transform:translateY(2px)}to{opacity:1;transform:none}}.table-result-tag{color:#745f42;letter-spacing:.06em;justify-content:space-between;gap:8px;font-size:10px;font-weight:800;display:flex}.table-result-faces{letter-spacing:0;font-variant-numeric:tabular-nums}.table-picked-result h4{font:600 19px/1.2 var(--display,Georgia,serif);color:#24221e;margin:8px 0 5px}.table-picked-result p{color:#312d27;overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.55}.table-picked-result .table-result-extra{color:#5c5145;border-top:1px solid #d8c9af;margin-top:7px;padding-top:7px;font-size:11px}.table-result-actions{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.table-result-actions .button{flex:auto;justify-content:center;min-height:33px;padding:6px 9px;font-size:10.5px}.table-browse{border-top:1px solid #d8cbb8;margin-top:13px;padding-top:10px}.table-browse>summary{cursor:pointer;color:#302d27;justify-content:space-between;align-items:center;gap:7px;min-height:30px;font-size:12px;font-weight:750;list-style:none;display:flex}.table-browse>summary::-webkit-details-marker{display:none}.table-browse>summary:before{content:"+";border:1px solid #bfb09b;justify-content:center;align-items:center;width:18px;height:18px;margin-right:2px;font:700 17px/1 ui-monospace,monospace;display:inline-flex}.table-browse[open]>summary:before{content:"−"}.table-browse>summary span{color:#746958;margin-left:auto;font-size:10px;font-weight:500}.table-choice-list{border-top:1px solid #e4d7c3;max-height:310px;margin-top:7px;overflow-y:auto}.table-choice{color:#332e27;text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #e6d9c7;grid-template-columns:28px minmax(0,1fr) 16px;align-items:start;gap:8px;width:100%;min-height:39px;padding:8px 3px;font-size:11px;line-height:1.4;display:grid}.table-choice:hover,.table-choice:focus-visible{background:#efe5d4}.table-choice-code{color:#745d3f;font-variant-numeric:tabular-nums;font-weight:800}.table-choice svg{color:#7b7063;align-self:center}.table-browse-hint{color:#685e50;margin:7px 0 9px;font-size:11px;line-height:1.4}.treasure-pick-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin-top:10px;display:grid}.treasure-pick-grid button{color:#292520;font-variant-numeric:tabular-nums;cursor:pointer;background:#f9f4e9;border:1px solid #d0bea3;min-width:0;min-height:38px;font-size:12px;font-weight:750}.treasure-pick-grid button:hover,.treasure-pick-grid button:focus-visible{color:#fff7e9;background:#292520}.table-no-match{color:#74695a;padding:10px;font-size:11px}.bestiary-list{border-top:1px solid #d8cbb8;max-height:420px;margin-top:9px;overflow:auto}.bestiary-entry{border-bottom:1px solid #e2d4c1;padding:0}.bestiary-entry>summary{cursor:pointer;color:#302b24;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 9px;padding:9px 1px;font-size:12px;line-height:1.35;display:flex}.bestiary-entry[open]>summary{background:#f1e8d9;padding-inline:5px}.bestiary-entry .bestiary-stats{color:#746657;font-size:10px}.bestiary-entry p{color:#4a4034;margin:6px 5px 12px;font-size:11px;line-height:1.5}@media (width<=640px){.game-tables-grid{grid-template-columns:1fr;gap:10px}.game-table-card{padding:13px}.game-table-card .table-intro{min-height:0}.bestiary-list{max-height:390px}}@media (width<=360px){.treasure-pick-grid{gap:3px}.treasure-pick-grid button{min-height:35px}.game-table-card{padding:11px}.game-table-card h3{font-size:22px}}@media (prefers-reduced-motion:reduce){.table-picked-result{animation:none}}.minimal-sheet .anatomy-card{padding:15px clamp(11px,2.2vw,22px) 16px;overflow:hidden}.minimal-sheet .anatomy-content.anatomy-interactive-layout{grid-template-columns:minmax(200px,1.15fr) minmax(205px,1fr);align-items:center;gap:clamp(14px,4vw,35px);max-width:720px;margin:0 auto;display:grid}.minimal-sheet .anatomy-interactive-layout .skeleton-stage{order:0;grid-area:auto;justify-content:center;align-items:center;height:auto;min-height:285px;padding:0;display:flex}.minimal-sheet .anatomy-interactive-layout .anatomy-figure{aspect-ratio:480/449;width:100%;max-width:290px;margin:auto}.anatomy-figure.interactive-anatomy:after{border-color:#26241f1a;inset:10% 10% 7%}.anatomy-click-map{z-index:3;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.anatomy-hit-zone{cursor:pointer;outline:none}.anatomy-hit-zone ellipse{fill:#0000;stroke:#0000;stroke-width:10px;pointer-events:all}.anatomy-hit-zone path{fill:none;stroke:#0000;stroke-width:45px;stroke-linejoin:round;stroke-linecap:round;pointer-events:stroke}.anatomy-hit-zone:hover{filter:drop-shadow(0 0 3px #d3a93c)}.anatomy-marker{z-index:5;left:var(--part-x);top:var(--part-y);color:#292720;touch-action:manipulation;background:#fffdf5;border:1.5px solid #282620;border-radius:50%;place-items:center;width:30px;min-width:30px;height:30px;padding:0;font:800 12px/1 system-ui,sans-serif;transition:transform .12s,background .12s,box-shadow .12s;display:grid;position:absolute;transform:translate(-50%,-50%);box-shadow:2px 2px #d6cbb6}.anatomy-marker:hover{background:#f1df8e;transform:translate(-50%,-50%)scale(1.1)}.anatomy-marker.is-hurt{background:#f4d84e}.anatomy-marker.is-missing{color:#fff6e3;background:#352d29;border-color:#352d29}.anatomy-marker.is-selected{outline-offset:2px;outline:3px solid #f1c52e;box-shadow:1px 2px #242321}.anatomy-marker:focus-visible{outline-offset:3px;outline:3px solid #cd7c33}.anatomy-figure.interactive-anatomy .missing-note{z-index:6;pointer-events:none;bottom:-5px}.anatomy-figure.interactive-anatomy .perished-note{z-index:4;pointer-events:none}.anatomy-inspector-wrap{min-width:0}.anatomy-empty-selection{background:#f8f2e6;border:1px dashed #c8bba3;flex-direction:column;justify-content:center;align-items:start;gap:8px;min-height:174px;padding:18px;display:flex}.anatomy-tap-hint{font:600 25px/1.1 var(--display,Georgia,serif);color:#25231f}.anatomy-empty-selection p{color:#5e594d;max-width:28ch;margin:0;font-size:12px;line-height:1.5}.anatomy-die-hint{color:#887a65;font-size:10px;line-height:1.4}.anatomy-part-inspector{background:#fffdf7;border:1px solid #bab09c;min-width:0;padding:16px;box-shadow:3px 3px #24211d14}.anatomy-inspector-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.anatomy-part-kicker{color:#8b6d3d;letter-spacing:.06em;text-transform:uppercase;font:700 10px/1.1 system-ui,sans-serif}.anatomy-inspector-top h3{font:600 clamp(21px,3vw,27px)/1.05 var(--display,Georgia,serif);color:#25231f;margin:4px 0 0}.anatomy-part-state{color:#48443c;white-space:nowrap;background:#f5efdf;border:1px solid #cec2ae;padding:4px 7px;font:750 10px/1.3 system-ui,sans-serif}.anatomy-part-state.missing{color:#fffaf0;background:#302c28;border-color:#302c28}.anatomy-usage-row{border-top:1px solid #e2d5c0;border-bottom:1px solid #e2d5c0;align-items:center;gap:12px;margin-top:17px;padding:11px 0 12px;display:flex}.anatomy-usage-row>span:first-child{color:#585044;font:700 11px/1.2 system-ui,sans-serif}.anatomy-usage-row .anatomy-selected-dots{flex:none;align-items:center;gap:11px;width:auto;margin:0;display:flex}.anatomy-usage-row .dot{cursor:pointer;background:#fffdf7;border:1.6px solid #302d27;border-radius:50%;width:27px;min-width:27px;height:27px}.anatomy-usage-row .dot.marked{background:#282621;border-color:#282621}.anatomy-usage-row .dot:hover{outline-offset:2px;outline:2px solid #debe65}.anatomy-usage-count{color:#817869;margin-left:auto;font:600 11px/1 system-ui,sans-serif}.anatomy-inspector-actions{flex-wrap:wrap;gap:7px;margin-top:13px;display:flex}.anatomy-inspector-actions button{color:#2d2924;white-space:nowrap;background:#fffbf3;border:1px solid #beb19b;border-radius:3px;flex:auto;min-height:36px;padding:7px 10px;font-size:11px;font-weight:750}.anatomy-inspector-actions button.anatomy-main-action{color:#fff8e9;background:#292723;border-color:#292723;flex-basis:100%}.anatomy-inspector-actions button:hover:not(:disabled){background:#ece0c5}.anatomy-inspector-actions button.anatomy-main-action:hover:not(:disabled){background:#4b4338}.anatomy-inspector-actions button:disabled{opacity:.4}.anatomy-inspector-hint{color:#756a59;margin:12px 0 0;font-size:10.5px;line-height:1.4}@media (width<=620px){.minimal-sheet .anatomy-content.anatomy-interactive-layout{grid-template-columns:1fr;gap:12px;max-width:410px}.minimal-sheet .anatomy-interactive-layout .skeleton-stage{order:0;grid-area:auto;height:auto;min-height:225px;display:flex}.minimal-sheet .anatomy-interactive-layout .anatomy-figure{width:min(100%,290px);max-width:290px}.anatomy-inspector-wrap{order:1;width:100%}.anatomy-empty-selection{gap:5px;min-height:85px;padding:12px 14px}.anatomy-empty-selection p{max-width:100%}.anatomy-part-inspector{padding:13px}}@media (width<=370px){.anatomy-marker{width:28px;min-width:28px;height:28px}.minimal-sheet .anatomy-interactive-layout .anatomy-figure{max-width:260px}}@media (prefers-reduced-motion:reduce){.anatomy-marker{transition:none}}.anatomy-random-hit{color:#fffaf0;min-height:29px;font-size:var(--text-small);white-space:nowrap;background:#26241f;border:1px solid #26241f;border-radius:3px;justify-content:center;align-items:center;gap:5px;padding:5px 8px;font-weight:750;display:inline-flex}.anatomy-random-hit:hover{background:#524b3f}.anatomy-rolled-note{color:#594b2b;background:#f6eac4;border-left:3px solid #b98927;margin-top:12px;padding:8px 10px;font-size:11px;font-weight:700}@media (width<=370px){.anatomy-tools{justify-content:flex-start}.anatomy-random-hit{font-size:var(--text-small);padding:5px 6px}}.minimal-sheet .anatomy-empty-selection{gap:3px;min-height:64px;padding:12px 15px}.minimal-sheet .anatomy-empty-selection .anatomy-tap-hint{font-size:19px}.minimal-sheet .anatomy-empty-selection p{font-size:12px}.anatomy-inspector-top h3{margin:0;font-size:clamp(20px,3vw,26px)}.anatomy-part-inspector{padding:13px 15px}.anatomy-usage-row{border-bottom:0;gap:15px;margin-top:10px;padding:10px 0 2px}.anatomy-usage-row .dot{touch-action:manipulation}.anatomy-inspector-actions{margin-top:11px}.anatomy-inspector-actions button{flex:0 auto;min-height:32px}.anatomy-usage-row .dot:disabled{cursor:not-allowed;opacity:.35}@media (width<=620px){.minimal-sheet .anatomy-empty-selection{min-height:57px}.minimal-sheet .anatomy-part-inspector{padding:12px}}.modal:has(.about-body){width:min(610px,100%)}.about-heading{margin-bottom:12px}.about-heading h2{margin:5px 0;font-size:33px}.about-body{flex-direction:column;gap:12px;display:flex}.about-section{border-bottom:1px solid #d9d0c0;padding:0 0 12px}.about-section:last-child{border-bottom:0;padding-bottom:0}.about-section h3{font-family:var(--display);color:#262621;margin:7px 0 8px;font-size:22px;font-weight:400;line-height:1.15}.about-section p{color:#48473e;margin:0 0 8px;font-size:12px;line-height:1.55}.about-section p:last-child{margin-bottom:0}.about-section a{color:#252520;text-underline-offset:3px}.about-section a:focus-visible{outline-offset:3px;outline:2px solid #242521}.about-license{background:#f3efe5;border-left:3px solid #262621;padding:9px 11px}.about-section .about-footnote{color:#676456;font-size:11px}.about-links{flex-wrap:wrap;gap:8px 16px;display:flex}.about-links a{align-items:center;gap:4px;font-size:12px;font-weight:650;display:inline-flex}.about-other-tools{grid-template-columns:1fr 1fr;gap:6px;margin:0;padding:0;list-style:none;display:grid}.about-other-tools a{background:#fffdf8;border:1px solid #d8d1c4;border-radius:3px;justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:9px 11px;text-decoration:none;display:flex}.about-other-tools a:hover{background:#f3eddf;border-color:#afa595}.about-other-tools strong{font-size:12px;line-height:1.25;display:block}.about-other-tools small{color:#656158;margin-top:3px;font-size:10px;line-height:1.35;display:block}.about-other-tools svg{flex-shrink:0}@media (width<=520px){.about-other-tools{grid-template-columns:1fr}.about-section h3{font-size:20px}.about-heading h2{font-size:29px}}:root{--chrome-bottom:calc(var(--sticky-header) + var(--sticky-controls))}.library-toolbar,.unified-library .library-toolbar{top:calc(var(--chrome-bottom) - 1px)}.rules-search-bar{top:var(--chrome-bottom)}.compact-roll-bar{top:calc(var(--chrome-bottom) + 4px)}.quickroll-panel{scroll-margin-top:calc(var(--chrome-bottom) + 10px)}.rules-group,.rule-entry{scroll-margin-top:calc(var(--chrome-bottom) + 16px)}.modal{border-radius:5px}.card-modal{background:#fffdfa;border-radius:5px;flex-direction:column;max-height:min(780px,100dvh - 24px);padding:0;display:flex;overflow:hidden}.card-modal .modal-x{z-index:2;top:15px;right:15px}.card-modal .modal-heading{flex:none;margin:0 0 4px;padding:22px 23px 0}.card-modal .modal-heading h2{margin:0 0 13px}.card-modal #card-form{overscroll-behavior:contain;flex-direction:column;flex:1;gap:15px;min-height:0;padding:0 23px;display:flex;overflow:auto}.card-modal .modal-actions{background:#fffdfa;border-top:1px solid #e5dac9;margin:0 -23px;padding:14px 23px 17px;position:sticky;bottom:0;box-shadow:0 -1px #e5dac9}@media (width<=530px){.card-modal .modal-heading{padding:20px 15px 0}.card-modal #card-form{padding:0 15px}.card-modal .modal-actions{margin:0 -15px;padding:13px 15px 15px}}.move-choice.active{color:#fffaf0;background:#24231f;border-color:#24231f}.picker-add{color:#5c5850}.toast{background:#24231f}input::placeholder,textarea::placeholder{color:#757168}.result-heading,.mini-help,.picker-item small,.modal-heading p{color:#6f6b62}.no-usage{color:#77736b}@media (width<=480px){.reference-card p{font-size:12px}.reference-clear,.reference-card-bottom span{font-size:11px}.reference-header p{font-size:12px}}.minimal-sheet .level-control span,.minimal-sheet .value-line input,.value-target{font-variant-numeric:tabular-nums;letter-spacing:-.01em;font-family:DM Sans,Arial,sans-serif}.minimal-sheet .level-control span{font-size:32px;font-weight:700;line-height:1}.minimal-sheet .value-line input{font-size:30px;font-weight:700}.minimal-sheet .value-target{color:var(--text-secondary);font-size:22px;font-weight:650}@media (width<=530px){.minimal-sheet .level-control span{font-size:28px}.minimal-sheet .value-line input{font-size:26px}.minimal-sheet .value-target{font-size:20px}}@media (pointer:coarse){.header-icon-btn{position:relative}.header-icon-btn:after,.modal-x:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.roll-mod-row{flex-wrap:wrap}.roll-mod-row .segmented-adjust{max-width:100%}.segmented-adjust button{min-width:36px;min-height:44px}.anatomy-marker,.anatomy-usage-row .dot{width:44px;min-width:44px;height:44px}.anatomy-inspector-actions button,.anatomy-tools button,.library-kind,.item-fast-action,.inventory-move-button{min-height:44px}}.minimal-sheet .small-add{font-size:var(--text-small)}@media (width<=530px){.sheet-notes-block{grid-template-columns:minmax(0,1fr)}}.segmented-adjust:focus-within{overflow:visible}::selection{color:#24231f;background:#f2d64a}input,textarea{caret-color:#625127}.sheet-play-area{grid-template-columns:minmax(0,1fr) minmax(0,1.55fr);align-items:start;gap:14px;margin-top:14px;display:grid}.sheet-play-area>section{min-width:0;margin-top:0}.minimal-sheet .sheet-play-area .anatomy-content{flex-direction:column;gap:8px;display:flex}.minimal-sheet .sheet-play-area .skeleton-stage{width:100%;min-height:240px}.minimal-sheet .sheet-play-area .anatomy-figure{max-width:250px}.sheet-play-area .anatomy-inspector-wrap{width:100%}.minimal-sheet .sheet-play-area .anatomy-empty-selection{background:0 0;border:0;min-height:0;padding:10px 0}.minimal-sheet .sheet-play-area .inventory-slot.empty{min-height:44px}.minimal-sheet .sheet-play-area .overflow-section{border:0;border-top:1px solid var(--line);background:0 0;border-radius:0;padding:12px 0 0}.minimal-sheet .sheet-play-area .overflow-section .small-add{min-height:36px}.sheet-notes{border-top:1px solid var(--line);margin-top:18px;padding-top:10px}.sheet-notes>summary{cursor:pointer;color:var(--text-secondary);padding:8px 0;font-size:13px;font-weight:650}.sheet-notes .sheet-notes-block{margin-top:8px}.sheet-blessings{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.modifier-value{font-variant-numeric:tabular-nums;place-items:center;min-width:32px;font-size:12px;font-weight:750;display:grid}#roll-visibility{align-items:center;gap:7px;margin-left:auto;display:flex}.roll-local-label{color:var(--text-secondary);font-size:11px}.save-footer{max-width:1180px;color:var(--text-secondary);margin:0 auto;padding:0 18px 16px;font-size:11px}.save-footer #save-status{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.save-footer.has-error{z-index:60;color:#5e2c25;background:#fff4ee;border-top:1px solid #a9796a;padding:10px 18px;position:sticky;bottom:0}.save-footer button{min-height:36px;color:inherit;background:var(--paper);border:1px solid #a9796a;border-radius:3px;padding:5px 10px;font-weight:700}.character-create{position:relative}.character-create>summary{cursor:pointer;list-style:none}.character-create>summary::-webkit-details-marker{display:none}.character-create[open]>summary{background:#eee9de}.character-create-options{z-index:60;background:var(--paper);border:1px solid var(--ui-border);border-radius:4px;min-width:190px;padding:5px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 6px 16px #24231f1a}.character-create-options button{width:100%;min-height:40px;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:2px;align-items:center;gap:8px;padding:9px;font-size:13px;display:flex}.character-create-options button:hover{background:#eee9de}.character-create>summary:focus-visible,.sheet-notes>summary:focus-visible{outline-offset:2px;outline:2px solid #bd7b53}button.print-card-face{width:100%;color:var(--ink);text-align:center;cursor:pointer;background:0 0;border:0}button.print-card-face:hover{background:#f5f0e3}button.print-card-face:focus-visible{outline-offset:-3px;outline:2px solid #bd7b53}.reference-item-art{place-items:center;height:150px;margin:12px 0;display:grid}.reference-item-art img{object-fit:contain;max-width:100%;max-height:150px}.card-mechanics{color:var(--text-secondary);font-weight:650}.item-detail-modal{flex-direction:column;max-height:calc(100dvh - 24px);padding:0;display:flex;overflow:hidden}.item-detail-content{overscroll-behavior:contain;min-height:0;padding:24px;overflow:auto}.item-detail-content:focus-visible{outline-offset:-3px;outline:2px solid #bd7b53}.item-detail-content .modal-heading{padding-right:28px}.item-detail-content h2{overflow-wrap:anywhere}.item-detail-modal .modal-actions{border-top:1px solid var(--line);background:var(--paper);flex:none;margin:0;padding:12px 24px}@media (width<=530px){.item-detail-content{padding:18px 15px}.item-detail-modal .modal-actions{padding:12px 15px}}@media (pointer:coarse){.character-create-options button,.item-detail-modal .modal-actions button{min-height:44px}.print-card-actions{height:auto;min-height:52px}.print-card-actions button{min-width:44px;height:44px}}@media (width<=900px){.sheet-play-area{grid-template-columns:minmax(0,1fr)}.minimal-sheet .sheet-play-area .anatomy-content{flex-direction:row}.sheet-play-area .anatomy-inspector-wrap{flex:1}.minimal-sheet .sheet-play-area .skeleton-stage{width:45%}}@media (width<=530px){.minimal-sheet .sheet-play-area .anatomy-content{flex-direction:column}.minimal-sheet .sheet-play-area .skeleton-stage{width:100%}.sheet-play-area .anatomy-tools{flex-wrap:wrap;justify-content:flex-end}.sheet-play-area .minimal-heading{flex-wrap:wrap}.sheet-play-area .anatomy-tools{margin-left:auto}#roll-visibility{margin-left:0}}.skull-modal .skull-tool{justify-content:center;min-height:44px}.skull-modal .skull-tool:hover:not(:disabled):not(.active){background:#e8dfc9;border-color:#aaa595}.skull-modal .skull-tool.active:hover{background:#414039}.skull-modal .skull-tool:disabled{opacity:1;color:#7b766c;background:#f1ede4;border-color:#d4cec1}.skull-modal .skull-editor-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-width:350px;margin:0 auto 10px;display:grid}.skull-modal .skull-editor-tools .skull-tool,.skull-modal .skull-drawing-actions .skull-tool{padding:8px 7px;line-height:1.25}.skull-drawing-actions [data-action=skull-outline]{grid-column:1/-1}.skull-drawing-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-width:350px;margin:10px auto 0;display:grid}.skull-modal .skull-canvas-wrap{box-shadow:none;background:#fffdf7;padding:6px}.skull-modal .modal-actions{margin-top:20px}
