/* 0.8.5 standalone character card and two twelve-slot spell rows. */
.character-panel{position:absolute;z-index:35;top:50%;left:50%;transform:translate(-50%,-50%);width:min(940px,calc(100% - 40px));height:min(700px,calc(100% - 36px));display:flex;flex-direction:column;pointer-events:auto;border:1px solid #ad986888;border-radius:14px;background:linear-gradient(145deg,#183a32fa,#10231ffa);color:#ece6cd;box-shadow:0 20px 90px #000a, inset 0 0 0 4px #ffffff03;overflow:hidden;backdrop-filter:blur(12px)}
.character-panel[hidden]{display:none}.character-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px 12px}.character-header .eyebrow{font-size:9px;letter-spacing:2px;color:#c6ad73}.character-header h2{font:600 28px Georgia,serif;margin:4px 0;color:#f3e4b7}.character-header p{margin:0;font-size:12px;color:#aac1a6}.character-close{font:30px/32px system-ui;background:#ffffff06;border:1px solid #c5bd8d33;color:#e5d5a9;border-radius:6px;min-width:38px;min-height:38px}
.character-tabs{display:grid;grid-template-columns:repeat(4,1fr);padding:0 24px;gap:4px;border-bottom:1px solid #bcc39425}.character-tabs button{font:600 12px system-ui;letter-spacing:.25px;padding:12px 6px;border:0;border-radius:6px 6px 0 0;border-bottom:2px solid transparent;background:transparent;color:#aac1ae}.character-tabs button.active{color:#f5e3ad;background:#ccb2700d;border-bottom-color:#d9bd75}.character-tabs button:hover{color:#fff1c7}.character-content{overflow-y:auto;overflow-x:hidden;flex:1;min-height:0;padding:18px 24px 22px;scrollbar-width:thin;scrollbar-color:#78936e #10261f}.character-content button,.character-content select{font:11px system-ui;color:#e7e2be;border:1px solid #a7b78055;background:#31583e;border-radius:4px;padding:6px 10px;min-height:28px}.character-content button:disabled{opacity:.38}.character-content button:not(:disabled):hover{background:#426f4f;border-color:#d0ce90}
.sheet-section-title{font-size:10px;line-height:15px;letter-spacing:1.5px;text-transform:uppercase;margin:18px 0 10px;color:#cdb67d}.sheet-section-title:first-child{margin-top:0}.sheet-section-row{display:flex;align-items:center;justify-content:space-between}.sheet-section-row .sheet-section-title{margin:17px 0 9px}.sheet-section-row small{font-size:11px;color:#b1c3a3}
.sheet-equipped{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.sheet-equipment-card{position:relative;min-width:0;display:grid;grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto 1fr auto;column-gap:12px;padding:10px;background:#213f31;border:1px solid #d7bd793d;border-radius:7px}.sheet-equipment-card img{grid-column:1;grid-row:1/4;align-self:center}.sheet-equipment-card small{font-size:9px;text-transform:uppercase;letter-spacing:.7px;color:#bba977}.sheet-equipment-card strong{font:500 13px/18px Georgia,serif;color:#f2e3b5;overflow-wrap:anywhere}.sheet-equipment-card button{justify-self:start;margin-top:5px;padding:3px 8px;font-size:10px}
.sheet-bag-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(3,74px);gap:7px}.sheet-bag-grid .sheet-bag-cell{display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:6px;min-width:0;min-height:0;text-align:left;background:#142d26;border-color:#b0bf8540;overflow:hidden}.sheet-bag-cell img{width:36px;height:36px;flex-shrink:0}.sheet-bag-cell span{font-size:10px;line-height:14px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.sheet-bag-cell.rare{border-color:#5892c788}.sheet-bag-cell.epic{border-color:#ae79ce88}.sheet-bag-cell.legendary{border-color:#dfb25ca8}.sheet-bag-cell.selected{outline:2px solid #dbc381;outline-offset:-2px}.sheet-bag-cell.empty{opacity:1!important;background:#0d231d80;border-style:dashed;border-color:#829b6b22}.sheet-bag-cell .empty-mark{margin:auto;font-size:20px;color:#80947540}
.sheet-bag-pager{display:flex;gap:12px;align-items:center;justify-content:center;margin:9px 0 4px}.sheet-bag-pager span{font-size:10px;color:#b9c7a6}.sheet-bag-pager button{min-width:30px;padding:2px 8px}.sheet-hint{font-size:11px;line-height:17px;color:#a9bfaa;margin:10px 0}.sheet-item-detail{margin-top:10px;padding:10px 12px;background:#264636;border-radius:5px;font-size:12px}.sheet-item-detail strong{color:#ead29a}.sheet-item-detail p{font-size:11px;margin:5px 0 8px;color:#c0d1b5}.sheet-item-detail button{margin-right:7px}.sheet-potions{display:flex;flex-wrap:wrap;gap:8px;font-size:10px;color:#aec9b0;margin-top:12px}.sheet-potions span{border:1px solid #b5c98b22;padding:4px 7px;border-radius:3px}
.sheet-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.sheet-stat{border:1px solid #acba8140;background:#203f30;padding:10px 12px;border-radius:5px;min-width:0}.sheet-stat small{display:block;font-size:10px;color:#a6bea4;margin-bottom:6px}.sheet-stat strong{font:600 15px/20px Georgia,serif;color:#f0dda9;overflow-wrap:anywhere}.sheet-abilities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sheet-ability{display:flex;flex-direction:column;padding:10px 12px;border:1px solid #c1b37f33;border-radius:5px;background:#1b362d}.sheet-ability small{font-size:10px;color:#c4b77f}.sheet-ability strong{font:600 21px Georgia,serif;color:#f2e4ba;margin:5px 0}.sheet-ability span{font-size:11px;color:#b9cfb1}.sheet-resistances{display:flex;flex-wrap:wrap;gap:5px}.sheet-resistances>span{font-size:10px;line-height:16px;padding:4px 7px;border:1px solid #9dad8340;border-radius:4px;color:#aabfa9;background:#112a22}.sheet-resistances .resistant{color:#d1f1b4;border-color:#94bd71;background:#294f2e}.sheet-resistances .harmful{color:#efd4b5;border-color:#bd8e70;background:#4b3027}
.sheet-empty-feats{height:80%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#b4c5ac}.sheet-empty-feats img{width:76px;height:76px;opacity:.7}.sheet-empty-feats h3{font:24px Georgia,serif;color:#dcc38f;margin:16px 0 5px}.sheet-empty-feats p{font-size:12px}
.sheet-spell-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#cabc8d;margin-bottom:16px}.sheet-spell-list{display:flex;flex-direction:column;gap:7px}.sheet-spell-list .sheet-section-title{margin:14px 0 0}.sheet-spell{display:grid;grid-template-columns:44px minmax(0,1fr) 165px;gap:12px;align-items:start;border:1px solid #acbf803b;border-radius:6px;padding:12px;background:#203b2e}.sheet-spell.locked{opacity:.45}.sheet-spell>img{width:44px;height:44px}.sheet-spell-text strong{font:600 15px Georgia,serif;color:#ebdba9;display:block}.sheet-spell-text small{font-size:9px;color:#9ebe9c;display:block;margin:4px 0}.sheet-spell-text p{font-size:11px;line-height:17px;margin:6px 0 0;color:#bbcfb3}.sheet-spell-actions{display:flex;flex-direction:column;gap:5px;min-width:0}.sheet-spell-actions select{width:100%;max-width:none;padding:5px;font-size:9px}.sheet-spell-actions button{min-height:30px}
.game-ui:has(#characterPanel:not([hidden])) .effects-panel,.game-ui:has(#characterPanel:not([hidden])) .control-tip{visibility:hidden}
/* Both rows share the same bank and, on narrow screens, the same horizontal pan. */
.spellbar{width:min(930px,calc(100% - 310px));max-width:none;bottom:20px;display:flex;align-items:stretch;gap:7px}.hotbar-viewport{min-width:0;flex:1;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#a9b57b #173226}.hotbar-slots{width:100%;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:4px}.hotbar-slots+.hotbar-slots{margin-top:4px}.spellbar .hotbar-slot{width:100%;height:60px;min-width:0;padding:2px}.hotbar-slot .spell-icon{display:block;width:30px;height:30px;border-radius:5px;object-fit:contain;image-rendering:auto}.hotbar-slot span:has(.spell-icon){height:30px}.hotbar-slot kbd{font-size:9px;z-index:1;color:#f4e4b3;text-shadow:0 1px 2px #000;top:0;left:2px}.hotbar-slot small{font-size:8px;line-height:12px}.hotbar-slot b{font-size:8px;line-height:10px}.hotbar-toolbar{display:flex;flex-direction:column;justify-content:center;gap:6px;flex-shrink:0}.spellbar .hotbar-pages{position:static;flex-direction:column;height:auto;gap:0}.spellbar #bookSpell{position:static;min-width:38px;padding:3px;font-size:10px;height:42px}.quickbar{bottom:156px}.effects-panel{bottom:235px}.control-tip{bottom:236px}.game-ui:has(.effects-panel:not([hidden])) .control-tip{bottom:312px}.ability-button #abilityIcon img{width:26px;height:26px;border-radius:4px}.keyboard-hint{display:none!important}
@media(max-width:1100px) and (min-width:701px){.spellbar{width:calc(100% - 260px)}.spellbar .hotbar-slot{height:54px}.hotbar-slot small{font-size:7px}.hotbar-slot .spell-icon{width:26px;height:26px}.quickbar{bottom:144px}.effects-panel{bottom:220px}.control-tip{bottom:223px}.game-ui:has(.effects-panel:not([hidden])) .control-tip{bottom:295px}}
@media(max-width:700px) and (orientation:portrait){
 .character-panel{width:calc(100% - 14px);height:calc(100% - 20px);border-radius:9px}.character-header{padding:13px 13px 9px}.character-header h2{font-size:23px}.character-tabs{padding:0 10px;gap:0}.character-tabs button{padding:12px 3px;font-size:11px}.character-content{padding:12px}.sheet-equipped{gap:5px}.sheet-equipment-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:7px 4px;gap:3px}.sheet-equipment-card img{width:32px;height:32px}.sheet-equipment-card strong{font-size:11px;line-height:14px}.sheet-equipment-card small{font-size:8px}.sheet-equipment-card button{font-size:9px;min-height:25px;margin:3px 0 0;align-self:center}.sheet-bag-grid{grid-template-rows:repeat(3,71px);gap:4px}.sheet-bag-grid .sheet-bag-cell{flex-direction:column;justify-content:flex-start;padding:4px 2px;gap:3px;text-align:center}.sheet-bag-cell img{width:27px;height:27px}.sheet-bag-cell span{font-size:8px;line-height:11px;-webkit-line-clamp:2}.sheet-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet-stat{padding:9px}.sheet-abilities{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.sheet-ability{padding:9px}.sheet-ability strong{font-size:19px}.sheet-ability span{font-size:10px}.sheet-spell{grid-template-columns:34px minmax(0,1fr);padding:10px;gap:9px}.sheet-spell>img{width:34px;height:34px}.sheet-spell-actions{grid-column:2;flex-direction:row}.sheet-spell-actions button{min-width:66px}.sheet-spell-actions select{flex:1;min-width:0}.sheet-spell-text strong{font-size:14px}.sheet-spell-summary{align-items:flex-start;font-size:10px}.sheet-spell-summary span{max-width:50%}
 .spellbar{width:calc(100% - 22px);max-width:none;bottom:128px;flex-direction:column;gap:4px}.hotbar-toolbar{order:-1;flex-direction:row;justify-content:flex-end;height:28px}.spellbar #bookSpell{height:28px;min-height:28px;min-width:42px;font-size:9px;padding:2px 7px}.spellbar .hotbar-pages{flex-direction:row;gap:5px}.spellbar .hotbar-pages button{min-height:28px;min-width:30px}.hotbar-slots{width:max-content;grid-template-columns:repeat(12,45px)}.spellbar .hotbar-slot{height:53px}.hotbar-slot small{font-size:7px}.hotbar-slot .spell-icon{width:26px;height:26px}.hotbar-slot span:has(.spell-icon){height:26px}.quickbar{left:12px;transform:none;bottom:286px;gap:5px}.quickbar>button{height:49px;min-width:48px;width:48px}.effects-panel{bottom:347px;width:calc(100% - 24px);padding:4px}.control-tip{bottom:348px}.game-ui:has(.effects-panel:not([hidden])) .control-tip{bottom:418px}.chat-wrap{bottom:auto;top:110px;left:12px;width:calc(100% - 95px);pointer-events:none}.chat-wrap>button,.chat-wrap form{pointer-events:auto}.notice-feed{bottom:425px}.game-ui:has(#characterPanel:not([hidden])) .chat-wrap{visibility:hidden}
}
@media(max-height:540px) and (orientation:landscape){
 .character-panel{height:calc(100% - 14px);width:min(900px,calc(100% - 24px))}.character-header{padding:9px 15px 5px}.character-header h2{font-size:21px;margin:2px 0}.character-header .eyebrow{display:none}.character-tabs{padding:0 15px}.character-tabs button{padding:8px}.character-content{padding:10px 15px}.sheet-equipped{gap:6px}.sheet-equipment-card{padding:7px}.sheet-bag-grid{grid-template-rows:repeat(3,54px)}.sheet-bag-cell img{width:27px;height:27px}.sheet-bag-cell span{font-size:9px}.sheet-section-title{margin:10px 0 6px}
 .spellbar{width:calc(100% - 235px);bottom:9px;flex-direction:row;gap:4px}.hotbar-slots{grid-template-columns:repeat(12,minmax(0,1fr));gap:2px}.spellbar .hotbar-slot{height:44px}.hotbar-slot .spell-icon{width:23px;height:23px}.hotbar-slot span:has(.spell-icon){height:23px}.hotbar-slot small{font-size:6px;line-height:9px}.hotbar-slot b{font-size:7px;line-height:9px}.hotbar-slot kbd{font-size:8px}.hotbar-toolbar{gap:3px}.spellbar #bookSpell{height:28px;font-size:8px;min-width:27px}.spellbar .hotbar-pages{gap:0}.spellbar .hotbar-pages button{min-height:16px;min-width:24px;line-height:16px}.hotbar-pages output{font-size:8px;line-height:10px}.quickbar{bottom:106px;left:50%;transform:translateX(-50%)}.quickbar>button{height:44px}.effects-panel{bottom:159px;right:12px;width:min(395px,calc(100% - 240px))}.control-tip{bottom:162px}.game-ui:has(.effects-panel:not([hidden])) .control-tip{bottom:222px}
}

/* Keep side chat/messages outside both hotbar rows on desktop. */
@media(min-width:1101px) and (min-height:541px){.chat-wrap{left:24px;width:210px;bottom:22px}.notice-feed{left:24px;width:245px;bottom:170px;max-height:190px;overflow:hidden}.notice{font-size:10px;line-height:15px}}
@media(min-width:701px) and (max-width:1100px) and (min-height:541px){.chat-wrap{left:12px;width:160px;bottom:175px}.notice-feed{left:12px;width:200px;bottom:252px;max-height:150px;overflow:hidden}}

/* Actual per-character spell strength, compact even on a phone. */
.spell-power-summary{font-weight:650;color:#b7d9f4;margin:5px 0;overflow-wrap:anywhere}
.spell-next-upgrade{display:block;color:#d6c486;margin-top:5px;overflow-wrap:anywhere}
.spell-power-picker{max-width:100%;min-width:0;border:1px solid #596159;border-radius:5px;background:#18252b;color:#f1ead7;padding:7px;font:inherit}

/* A concentration replacement is a choice, not a second concurrent buff. */
.spell-concentration-warning{color:#f4c789!important;font-weight:600}

/* UI_28: ability choices stay in Statistics; trained skills have their own tab. */
.character-tabs{grid-template-columns:repeat(6,minmax(0,1fr))}.character-tabs button{min-width:0;letter-spacing:0}
.sheet-advancement,.sheet-build,.sheet-skill-choice{padding:14px;margin:0 0 14px;border:1px solid #c9b47366;border-radius:8px;background:#2e49347a}
.sheet-advancement h3,.sheet-skill-intro h3{margin:0;font:600 18px/1.3 Georgia,serif;color:#f0dda9}.sheet-advancement>small{color:#b8c9b1;font-size:11px;line-height:1.5}
.sheet-build summary{font-weight:650;font-size:13px;color:#e4cf9a;cursor:pointer;line-height:1.5}.sheet-build-budget{display:block;font-size:12px;color:#e6d8a5;margin:12px 0}
.sheet-build-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sheet-build-row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto;gap:7px;border:1px solid #c4bb8330;background:#19382a80;border-radius:5px;padding:9px}.sheet-build-row>strong{grid-column:1/-1;font-size:12px;color:#e4d9b5}.sheet-build-row label,.sheet-asi-controls label{display:flex;flex-direction:column;gap:4px;min-width:0}.sheet-build-row small,.sheet-asi-controls small{font-size:10px;color:#b8c9af}.sheet-build-row select{min-width:0;width:100%;padding:6px 4px}.sheet-build-row output{align-self:end;line-height:30px;font-weight:700;font-size:12px;color:#f1ddb0;white-space:nowrap}
.sheet-asi-controls,.sheet-skill-choice-controls{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.sheet-asi-controls label{flex:1;min-width:130px}.sheet-asi-controls select{width:100%;min-width:0}.sheet-advancement>button{margin-top:5px}.sheet-choice-reason{font-size:11px;line-height:1.5;color:#e0c69c;margin:7px 0}.sheet-choice-reason:empty{display:none}.sheet-skill-intro{margin:0 0 16px}.sheet-skill-choice>strong{color:#f0dda9;font-size:13px}.sheet-skill-choice-controls select{flex:1;min-width:150px;max-width:100%}.sheet-skill-choice-controls button{flex-shrink:0}
.sheet-skill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sheet-skill{border:1px solid #afba8440;border-radius:6px;background:#19372c;padding:11px 12px;min-width:0}.sheet-skill.proficient{border-color:#a8bd7766}.sheet-skill.expert{border-color:#d4b774;background:#34482e}.sheet-skill-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.sheet-skill-head strong{font:600 15px/1.25 Georgia,serif;color:#eee1b7}.sheet-skill-bonus{font:700 20px/1.2 Georgia,serif;color:#e5d097;white-space:nowrap}.sheet-skill-state{display:block;margin-top:3px;color:#bdd39f!important}.sheet-skill p,.sheet-challenge p{font-size:11px;line-height:1.5;color:#c0d0b8;margin:8px 0}.sheet-skill small,.sheet-challenge small{display:block;font-size:10px;line-height:1.5;color:#a9bda6}.sheet-challenges{scroll-margin-top:12px}.sheet-challenge{border:1px solid #b7a35f77;border-radius:6px;background:#2e402c;padding:12px;margin:8px 0}.sheet-challenge.completed{border-color:#819a734d;background:#1b3327}.sheet-challenge strong{color:#e8d9ab;font-size:13px}.sheet-challenge .sheet-skill-bonus{font-size:16px}.sheet-challenge small.sheet-challenge-reward{color:#d4c295;margin-top:5px}.sheet-challenge .sheet-choice-reason{color:#e0c69c}
.sheet-origin-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sheet-origin-option{padding:10px;border:1px solid #c2b57744;border-radius:6px;background:#19342a}.sheet-origin-option strong{display:block;font:600 14px Georgia,serif;color:#eddfb4}.sheet-origin-option p{font-size:11px;line-height:1.5;color:#bed0b5}.sheet-origin-option img{width:32px;height:32px;margin-bottom:6px}.sheet-origin-option button{width:100%}
@media(max-width:620px){.sheet-build-grid,.sheet-skill-grid,.sheet-origin-options{grid-template-columns:1fr}.sheet-advancement,.sheet-build,.sheet-skill-choice{padding:10px}.sheet-build-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto}.sheet-skill-choice-controls button{width:100%}.character-tabs button{font-size:10px}.sheet-asi-controls label{min-width:100px}.sheet-asi-controls>button{width:100%}.sheet-origin-option{display:grid;grid-template-columns:32px minmax(0,1fr);gap:7px}.sheet-origin-option img{grid-row:1/3}.sheet-origin-option p{margin:0}.sheet-origin-option button{grid-column:2}}
@media(pointer:coarse){.sheet-build select,.sheet-build button,.sheet-advancement select,.sheet-advancement button,.sheet-skill-choice select,.sheet-skill-choice button,.sheet-challenge button,.sheet-skill-intro button,.sheet-origin-option button{min-height:44px}}
@media(max-width:480px){.character-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding-bottom:5px}.character-tabs button,.mobile-hud .character-tabs button{min-height:40px;padding:8px 5px;font-size:11px;border:1px solid #a7b7802b;border-radius:5px;background:#132c2355}.character-tabs button.active{border-color:#d9bd7577;background:#ccb27017}}
.sheet-challenge>button+button{margin-left:7px}
.advancement-choice{position:absolute;z-index:25;top:118px;right:224px;width:245px;box-sizing:border-box;padding:11px 12px;border:1px solid #d6bc73aa;border-radius:8px;background:#19382ef5;box-shadow:0 8px 24px #0005;color:#e6ddb6;pointer-events:auto}.advancement-choice[hidden]{display:none}.advancement-choice header{display:flex;align-items:center;justify-content:space-between;gap:8px}.advancement-choice header strong{font:600 17px Georgia,serif;color:#f0db9e}.advancement-choice button{font:600 11px system-ui;color:#f0e3ba;border:1px solid #b8b77866;border-radius:5px;background:#36533b;padding:7px;min-height:34px}.advancement-choice header button{font-size:20px;line-height:22px;min-width:30px;min-height:30px;padding:0}.advancement-choice p{font:12px/1.45 system-ui;margin:7px 0 10px}.advancement-choice>button{width:100%}.game-ui:has(#characterPanel:not([hidden])) .advancement-choice{visibility:hidden}
@media(max-width:700px){.advancement-choice{top:175px;right:12px;width:min(260px,calc(100% - 24px));padding:9px 11px}.advancement-choice header button{min-width:40px;min-height:40px}.advancement-choice>button{min-height:42px}}
@media(max-height:540px) and (orientation:landscape){.advancement-choice{top:88px;right:12px;width:235px}.advancement-choice p{margin:4px 0 7px;font-size:11px}.advancement-choice header button{min-height:30px;min-width:30px}.advancement-choice>button{min-height:34px}}


.hotbar-spell-detail{position:fixed;z-index:55;padding:10px 12px;border-radius:10px;border:1px solid #9bb37a;background:linear-gradient(180deg,#17372dee,#0d211df8);box-shadow:0 18px 40px #0008;color:#e8f0d9;pointer-events:none}
.hotbar-spell-detail strong{display:block;font-size:15px;margin-bottom:4px;color:#f4e4b3}
.hotbar-spell-detail .muted{font:11px/1.4 system-ui,sans-serif;color:#b7c7b1;margin-bottom:6px}
.hotbar-spell-detail-summary,.hotbar-spell-detail-description{margin:0;font:12px/1.45 system-ui,sans-serif}
.hotbar-spell-detail-summary:empty{display:none}
.hotbar-spell-detail-description{margin-top:6px;color:#dbe7d4}
@media (max-width:700px){.hotbar-spell-detail{max-width:calc(100vw - 20px)}.hotbar-spell-detail strong{font-size:14px}.hotbar-spell-detail-summary,.hotbar-spell-detail-description{font-size:11px}}

.sheet-subtabs{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 16px;padding-bottom:10px;border-bottom:1px solid #b7bd7733}.character-content .sheet-subtabs button{flex:1 0 auto;border-color:#a7b78044;background:#10291f;color:#b4c9ad;min-height:34px;padding:7px 10px}.character-content .sheet-subtabs button.active{color:#f3e0a9;border-color:#d4b772aa;background:#3b5036}.sheet-stat-grid+.sheet-stat-grid{margin-top:8px}.advancement-choice-actions{display:flex;gap:6px}.advancement-choice-actions button{flex:1;min-width:0;min-height:38px}
@media(pointer:coarse){.character-content .sheet-subtabs button,.advancement-choice-actions button{min-height:44px}}
@media(max-width:480px){.sheet-subtabs{gap:4px;margin-bottom:12px}.character-content .sheet-subtabs button{font-size:10px;padding:6px 8px;min-height:40px}}
