/* 
 * Forest Frontier v0.10.0-rc53 — Shared overlays component contract.
 * Structural consolidation only. This component layer owns generic modal geometry and non-screen-specific dialogs, toasts and item details.
 * Screen-owned Shop and Forge overlays remain in their screen contracts.
  */ /* Source replay: css/main.css */.close-button { border: 0; background: transparent; color: #aaa; font-size: 24px; cursor: pointer; }.modal-list{text-align:left;color:#c3c6c8;line-height:1.7;margin:14px 0}.modal-overlay{position:fixed;inset:0;display:grid;place-items:center;padding:16px;background:#000c;z-index:80}.modal-overlay:not(.show){display:none}.modal-card{width:min(430px,100%);background:linear-gradient(180deg,#17191b,#101214);border:1px solid #4a4437;border-radius:13px;padding:20px;box-shadow:0 25px 80px #000}.boss-reward-actions{display:grid;gap:8px;margin-top:15px}.boss-reward-actions .primary,
.boss-reward-actions .secondary{width:100%}.battle-reward .boss-reward-actions{margin-top:12px}.item-detail-overlay{display:none}.item-detail-overlay.show{display:grid}.item-detail-card{position:relative;text-align:left;width:min(460px,100%)}.item-detail-close{position:absolute;right:12px;top:8px}.item-detail-rarity{font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:900}.item-detail-name{font-family:Georgia,serif;font-size:27px;margin:6px 34px 4px 0}.item-detail-meta{color:#aeb3b7;font-size:13px;line-height:1.6}.item-detail-price{margin-top:12px;color:#d6b86e;font-weight:900}.item-detail-actions{display:flex;gap:8px;margin-top:16px}.item-detail-actions button{flex:1}@media(max-width:560px){.item-detail-actions{flex-direction:column}.item-detail-name{font-size:23px}}.level-lock{margin-top:10px;color:#df7770;font-weight:800}.level-up-toast { position: fixed; z-index: 1200; top: calc(14px + env(safe-area-inset-top)); right: 14px; display: flex; align-items: center; gap: 10px; min-width: 190px; padding: 12px 14px; border: 1px solid #caa55c; border-radius: 10px; background: rgba(31,25,15,.96); box-shadow: 0 10px 34px rgba(0,0,0,.45), 0 0 22px rgba(202,165,92,.18); color: #f1dfb2; opacity: 0; transform: translateX(120%) scale(.92); pointer-events: none; }.level-up-toast.show { animation: levelUpToast 2.6s ease both; }.level-up-toast small { display: block; color: #caa55c; font-size: 9px; font-weight: 900; letter-spacing: .12em; }.level-up-toast strong { display: block; margin-top: 2px; font-size: 16px; }@keyframes levelUpToast { 0% { opacity: 0; transform: translateX(120%) scale(.92); } 14%,78% { opacity: 1; transform: translateX(0) scale(1); } 100% { opacity: 0; transform: translateX(25%) scale(.96); } }@media (max-width: 520px) { .level-up-toast { top: calc(10px + env(safe-area-inset-top)); right: 10px; min-width: 170px; } }.whats-new-card{
  position:relative;
  display:flex;
  flex-direction:column;
  width:min(520px,100%);
  max-height:calc(100dvh - 32px);
  padding:0;
  overflow:hidden;
}.whats-new-card .reward-heading{
  flex:0 0 auto;
  padding:20px 56px 12px 20px;
}.whats-new-card .modal-scroll{
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding:0 20px 12px;
}.whats-new-card .modal-list{margin:0;}.whats-new-card .modal-footer{
  flex:0 0 auto;
  padding:12px 20px calc(12px + env(safe-area-inset-bottom));
  border-top:1px solid #35322b;
  background:#101214;
}.whats-new-card .modal-footer .primary{width:100%;}.whats-new-close{
  position:absolute;
  top:10px;
  right:10px;
  z-index:2;
}@media (max-height:560px){
  .modal-overlay{padding:8px;align-items:stretch;}
  .whats-new-card{max-height:calc(100dvh - 16px);}
  .whats-new-card .reward-heading{padding-top:14px;padding-bottom:8px;font-size:20px;}
  .whats-new-card .modal-scroll{padding-left:14px;padding-right:14px;}
  .whats-new-card .modal-footer{padding:8px 14px calc(8px + env(safe-area-inset-bottom));}
}.boss-choice-text{margin:12px 0 4px;color:#aeb3b7;text-align:center}.boss-choice-card{width:min(420px,100%);text-align:center}.boss-choice-text{color:#a6aaad}.reward-toast{position:fixed;z-index:1250;top:calc(72px + env(safe-area-inset-top));left:50%;display:grid;grid-template-columns:auto auto;gap:3px 18px;align-items:center;min-width:250px;padding:11px 16px;border:1px solid #74613f;border-radius:10px;background:rgba(17,19,21,.97);box-shadow:0 12px 36px rgba(0,0,0,.48);opacity:0;transform:translate(-50%,-16px) scale(.96);pointer-events:none;text-align:center}.reward-toast.show{animation:rewardToast 1.25s ease both}.reward-toast strong:first-child{color:#9fc6ed}.reward-toast strong:nth-child(2){color:#df8a50}.reward-toast span{grid-column:1/-1;color:#9aa3ad;font-size:12px}@keyframes rewardToast{0%{opacity:0;transform:translate(-50%,-16px) scale(.96)}14%,78%{opacity:1;transform:translate(-50%,0) scale(1)}100%{opacity:0;transform:translate(-50%,-8px) scale(.98)}}@media(max-width:520px){.reward-toast{top:calc(64px + env(safe-area-inset-top));min-width:220px;padding:10px 13px}}.item-detail-status{margin-top:14px;padding:10px;border:1px solid #303438;border-radius:8px}.reward-toast.item-reward-toast{grid-template-columns:auto auto;border-color:#74613f}.reward-toast.item-reward-toast.uncommon{border-color:#4f9d69;box-shadow:0 12px 36px rgba(0,0,0,.48),0 0 20px rgba(79,157,105,.18)}.reward-toast.item-reward-toast.rare{border-color:#4e83bd;box-shadow:0 12px 36px rgba(0,0,0,.48),0 0 20px rgba(78,131,189,.2)}.reward-toast.item-reward-toast.epic{border-color:#b455e0;box-shadow:0 12px 36px rgba(0,0,0,.48),0 0 22px rgba(180,85,224,.28)}.level-up-toast{top:38%;right:auto;left:50%;min-width:250px;justify-content:center;padding:16px 20px;transform:translate(-50%,-50%) scale(.86);text-align:left}.level-up-toast.show{animation:levelUpToastCenter 2s cubic-bezier(.2,.75,.2,1) both}.level-up-toast strong{font-size:20px}.level-up-toast small{font-size:10px}@keyframes levelUpToastCenter{0%{opacity:0;transform:translate(-50%,-45%) scale(.86)}15%,78%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-56%) scale(.96)}}@media(max-width:620px){.level-up-toast{top:36%;width:min(290px,calc(100% - 32px));min-width:0}}.sale-confirm-overlay{z-index:110;background:#000c}.sale-confirm-card{width:min(420px,100%);border-color:#705a35;background:linear-gradient(180deg,#191816,#111315);padding:18px}.sale-confirm-card h2{margin:4px 0 8px;font-size:22px}.sale-confirm-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 0;padding:12px 14px;border:1px solid #393b3d;border-radius:10px;background:#0d0f10;color:#c7cacc}.sale-confirm-summary strong{color:#d1a25e;font-size:18px;white-space:nowrap}.sale-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.sale-confirm-actions button{min-height:46px}@media(max-width:560px){
  .sale-confirm-overlay{align-items:end;padding:10px}
  .sale-confirm-card{width:100%;border-radius:14px 14px 10px 10px;padding:16px}
}.sale-confirm-card{width:min(360px,100%);text-align:center;padding:20px}.sale-confirm-card h2{margin:0 0 14px;font-size:21px}.sale-confirm-summary{justify-content:center;flex-wrap:wrap;margin:0 0 16px;padding:0;border:0;background:transparent;color:#c7cacc}.sale-confirm-summary strong{font-size:15px;color:#d1a25e}.sale-confirm-actions button{min-height:48px;font-size:16px;font-weight:800}@media(max-width:560px){
  .sale-confirm-overlay{align-items:center;padding:16px}
  .sale-confirm-card{width:min(360px,100%);border-radius:14px;padding:18px}
}.sale-income-toast{position:fixed;z-index:181;min-width:124px;padding:6px 10px;border:1px solid #8f6737;border-radius:8px;background:#17130ef2;color:#e4b66d;font-size:13px;font-weight:900;text-align:center;pointer-events:none;box-shadow:0 5px 18px #000a}.ruins-event-overlay{z-index:120;background:#000d}.ruins-event-card{border-color:#6d5e40;background:linear-gradient(180deg,#191915,#101214)}.ruins-event-text{color:#b8bdc0;line-height:1.55;margin:10px 0 16px}.ruins-event-actions{display:grid;gap:8px}.ruins-event-actions button{width:100%}.opening-overlay{position:fixed;inset:0;z-index:140;display:grid;place-items:center;padding:20px;background:#060908;color:#e6e0d3;overflow:auto}.opening-overlay[hidden]{display:none!important}.opening-card{width:min(430px,100%);display:grid;justify-items:center;gap:12px;padding:28px 22px;border:1px solid #4c493d;border-radius:16px;background:linear-gradient(180deg,#151a18,#090c0b);box-shadow:0 30px 90px #000;text-align:center}.opening-card h1{margin:0;font-size:29px;line-height:1.08}.opening-action{width:100%;margin-top:4px}@media(max-width:380px){.opening-card{padding:24px 16px}.opening-card h1{font-size:25px}}.quest-reward-card{position:relative;width:min(390px,100%);text-align:left}.quest-reward-card h2{margin:4px 34px 8px 0;font-size:21px;line-height:1.2}.quest-reward-copy{margin:0;color:#aeb3b6;font-size:13px;line-height:1.45}.quest-reward-close{position:absolute;top:10px;right:10px}.quest-reward-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}.quest-reward-values>div{display:grid;gap:4px;padding:11px 12px;border:1px solid #3d4142;border-radius:9px;background:#101413}.quest-reward-values span{color:#9aa1a5;font-size:11px;text-transform:uppercase;letter-spacing:.07em}.quest-reward-values strong{font-size:18px;color:#e0c47f}.quest-reward-values>div+div strong{color:#9fc6ed}.quest-reward-actions{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:8px;margin-top:16px}.quest-reward-actions button{width:100%}@media(max-width:420px){.quest-reward-actions{grid-template-columns:1fr}.quest-reward-values{gap:6px}} /* Source replay: css/theme/ashen-core.css */body.theme-ashen .item-detail-name {
  font-family: Georgia, "Times New Roman", serif;
  text-wrap: balance;
} /* Source replay: css/theme/ashen-battle-path.css */body.theme-ashen .ruins-event-card {
  border-color: rgba(85, 131, 122, .72);
  background: linear-gradient(180deg, #172521, #0a1110);
  box-shadow: inset 0 0 35px rgba(89, 181, 163, .07), 0 25px 80px #000;
} /* Source replay: css/v0.10.0.css */.chapter-two-final-reward{margin:14px 0 4px}.scene-recovery-overlay{z-index:10040}.scene-recovery-card{position:relative;width:min(440px,100%);text-align:left}.scene-recovery-card h2{margin:0 0 10px;color:#f1e8ce}.scene-recovery-card p:not(.section-label){margin:0;color:#bdc4c0;line-height:1.5}.scene-recovery-actions{display:grid;grid-template-columns:1fr 1.25fr;gap:10px;margin-top:18px}.scene-recovery-actions button{min-height:46px}@media(max-width:460px){.scene-recovery-actions{grid-template-columns:1fr}.scene-recovery-actions .primary{order:-1}} /* Source replay: css/theme/ashen-items-overlays.css */body.theme-ashen .item-detail-price {
  color: #d0a065;
}body.theme-ashen .modal-overlay {
  background: rgba(2, 4, 4, .82);
  backdrop-filter: blur(7px);
}body.theme-ashen .modal-card {
  border-color: rgba(112, 96, 71, .74);
  background:
    linear-gradient(180deg, rgba(29, 30, 26, .98), rgba(10, 13, 12, .99));
  box-shadow:
    inset 0 1px rgba(255, 242, 200, .05),
    inset 0 0 35px rgba(183, 154, 98, .025),
    0 28px 90px rgba(0, 0, 0, .8);
}body.theme-ashen .item-detail-card::before,
body.theme-ashen .whats-new-card::before,
body.theme-ashen .boss-choice-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #101312 url("../../assets/art/rune-mark.svg") center / 34px no-repeat;
  border: 1px solid rgba(112, 96, 71, .72);
  box-shadow: 0 0 18px rgba(98, 180, 163, .1);
}body.theme-ashen .item-detail-card,
body.theme-ashen .whats-new-card,
body.theme-ashen .boss-choice-card {
  position: relative;
  margin-top: 18px;
}body.theme-ashen .level-up-toast {
  border-color: #aa8c58;
  background: linear-gradient(180deg, rgba(45, 38, 25, .98), rgba(17, 18, 15, .98));
  box-shadow: 0 14px 42px rgba(0, 0, 0, .58), 0 0 24px rgba(98, 180, 163, .09);
} /* Source replay: css/theme/ashen-legacy-features.css */body.theme-ashen .sale-confirm-warning {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(211, 116, 79, .48);
  border-radius: 10px;
  background: rgba(92, 35, 25, .32);
  color: #f0b5a0;
  line-height: 1.4;
} /* Source replay: css/theme/ashen-polish.css */body.theme-ashen .quest-ready-toast{position:fixed;z-index:140;left:50%;top:calc(78px + env(safe-area-inset-top));bottom:auto;width:min(430px,calc(100vw - 24px));transform:translate(-50%,-18px);opacity:0;pointer-events:none;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 12px;border:1px solid rgba(210,177,87,.75);border-radius:12px;background:linear-gradient(135deg,rgba(35,31,17,.98),rgba(8,14,12,.98));color:#f0e2ac;box-shadow:0 12px 34px rgba(0,0,0,.55),inset 3px 0 0 #c8a84f;text-align:left;transition:opacity .2s ease,transform .25s ease}body.theme-ashen .quest-ready-toast.show{transform:translate(-50%,0);opacity:1;pointer-events:auto}body.theme-ashen .quest-ready-toast .quest-ready-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:rgba(200,168,79,.18);border:1px solid #c8a84f;font-weight:900}body.theme-ashen .quest-ready-toast small,
body.theme-ashen .quest-ready-toast strong{display:block}body.theme-ashen .quest-ready-toast small{color:#b7aa7d;font-size:9px;text-transform:uppercase;letter-spacing:.08em}body.theme-ashen .quest-ready-toast strong{margin-top:2px;color:#f2e8c5;font-size:13px}body.theme-ashen .quest-ready-toast em{color:#75c3b6;font-size:11px;font-style:normal;font-weight:800}body.theme-ashen .item-detail-card,
body.theme-ashen .item-detail-meta,
body.theme-ashen .item-detail-stats {
  text-align:left !important;
  justify-items:start !important;
}body.theme-ashen .item-detail-stats {
  width:100%;
  min-width:0;
}body.theme-ashen .item-detail-stats { margin-top:9px; } /* Source replay: css/theme/ashen-current.css */body.theme-ashen .opening-overlay{background:radial-gradient(circle at 50% 18%,rgba(50,89,78,.22),transparent 35%),linear-gradient(rgba(3,7,6,.88),rgba(3,6,5,.96)),url('../../assets/art/world-backdrop.svg') center/cover no-repeat}body.theme-ashen .opening-card{border-color:rgba(151,132,87,.58);background:linear-gradient(180deg,rgba(18,27,24,.96),rgba(7,11,10,.98));box-shadow:inset 0 0 55px rgba(61,100,88,.08),0 30px 100px #000}body.theme-ashen .opening-card .section-label{color:#839b92}body.theme-ashen .opening-card h1{color:#e5d3a1;font-family:Georgia,serif;text-shadow:0 0 18px rgba(191,161,91,.12)}body.theme-ashen .opening-action{border-color:#a98f56;background:linear-gradient(180deg,#b39558,#765d32);color:#11130f}body.theme-ashen .quest-reward-card{border-color:rgba(200,168,79,.68);background:linear-gradient(180deg,rgba(31,30,23,.99),rgba(9,13,12,.99));box-shadow:inset 3px 0 0 rgba(200,168,79,.68),0 28px 90px rgba(0,0,0,.82)}body.theme-ashen .quest-reward-card h2{color:#f0e2ac;font-family:Georgia,serif}body.theme-ashen .quest-reward-values>div{border-color:rgba(92,84,61,.7);background:rgba(7,11,10,.72)} /* Source replay: css/hero-profile.css */.item-detail-head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center;margin-bottom:14px}body.theme-ashen .item-detail-card .item-detail-stats{padding:10px 0 4px;border-top:1px solid rgba(96,102,96,.35)}body.theme-ashen .item-detail-card .item-socket-summary{margin-top:8px}body.theme-ashen .item-detail-card .item-rune-bonuses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:8px}body.theme-ashen .item-detail-card .item-rune-bonuses span{min-width:0;padding:7px 9px;border:1px solid currentColor;border-radius:8px;background:rgba(4,9,8,.7);font-size:12px;white-space:normal}@media(max-width:390px){
  body.theme-ashen .item-detail-card .item-rune-bonuses{grid-template-columns:1fr}
} /* Source replay: css/v0.9.2.css */body.theme-ashen .item-detail-overlay.rune-tutorial-highlight .item-detail-card {
  border-color: rgba(91, 190, 169, .72);
  box-shadow: 0 24px 80px #000, 0 0 28px rgba(72, 183, 158, .16);
} /* Source replay: css/v0.9.3.css */body.theme-ashen .item-detail-rarity { font-size: var(--ff-text-caption); }body.theme-ashen .item-detail-meta { font-size: var(--ff-text-small); } /* Source replay: css/v0.9.9.css */body.theme-ashen .item-comparison-panel {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}body.theme-ashen .item-comparison-panel-title {
  color: #c9b782;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}body.theme-ashen .item-comparison-target {
  overflow: hidden;
  border: 1px solid rgba(111, 116, 104, .46);
  border-radius: 10px;
  background: rgba(5, 10, 8, .72);
}body.theme-ashen .item-comparison-target.better { border-color: rgba(83, 171, 103, .58); }body.theme-ashen .item-comparison-target.worse { border-color: rgba(180, 91, 79, .48); }body.theme-ashen .item-comparison-target.equal { border-color: rgba(127, 131, 121, .44); }body.theme-ashen .item-comparison-target > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  padding: 9px 10px;
  border-bottom: 1px solid rgba(93, 98, 89, .34);
  background: rgba(18, 23, 20, .72);
}body.theme-ashen .item-comparison-target > header span {
  color: #a9b2ad;
  font-size: 11px;
  font-weight: 800;
}body.theme-ashen .item-comparison-target > header strong {
  color: #dcd4c0;
  font-size: 11px;
  text-align: right;
}body.theme-ashen .item-comparison-target.better > header strong { color: #80d795; }body.theme-ashen .item-comparison-target.worse > header strong { color: #d8897e; }body.theme-ashen .item-comparison-target > header small {
  grid-column: 1 / -1;
  overflow: hidden;
  color: #8e9792;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}body.theme-ashen .item-comparison-target > p {
  margin: 0;
  padding: 10px;
  color: #aeb5b1;
  font-size: 12px;
  line-height: 1.4;
}body.theme-ashen .item-comparison-rows {
  display: grid;
  padding: 4px 10px 7px;
}body.theme-ashen .item-comparison-row {
  display: grid;
  grid-template-columns: minmax(70px, 1fr) auto minmax(74px, auto);
  align-items: center;
  gap: 7px;
  min-height: 30px;
  border-bottom: 1px solid rgba(75, 82, 76, .24);
  font-size: 11px;
}body.theme-ashen .item-comparison-row:last-child { border-bottom: 0; }body.theme-ashen .item-comparison-row > span:first-child { color: #b8bfba; font-weight: 800; }body.theme-ashen .item-comparison-row > strong { text-align: right; }body.theme-ashen .item-comparison-values {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #9da6a1;
  white-space: nowrap;
}body.theme-ashen .item-comparison-values i { font-style: normal; }body.theme-ashen .item-comparison-values b { color: #68736d; }body.theme-ashen .item-comparison-style-note,
body.theme-ashen .item-detail-action-note {
  padding: 9px 10px;
  border: 1px solid rgba(127, 131, 121, .4);
  border-radius: 9px;
  background: rgba(13, 18, 16, .72);
  color: #aeb5b1;
  font-size: 11px;
  line-height: 1.4;
}body.theme-ashen .item-detail-action-note {
  flex: 1 0 100%;
  text-align: center;
}@media (max-width: 390px) {
  body.theme-ashen .item-comparison-row {
    grid-template-columns: minmax(62px, 1fr) auto minmax(66px, auto);
    gap: 5px;
    font-size: 10px;
  }
  body.theme-ashen .item-comparison-target > header {
    padding-inline: 8px;
  }
}body.theme-ashen .item-detail-overlay.show {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding-top: max(38px, env(safe-area-inset-top));
  padding-bottom: max(22px, env(safe-area-inset-bottom));
}body.theme-ashen .item-detail-card {
  flex: none;
  margin-block: auto;
} /* Source replay: css/v0.9.28.css */.account-overlay{position:fixed;inset:0;z-index:3000;display:none;place-items:center;padding:20px;background:rgba(3,7,7,.92);backdrop-filter:blur(10px)}.account-overlay.show{display:grid}.account-card{width:min(420px,100%);padding:24px;border:1px solid rgba(186,154,93,.35);border-radius:20px;background:linear-gradient(160deg,#17201d,#0d1312);box-shadow:0 24px 80px rgba(0,0,0,.55)}.account-card h2{margin:4px 0 8px}.account-field{display:grid;gap:6px}.account-field span{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:#b8b3a5}.account-field input{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid rgba(255,255,255,.15);border-radius:10px;background:#090e0d;color:#f3efe5;font:inherit}.account-status{min-height:1.4em;margin:2px 0 0;color:#c8c3b6}.account-status[data-kind="error"]{color:#ff9d91}.account-status[data-kind="warning"]{color:#e9c579}.account-actions{display:grid;gap:9px;margin-top:4px}@media(max-width:480px){.account-overlay{padding:12px}.account-card{padding:20px 16px;border-radius:16px}} /* Source replay: css/v0.9.49.css */body.theme-ashen :is(.inventory-detail-actions,.reward-actions,.boss-reward-actions,.sale-confirm-actions,.quest-reward-actions,.ruins-floor-actions,.ruins-event-actions) button{
  min-height:var(--ui-action-height);
  padding-block:9px;
  line-height:1.2;
}body.theme-ashen :is(.close-button,.whats-new-close){
  display:inline-grid;
  width:var(--ui-touch-target);
  min-width:var(--ui-touch-target);
  height:var(--ui-touch-target);
  min-height:var(--ui-touch-target);
  padding:0;
  place-items:center;
}body.theme-ashen .item-comparison-panel-title{
  font-size:12px;
  line-height:1.3;
}body.theme-ashen .item-comparison-target > header span,
body.theme-ashen .item-comparison-target > header strong{
  font-size:12.5px;
  line-height:1.3;
}body.theme-ashen .item-comparison-target > header small{
  font-size:11.5px;
  line-height:1.35;
}body.theme-ashen .item-comparison-row{
  grid-template-columns:minmax(96px,1fr) auto minmax(48px,auto);
  gap:8px;
  min-height:36px;
  font-size:12.5px;
  line-height:1.3;
}@media (max-width:767px){
  body.theme-ashen .item-comparison-rows{
    padding:6px 10px 9px;
  }
}@media (max-width:359px){
  body.theme-ashen .item-comparison-row{
    grid-template-columns:minmax(82px,1fr) auto minmax(34px,auto);
    gap:5px;
    font-size:11.5px;
  }
}.password-change-overlay{z-index:10020}.account-status[data-kind="success"]{color:#9ed7ae}.account-status[data-kind="error"]{color:#e6a4a0}.account-status[data-kind="warning"]{color:#e7cf91} /* Source replay: css/v0.10.0-rc28.css */body.theme-ashen .quest-ready-toast{display:none!important}.trial-style-choice-card,
.trial-result-card{width:min(92vw,520px);display:grid;gap:14px}.trial-style-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.trial-style-choice-option{min-height:132px;padding:14px;border:1px solid rgba(192,158,90,.42);border-radius:16px;background:linear-gradient(160deg,rgba(24,32,29,.98),rgba(10,15,14,.98));color:var(--text-main,#f1eadc);display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:7px}.trial-style-choice-option strong{font-size:1rem;color:#f2d28a}.trial-style-choice-option span{font-size:.88rem;line-height:1.35}.trial-style-choice-option small{font-size:.76rem;line-height:1.3;color:rgba(235,230,214,.68)}.trial-style-choice-option:active{transform:translateY(1px)}.trial-result-card{text-align:center;justify-items:stretch}.trial-result-glyph{width:68px;height:68px;margin:0 auto;border-radius:50%;display:grid;place-items:center;font-size:2rem;font-weight:900;color:#dff4d2;border:2px solid rgba(128,207,107,.72);background:rgba(40,94,44,.35);box-shadow:0 0 24px rgba(97,190,85,.22)}.trial-result-card.failure .trial-result-glyph{color:#ffd8cb;border-color:rgba(218,102,78,.75);background:rgba(106,42,32,.36)}.trial-result-rewards{display:grid;gap:6px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.035);text-align:left}.trial-result-rewards:empty{display:none}.trial-result-rewards span{font-size:.86rem;color:rgba(241,234,220,.82)}@media(max-width:560px){.trial-style-choice-grid{grid-template-columns:1fr}.trial-style-choice-option{min-height:106px}}.trial-style-choice-card .secondary,
.trial-result-card .primary{width:100%}body.theme-ashen .boss-choice-card,
body.theme-ashen .item-detail-card {
  width:min(94vw,620px)!important;
  max-width:620px!important;
  max-height:min(88dvh,860px)!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr) auto!important;
  align-content:stretch!important;
  padding:16px!important;
}body.theme-ashen .boss-choice-card>.reward-heading,
body.theme-ashen .boss-choice-card>.boss-choice-text {grid-row:auto}body.theme-ashen .boss-choice-card>#chapterTwoFinalRewardChoice {
  min-height:0!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  padding:2px 4px 12px 0;
}body.theme-ashen .boss-choice-card>.boss-reward-actions,
body.theme-ashen .item-detail-card>.item-detail-actions {
  position:relative!important;
  inset:auto!important;
  z-index:3;
  margin:0!important;
  padding:10px 0 0!important;
  background:linear-gradient(180deg,rgba(10,15,13,0),rgba(10,15,13,.96) 20%);
  border-top:1px solid rgba(198,171,109,.2);
}body.theme-ashen .item-detail-card>#itemDetailContent {
  min-height:0!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  padding:4px 4px 14px 0;
}body.theme-ashen .item-detail-card>.item-detail-close {z-index:7}body.theme-ashen .item-detail-actions {max-height:34dvh;overflow-y:auto!important}body.theme-ashen .item-comparison-panel {margin-top:10px;border:1px solid rgba(86,171,101,.48);border-radius:12px;background:rgba(12,30,18,.54);overflow:hidden}body.theme-ashen .item-comparison-panel>summary {cursor:pointer;list-style:none;padding:11px 12px;margin:0!important;color:#d8c487;font-weight:900}body.theme-ashen .item-comparison-panel>summary::-webkit-details-marker {display:none}body.theme-ashen .item-comparison-panel>summary::after {content:'Подробнее';float:right;color:#8fb69a;font-size:11px;font-weight:700}body.theme-ashen .item-comparison-panel[open]>summary::after {content:'Свернуть'}body.theme-ashen .item-comparison-panel-body {padding:0 10px 10px}body.theme-ashen .chapter-two-final-reward .final-reward-grid {display:grid!important;grid-template-columns:1fr!important;gap:9px!important}body.theme-ashen .chapter-two-final-reward .final-reward-option {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:stretch!important;min-height:0!important}body.theme-ashen .chapter-two-final-reward .final-reward-select {min-height:96px!important;padding:11px 12px!important;gap:3px!important}body.theme-ashen .chapter-two-final-reward .final-reward-select strong {font-size:15px!important;line-height:1.15}body.theme-ashen .chapter-two-final-reward .final-reward-select b {width:max-content;min-width:92px;margin-top:5px!important;padding:6px 11px!important}body.theme-ashen .chapter-two-final-reward .final-reward-option details {width:132px;padding:0 10px 8px!important;border-top:0!important;border-left:1px solid rgba(188,130,255,.25)!important}body.theme-ashen .chapter-two-final-reward .final-reward-option details[open] {grid-column:1/-1;width:auto;border-left:0!important;border-top:1px solid rgba(188,130,255,.25)!important}@media(max-width:620px) {
  body.theme-ashen .modal-overlay {padding:8px!important;align-items:flex-end!important}
  body.theme-ashen .boss-choice-card,
body.theme-ashen .item-detail-card {
    width:100%!important;
    max-width:none!important;
    max-height:calc(100dvh - env(safe-area-inset-top) - 12px)!important;
    border-radius:18px 18px 8px 8px!important;
    padding:13px!important;
  }
  body.theme-ashen .item-detail-actions {max-height:29dvh}
  body.theme-ashen .chapter-two-final-reward .final-reward-option {grid-template-columns:1fr!important}
  body.theme-ashen .chapter-two-final-reward .final-reward-option details {width:auto!important;border-left:0!important;border-top:1px solid rgba(188,130,255,.25)!important}
}@media(max-width:560px) {
  body.theme-ashen .trial-style-choice-grid {grid-template-columns:1fr}
  body.theme-ashen .trial-style-choice-option {min-height:106px}
}.trial-briefing-card{width:min(92vw,520px);max-height:min(86dvh,760px);display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:12px;overflow:hidden}.trial-briefing-content{min-height:0;overflow:auto;display:grid;gap:10px;padding-right:3px}.trial-briefing-content section{display:grid;gap:5px;padding:10px 12px;border:1px solid rgba(174,147,88,.28);border-radius:12px;background:rgba(255,255,255,.025)}.trial-briefing-content section>strong{color:#e9cc86;font-size:.82rem;text-transform:uppercase;letter-spacing:.08em}.trial-briefing-content section>span,
.trial-briefing-content li{font-size:.86rem;line-height:1.42;color:rgba(239,234,219,.8)}.trial-briefing-content ol{margin:0;padding-left:20px;display:grid;gap:5px}.trial-briefing-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:10px}.trial-briefing-actions button{width:100%}@media(max-width:520px){.trial-briefing-card{max-height:calc(100dvh - 28px)}.trial-briefing-actions{grid-template-columns:1fr}.trial-briefing-actions .secondary{order:2}} /* Source replay: css/v0.10.0-rc31.css */body.theme-ashen .quest-ready-toast{display:none!important}.trial-style-choice-card,
.trial-result-card{width:min(92vw,520px);display:grid;gap:14px}.trial-style-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.trial-style-choice-option{min-height:132px;padding:14px;border:1px solid rgba(192,158,90,.42);border-radius:16px;background:linear-gradient(160deg,rgba(24,32,29,.98),rgba(10,15,14,.98));color:var(--text-main,#f1eadc);display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:7px}.trial-style-choice-option strong{font-size:1rem;color:#f2d28a}.trial-style-choice-option span{font-size:.88rem;line-height:1.35}.trial-style-choice-option small{font-size:.76rem;line-height:1.3;color:rgba(235,230,214,.68)}.trial-style-choice-option:active{transform:translateY(1px)}.trial-result-card{text-align:center;justify-items:stretch}.trial-result-glyph{width:68px;height:68px;margin:0 auto;border-radius:50%;display:grid;place-items:center;font-size:2rem;font-weight:900;color:#dff4d2;border:2px solid rgba(128,207,107,.72);background:rgba(40,94,44,.35);box-shadow:0 0 24px rgba(97,190,85,.22)}.trial-result-card.failure .trial-result-glyph{color:#ffd8cb;border-color:rgba(218,102,78,.75);background:rgba(106,42,32,.36)}.trial-result-rewards{display:grid;gap:6px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.035);text-align:left}.trial-result-rewards:empty{display:none}.trial-result-rewards span{font-size:.86rem;color:rgba(241,234,220,.82)}@media(max-width:560px){.trial-style-choice-grid{grid-template-columns:1fr}.trial-style-choice-option{min-height:106px}}.trial-style-choice-card .secondary,
.trial-result-card .primary{width:100%}body.theme-ashen .boss-choice-card,
body.theme-ashen .item-detail-card {
  width:min(94vw,620px)!important;
  max-width:620px!important;
  max-height:min(88dvh,860px)!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr) auto!important;
  align-content:stretch!important;
  padding:16px!important;
}body.theme-ashen .boss-choice-card>.reward-heading,
body.theme-ashen .boss-choice-card>.boss-choice-text {grid-row:auto}body.theme-ashen .boss-choice-card>#chapterTwoFinalRewardChoice {
  min-height:0!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  padding:2px 4px 12px 0;
}body.theme-ashen .boss-choice-card>.boss-reward-actions,
body.theme-ashen .item-detail-card>.item-detail-actions {
  position:relative!important;
  inset:auto!important;
  z-index:3;
  margin:0!important;
  padding:10px 0 0!important;
  background:linear-gradient(180deg,rgba(10,15,13,0),rgba(10,15,13,.96) 20%);
  border-top:1px solid rgba(198,171,109,.2);
}body.theme-ashen .item-detail-card>#itemDetailContent {
  min-height:0!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  padding:4px 4px 14px 0;
}body.theme-ashen .item-detail-card>.item-detail-close {z-index:7}body.theme-ashen .item-detail-actions {max-height:34dvh;overflow-y:auto!important}body.theme-ashen .item-comparison-panel {margin-top:10px;border:1px solid rgba(86,171,101,.48);border-radius:12px;background:rgba(12,30,18,.54);overflow:hidden}body.theme-ashen .item-comparison-panel>summary {cursor:pointer;list-style:none;padding:11px 12px;margin:0!important;color:#d8c487;font-weight:900}body.theme-ashen .item-comparison-panel>summary::-webkit-details-marker {display:none}body.theme-ashen .item-comparison-panel>summary::after {content:'Подробнее';float:right;color:#8fb69a;font-size:11px;font-weight:700}body.theme-ashen .item-comparison-panel[open]>summary::after {content:'Свернуть'}body.theme-ashen .item-comparison-panel-body {padding:0 10px 10px}body.theme-ashen .chapter-two-final-reward .final-reward-grid {display:grid!important;grid-template-columns:1fr!important;gap:9px!important}body.theme-ashen .chapter-two-final-reward .final-reward-option {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:stretch!important;min-height:0!important}body.theme-ashen .chapter-two-final-reward .final-reward-select {min-height:96px!important;padding:11px 12px!important;gap:3px!important}body.theme-ashen .chapter-two-final-reward .final-reward-select strong {font-size:15px!important;line-height:1.15}body.theme-ashen .chapter-two-final-reward .final-reward-select b {width:max-content;min-width:92px;margin-top:5px!important;padding:6px 11px!important}body.theme-ashen .chapter-two-final-reward .final-reward-option details {width:132px;padding:0 10px 8px!important;border-top:0!important;border-left:1px solid rgba(188,130,255,.25)!important}body.theme-ashen .chapter-two-final-reward .final-reward-option details[open] {grid-column:1/-1;width:auto;border-left:0!important;border-top:1px solid rgba(188,130,255,.25)!important}@media(max-width:620px) {
  body.theme-ashen .modal-overlay {padding:8px!important;align-items:flex-end!important}
  body.theme-ashen .boss-choice-card,
body.theme-ashen .item-detail-card {
    width:100%!important;
    max-width:none!important;
    max-height:calc(100dvh - env(safe-area-inset-top) - 12px)!important;
    border-radius:18px 18px 8px 8px!important;
    padding:13px!important;
  }
  body.theme-ashen .item-detail-actions {max-height:29dvh}
  body.theme-ashen .chapter-two-final-reward .final-reward-option {grid-template-columns:1fr!important}
  body.theme-ashen .chapter-two-final-reward .final-reward-option details {width:auto!important;border-left:0!important;border-top:1px solid rgba(188,130,255,.25)!important}
}@media(max-width:560px) {
  body.theme-ashen .trial-style-choice-grid {grid-template-columns:1fr}
  body.theme-ashen .trial-style-choice-option {min-height:106px}
}.trial-briefing-card{width:min(92vw,520px);max-height:min(86dvh,760px);display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:12px;overflow:hidden}.trial-briefing-content{min-height:0;overflow:auto;display:grid;gap:10px;padding-right:3px}.trial-briefing-content section{display:grid;gap:5px;padding:10px 12px;border:1px solid rgba(174,147,88,.28);border-radius:12px;background:rgba(255,255,255,.025)}.trial-briefing-content section>strong{color:#e9cc86;font-size:.82rem;text-transform:uppercase;letter-spacing:.08em}.trial-briefing-content section>span,
.trial-briefing-content li{font-size:.86rem;line-height:1.42;color:rgba(239,234,219,.8)}.trial-briefing-content ol{margin:0;padding-left:20px;display:grid;gap:5px}.trial-briefing-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:10px}.trial-briefing-actions button{width:100%}@media(max-width:520px){.trial-briefing-card{max-height:calc(100dvh - 28px)}.trial-briefing-actions{grid-template-columns:1fr}.trial-briefing-actions .secondary{order:2}}body.theme-ashen .quest-reward-overlay{
  align-items:center!important;
  justify-items:center!important;
  padding:16px!important;
}body.theme-ashen .quest-reward-card{
  max-height:calc(100dvh - 32px);
  overflow-y:auto;
  overscroll-behavior:contain;
}body.theme-ashen .item-comparison-panel>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}body.theme-ashen .item-comparison-panel>summary::after{
  content:'Развернуть';
  float:none;
  flex:0 0 auto;
}body.theme-ashen .item-comparison-panel[open]>summary::after{content:'Свернуть'} /* Source replay: css/v0.10.0-rc36.css */body.theme-ashen .atmosphere-overlay{
  align-items:center!important;
  justify-items:center!important;
  padding:14px!important;
}body.theme-ashen .atmosphere-card{
  position:relative;
  width:min(470px,100%);
  padding:25px 22px 20px;
  overflow:hidden;
  border-color:rgba(122,105,70,.8);
  background:
    linear-gradient(180deg,rgba(31,31,25,.99),rgba(7,13,11,.995)),
    radial-gradient(circle at 50% 0,rgba(88,184,157,.11),transparent 43%);
}body.theme-ashen .atmosphere-card::after{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(120deg,transparent 0 57%,rgba(95,181,157,.035) 58% 59%,transparent 60%);
}body.theme-ashen .atmosphere-sigil{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  margin:0 0 9px;
  border:1px solid rgba(91,184,158,.45);
  border-radius:50%;
  color:#78c7b2;
  background:rgba(7,23,19,.72);
  box-shadow:0 0 22px rgba(74,175,146,.11);
}body.theme-ashen .atmosphere-card h2{
  margin:2px 0 10px;
  color:#ead8a7;
  font-family:var(--font-display,Georgia,serif);
  font-size:27px;
  line-height:1.05;
}body.theme-ashen .atmosphere-text{
  margin:0;
  color:#c2c5bd;
  font-size:14px;
  line-height:1.55;
}body.theme-ashen .atmosphere-note{
  margin:14px 0;
  padding:10px 12px;
  border-left:2px solid rgba(99,188,163,.56);
  background:rgba(7,21,18,.62);
  color:#9fb7ad;
  font-size:12px;
  font-style:normal;
  line-height:1.48;
}body.theme-ashen .atmosphere-card .primary{width:100%;margin-top:15px}body.theme-ashen .item-detail-flavor{
  margin:10px 0 0;
  padding:9px 11px;
  border-left:2px solid rgba(122,106,74,.7);
  background:rgba(34,29,18,.28);
  color:#aaa99e;
  font-family:Georgia,serif;
  font-size:12px;
  font-style:italic;
  line-height:1.45;
}body.theme-ashen .quest-reward-overlay{
  align-items:center!important;
  justify-items:center!important;
  padding:12px!important;
}@media(max-width:390px){

  body.theme-ashen .atmosphere-card{padding:20px 16px 16px!important}
  body.theme-ashen .atmosphere-card h2{font-size:23px!important}
  body.theme-ashen .atmosphere-text{font-size:13px!important}
}@media(prefers-reduced-motion:reduce){
  body.theme-ashen .atmosphere-card{scroll-behavior:auto}
}body.theme-ashen .modal-overlay.show{
  display:grid!important;
  place-items:center!important;
  align-items:center!important;
  justify-items:center!important;
  box-sizing:border-box!important;
  padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
}body.theme-ashen .modal-overlay.show>.modal-card{
  align-self:center!important;
  justify-self:center!important;
  margin:auto!important;
  max-height:calc(100dvh - max(24px,env(safe-area-inset-top) + env(safe-area-inset-bottom)))!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  border-radius:16px!important;
}body.theme-ashen .boss-choice-card,
body.theme-ashen .sale-confirm-card,
body.theme-ashen .quest-reward-card,
body.theme-ashen .scene-recovery-card,
body.theme-ashen .ruins-event-card,
body.theme-ashen .enemy-info-card{
  width:min(560px,100%)!important;
}body.theme-ashen .enemy-info-card{
  position:relative;
  display:grid;
  gap:11px;
  padding:20px;
  text-align:left;
}body.theme-ashen .enemy-info-card h2{margin:0;padding-right:34px;color:#ead8a7;font-family:var(--font-display,Georgia,serif);font-size:25px;line-height:1.1}body.theme-ashen .enemy-info-preview{
  display:grid;
  place-items:center;
  height:132px;
  overflow:hidden;
  border:1px solid rgba(83,111,101,.42);
  border-radius:12px;
  background:radial-gradient(circle,rgba(92,174,151,.10),rgba(4,9,8,.82) 66%);
}body.theme-ashen .enemy-info-preview .figure{width:180px;height:118px;margin:0;background-position:center;background-size:contain;background-repeat:no-repeat}body.theme-ashen .enemy-info-lore{margin:0;color:#c0c3bc;font-size:14px;line-height:1.5}body.theme-ashen .enemy-info-trait{padding:9px 11px;border-left:2px solid rgba(102,183,160,.58);background:rgba(8,24,20,.5);color:#a9c2b8;font-size:12px;line-height:1.4}body.theme-ashen .enemy-info-trait[hidden]{display:none!important} /* Source replay: css/v0.10.0-rc37.css */body.theme-ashen .modal-overlay.show,
body.theme-ashen .account-overlay.show,
body.theme-ashen .opening-overlay:not([hidden]){
  align-items:center!important;
  justify-items:center!important;
  place-items:center!important;
  min-height:var(--ff-viewport-height)!important;
  padding:max(var(--ff-modal-padding),env(safe-area-inset-top)) max(var(--ff-modal-padding),env(safe-area-inset-right)) max(var(--ff-modal-padding),env(safe-area-inset-bottom)) max(var(--ff-modal-padding),env(safe-area-inset-left))!important;
  overflow:auto!important;
}body.theme-ashen .modal-overlay.show>.modal-card,
body.theme-ashen .account-overlay.show>.account-card,
body.theme-ashen .opening-overlay:not([hidden])>.opening-card{
  width:min(560px,100%)!important;
  max-height:calc(var(--ff-viewport-height) - (var(--ff-modal-padding) * 2) - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
  margin:auto!important;
  padding:var(--ff-modal-card-padding)!important;
  overflow:auto!important;
  overscroll-behavior:contain;
} /* Source replay: css/v0.10.0-rc43.css */.boss-reveal-overlay[hidden]{display:none!important}.boss-reveal-overlay{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:18px;background:rgba(1,4,4,.84);isolation:isolate;cursor:pointer}.boss-reveal-vignette{position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 50% 47%,rgba(169,62,32,.30),transparent 34%),radial-gradient(circle at 50% 50%,transparent 30%,rgba(0,0,0,.84) 78%);animation:ffBossVignette 1.35s ease-out both}.boss-reveal-card{display:grid;justify-items:center;gap:7px;width:min(92vw,520px);padding:22px;text-align:center;animation:ffBossReveal 1.15s cubic-bezier(.18,.82,.18,1) both}.boss-reveal-sigil{font:700 42px/1 Georgia,serif;color:#d69166;text-shadow:0 0 24px rgba(238,91,43,.58)}.boss-reveal-card h2{margin:0;color:#f5e3ca;font:700 clamp(28px,7vw,48px)/1.04 Georgia,serif;text-shadow:0 2px 22px #000;letter-spacing:.02em}.boss-reveal-card p{max-width:420px;margin:0;color:#d5b697;font:700 12px/1.35 system-ui,sans-serif;letter-spacing:.04em}.boss-reveal-card small{margin-top:8px;color:#8f958f;font-size:9px}.boss-reveal-overlay.is-repeat{background:rgba(1,4,4,.62)}.boss-reveal-overlay.is-repeat .boss-reveal-card{animation-duration:.48s;padding:12px}.boss-reveal-overlay.is-repeat .boss-reveal-sigil{font-size:26px}.boss-reveal-overlay.is-repeat .boss-reveal-card h2{font-size:clamp(22px,5.5vw,34px)}.boss-reveal-overlay.is-repeat .boss-reveal-card small{display:none}@keyframes ffBossReveal{0%{opacity:0;transform:scale(.88) translateY(12px);filter:blur(5px)}45%{opacity:1;filter:blur(0)}100%{opacity:1;transform:scale(1) translateY(0)}}@keyframes ffBossVignette{0%{opacity:0;transform:scale(.92)}100%{opacity:1;transform:scale(1)}}body.theme-ashen .item-detail-card{grid-template-rows:minmax(0,1fr) auto!important}body.theme-ashen .item-detail-card>#itemDetailContent{width:100%!important;box-sizing:border-box!important;padding:4px 6px 14px 0!important;overflow-x:hidden!important}body.theme-ashen .item-detail-head{grid-template-columns:auto minmax(0,1fr)!important;align-items:start!important;min-width:0!important}body.theme-ashen .item-detail-head>div{min-width:0!important}body.theme-ashen .item-detail-name{max-width:100%!important;overflow-wrap:anywhere!important;white-space:normal!important}body.theme-ashen .item-detail-card .item-socket-summary{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;min-width:0!important}body.theme-ashen .item-detail-card .socket-glyphs{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:5px!important;min-width:0!important}body.theme-ashen .item-detail-card .item-rune-bonuses{grid-template-columns:repeat(auto-fit,minmax(135px,1fr))!important;min-width:0!important}body.theme-ashen .item-detail-card .item-rune-bonuses span{overflow-wrap:anywhere!important}body.theme-ashen .item-detail-actions{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))!important;gap:8px!important;max-height:min(32dvh,250px)!important}body.theme-ashen .item-detail-actions>.item-detail-action-note{grid-column:1/-1!important;min-width:0!important}body.theme-ashen .item-detail-actions button{width:100%!important;min-width:0!important;min-height:44px!important;white-space:normal!important;overflow-wrap:anywhere!important}@media(max-width:430px){
  body.theme-ashen .item-detail-card{width:min(94vw,460px)!important;max-height:min(90dvh,var(--ff-visual-height,90dvh))!important;padding:14px 12px!important}
  body.theme-ashen .item-detail-head{gap:10px!important;margin-bottom:10px!important}
  body.theme-ashen .item-detail-name{font-size:21px!important;line-height:1.08!important;margin-right:28px!important}
  body.theme-ashen .item-detail-card .item-rune-bonuses{grid-template-columns:1fr!important}
  body.theme-ashen .item-detail-actions{grid-template-columns:1fr!important;max-height:min(30dvh,220px)!important}
}@media(prefers-reduced-motion:reduce){
  .boss-reveal-vignette,
.boss-reveal-card{animation:none!important}
} /* Source replay: css/v0.10.0-rc49.css */body.theme-ashen .chapter-two-final-reward .final-reward-option.rarity-epic {
  position: relative;
  overflow: hidden;
  border-color: rgba(186, 115, 236, .72) !important;
  background:
    radial-gradient(circle at 92% 0, rgba(182, 91, 232, .22), transparent 42%),
    linear-gradient(145deg, rgba(47, 26, 57, .92), rgba(19, 17, 24, .96) 68%) !important;
  box-shadow:
    inset 0 1px 0 rgba(234, 199, 255, .16),
    0 0 0 1px rgba(104, 57, 132, .18),
    0 10px 24px rgba(7, 3, 10, .26);
}body.theme-ashen .chapter-two-final-reward .final-reward-option.rarity-epic::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #efc5ff, #a55fd2 58%, #613273);
  box-shadow: 0 0 14px rgba(199, 115, 244, .62);
  pointer-events: none;
}body.theme-ashen .chapter-two-final-reward .final-reward-select {
  min-width: 0;
  min-height: 0 !important;
  padding: 10px 12px 10px 14px !important;
  gap: 7px !important;
}body.theme-ashen .chapter-two-final-reward .final-reward-rarity {
  display: inline-flex !important;
  align-items: center;
  justify-self: start;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  padding: 4px 8px;
  border: 1px solid rgba(218, 159, 255, .54);
  border-radius: 999px;
  background: rgba(119, 55, 151, .34);
  color: #edceff !important;
  font-size: 9px !important;
  font-weight: 900;
  letter-spacing: .11em !important;
  line-height: 1;
  text-transform: uppercase;
}body.theme-ashen .chapter-two-final-reward .final-reward-rarity i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #d899ff;
  box-shadow: 0 0 8px rgba(216, 153, 255, .9);
  transform: rotate(45deg);
}body.theme-ashen .chapter-two-final-reward .final-reward-summary {
  display: grid !important;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: inherit !important;
  font-size: inherit !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}body.theme-ashen .chapter-two-final-reward .final-reward-icon.item-icon {
  width: 68px;
  height: 68px;
  min-width: 68px;
  border-color: rgba(216, 151, 255, .76);
  box-shadow:
    inset 0 0 18px rgba(117, 54, 143, .38),
    0 0 15px rgba(171, 94, 214, .30);
}body.theme-ashen .chapter-two-final-reward .final-reward-copy {
  display: grid !important;
  gap: 3px;
  min-width: 0;
  color: inherit !important;
  font-size: inherit !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}body.theme-ashen .chapter-two-final-reward .final-reward-copy strong {
  color: #f1ddff !important;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px !important;
  line-height: 1.1;
}body.theme-ashen .chapter-two-final-reward .final-reward-copy > span {
  color: #bcaac7 !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: .04em !important;
  line-height: 1.2;
  text-transform: uppercase !important;
}body.theme-ashen .chapter-two-final-reward .final-reward-copy em {
  color: #d99cff !important;
  font-size: 11px;
  line-height: 1.25;
}body.theme-ashen .chapter-two-final-reward .final-reward-select > b {
  justify-self: stretch;
  width: auto !important;
  min-width: 0 !important;
  margin-top: 0 !important;
  padding: 8px 11px !important;
  border-color: rgba(218, 159, 255, .65) !important;
  background: linear-gradient(180deg, rgba(143, 77, 177, .66), rgba(91, 43, 115, .72)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 231, 255, .14);
  color: #fff4ff !important;
}@media (max-width: 520px) {
  body.theme-ashen .chapter-two-final-reward .final-reward-summary {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 9px;
  }

  body.theme-ashen .chapter-two-final-reward .final-reward-icon.item-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
  }

  body.theme-ashen .chapter-two-final-reward .final-reward-copy strong {
    font-size: 15px !important;
  }
} /* Source replay: css/v0.10.0-rc50.css */body.theme-ashen .chapter-two-final-reward .final-reward-option.rarity-epic {
  position: relative;
  overflow: hidden;
  border-color: rgba(186, 115, 236, .72) !important;
  background:
    radial-gradient(circle at 92% 0, rgba(182, 91, 232, .22), transparent 42%),
    linear-gradient(145deg, rgba(47, 26, 57, .92), rgba(19, 17, 24, .96) 68%) !important;
  box-shadow:
    inset 0 1px 0 rgba(234, 199, 255, .16),
    0 0 0 1px rgba(104, 57, 132, .18),
    0 10px 24px rgba(7, 3, 10, .26);
}body.theme-ashen .chapter-two-final-reward .final-reward-option.rarity-epic::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #efc5ff, #a55fd2 58%, #613273);
  box-shadow: 0 0 14px rgba(199, 115, 244, .62);
  pointer-events: none;
}body.theme-ashen .chapter-two-final-reward .final-reward-select {
  min-width: 0;
  min-height: 0 !important;
  padding: 10px 12px 10px 14px !important;
  gap: 7px !important;
}body.theme-ashen .chapter-two-final-reward .final-reward-rarity {
  display: inline-flex !important;
  align-items: center;
  justify-self: start;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  padding: 4px 8px;
  border: 1px solid rgba(218, 159, 255, .54);
  border-radius: 999px;
  background: rgba(119, 55, 151, .34);
  color: #edceff !important;
  font-size: 9px !important;
  font-weight: 900;
  letter-spacing: .11em !important;
  line-height: 1;
  text-transform: uppercase;
}body.theme-ashen .chapter-two-final-reward .final-reward-rarity i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #d899ff;
  box-shadow: 0 0 8px rgba(216, 153, 255, .9);
  transform: rotate(45deg);
}body.theme-ashen .chapter-two-final-reward .final-reward-summary {
  display: grid !important;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: inherit !important;
  font-size: inherit !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}body.theme-ashen .chapter-two-final-reward .final-reward-icon.item-icon {
  width: 68px;
  height: 68px;
  min-width: 68px;
  border-color: rgba(216, 151, 255, .76);
  box-shadow:
    inset 0 0 18px rgba(117, 54, 143, .38),
    0 0 15px rgba(171, 94, 214, .30);
}body.theme-ashen .chapter-two-final-reward .final-reward-copy {
  display: grid !important;
  gap: 3px;
  min-width: 0;
  color: inherit !important;
  font-size: inherit !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}body.theme-ashen .chapter-two-final-reward .final-reward-copy strong {
  color: #f1ddff !important;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px !important;
  line-height: 1.1;
}body.theme-ashen .chapter-two-final-reward .final-reward-copy > span {
  color: #bcaac7 !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: .04em !important;
  line-height: 1.2;
  text-transform: uppercase !important;
}body.theme-ashen .chapter-two-final-reward .final-reward-copy em {
  color: #d99cff !important;
  font-size: 11px;
  line-height: 1.25;
}body.theme-ashen .chapter-two-final-reward .final-reward-select > b {
  justify-self: stretch;
  width: auto !important;
  min-width: 0 !important;
  margin-top: 0 !important;
  padding: 8px 11px !important;
  border-color: rgba(218, 159, 255, .65) !important;
  background: linear-gradient(180deg, rgba(143, 77, 177, .66), rgba(91, 43, 115, .72)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 231, 255, .14);
  color: #fff4ff !important;
}@media (max-width: 520px) {
  body.theme-ashen .chapter-two-final-reward .final-reward-summary {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 9px;
  }

  body.theme-ashen .chapter-two-final-reward .final-reward-icon.item-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
  }

  body.theme-ashen .chapter-two-final-reward .final-reward-copy strong {
    font-size: 15px !important;
  }
}body.theme-ashen .item-detail-presentation.guardian-trophy,
body.theme-ashen .item-detail-presentation.named-epic{position:relative} /* Consolidated from 21 active historical files: 399 rules, 434 selectors, 5 keyframes. */

