/* 
 * Forest Frontier v0.10.0-rc53 — Reward flow contract.
 * Structural consolidation only. This screen layer owns post-battle result geometry, item reward presentation and action dock states.
 * Drop logic, economy, item actions and battle flow are unchanged.
  */ /* Source replay: css/main.css */
.reward-overlay { position:fixed; inset:0; display:grid; place-items:center; padding:16px; background:#000a; opacity:0; pointer-events:none; z-index:40; transition:opacity .18s; }
.reward-overlay.show { opacity:1; pointer-events:auto; }
.reward-overlay.show .reward-card { transform:translateY(0) scale(1); }
.reward-heading { font-family:Georgia,serif; font-size:26px; color:#d8c28d; letter-spacing:.08em; }
.reward-earned { margin:13px 0 0; padding:12px; border:1px solid #302d27; border-radius:9px; background:#0d0f11; }
.reward-earned-title { color:#858b90; font-size:10px; text-transform:uppercase; letter-spacing:.13em; font-weight:900; }
.reward-earned-values { display:flex; justify-content:center; gap:22px; margin-top:8px; font-size:16px; font-weight:900; }
.reward-item-kicker { font-size:10px; letter-spacing:.12em; text-transform:uppercase; font-weight:900; }
.reward-item-name { font-family:Georgia,serif; font-size:21px; }
.reward-item-stat { margin-top:4px; color:#d5d8da; font-size:13px; }
.reward-tip { display:none; margin-top:9px; color:#999fa4; font-size:11px; text-align:left; }
.reward-tip.show { display:block; }
.reward-heading{font-size:24px}
.reward-equipped{margin-top:6px;color:#858b90;font-size:11px}
.reward-tip.show{display:block;font-weight:800}
@media(max-width:760px){
  .reward-item-name{font-size:18px}
}
.battle-reward>.reward-earned{width:min(430px,100%)}
.battle-reward .reward-heading{margin-top:18px}
.reward-modal-card{
  width:min(500px,100%);padding:18px;
  border:1px solid #4a4437;border-radius:13px;
  background:linear-gradient(180deg,#17191b,#101214);
  box-shadow:0 25px 80px #000;text-align:center;
}
.battle-reward>.reward-earned{width:auto}
.battle-reward .reward-heading{margin:0 0 10px;font-size:23px}
.battle-reward .reward-earned{margin:0;padding:10px 12px;background:#0d0f11}
.battle-reward .reward-earned-values{margin-top:5px;gap:24px;font-size:16px}
.battle-reward .reward-item-name{font-size:20px}
.battle-reward .reward-item-stat{font-size:12px}
.battle-reward .reward-equipped{margin-top:7px;font-size:11px}
.battle-reward .reward-tip{margin-top:8px;font-size:11px}
.reward-modal-resolving{animation:reward-modal-resolve .3s ease forwards}
@keyframes reward-modal-resolve{to{transform:translateY(-24px) scale(.98);opacity:0}}
@media(max-width:480px){
  .reward-modal-card{padding:13px}
  .battle-reward .reward-heading{font-size:20px}
  .battle-reward .reward-item-name{font-size:18px}
}
.reward-flow-overlay{z-index:90;background:#000d}
.reward-flow-card .reward-heading{margin:0 0 12px;font-size:24px}
.reward-earned-flat{margin:0;padding:11px 12px;border:1px solid #302d27;border-radius:9px;background:#0d0f11}
.reward-earned-flat .reward-earned-values{margin:0;display:flex;justify-content:center;gap:28px;font-size:17px;font-weight:900}
.reward-empty-text{padding:20px 8px 16px;color:#8f959a}
.reward-loot-content{margin:14px 0 12px;padding:2px 2px 12px;text-align:left;border-bottom:1px solid #303438}
.reward-loot-content .reward-item-kicker{color:#8fa58c}
.reward-loot-content .reward-item-name{margin-top:5px;font-family:Georgia,serif;font-size:23px}
.reward-loot-content .reward-item-stat{margin-top:5px;font-size:13px;color:#d5d8da}
.reward-loot-content .reward-equipped{margin-top:8px;font-size:11px;color:#858b90}
.reward-loot-content .reward-tip{margin-top:8px;font-size:11px;font-weight:900;color:#aeb3b6}
.reward-main-action{width:100%;min-height:44px}
.reward-secondary-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.reward-secondary-actions button{width:100%;min-height:40px}
.reward-modal-resolving{animation:reward-modal-resolve .3s ease forwards}
@media(max-width:480px){
  .reward-flow-card .reward-heading{font-size:21px}
  .reward-earned-flat .reward-earned-values{gap:20px;font-size:16px}
  .reward-loot-content .reward-item-name{font-size:20px}
  .reward-secondary-actions{grid-template-columns:1fr}
}
.reward-loot-content .reward-item-kicker{font-size:10px;letter-spacing:.11em;color:#8fa58c}
.reward-loot-content .reward-item-stat{margin-top:6px;font-size:15px;color:#d5d8da}
.reward-loot-content .reward-equipped:empty{display:none}
.reward-loot-content .reward-tip{margin-top:12px;padding:9px 11px;border-radius:8px;font-size:14px;font-weight:900;background:#101413}
.reward-loot-content .reward-tip.compare-up{color:#8fca8d;border:1px solid #3f6d42;background:#132016}
.reward-loot-content .reward-tip.compare-down{color:#df7770;border:1px solid #74433f;background:#211413}
.reward-loot-content .reward-tip.compare-even{color:#aeb3b6;border:1px solid #42474b;background:#151719}
.reward-item-card .reward-heading{margin:0 0 14px;font-family:Georgia,serif;font-size:21px;letter-spacing:.03em;text-transform:none}
.reward-loot-content{margin:0 0 14px;padding:0;text-align:center;border:0}
.reward-item-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 8px;font-size:32px}
.reward-loot-content .reward-item-name{margin:0;font-size:24px;line-height:1.12}
.reward-loot-content .reward-item-kicker{margin-top:5px;font-size:11px;letter-spacing:.06em;color:#9ba3a7}
.reward-loot-content .reward-item-stat{margin-top:10px;font-size:15px;color:#e1e4e6}
.reward-loot-content .reward-tip{margin:10px 0 0;padding:0;border:0;background:transparent;font-size:13px}
.reward-loot-content .reward-tip.better{color:#8fca8d}
.reward-loot-content .reward-tip.worse{color:#df7770}
.reward-loot-content .reward-tip.equal{color:#b9bdc1}
.reward-earned-inline{display:flex;justify-content:center;gap:7px;margin-top:12px;padding:0;border:0;background:transparent;font-size:12px;font-weight:800;color:#969da3}
.reward-earned-inline .reward-xp{color:#9fc6ed}
.reward-earned-inline .reward-gold{color:#df8a50}
.reward-secondary-actions{gap:8px;margin-top:8px}
.reward-action-muted{opacity:.82}
.reward-special{border-color:#7f693d;box-shadow:0 0 0 1px #7f693d55,0 18px 50px #0009}
.reward-special .reward-item-icon{border-radius:50%;background:#241f14;box-shadow:0 0 24px #d8b45b33}
.reward-special .reward-heading{color:#f0cf7c}
.reward-common .reward-item-icon{font-size:28px;opacity:.9}
@media(max-width:480px){
  .reward-item-card .reward-heading{font-size:19px}
  .reward-loot-content .reward-item-name{font-size:22px}
  .reward-secondary-actions{grid-template-columns:1fr 1fr}
}
.reward-loot-content .reward-item-stat .compare-up{color:#8fca8d}
.reward-loot-content .reward-item-stat .compare-down{color:#df7770}
.reward-loot-content .reward-item-stat .compare-even{color:#9ba3a7}
.reward-loot-content .reward-tip:empty{display:none}
.reward-loot-content .reward-item-stat{display:grid;justify-items:center;gap:3px}
.battle-result-panel{display:grid;place-items:center;min-height:205px;padding:8px 0 4px}
.battle-result-panel[hidden]{display:none}
.battle-result-card{width:min(390px,100%);padding:12px 14px;border:1px solid #4a4437;border-radius:12px;background:linear-gradient(180deg,#17191b,#101214);text-align:center;box-shadow:0 12px 34px #0008}
.battle-result-card .reward-heading{margin:0 0 8px;font-family:Georgia,serif;font-size:22px;color:#f0d37c}
.battle-result-card .reward-earned-flat{margin:0 0 8px;padding:7px 10px}
.battle-result-card .reward-earned-values{margin:0;display:flex;justify-content:center;gap:24px;font-size:15px;font-weight:900}
.battle-result-card .reward-xp{color:#9fc6ed}
.battle-result-card .reward-gold{color:#df8a50}
.battle-result-card .reward-loot-content{margin:2px 0 8px}
.battle-result-card .reward-item-icon{margin-bottom:3px}
.battle-result-card .reward-item-stat{display:grid;justify-items:center;gap:2px}
.battle-result-card .reward-secondary-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px}
.battle-result-card .reward-main-action{width:100%}
.battle-result-card .reward-empty-text{padding:12px 8px;color:#a1a7ac}
.reward-result-resolving{animation:reward-result-resolve .24s ease forwards}
@keyframes reward-result-resolve{to{transform:translateY(-14px) scale(.985);opacity:0}}
@media(max-width:480px){.battle-result-panel{min-height:190px;padding:6px 0 3px}.battle-result-card{padding:11px 12px}.battle-result-card .reward-heading{font-size:20px}.battle-result-card .reward-secondary-actions{grid-template-columns:1fr 1fr}}
.reward-level-locked[disabled]{opacity:.72;cursor:not-allowed;border-color:#8f5f45;background:#392922;color:#d9b29d}
.reward-tip.level-lock{color:#e2a37f;font-weight:700;margin-top:4px}
.reward-tip.tutorial-tip{color:#f2d98b;font-weight:800} /* Source replay: css/theme/ashen-core.css */
body.theme-ashen .reward-heading {
  font-family: Georgia, "Times New Roman", serif;
  text-wrap: balance;
} /* Source replay: css/theme/ashen-items-overlays.css */
body.theme-ashen .reward-item-name {
  font-family: Georgia, serif;
  letter-spacing: .01em;
}
body.theme-ashen .reward-item-kicker {
  color: #9a9f99;
}
body.theme-ashen .battle-result-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 .reward-heading {
  color: #d8c28e;
  text-shadow: 0 0 16px rgba(183, 154, 98, .11);
}
body.theme-ashen .reward-earned,
body.theme-ashen .reward-earned-flat {
  border-color: rgba(72, 68, 57, .64);
  background: rgba(5, 8, 7, .65);
}
body.theme-ashen .reward-item-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 4px auto 8px;
  border: 1px solid rgba(112, 96, 71, .66);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(98, 180, 163, .13), rgba(7, 10, 9, .85) 68%);
  box-shadow: 0 0 20px rgba(98, 180, 163, .08), inset 0 0 12px rgba(0, 0, 0, .72);
  font-size: 27px;
  filter: grayscale(.25) sepia(.1);
}
@media (max-width: 760px) {

  body.theme-ashen .reward-item-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
} /* Source replay: css/theme/ashen-legacy-features.css */
.reward-rune-drop { display:flex; flex-direction:column; gap:4px; margin-top:10px; padding:10px 12px; border:1px solid rgba(94,185,171,.45); border-radius:10px; background:rgba(10,34,32,.58); color:#80d4c7; }
.reward-rune-drop span { color:#b7cac7; font-size:13px; }
.reward-rune-drop{flex-direction:row!important;align-items:center;gap:10px!important;text-align:left}
.reward-rune-drop>span:last-child{display:flex;flex-direction:column;gap:2px}
.reward-rune-drop strong{font-size:14px;color:currentColor}
.reward-rune-drop small{font-size:11px;color:#aebbb8}
@media(max-width:430px){
  .reward-rune-drop{align-items:flex-start}
}
body.theme-ashen .battle-result-card,
body.theme-ashen .reward-earned,
body.theme-ashen .reward-earned-flat,
body.theme-ashen .reward-earned-values,
body.theme-ashen .reward-loot-content {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
body.theme-ashen .reward-earned-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  width: 100%;
}
body.theme-ashen .reward-earned-values > span {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 6px;
  border: 1px solid rgba(162, 139, 92, .18);
  border-radius: 8px;
  background: rgba(5, 9, 8, .44);
  line-height: 1.2;
  white-space: normal;
}
body.theme-ashen .reward-earned-values > .reward-relics {
  color: #75c9b6;
}
@media (max-width:560px) {
  body.theme-ashen .reward-earned-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.theme-ashen .reward-earned-values > .reward-relics:not([hidden]) { grid-column:1 / -1; }
}
@media (max-width:360px) {
  body.theme-ashen .reward-earned-values { grid-template-columns:1fr; }
  body.theme-ashen .reward-earned-values > .reward-relics:not([hidden]) { grid-column:auto; }
}
body.theme-ashen .battle-result-card.ruins-reward-compact { max-height:min(68dvh,560px); overflow-y:auto; scrollbar-width:thin; padding:10px 12px; }
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-heading { margin-bottom:5px; font-size:18px; }
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-earned-flat { margin-bottom:5px; padding:5px 8px; }
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-earned-values { gap:10px; flex-wrap:wrap; font-size:12px; }
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-loot-content { margin:0 0 6px; }
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-item-icon { display:none; }
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-item-name { font-size:18px; }
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-item-kicker { margin-top:2px; font-size:9px; }
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-item-stat { margin-top:5px; gap:1px; font-size:12px; }
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-rune-drop { margin:6px 0; padding:7px 8px; }
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-tip { margin-top:5px; font-size:10px; }
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-main-action { min-height:40px; }
@media (max-width:600px) {
  body.theme-ashen .battle-result-card.ruins-reward-compact { max-height:calc(100dvh - 225px); width:100%; }
}
body.theme-ashen .battle-result-card.ruins-reward-compact,
body.theme-ashen .reward-loot-content,
body.theme-ashen .reward-item-stat,
body.theme-ashen .reward-rune-drop {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
body.theme-ashen .battle-result-card.ruins-reward-compact {
  max-height: min(72dvh, 590px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-item-stat,
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-stat-line,
body.theme-ashen .battle-result-card.ruins-reward-compact .item-socket-summary {
  min-width: 0;
  max-width: 100%;
}
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-stat-line {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 4px;
  align-items: baseline;
}
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-stat-comparison {
  min-width: 0;
  white-space: normal;
}
body.theme-ashen .reward-rune-drop { grid-template-columns: 28px minmax(0, 1fr); }
body.theme-ashen .reward-rune-drop > span:last-child { min-width: 0; }
body.theme-ashen .reward-rune-drop strong,
body.theme-ashen .reward-rune-drop small { overflow-wrap: anywhere; }
@media (max-width: 600px) {

  body.theme-ashen .battle-result-card.ruins-reward-compact {
    width: 100%;
    max-height: calc(100dvh - 190px);
    padding: 8px;
  }
  body.theme-ashen .battle-result-card.ruins-reward-compact .reward-heading { font-size: 16px; }
  body.theme-ashen .battle-result-card.ruins-reward-compact .reward-item-name { font-size: 16px; }
  body.theme-ashen .battle-result-card.ruins-reward-compact .reward-earned-values { gap: 7px; font-size: 10px; }
  body.theme-ashen .battle-result-card.ruins-reward-compact .reward-item-stat { font-size: 10px; }
} /* Source replay: css/theme/ashen-polish.css */
body.theme-ashen .reward-loot-content{display:grid;gap:8px}
body.theme-ashen .reward-loot-card-shell{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px;padding:9px 10px;border:1px solid rgba(111,128,119,.28);border-radius:10px;background:rgba(5,9,8,.72)}
body.theme-ashen .reward-loot-card-copy{min-width:0;text-align:left}
body.theme-ashen .reward-loot-card-shell .reward-item-icon{margin:0;width:42px;height:42px;font-size:22px}
body.theme-ashen .reward-loot-card-shell .reward-item-name{margin:0;font-size:18px;line-height:1.15;text-align:left}
body.theme-ashen .reward-loot-card-shell .reward-item-kicker{margin-top:3px;text-align:left}
body.theme-ashen .reward-rune-drop-list{display:grid;gap:6px}
body.theme-ashen .reward-rune-drop-list .reward-rune-drop{margin:0}
@media(max-width:620px){body.theme-ashen .reward-loot-card-shell{grid-template-columns:40px minmax(0,1fr);padding:8px}body.theme-ashen .reward-loot-card-shell .reward-item-icon{width:36px;height:36px;font-size:19px}body.theme-ashen .reward-loot-card-shell .reward-item-name{font-size:16px}}
body.theme-ashen .battle-result-card.common .reward-loot-card-shell{border-left:3px solid #9b9d96}
body.theme-ashen .battle-result-card.uncommon .reward-loot-card-shell{border-left:3px solid #69aa70}
body.theme-ashen .battle-result-card.rare .reward-loot-card-shell{border-left:3px solid #4a9fcf}
body.theme-ashen .battle-result-card.epic .reward-loot-card-shell{border-left:3px solid #c35cf0}
body.theme-ashen .reward-loot-card-copy .reward-item-stat{margin-top:6px}
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-loot-card-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  width:100%;
  min-width:0;
  max-width:100%;
  padding:9px 10px;
  overflow:hidden;
}
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-loot-card-copy{
  grid-column:1/-1;
  width:100%;
  min-width:0;
  max-width:100%;
  text-align:center;
}
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-item-name,
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-item-kicker{
  width:100%;
  max-width:100%;
  text-align:center;
  white-space:normal;
  overflow-wrap:break-word;
  word-break:normal;
}
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-item-stat{width:100%;min-width:0;justify-items:stretch}
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-stat-line{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:baseline;
  gap:2px 5px;
  width:100%;
  min-width:0;
  text-align:center;
}
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-stat-base,
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-stat-comparison{white-space:normal;overflow-wrap:break-word;word-break:normal}
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-secondary-actions{width:100%;min-width:0}
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-secondary-actions button{min-width:0;white-space:normal}
@media(max-width:380px){
  body.theme-ashen .battle-result-card.ruins-reward-compact .reward-loot-card-shell{padding:8px}
  body.theme-ashen .battle-result-card.ruins-reward-compact .reward-item-name{font-size:15px}
}
body.theme-ashen .reward-earned-flat{margin:0 0 8px;padding:0;border:0;background:transparent}
body.theme-ashen .battle-result-card .reward-earned-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;font-size:inherit}
body.theme-ashen .reward-resource{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:6px;min-width:0;padding:7px 8px;border:1px solid rgba(101,124,115,.3);border-radius:9px;background:rgba(4,9,8,.72);text-align:left}
body.theme-ashen .reward-resource-glyph{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,.045);font-size:14px;font-weight:900}
body.theme-ashen .reward-resource small,
body.theme-ashen .reward-resource strong,
body.theme-ashen .reward-resource em{display:block;min-width:0}
body.theme-ashen .reward-resource small{color:#86938e;font-size:8px;line-height:1.1;letter-spacing:.06em;text-transform:uppercase}
body.theme-ashen .reward-resource strong{margin-top:2px;font-size:15px;line-height:1;color:#d9ddd7}
body.theme-ashen .reward-resource em{margin-top:3px;color:#8bbeb3;font-size:7.5px;line-height:1.15;font-style:normal}
body.theme-ashen .reward-resource-xp .reward-resource-glyph,
body.theme-ashen .reward-resource-xp strong{color:#9ec9f3}
body.theme-ashen .reward-resource-gold .reward-resource-glyph,
body.theme-ashen .reward-resource-gold strong{color:#e7a05a}
body.theme-ashen .reward-resource-relics .reward-resource-glyph,
body.theme-ashen .reward-resource-relics strong{color:#70d2c4}
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-loot-card-shell{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:9px;padding:9px 10px;overflow:visible}
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-loot-card-shell .reward-item-icon{display:grid;width:38px;height:38px;margin:0;font-size:20px}
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-loot-card-copy{grid-column:auto;width:auto;min-width:0;text-align:left}
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-item-name,
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-item-kicker{width:auto;text-align:left}
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-item-stat{margin-top:7px;text-align:left}
body.theme-ashen .battle-result-card.ruins-reward-compact .reward-stat-line{justify-content:flex-start;text-align:left}
body.theme-ashen .battle-result-card.ruins-reward-compact .item-socket-summary,
body.theme-ashen .battle-result-card.ruins-reward-compact .item-rune-bonuses{justify-content:flex-start;text-align:left}
@media(max-width:620px){body.theme-ashen .battle-result-card .reward-earned-values{gap:5px}body.theme-ashen .reward-resource{grid-template-columns:20px minmax(0,1fr);gap:5px;padding:6px}body.theme-ashen .reward-resource-glyph{width:20px;height:20px;font-size:12px}body.theme-ashen .reward-resource strong{font-size:13px}}
@media(max-width:380px){body.theme-ashen .reward-resource small{font-size:7px;letter-spacing:.02em}body.theme-ashen .reward-resource em{font-size:6.8px}body.theme-ashen .battle-result-card.ruins-reward-compact .reward-loot-card-shell{grid-template-columns:36px minmax(0,1fr);gap:7px}body.theme-ashen .battle-result-card.ruins-reward-compact .reward-loot-card-shell .reward-item-icon{width:34px;height:34px;font-size:18px}}
body.theme-ashen .battle-result-card{text-align:left}
body.theme-ashen .battle-result-card .reward-heading{margin-bottom:8px;text-align:left;letter-spacing:.035em}
body.theme-ashen .battle-result-card .reward-earned-values{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
}
body.theme-ashen .battle-result-card .reward-resource-relics:not([hidden]){grid-column:1/-1}
body.theme-ashen .reward-resource{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:40px;
  padding:6px 8px;
}
body.theme-ashen .reward-resource>span:last-child{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:7px;
  width:100%;
  min-width:0;
}
body.theme-ashen .reward-resource small{font-size:8px;line-height:1.15;white-space:normal}
body.theme-ashen .reward-resource strong{flex:0 0 auto;margin:0;font-size:15px}
body.theme-ashen .reward-resource em{width:100%;margin:2px 0 0;font-size:7.5px}
body.theme-ashen .reward-resource-relics>span:last-child{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
body.theme-ashen .reward-resource-relics em{grid-column:1/-1}
body.theme-ashen .battle-result-card .reward-loot-content{margin:8px 0 10px;padding:0 0 10px;text-align:left}
body.theme-ashen .battle-result-card .reward-loot-card-shell{align-items:start;text-align:left}
body.theme-ashen .battle-result-card .reward-loot-card-copy,
body.theme-ashen .battle-result-card .reward-item-name,
body.theme-ashen .battle-result-card .reward-item-kicker,
body.theme-ashen .battle-result-card .reward-item-stat,
body.theme-ashen .battle-result-card .reward-stat-line,
body.theme-ashen .battle-result-card .reward-stat-base,
body.theme-ashen .battle-result-card .reward-stat-comparison,
body.theme-ashen .battle-result-card .item-socket-summary,
body.theme-ashen .battle-result-card .item-rune-bonuses{
  text-align:left;
}
body.theme-ashen .battle-result-card .reward-item-stat{width:100%;min-width:0}
body.theme-ashen .battle-result-card .reward-stat-list{display:grid;gap:3px;justify-items:start}
body.theme-ashen .battle-result-card .reward-stat-line{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  align-items:baseline;
  gap:2px 5px;
  width:100%;
  min-width:0;
}
body.theme-ashen .battle-result-card .reward-item-kicker{margin-top:3px}
body.theme-ashen .battle-result-card .reward-secondary-actions{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
}
body.theme-ashen .battle-result-card .reward-main-action,
body.theme-ashen .battle-result-card .reward-secondary-actions button{
  min-height:46px;
  padding:9px 8px;
  font-size:15px;
  line-height:1.12;
}
body.theme-ashen .battle-result-card .reward-secondary-actions button{min-width:0;white-space:normal}
@media(max-width:620px){
  body.theme-ashen .battle-result-card .reward-heading{font-size:20px}
  body.theme-ashen .reward-resource-glyph{width:22px;height:22px;font-size:12px}
  body.theme-ashen .battle-result-card .reward-loot-card-shell{grid-template-columns:38px minmax(0,1fr);gap:8px;padding:8px 9px}
  body.theme-ashen .battle-result-card .reward-loot-card-shell .reward-item-icon{width:34px;height:34px;font-size:18px}
  body.theme-ashen .battle-result-card .reward-loot-card-shell .reward-item-name{font-size:16px}
}
@media(max-width:380px){
  body.theme-ashen .battle-result-card .reward-secondary-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.theme-ashen .battle-result-card .reward-main-action,
body.theme-ashen .battle-result-card .reward-secondary-actions button{font-size:13px;padding:8px 5px}
  body.theme-ashen .reward-resource{padding:5px 6px;gap:5px}
  body.theme-ashen .reward-resource small{font-size:7.5px}
  body.theme-ashen .reward-resource strong{font-size:13px}
}
body.theme-ashen .battle-result-card .reward-loot-card-copy,
body.theme-ashen .battle-result-card .reward-item-name,
body.theme-ashen .battle-result-card .reward-item-kicker,
body.theme-ashen .battle-result-card .reward-item-stat,
body.theme-ashen .battle-result-card .reward-stat-list,
body.theme-ashen .battle-result-card .reward-stat-line {
  text-align:left !important;
  justify-items:start !important;
}
body.theme-ashen .battle-result-card .reward-loot-card-copy,
body.theme-ashen .battle-result-card .reward-item-stat,
body.theme-ashen .battle-result-card .reward-stat-list,
body.theme-ashen .battle-result-card .reward-stat-line {
  width:100%;
  min-width:0;
} /* Source replay: css/hero-profile.css */
.reward-item-icon>.item-icon{width:100%;height:100%;border-radius:10px}
body.theme-ashen .battle-result-card .reward-earned-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:100%}
body.theme-ashen .battle-result-card .reward-resource{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px;padding:9px 10px;border:1px solid rgba(110,126,117,.5);border-radius:10px;background:linear-gradient(145deg,rgba(14,20,17,.94),rgba(4,8,7,.96));box-shadow:inset 0 1px rgba(255,255,255,.025);text-align:left}
body.theme-ashen .battle-result-card .reward-resource-relics:not([hidden]){grid-column:1/-1}
body.theme-ashen .battle-result-card .reward-resource-glyph{width:30px;height:30px;border:1px solid currentColor;border-radius:50%;background:rgba(255,255,255,.035);font-size:16px}
body.theme-ashen .battle-result-card .reward-resource small{font-size:9px;letter-spacing:.08em;color:#9aa59f}
body.theme-ashen .battle-result-card .reward-resource strong{font-size:18px;line-height:1.05;text-shadow:0 0 10px currentColor}
body.theme-ashen .battle-result-card .reward-loot-card-shell{padding:11px 12px;border-width:1px 1px 1px 4px;background:linear-gradient(100deg,rgba(13,20,17,.96),rgba(4,8,7,.97));box-shadow:inset 0 1px rgba(255,255,255,.025)}
body.theme-ashen .battle-result-card.uncommon .reward-loot-card-shell{border-color:rgba(103,167,111,.72);border-left-color:#67a76f}
body.theme-ashen .battle-result-card.rare .reward-loot-card-shell{border-color:rgba(85,168,215,.74);border-left-color:#55a8d7}
body.theme-ashen .battle-result-card.epic .reward-loot-card-shell{border-color:rgba(202,105,239,.78);border-left-color:#ca69ef}
body.theme-ashen .battle-result-card .reward-loot-card-shell .reward-item-icon{width:46px;height:46px}
body.theme-ashen .battle-result-card .reward-loot-card-shell .reward-item-name{font-size:19px}
@media(max-width:520px){
  body.theme-ashen .battle-result-card .reward-resource{grid-template-columns:27px minmax(0,1fr);padding:8px}body.theme-ashen .battle-result-card .reward-resource-glyph{width:27px;height:27px}body.theme-ashen .battle-result-card .reward-resource strong{font-size:16px}
} /* Source replay: css/v0.9.3.css */
body.theme-ashen .reward-item-kicker { font-size: var(--ff-text-caption); }
body.theme-ashen .reward-resource small,
body.theme-ashen .reward-resource em { font-size: 10px !important; } /* Source replay: css/v0.9.5.css */
body.theme-ashen .battle-result-card .reward-loot-card-shell {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 10px 11px;
  overflow: hidden;
}
body.theme-ashen .battle-result-card .reward-loot-card-shell .reward-item-icon {
  position: relative;
  z-index: 1;
  grid-column: 1;
  width: 56px;
  height: 56px;
  min-width: 56px;
  margin: 0;
  border-radius: 12px;
}
body.theme-ashen .battle-result-card .reward-loot-card-shell .reward-item-icon > .item-icon {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
}
body.theme-ashen .battle-result-card .reward-loot-card-copy {
  grid-column: 2;
  min-width: 0;
  overflow: hidden;
}
body.theme-ashen .battle-result-card .reward-loot-card-shell .reward-item-name {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 19px;
  line-height: 1.08;
}
body.theme-ashen .battle-result-card .reward-item-kicker,
body.theme-ashen .battle-result-card .reward-item-stat,
body.theme-ashen .battle-result-card .reward-stat-line {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 420px) {
  body.theme-ashen .battle-result-card .reward-loot-card-shell {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 9px;
    padding: 9px 10px;
  }
  body.theme-ashen .battle-result-card .reward-loot-card-shell .reward-item-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
  }
  body.theme-ashen .battle-result-card .reward-loot-card-shell .reward-item-name { font-size: 18px; }
} /* Source replay: css/v0.9.8.css */
body.theme-ashen .battle-result-card .reward-loot-card-shell {
  display: grid !important;
  grid-template-columns: 70px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 12px !important;
  min-width: 0 !important;
  padding: 11px 12px !important;
  overflow: hidden !important;
}
body.theme-ashen .battle-result-card .reward-loot-card-shell .reward-item-icon {
  position: relative !important;
  grid-column: 1 !important;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  margin: 0 !important;
  overflow: hidden !important;
}
body.theme-ashen .battle-result-card .reward-loot-card-shell .reward-item-icon > .item-icon {
  width: 58px !important;
  height: 58px !important;
  max-width: 58px !important;
  max-height: 58px !important;
}
body.theme-ashen .battle-result-card .reward-loot-card-copy {
  position: static !important;
  grid-column: 2 !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-align: left !important;
}
body.theme-ashen .battle-result-card .reward-item-name,
body.theme-ashen .battle-result-card .reward-item-kicker,
body.theme-ashen .battle-result-card .reward-item-stat {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  line-height: 1.25 !important;
  overflow-wrap: anywhere !important;
}
body.theme-ashen .battle-result-card .reward-item-kicker { margin-top: 4px !important; }
body.theme-ashen .battle-result-card .reward-item-stat { margin-top: 7px !important; }
@media(max-width:380px){
  body.theme-ashen .battle-result-card .reward-loot-card-shell {
    grid-template-columns: 60px minmax(0, 1fr) !important;
    column-gap: 9px !important;
    padding: 9px 10px !important;
  }
  body.theme-ashen .battle-result-card .reward-loot-card-shell .reward-item-icon,
body.theme-ashen .battle-result-card .reward-loot-card-shell .reward-item-icon > .item-icon {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
  }
} /* Source replay: css/v0.9.30.css */
body.theme-ashen .reward-equip-comparison{display:grid;gap:5px;width:100%;margin-top:5px}
body.theme-ashen .reward-compare-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:0 1px}
body.theme-ashen .reward-compare-heading span{color:#8ea59a;font-size:7.5px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
body.theme-ashen .reward-compare-heading strong{color:#76df91;font-size:10px;text-align:right}
body.theme-ashen .reward-compare-heading.neutral strong{color:#b8b09d}
body.theme-ashen .reward-compare-row{display:grid;grid-template-columns:minmax(86px,.7fr) minmax(0,1.3fr);gap:5px 8px;align-items:center;padding:5px 6px;border:1px solid rgba(133,141,129,.26);border-radius:7px;background:rgba(2,9,7,.55)}
body.theme-ashen .reward-compare-row.recommended{border-color:rgba(82,205,112,.7);box-shadow:inset 3px 0 0 rgba(82,205,112,.72);background:linear-gradient(90deg,rgba(27,89,42,.18),rgba(2,9,7,.68))}
body.theme-ashen .reward-compare-row.worse{border-color:rgba(180,91,79,.3)}
body.theme-ashen .reward-compare-slot{display:grid;gap:1px;min-width:0}
body.theme-ashen .reward-compare-slot strong{color:#e2d6b8;font-size:9px}
body.theme-ashen .reward-compare-slot small{overflow:hidden;color:#807f76;font-size:7px;text-overflow:ellipsis;white-space:nowrap}
body.theme-ashen .reward-compare-metrics{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:3px 7px;min-width:0}
body.theme-ashen .reward-compare-metric{display:grid;grid-template-columns:auto auto;gap:0 4px;align-items:baseline;white-space:nowrap}
body.theme-ashen .reward-compare-metric small{grid-column:1/-1;color:#8d958f;font-size:6.5px;text-transform:uppercase}
body.theme-ashen .reward-compare-metric b{color:#c7beaa;font-size:8px;font-weight:700}
body.theme-ashen .reward-compare-metric strong{font-size:8px;text-align:right}
body.theme-ashen .reward-compare-style{grid-column:1/-1;color:#a49b88;font-size:7px;text-align:right}
body.theme-ashen .reward-compare-no-change{color:#858f89;font-size:8px}
body.theme-ashen .battle-result-card .reward-item-stat>.item-socket-summary{margin-top:5px}
@media(max-width:380px){
  body.theme-ashen .reward-compare-row{grid-template-columns:minmax(76px,.65fr) minmax(0,1.35fr);gap:4px 6px;padding:5px}
  body.theme-ashen .reward-compare-metrics{gap:2px 5px}
  body.theme-ashen .reward-compare-metric b,
body.theme-ashen .reward-compare-metric strong{font-size:7.5px}
} /* Source replay: css/v0.9.31.css */
body.theme-ashen .reward-card-scroll{
  min-width:0;
}
body.theme-ashen .reward-action-dock{
  display:grid;
  gap:7px;
  min-width:0;
}
body.theme-ashen .reward-action-dock .reward-secondary-actions{
  margin-top:0;
}
@media(max-width:620px){
  html.reward-flow-open,
html.reward-flow-open body.theme-ashen{
    overflow:hidden;
    overscroll-behavior:none;
  }
  body.theme-ashen.reward-flow-open .battle-result-panel{
    position:fixed;
    z-index:29;
    top:var(--reward-panel-top,6px);
    bottom:var(--reward-panel-bottom,calc(var(--bottom-nav-height,58px) + env(safe-area-inset-bottom) + 6px));
    left:50%;
    width:min(720px,calc(100% - 6px));
    min-height:0;
    padding:0;
    transform:translateX(-50%);
    overflow:hidden;
    background:linear-gradient(180deg,rgba(4,8,7,.97),rgba(2,6,5,.985));
    box-shadow:0 -10px 28px rgba(0,0,0,.34);
  }
  body.theme-ashen.reward-flow-open .battle-result-card,
body.theme-ashen.reward-flow-open .battle-result-card.ruins-reward-compact{
    display:grid;
    grid-template-rows:minmax(0,1fr) auto;
    width:100%;
    height:100%;
    max-height:none;
    min-height:0;
    padding:0;
    overflow:hidden;
    border-radius:10px 10px 0 0;
  }
  body.theme-ashen.reward-flow-open .reward-card-scroll{
    min-height:0;
    padding:10px 12px 8px;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
    scrollbar-width:thin;
  }
  body.theme-ashen.reward-flow-open .reward-action-dock{
    position:relative;
    z-index:2;
    padding:8px 12px 9px;
    border-top:1px solid rgba(117,105,76,.55);
    background:linear-gradient(180deg,rgba(10,15,13,.98),rgba(4,8,7,.995));
    box-shadow:0 -12px 24px rgba(0,0,0,.46);
  }
  body.theme-ashen.reward-flow-open .reward-action-dock .reward-main-action,
body.theme-ashen.reward-flow-open .reward-action-dock .reward-secondary-actions button{
    min-height:42px;
  }
  body.theme-ashen.reward-flow-open .reward-rune-drop-list{
    overflow:visible;
  }
}
@media(max-width:380px){
  body.theme-ashen.reward-flow-open .reward-card-scroll{
    padding:8px 9px 7px;
  }
  body.theme-ashen.reward-flow-open .reward-action-dock{
    padding:7px 9px 8px;
  }
} /* Source replay: css/v0.9.49.css */
body.theme-ashen :is( .opening-action, .reward-main-action, .quest-claim, .shop-tutorial-offer .tutorial-ready, .progress-reset-card .primary ){
  height:var(--ui-button-prominent-height)!important;
  min-height:var(--ui-button-prominent-height)!important;
  max-height:var(--ui-button-prominent-height)!important;
} /* Source replay: css/v0.10.0-rc28.css */
body.theme-ashen .battle-result-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 {grid-row:auto}
@media(max-width:620px) {
  body.theme-ashen .battle-result-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;
  }
} /* Source replay: css/v0.10.0-rc31.css */
body.theme-ashen .battle-result-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 {grid-row:auto}
@media(max-width:620px) {
  body.theme-ashen .battle-result-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;
  }
}
.reward-loot-content{display:grid;gap:9px}
.reward-loot-content>.item-surface-card{width:100%;box-sizing:border-box}
.reward-tip:empty{display:none} /* Source replay: css/v0.10.0-rc36.css */
body.theme-ashen .reward-atmosphere{
  margin:-1px 0 8px;
  padding:8px 10px;
  border-left:2px solid rgba(91,179,154,.62);
  background:rgba(8,24,20,.44);
  color:#aebbb4;
  font-size:11px;
  line-height:1.42;
}
@media(max-width:620px){
  body.theme-ashen.reward-flow-open .battle-result-panel{
    display:flex!important;
    align-items:flex-start!important;
    justify-content:center!important;
    overflow-y:auto!important;
    padding:8px 4px 14px!important;
  }
  body.theme-ashen.reward-flow-open .battle-result-card,
body.theme-ashen.reward-flow-open .battle-result-card.ruins-reward-compact{
    display:grid!important;
    grid-template-rows:auto auto!important;
    width:min(560px,100%)!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    padding:11px 12px 12px!important;
    border-radius:12px!important;
  }
  body.theme-ashen.reward-flow-open .reward-card-scroll{
    min-height:0!important;
    padding:0!important;
    overflow:visible!important;
  }
  body.theme-ashen.reward-flow-open .reward-action-dock{
    position:static!important;
    display:grid!important;
    gap:7px!important;
    margin-top:4px!important;
    padding:10px 0 0!important;
    border-top:1px solid rgba(117,105,76,.4)!important;
    background:none!important;
    box-shadow:none!important;
  }
  body.theme-ashen.reward-flow-open .reward-action-dock .reward-main-action,
body.theme-ashen.reward-flow-open .reward-action-dock .reward-secondary-actions button{
    min-height:46px!important;
    height:auto!important;
    flex:0 0 auto!important;
  }
  body.theme-ashen.reward-flow-open .reward-secondary-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    min-height:0!important;
  }
}
@media(max-width:340px){
  body.theme-ashen.reward-flow-open .reward-secondary-actions{grid-template-columns:1fr!important}
} /* Consolidated from 15 active historical files: 328 rules, 378 selectors, 2 keyframes. */
