.hero-trials-activity[hidden]{display:none!important}.hero-trials-panel{display:grid;gap:14px;margin-top:14px}.hero-trial-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hero-trial-card{display:flex;min-width:0;flex-direction:column;gap:10px;padding:14px;border:1px solid rgba(196,174,128,.24);border-radius:14px;background:linear-gradient(155deg,rgba(36,31,27,.96),rgba(18,17,16,.98));box-shadow:inset 0 1px rgba(255,255,255,.03)}.hero-trial-card.current{border-color:rgba(213,174,94,.65);box-shadow:0 0 0 1px rgba(213,174,94,.15),inset 0 1px rgba(255,255,255,.04)}.hero-trial-card.completed{border-color:rgba(118,162,119,.42)}.hero-trial-card header{display:flex;align-items:center;gap:10px}.hero-trial-card header div{display:grid;gap:2px;min-width:0}.hero-trial-card header strong{font-size:15px}.hero-trial-card header small{color:var(--muted,#a89e91);font-size:11px}.hero-trial-card p{margin:0;color:var(--muted,#b7ada1);font-size:12px;line-height:1.45}.hero-trial-card footer{margin-top:auto}.hero-trial-card footer button{width:100%;min-height:44px}.hero-trial-index{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;border:1px solid rgba(215,184,118,.38);background:rgba(117,88,42,.22);font-weight:800}.hero-trial-style-choice,.hero-trials-complete{display:grid;gap:10px;padding:13px;border:1px solid rgba(195,165,105,.3);border-radius:14px;background:rgba(18,16,14,.72)}.hero-trial-style-choice>div:first-child{display:grid;gap:3px}.hero-trial-style-choice small,.hero-trials-complete span,.hero-trials-complete small{color:var(--muted,#afa497);font-size:12px;line-height:1.4}.hero-trial-style-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hero-trial-style-buttons button{min-height:44px}.hero-trial-style-buttons button.active{border-color:rgba(221,181,99,.72);background:rgba(137,94,38,.34)}.hero-trial-style-current{margin:0;color:#d8c7a5;font-size:12px}.hero-trials-card-head{display:flex;align-items:center;gap:12px}.hero-trials-card-head>div{display:grid;gap:3px}.hero-trials-glyph{font-size:26px}.trial-battle-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border:1px solid rgba(221,181,99,.32);border-radius:10px;background:rgba(86,58,25,.25);font-size:12px}.trial-battle-banner[hidden]{display:none!important}@media(max-width:760px){.hero-trial-list{grid-template-columns:1fr}.hero-trial-style-buttons{grid-template-columns:1fr}.hero-trial-card{padding:12px}.hero-trial-card footer button,.hero-trial-style-buttons button{min-height:46px}}

/* RC7: Пепельный кордон */
body[data-zone="ash_border"] .battle-stage,
body[data-zone="ash_border"] .battle-arena {
  background-image:
    linear-gradient(180deg, rgba(24, 20, 18, .16), rgba(12, 10, 10, .78)),
    radial-gradient(circle at 72% 24%, rgba(173, 86, 47, .22), transparent 34%),
    linear-gradient(135deg, #302b29, #17191a 58%, #0c0f10);
}
.chapter-two-map-section { border-color: rgba(181, 106, 67, .34); }
.chapter-two-map-section .map-chapter-summary { background: linear-gradient(135deg, rgba(75, 54, 45, .75), rgba(28, 30, 31, .92)); }
.ash-border-card { position: relative; overflow: hidden; }
.ash-border-card::after { content: ''; position: absolute; inset: auto -10% -55% 25%; height: 80%; background: radial-gradient(ellipse, rgba(190, 92, 49, .22), transparent 68%); pointer-events: none; }
.ash-border-card.active { box-shadow: inset 0 0 0 1px rgba(218, 137, 88, .65), 0 8px 24px rgba(0, 0, 0, .24); }
.chapter-two-map-list .future-chapter-card { opacity: .58; filter: saturate(.55); }


/* v0.10.0-rc15: final chapter reward choice */.final-reward-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.final-reward-option{display:flex;min-height:210px;flex-direction:column;align-items:flex-start;gap:7px;padding:14px;border:1px solid rgba(188,130,255,.5);border-radius:14px;background:linear-gradient(180deg,rgba(77,48,97,.72),rgba(27,23,34,.94));color:inherit;text-align:left}.final-reward-option strong{font-size:1rem;line-height:1.2}.final-reward-option span,.final-reward-option small{color:var(--text-muted,#b9b0a5);line-height:1.35}.final-reward-option em{font-style:normal;color:#dcb6ff;font-weight:700}.final-reward-option b{margin-top:auto;align-self:stretch;padding-top:8px;text-align:center;color:#f4e8ff}.final-reward-note{margin:10px 0 0;color:var(--text-muted,#b9b0a5);font-size:.82rem}@media(max-width:720px){.final-reward-grid{grid-template-columns:1fr}.final-reward-option{min-height:0}}


/* v0.10.0-rc15: Patrol, paid shop refresh and protected special-rune reward */.special-rune-choice{display:grid;gap:10px;margin-top:12px;padding:13px;border:1px solid rgba(158,114,191,.45);border-radius:12px;background:rgba(62,39,76,.36)}.special-rune-choice-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}@media(max-width:720px){.special-rune-choice-actions{grid-template-columns:1fr}}

/* v0.10.0-rc15: Испытания объясняют причинно-следственную связь и проигрываются по HP. */
.hero-trials-rule{display:grid;gap:4px;padding:12px 13px;border:1px solid rgba(135,165,120,.34);border-radius:12px;background:rgba(38,58,35,.32)}
.hero-trials-rule strong{font-size:13px;color:#d9e4ce}
.hero-trials-rule span{font-size:12px;line-height:1.45;color:var(--muted,#b7ada1)}
.trial-battle-banner{align-items:flex-start;flex-direction:column;justify-content:flex-start;padding:10px 12px}
.trial-battle-banner>strong{font-size:12px;color:#e6d4ad}
.trial-battle-banner>span{display:grid;gap:3px;line-height:1.35}
.trial-battle-banner>span strong{font-size:13px;color:#f0dfbb}
.trial-battle-banner>span span{color:var(--muted,#c4b8aa)}
.hero-trial-last-result{display:grid;gap:4px;padding:12px 13px;border-radius:12px;border:1px solid rgba(180,180,180,.25);background:rgba(25,24,23,.68)}
.hero-trial-last-result.success{border-color:rgba(112,164,111,.45);background:rgba(33,68,38,.28)}
.hero-trial-last-result.failure{border-color:rgba(185,91,76,.52);background:rgba(82,35,30,.3)}
.hero-trial-last-result strong{font-size:13px}
.hero-trial-last-result span,.hero-trial-last-result small{font-size:12px;line-height:1.42;color:var(--muted,#c2b5a7)}

/* v0.10.0-rc20: safe scene recovery */
