/* The supplied Eldritch Abyss board is the sole visual authority. */
:root{--serif:Cinzel,Georgia,serif;--sans:Georgia,'Times New Roman',serif;--gold:#baac8b;--gold-bright:#e0d6bd;--ink:#d4cdbb;--paper:#d4cdbb;--pale:#d4cdbb;--muted:#969b9e;--line:#a79b784f;--panel:#080f17;--teal:#83a9ad;--blood:#71424f;--veil:#b494d1;--body-art:url('./assets/eldritch/sanctuary.webp')}
body{font-family:Georgia,'Times New Roman',serif;color:var(--ink);background:#050b12}button,input,select,textarea{font-family:inherit}button{border-radius:0}button:focus-visible,input:focus-visible,select:focus-visible{outline:1px solid #cdb4e0;outline-offset:4px}button.primary,.primary,button.secondary,.secondary,button.primary:hover,button.secondary:hover{background:#0b1118e8;color:#ded6c0;border:14px solid transparent;border-image:url('./assets/eldritch/button-frame.webp') 28 64 fill stretch;border-image-width:13px 22px;box-shadow:none;text-shadow:0 1px 3px #000;letter-spacing:1px;font-weight:400;min-height:38px;padding:7px 20px;font-family:var(--serif);font-size:11px}button:hover:not(:disabled){filter:brightness(1.18);box-shadow:none}.primary:hover{transform:none}button:disabled{filter:saturate(.3);opacity:.4}
input[type=text],input[type=number],.modal-body select,select{color:#d4cdbb;background:#0a111a;border:1px solid #80765d88;border-radius:0}input[type=range]{accent-color:#b4a58a}input[type=checkbox]{appearance:none;width:27px;height:14px;border:1px solid #8d826c;border-radius:12px;background:#161d24;position:relative;vertical-align:middle}input[type=checkbox]:after,input[type=checkbox]:checked:after{content:'';position:absolute;width:10px;height:10px;border-radius:50%;left:1px;top:1px;background:#7b7d78;box-shadow:0 1px 2px #000}input[type=checkbox]:checked{background:#685e49}input[type=checkbox]:checked:after{left:14px;background:#ddd3bb}
#masthead{display:none!important}.title-art{background:url('./assets/eldritch/title.webp') center/cover;filter:none}.title-shade{background:linear-gradient(0deg,#050913cc,transparent 40%),radial-gradient(ellipse at 45% 65%,#050b1644,transparent 45%)}.title-avatar,.title-content>.eyebrow,.title-content>.premise,.title-content>.subtitle,.title-meta,.art-caption{display:none!important}.title-content{position:absolute;left:45%;top:40%;width:min(780px,80vw);max-width:none;transform:translateX(-50%);text-align:center}.title-content h1{margin:0 auto;width:100%;font-size:0;line-height:0;letter-spacing:0;filter:drop-shadow(0 3px 8px #0009)}.title-content h1 img{width:100%;height:auto;max-height:190px;object-fit:contain}.title-actions{width:230px;margin:18px auto 0;max-width:60vw;display:flex;flex-direction:column;gap:8px}.title-actions>#continue{order:0}.title-actions>#begin{order:1}.title-actions>#title-settings{order:2}.title-actions>.primary,.title-actions>.secondary{min-height:39px;margin:0;padding:8px 16px;font-size:12px;justify-content:center;letter-spacing:1.5px}.title-actions button>span{display:none}.title-actions .small-actions{position:fixed;left:50%;transform:translateX(-50%);width:max-content;max-width:90vw;top:calc(100dvh - 40vh - 44px);margin:0;gap:18px;flex-direction:row;order:3}.small-actions button{font-family:Georgia,serif;font-size:10px;color:#b4b1a5;white-space:nowrap}.small-actions>a,.title-footer{display:none!important}.title-screen:after{content:'';position:absolute;inset:7px;border:20px solid transparent;border-image:url('./assets/eldritch/panel-frame.webp') 70 fill stretch;border-image-width:22px;pointer-events:none;opacity:.8}#fullscreen-toggle{right:18px!important;top:18px!important;font-size:9px;background:#07101bc7;border:1px solid #9f927744;color:#b9b09e;z-index:20}
.modal{padding:14px;background:none}.modal-shade,body[data-screen] .modal-shade{background:linear-gradient(#02070c66,#02070ca6),var(--body-art) center/cover;backdrop-filter:blur(1px)}body[data-screen=play] .modal-shade{background:#0007}.modal-body,.rpg-wide{position:relative;background:radial-gradient(ellipse at 55% 30%,#12202a44,transparent 70%),#070d14ed;border:22px solid transparent;border-image:url('./assets/eldritch/panel-frame.webp') 70 fill stretch;border-image-width:24px;box-shadow:0 15px 70px #0009;max-height:calc(100dvh - 28px);border-radius:0;padding:22px 26px;scrollbar-color:#8a816b #070d14}.modal-body:before{display:none}.modal-body h2{font:400 24px var(--serif);text-align:center;letter-spacing:2px;color:#d8d0b9;margin:0 30px 14px}.modal-body h2:before,.modal-body h2:after{content:'—';padding:0 16px;color:#9f9277}.modal-body>.eyebrow{display:none}.modal-body h3{font-family:var(--serif);color:#d0c6ae;font-weight:400}.modal-body p,.modal-body small,.modal-body label{font-family:Georgia,serif}.modal-body p{color:#c4beae;font-size:13px;line-height:1.45}.modal-body .close{right:-7px;top:-9px;border:0;background:transparent;color:#b6aa90;font:18px Georgia;width:22px;height:22px}.modal-body .eyebrow{color:#b6aa8c;font-family:var(--serif);font-size:9px;letter-spacing:1px}.panel-subtitle{text-align:center;font-size:11px!important;color:#9da4a4!important}.rpg-tabs{justify-content:center;border-color:#8a7e6033;margin:8px 0}.rpg-tabs button,.bag-tabs button,.calling-filter button{font-family:var(--serif);font-size:9px;letter-spacing:.8px;border-color:#84765c55;background:#07101a;color:#b9b19e}.rpg-tabs button.active,.bag-tabs .active,.calling-filter button.active{background:#26233588;color:#e1d9c6;border-color:#aea181;box-shadow:none}.rpg-tabs button:last-child{margin-left:0}.wallets{font-family:Georgia,serif;font-size:10px;color:#a8aaa3;gap:18px}.wallets b{color:#d6cba8}.painted-icon{border:1px solid #a6967777;border-radius:0;box-shadow:inset 0 0 0 2px #050a12,0 1px 6px #0009}.painted-item{border:0;box-shadow:none;background-color:transparent}.painted-avatar{object-fit:contain;filter:drop-shadow(0 5px 6px #0009)}
body[data-screen=inventory] .modal{justify-content:flex-end;align-items:center;padding-right:20px}body[data-screen=inventory] .modal-body{width:min(900px,76vw);max-width:1000px;overflow:visible;padding:18px 22px 20px}body[data-screen=inventory] .modal-body>h2{font-size:24px;margin-bottom:12px}body[data-screen=inventory] .rpg-tabs{display:none}body[data-screen=inventory] .wallets{position:absolute;bottom:66px;left:34px;font-size:9px}.abyss-inventory-tabs{display:flex;justify-content:flex-end;gap:8px;margin:0 4px 12px}.abyss-inventory-tabs button{background:none;color:#afa791;border-bottom:1px solid transparent;padding:5px;font:9px var(--serif)}.abyss-inventory-tabs .active{border-bottom-color:#b6a686;color:#e2d7bb}.abyss-inventory{display:grid;grid-template-columns:43% 57%;height:min(64vh,650px);min-height:350px}.abyss-paperdoll{position:relative;display:flex;align-items:flex-end;justify-content:center;overflow:hidden}.abyss-paperdoll>.painted-avatar{height:100%;width:100%;object-fit:contain;position:relative;z-index:1}.paperdoll-halo{position:absolute;width:78%;aspect-ratio:1;border:1px solid #9f91715c;border-radius:50%;top:8%;box-shadow:0 0 0 8px #88795816,0 0 0 10px #bba77733}.paperdoll-halo:before,.paperdoll-halo:after{content:'';position:absolute;inset:15%;border:1px solid #a18c6b33;transform:rotate(45deg)}.paperdoll-halo:after{transform:rotate(15deg)}.paperdoll-name{position:absolute;bottom:5px;left:0;right:0;z-index:2;color:#c9c1ad;text-align:center;font:11px var(--serif);text-shadow:0 2px 5px #000}.paperdoll-name small{display:block;font-size:8px;margin-top:6px;color:#999e9b}.abyss-equipment{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:12px;padding:5px 5px 20px 10px}.abyss-gear-slot{display:flex;align-items:center;justify-content:center;aspect-ratio:.92;min-height:0;max-height:180px;background:radial-gradient(ellipse at 50% 45%,color-mix(in srgb,var(--rarity) 9%,#070b10),#04090f);border:2px solid var(--rarity,#625e52);box-shadow:inset 0 0 0 2px #02050a,0 0 8px color-mix(in srgb,var(--rarity) 12%,transparent);padding:2px;position:relative}.abyss-gear-slot:before,.abyss-gear-slot:after{content:'';position:absolute;width:8px;height:8px;border:1px solid #9b9177;left:-3px;top:-3px;transform:rotate(45deg)}.abyss-gear-slot:after{left:auto;top:auto;right:-3px;bottom:-3px}.abyss-gear-slot .painted-item{width:100%!important;height:100%!important;max-height:140px;max-width:140px}.abyss-gear-slot.empty{border:1px solid #82776055;background:#060b11;box-shadow:none}.empty-gear-sigil{color:#80725a33;font-size:30px}.abyss-gear-slot.selected{outline:1px solid #dbd1b9;outline-offset:3px}.abyss-pack{padding:0 0 12px 10px;overflow:hidden}.abyss-pack .item-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.abyss-pack .item-tile{min-height:100px;background:#070d15;border:1px solid #7a7059;border-bottom:2px solid var(--rarity)}.abyss-pack .item-tile .painted-item{width:64px!important;height:64px!important}.abyss-pack .item-tile b{font-size:9px}.abyss-inventory-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:36px 4px 0}.abyss-inventory-actions button{font:12px var(--serif);color:#d6ccaf;background:#080e16;border:14px solid transparent;border-image:url('./assets/eldritch/button-frame.webp') 28 64 fill stretch;border-image-width:12px 21px;min-height:41px;padding:7px 13px;letter-spacing:.6px}.abyss-item-tooltip{position:absolute;right:calc(100% + 20px);top:20%;width:300px;background:#08101aee;border:15px solid transparent;border-image:url('./assets/eldritch/panel-frame.webp') 70 fill stretch;border-image-width:16px;padding:14px;max-height:70vh;overflow:auto;z-index:4}.abyss-item-tooltip .inspector-heading>.painted-item{width:62px!important;height:62px!important}.abyss-item-tooltip .inspector-heading h3{font-size:17px}.abyss-item-tooltip .inspector-actions{display:grid;gap:7px}.abyss-loot-rules{padding:16px;overflow:auto}.abyss-loot-rules .gear-tools{display:flex;flex-direction:column;align-items:stretch;gap:18px}.abyss-loot-rules #equip-best,.abyss-loot-rules #bulk-loot{display:none}.abyss-loot-rules label{font-size:12px}
body[data-screen=skills] .modal-body{width:min(1250px,96vw);height:min(900px,94vh);overflow:hidden;padding:16px 25px}body[data-screen=skills] .panel-subtitle,body[data-screen=skills] .wallets{display:none}body[data-screen=skills] .rpg-tabs{margin:0 0 8px}body[data-screen=skills] h2{margin-bottom:6px}.abyss-grimoire{display:grid;grid-template-columns:60% 40%;height:calc(100% - 115px);min-height:400px}.constellation-area{position:relative;height:100%;max-height:700px}.constellation-lines{position:absolute;inset:0;width:100%;height:100%}.constellation-root{position:absolute;left:50%;top:9%;transform:translate(-50%,-50%);width:12%;aspect-ratio:1;border:2px solid #b2a180;border-radius:50%;padding:4px;background:#09101c;box-shadow:0 0 18px #71578b44}.constellation-root img{width:100%;height:100%;border-radius:50%;object-fit:cover}.constellation-node{position:absolute;transform:translate(-50%,-50%);width:8.5%;aspect-ratio:1;border:2px solid #8d826a;border-radius:50%;background:#080d16;padding:3px;box-shadow:0 0 0 3px #07101a,0 0 0 4px #9e917855}.constellation-node .painted-icon{width:100%!important;height:100%!important;border-radius:50%;border:0;box-shadow:none}.constellation-node small{position:absolute;bottom:-11px;left:0;right:0;font:9px Georgia;color:#d4c6a4;text-align:center}.constellation-node.selected{border-color:#d9ccb1;box-shadow:0 0 0 3px #070c16,0 0 0 4px #c4a0e0,0 0 12px #8e64b44a}.constellation-node.trained{border-color:#c9b383}.constellation-node.keystone{width:10.5%;border-color:#b9a389}.abyss-active-abilities{position:absolute;left:12%;right:12%;bottom:-3%;text-align:center}.abyss-active-abilities>span{font:11px var(--serif);letter-spacing:3px;color:#c0b59d}.abyss-active-abilities>div{display:flex;justify-content:center;gap:14px;margin-top:12px}.abyss-active-abilities button{background:#050b12;border:1px solid #a69a7a;padding:3px;position:relative}.abyss-active-abilities .painted-icon{width:53px!important;height:53px!important}.abyss-active-abilities kbd{position:absolute;bottom:-17px;left:0;right:0;text-align:center;font:9px Georgia;color:#cfc3aa}.abyss-rite-column{padding:2% 0 0 12px;display:flex;flex-direction:column;gap:10px}.abyss-rite-card{display:grid;grid-template-columns:58% 42%;background:#07101a;border:1px solid #9e8d6b77;text-align:left;min-height:90px;height:16%;padding:0;color:#d4c8ad}.abyss-rite-card>img{width:100%;height:100%;object-fit:cover;border-right:1px solid #94836355}.abyss-rite-card>span{align-self:center;padding:6px 10px;font:12px var(--serif);line-height:1.3}.abyss-rite-card small{display:block;font:10px Georgia;margin-top:10px;color:#a6a9a6}.abyss-skill-detail{padding:10px 13px;background:#08111bcc;border:1px solid #9d8c6b55}.abyss-skill-detail>div>.painted-icon{float:left;margin-right:10px}.abyss-skill-detail h3{font-size:16px;margin:5px 0}.abyss-skill-detail p{font-size:11px;clear:both;margin:8px 0}.abyss-skill-detail>small{font-size:10px}.abyss-skill-detail>.primary{min-height:32px;margin-top:7px;padding:3px 16px}.abyss-skill-detail>.note{font-size:10px!important;margin:5px 0}.abyss-hollow-echo{display:flex;align-items:center;gap:12px;background:#09111c;border:1px solid #91795faa;padding:8px;color:#d9ccb1;font:13px var(--serif);text-align:left}.abyss-hollow-echo small{font:9px Georgia;color:#aaada7;display:block;margin-top:6px}.abyss-grimoire-footer{display:flex;gap:12px;justify-content:space-between;margin-top:12px}.abyss-grimoire-footer>button{width:auto;min-height:32px}
body[data-screen=settings] .modal-body{width:620px;max-width:94vw;padding:17px 24px}body[data-screen=settings] h2{font-size:22px;letter-spacing:3px}.abyss-settings-tabs{display:flex;border-top:1px solid #a79a7844;border-bottom:1px solid #a79a7844;margin:12px 0 14px}.abyss-settings-tabs button{flex:1;background:none;color:#b5ae9f;text-transform:uppercase;font:10px var(--serif);padding:9px 6px}.abyss-settings-tabs button.active{background:#94917c19;color:#e0d6bd;border-bottom:1px solid #baa986}.abyss-setting{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:37px;font:13px Georgia}.abyss-setting>span{flex:1}.abyss-setting input[type=range]{width:165px;height:3px}.abyss-setting output{font-size:10px;width:32px;text-align:right;color:#c1b69e}.abyss-setting select{font-size:11px;max-width:255px;padding:5px}.abyss-settings-panel{min-height:280px}.abyss-controls{margin:0;font:13px Georgia}.abyss-controls>div{display:flex;justify-content:space-between;border-bottom:1px solid #9b90752d;padding:10px 0}.abyss-controls dd{color:#b4a58c;font-size:11px;text-align:right}.abyss-settings-footer{display:flex;gap:10px;justify-content:space-between;margin-top:16px}.abyss-settings-footer button{width:auto}.abyss-spell-preview{display:flex;gap:14px;padding:12px;background:#08111bbd;border:1px solid #8d7e6255;margin:15px 0 0}.abyss-spell-preview h3{font-size:15px;margin:0 0 5px}.abyss-spell-preview p{font:12px Georgia;margin:6px 0}.abyss-spell-preview small{font-size:11px}.abyss-spell-preview .painted-icon{flex-shrink:0}
.playing .vitals{left:25px;top:25px;width:305px;min-height:82px;padding:12px 12px 12px 85px;border:0;border-image:none;background:linear-gradient(90deg,#08101aeb,#0a1116a8 80%,transparent);box-shadow:none}.playing .vitals .hud-avatar{position:absolute;left:0;top:1px;width:73px;height:73px;object-fit:cover;border-radius:50%;border:3px solid #b1a085;padding:3px;background:#0a1018;box-shadow:0 0 0 3px #07101a,0 0 0 4px #a5967866}.playing .vitals .hud-level{position:absolute;left:49px;top:60px;width:27px;height:27px;display:grid;place-items:center;background:#060e18;border:1px solid #c0ad8a;border-radius:50%;font:12px Georgia;color:#d9ceb6}.playing .vitals>.stat-label>span{display:none}.playing .vitals>.stat-label{margin:0 0 4px;justify-content:flex-start}.playing .vitals>.stat-label b{font:10px Georgia}.playing .bar{height:8px;border:1px solid #9e8f72;border-radius:0;background:#111a20;padding:1px}.playing .bar.health>i{background:linear-gradient(#a05b66,#7d3e4b)}.playing .dash-pips{display:none}.playing #rpg-xp{margin-top:7px}.playing #rpg-xp-track{height:5px;background:#09121d;border:1px solid #87785e}.playing #rpg-xp-fill{background:#839eaf}.playing #rpg-xp-label{font:9px Georgia;white-space:nowrap;margin-top:3px;color:#c5bea9}.playing #sp-ready{position:absolute;left:85px;bottom:-25px;background:#07101ce8;border:1px solid #9a8868;font:9px Georgia;color:#d6c9ab;padding:5px;min-height:23px}.playing .chapter,.playing .resources>.soul-icon,.playing .resources>b,.playing .resources>span,.playing #action-rail .legion-count,.playing .run-clock,.playing .combat-hint{display:none}.playing .resources{padding:0;border:0;background:none;box-shadow:none;top:23px;right:22px}.playing #pause{background:#08101ccc;border:1px solid #a494733f;padding:7px 10px;margin:0;color:#c8bc9f}.playing #pause small{font-size:8px}.playing #fullscreen-toggle{top:58px!important;right:22px!important}.playing #action-rail{left:50%;transform:translateX(-50%);bottom:19px;border:0;background:#050b1288;box-shadow:none;padding:6px 9px;gap:0}.playing #abilities{gap:9px}.playing .ability{width:68px;height:70px;background:#070c16;border:1px solid #a79474;border-radius:0;padding:4px;box-shadow:inset 0 0 0 2px #03070d,0 2px 5px #000b}.playing .ability .glyph>.painted-icon{width:57px!important;height:57px!important;border:0}.playing .ability[data-action=fire],.playing .ability[data-action=dash]{display:none}.playing .ability small{display:none}.playing .ability kbd{top:auto;bottom:-17px;left:0;right:0;text-align:center;font:10px Georgia;display:block;background:none;border:0;color:#cec4ab}.playing .ability .cost{right:4px;top:4px;font-size:9px;background:#050916aa;color:#d6cbb7}.playing .ability[data-action=heal]{width:53px;height:70px;margin-left:4px}.playing .ability[data-action=heal] .glyph>.painted-icon{width:44px!important;height:57px!important}.playing #combat-menus{left:20px;bottom:140px;transform:none;display:flex;flex-direction:column;gap:4px;align-items:flex-start;padding:0;background:transparent;border:0}.playing #combat-menus button{min-height:21px;padding:3px 6px;border:0;background:#07101a88;color:#c7baa0;font:8px var(--serif);letter-spacing:.6px}.playing #combat-menus kbd{font:8px Georgia}.playing #notice{font:12px Georgia}.playing #toast{font-family:Georgia,serif}#notice{background:#08111de8;border:1px solid #a18e6b88;color:#ddd0b5;font-family:Georgia,serif}
.hero-card,.hub-welcome,.service-card,.quest-card,.recipe-grid article,.companion-disciplines article,.spell-card,.item-inspector{background:linear-gradient(145deg,#121d29d9,#070e18ef);border-color:#a598774f;box-shadow:none}.hub-welcome{background:linear-gradient(90deg,#07101aee,#07101a77),url('./assets/eldritch/sanctuary.webp') center/cover}.hub-welcome h3{font-size:25px}.service-card .painted-item{width:42px!important;height:42px!important}.hero-emblem .painted-avatar{height:155px;width:135px}.class-choice{background:radial-gradient(ellipse at 50% 40%,#50637b26,transparent 65%),#080f19;border:1px solid #9d907355}.class-choice.selected{border-color:#c2acd2;background:radial-gradient(ellipse at 50% 40%,#7d5e9833,transparent 65%),#101423;box-shadow:inset 0 0 20px #7658911f}.class-choice .painted-avatar{height:210px;max-height:32vh}.class-choice b{font:13px var(--serif)}.class-choice p{font-size:11px}.quest-card{position:relative}.quest-card:before{content:'';position:absolute;right:8px;top:8px;width:46px;height:46px;background:url('./assets/eldritch/quest-seal.webp') center/contain no-repeat;opacity:.5}.quest-card h3{font-size:18px;padding-right:38px}.quest-progress i{background:#8c769e}.quest-card .primary{font-size:9px}.item-tile{background:radial-gradient(ellipse at 50% 30%,#28243b55,#070d15);border:1px solid #84755b55;border-bottom:2px solid var(--rarity);box-shadow:none}.item-tile.selected{outline:1px solid var(--rarity);background:#181a2c}.spell-card{border:1px solid #94846655}.boon-choice{background:radial-gradient(ellipse at 50% 0%,color-mix(in srgb,var(--boon-color) 15%,#08101a),#08101a);box-shadow:none}.boon-choice:hover{background:#141c2a}.boon-rarity{font-family:var(--serif)}.terrain-card{background:#080f19;border-color:#94836355}#hollow-map{filter:none;background:#060d16;border-color:#9e8f7144}
@media(max-height:780px) and (min-width:900px){.modal-body,.rpg-wide{padding:14px 20px;border-width:17px}.modal-body h2{font-size:21px;margin-bottom:10px}.title-content{top:39%}.title-content h1 img{max-height:140px}.title-actions{margin-top:13px;gap:6px}.title-actions>.primary,.title-actions>.secondary{min-height:34px;padding:5px 16px;font-size:11px}.abyss-inventory{height:61vh;min-height:310px}.abyss-inventory-actions{margin-top:31px;gap:12px}.abyss-equipment{gap:9px;padding-bottom:14px}.abyss-gear-slot .painted-item{max-width:110px;max-height:110px}.abyss-rite-card{min-height:75px}.abyss-rite-card>span{font-size:10px}.abyss-rite-card small{font-size:9px;margin-top:7px}.abyss-skill-detail p{font-size:10px;line-height:1.3}.abyss-skill-detail>.primary{font-size:9px}.abyss-grimoire{height:calc(100% - 95px)}.abyss-hollow-echo{padding:5px;font-size:11px}.abyss-hollow-echo .painted-icon{width:32px!important;height:32px!important}.abyss-active-abilities .painted-icon{width:43px!important;height:43px!important}.abyss-active-abilities>span{font-size:10px}.abyss-grimoire-footer{margin-top:7px}.abyss-settings-panel{min-height:260px}.abyss-setting{min-height:32px}.modal-body .setting{padding:8px}.hero-emblem .painted-avatar{height:100px}.hub-layout{margin-top:8px}.service-card{min-height:62px}}
@media(max-width:1050px){body[data-screen=inventory] .modal-body{width:86vw}.abyss-item-tooltip{right:12px;top:auto;bottom:80px;width:290px;max-height:55vh}.abyss-equipment{gap:9px}.abyss-grimoire{grid-template-columns:57% 43%}.abyss-rite-card{grid-template-columns:50% 50%}.constellation-node{width:11%}.constellation-node.keystone{width:13%}.abyss-active-abilities>div{gap:7px}.abyss-active-abilities .painted-icon{width:38px!important;height:38px!important}}
@media(max-width:700px){.modal{padding:7px}.modal-body,.rpg-wide{border-width:13px;padding:14px 10px;max-height:calc(100dvh - 14px)}.modal-body h2{font-size:18px;margin:0 20px 12px}.modal-body h2:before,.modal-body h2:after{padding:0 5px}.title-content{width:92%;left:50%;top:43%}.title-content h1 img{max-height:130px}.title-actions{width:200px}.title-actions .small-actions{max-width:90vw;gap:11px;flex-wrap:wrap;justify-content:center;top:calc(100dvh - 43vh - 55px)}.title-screen:after{border-width:13px;inset:3px}.playing .vitals{left:12px;top:15px;width:245px;padding-left:64px}.playing .vitals .hud-avatar{width:54px;height:54px}.playing .vitals .hud-level{left:34px;top:44px;width:22px;height:22px;font-size:10px}.playing #sp-ready{left:65px;font-size:8px}.playing #action-rail{bottom:26px;padding:4px}.playing .ability{width:47px;height:52px}.playing .ability .glyph>.painted-icon{width:39px!important;height:43px!important}.playing #abilities{gap:5px}.playing .ability[data-action=heal]{width:41px;height:52px}.playing .ability[data-action=heal] .glyph>.painted-icon{width:32px!important;height:43px!important}.playing #combat-menus{left:8px;bottom:115px}.playing #combat-menus button{font-size:7px}.playing .resources{top:15px;right:12px}.playing #fullscreen-toggle{top:51px!important;right:12px!important;font-size:8px}.playing .resources>span{display:none}body[data-screen=inventory] .modal{padding:7px}body[data-screen=inventory] .modal-body{width:100%;padding:14px 9px}.abyss-inventory{height:55vh;min-height:310px;grid-template-columns:39% 61%}.abyss-equipment{gap:6px;padding-left:5px}.abyss-inventory-tabs{gap:5px}.abyss-inventory-tabs button{font-size:8px;padding:4px}.abyss-inventory-actions{gap:5px;margin-top:29px}.abyss-inventory-actions button{font-size:9px;padding:4px 6px;border-width:9px;min-height:32px}.abyss-pack .item-tile{min-height:75px}.abyss-pack .item-tile .painted-item{width:42px!important;height:42px!important}.abyss-item-tooltip{width:270px;right:8px;bottom:70px}.abyss-paperdoll .paperdoll-name{font-size:8px}.abyss-grimoire{grid-template-columns:1fr;height:auto}.constellation-area{height:580px}.abyss-rite-column{padding:35px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:9px}.abyss-rite-card{min-height:100px;display:block}.abyss-rite-card img{height:65px}.abyss-rite-card>span{display:block;font-size:9px}.abyss-skill-detail{grid-column:1/-1}.abyss-hollow-echo{grid-column:1/-1}body[data-screen=skills] .modal-body{height:auto;overflow:auto}.abyss-grimoire-footer{flex-wrap:wrap}.abyss-grimoire-footer button{font-size:8px}.abyss-settings-tabs button{font-size:8px}.abyss-setting{font-size:12px}.abyss-setting input[type=range]{width:100px}.abyss-controls>div{font-size:11px}.abyss-controls dd{font-size:10px;max-width:52%}.abyss-spell-preview p{font-size:11px}.rpg-tabs{gap:3px}.rpg-tabs button{font-size:8px;padding:6px}.hero-emblem .painted-avatar{height:110px}.class-choices{grid-template-columns:repeat(2,1fr)}.class-choice .painted-avatar{height:150px;max-height:none}.hub-services{grid-template-columns:repeat(2,1fr)}}

body[data-reduced="true"] *,body[data-reduced="true"] *:before,body[data-reduced="true"] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}

.title-actions .migration-note,.title-actions .migration-link{display:none}.title-actions>.primary,.title-actions>.secondary{background:url("./assets/eldritch/button-frame.webp") center/100% 100% no-repeat;border:0;border-image:none;min-height:45px;padding:10px 24px}
button.primary,button.secondary,button.primary:hover,button.secondary:hover{background:url('./assets/eldritch/button-frame.webp') center/100% 100% no-repeat;border:0;border-image:none;min-height:42px;padding:10px 24px}.modal-body{overflow-x:hidden}.abyss-settings-footer button{min-width:170px}.title-actions>.secondary:disabled{opacity:.5}
.abyss-equipment{grid-template-rows:repeat(3,minmax(0,1fr));min-height:0;min-width:0}.abyss-gear-slot{aspect-ratio:auto;height:100%;width:100%;min-width:0}.abyss-inventory{height:min(60vh,600px)}.abyss-inventory-actions{position:relative;z-index:3}.abyss-inventory-actions button{background:url('./assets/eldritch/button-frame.webp') center/100% 100% no-repeat;border:0;min-height:44px;padding:9px 20px}
.modal-body .close{right:6px;top:2px;z-index:6;color:#d4c8af}
.modal-body:focus{outline:none}.constellation-lines{height:76%}
button.primary,button.secondary,button.primary:hover,button.secondary:hover,.abyss-inventory-actions button,.title-actions>.primary,.title-actions>.secondary{background-image:url('./assets/eldritch/button-frame.webp'),linear-gradient(#07101aeb,#07101aeb);background-size:100% 100%,82% 70%;background-position:center;background-repeat:no-repeat}.abyss-grimoire-footer>button{min-width:112px}
@media(min-width:701px){body[data-screen=skills] .modal-body{display:flex;flex-direction:column}body[data-screen=skills] .modal-body>h2,body[data-screen=skills] .rpg-tabs,.abyss-grimoire-footer{flex:0 0 auto}.abyss-grimoire{flex:1 1 0;min-height:0;height:auto;grid-template-rows:minmax(0,1fr)}.constellation-area{min-height:0;height:100%}.constellation-lines{height:76%}.constellation-node{width:7.5%}.constellation-node.keystone{width:9%}.abyss-active-abilities{bottom:20px}.abyss-rite-column{min-height:0;display:grid;grid-template-rows:repeat(3,minmax(0,1fr)) auto 44px;gap:7px;padding-top:0}.abyss-rite-card{height:auto;min-height:0;overflow:hidden}.abyss-rite-card img{min-height:0}.abyss-skill-detail{padding:6px 10px}.abyss-skill-detail p{margin:5px 0}.abyss-skill-detail .note{font-size:9px!important}.abyss-grimoire-footer{margin-top:8px;min-height:38px}.abyss-grimoire-footer>button{min-height:36px!important;padding:8px 18px;font-size:10px;white-space:nowrap}.abyss-hollow-echo{padding:4px 8px;font-size:11px}}