/* RC60: explicit confirmation before selecting or exchanging the chapter II epic. */
body.theme-ashen .final-reward-confirm-card {
  width: min(430px, 94vw);
  display: grid;
  gap: 12px;
  padding: 18px;
  border-color: rgba(211, 151, 247, .56);
  background:
    radial-gradient(circle at 50% 0, rgba(135, 67, 165, .18), transparent 48%),
    linear-gradient(165deg, rgba(26, 20, 29, .98), rgba(10, 13, 12, .99));
}

body.theme-ashen .final-reward-confirm-card h2 {
  margin: 0;
  color: #f2deff;
  font-size: 24px;
}

body.theme-ashen .final-reward-confirm-item {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(202, 139, 239, .35);
  border-radius: 12px;
  background: rgba(91, 43, 115, .18);
}

body.theme-ashen .final-reward-confirm-item strong {
  color: #f0d7ff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
}

body.theme-ashen .final-reward-confirm-item p,
body.theme-ashen .final-reward-confirm-warning {
  margin: 0;
  color: #c9bbcF;
  font-size: 12px;
  line-height: 1.45;
}

body.theme-ashen .final-reward-confirm-warning {
  color: #d8caa7;
}

body.theme-ashen .final-reward-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

body.theme-ashen .final-reward-confirm-actions button {
  min-height: 44px;
  white-space: normal;
}

@media (max-width: 430px) {
  body.theme-ashen .final-reward-confirm-actions {
    grid-template-columns: 1fr;
  }
}

/* RC70: confirmation must stay above the item preview and report durable grant state. */
body.theme-ashen .final-reward-confirm-overlay {
  z-index: 120;
}
body.theme-ashen .final-reward-confirm-status {
  margin: 0;
  min-height: 18px;
  color: #9fe0c8;
  font-size: 12px;
  line-height: 1.4;
}
body.theme-ashen .final-reward-confirm-status.error {
  color: #ff9d8f;
}
body.theme-ashen .final-reward-confirm-actions button[aria-busy="true"] {
  cursor: wait;
  opacity: .72;
}
