/* Consistent left edges, compact disclosures and quiet painted surfaces. */
#battle-root .spell-panel-battle .player-card-effects,#battle-root .spell-panel-battle .enemy-card-effects,#battle-root .spell-panel-battle .roster-open .enemy-card-effects{padding:1px 1px;margin:0;width:100%;justify-content:flex-start;scroll-padding-inline:1px}
#battle-root .spell-panel-battle .effect-duration{font:600 9px/12px Interface,sans-serif;letter-spacing:0;min-width:6px}
.valgard-effect-note,.enemy-effect-popover{font-family:Interface,sans-serif}
.valgard-effect-note>.effect-note-body,#battle-root .enemy-effect-copy{max-height:none;overflow:visible}
.effect-note-text{font:12px/1.45 Interface,sans-serif;margin:7px 0}.effect-note-duration{color:#777b73;font-size:11px}
.effect-note-more{border-top:1px solid #ae8c5840;margin-top:8px;padding-top:6px;font:12px/1.45 Interface,sans-serif}
.effect-note-more>summary{display:inline-block;cursor:pointer;list-style:none;color:#3e6451;border-bottom:1px dotted #8a9b72;outline-offset:3px}
.effect-note-more>summary::-webkit-details-marker{display:none}.effect-note-more .note-back-label{display:none}.effect-note-more[open] .note-more-label{display:none}.effect-note-more[open] .note-back-label{display:inline}
.show-note-more>.effect-note-text{display:none}.effect-note-page{font:12px/1.45 Interface,sans-serif;color:#6d5637;margin:9px 0;overflow-wrap:anywhere}.effect-note-page[hidden]{display:none}
.effect-note-extra>nav{display:flex;align-items:center;justify-content:space-between;margin-top:7px;gap:10px}.effect-note-extra>nav>button{min-width:30px;min-height:25px;padding:0 6px;font:18px/22px Interface,sans-serif;border:1px solid #ae925a66;background:#f2e0b7;border-radius:4px;color:#5d704b}.effect-note-extra>nav>small{font-size:10px;color:#91754c}
#battle-root .enemy-effect-popover{max-height:none;overflow:visible}.valgard-effect-note{max-height:none}
#party-ready-root{backdrop-filter:none;-webkit-backdrop-filter:none;background:#f6f2e8dc}.party-ready-prompt>h2{animation:none;-webkit-text-fill-color:initial;background:none;color:#376a5a}
#app #battle-entry-veil{background:linear-gradient(135deg,#f7f2e6cc,#e5e5d2b0);contain:layout paint;will-change:opacity;transform:translateZ(0)}
#app .journal-breakdown{font:500 11px/1.5 Interface,sans-serif;color:#76634e;overflow-wrap:anywhere}
#app .journal-boost{color:#62804b}#app .journal-crit{color:#9a6426;font-weight:700}
.world-opponents>.opponent-card{background:radial-gradient(ellipse at 50% 12%,#fff9e8,#eee0bd 75%,#e1cda2);border-color:#b59a63;box-shadow:inset 0 0 0 2px #fff3d2b0,inset 0 0 11px #a1712520}
.opponent-card .opponent-stats{display:flex;flex:0 0 31px;grid-template-rows:none;gap:0;padding:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x;overscroll-behavior-inline:contain;align-items:stretch}
.opponent-stats::-webkit-scrollbar{display:none}.opponent-stats>.opponent-stat-page{box-sizing:border-box;flex:0 0 100%;min-width:100%;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:17px 11px;column-gap:3px;scroll-snap-align:start}
.opponent-stat-page>span{display:flex;align-items:center;gap:3px;min-width:0}.opponent-stat-page>b,.opponent-stats b{font:600 9px/12px Interface,sans-serif;color:#5a4c34}
.opponent-stat-page>small{grid-column:1/-1;text-align:center;color:#9a865d;font:500 7px/11px Interface,sans-serif;white-space:nowrap}.opponent-stat-page i{font-style:normal;color:#a77630;font-weight:bold}
.opponent-card .opponent-art{filter:drop-shadow(0 2px 2px #805b2d25);flex-grow:1}.opponent-card .opponent-name{color:#4e4c2f;text-shadow:0 1px #fff5cf}
.opponent-card .opponent-vessel{width:49px;height:88px;max-width:65%;filter:drop-shadow(0 2px 2px #3c172340)}
.opponent-card .opponent-vessel.is-skull{width:69px;height:78px;max-width:76%}
.opponent-vessel.is-skull>.opponent-vessel-art{filter:grayscale(1) brightness(1.12);opacity:.73}
.opponent-vessel.is-hourglass>.opponent-vessel-art{z-index:1}.opponent-vessel.is-hourglass>.opponent-vessel-fill{z-index:2}
.opponent-card .chain-rings{stroke-width:1.55;filter:drop-shadow(0 1px .35px #452b1c)}.opponent-card .chain-glints{stroke:#fff4d4;stroke-width:.65;opacity:1}.opponent-card .chain-rivet{fill:#c7a460;stroke:#fff1c2;stroke-width:.45}
.opponent-card .opponent-blood-surface{stroke:#ffc5b1;stroke-width:.8}.opponent-blood-bubbles{fill:#ff9b8a;opacity:.63;animation:valgard-blood-rise 1.8s linear infinite;transform-box:fill-box;transform-origin:center}
@keyframes valgard-blood-rise{0%{transform:translateY(0);opacity:0}18%{opacity:.7}100%{transform:translateY(-24px);opacity:0}}
.opponent-card.is-breaking .opponent-vessel{transition:opacity .2s ease .09s}.opponent-card.is-breaking .opponent-ritual-seal{transition:opacity .22s ease .06s}
.opponent-card.is-arriving .opponent-art{animation:valgard-card-reveal .36s cubic-bezier(.2,.6,.3,1) both}.opponent-card.is-arriving .opponent-name,.opponent-card.is-arriving .opponent-stats,.opponent-card.is-arriving .opponent-attack{animation:valgard-card-reveal .32s ease-out .06s both}
@keyframes valgard-card-reveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.opponent-blood-bubbles{animation:none}.opponent-card.is-arriving *{animation:none!important}}
.reduced-motion .opponent-blood-bubbles{animation:none}
.warrior-picker-backdrop{position:fixed;inset:0;z-index:10011;background:#1b252d61;animation:valgard-card-reveal .15s ease-out}
.warrior-save-window.warrior-ally-picker{position:fixed;z-index:10012;inset:auto;top:50%;left:50%;transform:translate(-50%,-50%);width:min(356px,calc(100vw - 30px));box-sizing:border-box;display:flex;flex-direction:column;gap:12px;padding:17px;background:linear-gradient(135deg,#fff4d9,#eaddbe);border:1px solid #b59a64;border-radius:13px;box-shadow:0 15px 45px #17222166,inset 0 0 0 3px #fff6df80;color:#4d4a31;font-family:Interface,sans-serif;animation:valgard-ally-open .19s ease-out}
.warrior-ally-picker>header{display:flex;gap:11px;align-items:center}.warrior-ally-picker>header>img{width:34px;height:34px;object-fit:contain}.warrior-ally-picker>header strong{font-size:18px;color:#535d3e}.warrior-ally-picker>header p{font-size:12px;margin:4px 0 0;color:#8d7852}
.warrior-ally-picker .warrior-candidate-list{display:flex;flex-direction:column;gap:7px;width:100%;margin:0}.warrior-candidate-list>label{display:flex;align-items:center;gap:9px;padding:8px;border:1px solid #bfa77969;background:#fff9e651;border-radius:9px;position:relative;cursor:pointer;min-height:53px;box-sizing:border-box}
.warrior-candidate-list>label:has(input:checked){border-color:#9a9f65;background:#e4e5b754;box-shadow:inset 0 0 0 1px #c4b77945}.warrior-candidate-list>label:focus-within{outline:2px solid #9e8951;outline-offset:2px}.warrior-candidate-list>label[hidden]{display:none}
.warrior-candidate-list input{position:absolute;opacity:0;width:1px;height:1px}.warrior-candidate-list .ally-choice-portrait{width:43px;height:49px;border-radius:7px;object-fit:cover;border:1px solid #bca36b75;flex-shrink:0}
.ally-choice-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.ally-choice-copy>strong{font-size:13px;font-weight:700;line-height:17px}.ally-choice-copy>strong>small{font-size:9px;font-weight:400;color:#9d8b69}
.ally-choice-check{font:700 14px Interface,sans-serif;color:#7a8656;opacity:.15}.warrior-candidate-list input:checked~.ally-choice-check{opacity:1}
.ally-choice-bar{position:relative;display:block;box-sizing:border-box;height:10px;overflow:hidden;background:#8d7f5a20;border:1px solid #b6a17566;border-radius:3px;width:100%}.ally-choice-bar>i{display:block;height:100%;background:linear-gradient(90deg,#79905c,#aab779);transition:width .2s}.ally-choice-bar.resource>i{background:linear-gradient(90deg,#698c98,#a0b7b6)}.ally-choice-bar>small{position:absolute;inset:0;display:block;text-align:center;color:#3f4f3d;font:600 8px/8px Interface,sans-serif;text-shadow:0 1px #fff8}
.warrior-ally-picker .warrior-save-actions{display:flex;gap:7px;margin:0;width:100%}.warrior-ally-picker .warrior-save-actions>button{flex:1;border-radius:7px;padding:10px 5px;font:600 13px Interface,sans-serif}.warrior-ally-picker [data-warrior-choice-error]{color:#a05a46;font-size:11px}.warrior-ally-picker [data-warrior-choice-error]:empty{display:none}.ally-choice-hint{font-size:11px;line-height:1.45;margin:0;color:#8a7958}
@keyframes valgard-ally-open{from{opacity:0;transform:translate(-50%,calc(-50% + 7px))}to{opacity:1;transform:translate(-50%,-50%)}}
@media(prefers-reduced-motion:reduce){.warrior-ally-picker,.warrior-picker-backdrop{animation:none!important}}
#modal-root.admin-modal .modal-panel,#modal-root .admin-console{font-family:Interface,sans-serif}.admin-console{color:#53523d;--admin-ink:#4e624d;--admin-edge:#b7a377}
.admin-console-title{padding:17px;border:1px solid #b6a478;border-radius:12px;background:radial-gradient(ellipse at 100% 0,#e5d29b70,transparent),linear-gradient(135deg,#fbefd2,#e7dbbb);box-shadow:inset 0 0 0 3px #fff8e36b}.admin-console-title .eyebrow{font:700 9px/1.5 Interface,sans-serif;letter-spacing:1.4px;color:#9b8155}.admin-console-title h2{font:700 23px/1.2 Interface,sans-serif;color:#516149;margin:7px 0}.admin-console-title p{font-size:12px;color:#9a8863;margin:0}
#admin-overview{display:flex;gap:12px;margin-top:14px;font-size:10px;color:#8a7958}#admin-overview b{font-size:16px;color:#596b4e;margin-right:3px}
.admin-tabs{display:flex;gap:4px;overflow-x:auto;margin:13px 0;scrollbar-width:none}.admin-tabs>button{flex:1 0 auto;min-width:47px;padding:9px 6px;border:1px solid #bba57866;border-radius:7px;background:#e8ddc273;color:#8c7957;font:600 11px Interface,sans-serif}.admin-tabs>button[aria-pressed=true]{color:#f9efd4;background:linear-gradient(#829169,#627b5a);border-color:#6e805c;box-shadow:inset 0 1px #e1e3b166}
.admin-console-panel[hidden]{display:none}.admin-console-panel .admin-section{background:#f8eccb80;border:1px solid #c7b28670;border-radius:10px;padding:12px;margin:10px 0;box-shadow:inset 0 0 0 2px #fff8e140}.admin-console .admin-section h3{font:700 15px Interface,sans-serif;color:#647054}.admin-console label{display:block;font-size:11px;line-height:1.5;color:#8b7956}.admin-console input,.admin-console select,.admin-console textarea{box-sizing:border-box;min-width:0;width:100%;border:1px solid #baa57b7a;border-radius:7px;background:#fff7e2b3;padding:10px 9px;font:500 13px Interface,sans-serif;color:#575a43}.admin-console input:focus,.admin-console select:focus{outline:2px solid #93a27477;outline-offset:1px}.admin-console input:disabled,.admin-console select:disabled{opacity:.55}
.admin-search input{margin-bottom:3px}.admin-console #admin-players{display:grid;grid-template-columns:1fr 1fr;gap:6px;max-height:184px;overflow:auto;padding:2px}.admin-console .admin-player{width:100%;display:flex;align-items:center;gap:7px;padding:7px;box-sizing:border-box;border:1px solid #bfae873d;border-radius:8px;background:#fff3d159;text-align:left;color:#616044}.admin-console .admin-player>img{width:32px;height:39px;object-fit:cover;border-radius:5px;flex-shrink:0}.admin-console .admin-player>span{min-width:0;flex:1}.admin-console .admin-player strong{font:700 12px Interface,sans-serif;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-console .admin-player small{display:block;font:500 9px/1.5 Interface,sans-serif;color:#9a8967}.admin-console .admin-player.is-selected{border-color:#859363;background:#d8dfb866;box-shadow:inset 0 0 0 1px #9f96664d}.admin-presence{width:5px;height:5px;flex-shrink:0;border-radius:50%;background:#b9aa8a}.admin-presence.online{background:#86a463;box-shadow:0 0 0 2px #9aac6b25}
.admin-player-editor{padding:13px;border:1px solid #bba57873;background:linear-gradient(135deg,#fef3d7b0,#e8dfbf73);border-radius:11px;display:flex;flex-direction:column;gap:10px}.admin-player-editor .admin-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0}.admin-player-editor .hint{margin:0;font:500 11px/1.5 Interface,sans-serif;color:#978462}.admin-player-editor button{font-family:Interface,sans-serif;font-size:12px;min-height:38px;padding:8px 5px}.admin-console .primary{background:linear-gradient(#8a9a72,#687d59);border-color:#75875c}.admin-console .secondary{background:#ece2c9;border-color:#bfae86;color:#85714e}
#admin-player-preview{display:flex;gap:11px;align-items:center;padding-bottom:11px;border-bottom:1px solid #c0ae8566}#admin-player-preview>img{width:55px;height:69px;object-fit:cover;border-radius:8px;border:1px solid #af9c73}#admin-player-preview>div{flex:1;min-width:0}#admin-player-preview strong{font-size:17px;color:#596b4e}#admin-player-preview small{display:block;font-size:10px;color:#958464;margin:3px 0 7px}.admin-vital{height:12px;display:block;position:relative;border:1px solid #bfa97866;background:#c0b28b33;border-radius:3px;overflow:hidden;margin:4px 0}.admin-vital>i{height:100%;display:block;background:linear-gradient(90deg,#899e63,#b4bc83)}.admin-vital.mana>i{background:linear-gradient(90deg,#7a98a0,#b5c5be)}.admin-vital>b{position:absolute;inset:0;text-align:center;color:#4b5d49;text-shadow:0 1px #fff8;font:600 9px/11px Interface,sans-serif}
.admin-console .admin-audit article{border-left:2px solid #a89c70;padding-left:10px}.admin-console .admin-audit time{color:#a18c63;font-size:10px}.admin-console .admin-audit strong{font-size:12px}.admin-console .admin-audit p{font-size:11px;line-height:1.5}
.opponent-card .opponent-inspect{grid-template-rows:13px minmax(56px,1fr) 27px;gap:4px}.opponent-card .opponent-art{max-height:92px}
.opponent-card .opponent-vessel{width:58px;height:104px}.opponent-card .opponent-vessel.is-skull{width:80px;height:90px}
.opponent-card .opponent-respawn{background:radial-gradient(ellipse at 50% 44%,#e0e4d5,#aab99f)}.opponent-card.is-boss .opponent-respawn{background:radial-gradient(ellipse at 50% 44%,#8b4a54,#4e2c38)}
.opponent-card .opponent-remaining{font:600 12px/18px Interface,sans-serif;letter-spacing:.6px}.opponent-card.is-boss .opponent-remaining{color:#ffe6c0;text-shadow:0 1px 2px #1e1018}

.combat-admin-open{flex:0 0 27px;width:27px;height:27px;margin-left:5px;display:grid;place-items:center;padding:0;border:1px solid #bcaa7d66;border-radius:7px;background:#f3e9ce;color:#7c8159}.combat-admin-open .icon{font-size:14px}

/* 11.11.2026 (owner): «Подробнее» — a small neat button in the middle of the divider line, in the style of the game windows.
   The description above stays in place; the extra text opens under the line. */
.effect-note-fold{margin:calc(12px) 0 0;font:12px/1.45 Interface,sans-serif}
.effect-note-fold>summary{display:flex;align-items:center;gap:calc(8px);list-style:none;cursor:pointer;outline:0;-webkit-tap-highlight-color:transparent}
.effect-note-fold>summary::-webkit-details-marker{display:none}
.effect-note-fold>summary::before,.effect-note-fold>summary::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,#c9b27c)}
.effect-note-fold>summary::after{background:linear-gradient(90deg,#c9b27c,transparent)}
.effect-note-fold>summary>span{display:inline-flex;align-items:center;gap:calc(5px);padding:calc(3px) calc(11px);border:1px solid #cdb783;border-radius:calc(999px);background:linear-gradient(180deg,#fffaf0,#f1e6c9);box-shadow:inset 0 1px 0 #fffdf6,0 1px 2px rgba(80,62,24,.14);font:600 calc(11px)/1.3 Interface,sans-serif;letter-spacing:.02em;color:#4a6351}
.effect-note-fold>summary>span::after{content:"";width:calc(5px);height:calc(5px);border-right:calc(1.5px) solid #7d8f6c;border-bottom:calc(1.5px) solid #7d8f6c;transform:translateY(-1px) rotate(45deg);transition:transform .15s ease-out}
.effect-note-fold[open]>summary>span{background:linear-gradient(180deg,#eef3e4,#dfe8d2);border-color:#a9bb95;color:#2f5a4c}
.effect-note-fold[open]>summary>span::after{transform:translateY(2px) rotate(-135deg)}
.effect-note-fold>summary:active>span{filter:brightness(.96)}
.effect-note-fold>summary:focus-visible>span{outline:1px solid #747b70;outline-offset:2px}
.effect-note-fold>p{margin:calc(8px) 0 0!important;color:#6a5a3c;font:12px/1.5 Interface,sans-serif}
