
:root{--bg:#06101c;--panel:#0e1c2d;--panel2:#142a43;--text:#f5f7fb;--muted:#9db0c4;--gold:#d8b86c;--line:rgba(255,255,255,.09);--green:#64d682;--red:#ff7b7b}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);font-family:"Noto Sans TC","Microsoft JhengHei",system-ui,sans-serif;background:radial-gradient(circle at 50% -10%,rgba(48,88,137,.28),transparent 35%),linear-gradient(180deg,#071321,var(--bg));min-height:100vh}a{color:inherit;text-decoration:none}.shell{width:min(1160px,calc(100% - 28px));margin:auto}.topbar{position:sticky;top:0;z-index:30;background:rgba(5,14,25,.86);backdrop-filter:blur(15px);border-bottom:1px solid var(--line)}.topbar-inner{height:64px;display:flex;align-items:center;justify-content:space-between}.brand{font-weight:900}.brand span{color:var(--gold)}.nav{display:flex;gap:17px;color:var(--muted);font-size:14px}.nav a:hover,.nav .active{color:var(--text)}.hero{text-align:center;padding:70px 0 42px}.eyebrow{font-size:12px;letter-spacing:.14em;color:var(--gold);font-weight:900}.hero h1{font-size:clamp(40px,7vw,72px);margin:11px 0}.hero p{color:var(--muted);max-width:720px;margin:auto;line-height:1.8}.home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding-bottom:65px}.home-card{min-height:220px;padding:24px;border-radius:23px;border:1px solid var(--line);background:radial-gradient(circle at 90% 10%,rgba(216,184,108,.13),transparent 30%),linear-gradient(155deg,#152b45,#091624);display:grid;grid-template-columns:104px 1fr;align-items:center;gap:21px;box-shadow:0 18px 50px rgba(0,0,0,.28);transition:.18s}.home-card:hover{transform:translateY(-4px);border-color:rgba(216,184,108,.45)}.home-card.wide{grid-column:1/-1}.home-icon{width:104px;height:104px;border:1px solid rgba(216,184,108,.26);border-radius:24px;background:#0d1d30;display:grid;place-items:center;color:var(--gold);font-weight:900;font-size:25px}.home-card h2{margin:4px 0 10px;font-size:27px}.home-card p{color:var(--muted);line-height:1.7;margin:0 0 15px}.kicker{color:var(--gold);font-size:12px;letter-spacing:.12em;font-weight:900}.link-label{color:#f1d99a;font-size:14px;font-weight:800}.page-head{padding:40px 0 20px}.page-head h1{font-size:38px;margin:0 0 8px}.page-head p{color:var(--muted)}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.search,.select{background:#0a1727;color:var(--text);border:1px solid var(--line);border-radius:13px;padding:12px 14px}.search{flex:1;min-width:220px}.tabs{display:flex;gap:8px;overflow:auto;padding-bottom:5px;margin-bottom:18px}.tab{white-space:nowrap;border:1px solid var(--line);background:var(--panel);color:var(--muted);padding:10px 14px;border-radius:999px;cursor:pointer}.tab.active{color:var(--text);border-color:rgba(216,184,108,.48);background:var(--panel2)}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.card{border:1px solid var(--line);border-radius:18px;background:linear-gradient(160deg,rgba(19,38,62,.97),rgba(8,20,34,.98));padding:16px;box-shadow:0 13px 34px rgba(0,0,0,.22)}.card img{width:78px;height:78px;object-fit:cover;border-radius:15px;display:block;margin-bottom:13px}.card h3{margin:0 0 5px;font-size:18px}.meta{color:var(--gold);font-size:12px;font-weight:800;margin-bottom:10px}.desc{color:var(--muted);line-height:1.65;font-size:14px}.chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.chip{border:1px solid var(--line);border-radius:999px;padding:6px 8px;color:var(--muted);font-size:11px}.status-ok{color:var(--green)}.status-wait{color:#f1c86f}.empty{min-height:190px;border:1px dashed rgba(255,255,255,.15);border-radius:16px;display:grid;place-items:center;text-align:center;color:var(--muted);padding:20px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-bottom:22px}.stat{background:var(--panel);border:1px solid var(--line);border-radius:15px;padding:14px}.stat span{display:block;color:var(--muted);font-size:12px}.stat strong{display:block;font-size:24px;margin-top:5px}.role-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:25px}.role-link{position:relative;display:block;border-radius:18px;overflow:hidden;transition:.18s;box-shadow:0 10px 26px rgba(0,0,0,.18)}.role-link:hover{transform:translateY(-4px);box-shadow:0 15px 34px rgba(0,0,0,.28)}.role-strip img{width:100%;display:block;border-radius:18px;border:1px solid var(--line);transition:.18s}.role-link:hover img{border-color:rgba(216,184,108,.58);filter:brightness(1.07)}.role-link span{position:absolute;left:9px;right:9px;bottom:9px;padding:6px 8px;border-radius:10px;background:rgba(5,14,25,.78);backdrop-filter:blur(6px);border:1px solid rgba(216,184,108,.24);font-size:12px;font-weight:900;color:#f1d99a;text-align:center}footer{margin-top:60px;border-top:1px solid var(--line);padding:24px 0 38px;color:var(--muted);font-size:13px}
@media(max-width:900px){.grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.nav{display:none}.home-grid{grid-template-columns:1fr}.home-card,.home-card.wide{grid-column:auto;grid-template-columns:80px 1fr;min-height:180px;padding:18px}.home-icon{width:80px;height:80px;border-radius:19px;font-size:19px}.grid{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.role-strip{grid-template-columns:repeat(2,1fr)}}@media(max-width:440px){.grid{grid-template-columns:1fr}.card{display:grid;grid-template-columns:76px 1fr;column-gap:13px}.card img{width:76px;height:76px;grid-row:1/5}.card .chips{grid-column:1/-1}.role-strip{grid-template-columns:1fr 1fr}}

/* 正式玩家頁：導覽置中、符文遊戲式分列 */
.topbar-inner{
  position:relative;
  justify-content:flex-start;
}
.brand{z-index:2}
.nav{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  align-items:center;
}
.rune-tabs{
  display:flex;
  justify-content:center;
  gap:10px;
  overflow-x:auto;
  padding:4px 2px 10px;
  margin:0 0 22px;
  scrollbar-width:none;
}
.rune-tabs::-webkit-scrollbar{display:none}
.rune-tab{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:9px;
  border:1px solid var(--line);
  background:linear-gradient(160deg,rgba(18,36,58,.97),rgba(8,20,34,.98));
  color:var(--muted);
  min-height:50px;
  padding:8px 15px 8px 9px;
  border-radius:15px;
  cursor:pointer;
  font-weight:800;
}
.rune-tab img{
  width:34px;
  height:34px;
  object-fit:cover;
  border-radius:9px;
}
.rune-tab.active{
  color:var(--text);
  border-color:rgba(216,184,108,.55);
  box-shadow:0 0 0 1px rgba(216,184,108,.12),0 10px 28px rgba(0,0,0,.24);
}
.rune-section{
  margin:0 0 30px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:20px;
  background:rgba(11,25,42,.65);
}
.rune-row-title{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 15px;
  color:#e7d5a4;
  font-size:14px;
  font-weight:900;
}
.rune-row-title::after{
  content:"";
  height:1px;
  flex:1;
  background:var(--line);
}
.rune-row{
  display:grid;
  gap:14px;
  margin-bottom:25px;
}
.rune-row:last-child{margin-bottom:0}
.rune-row.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.rune-row.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.rune-row.cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.rune-card{
  border:1px solid var(--line);
  border-radius:17px;
  background:linear-gradient(160deg,rgba(19,38,62,.98),rgba(8,20,34,.98));
  padding:15px;
  min-width:0;
}
.rune-card-head{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}
.rune-card img{
  width:62px;
  height:62px;
  flex:0 0 62px;
  object-fit:cover;
  border-radius:14px;
}
.rune-card h3{margin:0 0 5px;font-size:17px}
.rune-card .desc{font-size:13px}
.page-head.compact{padding-bottom:14px}
@media(max-width:800px){
  .topbar-inner{height:auto;min-height:64px;display:block;padding:12px 0}
  .brand{display:block;text-align:center;margin-bottom:10px}
  .nav{
    position:static;
    transform:none;
    justify-content:center;
    overflow-x:auto;
    white-space:nowrap;
    padding-bottom:2px;
  }
  .rune-tabs{justify-content:flex-start}
  .rune-row.cols-5,.rune-row.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rune-row.cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
  .nav{font-size:13px;gap:14px}
  .rune-row.cols-5,.rune-row.cols-4,.rune-row.cols-3{grid-template-columns:1fr}
}

.keystone-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.rune-row.cols-1{grid-template-columns:1fr}.rune-row.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.rune-row.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.rune-row.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:900px){.keystone-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.keystone-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.keystone-grid{grid-template-columns:1fr}}

/* ===== Wild Rift Guide V2.1 interactive database layout ===== */
.database-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:22px;
  align-items:start;
}
.database-main{min-width:0}
.detail-panel{
  position:sticky;
  top:88px;
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px;
  background:
    radial-gradient(circle at 85% 12%,rgba(216,184,108,.13),transparent 28%),
    linear-gradient(155deg,rgba(18,37,61,.98),rgba(7,18,31,.99));
  box-shadow:0 20px 55px rgba(0,0,0,.32);
  min-height:420px;
  opacity:1;
  transition:opacity .15s ease,transform .15s ease;
}
.detail-panel.is-changing{opacity:.35;transform:translateY(3px)}
.detail-panel img{
  width:112px;height:112px;object-fit:cover;border-radius:22px;
  border:1px solid rgba(255,255,255,.11);display:block;margin-bottom:18px
}
.detail-panel h2{margin:0 0 6px;font-size:28px}
.detail-meta{color:var(--gold);font-size:13px;font-weight:900;margin-bottom:18px}
.detail-description{color:var(--muted);line-height:1.8}
.detail-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}
.interactive-card,.interactive-icon{
  cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease
}
.interactive-card:hover,.interactive-card.active,
.interactive-icon:hover,.interactive-icon.active{
  transform:translateY(-2px);
  border-color:rgba(216,184,108,.55)!important;
  background:linear-gradient(160deg,rgba(28,53,83,.98),rgba(9,22,37,.99))!important
}
.rune-card.interactive-card .desc{display:none}
.rune-card.interactive-card{min-height:100px}
.spell-icon-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px
}
.spell-icon{
  border:1px solid var(--line);border-radius:18px;padding:14px;
  background:linear-gradient(160deg,rgba(19,38,62,.98),rgba(8,20,34,.98));
  text-align:center
}
.spell-icon img{
  width:76px;height:76px;object-fit:cover;border-radius:16px;
  display:block;margin:0 auto 10px
}
.spell-icon strong{display:block;font-size:16px}
.spell-icon small{display:block;color:var(--muted);margin-top:5px}
.mobile-detail{display:none}
@media(max-width:900px){
  .database-layout{grid-template-columns:1fr}
  .detail-panel{display:none}
  .mobile-detail{
    display:block;
    margin-top:16px;
    border:1px solid var(--line);
    border-radius:18px;
    padding:18px;
    background:linear-gradient(155deg,rgba(18,37,61,.98),rgba(7,18,31,.99))
  }
  .mobile-detail img{width:88px;height:88px;border-radius:18px;object-fit:cover;margin-bottom:12px}
  .mobile-detail h2{margin:0 0 6px}
  .mobile-detail .detail-description{line-height:1.75}
}
@media(max-width:560px){
  .spell-icon-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .spell-icon{padding:10px}
  .spell-icon img{width:60px;height:60px}
  .spell-icon strong{font-size:14px}
}

/* V2.1.1 */
.spell-icon img{
  width:84px;
  height:84px;
  margin:0 auto 12px;
}
.spell-icon strong{
  font-size:16px;
}
.spell-icon small{
  display:none!important;
}
@media(max-width:560px){
  .spell-icon img{
    width:68px;
    height:68px;
  }
}

/* ===== V3 shoes ===== */
.item-tabs,.shoe-level-tabs{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none}
.item-tabs{margin:0 0 18px}.shoe-level-tabs{margin-bottom:16px}
.item-tab,.shoe-level{
  flex:0 0 auto;border:1px solid var(--line);background:var(--panel);
  color:var(--muted);padding:10px 16px;border-radius:999px;cursor:pointer;font-weight:800
}
.item-tab.active,.shoe-level.active{color:var(--text);border-color:rgba(216,184,108,.55);background:var(--panel2)}
.item-icon-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.item-icon{
  border:1px solid var(--line);border-radius:18px;padding:14px;text-align:center;
  background:linear-gradient(160deg,rgba(19,38,62,.98),rgba(8,20,34,.98))
}
.item-icon img{width:82px;height:82px;object-fit:cover;border-radius:15px;display:block;margin:0 auto 10px}
.item-icon strong{display:block;font-size:15px}.item-icon small{display:block;color:var(--muted);margin-top:5px}
.item-detail-panel{min-height:630px}
.item-stats{list-style:none;padding:0;margin:0 0 18px}
.item-stats li{padding:6px 0;color:#7de49a;font-weight:800}
.item-passives{border-top:1px solid var(--line);padding-top:14px;color:var(--muted);line-height:1.75}
.item-passives p{margin:0 0 12px}
.build-tree{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}
.build-tree h3{margin:0 0 13px;font-size:15px;color:#e7d5a4}
.build-tree .upgrade-title{margin-top:18px}
.tree-level{display:flex;justify-content:center;gap:16px}
.tree-materials{flex-wrap:wrap}
.build-node{border:1px solid var(--line);background:#0b192a;border-radius:12px;padding:8px;color:var(--text);cursor:pointer}
.build-node:hover{border-color:rgba(216,184,108,.5)}
.build-node img{width:52px;height:52px;border-radius:9px;margin:0 auto 6px}
.build-node span{display:block;font-size:11px;max-width:82px}
.tree-line{width:1px;height:22px;background:rgba(255,255,255,.2);margin:auto}
.tree-branch{width:55%;height:22px;margin:auto;border-top:1px solid rgba(255,255,255,.2);border-left:1px solid rgba(255,255,255,.2);border-right:1px solid rgba(255,255,255,.2)}
@media(max-width:900px){.item-icon-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.item-icon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Wild Rift Guide V2.2－召喚師技能官方文字配色 */
.effect-health{
  color:#63d98a;
  font-weight:800;
}
.effect-white{
  color:#f7f8fb;
  font-weight:800;
}
.effect-grievous{
  color:#c7a0ff;
  font-weight:800;
}

/* Complete rebuild equipment page */
.item-tabs{display:flex;gap:9px;overflow-x:auto;margin-bottom:18px}
.item-tab{flex:0 0 auto;border:1px solid var(--line);background:var(--panel);color:var(--muted);padding:10px 18px;border-radius:999px;cursor:pointer;font-weight:900}
.item-tab.active{color:var(--text);border-color:rgba(216,184,108,.65);background:var(--panel2)}
.item-stage-section{margin-bottom:34px}
.item-stage-section>h2{font-size:18px;color:#e7d5a4;margin:0 0 14px;padding-bottom:9px;border-bottom:1px solid var(--line)}
.item-icon-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.item-icon{border:1px solid var(--line);border-radius:18px;padding:14px;text-align:center;background:linear-gradient(160deg,rgba(19,38,62,.98),rgba(8,20,34,.98));cursor:pointer;transition:.15s}
.item-icon:hover,.item-icon.active{transform:translateY(-2px);border-color:rgba(216,184,108,.55);background:linear-gradient(160deg,rgba(28,53,83,.98),rgba(9,22,37,.99))}
.item-icon img{width:82px;height:82px;object-fit:cover;border-radius:15px;display:block;margin:0 auto 10px}
.item-icon strong{display:block;font-size:15px}
.item-price,.detail-price{display:block;color:#d8b86c;font-weight:900;margin-top:6px}
.item-detail-panel{min-height:560px}
.item-stats{list-style:none;padding:0;margin:16px 0}
.item-stats li{padding:6px 0;color:#7de49a;font-weight:800}
.item-passives{border-top:1px solid var(--line);padding-top:14px;color:var(--muted);line-height:1.75}
.item-passives p{margin:0 0 12px}
.build-tree{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}
.build-tree h3{margin:0 0 13px;font-size:15px;color:#e7d5a4}
.build-tree .upgrade-title{margin-top:18px}
.tree-level{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}
.build-node{border:1px solid var(--line);background:#0b192a;border-radius:12px;padding:8px;color:var(--text);cursor:pointer}
.build-node img{width:52px!important;height:52px!important;border-radius:9px!important;margin:0 auto 6px!important}
.build-node span{display:block;font-size:11px;max-width:84px}
.tree-branch{width:55%;height:22px;margin:auto;border-top:1px solid rgba(255,255,255,.2);border-left:1px solid rgba(255,255,255,.2);border-right:1px solid rgba(255,255,255,.2)}
@media(max-width:900px){.item-icon-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.item-icon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ===== Equipment Detail V2：攻略資料卡風格 ===== */
.item-detail-panel,
.mobile-detail{
  overflow:hidden;
  padding:0;
  border-radius:20px;
  background:
    radial-gradient(circle at 90% 4%,rgba(40,181,210,.13),transparent 32%),
    linear-gradient(165deg,#0d2136 0%,#071625 58%,#06111d 100%);
  border:1px solid rgba(93,171,199,.24);
}
.equipment-detail-brand{
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  background:linear-gradient(90deg,#08667b,#0d8095,#08667b);
  color:#eafaff;
  font-size:14px;
  font-weight:900;
  letter-spacing:.2px;
}
.brand-mark{
  font-size:12px;
  font-style:italic;
  border:1px solid rgba(255,255,255,.55);
  border-radius:5px;
  padding:2px 5px;
}
.equipment-detail-header{
  display:grid;
  grid-template-columns:84px minmax(0,1fr) auto;
  gap:15px;
  align-items:center;
  padding:20px 18px 18px;
  border-bottom:1px solid rgba(94,157,186,.28);
}
.equipment-detail-icon img{
  width:82px!important;
  height:82px!important;
  margin:0!important;
  border-radius:14px!important;
  border:1px solid rgba(216,184,108,.5)!important;
  box-shadow:0 9px 22px rgba(0,0,0,.32);
}
.equipment-detail-title h2{
  font-size:24px;
  line-height:1.2;
  margin:0 0 6px;
}
.equipment-detail-title .detail-meta{
  margin:0 0 8px;
  font-size:12px;
  color:#d8b86c;
}
.detail-categories{display:flex;gap:5px;flex-wrap:wrap}
.detail-categories span{
  padding:3px 8px;
  border-radius:999px;
  background:rgba(83,163,194,.12);
  border:1px solid rgba(83,163,194,.25);
  color:#9dd9eb;
  font-size:11px;
  font-weight:800;
}
.equipment-detail-header .detail-price{
  align-self:start;
  display:flex;
  align-items:center;
  gap:6px;
  margin:2px 0 0;
  color:#f0c85d;
  font-size:20px;
  white-space:nowrap;
}
.coin-icon{
  color:#f0c85d;
  font-size:12px;
  filter:drop-shadow(0 0 4px rgba(240,200,93,.28));
}
.equipment-detail-section{
  margin:0 16px;
  padding:17px 2px;
  border-bottom:1px solid rgba(94,157,186,.22);
}
.equipment-detail-section h3,
.item-detail-panel .build-tree>h3,
.mobile-detail .build-tree>h3{
  margin:0 0 12px;
  color:#e8d7aa;
  font-size:13px;
  letter-spacing:.8px;
}
.equipment-detail-section h3::before,
.item-detail-panel .build-tree>h3::before,
.mobile-detail .build-tree>h3::before{
  content:"";
  display:inline-block;
  width:3px;
  height:13px;
  margin-right:8px;
  vertical-align:-2px;
  border-radius:2px;
  background:#2eacc2;
}
.equipment-detail-section .item-stats{
  margin:0;
  display:grid;
  gap:9px;
}
.equipment-detail-section .item-stats li{
  display:flex;
  align-items:center;
  gap:9px;
  padding:0;
  color:#7fe39c;
  font-size:15px;
}
.stat-dot{
  width:8px;
  height:8px;
  flex:0 0 auto;
  border-radius:50%;
  background:#48c982;
  box-shadow:0 0 8px rgba(72,201,130,.35);
}
.detail-empty-note{margin:0;color:#678398;font-size:13px}
.equipment-detail-section .item-passives{
  border:0;
  padding:0;
  color:#b9c8d4;
  line-height:1.75;
}
.passive-entry+ .passive-entry{margin-top:13px}
.passive-entry strong{
  display:block;
  margin-bottom:4px;
  color:#69c6e4;
  font-size:14px;
}
.passive-entry p{margin:0!important}
.item-detail-panel .build-tree,
.mobile-detail .build-tree{
  margin:0 16px;
  padding:17px 2px 20px;
  border:0;
}
.item-detail-panel .build-tree .upgrade-title,
.mobile-detail .build-tree .upgrade-title{margin-top:18px}
.item-detail-panel .build-node,
.mobile-detail .build-node{
  min-width:72px;
  border-radius:12px;
  background:rgba(10,30,48,.94);
  border-color:rgba(94,157,186,.25);
}
.item-detail-panel .build-node:hover,
.mobile-detail .build-node:hover{
  border-color:rgba(216,184,108,.62);
  transform:translateY(-1px);
}
@media(max-width:900px){
  .mobile-detail{padding:0}
}
@media(max-width:420px){
  .equipment-detail-header{grid-template-columns:68px minmax(0,1fr);padding:16px 14px}
  .equipment-detail-icon img{width:66px!important;height:66px!important}
  .equipment-detail-title h2{font-size:20px}
  .equipment-detail-header .detail-price{grid-column:2;font-size:16px;margin-top:-4px}
}

/* ===== Hero Database V1 · Smolder pilot ===== */
.hero-page{padding-bottom:20px}.hero-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.hero-page-head h1{margin-top:7px}.hero-version-badge{min-width:210px;border:1px solid rgba(216,184,108,.26);border-radius:16px;background:linear-gradient(150deg,rgba(20,43,68,.96),rgba(7,18,31,.98));padding:12px 15px;text-align:right}.hero-version-badge span{display:block;color:var(--gold);font-size:11px;font-weight:900;letter-spacing:.12em}.hero-version-badge strong{display:block;margin-top:4px;font-size:14px}.hero-role-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin:6px 0 20px}.hero-role-tab{border:1px solid var(--line);border-radius:17px;background:linear-gradient(160deg,rgba(17,35,57,.96),rgba(8,20,34,.98));padding:10px 12px;color:var(--muted);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:900;transition:.15s}.hero-role-tab img{width:36px;height:36px;object-fit:cover;border-radius:9px}.hero-role-tab:hover,.hero-role-tab.active{color:var(--text);transform:translateY(-2px);border-color:rgba(216,184,108,.5);box-shadow:0 10px 25px rgba(0,0,0,.2)}.hero-database-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px;align-items:start}.hero-list-panel{position:sticky;top:84px;border:1px solid var(--line);border-radius:20px;padding:16px;background:linear-gradient(160deg,rgba(17,35,57,.97),rgba(7,18,31,.99));box-shadow:0 18px 45px rgba(0,0,0,.22)}.hero-list-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.hero-list-heading h2{margin:2px 0 0;font-size:24px}.hero-list-kicker{font-size:10px;letter-spacing:.14em;color:var(--gold);font-weight:900}.hero-count{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(216,184,108,.28);color:var(--gold);font-weight:900}.hero-tier-legend{display:flex;align-items:center;gap:9px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 0;color:var(--muted);font-size:12px;margin-bottom:12px}.tier-pill{display:inline-flex;align-items:center;justify-content:center;min-width:38px;padding:4px 8px;border-radius:999px;font-weight:1000;font-size:12px}.tier-sp{color:#fff3ca;border:1px solid rgba(243,194,76,.5);background:linear-gradient(135deg,rgba(208,133,31,.45),rgba(116,70,13,.35));box-shadow:inset 0 0 12px rgba(255,205,78,.09)}.hero-list{display:grid;gap:9px}.hero-list-card{width:100%;border:1px solid var(--line);border-radius:15px;background:rgba(8,20,34,.8);color:var(--text);padding:10px;display:grid;grid-template-columns:50px 1fr auto;align-items:center;gap:10px;text-align:left;cursor:pointer;transition:.15s}.hero-list-card:hover,.hero-list-card.active{border-color:rgba(216,184,108,.5);background:rgba(21,43,68,.9);transform:translateY(-1px)}.hero-monogram{width:50px;height:50px;border-radius:14px;display:grid;place-items:center;background:radial-gradient(circle at 35% 28%,#ce7a36,#6f2d1e 55%,#1a1d2c);border:1px solid rgba(246,183,89,.36);font-size:24px;font-weight:1000;color:#ffe9b1}.hero-list-avatar{width:50px;height:50px;border-radius:14px;object-fit:cover;border:1px solid rgba(246,183,89,.36);display:block;background:#0f1a2a}.hero-list-info{min-width:0}.hero-list-info strong,.hero-list-info span,.hero-list-info small{display:block}.hero-list-info strong{font-size:16px}.hero-list-info span{color:var(--gold);font-size:11px;margin-top:1px}.hero-list-info small{color:var(--muted);font-size:11px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero-list-empty,.hero-profile-empty{color:var(--muted);text-align:center;padding:34px 12px}.hero-profile-empty small{display:block;margin-top:8px}.hero-profile{border:1px solid var(--line);border-radius:22px;background:radial-gradient(circle at 88% 1%,rgba(185,104,38,.14),transparent 24%),linear-gradient(165deg,rgba(15,32,52,.98),rgba(6,17,29,.99));box-shadow:0 22px 60px rgba(0,0,0,.26);overflow:hidden}.hero-loading{min-height:400px;display:grid;place-items:center;color:var(--muted)}.hero-profile-hero{display:grid;grid-template-columns:116px minmax(0,1fr);gap:20px;align-items:center;padding:24px 25px;border-bottom:1px solid var(--line)}.hero-avatar{width:116px;height:116px;border-radius:24px}.hero-avatar-image{display:block;object-fit:cover;border:1px solid rgba(237,180,81,.48);box-shadow:0 14px 35px rgba(0,0,0,.3);background:#0f1a2a}.hero-avatar-placeholder{display:grid;place-items:center;align-content:center;background:radial-gradient(circle at 35% 25%,rgba(252,177,73,.72),rgba(138,58,32,.8) 45%,#141c2d 76%);border:1px solid rgba(237,180,81,.48);box-shadow:0 14px 35px rgba(0,0,0,.3)}.hero-avatar-placeholder span{font-size:50px;font-weight:1000;color:#fff3d4;line-height:1}.hero-avatar-placeholder small{font-size:9px;color:#e5c98f;margin-top:9px}.hero-title-row{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.hero-title-row h2{font-size:34px;margin:0}.tier-badge-large{padding:7px 13px;border-radius:12px;background:linear-gradient(135deg,#d58d2b,#70420e);border:1px solid #f3c64f;color:white;font-size:18px;font-weight:1000;box-shadow:0 0 18px rgba(225,165,54,.22)}.hero-en{color:var(--gold);font-size:13px;font-weight:800;margin-top:3px}.hero-position{font-size:16px;margin-top:9px}.hero-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.hero-tags span{font-size:11px;color:#a7d9e8;border:1px solid rgba(74,160,190,.28);background:rgba(38,120,151,.1);padding:5px 8px;border-radius:999px}.hero-summary-box{margin:18px 20px 0;padding:16px 18px;border:1px solid rgba(216,184,108,.22);border-radius:16px;background:rgba(216,184,108,.055)}.hero-summary-box span{display:block;color:var(--gold);font-size:11px;font-weight:900;letter-spacing:.08em}.hero-summary-box p{margin:6px 0 0;line-height:1.7;font-size:15px}.hero-section{margin:0 20px;padding:22px 0;border-bottom:1px solid var(--line)}.hero-section:last-of-type{border-bottom:0}.hero-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.hero-section-title h3{margin:0;font-size:17px}.hero-section-title span{font-size:11px;color:var(--gold);font-weight:800}.hero-ratings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.hero-rating{border:1px solid var(--line);border-radius:14px;background:rgba(8,20,34,.7);padding:11px}.rating-label{display:flex;justify-content:space-between;gap:8px;font-size:12px}.rating-label strong{color:var(--gold)}.rating-stars{color:#edc45d;letter-spacing:1px;margin-top:7px;font-size:12px}.rating-bar{height:4px;background:rgba(255,255,255,.08);border-radius:99px;margin-top:8px;overflow:hidden}.rating-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#b86a28,#e7bd55)}.hero-runes{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.hero-rune-card{border:1px solid var(--line);border-radius:14px;padding:10px;background:rgba(8,20,34,.7);min-width:0}.hero-rune-card.keystone{border-color:rgba(216,184,108,.4)}.hero-rune-card img{width:52px;height:52px;border-radius:12px;object-fit:cover;display:block;margin-bottom:9px}.hero-rune-card small,.hero-rune-card strong,.hero-rune-card p{display:block}.hero-rune-card small{color:var(--gold);font-size:9px;font-weight:900}.hero-rune-card strong{font-size:13px;margin-top:3px}.hero-rune-card p{font-size:10px;color:var(--muted);margin:4px 0 0;line-height:1.45}.hero-item-build{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.hero-build-slot{position:relative;min-width:0}.hero-build-slot>b{position:absolute;z-index:2;top:-5px;left:-3px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#c38830;color:#fff6dc;border:1px solid #efc761;font-size:10px}.build-mini{height:100%;border:1px solid var(--line);border-radius:14px;background:rgba(8,20,34,.74);padding:9px;text-align:center}.build-mini img{width:58px;height:58px;border-radius:11px;object-fit:cover;display:block;margin:0 auto 7px}.build-mini span{font-size:11px;line-height:1.35;display:block}.hero-build-subrow{display:flex;align-items:center;gap:14px;margin-top:13px;padding-top:13px;border-top:1px dashed rgba(255,255,255,.08)}.hero-build-subrow>strong{font-size:12px;color:var(--gold);min-width:36px}.hero-boot-path{display:flex;align-items:center;gap:9px}.hero-build-slot.boot{width:104px}.build-arrow{color:var(--gold);font-weight:900}.hero-spells{display:flex;gap:10px}.hero-spells .build-mini{width:105px}.hero-section-split{display:grid;grid-template-columns:1fr 1fr;gap:24px}.skill-order{border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:rgba(8,20,34,.72)}.skill-order span{display:block;color:var(--muted);font-size:11px}.skill-order strong{display:block;color:#f0d58e;font-size:25px;margin-top:4px}.matchup-grid{display:grid;grid-template-columns:1fr 1fr 170px;gap:10px}.matchup-box{border:1px solid var(--line);border-radius:14px;padding:13px;background:rgba(8,20,34,.72)}.matchup-box>span{display:block;font-size:10px;font-weight:900;margin-bottom:8px}.matchup-box>div{display:flex;gap:6px;flex-wrap:wrap}.matchup-box b{font-size:12px;padding:5px 8px;border-radius:999px}.matchup-box.good>span{color:#79df9b}.matchup-box.good b{color:#9ce8b5;background:rgba(79,179,111,.11);border:1px solid rgba(79,179,111,.25)}.matchup-box.bad>span{color:#ff9696}.matchup-box.bad b{color:#ffb0b0;background:rgba(204,77,77,.1);border:1px solid rgba(204,77,77,.24)}.matchup-box.ban>span{color:#f5c767}.matchup-box.ban strong{font-size:23px}.ability-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.ability-card{border:1px solid var(--line);border-radius:15px;padding:12px;background:rgba(8,20,34,.72)}.ability-head{display:grid;grid-template-columns:54px 1fr;gap:10px;align-items:center}.ability-head img{width:54px;height:54px;border-radius:14px;object-fit:cover;display:block}.ability-head small{display:block;color:var(--gold);font-size:10px;font-weight:900}.ability-head strong{display:block;font-size:13px;line-height:1.35;margin-top:2px}.ability-card p{color:var(--muted);font-size:12px;line-height:1.6;margin:10px 0 0}.stack-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.stack-card{border:1px solid var(--line);border-radius:15px;padding:14px;background:linear-gradient(150deg,rgba(126,54,27,.12),rgba(8,20,34,.72))}.stack-card img{width:58px;height:58px;border-radius:14px;object-fit:cover;display:block;margin-bottom:10px}.stack-card>strong{display:block;color:#f0a54a;font-size:28px}.stack-card>span{display:block;font-size:13px;font-weight:900;margin-top:2px}.stack-card p{color:var(--muted);font-size:12px;line-height:1.6;margin:7px 0 0}.playstyle-timeline{display:grid;gap:9px}.playstyle-step{display:grid;grid-template-columns:54px 1fr;gap:12px;align-items:start;border-left:2px solid rgba(216,184,108,.38);padding:5px 0 5px 13px}.playstyle-step b{color:var(--gold);font-size:12px}.playstyle-step p{margin:0;color:var(--muted);font-size:13px;line-height:1.65}.hero-source-note{padding:14px 20px 19px;text-align:center;color:#6f8296;font-size:10px}.missing{display:grid;place-items:center;color:var(--muted)}
@media(max-width:1050px){.hero-database-layout{grid-template-columns:250px minmax(0,1fr)}.hero-runes{grid-template-columns:repeat(3,1fr)}.hero-item-build{grid-template-columns:repeat(3,1fr)}.hero-ratings{grid-template-columns:repeat(2,1fr)}.ability-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.hero-page-head{align-items:flex-start;flex-direction:column}.hero-version-badge{width:100%;text-align:left}.hero-role-tabs{grid-template-columns:repeat(5,120px);overflow-x:auto;padding-bottom:5px}.hero-database-layout{grid-template-columns:1fr}.hero-list-panel{position:static}.hero-list{grid-template-columns:repeat(2,1fr)}.hero-profile-hero{grid-template-columns:92px 1fr}.hero-avatar{width:92px;height:92px}.hero-avatar-placeholder span{font-size:40px}.hero-title-row h2{font-size:28px}.hero-section-split{grid-template-columns:1fr}.matchup-grid{grid-template-columns:1fr 1fr}.matchup-box.ban{grid-column:1/-1}.stack-grid{grid-template-columns:1fr}.ability-grid{grid-template-columns:repeat(3,140px);overflow-x:auto;padding-bottom:5px}.hero-runes{grid-template-columns:repeat(5,140px);overflow-x:auto}.hero-item-build{grid-template-columns:repeat(6,110px);overflow-x:auto;padding-bottom:5px}}
@media(max-width:520px){.hero-role-tab{padding:8px}.hero-role-tab img{width:31px;height:31px}.hero-list{grid-template-columns:1fr}.hero-profile-hero{grid-template-columns:1fr;text-align:center}.hero-avatar{margin:auto}.hero-title-row{justify-content:center}.hero-tags{justify-content:center}.hero-ratings{grid-template-columns:1fr}.matchup-grid{grid-template-columns:1fr}.matchup-box.ban{grid-column:auto}.hero-section{margin:0 14px}.hero-summary-box{margin:14px 14px 0}.hero-build-subrow{align-items:flex-start;flex-direction:column}.playstyle-step{grid-template-columns:46px 1fr}.ability-grid{grid-template-columns:repeat(5,180px)}}

/* Hero database v17: Tier overview -> detail */
.hero-content-shell{min-height:420px}.hero-overview-shell{border:1px solid var(--line);border-radius:22px;background:linear-gradient(165deg,rgba(15,32,52,.98),rgba(6,17,29,.99));box-shadow:0 22px 60px rgba(0,0,0,.24);padding:22px}.hero-overview-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid var(--line)}.hero-overview-head h2{margin:4px 0 0;font-size:28px}.hero-overview-head p{margin:7px 0 0;color:var(--muted);font-size:13px}.hero-overview-count{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(216,184,108,.3);color:var(--gold);font-weight:1000;background:rgba(216,184,108,.05)}.tier-overview-section{padding:22px 0;border-bottom:1px solid var(--line)}.tier-overview-section:last-child{border-bottom:0}.tier-overview-heading{display:flex;align-items:center;gap:10px;margin-bottom:14px}.tier-overview-heading strong{font-size:18px}.tier-overview-heading small{margin-left:auto;color:var(--muted);font-size:11px}.tier-overview-badge{min-width:52px;height:34px;padding:0 12px;border-radius:10px;display:grid;place-items:center;font-weight:1000;border:1px solid rgba(255,255,255,.15)}.tier-sp{color:#fff3ca;background:linear-gradient(135deg,rgba(208,133,31,.5),rgba(116,70,13,.38));border-color:rgba(243,194,76,.52)}.tier-s{color:#d9ecff;background:rgba(73,133,194,.2);border-color:rgba(110,175,236,.38)}.tier-a{color:#dff8e8;background:rgba(55,139,96,.18);border-color:rgba(94,191,132,.34)}.tier-b{color:#ece8df;background:rgba(132,119,96,.18);border-color:rgba(174,158,127,.28)}.tier-c{color:#d7dce3;background:rgba(90,105,122,.16);border-color:rgba(132,148,166,.26)}.tier-hero-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:14px}.tier-hero-card{border:1px solid var(--line);border-radius:18px;background:rgba(8,20,34,.72);color:var(--text);padding:16px 10px 13px;text-align:center;cursor:pointer;transition:.16s}.tier-hero-card:hover{transform:translateY(-3px);border-color:rgba(216,184,108,.5);background:rgba(21,43,68,.9);box-shadow:0 12px 28px rgba(0,0,0,.22)}.tier-hero-avatar-wrap{width:78px;height:78px;border-radius:50%;display:grid;place-items:center;margin:0 auto 9px;padding:3px;background:linear-gradient(145deg,#e2bb62,#71451c);box-shadow:0 8px 24px rgba(0,0,0,.28)}.tier-hero-avatar{width:72px;height:72px;border-radius:50%;object-fit:cover;display:block;background:#0d1726}.tier-hero-placeholder{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:#152538;color:#f1d79a;font-size:28px;font-weight:1000}.tier-hero-card strong,.tier-hero-card small{display:block}.tier-hero-card strong{font-size:14px}.tier-hero-card small{color:var(--gold);font-size:10px;margin-top:3px}.hero-detail-toolbar{margin-bottom:10px}.hero-back-button{border:1px solid var(--line);border-radius:12px;background:rgba(11,27,45,.8);color:var(--gold);padding:9px 13px;font-weight:900;cursor:pointer}.hero-back-button:hover{border-color:rgba(216,184,108,.5);background:rgba(21,43,68,.9)}
.passive-feature{display:grid;grid-template-columns:82px 1fr;gap:16px;align-items:center;border:1px solid var(--line);border-radius:16px;background:rgba(8,20,34,.72);padding:14px}.passive-feature img{width:82px;height:82px;border-radius:16px;object-fit:cover;display:block}.passive-feature small{display:block;color:var(--gold);font-size:10px;font-weight:900}.passive-feature strong{display:block;font-size:16px;margin-top:3px}.passive-feature p{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.65}
.skill-level-grid{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:rgba(8,20,34,.72);padding:8px}.skill-grid-row{display:grid;grid-template-columns:170px repeat(15,minmax(38px,1fr));min-width:820px;align-items:stretch}.skill-grid-row+.skill-grid-row{border-top:1px solid rgba(255,255,255,.055)}.skill-grid-header{color:var(--gold);font-size:10px;font-weight:900}.skill-grid-skill{display:grid;grid-template-columns:46px 1fr;gap:9px;align-items:center;padding:8px 10px;position:sticky;left:0;z-index:2;background:#0a1b2d}.skill-grid-skill.label{display:flex;font-size:11px}.skill-grid-skill img{width:46px;height:46px;border-radius:11px;object-fit:cover;display:block}.skill-grid-skill b,.skill-grid-skill small{display:block}.skill-grid-skill b{font-size:12px}.skill-grid-skill small{font-size:9px;color:var(--muted);margin-top:2px;line-height:1.2}.skill-grid-cell{min-height:46px;display:grid;place-items:center;border-left:1px solid rgba(255,255,255,.05);font-size:10px}.skill-grid-cell.active{background:radial-gradient(circle,rgba(242,195,82,.25),rgba(242,195,82,.04));box-shadow:inset 0 0 0 1px rgba(242,195,82,.42)}.skill-grid-cell.active span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#d79b37;color:#fff6da;box-shadow:0 0 14px rgba(224,165,60,.36);font-size:11px}
@media(max-width:800px){.hero-overview-shell{padding:15px}.tier-hero-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tier-hero-avatar-wrap{width:70px;height:70px}.tier-hero-avatar,.tier-hero-placeholder{width:64px;height:64px}.passive-feature{grid-template-columns:68px 1fr}.passive-feature img{width:68px;height:68px}.skill-grid-skill{position:sticky;left:0}}
@media(max-width:520px){.tier-hero-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-overview-head{align-items:flex-start}.hero-overview-count{width:40px;height:40px}.tier-overview-heading small{display:none}.skill-grid-row{grid-template-columns:140px repeat(15,38px)}.skill-grid-skill{grid-template-columns:40px 1fr;padding:7px}.skill-grid-skill img{width:40px;height:40px}}
/* v18: ability placeholders until official skill icons are supplied */
.ability-icon-placeholder,.skill-icon-placeholder,.passive-icon-placeholder{display:grid;place-items:center;background:linear-gradient(145deg,rgba(216,184,108,.18),rgba(14,32,51,.95));border:1px solid rgba(216,184,108,.34);color:#f0d58e;font-weight:1000;flex:0 0 auto}
.ability-icon-placeholder{width:54px;height:54px;border-radius:14px;font-size:18px}
.skill-icon-placeholder{width:46px;height:46px;border-radius:12px;font-size:15px}
.passive-icon-placeholder{width:72px;height:72px;border-radius:16px;font-size:20px}


/* v20 homepage Summoner's Rift background trial */
body.home-map-bg{position:relative;background:#06111d;isolation:isolate}
body.home-map-bg::before{content:"";position:fixed;inset:0;z-index:-3;background-image:url("https://www.touchtapplay.com/wp-content/uploads/2021/07/league-of-legends-map.jpg?fit=1200%2C628");background-size:cover;background-position:center 28%;background-repeat:no-repeat;filter:saturate(.82) contrast(1.08);transform:scale(1.02)}
body.home-map-bg::after{content:"";position:fixed;inset:0;z-index:-2;background:linear-gradient(180deg,rgba(3,10,18,.77) 0%,rgba(4,13,23,.72) 34%,rgba(4,13,23,.86) 100%),radial-gradient(circle at 50% 18%,rgba(18,76,111,.22),transparent 42%)}
body.home-map-bg .topbar{background:rgba(4,13,23,.76)}
body.home-map-bg .hero{margin-top:18px;padding:72px 26px 46px;border:1px solid rgba(216,184,108,.16);border-radius:28px;background:linear-gradient(180deg,rgba(5,16,28,.48),rgba(5,16,28,.68));backdrop-filter:blur(2px);box-shadow:0 24px 70px rgba(0,0,0,.28)}
body.home-map-bg .hero h1{text-shadow:0 4px 24px rgba(0,0,0,.72)}
body.home-map-bg .hero p{color:#b7c5d4;text-shadow:0 2px 12px rgba(0,0,0,.7)}
body.home-map-bg .role-link{background:rgba(5,17,29,.76);backdrop-filter:blur(7px)}
body.home-map-bg .role-link img{background:rgba(5,17,29,.82)}
body.home-map-bg .home-card{background:radial-gradient(circle at 90% 10%,rgba(216,184,108,.13),transparent 30%),linear-gradient(155deg,rgba(16,39,62,.91),rgba(5,17,29,.95));backdrop-filter:blur(9px)}
body.home-map-bg footer{background:rgba(4,13,23,.72);backdrop-filter:blur(8px)}
@media(max-width:700px){body.home-map-bg::before{background-position:46% center}body.home-map-bg .hero{padding:48px 15px 30px;border-radius:20px}}


/* Hero detail layout v21 */
.hero-rating-details{padding:0!important}.hero-rating-details summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:18px 0}.hero-rating-details summary::-webkit-details-marker{display:none}.hero-rating-details summary span{display:flex;align-items:baseline;gap:10px}.hero-rating-details summary b{font-size:17px}.hero-rating-details summary small{font-size:10px;color:var(--gold);font-weight:800}.hero-rating-details summary i{font-style:normal;color:var(--gold);font-size:22px;transition:.2s}.hero-rating-details[open] summary i{transform:rotate(180deg)}.rating-details-body{padding:0 0 22px}
.summoner-rune-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:14px}.summoner-box,.rune-box{border:1px solid var(--line);border-radius:16px;padding:13px;background:rgba(8,20,34,.58)}.subsection-label{font-size:10px;color:var(--gold);font-weight:900;letter-spacing:.08em;margin-bottom:10px}.summoner-box .hero-spells{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.summoner-box .hero-spells .build-mini{width:auto}.rune-box .hero-runes{grid-template-columns:repeat(5,minmax(0,1fr))}
.build-groups{display:grid;grid-template-columns:1fr 1.55fr;gap:12px}.build-group{border:1px solid var(--line);border-radius:17px;padding:14px;background:linear-gradient(155deg,rgba(14,31,50,.86),rgba(7,18,31,.92));min-width:0}.build-group-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:12px;padding-bottom:9px;border-bottom:1px solid rgba(255,255,255,.07)}.build-group-head strong{font-size:14px}.build-group-head small{font-size:9px;color:var(--gold);font-weight:800}.build-group-items{display:flex;gap:9px;align-items:stretch;flex-wrap:wrap}.starter-group .build-group-items{max-width:120px}.core-group .build-group-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.boots-group .build-group-items{display:block}.final-group{grid-column:1/-1}.final-group .build-group-items{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.build-group .hero-build-slot{min-width:0}.build-group .hero-boot-path{display:flex;align-items:center;gap:9px}.build-group .hero-build-slot.boot{width:105px}
.skill-priority-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.skill-priority-step{position:relative;display:grid;grid-template-columns:58px 1fr;gap:10px;align-items:center;min-width:190px;border:1px solid var(--line);border-radius:15px;padding:10px 12px;background:rgba(8,20,34,.72)}.skill-priority-step>img,.skill-priority-placeholder{width:58px;height:58px;border-radius:13px;object-fit:cover;display:grid;place-items:center;background:rgba(216,184,108,.12);border:1px solid rgba(216,184,108,.22);font-weight:900;color:var(--gold)}.skill-priority-step b{display:block;font-size:13px}.skill-priority-step small{display:block;color:var(--muted);font-size:10px;margin-top:3px;line-height:1.3}.skill-priority-rank{position:absolute;left:-7px;top:-7px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#c38830;border:1px solid #efc761;color:#fff6dc;font-size:10px;font-weight:900}.skill-priority-arrow{color:var(--gold);font-size:22px;font-weight:900}
.matchup-chip{display:inline-flex!important;align-items:center;gap:7px;padding:5px 8px!important;border-radius:999px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.035)}.matchup-chip img{width:28px;height:28px;border-radius:50%;object-fit:cover;border:1px solid rgba(216,184,108,.28)}.matchup-chip b{padding:0!important;border:0!important;background:none!important;color:inherit!important}.matchup-box.ban>div{display:flex}.matchup-box.ban .matchup-chip{border-color:rgba(245,199,103,.3);color:#f5d58b}
@media(max-width:1050px){.summoner-rune-layout{grid-template-columns:1fr}.rune-box .hero-runes{grid-template-columns:repeat(3,1fr)}.build-groups{grid-template-columns:1fr}.final-group{grid-column:auto}.final-group .build-group-items{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.summoner-box .hero-spells{grid-template-columns:repeat(2,120px);overflow-x:auto}.rune-box .hero-runes{grid-template-columns:repeat(5,140px)}.core-group .build-group-items{grid-template-columns:repeat(3,120px);overflow-x:auto}.final-group .build-group-items{grid-template-columns:repeat(6,110px);overflow-x:auto}.skill-priority-row{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px}.skill-priority-step{min-width:190px}}

/* Hero detail layout v22: compact two-row build layout + larger matchup portraits */
.build-groups{grid-template-columns:.78fr 1.65fr 1fr;gap:10px;align-items:stretch}
.build-group{padding:11px 12px;border-radius:15px}
.build-group-head{margin-bottom:9px;padding-bottom:7px}
.build-group-head strong{font-size:13px}.build-group-head small{font-size:8px}
.build-group .build-mini{padding:7px;border-radius:12px}
.build-group .build-mini img{width:48px;height:48px;border-radius:9px;margin-bottom:5px}
.build-group .build-mini span{font-size:10px}
.build-group .hero-build-slot>b{display:none}
.starter-group .build-group-items{max-width:none}
.core-group .build-group-items{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.boots-group .build-group-items{display:block}
.build-group .hero-boot-path{gap:7px}.build-group .hero-build-slot.boot{width:88px}.build-group .build-arrow{font-size:13px}
.final-group{grid-column:1/-1}
.final-group .build-group-items{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}
.matchup-chip{gap:9px;padding:7px 10px!important}.matchup-chip img{width:42px;height:42px;border-width:2px}.matchup-chip b{font-size:13px!important}
@media(max-width:1050px){.build-groups{grid-template-columns:1fr 1.6fr}.boots-group{grid-column:1/-1}.final-group{grid-column:1/-1}}
@media(max-width:800px){.build-groups{grid-template-columns:1fr}.boots-group,.final-group{grid-column:auto}.core-group .build-group-items{grid-template-columns:repeat(3,105px);overflow-x:auto}.final-group .build-group-items{grid-template-columns:repeat(6,96px);overflow-x:auto}.matchup-chip img{width:38px;height:38px}}

/* v24 - extra / evolved ability icon variants */
.ability-variants{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0 2px}.ability-variants img{width:34px;height:34px;border-radius:9px;object-fit:cover;border:1px solid rgba(216,184,108,.26);background:rgba(5,14,25,.8)}
.passive-feature .ability-variants{margin-top:8px}.passive-feature .ability-variants img{width:36px;height:36px}

/* ===== v25 Mobile RWD first-pass polish =====
   Desktop rules stay untouched; these overrides apply only to narrow screens. */
@media (max-width: 800px){
  html,body{max-width:100%;overflow-x:hidden}
  body{font-size:15px}
  .shell{width:min(100% - 20px,1160px)}

  /* Header / navigation */
  .topbar{position:sticky;top:0}
  .topbar-inner{min-height:0;height:auto;padding:9px 0 8px;display:block}
  .brand{display:block;text-align:center;margin:0 0 7px;font-size:15px}
  .nav{display:flex!important;position:static!important;left:auto!important;transform:none!important;justify-content:flex-start;gap:8px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:0 2px 2px;font-size:12px}
  .nav::-webkit-scrollbar{display:none}
  .nav a{flex:0 0 auto;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.025);border:1px solid transparent}
  .nav a.active{border-color:rgba(216,184,108,.28);background:rgba(216,184,108,.07)}

  /* Generic page spacing */
  .page-head{padding:24px 0 12px}
  .page-head h1{font-size:29px;line-height:1.2}
  .page-head p{font-size:13px;line-height:1.65;margin-bottom:0}
  footer{margin-top:36px;padding:18px 0 28px;text-align:center}

  /* Homepage */
  body.home-map-bg .hero{margin-top:10px;padding:34px 12px 22px;border-radius:18px}
  body.home-map-bg .hero h1{font-size:34px;margin:8px 0 6px}
  body.home-map-bg .hero p{font-size:13px;line-height:1.55}
  .role-strip{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px;margin-top:18px}
  .role-link{border-radius:12px;box-shadow:0 7px 18px rgba(0,0,0,.18)}
  .role-strip img{border-radius:12px}
  .role-link span{left:4px;right:4px;bottom:4px;padding:4px 2px;border-radius:7px;font-size:9px;letter-spacing:0}
  .home-grid{grid-template-columns:1fr!important;gap:11px;padding-bottom:32px;margin-top:12px}
  .home-card,.home-card.wide{grid-column:auto;grid-template-columns:62px 1fr;min-height:0;padding:14px;border-radius:17px;gap:13px}
  .home-icon{width:62px;height:62px;border-radius:15px;font-size:15px}
  .home-card h2{font-size:21px;margin:2px 0 6px}
  .home-card p{font-size:12px;line-height:1.55;margin-bottom:8px}
  .home-card .kicker,.home-card .link-label{font-size:10px}

  /* Hero page top */
  .hero-page{padding-bottom:10px}
  .hero-page-head{padding-top:22px;display:block}
  .hero-page-head h1{font-size:29px}
  .hero-version-badge{min-width:0;width:100%;margin-top:12px;text-align:left;padding:9px 11px;border-radius:12px}
  .hero-version-badge span{font-size:9px}.hero-version-badge strong{font-size:11px}
  .hero-role-tabs{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:4px 0 13px;overflow:visible;padding:0}
  .hero-role-tab{min-width:0;padding:7px 3px;border-radius:12px;gap:3px;flex-direction:column;font-size:10px;line-height:1.2}
  .hero-role-tab img{width:30px;height:30px;border-radius:8px}
  .hero-role-tab:hover,.hero-role-tab.active{transform:none}

  /* Tier overview */
  .hero-overview-shell{padding:12px;border-radius:16px}
  .hero-overview-head{gap:10px;margin-bottom:12px}
  .hero-overview-head h2{font-size:22px;margin:4px 0}
  .hero-overview-head p{font-size:11px;line-height:1.45;margin:0}
  .hero-overview-count{width:38px;height:38px;flex:0 0 38px;font-size:13px}
  .tier-overview-section{padding:12px 8px;margin-bottom:10px;border-radius:14px}
  .tier-overview-heading{margin-bottom:10px;gap:7px}
  .tier-overview-heading strong{font-size:14px}
  .tier-overview-heading small{display:none}
  .tier-overview-badge{min-width:38px;padding:5px 7px}
  .tier-hero-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 5px}
  .tier-hero-card{padding:6px 2px;min-width:0}
  .tier-hero-avatar-wrap{width:66px;height:66px}
  .tier-hero-avatar,.tier-hero-placeholder{width:60px;height:60px}
  .tier-hero-card strong{font-size:12px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .tier-hero-card small{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}

  /* Hero detail header */
  .hero-detail-toolbar{margin:0 0 8px}
  .hero-back-button{width:100%;text-align:left;padding:9px 11px;border-radius:11px;font-size:11px}
  .hero-profile{border-radius:17px}
  .hero-profile-hero{grid-template-columns:76px minmax(0,1fr);gap:12px;padding:15px}
  .hero-avatar{width:76px;height:76px;border-radius:18px}
  .hero-title-row{gap:7px}
  .hero-title-row h2{font-size:25px}
  .tier-badge-large{padding:4px 8px;border-radius:9px;font-size:13px}
  .hero-en{font-size:10px}.hero-position{font-size:12px;margin-top:5px}
  .hero-tags{gap:4px;margin-top:7px}.hero-tags span{font-size:9px;padding:3px 6px}
  .hero-summary-box{margin:11px 11px 0;padding:11px 12px;border-radius:12px}
  .hero-summary-box span{font-size:9px}.hero-summary-box p{font-size:12px;line-height:1.55;margin-top:4px}
  .hero-section{margin:0 11px;padding:15px 0}
  .hero-section-title{margin-bottom:10px}
  .hero-section-title h3{font-size:15px}.hero-section-title span{font-size:9px}

  /* Ratings accordion */
  .hero-rating-details summary{padding:14px 0}
  .hero-rating-details summary b{font-size:15px}.hero-rating-details summary small{font-size:8px}
  .hero-rating-details summary i{font-size:18px}
  .rating-details-body{padding-bottom:14px}
  .hero-ratings{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .hero-rating{padding:9px;border-radius:11px}
  .rating-label{font-size:10px}.rating-stars{font-size:10px;margin-top:5px}

  /* Summoner + runes */
  .summoner-rune-layout{grid-template-columns:1fr;gap:8px}
  .summoner-box,.rune-box{padding:10px;border-radius:13px}
  .subsection-label{font-size:9px;margin-bottom:8px}
  .summoner-box .hero-spells{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;overflow:visible}
  .summoner-box .hero-spells .build-mini{width:auto;min-width:0}
  .summoner-box .build-mini{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:7px;text-align:left;padding:7px}
  .summoner-box .build-mini img{width:42px;height:42px;margin:0;border-radius:9px}
  .summoner-box .build-mini span{font-size:10px}
  .rune-box .hero-runes{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;overflow:visible}
  .rune-box .hero-rune-card{padding:8px;border-radius:11px}
  .rune-box .hero-rune-card:first-child{grid-column:1/-1;display:grid;grid-template-columns:48px 1fr;gap:8px;align-items:center}
  .rune-box .hero-rune-card:first-child img{margin:0}
  .hero-rune-card img{width:44px;height:44px;margin-bottom:6px;border-radius:10px}
  .hero-rune-card small{font-size:8px}.hero-rune-card strong{font-size:11px}.hero-rune-card p{font-size:8px;line-height:1.35}

  /* Build groups: readable stacking without sideways scrolling */
  .build-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .build-group{padding:9px;border-radius:12px}
  .build-group-head{margin-bottom:7px;padding-bottom:6px}
  .build-group-head strong{font-size:11px}.build-group-head small{font-size:7px}
  .starter-group{grid-column:1}
  .boots-group{grid-column:2!important}
  .core-group{grid-column:1/-1}
  .final-group{grid-column:1/-1}
  .build-group .build-mini{padding:5px;border-radius:9px}
  .build-group .build-mini img{width:42px;height:42px;border-radius:8px;margin-bottom:4px}
  .build-group .build-mini span{font-size:8px;line-height:1.25}
  .starter-group .build-group-items{display:block}
  .starter-group .build-mini{max-width:90px;margin:auto}
  .core-group .build-group-items{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;overflow:visible}
  .boots-group .hero-boot-path{justify-content:center;gap:4px}
  .build-group .hero-build-slot.boot{width:auto;min-width:0;flex:1}
  .final-group .build-group-items{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;overflow:visible}
  .build-group .build-arrow{font-size:11px}

  /* Skill priority: all visible at once */
  .skill-priority-row{display:grid;grid-template-columns:repeat(5,auto);justify-content:start;align-items:center;gap:5px;overflow:visible;padding:0}
  .skill-priority-step{min-width:0;width:auto;grid-template-columns:42px;gap:4px;padding:7px;text-align:center;border-radius:11px}
  .skill-priority-step>img,.skill-priority-placeholder{width:42px;height:42px;border-radius:9px;margin:auto}
  .skill-priority-step>div{display:none}
  .skill-priority-rank{left:-5px;top:-5px;width:18px;height:18px;font-size:8px}
  .skill-priority-arrow{font-size:15px}

  /* Lv.1-15 skill table: deliberate horizontal swipe only here */
  .skill-level-grid{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;border-radius:12px}
  .skill-level-grid::-webkit-scrollbar{display:none}
  .skill-grid-row{grid-template-columns:82px repeat(15,32px);min-width:562px}
  .skill-grid-skill{position:sticky;left:0;z-index:2;grid-template-columns:34px 1fr;gap:5px;padding:6px;background:#0c1c2d}
  .skill-grid-skill img,.skill-grid-skill .skill-icon-placeholder{width:34px;height:34px;border-radius:8px}
  .skill-grid-skill b{font-size:9px}.skill-grid-skill small{display:none}
  .skill-grid-cell{min-height:44px;font-size:8px}
  .skill-grid-cell.active span{width:18px;height:18px;font-size:8px}

  /* Passive / abilities */
  .passive-feature{grid-template-columns:58px 1fr;gap:10px;padding:10px;border-radius:12px}
  .passive-feature img,.passive-icon-placeholder{width:58px;height:58px;border-radius:12px}
  .passive-feature strong{font-size:12px}.passive-feature p{font-size:10px;line-height:1.5}
  .ability-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;overflow:visible;padding:0}
  .ability-card{padding:9px;border-radius:12px}
  .ability-head{grid-template-columns:42px 1fr;gap:7px}
  .ability-head img,.ability-icon-placeholder{width:42px;height:42px;border-radius:9px}
  .ability-head small{font-size:8px}.ability-head strong{font-size:10px}
  .ability-card p{font-size:9px;line-height:1.45;margin-top:7px}
  .ability-variants img{width:28px;height:28px;border-radius:7px}

  /* Matchups */
  .matchup-grid{grid-template-columns:1fr;gap:7px}
  .matchup-box.ban{grid-column:auto}
  .matchup-box{padding:10px;border-radius:12px}
  .matchup-box>span{font-size:9px;margin-bottom:6px}
  .matchup-box>div{gap:6px}
  .matchup-chip{gap:7px;padding:5px 7px!important}
  .matchup-chip img{width:46px;height:46px}
  .matchup-chip b{font-size:11px!important}

  /* Mechanics / playstyle */
  .stack-grid{grid-template-columns:1fr;gap:7px}
  .stack-card{padding:10px;border-radius:12px}
  .stack-card img{width:48px;height:48px;border-radius:10px;margin-bottom:7px}
  .stack-card>strong{font-size:22px}.stack-card>span{font-size:11px}.stack-card p{font-size:10px;line-height:1.5;margin-top:5px}
  .playstyle-step{grid-template-columns:42px 1fr;gap:7px;padding-left:9px}
  .playstyle-step b{font-size:10px}.playstyle-step p{font-size:10px;line-height:1.55}
  .hero-source-note{padding:10px 12px 14px;font-size:8px}

  /* Other database pages */
  .toolbar{gap:7px}.search,.select{width:100%;min-width:0;padding:10px 11px;font-size:13px}
  .tabs,.item-tabs,.shoe-level-tabs,.rune-tabs{scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
  .tab,.item-tab,.shoe-level,.rune-tab{scroll-snap-align:start}
  .database-layout{grid-template-columns:1fr;gap:12px}
  .item-icon-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .item-icon{padding:10px;border-radius:13px}.item-icon img{width:66px;height:66px;border-radius:12px;margin-bottom:7px}.item-icon strong{font-size:12px}.item-icon small{font-size:9px}
  .spell-icon-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.spell-icon{padding:8px;border-radius:12px}.spell-icon img{width:56px;height:56px;border-radius:11px;margin-bottom:7px}.spell-icon strong{font-size:11px}
  .rune-section{padding:12px;border-radius:14px}.rune-row,.keystone-grid{gap:8px}.rune-card{padding:10px;border-radius:12px}.rune-card img{width:52px;height:52px;flex-basis:52px;border-radius:11px}.rune-card h3{font-size:13px}.rune-card .desc{font-size:10px}
  .mobile-detail{padding:13px;border-radius:14px}
}

@media (max-width: 420px){
  .shell{width:calc(100% - 16px)}
  .nav{gap:5px;font-size:11px}.nav a{padding:5px 7px}
  body.home-map-bg .hero{padding:28px 9px 19px}.role-strip{gap:4px}.role-link span{font-size:8px}
  .hero-role-tab{font-size:9px;padding:6px 2px}.hero-role-tab img{width:27px;height:27px}
  .tier-hero-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 3px}
  .tier-hero-avatar-wrap{width:60px;height:60px}.tier-hero-avatar,.tier-hero-placeholder{width:54px;height:54px}
  .hero-profile-hero{grid-template-columns:68px minmax(0,1fr);gap:10px;padding:13px 11px}.hero-avatar{width:68px;height:68px}.hero-title-row h2{font-size:22px}
  .rune-box .hero-runes{grid-template-columns:repeat(2,minmax(0,1fr))}
  .build-group .build-mini img{width:38px;height:38px}.build-group .build-mini span{font-size:7px}
  .skill-priority-step{grid-template-columns:38px;padding:6px}.skill-priority-step>img,.skill-priority-placeholder{width:38px;height:38px}
  .ability-grid{grid-template-columns:1fr 1fr}
  .matchup-chip img{width:44px;height:44px}
}

/* ===== Mobile RWD V26 · cleaner databases + polished equipment ===== */
@media (max-width: 900px){
  /* Mobile no longer uses the duplicated detail/explanation panels. */
  .mobile-detail{display:none!important}
}

@media (max-width: 800px){
  /* Database cards become the content itself on mobile. */
  .database-layout{gap:0}
  .database-main{width:100%}
  .interactive-card:hover,.interactive-card.active,
  .interactive-icon:hover,.interactive-icon.active{
    transform:none;
  }

  /* Equipment database: compact game-like icon shelf. */
  .item-stage-section{margin-bottom:24px}
  .item-stage-section>h2{
    display:flex;align-items:center;gap:8px;
    margin:0 0 10px;padding:0 1px 8px;
    font-size:14px;letter-spacing:.02em;
    border-bottom:1px solid rgba(216,184,108,.18)
  }
  .item-stage-section>h2::before{
    content:"";width:3px;height:15px;border-radius:99px;
    background:linear-gradient(180deg,#f1d78f,#a96a25);
    box-shadow:0 0 10px rgba(216,184,108,.18)
  }
  .item-icon-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .item-icon{
    position:relative;min-width:0;padding:9px 5px 8px;border-radius:13px;
    border-color:rgba(255,255,255,.07);
    background:linear-gradient(165deg,rgba(18,38,61,.82),rgba(7,18,31,.92));
    box-shadow:0 7px 17px rgba(0,0,0,.16)
  }
  .item-icon img{
    width:60px;height:60px;margin:0 auto 7px;border-radius:11px;
    border:1px solid rgba(216,184,108,.2);
    box-shadow:0 5px 13px rgba(0,0,0,.22)
  }
  .item-icon strong{
    display:block;min-height:30px;font-size:10px;line-height:1.35;
    text-align:center;word-break:keep-all
  }
  .item-icon .item-price{
    display:inline-flex;align-items:center;justify-content:center;
    min-width:44px;margin-top:5px;padding:2px 6px;border-radius:999px;
    border:1px solid rgba(216,184,108,.18);
    background:rgba(216,184,108,.07);font-size:8px;color:#e3c77e
  }

  /* Hero build: less "boxes inside boxes", stronger visual hierarchy. */
  .build-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .build-group{
    position:relative;overflow:hidden;padding:10px;border-radius:14px;
    border:1px solid rgba(216,184,108,.12);
    background:linear-gradient(155deg,rgba(17,37,59,.68),rgba(7,18,31,.72));
    box-shadow:0 8px 22px rgba(0,0,0,.13)
  }
  .build-group::before{
    content:"";position:absolute;left:0;top:0;bottom:0;width:2px;
    background:linear-gradient(180deg,rgba(241,215,143,.9),rgba(169,106,37,.16))
  }
  .build-group-head{
    margin-bottom:9px;padding:0 0 7px 2px;border-bottom:1px solid rgba(255,255,255,.055)
  }
  .build-group-head strong{font-size:11px;letter-spacing:.02em}
  .build-group-head small{font-size:7px;color:#c9ad69;opacity:.82}
  .starter-group{grid-column:1}
  .boots-group{grid-column:2!important}
  .core-group,.final-group{grid-column:1/-1}

  .build-group .build-mini{
    padding:6px 4px 5px;border-radius:11px;
    border:1px solid rgba(255,255,255,.055);
    background:rgba(4,14,25,.46);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025)
  }
  .build-group .build-mini img{
    width:48px;height:48px;margin:0 auto 5px;border-radius:9px;
    border:1px solid rgba(216,184,108,.16);
    box-shadow:0 5px 12px rgba(0,0,0,.2)
  }
  .build-group .build-mini span{
    font-size:8px;line-height:1.28;min-height:20px;
    display:flex;align-items:flex-start;justify-content:center
  }
  .starter-group .build-group-items{display:block}
  .starter-group .build-mini{max-width:none;margin:0}
  .core-group .build-group-items{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;overflow:visible}
  .boots-group .hero-boot-path{justify-content:center;gap:5px}
  .build-group .hero-build-slot.boot{width:auto;min-width:0;flex:1}
  .build-group .build-arrow{font-size:12px;color:#c9ad69;opacity:.8}
  .final-group .build-group-items{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;overflow:visible}

  /* Summoner/rune cards on hero profiles keep data, but use a lighter shell. */
  .summoner-box,.rune-box{
    border-color:rgba(216,184,108,.1);
    background:rgba(5,16,28,.42);
    box-shadow:none
  }
}

@media (max-width: 420px){
  .item-icon-grid{gap:6px}
  .item-icon{padding:8px 4px 7px}
  .item-icon img{width:56px;height:56px}
  .item-icon strong{font-size:9px;min-height:27px}
  .item-icon .item-price{font-size:7px}

  .build-group{padding:9px 8px}
  .build-group .build-mini img{width:44px;height:44px}
  .build-group .build-mini span{font-size:7px;min-height:18px}
}


/* v27 · multi-role tier database */
.tier-hero-card.is-pending{cursor:default;opacity:.92}
.tier-hero-card.is-pending:hover{transform:none;border-color:var(--line);background:rgba(8,20,34,.72);box-shadow:none}
.tier-hero-card.is-pending .tier-hero-avatar-wrap{filter:saturate(.72)}
.tier-cross-tag{display:inline-flex;margin-top:6px;padding:2px 6px;border:1px solid rgba(216,184,108,.34);border-radius:999px;color:var(--gold);background:rgba(216,184,108,.07);font-size:8px;font-weight:900;letter-spacing:.05em}

/* v29 ALL champion browser + multi-lane detail switch */
.all-hero-grid{align-items:stretch}
.all-hero-card{min-height:150px}
.all-role-badges{display:flex;flex-wrap:wrap;gap:4px;justify-content:center;margin-top:6px}
.all-role-badges i{font-style:normal;font-size:11px;padding:2px 6px;border:1px solid rgba(214,180,92,.35);border-radius:999px;color:var(--muted,#b8b8b8);background:rgba(255,255,255,.03)}
.hero-lane-switch{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto}
.hero-lane-switch button{border:1px solid rgba(214,180,92,.35);background:rgba(255,255,255,.03);color:inherit;border-radius:999px;padding:8px 12px;cursor:pointer}
.hero-lane-switch button.active{border-color:#d6b45c;box-shadow:0 0 0 1px rgba(214,180,92,.18) inset}
@media(max-width:720px){.all-hero-card{min-height:132px}.all-role-badges i{font-size:10px;padding:2px 5px}.hero-detail-toolbar{gap:8px;flex-wrap:wrap}.hero-lane-switch{width:100%;margin-left:0}.hero-lane-switch button{flex:1;min-width:86px}}


/* v38｜犽凝新版英雄資訊頁 */
.yone-subheading{
  margin:4px 0 10px;
  color:var(--gold);
  font-size:12px;
  font-weight:900;
}

/* 裝備 */
.yone-build-top{
  display:grid;
  grid-template-columns:.7fr .7fr 2fr;
  gap:10px;
  align-items:stretch;
}
.yone-build-group{
  padding:12px 8px;
  border:1px solid rgba(216,184,108,.14);
  border-radius:15px;
  background:rgba(8,20,34,.64);
  text-align:center;
}
.yone-build-group>strong{
  display:block;
  margin-bottom:10px;
  color:#f0d58e;
  font-size:11px;
}
.yone-core-items{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.yone-six-build{margin-top:16px}
.yone-six-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.yone-item{text-align:center;min-width:0}
.yone-item-circle{
  width:62px;
  height:62px;
  margin:0 auto 6px;
  overflow:hidden;
  border:2px solid rgba(216,184,108,.26);
  border-radius:999px;
  background:rgba(255,255,255,.04);
}
.yone-item-circle .build-mini{
  width:100%;
  height:100%;
  padding:0;
  overflow:hidden;
  border:0;
  border-radius:999px;
  background:transparent;
}
.yone-item-circle .build-mini img{
  width:100%;
  height:100%;
  margin:0;
  border-radius:999px;
  object-fit:cover;
}
.yone-item-circle .build-mini span{display:none}
.yone-item>small{
  display:block;
  overflow-wrap:anywhere;
  color:var(--muted);
  font-size:8px;
  line-height:1.35;
}

/* 技能說明 */
.yone-skill-list{display:grid;gap:9px}
.yone-skill-row{
  display:grid;
  grid-template-columns:52px 1fr;
  gap:10px;
  align-items:start;
  padding:10px;
  border:1px solid rgba(216,184,108,.13);
  border-radius:14px;
  background:rgba(8,20,34,.64);
}
.yone-skill-image img,
.yone-skill-placeholder{
  display:block;
  width:52px;
  height:52px;
  border-radius:999px;
  object-fit:cover;
}
.yone-skill-placeholder,
.yone-priority-placeholder,
.yone-level-placeholder,
.yone-combo-placeholder{
  display:grid;
  place-items:center;
  color:#f0d58e;
  background:rgba(216,184,108,.14);
  font-weight:900;
}
.yone-skill-text strong{
  display:block;
  margin-bottom:4px;
  color:#f0d58e;
  font-size:12px;
}
.yone-skill-text p{
  margin:0;
  color:var(--text);
  font-size:10px;
  line-height:1.7;
}

/* 1～15 加點 */
.yone-level-block{
  margin-top:15px;
  padding:11px 8px;
  overflow:hidden;
  border:1px solid rgba(216,184,108,.14);
  border-radius:15px;
  background:rgba(8,20,34,.64);
}
.yone-level-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:9px;
}
.yone-level-title>strong{
  color:#f0d58e;
  font-size:12px;
}
.yone-priority-icons{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:5px;
}
.yone-priority-item{
  position:relative;
  display:inline-flex;
}
.yone-priority-item img,
.yone-priority-placeholder{
  width:28px;
  height:28px;
  border-radius:999px;
  object-fit:cover;
}
.yone-priority-item i{
  position:absolute;
  top:-4px;
  right:-4px;
  display:grid;
  place-items:center;
  width:13px;
  height:13px;
  border-radius:999px;
  background:#f0d58e;
  color:#102033;
  font-size:8px;
  font-style:normal;
  font-weight:900;
}
.yone-priority-icons>b{
  color:var(--gold);
  font-size:9px;
}
.yone-level-table{
  width:100%;
  overflow:hidden;
}
.yone-level-row{
  display:grid;
  grid-template-columns:34px repeat(15,minmax(0,1fr));
  gap:2px;
  align-items:center;
}
.yone-level-row+.yone-level-row{margin-top:2px}
.yone-level-skill{
  display:grid;
  grid-template-columns:20px 1fr;
  gap:2px;
  align-items:center;
  min-width:0;
  padding:2px;
  border-radius:7px;
  background:rgba(255,255,255,.035);
}
.yone-level-skill img,
.yone-level-placeholder{
  width:20px;
  height:20px;
  border-radius:999px;
  object-fit:cover;
}
.yone-level-skill span{
  color:#f0d58e;
  font-size:8px;
  font-weight:900;
}
.yone-level-skill.title{
  display:flex;
  justify-content:center;
  background:transparent;
  color:var(--gold);
  font-size:7px;
}
.yone-level-cell{
  display:grid;
  place-items:center;
  min-width:0;
  height:24px;
  border:1px solid rgba(255,255,255,.055);
  border-radius:6px;
  color:var(--muted);
  font-size:7px;
}
.yone-level-row.header .yone-level-cell{
  height:18px;
  border:0;
  background:transparent;
}
.yone-level-cell.active{
  border-color:rgba(216,184,108,.38);
  background:rgba(216,184,108,.10);
}
.yone-level-cell.active i{
  display:block;
  width:9px;
  height:9px;
  border-radius:999px;
  background:#f0d58e;
}

/* 下拉連招 */
.yone-combo-list{margin-top:15px}
.yone-combo-item{
  overflow:hidden;
  border:1px solid rgba(216,184,108,.13);
  border-radius:13px;
  background:rgba(8,20,34,.64);
}
.yone-combo-item+.yone-combo-item{margin-top:7px}
.yone-combo-item summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:11px 12px;
  cursor:pointer;
  list-style:none;
  color:#f0d58e;
  font-size:11px;
  font-weight:900;
}
.yone-combo-item summary::-webkit-details-marker{display:none}
.yone-combo-item summary i{
  font-size:12px;
  font-style:normal;
  transition:transform .2s ease;
}
.yone-combo-item[open] summary i{transform:rotate(180deg)}
.yone-combo-content{
  padding:0 11px 11px;
  border-top:1px solid rgba(255,255,255,.05);
}
.yone-combo-steps{
  display:flex;
  align-items:center;
  gap:5px;
  padding-top:10px;
  flex-wrap:wrap;
}
.yone-combo-step{
  display:grid;
  justify-items:center;
  gap:3px;
}
.yone-combo-step img,
.yone-combo-placeholder,
.yone-combo-aa{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:999px;
  object-fit:cover;
}
.yone-combo-aa{
  color:#f0d58e;
  background:rgba(216,184,108,.14);
  font-size:10px;
  font-style:normal;
  font-weight:900;
}
.yone-combo-step small{
  color:var(--muted);
  font-size:7px;
}
.yone-combo-steps>b{
  color:var(--gold);
  font-size:9px;
}
.yone-combo-content p{
  margin:9px 0 0;
  color:var(--muted);
  font-size:9px;
  line-height:1.65;
}

/* 對局只留兩欄 */
.matchup-grid.yone-no-ban{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

@media(max-width:720px){
  .yone-build-top{
    grid-template-columns:.78fr .78fr 2fr;
    gap:7px;
  }
  .yone-build-group{
    padding:9px 5px;
  }
  .yone-build-group>strong{font-size:9px}
  .yone-item-circle{
    width:50px;
    height:50px;
  }
  .yone-core-items{gap:4px}
  .yone-item>small{font-size:7px}
}

@media(max-width:420px){
  .yone-build-top{
    grid-template-columns:.8fr .8fr 2.1fr;
  }
  .yone-item-circle{
    width:44px;
    height:44px;
  }
  .yone-skill-row{
    grid-template-columns:44px 1fr;
    gap:8px;
    padding:8px;
  }
  .yone-skill-image img,
  .yone-skill-placeholder{
    width:44px;
    height:44px;
  }
  .yone-skill-text strong{font-size:10px}
  .yone-skill-text p{font-size:9px}
  .yone-level-block{padding:9px 5px}
  .yone-level-row{
    grid-template-columns:29px repeat(15,minmax(0,1fr));
    gap:1px;
  }
  .yone-level-skill{
    grid-template-columns:17px 1fr;
    gap:1px;
  }
  .yone-level-skill img,
  .yone-level-placeholder{
    width:17px;
    height:17px;
  }
  .yone-level-cell{
    height:21px;
    border-radius:4px;
    font-size:6px;
  }
  .yone-level-cell.active i{
    width:7px;
    height:7px;
  }
  .matchup-grid.yone-no-ban{
    grid-template-columns:1fr;
  }
}


/* v39｜英雄路線分類固定六格同一行
   僅修改 ALL／巴龍路／打野／中路／飛龍路／輔助分類列，
   不影響犽凝英雄資訊頁。 */
.hero-role-tabs{
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  overflow:visible !important;
  padding-bottom:0 !important;
}
.hero-role-tab{
  min-width:0;
  white-space:nowrap;
}

@media(max-width:800px){
  .hero-role-tabs{
    grid-template-columns:repeat(6,minmax(0,1fr)) !important;
    gap:5px;
  }
}

@media(max-width:520px){
  .hero-role-tabs{
    grid-template-columns:repeat(6,minmax(0,1fr)) !important;
    gap:3px;
    margin:4px 0 13px;
  }
  .hero-role-tab{
    min-width:0;
    padding:6px 1px;
    gap:2px;
    border-radius:10px;
    font-size:8px;
    line-height:1.15;
  }
  .hero-role-tab img{
    width:24px;
    height:24px;
    border-radius:7px;
  }
}

@media(max-width:380px){
  .hero-role-tabs{gap:2px}
  .hero-role-tab{
    padding:5px 0;
    font-size:7.5px;
  }
  .hero-role-tab img{
    width:22px;
    height:22px;
  }
}


/* v57：首頁／英雄列表搜尋與返回狀態 */
.home-hero-search{position:relative;width:min(620px,100%);margin:24px auto 0;text-align:left;z-index:1000;isolation:isolate}
.home-hero-search-field,.hero-list-search-field{display:flex;align-items:center;gap:10px;border:1px solid rgba(216,184,108,.34);border-radius:16px;background:rgba(7,18,31,.9);box-shadow:0 14px 34px rgba(0,0,0,.24);padding:0 14px}
.home-hero-search-field:focus-within,.hero-list-search-field:focus-within{border-color:rgba(216,184,108,.72);box-shadow:0 0 0 3px rgba(216,184,108,.09),0 14px 34px rgba(0,0,0,.24)}
.home-hero-search-field>span,.hero-list-search-field>span{color:var(--gold);font-size:24px;line-height:1;transform:rotate(-20deg)}
.home-hero-search-field input,.hero-list-search-field input{width:100%;border:0;outline:0;background:transparent;color:var(--text);font:inherit;font-size:16px;line-height:1.5;padding:14px 0;-webkit-text-size-adjust:100%}
.home-hero-search-field input::placeholder,.hero-list-search-field input::placeholder{color:#718399}
.home-hero-search-results{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:1001;border:1px solid rgba(216,184,108,.3);border-radius:16px;background:rgba(6,17,29,.98);box-shadow:0 22px 55px rgba(0,0,0,.46);padding:7px;max-height:420px;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.home-hero-search-result{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:11px;align-items:center;padding:9px 10px;border-radius:12px;border:1px solid transparent}
.home-hero-search-result:hover,.home-hero-search-result:focus-visible,.home-hero-search-result.is-active{outline:0;border-color:rgba(216,184,108,.35);background:rgba(21,43,68,.9)}
.home-hero-search-result img,.home-hero-search-monogram{width:46px;height:46px;border-radius:12px;object-fit:cover;border:1px solid rgba(216,184,108,.3);background:#102137}
.home-hero-search-monogram{display:grid;place-items:center;color:var(--gold);font-weight:900}
.home-hero-search-result strong,.home-hero-search-result small{display:block}
.home-hero-search-result strong{font-size:14px}
.home-hero-search-result small{margin-top:3px;color:var(--muted);font-size:11px}
.home-hero-search-result i{font-style:normal;color:var(--gold);font-size:11px;font-weight:900}
.home-hero-search-empty{padding:22px;text-align:center;color:var(--muted);font-size:13px}
.home-map-bg .role-strip{position:relative;z-index:1}
.hero-list-search{display:flex;align-items:center;gap:12px;margin:-4px 0 16px}
.hero-list-search-field{flex:1;box-shadow:none;border-radius:14px}
.hero-list-search-field input{padding:12px 0}
.hero-list-search-field button{border:0;background:transparent;color:var(--muted);font-size:22px;cursor:pointer;padding:5px}
.hero-list-search-field button:hover{color:var(--text)}
.hero-list-search-status{min-width:88px;text-align:right;color:var(--muted);font-size:12px}
.hero-search-no-result{padding:46px 18px;text-align:center;color:var(--muted);border:1px dashed rgba(255,255,255,.13);border-radius:16px}
@media(max-width:700px){
  .home-hero-search{margin-top:18px}
  .home-hero-search-results{max-height:360px}
  .home-hero-search-result{grid-template-columns:42px minmax(0,1fr)}
  .home-hero-search-result img,.home-hero-search-monogram{width:42px;height:42px}
  .home-hero-search-result i{display:none}
  .hero-list-search{display:block;margin-bottom:13px}
  .hero-list-search-status{display:block;min-width:0;text-align:left;margin:7px 4px 0}
}


/* v76｜第二階段攻略內容鎖定：飛龍路合適輔助＋連招特殊步驟 */
.yone-combo-action{
  width:30px;
  height:30px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#f0d58e;
  background:rgba(216,184,108,.14);
  border:1px solid rgba(216,184,108,.28);
  font-size:10px;
  font-style:normal;
  font-weight:900;
}
.duo-support-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.duo-support-card{
  min-width:0;
  border:1px solid rgba(216,184,108,.2);
  border-radius:15px;
  padding:13px;
  background:linear-gradient(150deg,rgba(216,184,108,.07),rgba(8,20,34,.72));
}
.duo-support-card .matchup-chip{
  color:#f0d58e;
  border-color:rgba(216,184,108,.28);
}
.duo-support-card p{
  margin:10px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.65;
}
@media(max-width:720px){
  .duo-support-grid{grid-template-columns:1fr;gap:8px}
  .duo-support-card{padding:11px}
}


/* v77.1｜第三階段：英雄搜尋功能正式化 */
.home-hero-search-result.is-active{box-shadow:inset 3px 0 0 var(--gold)}


/* V77.2 · hero condition filters */
.hero-filter-bar{display:flex;align-items:center;gap:12px;margin:-5px 0 18px;padding:10px 12px;border:1px solid rgba(216,184,108,.2);border-radius:14px;background:rgba(7,18,31,.55)}
.hero-filter-label{flex:0 0 auto;color:var(--gold);font-size:12px;font-weight:900;letter-spacing:.08em}
.hero-filter-options{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0}
.hero-filter-chip{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.11);border-radius:999px;background:rgba(255,255,255,.035);color:var(--muted);padding:7px 10px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;transition:.16s}
.hero-filter-chip:hover{border-color:rgba(216,184,108,.38);color:var(--text);background:rgba(21,43,68,.78)}
.hero-filter-chip.active{border-color:rgba(216,184,108,.62);color:#f6dda1;background:rgba(216,184,108,.12);box-shadow:inset 0 0 0 1px rgba(216,184,108,.08)}
.hero-filter-chip small{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:rgba(255,255,255,.07);color:inherit;font-size:10px;line-height:1}
.hero-filter-chip.active small{background:rgba(216,184,108,.18)}
@media(max-width:720px){
  .hero-filter-bar{display:block;margin:-3px 0 14px;padding:9px 0 8px;border-left:0;border-right:0;border-radius:0;background:transparent}
  .hero-filter-label{display:block;margin:0 3px 7px}
  .hero-filter-options{flex-wrap:nowrap;gap:6px;overflow-x:auto;padding:0 3px 3px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .hero-filter-options::-webkit-scrollbar{display:none}
  .hero-filter-chip{flex:0 0 auto;padding:7px 9px;font-size:11px}
}

/* ===== v77.3｜第三階段：手機版與響應式正式調整 ===== */
html{-webkit-text-size-adjust:100%}
body{overflow-wrap:anywhere}
img{max-width:100%}
button,input,select,textarea{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}

/* 六個英雄路線分頁（ALL + 五路） */
.hero-role-tabs{grid-template-columns:repeat(6,minmax(0,1fr))}

@media (max-width: 1024px){
  .shell{width:min(100% - 24px,1160px)}
  .hero-page-head{align-items:flex-start}
  .hero-version-badge{max-width:420px}
  .home-card{min-height:200px}
  .hero-overview-shell,.hero-profile{min-width:0}
}

@media (max-width: 800px){
  body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
  .topbar{padding-top:env(safe-area-inset-top)}
  .shell{width:calc(100% - 20px)}

  /* 導覽列可滑動，並保留清楚的觸控範圍 */
  .topbar-inner{padding-bottom:9px}
  .nav{width:100%;justify-content:flex-start;scroll-padding-inline:4px}
  .nav a{min-height:36px;display:inline-flex;align-items:center;justify-content:center;padding:7px 11px}

  /* 首頁 */
  body.home-map-bg .hero{margin-top:8px;padding-left:10px;padding-right:10px}
  .home-hero-search{width:100%;margin-top:16px}
  .home-hero-search-field,.hero-list-search-field{min-height:48px;border-radius:14px}
  .home-hero-search-field input,.hero-list-search-field input{font-size:16px}
  .home-hero-search-results{left:0;right:0;max-height:min(56vh,360px)}
  .role-strip{gap:5px}
  .role-link{min-width:0}
  .role-link span{white-space:nowrap}
  .home-card{align-items:start}

  /* 英雄資料庫：六個分頁完整塞入單列 */
  .hero-role-tabs{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}
  .hero-role-tab{min-height:58px;padding:6px 1px;font-size:9px}
  .hero-role-tab img{width:27px;height:27px}
  .hero-list-search{margin-top:0}
  .hero-list-search-field button{min-width:38px;min-height:38px}
  .hero-filter-chip{min-height:38px}

  /* 頁面標題與資料卡 */
  .page-head.compact{padding-top:22px}
  .hero-version-badge strong{line-height:1.45}
  .hero-profile-hero{align-items:start}
  .hero-title-row{align-items:flex-start}
  .hero-section-title{align-items:flex-start}

  /* 橫向內容只在必要區塊滑動 */
  .tabs,.item-tabs,.shoe-level-tabs,.rune-tabs,.hero-filter-options,.skill-level-grid{
    overscroll-behavior-inline:contain;
  }
  .tabs,.item-tabs,.shoe-level-tabs,.rune-tabs,.hero-filter-options{padding-bottom:6px}

  /* 裝備、符文、技能卡片觸控尺寸 */
  .item-icon,.spell-icon,.rune-card,.tier-hero-card{min-width:0}
  .item-icon,.spell-icon,.tier-hero-card{touch-action:manipulation}
  .item-tab,.shoe-level,.tab,.rune-tab{min-height:40px}

  /* 防止長文字撐破版面 */
  .home-card p,.desc,.detail-description,.hero-summary-box p,.ability-card p,.stack-card p,.playstyle-step p{
    word-break:break-word;
  }
  .build-mini span,.item-icon strong,.spell-icon strong,.tier-hero-card strong{
    overflow-wrap:anywhere;
  }
}

@media (max-width: 560px){
  .shell{width:calc(100% - 16px)}
  .brand{font-size:14px}
  .nav{gap:5px;font-size:11px}
  .nav a{padding:6px 9px}

  body.home-map-bg .hero h1{font-size:31px}
  .home-hero-search-field>span,.hero-list-search-field>span{font-size:21px}
  .home-grid{gap:9px}
  .home-card,.home-card.wide{grid-template-columns:54px minmax(0,1fr);gap:11px;padding:12px}
  .home-icon{width:54px;height:54px;font-size:13px}
  .home-card h2{font-size:19px}

  .hero-page-head h1,.page-head h1{font-size:27px}
  .hero-page-head p{font-size:12px}
  .hero-role-tabs{gap:3px}
  .hero-role-tab{min-height:54px;font-size:8px;border-radius:10px}
  .hero-role-tab img{width:25px;height:25px}
  .hero-role-tab[data-role="all"] span{font-size:9px}

  .tier-hero-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hero-profile-hero{grid-template-columns:64px minmax(0,1fr);padding:12px 10px}
  .hero-avatar{width:64px;height:64px;border-radius:15px}
  .hero-title-row h2{font-size:21px}
  .tier-badge-large{font-size:12px}

  .item-icon-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .spell-icon-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rune-row.cols-5,.rune-row.cols-4,.rune-row.cols-3,.rune-row.cols-2{grid-template-columns:1fr}
  .keystone-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width: 380px){
  .shell{width:calc(100% - 12px)}
  .nav a{padding-inline:8px}
  .role-link span{font-size:7px}
  .hero-role-tab{min-height:51px;padding-inline:0;font-size:7.5px}
  .hero-role-tab img{width:23px;height:23px}
  .tier-hero-avatar-wrap{width:56px;height:56px}
  .tier-hero-avatar,.tier-hero-placeholder{width:50px;height:50px}
  .item-icon img{width:52px;height:52px}
  .spell-icon img{width:52px;height:52px}
  .keystone-grid{grid-template-columns:1fr}
}


/* ===== v77.4｜第三階段：名稱與介面校正 ===== */
.hero-filter-reset,
.hero-result-reset{
  flex:0 0 auto;
  border:1px solid rgba(216,184,108,.42);
  border-radius:999px;
  background:rgba(216,184,108,.1);
  color:#f2d997;
  padding:8px 12px;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
}
.hero-filter-reset:hover,
.hero-result-reset:hover{background:rgba(216,184,108,.18);border-color:rgba(216,184,108,.68)}
.hero-search-no-result strong{display:block;color:var(--text);font-size:16px}
.hero-search-no-result p{margin:7px auto 14px;max-width:520px;color:var(--muted);font-size:12px;line-height:1.65}
.hero-result-reset{display:inline-flex;align-items:center;justify-content:center;min-height:38px}
.hero-avatar.hero-avatar-placeholder{display:grid;place-items:center;color:var(--gold);font-size:42px;font-weight:900;background:linear-gradient(145deg,#102742,#071522)}
@media(max-width:720px){
  .hero-filter-bar{position:relative}
  .hero-filter-reset{width:calc(100% - 6px);margin:8px 3px 0;min-height:40px}
  .hero-search-no-result{padding:34px 14px}
}


/* v78.1 SEO / hero sharing */
.hero-detail-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.hero-detail-actions .hero-lane-switch{margin:0}
.hero-share-button{border:1px solid rgba(216,184,108,.5);background:linear-gradient(160deg,rgba(30,55,85,.98),rgba(10,24,40,.98));color:#f1d99a;border-radius:12px;padding:10px 14px;font:inherit;font-size:13px;font-weight:900;cursor:pointer;white-space:nowrap;transition:transform .15s ease,border-color .15s ease,background .15s ease}
.hero-share-button:hover{transform:translateY(-1px);border-color:rgba(216,184,108,.85);background:linear-gradient(160deg,rgba(39,68,103,.98),rgba(12,29,48,.99))}
.hero-share-button:focus-visible{outline:2px solid #f1d99a;outline-offset:3px}
@media(max-width:560px){.hero-detail-actions{width:100%;justify-content:space-between}.hero-detail-actions .hero-lane-switch{flex:1}.hero-share-button{min-height:44px}}


/* ===== v78.2｜玩家找隊友 Beta 第一版 ===== */
.player-page{padding-bottom:64px}
.player-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.player-page-head>div:first-child{max-width:760px}
.player-page-head p{max-width:720px;line-height:1.75}
.player-beta-badge{flex:0 0 auto;min-width:235px;padding:14px 16px;border:1px solid rgba(216,184,108,.28);border-radius:16px;background:linear-gradient(150deg,rgba(216,184,108,.11),rgba(8,20,34,.76));text-align:right}
.player-beta-badge span{display:block;color:var(--gold);font-size:11px;font-weight:900;letter-spacing:.08em}
.player-beta-badge strong{display:block;margin-top:5px;font-size:13px}
.player-demo-notice{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:8px 0 16px;padding:18px 20px;border:1px solid rgba(100,214,130,.28);border-radius:18px;background:linear-gradient(145deg,rgba(100,214,130,.08),rgba(10,25,41,.92))}
.player-demo-notice strong{font-size:16px;color:#b9f2c8}
.player-demo-notice p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.65}
.player-demo-notice.is-error{border-color:rgba(255,123,123,.34);background:linear-gradient(145deg,rgba(119,42,42,.16),rgba(10,25,41,.92))}
.player-demo-notice.is-error strong{color:#ffc2c2}
.player-demo-notice.is-ready strong{color:#b9f2c8}
.player-notice-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex:0 0 auto}
.player-notice-actions button:first-child{border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.045);color:var(--muted);box-shadow:none}
.player-demo-notice button,.player-empty button{flex:0 0 auto;border:1px solid rgba(216,184,108,.58);border-radius:13px;background:linear-gradient(145deg,#d8b86c,#9d7734);color:#07111c;padding:12px 16px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(0,0,0,.22)}
.player-demo-notice button:disabled{opacity:.5;cursor:wait;transform:none}
.player-demo-notice button:hover,.player-empty button:hover{filter:brightness(1.08);transform:translateY(-1px)}
.player-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:0 0 18px}
.player-stats>div{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:11px;padding:15px 17px;border:1px solid var(--line);border-radius:15px;background:rgba(14,28,45,.8)}
.player-stats span{grid-column:1/-1;color:var(--muted);font-size:11px;font-weight:800}
.player-stats strong{font-size:28px;line-height:1.1;color:#f3d68d}
.player-stats small{align-self:end;color:var(--muted);font-size:11px;padding-bottom:2px}
.player-filter-panel{margin-bottom:25px;padding:19px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(155deg,rgba(19,38,62,.88),rgba(8,20,34,.92));box-shadow:0 15px 38px rgba(0,0,0,.18)}
.player-filter-heading,.player-list-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:14px}
.player-filter-heading h2,.player-list-head h2{margin:3px 0 0;font-size:22px}
.player-filter-heading>button{border:1px solid rgba(216,184,108,.38);border-radius:999px;background:rgba(216,184,108,.08);color:#f0d58e;padding:8px 12px;font-size:11px;font-weight:900;cursor:pointer}
.player-filter-grid{display:grid;grid-template-columns:2fr repeat(6,minmax(0,1fr));gap:9px}
.player-filter-grid label,.player-form-grid label{display:block;color:var(--muted);font-size:11px;font-weight:800}
.player-filter-grid input,.player-filter-grid select,.player-form-grid input,.player-form-grid select,.player-form-grid textarea{width:100%;margin-top:6px;border:1px solid rgba(255,255,255,.1);border-radius:11px;background:#091725;color:var(--text);padding:11px 12px;outline:none}
.player-filter-grid input:focus,.player-filter-grid select:focus,.player-form-grid input:focus,.player-form-grid select:focus,.player-form-grid textarea:focus{border-color:rgba(216,184,108,.62);box-shadow:0 0 0 3px rgba(216,184,108,.08)}
.player-filter-grid select,.player-form-grid select{min-height:42px}
.player-list-head>span{color:var(--muted);font-size:12px}
.player-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.player-card{min-width:0;padding:18px;border:1px solid var(--line);border-radius:20px;background:radial-gradient(circle at 96% 5%,rgba(216,184,108,.1),transparent 32%),linear-gradient(155deg,rgba(20,42,67,.97),rgba(7,18,31,.98));box-shadow:0 16px 42px rgba(0,0,0,.22)}
.player-card-top{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:center}
.player-avatar-mark{width:48px;height:48px;border:1px solid rgba(216,184,108,.34);border-radius:15px;background:linear-gradient(145deg,#173552,#0b1c2e);display:grid;place-items:center;color:#f0d58e;font-size:15px;font-weight:900}
.player-card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}
.player-card-title>div>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.player-card-title h3{margin:0;font-size:17px;overflow-wrap:anywhere}
.player-card-title small{flex:0 0 auto;color:var(--muted);font-size:10px}
.player-sample-label,.player-own-label{display:inline-flex;border-radius:999px;padding:4px 7px;font-size:9px;font-weight:900}
.player-sample-label{border:1px solid rgba(255,255,255,.1);color:var(--muted);background:rgba(255,255,255,.04)}
.player-own-label{border:1px solid rgba(100,214,130,.26);color:#a9eebc;background:rgba(100,214,130,.08)}
.player-id-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:15px 0 12px;padding:10px 11px;border:1px solid rgba(216,184,108,.18);border-radius:12px;background:rgba(5,14,24,.6)}
.player-id-row code{min-width:0;color:#f5dea0;font-family:inherit;font-size:13px;font-weight:900;overflow-wrap:anywhere}
.player-id-row button{flex:0 0 auto;border:0;background:transparent;color:#d8b86c;font-size:10px;font-weight:900;cursor:pointer}
.player-card-meta{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:9px}
.player-card-meta span,.player-chip{display:inline-flex;align-items:center;min-height:26px;border:1px solid rgba(255,255,255,.09);border-radius:999px;background:rgba(255,255,255,.035);color:var(--muted);padding:5px 8px;font-size:10px;font-weight:800}
.player-role-chips{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}
.player-chip.role{border-color:rgba(216,184,108,.26);color:#f0d58e;background:rgba(216,184,108,.08)}
.player-chip.wanted{border-color:rgba(95,173,255,.3);color:#b9dcff;background:rgba(95,173,255,.08)}
.player-role-group{display:grid;gap:6px;margin-bottom:11px}.player-role-group>span{color:var(--muted);font-size:9px;font-weight:900;letter-spacing:.06em}.player-role-group>div{display:flex;gap:6px;flex-wrap:wrap}
.player-note{min-height:47px;margin:0;color:#dce5ee;font-size:13px;line-height:1.7}
.player-contact{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:9px 10px;border-left:3px solid rgba(100,214,130,.55);border-radius:7px;background:rgba(100,214,130,.06)}
.player-contact span{color:var(--muted);font-size:10px}
.player-contact strong{font-size:11px;overflow-wrap:anywhere;text-align:right}
.player-card-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:15px;padding-top:13px;border-top:1px solid var(--line)}
.player-card-actions button{border:1px solid rgba(255,255,255,.12);border-radius:10px;background:rgba(255,255,255,.04);color:var(--muted);padding:9px 11px;font-size:10px;font-weight:900;cursor:pointer}
.player-card-actions button.primary{border-color:rgba(216,184,108,.38);color:#f0d58e;background:rgba(216,184,108,.08)}
.player-card-actions button.danger{border-color:rgba(255,123,123,.28);color:#ffabab;background:rgba(255,123,123,.06)}
.player-empty{padding:45px 18px;border:1px dashed rgba(255,255,255,.14);border-radius:18px;text-align:center;color:var(--muted)}
.player-empty strong{display:block;color:var(--text);font-size:17px}
.player-empty p{margin:8px 0 16px;font-size:12px}
.player-safety-note{margin-top:28px;padding:17px 19px;border:1px solid rgba(255,123,123,.2);border-radius:17px;background:rgba(255,123,123,.045)}
.player-safety-note strong{color:#ffb2b2}
.player-safety-note p{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.7}
.player-dialog{width:min(720px,calc(100% - 24px));max-height:calc(100vh - 32px);padding:0;border:1px solid rgba(216,184,108,.3);border-radius:22px;background:#0a1828;color:var(--text);box-shadow:0 26px 90px rgba(0,0,0,.65);overflow:auto}
.player-dialog::backdrop{background:rgba(1,7,13,.76);backdrop-filter:blur(5px)}
.player-post-form{padding:21px}
.player-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.player-dialog-head h2{margin:3px 0 0;font-size:25px}
.player-dialog-close{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:rgba(255,255,255,.04);color:var(--muted);font-size:23px;cursor:pointer}
.player-form-intro{margin:10px 0 17px;color:var(--muted);font-size:12px;line-height:1.65}
.player-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.player-form-grid label>span{float:right;color:#bea76e;font-size:9px;font-weight:700}
.player-form-grid textarea{resize:vertical;min-height:104px;line-height:1.55}
.player-form-wide{grid-column:1/-1;position:relative}
.player-form-wide small{position:absolute;right:8px;bottom:8px;color:var(--muted);font-weight:500}
.player-wanted-roles{margin:0;padding:12px;border:1px solid rgba(255,255,255,.1);border-radius:13px}.player-wanted-roles legend{padding:0 6px;color:var(--muted);font-size:11px;font-weight:850}.player-wanted-roles legend span{color:#bea76e;font-size:9px}.player-wanted-roles>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.player-wanted-roles label{display:flex;align-items:center;gap:7px;min-height:39px;padding:8px 10px;border:1px solid rgba(255,255,255,.075);border-radius:10px;background:rgba(5,14,24,.38);color:#dce5ee;font-size:12px;cursor:pointer}.player-wanted-roles input{width:auto;margin:0;accent-color:#d8b86c}
.player-agree{display:flex;align-items:flex-start;gap:9px;margin:15px 2px;color:var(--muted);font-size:11px;line-height:1.55}
.player-agree input{margin-top:3px;accent-color:#d8b86c}
.player-form-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:15px;border-top:1px solid var(--line)}
.player-form-actions button{border-radius:11px;padding:11px 17px;font-weight:900;cursor:pointer}
.player-form-actions .secondary{border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--muted)}
.player-form-actions .primary{border:1px solid rgba(216,184,108,.55);background:linear-gradient(145deg,#d8b86c,#9d7734);color:#07111c}
.player-form-actions .danger{border:1px solid rgba(255,123,123,.35);background:rgba(135,39,39,.35);color:#ffc0c0}
.player-report-dialog{width:min(520px,calc(100% - 24px))}.player-report-reason,.player-report-detail{display:grid;gap:7px;margin-top:14px;color:var(--muted);font-size:11px;font-weight:800}.player-report-reason span,.player-report-detail span{color:#bea76e;font-size:9px}.player-report-reason select,.player-report-detail textarea{width:100%;border:1px solid rgba(255,255,255,.1);border-radius:11px;background:#091725;color:var(--text);padding:11px 12px;outline:none}.player-report-detail textarea{resize:vertical;line-height:1.55}
.player-toast{position:fixed;left:50%;bottom:max(22px,env(safe-area-inset-bottom));z-index:90;transform:translateX(-50%);max-width:calc(100% - 24px);padding:12px 16px;border:1px solid rgba(216,184,108,.4);border-radius:999px;background:#10243a;color:#f4dda1;font-size:12px;font-weight:900;box-shadow:0 15px 40px rgba(0,0,0,.5)}
@media(max-width:1050px){.player-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.player-filter-grid label:first-child{grid-column:span 2}}
@media(max-width:760px){.player-page-head{display:block}.player-beta-badge{margin-top:14px;text-align:left}.player-demo-notice{display:block}.player-notice-actions{display:grid;grid-template-columns:1fr 1.5fr;margin-top:13px}.player-demo-notice button{width:100%;margin:0}.player-card-grid{grid-template-columns:1fr}.player-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.player-filter-grid label:first-child{grid-column:1/-1}.player-stats>div{padding:12px}.player-form-grid{grid-template-columns:1fr}.player-form-wide{grid-column:auto}}
@media(max-width:480px){.player-stats{grid-template-columns:1fr}.player-stats>div{grid-template-columns:auto 1fr}.player-filter-panel{padding:14px}.player-filter-grid{grid-template-columns:1fr}.player-filter-grid label:first-child{grid-column:auto}.player-card{padding:14px}.player-card-actions{align-items:stretch;flex-direction:column}.player-card-actions button{width:100%;min-height:42px}.player-id-row{align-items:flex-start}.player-dialog{width:calc(100% - 12px);max-height:calc(100vh - 12px);border-radius:17px}.player-post-form{padding:16px}.player-form-actions button{flex:1}.player-wanted-roles>div{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* v78.3 Traditional Chinese search visibility */
.home-seo-panel{margin-top:18px;margin-bottom:22px;padding:21px 24px;border:1px solid rgba(216,184,108,.2);border-radius:20px;background:linear-gradient(150deg,rgba(13,31,51,.9),rgba(6,18,31,.94));box-shadow:0 15px 40px rgba(0,0,0,.2)}
.home-seo-panel>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:18px}.home-seo-panel h2{margin:4px 0 0;font-size:25px}.home-seo-panel>p{margin:11px 0 15px;color:var(--muted);line-height:1.75}.home-seo-links{display:flex;flex-wrap:wrap;gap:8px}.home-seo-links a{border:1px solid rgba(216,184,108,.25);border-radius:999px;background:rgba(216,184,108,.07);color:#f0d58e;padding:8px 11px;font-size:12px;font-weight:800}.home-seo-links a:hover{border-color:rgba(216,184,108,.55);transform:translateY(-1px)}
.guide-hub-page{padding-bottom:25px}.guide-hub-head{max-width:880px}.guide-hub-head p{line-height:1.8}.guide-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:5px 0 22px}.guide-summary>div{padding:17px;border:1px solid var(--line);border-radius:16px;background:rgba(13,29,47,.78)}.guide-summary strong,.guide-summary span{display:block}.guide-summary strong{font-size:26px;color:#f0d58e}.guide-summary span{margin-top:4px;color:var(--muted);font-size:12px}.guide-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.guide-role-card{padding:20px;border:1px solid var(--line);border-radius:20px;background:radial-gradient(circle at 95% 5%,rgba(216,184,108,.09),transparent 30%),linear-gradient(155deg,rgba(19,39,63,.95),rgba(7,18,31,.98));box-shadow:0 16px 40px rgba(0,0,0,.2)}.guide-role-card:last-child:nth-child(odd){grid-column:1/-1}.guide-role-head{display:flex;align-items:center;gap:13px}.guide-role-head img{width:58px;height:58px;border-radius:14px;object-fit:cover;border:1px solid rgba(216,184,108,.25)}.guide-role-head span{color:var(--gold);font-size:10px;font-weight:900;letter-spacing:.1em}.guide-role-head h2{margin:3px 0 0;font-size:21px}.guide-role-card>p{color:var(--muted);line-height:1.7;font-size:13px}.guide-top-heroes{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0}.guide-top-heroes a{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid rgba(255,255,255,.09);border-radius:999px;background:rgba(255,255,255,.035);font-size:11px}.guide-top-heroes a span{color:#f0d58e;font-weight:900}.guide-role-link{display:inline-flex;margin-top:3px;color:#f0d58e;font-size:12px;font-weight:900}.guide-database-links,.guide-search-note{margin-top:20px;padding:22px;border:1px solid var(--line);border-radius:20px;background:rgba(10,25,42,.82)}.guide-database-links h2,.guide-search-note h2{margin:4px 0 8px}.guide-database-links p,.guide-search-note p{color:var(--muted);line-height:1.7}.guide-database-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:15px}.guide-database-grid a{padding:14px;border:1px solid rgba(216,184,108,.16);border-radius:14px;background:rgba(216,184,108,.045)}.guide-database-grid strong,.guide-database-grid span{display:block}.guide-database-grid span{margin-top:5px;color:var(--muted);font-size:11px;line-height:1.5}.guide-search-note a{color:#f0d58e;font-weight:900;font-size:12px}
@media(max-width:800px){.home-seo-panel>div:first-child{display:block}.guide-summary{grid-template-columns:repeat(2,1fr)}.guide-role-grid{grid-template-columns:1fr}.guide-role-card:last-child:nth-child(odd){grid-column:auto}.guide-database-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.home-seo-panel{padding:17px}.home-seo-panel h2{font-size:21px}.guide-summary{grid-template-columns:1fr 1fr}.guide-role-card{padding:16px}.guide-database-grid{grid-template-columns:1fr}}

/* ===== v79.1｜正式會員登入前端 ===== */
.member-nav-link{display:inline-flex!important;align-items:center!important;justify-content:center;gap:7px;min-height:36px!important;padding:6px 11px!important;border:1px solid rgba(216,184,108,.3)!important;border-radius:999px!important;background:rgba(216,184,108,.07)!important;color:#f1d99a!important;font-weight:900;max-width:152px}.member-nav-link:hover,.member-nav-link.active{border-color:rgba(216,184,108,.62)!important;background:rgba(216,184,108,.13)!important}.member-nav-avatar{width:23px;height:23px;flex:0 0 23px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#e2bd68,#82571f);color:#07111e;font-size:11px;font-weight:1000;border:1px solid rgba(255,255,255,.2)}.member-nav-name{display:block;max-width:88px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.member-page{padding-bottom:56px}.member-page-head{max-width:700px}.member-page-head h1{margin:7px 0 8px}.member-page-head p{line-height:1.65}.member-message{margin:0 0 16px;padding:13px 15px;border:1px solid var(--line);border-radius:13px;background:rgba(16,34,56,.92);font-size:13px;line-height:1.65}.member-message.success{border-color:rgba(100,214,130,.38);background:rgba(38,105,66,.2);color:#c3f2d1}.member-message.error{border-color:rgba(255,123,123,.4);background:rgba(119,42,42,.2);color:#ffd0d0}.member-message[hidden]{display:none}
.member-setup-panel,.member-auth-shell,.member-recovery-card,.member-profile-card,.member-next-stage-card{border:1px solid var(--line);border-radius:24px;background:radial-gradient(circle at 90% 0,rgba(216,184,108,.11),transparent 30%),linear-gradient(155deg,rgba(19,39,64,.98),rgba(7,18,31,.99));box-shadow:0 20px 55px rgba(0,0,0,.28)}.member-setup-panel[hidden],.member-auth-shell[hidden],.member-recovery-card[hidden],.member-dashboard[hidden]{display:none}.member-setup-panel{display:grid;grid-template-columns:60px minmax(0,1fr);gap:18px;padding:25px}.member-setup-icon{width:56px;height:56px;border-radius:17px;display:grid;place-items:center;border:1px solid rgba(241,200,91,.42);background:rgba(216,184,108,.08);color:#f1c85b;font-size:25px;font-weight:1000}.member-setup-panel h2{font-size:24px;margin:6px 0 8px}.member-setup-panel p{margin:7px 0;color:var(--muted);line-height:1.7}.member-setup-panel code{color:#f2d68d}.member-security-note{color:#f1c690!important;font-weight:900}
.member-auth-shell{max-width:880px;margin:0 auto;display:grid;grid-template-columns:minmax(0,.86fr) minmax(330px,1fr);overflow:hidden}.member-auth-visual{padding:34px;display:flex;flex-direction:column;justify-content:space-between;min-height:470px;background:radial-gradient(circle at 20% 15%,rgba(216,184,108,.22),transparent 28%),linear-gradient(145deg,rgba(28,58,91,.72),rgba(7,19,32,.42));border-right:1px solid var(--line)}.member-auth-mark{width:78px;height:78px;border-radius:24px;display:grid;place-items:center;background:linear-gradient(145deg,#e3bd65,#80531d);border:4px solid rgba(6,16,28,.72);box-shadow:0 15px 38px rgba(0,0,0,.35);color:#07111e;font-size:24px;font-weight:1000;letter-spacing:-.08em}.member-auth-visual h2{font-size:31px;line-height:1.2;margin:7px 0 10px}.member-auth-visual p{color:var(--muted);line-height:1.7;margin:0}.member-auth-card{padding:30px;background:rgba(5,15,27,.6);display:flex;align-items:center}.member-auth-form,.member-recovery-card form,.member-profile-form{width:100%;display:grid;gap:14px}.member-auth-form[hidden]{display:none}.member-auth-form label,.member-recovery-card label,.member-profile-form label{display:grid;gap:7px;color:#dce6f2;font-size:13px;font-weight:850}.member-auth-form input,.member-recovery-card input,.member-profile-form input{width:100%;min-height:48px;padding:12px 13px;border:1px solid var(--line);border-radius:12px;background:#081625;color:var(--text);font:inherit;outline:none}.member-auth-form input:focus,.member-recovery-card input:focus,.member-profile-form input:focus{border-color:rgba(216,184,108,.68);box-shadow:0 0 0 3px rgba(216,184,108,.09)}.member-primary-button,.member-secondary-button,.member-logout-button{min-height:46px;border-radius:12px;padding:10px 16px;border:0;font:inherit;font-weight:1000;cursor:pointer;text-align:center}.member-primary-button{background:linear-gradient(135deg,#e2bd68,#9b6a25);color:#07111e;box-shadow:0 10px 25px rgba(153,102,31,.23)}.member-primary-button.inline{display:inline-flex;width:auto;align-items:center;justify-content:center}.member-secondary-button{background:#17304d;color:#f3dda4;border:1px solid rgba(216,184,108,.31)}.member-logout-button{background:transparent;color:#efaaaa;border:1px solid rgba(237,112,112,.28)}.member-primary-button:disabled,.member-secondary-button:disabled,.member-logout-button:disabled,.member-sheet-action:disabled{opacity:.55;cursor:wait}.member-text-button{border:0;background:transparent;color:#d9c17f;font:inherit;font-size:13px;font-weight:850;padding:4px;cursor:pointer}.member-auth-divider{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:11px;margin:3px 0}.member-auth-divider::before,.member-auth-divider::after{content:"";height:1px;flex:1;background:var(--line)}.member-form-note{margin:0;color:var(--muted);font-size:12px;line-height:1.6}
.member-recovery-card{max-width:560px;margin:0 auto;padding:28px}.member-recovery-card h2{margin:7px 0 8px}.member-recovery-card>p{margin:0 0 18px;color:var(--muted)}.member-dashboard{display:grid;gap:18px;max-width:880px;margin:0 auto}.member-profile-card{padding:25px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px}.member-profile-summary{display:flex;align-items:center;gap:16px;min-width:0}.member-profile-avatar{width:66px;height:66px;flex:0 0 66px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#e3bd65,#79501f);border:3px solid #10233a;color:#07111e;font-size:28px;font-weight:1000;box-shadow:0 8px 24px rgba(0,0,0,.3)}.member-profile-summary h2{font-size:25px;margin:3px 0 4px;overflow-wrap:anywhere}.member-profile-summary p{margin:0;color:var(--muted);font-size:13px;overflow-wrap:anywhere}.member-profile-meta{display:flex;gap:9px}.member-profile-meta span{min-width:116px;padding:11px 12px;border:1px solid var(--line);border-radius:13px;color:var(--muted);font-size:10px}.member-profile-meta strong{display:block;color:var(--text);font-size:12px;margin-top:5px}.member-profile-form{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.65fr) auto;align-items:end;padding-top:20px;border-top:1px solid var(--line)}.member-form-heading h3{font-size:21px;margin:5px 0 5px}.member-form-heading p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.member-logout-button{grid-column:1/-1;justify-self:start}.member-next-stage-card{padding:23px}.member-next-stage-card h2{font-size:22px;margin:6px 0 7px}.member-next-stage-card p{margin:0;color:var(--muted);line-height:1.7}
.auth-callback-page{min-height:100vh;display:grid;place-items:center;padding:20px}.auth-callback-card{width:min(520px,100%);padding:34px;border:1px solid var(--line);border-radius:24px;text-align:center;background:radial-gradient(circle at 50% 0,rgba(216,184,108,.13),transparent 35%),linear-gradient(155deg,rgba(19,39,64,.98),rgba(7,18,31,.99));box-shadow:0 24px 60px rgba(0,0,0,.34)}.auth-callback-card h1{font-size:28px;margin:12px 0 8px}.auth-callback-card p{color:var(--muted);line-height:1.7;margin:0 0 20px}.auth-callback-spinner{width:52px;height:52px;margin:0 auto 18px;border-radius:50%;display:block;border:4px solid rgba(216,184,108,.18);border-top-color:var(--gold);animation:memberSpin .9s linear infinite}body[data-callback-state="success"] .auth-callback-spinner{animation:none;border:0;background:rgba(100,214,130,.14);color:#88e6a5}body[data-callback-state="success"] .auth-callback-spinner::after{content:"✓";display:grid;place-items:center;width:52px;height:52px;font-size:27px;font-weight:1000}body[data-callback-state="error"] .auth-callback-spinner{animation:none;border:0;background:rgba(255,123,123,.14)}body[data-callback-state="error"] .auth-callback-spinner::after{content:"!";display:grid;place-items:center;width:52px;height:52px;color:#ffaaaa;font-size:27px;font-weight:1000}@keyframes memberSpin{to{transform:rotate(360deg)}}
.member-sheet-root[hidden]{display:none}.member-sheet-root{position:fixed;inset:0;z-index:100;display:flex;align-items:flex-end;justify-content:center;pointer-events:none}.member-sheet-root.is-open{pointer-events:auto}.member-sheet-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.58);opacity:0;transition:opacity .18s;backdrop-filter:blur(3px)}.member-sheet-root.is-open .member-sheet-backdrop{opacity:1}.member-sheet{position:relative;width:min(520px,100%);padding:10px 18px max(20px,env(safe-area-inset-bottom));border:1px solid rgba(255,255,255,.12);border-bottom:0;border-radius:25px 25px 0 0;background:radial-gradient(circle at 85% 0,rgba(216,184,108,.13),transparent 30%),linear-gradient(165deg,#142b46,#071321);box-shadow:0 -20px 55px rgba(0,0,0,.45);transform:translateY(102%);transition:transform .2s ease}.member-sheet-root.is-open .member-sheet{transform:translateY(0)}.member-sheet-handle{width:42px;height:4px;border-radius:99px;background:rgba(255,255,255,.25);margin:0 auto 14px}.member-sheet-head{display:grid;grid-template-columns:56px minmax(0,1fr) 36px;align-items:center;gap:12px;padding:4px 2px 17px;border-bottom:1px solid var(--line)}.member-sheet-avatar{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#e2bd68,#82571f);color:#07111e;font-size:22px;font-weight:1000;border:3px solid #10233a}.member-sheet-head small{display:block;color:var(--gold);font-size:10px;font-weight:900;letter-spacing:.08em}.member-sheet-head h2{font-size:20px;margin:2px 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-sheet-head p{font-size:11px;color:var(--muted);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-sheet-close{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--text);font-size:21px;cursor:pointer}.member-sheet-actions{display:grid;gap:8px;padding-top:13px}.member-sheet-action{width:100%;min-height:49px;display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:13px;background:rgba(8,20,34,.62);color:var(--text);padding:0 14px;font:inherit;font-size:14px;font-weight:850;cursor:pointer}.member-sheet-action.primary{border-color:rgba(216,184,108,.32);background:rgba(216,184,108,.08);color:#f2dda1}.member-sheet-action.danger{color:#efaaaa;border-color:rgba(237,112,112,.2);background:rgba(110,35,35,.11)}.member-sheet-action b{font-size:20px;color:var(--gold)}.member-sheet-action.danger b{color:#efaaaa}.member-sheet-open{overflow:hidden}
@media(min-width:701px){.member-sheet-root{align-items:flex-start;justify-content:flex-end;padding:72px 22px 0}.member-sheet{width:360px;border-radius:20px;border-bottom:1px solid rgba(255,255,255,.12);padding:10px 16px 18px;transform:translateY(-14px) scale(.97);opacity:0;transform-origin:top right}.member-sheet-root.is-open .member-sheet{transform:translateY(0) scale(1);opacity:1}.member-sheet-handle{display:none}}
@media(max-width:800px){.member-nav-link{min-height:36px!important}.member-auth-shell{grid-template-columns:1fr;max-width:560px}.member-auth-visual{min-height:0;padding:21px;display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:14px;border-right:0;border-bottom:1px solid var(--line)}.member-auth-mark{width:58px;height:58px;border-radius:18px;font-size:18px}.member-auth-visual h2{font-size:23px;margin:4px 0}.member-auth-visual p{font-size:12px}.member-auth-card{padding:20px}.member-profile-card{grid-template-columns:1fr}.member-profile-meta{grid-column:1}.member-profile-form{grid-template-columns:1fr auto}.member-form-heading{grid-column:1/-1}.member-logout-button{grid-column:1/-1}}
@media(max-width:560px){.member-page{padding-bottom:30px}.member-page-head{padding-top:23px}.member-page-head h1{font-size:28px}.member-nav-name{max-width:70px}.member-setup-panel{grid-template-columns:1fr;padding:18px;border-radius:19px}.member-setup-icon{width:50px;height:50px}.member-setup-panel h2{font-size:21px}.member-auth-shell,.member-recovery-card,.member-profile-card,.member-next-stage-card{border-radius:19px}.member-auth-visual{padding:16px;grid-template-columns:50px minmax(0,1fr)}.member-auth-mark{width:50px;height:50px;border-radius:15px;font-size:16px}.member-auth-visual h2{font-size:20px}.member-auth-visual p{display:none}.member-auth-card{padding:17px}.member-auth-form input,.member-recovery-card input,.member-profile-form input{font-size:16px}.member-recovery-card,.member-profile-card,.member-next-stage-card{padding:18px}.member-profile-summary{align-items:flex-start}.member-profile-avatar{width:58px;height:58px;flex-basis:58px;font-size:23px}.member-profile-summary h2{font-size:20px}.member-profile-meta{display:grid;grid-template-columns:1fr 1fr}.member-profile-meta span{min-width:0}.member-profile-form{grid-template-columns:1fr}.member-form-heading{grid-column:auto}.member-secondary-button{width:100%}.member-logout-button{width:100%;justify-self:stretch}.member-next-stage-card h2{font-size:19px}.auth-callback-card{padding:25px 20px;border-radius:20px}.auth-callback-card h1{font-size:24px}}
@media(max-width:800px){.nav .member-nav-link{position:sticky;right:0;z-index:3;background:#0c1b2d!important;box-shadow:-12px 0 16px rgba(5,14,25,.88)}}

/* v79.2 會員系統、收藏英雄、最近瀏覽 */
.member-connection-row{max-width:880px;margin:-5px auto 16px;display:flex;align-items:center;justify-content:flex-end;gap:10px}.member-connection-status{flex:1;padding:9px 12px;border-radius:10px;border:1px solid var(--line);background:rgba(8,22,38,.7);font-size:11px;line-height:1.45;color:var(--muted)}.member-connection-status.ok{border-color:rgba(100,214,130,.25);color:#bde9ca}.member-connection-status.error{border-color:rgba(255,123,123,.3);color:#ffc8c8}.member-connection-retry,.member-library-clear{border:1px solid rgba(216,184,108,.28);border-radius:10px;background:rgba(216,184,108,.07);color:#efd794;padding:8px 11px;font:inherit;font-size:11px;font-weight:900;cursor:pointer}.member-connection-retry:disabled,.member-library-clear:disabled{opacity:.5;cursor:wait}.member-error-details{margin-top:8px;padding-top:7px;border-top:1px solid rgba(255,255,255,.1)}.member-error-details summary{cursor:pointer;font-weight:850;color:#f2d7d7}.member-error-details code{display:block;margin-top:7px;padding:9px;border-radius:8px;background:rgba(0,0,0,.25);white-space:pre-wrap;overflow-wrap:anywhere;color:#ffdede;font-size:10px;line-height:1.55}.member-library-card{border:1px solid var(--line);border-radius:24px;padding:23px;background:radial-gradient(circle at 90% 0,rgba(216,184,108,.1),transparent 30%),linear-gradient(155deg,rgba(19,39,64,.98),rgba(7,18,31,.99));box-shadow:0 20px 55px rgba(0,0,0,.24)}.member-library-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:17px}.member-library-heading h2{font-size:22px;margin:5px 0 5px}.member-library-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.member-library-count{min-width:42px;height:42px;padding:0 10px;border-radius:14px;display:grid;place-items:center;border:1px solid rgba(216,184,108,.3);background:rgba(216,184,108,.08);color:#efd794;font-weight:1000}.member-library-empty{margin:0;padding:23px 12px;border:1px dashed rgba(255,255,255,.12);border-radius:14px;text-align:center;color:var(--muted);font-size:13px}.member-library-empty[hidden]{display:none}.member-hero-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:13px}.member-hero-bubble{min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px;padding:10px 7px;border:1px solid transparent;border-radius:15px;color:var(--text);text-align:center;transition:.16s}.member-hero-bubble:hover{border-color:rgba(216,184,108,.3);background:rgba(216,184,108,.06);transform:translateY(-2px)}.member-hero-avatar{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#1a3554,#091524);border:3px solid #122945;box-shadow:0 8px 20px rgba(0,0,0,.28);font-size:22px;font-weight:1000;color:#efd794}.member-hero-avatar img{width:100%;height:100%;object-fit:cover}.member-hero-bubble strong{max-width:100%;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-hero-bubble small{font-size:9px;color:var(--muted)}
.hero-favorite-button{position:absolute;right:7px;top:7px;z-index:2;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(216,184,108,.34);background:rgba(6,16,28,.86);color:#f0d594;font:inherit;font-size:21px;font-weight:1000;cursor:pointer;box-shadow:0 5px 16px rgba(0,0,0,.32)}.hero-favorite-button:hover{transform:scale(1.05)}.hero-favorite-button.is-favorite{background:linear-gradient(145deg,#e2bd68,#8e5d20);color:#081321;border-color:rgba(255,231,164,.75)}.tier-hero-card-wrap{position:relative}.hero-favorite-button.detail{position:static;width:auto;height:40px;border-radius:12px;padding:0 12px;display:inline-flex;align-items:center;gap:7px;font-size:17px;background:rgba(216,184,108,.08)}.hero-favorite-button.detail b{font-size:12px}.hero-favorite-button:disabled{opacity:.55;cursor:wait}
@media(max-width:560px){.member-connection-row{align-items:stretch;flex-direction:column;margin-bottom:12px}.member-connection-retry{align-self:flex-end}.member-library-card{padding:18px;border-radius:19px}.member-hero-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.member-hero-avatar{width:54px;height:54px}.member-hero-bubble{padding:7px 2px}.member-hero-bubble strong{font-size:11px}.hero-favorite-button{right:4px;top:4px;width:31px;height:31px;font-size:18px}.hero-favorite-button.detail{height:38px;padding:0 10px}.hero-favorite-button.detail b{display:none}}


/* v79.3 正式會員中心與首頁會員資訊 */
.home-member-panel[hidden]{display:none}.home-member-panel{margin-top:18px;margin-bottom:22px;border:1px solid rgba(216,184,108,.28);border-radius:22px;background:radial-gradient(circle at 90% 0,rgba(216,184,108,.15),transparent 31%),linear-gradient(150deg,rgba(15,36,59,.97),rgba(6,18,31,.98));box-shadow:0 18px 46px rgba(0,0,0,.26);overflow:hidden}.home-member-summary{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:14px;padding:20px 22px;border-bottom:1px solid var(--line)}.home-member-avatar{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#e2bd68,#81551f);border:3px solid #10233a;color:#07111e;font-size:23px;font-weight:1000;box-shadow:0 8px 24px rgba(0,0,0,.3)}.home-member-summary h2{font-size:22px;margin:4px 0}.home-member-summary p{margin:0;color:var(--muted);font-size:12px}.home-member-center-link{min-height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(216,184,108,.34);border-radius:12px;padding:0 13px;background:rgba(216,184,108,.08);color:#f1d899;font-size:12px;font-weight:900}.home-member-body{display:grid;grid-template-columns:150px 150px minmax(0,1fr);gap:12px;padding:16px 22px 20px}.home-member-stat{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:66px;padding:11px 13px;border:1px solid var(--line);border-radius:14px;background:rgba(7,20,34,.62);color:var(--muted);font-size:11px;font-weight:850}.home-member-stat strong{font-size:23px;color:#f0d58e}.home-member-recent{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;padding:8px 12px;border:1px solid var(--line);border-radius:14px;background:rgba(7,20,34,.45);color:var(--muted);font-size:11px;font-weight:850}.home-member-recent>div{display:flex;align-items:center;gap:8px;min-width:0}.home-member-recent-hero{width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:grid;place-items:center;overflow:hidden;border:2px solid #193451;background:#0b1b2e;color:#efd794;font-weight:1000;transition:.16s}.home-member-recent-hero:hover{border-color:rgba(216,184,108,.62);transform:translateY(-2px)}.home-member-recent-hero img{width:100%;height:100%;object-fit:cover}.home-member-recent-empty{color:#718399;font-size:11px;font-weight:700}.member-profile-meta{flex-wrap:wrap}.member-library-actions{display:flex;align-items:center;gap:8px}
@media(max-width:800px){.home-member-body{grid-template-columns:1fr 1fr}.home-member-recent{grid-column:1/-1}.home-member-summary{grid-template-columns:52px minmax(0,1fr)}.home-member-avatar{width:52px;height:52px}.home-member-center-link{grid-column:1/-1;width:100%}}
@media(max-width:520px){.home-member-panel{border-radius:18px}.home-member-summary{padding:16px;gap:11px}.home-member-summary h2{font-size:19px}.home-member-summary p{font-size:11px}.home-member-body{padding:13px 16px 16px;gap:9px}.home-member-stat{min-height:58px}.home-member-recent{grid-template-columns:1fr;padding:11px}.home-member-recent>div{gap:7px}.home-member-recent-hero{width:39px;height:39px;flex-basis:39px}.member-library-actions{gap:6px}}



/* v79.5.1 compact site traffic in navigation */
.nav-traffic{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:4px 9px;border:1px solid rgba(216,184,108,.22);border-radius:999px;background:rgba(8,22,37,.74);color:#aab9c9;font-size:11px;font-weight:800;white-space:nowrap;line-height:1;cursor:default}
.nav-traffic-item{display:inline-flex;align-items:center;gap:4px}.nav-traffic-item strong{color:#f0d58e;font-size:11px;font-variant-numeric:tabular-nums}.nav-traffic-item.online strong{color:#a9e9ba}.nav-traffic-item.online i{width:6px;height:6px;border-radius:50%;background:#64d682;box-shadow:0 0 0 3px rgba(100,214,130,.09)}.nav-traffic-sep{width:1px;height:13px;background:rgba(255,255,255,.10)}.nav-traffic-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.nav-traffic[data-traffic-state="loading"] .nav-traffic-item.online i{animation:wrgNavTrafficPulse 1.3s ease-in-out infinite}.nav-traffic[data-traffic-state="error"] .nav-traffic-item.online i,.nav-traffic[data-traffic-state="unavailable"] .nav-traffic-item.online i{background:#e8c87c;box-shadow:0 0 0 3px rgba(232,200,124,.08);animation:none}@keyframes wrgNavTrafficPulse{0%,100%{opacity:.45;transform:scale(.8)}50%{opacity:1;transform:scale(1.1)}}
@media(max-width:800px){.nav-traffic{min-height:32px;padding:4px 8px;gap:6px;font-size:10px}.nav-traffic-item strong{font-size:10px}.nav-traffic-label{display:none}.nav-traffic-item.views::before{content:"瀏覽";font-size:9px;color:#778da3}.nav-traffic-item.online::after{content:""}}
@media(max-width:420px){.nav-traffic{padding-inline:7px;gap:5px}.nav-traffic-item.views::before{display:none}.nav-traffic-sep{height:11px}}


/* v79.6.0 dual-mode entry + isolated ARAM framework */
.mode-entry-page{background:radial-gradient(circle at 18% 5%,rgba(41,91,144,.27),transparent 30%),radial-gradient(circle at 85% 15%,rgba(216,184,108,.12),transparent 27%),linear-gradient(180deg,#071321,#06101c 72%)}
.mode-entry-topbar{position:sticky;top:0;z-index:30;background:rgba(5,14,25,.86);backdrop-filter:blur(15px);border-bottom:1px solid var(--line)}
.mode-entry-topbar-inner{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.mode-entry-login,.aram-top-actions a{color:var(--muted);font-size:13px;font-weight:850;transition:.15s}
.mode-entry-login:hover,.aram-top-actions a:hover{color:var(--text)}
.mode-entry-main{min-height:calc(100vh - 154px);display:flex;flex-direction:column;justify-content:center;padding:34px 0 18px}
.mode-entry-hero{text-align:center;padding:24px 0 27px}
.mode-entry-hero h1{font-size:clamp(36px,7vw,68px);margin:10px 0 12px;letter-spacing:-.03em}
.mode-entry-hero p{max-width:680px;margin:0 auto;color:var(--muted);line-height:1.75;font-size:15px}
.mode-entry-version{display:inline-flex;align-items:center;gap:7px;margin-top:17px;border:1px solid rgba(216,184,108,.24);border-radius:999px;padding:7px 12px;background:rgba(216,184,108,.06);color:var(--muted);font-size:11px;font-weight:850}
.mode-entry-version strong{color:#f0d58e}
.mode-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:980px}
.mode-entry-card{position:relative;min-height:310px;padding:28px;border:1px solid var(--line);border-radius:26px;overflow:hidden;display:grid;grid-template-columns:116px minmax(0,1fr);gap:25px;align-items:center;box-shadow:0 24px 65px rgba(0,0,0,.3);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.mode-entry-card::after{content:"";position:absolute;inset:auto -18% -48% 20%;height:230px;filter:blur(10px);pointer-events:none}
.mode-entry-card.rift{background:radial-gradient(circle at 8% 8%,rgba(56,143,188,.2),transparent 32%),linear-gradient(150deg,#173450,#081827)}
.mode-entry-card.rift::after{background:radial-gradient(circle,rgba(65,156,191,.17),transparent 65%)}
.mode-entry-card.aram{background:radial-gradient(circle at 90% 4%,rgba(216,184,108,.16),transparent 34%),linear-gradient(150deg,#1e3041,#0b1723)}
.mode-entry-card.aram::after{background:radial-gradient(circle,rgba(216,184,108,.15),transparent 65%)}
.mode-entry-card:hover{transform:translateY(-5px);border-color:rgba(216,184,108,.48);box-shadow:0 30px 75px rgba(0,0,0,.38)}
.mode-entry-card-mark{position:relative;z-index:1;width:116px;height:116px;border-radius:26px;display:grid;place-items:center;border:1px solid rgba(216,184,108,.25);background:linear-gradient(150deg,rgba(21,48,75,.92),rgba(7,18,31,.96));box-shadow:inset 0 0 30px rgba(216,184,108,.05),0 14px 30px rgba(0,0,0,.24);color:#eed38d;font-size:20px;font-weight:1000;letter-spacing:.02em}
.mode-entry-card-copy{position:relative;z-index:1;min-width:0}
.mode-entry-card h2{margin:5px 0 11px;font-size:30px}
.mode-entry-card h2 small{font-size:13px;color:var(--gold);font-weight:900}
.mode-entry-card p{margin:0;color:var(--muted);line-height:1.7;font-size:13px}
.mode-entry-card-status{display:inline-flex;margin-top:16px;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:950;letter-spacing:.03em}
.mode-entry-card-status.ready{color:#bde9ca;border:1px solid rgba(100,214,130,.26);background:rgba(100,214,130,.07)}
.mode-entry-card-status.building{color:#f1d99a;border:1px solid rgba(216,184,108,.28);background:rgba(216,184,108,.07)}
.mode-entry-enter{display:block;margin-top:18px;color:#f1d99a;font-size:13px;font-weight:900}
.mode-entry-note{text-align:center;margin-top:19px;color:#7f93a7;font-size:11px}
.mode-context{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:18px}
.mode-context-label{color:#788da2;font-size:10px;font-weight:900;letter-spacing:.12em}
.mode-context-actions{display:flex;align-items:center;gap:7px}
.mode-context-link{min-height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border:1px solid var(--line);border-radius:11px;background:rgba(8,22,37,.72);color:var(--muted);font-size:11px;font-weight:900;white-space:nowrap}
.mode-context-link:hover,.mode-context-link.active{color:#f4e3b4;border-color:rgba(216,184,108,.35);background:rgba(216,184,108,.08)}
.aram-shell-page{background:radial-gradient(circle at 90% 0,rgba(216,184,108,.1),transparent 28%),linear-gradient(180deg,#071321,var(--bg))}
.aram-top-actions{display:flex;align-items:center;gap:17px}
.aram-hero{text-align:center;padding:62px 0 32px}
.aram-hero h1{font-size:clamp(36px,6vw,60px);margin:8px 0 11px}
.aram-hero p{max-width:720px;margin:0 auto;color:var(--muted);line-height:1.75}
.aram-stage-badge{display:inline-flex;margin-top:18px;border:1px solid rgba(216,184,108,.27);border-radius:999px;padding:7px 11px;background:rgba(216,184,108,.07);color:#efd794;font-size:11px;font-weight:900}
.aram-tier-shell{border:1px solid var(--line);border-radius:23px;padding:22px;background:linear-gradient(155deg,rgba(17,35,57,.96),rgba(7,18,31,.98));box-shadow:0 18px 48px rgba(0,0,0,.25)}
.aram-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:17px}
.aram-section-heading h2{margin:4px 0 0;font-size:25px}
.aram-data-state{color:#879bad;font-size:11px}
.aram-tier-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.aram-tier-card{min-height:105px;border:1px dashed rgba(255,255,255,.13);border-radius:16px;background:rgba(6,17,29,.55);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--muted)}
.aram-tier-card strong{font-size:27px;color:#ead18c}.aram-tier-card span{font-size:10px}
.aram-framework-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:16px}
.aram-framework-grid article{border:1px solid var(--line);border-radius:18px;padding:17px;background:rgba(11,27,45,.72)}
.aram-framework-grid article>span{display:block;color:var(--gold);font-size:10px;font-weight:1000;letter-spacing:.12em}
.aram-framework-grid h2{font-size:17px;margin:7px 0 8px}.aram-framework-grid p{margin:0;color:var(--muted);font-size:11px;line-height:1.6}
.aram-placeholder{margin-top:16px;padding:18px 20px;border:1px solid rgba(216,184,108,.2);border-radius:17px;background:rgba(216,184,108,.05);text-align:center}
.aram-placeholder strong{color:#efd794;font-size:12px}.aram-placeholder p{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.65}
@media(max-width:800px){
  .mode-entry-grid{grid-template-columns:1fr;max-width:650px}
  .mode-entry-card{min-height:250px}
  .aram-framework-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .aram-tier-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .aram-top-actions{gap:12px;overflow-x:auto;white-space:nowrap;max-width:70vw;scrollbar-width:none}
  .aram-top-actions::-webkit-scrollbar{display:none}
}
@media(max-width:560px){
  .mode-entry-main{justify-content:flex-start;padding-top:18px}
  .mode-entry-hero{padding:20px 0 22px}
  .mode-entry-hero h1{font-size:36px}
  .mode-entry-card{min-height:0;grid-template-columns:76px minmax(0,1fr);gap:15px;padding:18px;border-radius:20px}
  .mode-entry-card-mark{width:76px;height:76px;border-radius:19px;font-size:14px}
  .mode-entry-card h2{font-size:23px;margin-top:4px}
  .mode-entry-card p{font-size:11px;line-height:1.6}
  .mode-entry-card-status{margin-top:11px}
  .mode-entry-enter{margin-top:12px;font-size:12px}
  .mode-context{align-items:stretch;flex-direction:column;padding-top:13px}
  .mode-context-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .mode-context-link{width:100%}
  .aram-hero{padding:42px 0 25px}.aram-hero h1{font-size:35px}.aram-hero p{font-size:12px}
  .aram-tier-shell{padding:17px;border-radius:19px}.aram-section-heading{align-items:flex-start;flex-direction:column}
  .aram-framework-grid{grid-template-columns:1fr 1fr;gap:9px}.aram-framework-grid article{padding:14px}
  .mode-entry-topbar-inner{min-height:60px}.aram-top-actions a:first-child{display:none}
}
@media(max-width:390px){.aram-framework-grid{grid-template-columns:1fr}.mode-entry-card{grid-template-columns:64px minmax(0,1fr)}.mode-entry-card-mark{width:64px;height:64px;font-size:12px}}

/* v79.7.0 — ARAM first hero master template */
.aram-tier-list{display:flex;flex-direction:column;gap:11px}
.aram-tier-row{display:grid;grid-template-columns:118px minmax(0,1fr);gap:12px;align-items:stretch}
.aram-tier-badge{border:1px solid rgba(216,184,108,.2);border-radius:17px;background:linear-gradient(155deg,rgba(216,184,108,.09),rgba(7,18,31,.9));display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:105px}
.aram-tier-badge strong{font-size:31px;color:#f1d58d;line-height:1}.aram-tier-badge span{margin-top:7px;color:#8ea1b4;font-size:10px;font-weight:850}
.aram-tier-heroes{min-width:0;border:1px solid var(--line);border-radius:17px;background:rgba(6,17,29,.52);padding:10px;display:flex;gap:10px;align-items:center;overflow-x:auto;scrollbar-width:thin}
.aram-hero-card{min-width:290px;max-width:340px;display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:10px;background:linear-gradient(150deg,rgba(22,44,67,.88),rgba(8,21,35,.94));transition:.15s}
.aram-hero-card:hover{transform:translateY(-2px);border-color:rgba(216,184,108,.34)}
.aram-hero-card img{width:62px;height:62px;object-fit:cover;border-radius:13px;border:1px solid rgba(216,184,108,.22)}
.aram-hero-card div{display:flex;flex-direction:column;min-width:0}.aram-hero-card strong{font-size:15px}.aram-hero-card span{margin-top:2px;color:#879bad;font-size:10px}.aram-hero-card small{margin-top:6px;color:#aab7c5;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aram-hero-card em{font-style:normal;color:#efd794;font-size:10px;font-weight:900;white-space:nowrap}.aram-tier-empty{width:100%;padding:22px 14px;text-align:center;color:#6f8396;font-size:11px}.aram-tier-load-error{padding:24px;text-align:center;color:#d4b6b6}

.aram-detail-shell{padding-top:17px;padding-bottom:28px}.aram-detail-breadcrumb{display:flex;align-items:center;gap:8px;color:#71869a;font-size:10px;margin:4px 0 16px}.aram-detail-breadcrumb a{color:#9cadbd}.aram-detail-breadcrumb strong{color:#d7e0e8}
.aram-detail-loading,.aram-detail-error{min-height:50vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#8ea1b4}.aram-detail-error h1{color:#eef3f7}.aram-detail-error a{margin-top:13px;color:#f0d58e;font-weight:900}
.aram-detail-hero{display:grid;grid-template-columns:230px minmax(0,1fr);gap:26px;align-items:stretch;border:1px solid var(--line);border-radius:26px;padding:22px;background:radial-gradient(circle at 12% 0,rgba(216,184,108,.13),transparent 34%),linear-gradient(145deg,#17324d,#081725 72%);box-shadow:0 22px 60px rgba(0,0,0,.28)}
.aram-detail-portrait{min-height:270px;border-radius:20px;overflow:hidden;border:1px solid rgba(216,184,108,.22);background:#071321}.aram-detail-portrait img{width:100%;height:100%;object-fit:cover;display:block}
.aram-detail-copy{min-width:0;padding:7px 4px}.aram-detail-kicker{color:#d9bd74;font-size:10px;font-weight:1000;letter-spacing:.13em}.aram-detail-titleline{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-top:8px}.aram-detail-titleline h1{margin:0;font-size:clamp(34px,5vw,54px);line-height:1}.aram-detail-titleline>div>span{display:block;margin-top:7px;color:#8499ad;font-size:12px}.aram-detail-tier{min-width:80px;border:1px solid rgba(216,184,108,.28);border-radius:17px;padding:11px 12px;text-align:center;background:rgba(216,184,108,.07)}.aram-detail-tier strong{display:block;color:#f1d58d;font-size:27px}.aram-detail-tier span{margin-top:4px!important;color:#ae9b68!important;font-size:9px!important;font-weight:900}
.aram-detail-position{margin:12px 0 0;color:#ced8e2;font-weight:800;font-size:13px}.aram-detail-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}.aram-detail-tags span{border:1px solid rgba(255,255,255,.09);border-radius:999px;padding:5px 8px;color:#9eb0c1;background:rgba(255,255,255,.035);font-size:9px;font-weight:850}.aram-detail-summary{margin:17px 0 0;color:#a9b7c5;line-height:1.8;font-size:12px}.aram-tier-reason{margin-top:17px;border:1px solid rgba(216,184,108,.18);border-radius:14px;padding:12px 13px;background:rgba(216,184,108,.045);display:flex;gap:10px;align-items:flex-start}.aram-tier-reason strong{color:#ead08b;font-size:10px;white-space:nowrap}.aram-tier-reason span{color:#aab7c5;font-size:10px;line-height:1.65}
.aram-detail-section{margin-top:16px;border:1px solid var(--line);border-radius:22px;padding:20px;background:linear-gradient(155deg,rgba(14,31,49,.94),rgba(7,18,31,.98))}.aram-detail-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:15px}.aram-detail-section-head span{display:block;color:#c5aa65;font-size:9px;font-weight:1000;letter-spacing:.13em}.aram-detail-section-head h2{margin:4px 0 0;font-size:22px}.aram-detail-section-head small{color:#8094a8;font-size:10px}
.aram-balance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.aram-balance-grid article{min-height:95px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(7,18,31,.65);display:flex;flex-direction:column;align-items:center;justify-content:center}.aram-balance-grid span{color:#8297aa;font-size:9px;font-weight:850}.aram-balance-grid strong{margin-top:6px;font-size:24px;color:#e9d18f}.aram-detail-note{margin:12px 0 0;color:#7f93a7;font-size:10px;line-height:1.65}
.aram-starter-row{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:10px;align-items:center;border:1px solid rgba(255,255,255,.07);border-radius:13px;padding:9px 11px;background:rgba(5,15,26,.52);margin-bottom:11px}.aram-starter-row>strong{color:#d7bd78;font-size:9px}.aram-starter-row>span{display:inline-flex;align-items:center;gap:7px;color:#dbe3e9;font-size:10px;font-weight:850}.aram-starter-row img{width:34px;height:34px;object-fit:cover;border-radius:8px}.aram-starter-row p{margin:0;color:#8297aa;font-size:10px;line-height:1.55}
.aram-loadout-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.aram-loadout-card{position:relative;min-width:0;border:1px solid rgba(255,255,255,.08);border-radius:15px;padding:13px 11px;background:rgba(7,18,31,.7);text-align:center}.aram-loadout-index{position:absolute;top:8px;left:8px;width:20px;height:20px;border-radius:999px;display:grid;place-items:center;background:rgba(216,184,108,.11);color:#d9bd75;font-size:9px;font-weight:950}.aram-loadout-card img{width:62px;height:62px;object-fit:cover;border-radius:13px;border:1px solid rgba(216,184,108,.2)}.aram-loadout-card strong{display:block;margin-top:10px;font-size:11px}.aram-loadout-card p{margin:7px 0 0;color:#8297aa;font-size:9px;line-height:1.55}
.aram-subgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.aram-subgrid>div{border:1px solid rgba(255,255,255,.07);border-radius:15px;padding:13px;background:rgba(5,15,26,.42)}.aram-subgrid h3{margin:0 0 9px;font-size:12px}.aram-compact-card{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;position:relative;padding:7px;border-radius:11px}.aram-compact-card+.aram-compact-card{margin-top:5px;border-top:1px solid rgba(255,255,255,.05);border-radius:0;padding-top:10px}.aram-compact-card img{width:42px;height:42px;object-fit:cover;border-radius:9px}.aram-compact-card strong{font-size:10px}.aram-compact-card p{margin:3px 0 0;color:#8297aa;font-size:9px;line-height:1.45}.aram-step-label{position:absolute;right:4px;top:4px;color:#887747;font-size:8px;font-weight:900}
.aram-rune-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.aram-rune-card{border:1px solid rgba(255,255,255,.08);border-radius:15px;padding:13px 10px;background:rgba(7,18,31,.67);text-align:center}.aram-rune-card.keystone{border-color:rgba(216,184,108,.26);background:linear-gradient(155deg,rgba(216,184,108,.07),rgba(7,18,31,.8))}.aram-rune-card img{width:58px;height:58px;object-fit:contain}.aram-rune-card strong{display:block;margin-top:8px;font-size:11px}.aram-rune-card p{margin:6px 0 0;color:#8297aa;font-size:9px;line-height:1.5}
.aram-skill-order{display:grid;grid-template-columns:auto minmax(0,1fr);gap:15px;align-items:center}.aram-skill-icons{display:flex;align-items:center;gap:8px}.aram-skill-icons img{width:48px;height:48px;border-radius:11px;border:1px solid rgba(216,184,108,.18)}.aram-skill-icons b{color:#796a42}.aram-skill-order p{margin:0;color:#91a3b4;font-size:10px;line-height:1.65}
.aram-playstyle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.aram-playstyle-grid article{border:1px solid rgba(255,255,255,.08);border-radius:15px;padding:14px;background:rgba(7,18,31,.64)}.aram-playstyle-grid span{display:inline-flex;border-radius:999px;padding:4px 7px;background:rgba(216,184,108,.08);color:#d8bd77;font-size:9px;font-weight:950}.aram-playstyle-grid p{margin:9px 0 0;color:#91a3b4;font-size:10px;line-height:1.7}
.aram-situational-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.aram-situational-card{display:grid;grid-template-columns:54px minmax(0,1fr);gap:11px;align-items:center;border:1px solid rgba(255,255,255,.08);border-radius:15px;padding:11px;background:rgba(7,18,31,.64)}.aram-situational-card img{width:54px;height:54px;object-fit:cover;border-radius:11px}.aram-situational-card strong{display:block;font-size:10px}.aram-situational-card span{display:block;margin-top:3px;color:#d4b96f;font-size:8px;font-weight:900}.aram-situational-card p{margin:5px 0 0;color:#8297aa;font-size:9px;line-height:1.5}
.aram-source-panel{margin-top:16px;border:1px dashed rgba(255,255,255,.1);border-radius:17px;padding:15px 17px;background:rgba(5,15,26,.45)}.aram-source-panel>strong{color:#aebcc9;font-size:10px}.aram-source-panel p{margin:6px 0 0;color:#71869a;font-size:9px;line-height:1.65}.aram-source-panel div{display:flex;flex-wrap:wrap;gap:10px;margin-top:9px}.aram-source-panel a{color:#baa264;font-size:9px;font-weight:850}
@media(max-width:900px){.aram-loadout-grid,.aram-rune-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.aram-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.aram-detail-hero{grid-template-columns:180px minmax(0,1fr)}.aram-detail-portrait{min-height:230px}}
@media(max-width:680px){.aram-tier-row{grid-template-columns:78px minmax(0,1fr)}.aram-tier-badge strong{font-size:25px}.aram-tier-badge span{font-size:8px}.aram-hero-card{min-width:250px;grid-template-columns:54px minmax(0,1fr)}.aram-hero-card img{width:54px;height:54px}.aram-hero-card em{display:none}.aram-detail-shell{padding-top:11px}.aram-detail-hero{grid-template-columns:1fr;padding:15px;border-radius:20px}.aram-detail-portrait{height:230px;min-height:0}.aram-detail-portrait img{object-position:center 28%}.aram-detail-copy{padding:2px}.aram-detail-titleline h1{font-size:36px}.aram-detail-tier{min-width:68px}.aram-detail-section{padding:15px;border-radius:18px}.aram-loadout-grid,.aram-rune-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.aram-loadout-grid .aram-loadout-card:last-child,.aram-rune-grid .aram-rune-card:last-child{grid-column:1/-1}.aram-subgrid,.aram-playstyle-grid,.aram-situational-grid{grid-template-columns:1fr}.aram-starter-row{grid-template-columns:auto 1fr}.aram-starter-row p{grid-column:1/-1}.aram-skill-order{grid-template-columns:1fr}.aram-skill-icons{justify-content:center}.aram-source-panel div{flex-direction:column;gap:6px}}
@media(max-width:390px){.aram-tier-row{grid-template-columns:65px minmax(0,1fr)}.aram-tier-heroes{padding:8px}.aram-hero-card{min-width:225px}.aram-loadout-grid,.aram-rune-grid{grid-template-columns:1fr}.aram-loadout-grid .aram-loadout-card:last-child,.aram-rune-grid .aram-rune-card:last-child{grid-column:auto}.aram-loadout-card{display:grid;grid-template-columns:58px minmax(0,1fr);gap:11px;text-align:left;align-items:center}.aram-loadout-card img{width:58px;height:58px}.aram-loadout-card strong{margin-top:0}.aram-rune-card{display:grid;grid-template-columns:55px minmax(0,1fr);gap:10px;text-align:left;align-items:center}.aram-rune-card img{width:52px;height:52px}.aram-rune-card strong{margin-top:0}}


/* v79.8.0 — ARAM full Tier list: responsive grid, no horizontal swipe */
.aram-tier-badge small{margin-top:5px;color:#657b8f;font-size:9px;font-weight:850}
.aram-tier-heroes{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));align-items:stretch;overflow:visible}
.aram-hero-card{min-width:0;max-width:none;width:100%;height:100%}
.aram-hero-card.is-pending{opacity:.78;cursor:default}
.aram-hero-card.is-pending:hover{transform:none;border-color:rgba(255,255,255,.08)}
.aram-hero-card.is-pending em{color:#768b9d}
@media(max-width:680px){
  .aram-tier-row{grid-template-columns:70px minmax(0,1fr)}
  .aram-tier-heroes{grid-template-columns:1fr;gap:8px}
  .aram-hero-card{min-width:0;grid-template-columns:54px minmax(0,1fr);padding:9px}
}
@media(max-width:390px){
  .aram-tier-row{grid-template-columns:58px minmax(0,1fr);gap:8px}
  .aram-tier-heroes{padding:7px}
  .aram-hero-card{min-width:0}
}

/* v79.8.1 — Jinx ARAM mobile master preview only; desktop untouched */
@media(max-width:560px){
  body.aram-mobile-master .aram-detail-shell{padding-top:8px;padding-bottom:22px}
  body.aram-mobile-master .aram-detail-breadcrumb{margin:2px 0 10px;gap:6px;font-size:9px;white-space:nowrap;overflow:hidden}
  body.aram-mobile-master .aram-detail-breadcrumb a,
  body.aram-mobile-master .aram-detail-breadcrumb strong{overflow:hidden;text-overflow:ellipsis}

  body.aram-mobile-master .aram-detail-hero{padding:12px;border-radius:18px;gap:12px}
  body.aram-mobile-master .aram-detail-portrait{height:168px;min-height:0;border-radius:15px}
  body.aram-mobile-master .aram-detail-portrait img{object-position:center 24%}
  body.aram-mobile-master .aram-detail-copy{padding:0}
  body.aram-mobile-master .aram-detail-kicker{font-size:8px;letter-spacing:.1em}
  body.aram-mobile-master .aram-detail-titleline{margin-top:6px;gap:10px;align-items:center}
  body.aram-mobile-master .aram-detail-titleline h1{font-size:31px;line-height:1.05}
  body.aram-mobile-master .aram-detail-titleline>div>span{margin-top:4px;font-size:10px}
  body.aram-mobile-master .aram-detail-tier{min-width:58px;border-radius:13px;padding:7px 8px}
  body.aram-mobile-master .aram-detail-tier strong{font-size:22px}
  body.aram-mobile-master .aram-detail-tier span{font-size:8px!important}
  body.aram-mobile-master .aram-detail-position{margin-top:8px;font-size:11px}
  body.aram-mobile-master .aram-detail-tags{gap:5px;margin-top:8px}
  body.aram-mobile-master .aram-detail-tags span{padding:4px 7px;font-size:8px}
  body.aram-mobile-master .aram-detail-summary{margin-top:11px;font-size:11px;line-height:1.65}
  body.aram-mobile-master .aram-tier-reason{margin-top:11px;padding:10px;border-radius:12px;display:block}
  body.aram-mobile-master .aram-tier-reason strong{display:block;margin-bottom:5px;font-size:9px}
  body.aram-mobile-master .aram-tier-reason span{font-size:10px;line-height:1.55}

  body.aram-mobile-master .aram-detail-section{margin-top:11px;padding:13px;border-radius:16px}
  body.aram-mobile-master .aram-detail-section-head{margin-bottom:11px;gap:8px;align-items:center;flex-direction:row}
  body.aram-mobile-master .aram-detail-section-head span{font-size:8px}
  body.aram-mobile-master .aram-detail-section-head h2{font-size:19px;margin-top:2px}
  body.aram-mobile-master .aram-detail-section-head small{font-size:9px;text-align:right}

  body.aram-mobile-master .aram-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  body.aram-mobile-master .aram-balance-grid article{min-height:70px;border-radius:11px}
  body.aram-mobile-master .aram-balance-grid span{font-size:8px}
  body.aram-mobile-master .aram-balance-grid strong{margin-top:4px;font-size:19px}
  body.aram-mobile-master .aram-detail-note{margin-top:9px;font-size:9px;line-height:1.55}

  body.aram-mobile-master .aram-starter-row{grid-template-columns:auto minmax(0,1fr);gap:7px;padding:8px 9px;margin-bottom:9px}
  body.aram-mobile-master .aram-starter-row>strong{font-size:8px}
  body.aram-mobile-master .aram-starter-row>span{font-size:9px}
  body.aram-mobile-master .aram-starter-row img{width:30px;height:30px}
  body.aram-mobile-master .aram-starter-row p{grid-column:1/-1;margin-top:0;font-size:9px;line-height:1.5}

  body.aram-mobile-master .aram-loadout-grid,
  body.aram-mobile-master .aram-rune-grid{grid-template-columns:1fr;gap:7px}
  body.aram-mobile-master .aram-loadout-grid .aram-loadout-card:last-child,
  body.aram-mobile-master .aram-rune-grid .aram-rune-card:last-child{grid-column:auto}
  body.aram-mobile-master .aram-loadout-card{display:grid;grid-template-columns:27px 52px minmax(0,1fr);gap:9px;align-items:center;text-align:left;padding:8px;min-height:0}
  body.aram-mobile-master .aram-loadout-index{position:static;width:25px;height:25px;display:grid;place-items:center;border-radius:8px;font-size:9px}
  body.aram-mobile-master .aram-loadout-card img{width:52px;height:52px;margin:0}
  body.aram-mobile-master .aram-loadout-card strong{margin-top:0;font-size:11px}
  body.aram-mobile-master .aram-loadout-card p{margin-top:3px;font-size:9px;line-height:1.45}

  body.aram-mobile-master .aram-rune-card{display:grid;grid-template-columns:52px minmax(0,1fr);gap:9px;align-items:center;text-align:left;padding:8px;min-height:0}
  body.aram-mobile-master .aram-rune-card img{width:50px;height:50px;margin:0}
  body.aram-mobile-master .aram-rune-card strong{margin-top:0;font-size:11px}
  body.aram-mobile-master .aram-rune-card p{margin-top:3px;font-size:9px;line-height:1.45}

  body.aram-mobile-master .aram-subgrid{gap:8px;margin-top:9px}
  body.aram-mobile-master .aram-subgrid h3{font-size:11px;margin-bottom:6px}
  body.aram-mobile-master .aram-compact-card{padding:8px;border-radius:11px;gap:8px}
  body.aram-mobile-master .aram-compact-card img{width:42px;height:42px}
  body.aram-mobile-master .aram-compact-card strong{font-size:10px}
  body.aram-mobile-master .aram-compact-card p{font-size:9px;line-height:1.45}

  body.aram-mobile-master .aram-skill-order{gap:9px;padding:10px}
  body.aram-mobile-master .aram-skill-icons img{width:46px;height:46px}
  body.aram-mobile-master .aram-skill-icons b{font-size:12px}
  body.aram-mobile-master .aram-skill-order p{font-size:10px;line-height:1.55}

  body.aram-mobile-master .aram-playstyle-grid,
  body.aram-mobile-master .aram-situational-grid{gap:7px}
  body.aram-mobile-master .aram-playstyle-grid article,
  body.aram-mobile-master .aram-situational-card{padding:10px;border-radius:11px}
  body.aram-mobile-master .aram-playstyle-grid p,
  body.aram-mobile-master .aram-situational-card p{font-size:9px;line-height:1.5}
  body.aram-mobile-master .aram-situational-card img{width:46px;height:46px}

  body.aram-mobile-master .aram-source-panel{margin-top:11px;padding:12px;border-radius:14px}
  body.aram-mobile-master .aram-source-panel p,
  body.aram-mobile-master .aram-source-panel a{font-size:9px;line-height:1.5}
}

/* v79.8.3 — fix mobile ARAM hero portrait; desktop preserved */
.aram-mobile-search{display:none}
.aram-playstyle-mobile{display:none}

@media(max-width:560px){
  /* ARAM Tier mobile: show every hero as a compact circular portrait grid. */
  .aram-tier-shell{padding:14px 11px}
  .aram-section-heading{margin-bottom:10px}
  .aram-mobile-search{display:grid;gap:6px;margin:0 0 12px;padding:10px;border:1px solid rgba(216,184,108,.16);border-radius:14px;background:rgba(5,15,26,.58)}
  .aram-mobile-search label{color:#d9bd74;font-size:9px;font-weight:950;letter-spacing:.08em}
  .aram-mobile-search-box{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:5px;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:7px 9px;background:#071522}
  .aram-mobile-search-box span{color:#8fa3b5;font-size:17px;line-height:1;text-align:center}
  .aram-mobile-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#eef3f7;font:inherit;font-size:12px}
  .aram-mobile-search input::placeholder{color:#637a8f}
  .aram-mobile-search small{color:#71879a;font-size:9px}

  .aram-tier-list{gap:13px}
  .aram-tier-row{display:block}
  .aram-tier-badge{min-height:0;height:auto;display:flex;flex-direction:row;justify-content:flex-start;gap:8px;padding:8px 10px;margin-bottom:7px;border-radius:13px}
  .aram-tier-badge strong{font-size:22px}
  .aram-tier-badge span{margin:0;font-size:9px}
  .aram-tier-badge small{margin:0 0 0 auto;font-size:9px}
  .aram-tier-heroes{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px 5px;padding:9px 5px;border-radius:14px;overflow:visible}
  .aram-hero-card,.aram-hero-card.is-pending{min-width:0;width:auto;height:auto;display:flex;flex-direction:column;align-items:center;gap:4px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;opacity:1;text-align:center}
  .aram-hero-card:hover{transform:none;border-color:transparent}
  .aram-hero-card img{width:49px;height:49px;border-radius:50%;border:2px solid rgba(255,255,255,.1);box-shadow:0 5px 13px rgba(0,0,0,.22)}
  .aram-hero-card:not(.is-pending) img{border-color:rgba(216,184,108,.55);box-shadow:0 0 0 2px rgba(216,184,108,.08),0 5px 13px rgba(0,0,0,.25)}
  .aram-hero-card div{display:block;width:100%;min-width:0}
  .aram-hero-card strong{display:block;width:100%;font-size:9px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .aram-hero-card span,.aram-hero-card small,.aram-hero-card em{display:none!important}
  .aram-hero-card[hidden],.aram-tier-row[hidden]{display:none!important}

  /* Jinx mobile master: shorter first screen and scan-first information density. */
  body.aram-mobile-master .aram-detail-hero{gap:8px;padding:10px}
  body.aram-mobile-master .aram-detail-portrait{width:96px;height:96px;min-height:0;margin:0 auto;border-radius:50%;border:2px solid rgba(216,184,108,.28);box-shadow:0 8px 22px rgba(0,0,0,.28)}
  body.aram-mobile-master .aram-detail-portrait img{width:100%;height:100%;object-fit:cover;object-position:center;border-radius:50%}
  body.aram-mobile-master .aram-detail-kicker{font-size:7px}
  body.aram-mobile-master .aram-detail-titleline{margin-top:4px}
  body.aram-mobile-master .aram-detail-titleline h1{font-size:28px}
  body.aram-mobile-master .aram-detail-tier{min-width:54px;padding:6px 7px}
  body.aram-mobile-master .aram-detail-tier strong{font-size:20px}
  body.aram-mobile-master .aram-detail-position{margin-top:6px;font-size:10px}
  body.aram-mobile-master .aram-detail-tags{margin-top:6px}
  body.aram-mobile-master .aram-detail-summary{margin-top:8px;font-size:10px;line-height:1.55}
  body.aram-mobile-master .aram-tier-reason{margin-top:8px;padding:8px 9px}

  body.aram-mobile-master .aram-detail-section{margin-top:9px;padding:11px}
  body.aram-mobile-master .aram-detail-section-head{margin-bottom:8px}
  body.aram-mobile-master .aram-detail-section-head h2{font-size:18px}

  /* Core build: five items in one scan line. Detailed reasons stay on desktop. */
  body.aram-mobile-master .aram-loadout-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
  body.aram-mobile-master .aram-loadout-card{display:flex;flex-direction:column;justify-content:flex-start;gap:4px;min-width:0;padding:6px 2px 7px;text-align:center;border-radius:10px}
  body.aram-mobile-master .aram-loadout-index{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;font-size:7px}
  body.aram-mobile-master .aram-loadout-card img{width:43px;height:43px;margin:0;border-radius:9px}
  body.aram-mobile-master .aram-loadout-card strong{margin:0;width:100%;font-size:8px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  body.aram-mobile-master .aram-loadout-card p{display:none}

  /* Shoes and summoner spells remain side-by-side on mobile. */
  body.aram-mobile-master .aram-subgrid{grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}
  body.aram-mobile-master .aram-subgrid>div{padding:8px 6px;border-radius:11px}
  body.aram-mobile-master .aram-subgrid h3{font-size:10px;margin-bottom:4px}
  body.aram-mobile-master .aram-compact-card{grid-template-columns:31px minmax(0,1fr);gap:5px;padding:4px 2px}
  body.aram-mobile-master .aram-compact-card+.aram-compact-card{margin-top:2px;padding-top:5px}
  body.aram-mobile-master .aram-compact-card img{width:31px;height:31px;border-radius:7px}
  body.aram-mobile-master .aram-compact-card strong{font-size:8px;line-height:1.2}
  body.aram-mobile-master .aram-compact-card p,body.aram-mobile-master .aram-step-label{display:none}

  /* Runes: keystone highlighted, four minor runes directly underneath. */
  body.aram-mobile-master .aram-rune-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
  body.aram-mobile-master .aram-rune-card{display:flex;flex-direction:column;gap:3px;min-width:0;padding:7px 3px;text-align:center;border-radius:10px}
  body.aram-mobile-master .aram-rune-card.keystone{grid-column:1/-1;display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:9px;padding:8px;text-align:left}
  body.aram-mobile-master .aram-rune-card img{width:42px;height:42px;margin:0 auto}
  body.aram-mobile-master .aram-rune-card.keystone img{width:48px;height:48px;margin:0}
  body.aram-mobile-master .aram-rune-card strong{margin:0;font-size:8px;line-height:1.25}
  body.aram-mobile-master .aram-rune-card:not(.keystone) p{display:none}
  body.aram-mobile-master .aram-rune-card.keystone p{margin-top:3px;font-size:9px;line-height:1.4}

  body.aram-mobile-master .aram-skill-order{padding:8px;gap:7px}
  body.aram-mobile-master .aram-skill-icons img{width:42px;height:42px}
  body.aram-mobile-master .aram-skill-order p{font-size:9px;line-height:1.45}

  /* Game plan uses a compact accordion on mobile; desktop keeps three full cards. */
  body.aram-mobile-master .aram-playstyle-grid{display:none}
  body.aram-mobile-master .aram-playstyle-mobile{display:grid;gap:6px}
  body.aram-mobile-master .aram-playstyle-mobile-item{border:1px solid rgba(255,255,255,.08);border-radius:11px;background:rgba(7,18,31,.64);overflow:hidden}
  body.aram-mobile-master .aram-playstyle-mobile-item summary{display:flex;align-items:center;justify-content:space-between;gap:8px;list-style:none;padding:9px 10px;cursor:pointer}
  body.aram-mobile-master .aram-playstyle-mobile-item summary::-webkit-details-marker{display:none}
  body.aram-mobile-master .aram-playstyle-mobile-item summary span{display:inline-flex;border-radius:999px;padding:3px 6px;background:rgba(216,184,108,.08);color:#d8bd77;font-size:8px;font-weight:950}
  body.aram-mobile-master .aram-playstyle-mobile-item summary b{color:#71869a;font-size:8px;font-weight:800}
  body.aram-mobile-master .aram-playstyle-mobile-item[open] summary b{color:#bda96f}
  body.aram-mobile-master .aram-playstyle-mobile-item p{margin:0;padding:0 10px 10px;color:#91a3b4;font-size:9px;line-height:1.5}

  body.aram-mobile-master .aram-situational-card{grid-template-columns:42px minmax(0,1fr);gap:8px;padding:8px}
  body.aram-mobile-master .aram-situational-card img{width:42px;height:42px}
  body.aram-mobile-master .aram-situational-card p{margin-top:3px;font-size:8px;line-height:1.4}
}

@media(max-width:355px){
  .aram-tier-heroes{grid-template-columns:repeat(4,minmax(0,1fr))}
  .aram-hero-card img{width:47px;height:47px}
}

/* v79.8.4 — ARAM Tier hero selector uses circular portraits on desktop and mobile */
.aram-mobile-search{display:grid;grid-template-columns:auto minmax(280px,420px) auto;align-items:center;gap:10px;margin:0 0 14px;padding:11px 13px;border:1px solid rgba(216,184,108,.16);border-radius:15px;background:rgba(5,15,26,.58)}
.aram-mobile-search label{color:#d9bd74;font-size:10px;font-weight:950;letter-spacing:.08em;white-space:nowrap}
.aram-mobile-search-box{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:6px;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:8px 10px;background:#071522}
.aram-mobile-search-box span{color:#8fa3b5;font-size:17px;line-height:1;text-align:center}
.aram-mobile-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#eef3f7;font:inherit;font-size:12px}
.aram-mobile-search input::placeholder{color:#637a8f}
.aram-mobile-search small{color:#71879a;font-size:9px;text-align:right;white-space:nowrap}

.aram-tier-heroes{display:grid;grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:14px 8px;align-items:start;padding:14px 12px;overflow:visible}
.aram-hero-card,.aram-hero-card.is-pending{min-width:0;max-width:none;width:auto;height:auto;display:flex;flex-direction:column;align-items:center;gap:7px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;opacity:1;text-align:center}
.aram-hero-card:hover{transform:translateY(-2px);border-color:transparent}
.aram-hero-card.is-pending:hover{transform:none;border-color:transparent}
.aram-hero-card img{width:68px;height:68px;object-fit:cover;border-radius:50%;border:2px solid rgba(255,255,255,.12);box-shadow:0 7px 18px rgba(0,0,0,.25);transition:.15s}
.aram-hero-card:not(.is-pending) img{border-color:rgba(216,184,108,.62);box-shadow:0 0 0 3px rgba(216,184,108,.08),0 7px 18px rgba(0,0,0,.28)}
.aram-hero-card:hover img{border-color:rgba(216,184,108,.78);transform:scale(1.04)}
.aram-hero-card.is-pending:hover img{transform:none}
.aram-hero-card div{display:block;width:100%;min-width:0}
.aram-hero-card strong{display:block;width:100%;font-size:11px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aram-hero-card span,.aram-hero-card small,.aram-hero-card em{display:none!important}
.aram-hero-card[hidden],.aram-tier-row[hidden]{display:none!important}

@media(max-width:680px){
  .aram-mobile-search{grid-template-columns:1fr;gap:6px}
  .aram-mobile-search small{text-align:left}
  .aram-tier-row{display:block}
  .aram-tier-badge{min-height:0;height:auto;display:flex;flex-direction:row;justify-content:flex-start;gap:8px;padding:8px 10px;margin-bottom:7px;border-radius:13px}
  .aram-tier-badge strong{font-size:22px}.aram-tier-badge span{margin:0;font-size:9px}.aram-tier-badge small{margin:0 0 0 auto;font-size:9px}
  .aram-tier-heroes{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px 5px;padding:9px 5px}
  .aram-hero-card img{width:49px;height:49px}
  .aram-hero-card strong{font-size:9px}
}
@media(max-width:355px){.aram-tier-heroes{grid-template-columns:repeat(4,minmax(0,1fr))}.aram-hero-card img{width:47px;height:47px}}

/* v80.0.2 mode entry map thumbnails */
.mode-entry-card-mark.mode-entry-map{padding:0;overflow:hidden;background:#07131f;border-color:rgba(216,184,108,.32)}
.mode-entry-card-mark.mode-entry-map img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;transform:scale(.92);transition:transform .2s ease,filter .2s ease;filter:saturate(.96) contrast(1.02)}
.mode-entry-card:hover .mode-entry-card-mark.mode-entry-map img{transform:scale(.98);filter:saturate(1.04) contrast(1.04)}

/* v80.21.0 — Jinx AAA ARAM pilot mode switch and adaptive build layout */
.aram-mode-switch-panel{margin-top:14px;border:1px solid rgba(216,184,108,.18);border-radius:18px;padding:10px;background:linear-gradient(145deg,rgba(16,34,52,.94),rgba(6,17,29,.98));box-shadow:0 12px 30px rgba(0,0,0,.18)}
.aram-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:4px;border:1px solid rgba(255,255,255,.07);border-radius:14px;background:rgba(3,11,20,.72)}
.aram-mode-switch button{position:relative;min-height:44px;border:0;border-radius:11px;background:transparent;color:#7f94a7;font:inherit;font-size:11px;font-weight:950;cursor:pointer;transition:.18s ease}
.aram-mode-switch button:hover{color:#dce5ec;background:rgba(255,255,255,.035)}
.aram-mode-switch button.is-active{color:#f2d991;background:linear-gradient(135deg,rgba(216,184,108,.18),rgba(36,75,105,.28));box-shadow:inset 0 0 0 1px rgba(216,184,108,.22),0 6px 18px rgba(0,0,0,.18)}
.aram-mode-switch button span{display:inline-flex;margin-right:7px;border-radius:999px;padding:2px 5px;background:#e8ca79;color:#122030;font-size:7px;font-weight:1000;vertical-align:1px}
.aram-mode-switch-panel>p{margin:7px 4px 0;color:#70869a;font-size:9px;line-height:1.45;text-align:center}
.aram-detail-hero.is-aaa-mode{background:radial-gradient(circle at 12% 0,rgba(83,191,218,.16),transparent 34%),radial-gradient(circle at 90% 15%,rgba(171,95,220,.12),transparent 35%),linear-gradient(145deg,#17384f,#081725 72%)}
.aram-detail-tier.is-pilot{min-width:93px;border-color:rgba(84,195,218,.35);background:linear-gradient(145deg,rgba(84,195,218,.11),rgba(159,91,210,.08))}
.aram-detail-tier.is-pilot strong{font-size:16px;color:#9fe6ef;line-height:1.4}
.aram-detail-tier.is-pilot span{color:#a8bdd0!important}

.aaa-overview-section{border-color:rgba(84,195,218,.18);background:linear-gradient(150deg,rgba(11,36,52,.96),rgba(9,18,32,.98))}
.aaa-shared-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.aaa-shared-card{border:1px solid rgba(255,255,255,.08);border-radius:15px;padding:13px;background:rgba(6,18,31,.62)}
.aaa-shared-card span{display:block;color:#69c8d6;font-size:8px;font-weight:950;letter-spacing:.07em}
.aaa-shared-card strong{display:block;margin-top:5px;color:#e7eef3;font-size:12px}
.aaa-shared-card p{margin:6px 0 0;color:#8499ab;font-size:9px;line-height:1.55}
.aaa-pilot-note,.aaa-section-intro{margin:11px 0 0;border-left:3px solid rgba(84,195,218,.48);border-radius:0 10px 10px 0;padding:9px 11px;background:rgba(84,195,218,.045);color:#8da2b4;font-size:9px;line-height:1.65}

.aaa-augment-priority-list{display:grid;gap:9px}
.aaa-augment-priority{display:grid;grid-template-columns:78px minmax(0,1fr);gap:13px;align-items:center;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:12px;background:rgba(6,18,31,.66)}
.aaa-augment-priority.rank-s{border-color:rgba(238,199,98,.28);background:linear-gradient(145deg,rgba(238,199,98,.075),rgba(6,18,31,.7))}
.aaa-augment-priority.rank-a{border-color:rgba(84,195,218,.23)}
.aaa-augment-priority.rank-d{border-color:rgba(196,94,104,.18);opacity:.88}
.aaa-augment-rank{min-height:68px;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(255,255,255,.035)}
.aaa-augment-rank strong{color:#f0d88d;font-size:25px;line-height:1}
.aaa-augment-priority.rank-a .aaa-augment-rank strong{color:#88d8e2}
.aaa-augment-priority.rank-b .aaa-augment-rank strong{color:#9cb2c4}
.aaa-augment-priority.rank-d .aaa-augment-rank strong{color:#c9898f}
.aaa-augment-rank span{margin-top:5px;color:#8296a8;font-size:8px;font-weight:900;letter-spacing:0}
.aaa-augment-priority h3{margin:0;color:#e5edf3;font-size:12px}
.aaa-augment-priority p{margin:6px 0 0;color:#879bad;font-size:9px;line-height:1.6}
.aaa-keywords{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.aaa-keywords span{border:1px solid rgba(255,255,255,.08);border-radius:999px;padding:3px 6px;color:#9db0c0;background:rgba(255,255,255,.03);font-size:8px;font-weight:850;letter-spacing:0}
.aaa-example-block{margin-top:14px;border-top:1px solid rgba(255,255,255,.07);padding-top:13px}
.aaa-example-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
.aaa-example-title strong{font-size:11px}
.aaa-example-title span{color:#70869a;font-size:8px}
.aaa-example-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.aaa-example-card{border:1px solid rgba(255,255,255,.07);border-radius:13px;padding:10px;background:rgba(5,15,26,.55)}
.aaa-example-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.aaa-example-head strong{font-size:10px}
.aaa-example-head span{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;font-size:10px;font-weight:1000;background:rgba(255,255,255,.05);color:#99adbd}
.aaa-example-head .priority-a{color:#85dce5;background:rgba(84,195,218,.1)}
.aaa-example-head .priority-b{color:#b5c5d2}
.aaa-example-head .priority-d{color:#d58d94;background:rgba(196,94,104,.09)}
.aaa-example-card small{display:block;margin-top:5px;color:#b79f62;font-size:8px}
.aaa-example-card p{margin:6px 0 0;color:#7f94a7;font-size:8px;line-height:1.5}

.aaa-build-list{display:grid;gap:9px}
.aaa-build-plan{border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(5,15,27,.58);overflow:hidden}
.aaa-build-plan[open]{border-color:rgba(216,184,108,.2)}
.aaa-build-plan summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;cursor:pointer}
.aaa-build-plan summary::-webkit-details-marker{display:none}
.aaa-build-plan summary>div{min-width:0;display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center}
.aaa-build-plan summary span{grid-row:1/3;display:inline-flex;border-radius:999px;padding:4px 7px;background:rgba(216,184,108,.1);color:#d7bd79;font-size:8px;font-weight:950;letter-spacing:0}
.aaa-build-plan summary strong{font-size:12px}
.aaa-build-plan summary small{margin-top:3px;color:#768b9d;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aaa-build-plan summary b{color:#70869a;font-size:8px;white-space:nowrap}
.aaa-build-plan[open] summary b{color:#c5aa65}
.aaa-build-plan-body{border-top:1px solid rgba(255,255,255,.06);padding:13px}
.aaa-build-description{margin:0 0 10px;color:#879bad;font-size:9px;line-height:1.6}
.aaa-plan-boots{margin-top:10px;border:1px solid rgba(255,255,255,.07);border-radius:13px;padding:10px;background:rgba(4,13,23,.48)}
.aaa-plan-boots h3{margin:0 0 4px;font-size:10px}

@media(max-width:900px){
  .aaa-example-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .aram-mode-switch-panel{margin-top:9px;border-radius:15px;padding:7px}
  .aram-mode-switch button{min-height:39px;font-size:10px}
  .aaa-shared-grid{grid-template-columns:1fr}
  .aaa-augment-priority{grid-template-columns:58px minmax(0,1fr);gap:9px;padding:9px}
  .aaa-augment-rank{min-height:58px}
  .aaa-augment-rank strong{font-size:21px}
  .aaa-example-title{display:block}
  .aaa-example-title span{display:block;margin-top:3px}
  .aaa-build-plan summary{padding:10px}
  .aaa-build-plan summary>div{grid-template-columns:1fr}
  .aaa-build-plan summary span{grid-row:auto;margin-bottom:5px;width:max-content}
  .aaa-build-plan summary small{white-space:normal;line-height:1.35}
}
@media(max-width:430px){
  .aaa-example-grid{grid-template-columns:1fr}
  .aaa-augment-priority{grid-template-columns:50px minmax(0,1fr)}
  .aaa-augment-rank{min-height:54px}
  .aaa-keywords span{font-size:7px}
}


/* v80.23.0 — ARAM section navigation and 151 augment names/effects */
.aram-section-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:15px;padding:5px;border:1px solid rgba(255,255,255,.07);border-radius:16px;background:rgba(5,15,26,.76);box-shadow:0 10px 28px rgba(0,0,0,.14)}
.aram-section-nav a{min-height:48px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:12px;color:#8499ad;background:transparent;font-size:11px;font-weight:950;transition:.16s ease}
.aram-section-nav a:hover{color:#dce5ec;background:rgba(255,255,255,.035)}
.aram-section-nav a.active{color:#f2d991;border-color:rgba(216,184,108,.24);background:linear-gradient(135deg,rgba(216,184,108,.13),rgba(31,67,96,.26));box-shadow:0 5px 16px rgba(0,0,0,.16)}
.aram-section-nav small{display:inline-flex;align-items:center;min-height:20px;padding:0 7px;border-radius:999px;background:rgba(255,255,255,.055);color:#879bad;font-size:8px;font-weight:950}
.aram-section-nav a.active small{background:rgba(216,184,108,.12);color:#e7cd88}
.aram-section-nav-detail{margin:0 0 13px}

.aram-augment-hero{text-align:center;padding:50px 0 27px}
.aram-augment-hero h1{font-size:clamp(34px,6vw,56px);margin:8px 0 11px}
.aram-augment-hero p{max-width:760px;margin:0 auto;color:var(--muted);line-height:1.75;font-size:13px}
.aram-augment-shell{border:1px solid var(--line);border-radius:23px;padding:22px;background:radial-gradient(circle at 95% 0,rgba(127,76,190,.12),transparent 30%),linear-gradient(155deg,rgba(17,35,57,.96),rgba(7,18,31,.98));box-shadow:0 18px 48px rgba(0,0,0,.25)}
.aram-augment-search{display:grid;grid-template-columns:auto minmax(220px,420px) 1fr;align-items:center;gap:11px;margin-bottom:16px;padding:11px 12px;border:1px solid rgba(255,255,255,.07);border-radius:15px;background:rgba(5,15,26,.5)}
.aram-augment-search label{color:#d9c27f;font-size:10px;font-weight:950;white-space:nowrap}
.aram-augment-search small{justify-self:end;color:#73899d;font-size:9px;font-weight:850}
.aram-augment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.aram-augment-card{min-height:132px;display:grid;grid-template-columns:39px minmax(0,1fr);align-items:start;gap:11px;border:1px solid rgba(255,255,255,.075);border-radius:14px;padding:13px 14px;background:linear-gradient(145deg,rgba(20,38,59,.82),rgba(7,18,31,.9));transition:transform .15s ease,border-color .15s ease,background .15s ease}
.aram-augment-card:hover{transform:translateY(-2px);border-color:rgba(216,184,108,.27);background:linear-gradient(145deg,rgba(25,47,72,.9),rgba(8,21,35,.94))}
.aram-augment-card>span{width:39px;height:39px;display:grid;place-items:center;position:sticky;top:10px;border:1px solid rgba(216,184,108,.18);border-radius:11px;background:rgba(216,184,108,.06);color:#bca66b;font-size:8px;font-weight:1000;font-variant-numeric:tabular-nums}
.aram-augment-card>div{min-width:0}.aram-augment-card strong{display:block;min-width:0;color:#e5ecf2;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.aram-augment-card p{margin:7px 0 0;color:#8fa3b5;font-size:9px;line-height:1.65;overflow-wrap:anywhere}
.aram-augment-card[hidden]{display:none!important}
.aram-augment-note{margin-top:16px;padding:18px 20px;border:1px solid rgba(127,76,190,.2);border-radius:17px;background:rgba(127,76,190,.05);text-align:center}
.aram-augment-note strong{color:#d7bdf0;font-size:12px}.aram-augment-note p{margin:6px 0 0;color:var(--muted);font-size:11px;line-height:1.65}

@media(max-width:1100px){.aram-augment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){
  .aram-section-nav{margin-top:11px}
  .aram-section-nav a{min-height:43px;font-size:10px}
  .aram-augment-hero{padding:38px 0 23px}.aram-augment-hero p{font-size:12px}
  .aram-augment-shell{padding:16px;border-radius:19px}
  .aram-augment-search{grid-template-columns:1fr;gap:7px}
  .aram-augment-search small{justify-self:start}
  .aram-augment-grid{grid-template-columns:1fr;gap:8px}
  .aram-augment-card{min-height:0;grid-template-columns:34px minmax(0,1fr);gap:9px;padding:11px}
  .aram-augment-card>span{width:34px;height:34px;border-radius:10px}
  .aram-augment-card strong{font-size:11px}.aram-augment-card p{font-size:9px;line-height:1.6}
}
@media(max-width:390px){
  .aram-section-nav a{gap:5px}.aram-section-nav small{padding:0 5px;font-size:7px}
  .aram-augment-grid{grid-template-columns:1fr}
  .aram-augment-card{min-height:56px}
}


/* v80.24.0 — Jinx AAA ARAM 151 augment compatibility */
.aaa-augment-priority.rank-c{border-color:rgba(157,135,102,.18);opacity:.92}
.aaa-augment-priority.rank-c .aaa-augment-rank strong{color:#b6a27d}
.aaa-fit-block{margin-top:15px;border-top:1px solid rgba(255,255,255,.07);padding-top:14px}
.aaa-fit-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:11px}
.aaa-fit-title>div{min-width:0}.aaa-fit-title strong{display:block;color:#e7eef3;font-size:12px}.aaa-fit-title span{display:block;margin-top:4px;color:#7f94a7;font-size:8px;line-height:1.55}.aaa-fit-title small{flex:0 0 auto;color:#d2b96f;font-size:8px;font-weight:900}
.aaa-fit-tools{display:grid;grid-template-columns:minmax(220px,360px) 1fr;gap:10px;align-items:end;margin-bottom:12px;padding:10px;border:1px solid rgba(255,255,255,.07);border-radius:14px;background:rgba(5,15,26,.5)}
.aaa-fit-tools label{display:grid;gap:5px}.aaa-fit-tools label span{color:#8ba0b1;font-size:8px;font-weight:900}.aaa-fit-tools input{width:100%;border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:9px 11px;background:#06111d;color:#e7eef3;font:inherit;font-size:10px;outline:none}.aaa-fit-tools input:focus{border-color:rgba(84,195,218,.45);box-shadow:0 0 0 3px rgba(84,195,218,.07)}
.aaa-fit-filters{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:5px}.aaa-fit-filters button{border:1px solid rgba(255,255,255,.08);border-radius:999px;padding:7px 9px;background:rgba(255,255,255,.03);color:#8ea3b5;font:inherit;font-size:8px;font-weight:900;cursor:pointer}.aaa-fit-filters button:hover,.aaa-fit-filters button.is-active{border-color:rgba(216,184,108,.32);background:rgba(216,184,108,.09);color:#e4cc88}
.aaa-fit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.aaa-fit-card{border:1px solid rgba(255,255,255,.075);border-radius:15px;padding:12px;background:linear-gradient(145deg,rgba(12,28,45,.86),rgba(5,15,26,.9))}.aaa-fit-card[hidden]{display:none!important}
.aaa-fit-card.rank-s{border-color:rgba(238,199,98,.3);background:linear-gradient(145deg,rgba(238,199,98,.07),rgba(5,15,26,.92))}.aaa-fit-card.rank-a{border-color:rgba(84,195,218,.23)}.aaa-fit-card.rank-c{border-color:rgba(157,135,102,.16);opacity:.92}.aaa-fit-card.rank-d{border-color:rgba(196,94,104,.18);opacity:.82}
.aaa-fit-card-head{display:flex;align-items:center;gap:9px}.aaa-fit-card-head>span{width:31px;height:31px;flex:0 0 31px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.045);color:#9eb3c3;font-size:13px;font-weight:1000}.aaa-fit-card.rank-s .aaa-fit-card-head>span{color:#f0d88d;background:rgba(238,199,98,.09)}.aaa-fit-card.rank-a .aaa-fit-card-head>span{color:#88d8e2;background:rgba(84,195,218,.08)}.aaa-fit-card.rank-c .aaa-fit-card-head>span{color:#b6a27d}.aaa-fit-card.rank-d .aaa-fit-card-head>span{color:#d18a92;background:rgba(196,94,104,.08)}
.aaa-fit-card-head>div{min-width:0}.aaa-fit-card-head strong{display:block;color:#e5edf3;font-size:11px;line-height:1.35}.aaa-fit-card-head small{display:block;margin-top:2px;color:#b69f65;font-size:8px}
.aaa-fit-effect{margin:9px 0 0;color:#8ea3b5;font-size:8px;line-height:1.6}.aaa-fit-reason{margin:8px 0 0;border-top:1px solid rgba(255,255,255,.055);padding-top:8px;color:#9fb2c0;font-size:8px;line-height:1.6}.aaa-fit-reason b{color:#68c7d5}
@media(max-width:900px){.aaa-fit-tools{grid-template-columns:1fr}.aaa-fit-filters{justify-content:flex-start}.aaa-fit-grid{grid-template-columns:1fr}}
@media(max-width:560px){.aaa-fit-title{display:block}.aaa-fit-title small{display:block;margin-top:4px}.aaa-fit-tools{padding:8px}.aaa-fit-filters{gap:4px}.aaa-fit-filters button{padding:6px 8px;font-size:7px}.aaa-fit-card{padding:10px}.aaa-fit-effect,.aaa-fit-reason{font-size:8px}}


/* v80.25.0 — Jinx AAA ARAM keyword decision pilot */
.aaa-decision-section{border-color:rgba(216,184,108,.18);background:radial-gradient(circle at 92% 0,rgba(216,184,108,.055),transparent 32%),linear-gradient(150deg,rgba(9,28,43,.98),rgba(6,17,29,.98))}
.aaa-quick-playstyle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:14px}
.aaa-quick-playstyle{border:1px solid rgba(255,255,255,.075);border-radius:15px;padding:12px;background:rgba(5,15,26,.58)}
.aaa-quick-playstyle>span{display:inline-flex;border-radius:999px;padding:4px 7px;background:rgba(216,184,108,.09);color:#d7bd79;font-size:8px;font-weight:950}
.aaa-quick-playstyle>strong{display:block;margin-top:8px;color:#e7eef3;font-size:12px}
.aaa-quick-playstyle>p{margin:6px 0 0;color:#879bad;font-size:8px;line-height:1.6}
.aaa-quick-playstyle>div{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}
.aaa-quick-playstyle b{border:1px solid rgba(84,195,218,.12);border-radius:999px;padding:3px 6px;background:rgba(84,195,218,.045);color:#88cbd5;font-size:7px;font-weight:900}
.aaa-keyword-guide{border:1px solid rgba(84,195,218,.16);border-radius:17px;padding:13px;background:linear-gradient(145deg,rgba(7,25,39,.84),rgba(5,15,26,.72))}
.aaa-keyword-guide-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:11px}
.aaa-keyword-guide-title>div{min-width:0}.aaa-keyword-guide-title strong{display:block;color:#e7eef3;font-size:12px}.aaa-keyword-guide-title span{display:block;margin-top:4px;color:#8298aa;font-size:8px;line-height:1.6}.aaa-keyword-guide-title small{flex:0 0 auto;color:#6ecbd7;font-size:8px;font-weight:900}
.aaa-keyword-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:10px}
.aaa-keyword-steps article{display:flex;gap:9px;border:1px solid rgba(255,255,255,.06);border-radius:13px;padding:10px;background:rgba(4,14,24,.48)}
.aaa-keyword-steps article>span{width:25px;height:25px;flex:0 0 25px;display:grid;place-items:center;border-radius:8px;background:rgba(216,184,108,.09);color:#d9c17c;font-size:10px;font-weight:1000}
.aaa-keyword-steps strong{display:block;color:#dfe9ef;font-size:9px}.aaa-keyword-steps p{margin:4px 0 0;color:#7e93a5;font-size:7px;line-height:1.55}
.aaa-keyword-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.aaa-keyword-group{border:1px solid rgba(255,255,255,.07);border-radius:14px;padding:11px;background:rgba(4,14,24,.55)}
.aaa-keyword-group.tone-s{border-color:rgba(238,199,98,.26);background:linear-gradient(145deg,rgba(238,199,98,.055),rgba(4,14,24,.6))}
.aaa-keyword-group.tone-a{border-color:rgba(84,195,218,.21)}
.aaa-keyword-group.tone-d{border-color:rgba(196,94,104,.17)}
.aaa-keyword-group-head strong{display:block;color:#e4ebf1;font-size:10px}.aaa-keyword-group.tone-s .aaa-keyword-group-head strong{color:#ecd487}.aaa-keyword-group.tone-a .aaa-keyword-group-head strong{color:#88d8e2}.aaa-keyword-group.tone-d .aaa-keyword-group-head strong{color:#cf8b92}
.aaa-keyword-group-head span{display:block;margin-top:3px;color:#7d92a4;font-size:7px;line-height:1.5}
.aaa-keyword-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}
.aaa-keyword-chips button{border:1px solid rgba(255,255,255,.08);border-radius:999px;padding:5px 8px;background:rgba(255,255,255,.035);color:#a3b6c5;font:inherit;font-size:8px;font-weight:900;cursor:pointer}
.aaa-keyword-chips button:hover,.aaa-keyword-chips button:focus-visible{border-color:rgba(216,184,108,.38);background:rgba(216,184,108,.1);color:#ecd487;outline:none}
.aaa-decision-section .aaa-fit-block{margin-top:14px}
@media(max-width:900px){.aaa-quick-playstyle-grid,.aaa-keyword-steps{grid-template-columns:1fr}.aaa-keyword-groups{grid-template-columns:1fr}}
@media(max-width:560px){.aaa-keyword-guide{padding:10px}.aaa-keyword-guide-title{display:block}.aaa-keyword-guide-title small{display:block;margin-top:5px}.aaa-quick-playstyle{padding:10px}.aaa-keyword-chips button{font-size:7px;padding:5px 7px}}
\n\n/* v80.26.0 — Jinx AAA ARAM compact navigation and augment cards */
.aaa-inline-keyword{display:inline-block;margin:0 1px;border:1px solid rgba(239,201,98,.34);border-radius:6px;padding:0 4px;background:rgba(239,201,98,.11);color:#f1d77f;font-weight:950;line-height:1.45;box-shadow:0 0 0 1px rgba(239,201,98,.035)}
.aaa-shared-disclosure>summary{list-style:none;cursor:pointer;position:relative;padding-right:132px}.aaa-shared-disclosure>summary::-webkit-details-marker{display:none}.aaa-shared-disclosure>summary .aram-detail-section-head{margin-bottom:0}.aaa-shared-disclosure-body{padding-top:14px}.aaa-disclosure-toggle{position:absolute;right:0;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(84,195,218,.18);border-radius:999px;padding:7px 10px;background:rgba(84,195,218,.055);color:#87ced8;font-size:8px;font-weight:950}.aaa-disclosure-toggle i{font-style:normal;font-size:12px;transition:transform .2s ease}.aaa-shared-disclosure[open] .aaa-disclosure-toggle i{transform:rotate(180deg)}.aaa-shared-disclosure[open] .aaa-disclosure-toggle span{font-size:0}.aaa-shared-disclosure[open] .aaa-disclosure-toggle span::after{content:'收合內容';font-size:8px}
.aaa-section-jump{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:13px}.aaa-section-jump a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid rgba(255,255,255,.08);border-radius:13px;padding:9px 10px;background:linear-gradient(145deg,rgba(10,31,47,.82),rgba(5,16,27,.9));color:#dbe7ee;font-size:9px;font-weight:950;text-align:center;text-decoration:none;transition:border-color .18s ease,transform .18s ease,background .18s ease}.aaa-section-jump a:hover,.aaa-section-jump a:focus-visible{border-color:rgba(216,184,108,.34);background:rgba(216,184,108,.075);color:#eed68d;transform:translateY(-1px);outline:none}.aaa-section-jump span{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border-radius:8px;background:rgba(216,184,108,.09);color:#d7bd79;font-size:8px}
#aaa-build-section,#aaa-runes-section,#aaa-skill-section{scroll-margin-top:84px}
.aaa-fit-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
.aaa-fit-card{padding:0;overflow:hidden}.aaa-fit-card>summary{list-style:none;cursor:pointer}.aaa-fit-card>summary::-webkit-details-marker{display:none}.aaa-fit-card-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:58px;padding:10px 11px}.aaa-fit-card-summary:hover{background:rgba(255,255,255,.025)}.aaa-fit-toggle{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;color:#7f95a6;font-size:7px;font-weight:900}.aaa-fit-toggle i{font-style:normal;font-size:11px;transition:transform .18s ease}.aaa-fit-card[open] .aaa-fit-toggle i{transform:rotate(180deg)}.aaa-fit-card[open] .aaa-fit-toggle span{font-size:0}.aaa-fit-card[open] .aaa-fit-toggle span::after{content:'收合';font-size:7px}.aaa-fit-card-body{border-top:1px solid rgba(255,255,255,.06);padding:0 11px 11px;background:rgba(2,10,18,.24)}.aaa-fit-card-body .aaa-fit-effect{margin-top:9px}.aaa-fit-card-body .aaa-fit-effect>b{color:#d8c27e}.aaa-fit-card-body .aaa-fit-reason{margin-top:8px}.aaa-fit-card-head{min-width:0}.aaa-fit-card-head>div{min-width:0}.aaa-fit-card-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1100px){.aaa-fit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.aaa-shared-disclosure>summary{padding-right:0;padding-bottom:42px}.aaa-disclosure-toggle{left:0;right:auto;top:auto;bottom:0;transform:none}.aaa-section-jump{grid-template-columns:1fr}.aaa-section-jump a{justify-content:flex-start;min-height:40px}.aaa-fit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.aaa-fit-card-summary{display:block;min-height:72px;padding:9px}.aaa-fit-card-head{align-items:flex-start;gap:7px}.aaa-fit-card-head>span{width:27px;height:27px;flex-basis:27px;font-size:11px}.aaa-fit-card-head strong{font-size:9px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.aaa-fit-card-head small{font-size:7px}.aaa-fit-toggle{margin-top:7px;padding-left:34px}.aaa-fit-card[open]{grid-column:1/-1}.aaa-fit-card[open] .aaa-fit-card-summary{min-height:0}.aaa-fit-card-body{padding:0 10px 10px}.aaa-fit-effect,.aaa-fit-reason{font-size:8px}.aaa-inline-keyword{padding:0 3px}}
@media(max-width:380px){.aaa-fit-grid{gap:6px}.aaa-fit-card-summary{padding:8px}.aaa-fit-card-head strong{font-size:8px}.aaa-fit-toggle{padding-left:32px;font-size:6px}}

/* v80.27.0 — AAA ARAM official augment classification filters */
.aram-augment-filter-panel{margin-bottom:12px;border:1px solid rgba(216,184,108,.12);border-radius:17px;padding:13px;background:linear-gradient(145deg,rgba(216,184,108,.035),rgba(5,15,26,.46))}
.aram-augment-filter-intro{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:11px}.aram-augment-filter-intro strong{color:#e5cf8c;font-size:11px}.aram-augment-filter-intro span{color:#7f94a7;font-size:8px;line-height:1.5;text-align:right}
.aram-augment-filters{display:grid;gap:9px}.aram-augment-filter-all{display:flex}.aram-augment-filter-group{display:grid;grid-template-columns:68px minmax(0,1fr);gap:8px;align-items:start}.aram-augment-filter-group>strong{padding-top:7px;color:#8298aa;font-size:8px;font-weight:950}.aram-augment-filter-group>div{display:flex;flex-wrap:wrap;gap:5px}
.aram-augment-filters button{display:inline-flex;align-items:center;gap:5px;min-height:29px;border:1px solid rgba(255,255,255,.075);border-radius:999px;padding:5px 8px;background:rgba(255,255,255,.025);color:#93a7b8;font:inherit;font-size:8px;font-weight:900;cursor:pointer;transition:.15s ease}.aram-augment-filters button small{display:grid;place-items:center;min-width:18px;height:18px;border-radius:999px;background:rgba(255,255,255,.05);color:#71879a;font-size:7px}.aram-augment-filters button:hover,.aram-augment-filters button:focus-visible{border-color:rgba(216,184,108,.3);color:#e4cc88;outline:none}.aram-augment-filters button.is-active{border-color:rgba(216,184,108,.38);background:rgba(216,184,108,.1);color:#efd78d}.aram-augment-filters button.is-active small{background:rgba(216,184,108,.13);color:#e2c978}
.aram-augment-filter-group[data-filter-group="elements"] button{border-color:rgba(185,136,231,.13)}.aram-augment-filter-group[data-filter-group="mechanics"] button{border-color:rgba(84,195,218,.13)}.aram-augment-filter-group[data-filter-group="special"] button{border-color:rgba(216,184,108,.13)}
.aram-augment-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.aram-augment-tag{border:1px solid rgba(255,255,255,.08);border-radius:999px;padding:3px 6px;background:rgba(255,255,255,.025);color:#91a6b7;font:inherit;font-size:7px;font-weight:950;cursor:pointer;line-height:1.25}.aram-augment-tag:hover,.aram-augment-tag:focus-visible{filter:brightness(1.14);outline:none}.aram-augment-tag.tag-elements{border-color:rgba(185,136,231,.2);background:rgba(185,136,231,.055);color:#c8a8e5}.aram-augment-tag.tag-mechanics{border-color:rgba(84,195,218,.19);background:rgba(84,195,218,.05);color:#83cad4}.aram-augment-tag.tag-special{border-color:rgba(216,184,108,.2);background:rgba(216,184,108,.055);color:#d7bd79}
.aram-augment-card p{margin-top:8px}
@media(max-width:720px){.aram-augment-filter-panel{padding:10px}.aram-augment-filter-intro{display:block}.aram-augment-filter-intro span{display:block;margin-top:4px;text-align:left}.aram-augment-filter-group{grid-template-columns:1fr;gap:5px}.aram-augment-filter-group>strong{padding-top:0}.aram-augment-filters button{min-height:27px;padding:4px 7px;font-size:7px}.aram-augment-tag{font-size:7px}}

/* v80.28.0 — Desktop readability reset: restore legible text sizes without changing mobile layouts */
@media (min-width:801px){
  body{font-size:16px}
  .nav{font-size:14px}
  .meta,.eyebrow,.kicker{font-size:13px}
  .chip{font-size:12px}
  .page-head p,.hero-page-head p{font-size:15px;line-height:1.7}
  .home-card p{font-size:15px;line-height:1.72}
  .home-card .kicker{font-size:12px}.home-card .link-label{font-size:14px}
  footer{font-size:14px}

  /* Summoner's Rift hero list/detail readability */
  .hero-list-kicker,.hero-version-badge span,.hero-role-tab,.hero-overview-head p,.hero-overview-count{font-size:12px}
  .hero-tier-legend,.tier-pill{font-size:13px}
  .hero-list-info span,.hero-list-info small{font-size:12px}
  .tier-hero-card strong{font-size:14px}.tier-hero-card small{font-size:11px}
  .hero-back-button{font-size:13px}.hero-en{font-size:13px}.hero-position{font-size:14px}
  .hero-tags span,.hero-summary-box span,.hero-section-title span,.subsection-label{font-size:11px}
  .hero-summary-box p,.hero-overview-head p{font-size:14px;line-height:1.65}
  .rating-label,.rating-stars{font-size:13px}
  .hero-rune-card small{font-size:10px}.hero-rune-card strong{font-size:13px}.hero-rune-card p{font-size:12px;line-height:1.55}
  .hero-build-slot>b,.build-mini span,.build-group .build-mini span{font-size:11px}
  .build-group-head strong{font-size:13px}.build-group-head small{font-size:10px}.build-group .build-arrow{font-size:14px}
  .skill-order span,.skill-priority-step small,.skill-priority-rank{font-size:11px}
  .skill-priority-step b{font-size:14px}
  .skill-grid-header,.skill-grid-skill.label,.skill-grid-cell,.skill-grid-cell.active span{font-size:11px}
  .skill-grid-skill b{font-size:13px}.skill-grid-skill small{font-size:10px}
  .ability-head small{font-size:11px}.ability-head strong{font-size:14px}.ability-card p{font-size:13px;line-height:1.6}
  .matchup-box>span{font-size:11px}.matchup-box b,.matchup-chip b{font-size:13px}
  .stack-card>span{font-size:12px}.stack-card p,.playstyle-step p{font-size:13px;line-height:1.6}.playstyle-step b{font-size:13px}
  .hero-source-note{font-size:11px;line-height:1.55}
  .passive-feature small{font-size:11px}.passive-feature strong{font-size:13px}.passive-feature p{font-size:13px;line-height:1.6}
  .role-link span{font-size:11px}

  /* Other desktop database pages */
  .search,.select{font-size:14px}
  .item-icon strong,.spell-icon strong{font-size:13px}.item-icon small,.item-icon .item-price{font-size:10px}
  .rune-card h3{font-size:14px}.rune-card .desc{font-size:13px;line-height:1.55}

  /* ARAM overview/detail */
  .mode-entry-login,.aram-top-actions a{font-size:14px}
  .mode-entry-hero p{font-size:16px}.mode-entry-version{font-size:12px}
  .mode-entry-card h2 small{font-size:14px}.mode-entry-card p{font-size:14px;line-height:1.7}.mode-entry-card-status{font-size:11px}.mode-entry-enter{font-size:14px}.mode-entry-note{font-size:12px}
  .mode-context-label{font-size:11px}.mode-context-link{font-size:12px}
  .aram-hero p{font-size:15px;line-height:1.7}.aram-stage-badge{font-size:12px}.aram-data-state{font-size:12px}
  .aram-tier-card span,.aram-framework-grid article>span{font-size:11px}.aram-framework-grid p{font-size:13px;line-height:1.65}
  .aram-placeholder strong{font-size:13px}.aram-placeholder p{font-size:13px;line-height:1.65}
  .aram-tier-badge span,.aram-tier-badge small{font-size:10px}.aram-hero-card strong{font-size:12px}.aram-hero-card span,.aram-hero-card small,.aram-hero-card em{font-size:11px}
  .aram-detail-breadcrumb,.aram-detail-kicker{font-size:11px}.aram-detail-titleline>div>span{font-size:13px}.aram-detail-tier span{font-size:10px}.aram-detail-position{font-size:14px}.aram-detail-tags span{font-size:10px}
  .aram-detail-summary{font-size:14px;line-height:1.65}.aram-tier-reason strong,.aram-tier-reason span{font-size:11px}.aram-detail-section-head span,.aram-detail-section-head small{font-size:10px}
  .aram-balance-grid span{font-size:10px}.aram-detail-note{font-size:11px;line-height:1.6}
  .aram-starter-row>strong,.aram-starter-row>span{font-size:11px}.aram-starter-row p{font-size:12px;line-height:1.55}
  .aram-loadout-index{font-size:10px}.aram-loadout-card strong{font-size:13px}.aram-loadout-card p{font-size:11px;line-height:1.55}
  .aram-subgrid h3{font-size:13px}.aram-compact-card strong{font-size:12px}.aram-compact-card p{font-size:11px;line-height:1.55}
  .aram-step-label{font-size:10px}.aram-rune-card strong{font-size:13px}.aram-rune-card p{font-size:11px;line-height:1.55}
  .aram-skill-order p{font-size:12px;line-height:1.6}.aram-playstyle-grid span{font-size:10px}.aram-playstyle-grid p{font-size:12px;line-height:1.6}
  .aram-situational-card strong{font-size:12px}.aram-situational-card span{font-size:10px}.aram-situational-card p{font-size:11px;line-height:1.55}
  .aram-source-panel>strong{font-size:11px}.aram-source-panel p,.aram-source-panel a{font-size:10px;line-height:1.55}

  /* AAA / Rune ARAM pilot: undo over-compression on desktop */
  .aram-mode-switch button{font-size:12px}.aram-mode-switch button span{font-size:9px}.aram-mode-switch-panel>p{font-size:11px}
  .aaa-shared-card span{font-size:10px}.aaa-shared-card strong{font-size:13px}.aaa-shared-card p{font-size:11px;line-height:1.58}
  .aaa-pilot-note,.aaa-section-intro{font-size:11px;line-height:1.6}.aaa-augment-rank span{font-size:10px}.aaa-augment-priority h3{font-size:14px}.aaa-augment-priority p{font-size:11px;line-height:1.6}
  .aaa-keywords span{font-size:10px}.aaa-example-title strong{font-size:12px}.aaa-example-title span{font-size:10px}.aaa-example-head strong,.aaa-example-head span{font-size:11px}.aaa-example-card small,.aaa-example-card p{font-size:10px;line-height:1.55}
  .aaa-build-plan summary span,.aaa-build-plan summary small,.aaa-build-plan summary b{font-size:10px}.aaa-build-plan summary strong{font-size:13px}.aaa-build-description{font-size:11px;line-height:1.6}.aaa-plan-boots h3{font-size:12px}
  .aram-section-nav a{font-size:12px}.aram-section-nav small{font-size:10px}
  .aram-augment-hero p{font-size:15px}.aram-augment-search label{font-size:11px}.aram-augment-search small{font-size:10px}
  .aram-augment-card>span{font-size:10px}.aram-augment-card strong{font-size:14px}.aram-augment-card p{font-size:12px;line-height:1.65}.aram-augment-note strong{font-size:13px}.aram-augment-note p{font-size:12px;line-height:1.6}

  .aaa-fit-title strong{font-size:13px}.aaa-fit-title span,.aaa-fit-title small{font-size:10px}.aaa-fit-tools label span{font-size:10px}.aaa-fit-tools input{font-size:12px}.aaa-fit-filters button{font-size:10px}
  .aaa-fit-card-head>span{font-size:13px}.aaa-fit-card-head strong{font-size:12px}.aaa-fit-card-head small{font-size:10px}.aaa-fit-effect,.aaa-fit-reason{font-size:11px;line-height:1.58}.aaa-fit-toggle{font-size:9px}
  .aaa-quick-playstyle>span{font-size:10px}.aaa-quick-playstyle>strong{font-size:13px}.aaa-quick-playstyle>p{font-size:11px;line-height:1.58}.aaa-quick-playstyle b{font-size:9px}
  .aaa-keyword-guide-title strong{font-size:13px}.aaa-keyword-guide-title span,.aaa-keyword-guide-title small{font-size:10px}
  .aaa-keyword-steps article>span{font-size:11px}.aaa-keyword-steps strong{font-size:12px}.aaa-keyword-steps p{font-size:11px;line-height:1.6}
  .aaa-keyword-group-head strong{font-size:12px}.aaa-keyword-group-head span{font-size:10px;line-height:1.55}.aaa-keyword-chips button{font-size:10px}
  .aaa-disclosure-toggle{font-size:10px}.aaa-shared-disclosure[open] .aaa-disclosure-toggle span::after{font-size:10px}.aaa-section-jump a{font-size:11px}.aaa-section-jump span{font-size:10px}

  /* v80.27 augment classification filters */
  .aram-augment-filter-intro strong{font-size:13px}.aram-augment-filter-intro span{font-size:11px}
  .aram-augment-filter-group>strong{font-size:11px}.aram-augment-filters button{font-size:11px;min-height:32px;padding:6px 10px}.aram-augment-filters button small{font-size:9px}
  .aram-augment-tag{font-size:10px;padding:4px 7px}
}


/* v80.29 · AAA ARAM augment three-choice recommendation pilot */
.aaa-fit-official-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.aaa-fit-official-tags i,.aaa-recommend-result-title i{font-style:normal;font-size:11px;line-height:1;padding:5px 7px;border-radius:999px;background:rgba(97,177,255,.12);border:1px solid rgba(97,177,255,.24);color:#bfe2ff}.aaa-recommend-lab{margin:20px 0 22px;padding:18px;border:1px solid rgba(100,183,255,.25);border-radius:18px;background:linear-gradient(145deg,rgba(21,31,48,.96),rgba(13,20,33,.96));box-shadow:0 18px 45px rgba(0,0,0,.2)}.aaa-recommend-lab-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:16px}.aaa-recommend-lab-head>div{min-width:0}.aaa-recommend-lab-head span{display:block;font-size:11px;letter-spacing:.14em;color:#75c4ff;font-weight:800}.aaa-recommend-lab-head strong{display:block;margin-top:3px;font-size:20px;color:#fff}.aaa-recommend-lab-head p{margin:7px 0 0;max-width:850px;font-size:13px;line-height:1.7;color:#aebdd0}.aaa-recommend-lab-head>small{flex:0 0 auto;padding:6px 9px;border-radius:999px;background:rgba(255,208,92,.12);color:#ffd774;border:1px solid rgba(255,208,92,.24);font-size:11px}.aaa-recommend-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.aaa-recommend-fields fieldset{margin:0;padding:13px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025)}.aaa-recommend-fields legend{padding:0 7px;color:#eaf4ff;font-size:13px;font-weight:800}.aaa-recommend-fields legend small{font-size:10px;color:#7f91a8;font-weight:500}.aaa-recommend-input-grid{display:grid;gap:8px}.aaa-recommend-input-grid.owned{grid-template-columns:repeat(3,minmax(0,1fr))}.aaa-recommend-input-grid.candidates{grid-template-columns:repeat(3,minmax(0,1fr))}.aaa-recommend-input-grid label span{display:block;margin-bottom:5px;color:#8da2b9;font-size:11px}.aaa-recommend-input-grid input{width:100%;min-width:0;height:38px;padding:0 10px;border-radius:9px;border:1px solid rgba(255,255,255,.12);background:#101827;color:#eef7ff;font-size:12px;outline:none}.aaa-recommend-input-grid input:focus{border-color:rgba(87,184,255,.6);box-shadow:0 0 0 3px rgba(87,184,255,.08)}.aaa-recommend-actions{display:flex;align-items:center;gap:9px;margin-top:13px}.aaa-recommend-actions button{height:36px;padding:0 14px;border:0;border-radius:9px;background:#55b7f7;color:#07111b;font-weight:900;cursor:pointer}.aaa-recommend-actions button.ghost{background:transparent;color:#b8c7d8;border:1px solid rgba(255,255,255,.13)}.aaa-recommend-actions>span{margin-left:auto;max-width:540px;color:#70869f;font-size:10px;line-height:1.5;text-align:right}.aaa-recommend-results{display:grid;gap:9px;margin-top:14px}.aaa-recommend-results>p{margin:0;padding:13px;border-radius:11px;background:rgba(255,255,255,.025);color:#8fa2b9;font-size:12px}.aaa-recommend-result{display:grid;grid-template-columns:82px 1fr;gap:12px;padding:13px;border-radius:13px;border:1px solid rgba(255,255,255,.08);background:rgba(8,14,23,.58)}.aaa-recommend-result.is-winner{border-color:rgba(255,210,92,.38);background:linear-gradient(90deg,rgba(255,207,72,.08),rgba(8,14,23,.66))}.aaa-recommend-rank{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:10px;background:rgba(255,255,255,.035);padding:8px}.aaa-recommend-rank span{font-size:11px;color:#9eb0c4}.aaa-recommend-rank strong{font-size:27px;line-height:1.05;color:#fff}.aaa-recommend-rank small{font-size:9px;color:#677b92}.aaa-recommend-result-body{min-width:0}.aaa-recommend-result-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.aaa-recommend-result-title>div:first-child strong{display:block;color:#fff;font-size:15px}.aaa-recommend-result-title>div:first-child span{display:block;margin-top:3px;color:#84a1bf;font-size:10px}.aaa-recommend-result-title>div:last-child{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.aaa-recommend-result-body>p{margin:8px 0;color:#c1cede;font-size:12px;line-height:1.65}.aaa-recommend-breakdown{display:flex;flex-wrap:wrap;gap:6px}.aaa-recommend-breakdown span{padding:5px 7px;border-radius:7px;background:rgba(255,255,255,.04);color:#7f94ab;font-size:10px}.aaa-recommend-breakdown b{color:#d9ebff}.aaa-recommend-result ul{margin:8px 0 0;padding-left:17px;color:#8fc8ef;font-size:10px;line-height:1.6}.aaa-recommend-no-synergy{display:block;margin-top:8px;color:#63788f;font-size:10px}
@media(max-width:760px){.aaa-recommend-lab{padding:14px}.aaa-recommend-lab-head{display:block}.aaa-recommend-lab-head>small{display:inline-block;margin-top:8px}.aaa-recommend-fields{grid-template-columns:1fr}.aaa-recommend-input-grid.owned,.aaa-recommend-input-grid.candidates{grid-template-columns:1fr}.aaa-recommend-actions{flex-wrap:wrap}.aaa-recommend-actions>span{width:100%;margin-left:0;text-align:left}.aaa-recommend-result{grid-template-columns:62px 1fr}.aaa-recommend-result-title{display:block}.aaa-recommend-result-title>div:last-child{justify-content:flex-start;margin-top:6px}}


/* v80.30 AAA ARAM quick decision mode */
.aaa-aram-mode .aaa-fit-block{
  position:relative;
}
.aaa-aram-mode .aaa-fit-tools{
  position:sticky;
  top:8px;
  z-index:18;
  padding:12px;
  border-radius:14px;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.aaa-aram-mode .aaa-fit-tools label{
  flex:1 1 320px;
}
.aaa-aram-mode .aaa-fit-tools input[data-aaa-fit-search]{
  min-height:46px;
  font-size:16px;
  font-weight:700;
}
.aaa-aram-mode .aaa-fit-card-summary{
  min-height:66px;
}
.aaa-aram-mode .aaa-fit-card-head>span{
  min-width:42px;
  font-size:20px;
  font-weight:900;
  text-align:center;
}
.aaa-aram-mode .aaa-fit-card-head strong{
  font-size:15px;
}
.aaa-aram-mode .aaa-fit-card-head small{
  font-size:12px;
}
.aaa-aram-mode .aaa-fit-toggle span{
  font-size:12px;
}
@media (max-width: 760px){
  .aaa-aram-mode .aaa-fit-tools{
    top:4px;
    padding:9px;
  }
  .aaa-aram-mode .aaa-fit-tools input[data-aaa-fit-search]{
    min-height:44px;
    font-size:16px;
  }
  .aaa-aram-mode .aaa-fit-card-summary{
    min-height:62px;
  }
}


/* v80.31 Jinx category-first AAA ARAM trial */
.aaa-category-howto{
  display:flex;align-items:center;gap:12px;margin:14px 0 12px;padding:12px 14px;
  border:1px solid rgba(116,166,255,.22);border-radius:14px;background:rgba(16,28,48,.58)
}
.aaa-category-howto b{font-size:14px;white-space:nowrap}
.aaa-category-howto span{font-size:13px;opacity:.86}
.aaa-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}
.aaa-category-card{
  min-height:112px;padding:13px 14px;text-align:left;border:1px solid rgba(255,255,255,.12);
  border-radius:15px;background:rgba(18,28,46,.76);cursor:pointer;transition:.16s ease
}
.aaa-category-card:hover,.aaa-category-card.is-active{
  transform:translateY(-1px);border-color:rgba(112,180,255,.72);box-shadow:0 8px 24px rgba(0,0,0,.18)
}
.aaa-category-card span{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.06em;opacity:.8}
.aaa-category-card strong{display:block;margin-top:5px;font-size:22px;line-height:1.1}
.aaa-category-card b{display:block;margin-top:6px;font-size:12px}
.aaa-category-card small{display:block;margin-top:7px;font-size:12px;line-height:1.45;opacity:.74}
.aaa-category-card.level-core{border-color:rgba(255,199,72,.38)}
.aaa-category-card.level-high{border-color:rgba(105,198,255,.3)}
.aaa-category-card.is-active{background:rgba(30,55,88,.92)}
.aaa-category-empty{
  padding:24px 16px;text-align:center;border:1px dashed rgba(255,255,255,.15);border-radius:14px;opacity:.8
}
.aaa-category-empty strong{display:block;font-size:16px}
.aaa-category-empty span{display:block;margin-top:5px;font-size:12px}
.aaa-aram-mode .aaa-fit-block[hidden],.aaa-aram-mode .aaa-fit-card[hidden]{display:none!important}
.aaa-aram-mode .aaa-fit-card.rank-splus .aaa-fit-card-head>span{font-size:17px;letter-spacing:-.04em}
@media (max-width:760px){
  .aaa-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .aaa-category-card{min-height:100px;padding:11px 12px}
  .aaa-category-card strong{font-size:19px}
  .aaa-category-howto{align-items:flex-start;flex-direction:column;gap:4px}
}


/* v80.32 Jinx category card color fix */
.aaa-aram-mode .aaa-category-card{
  color:#f4f7fb;
}
.aaa-aram-mode .aaa-category-card span{
  color:#aebed2;
}
.aaa-aram-mode .aaa-category-card strong{
  color:#ffffff;
}
.aaa-aram-mode .aaa-category-card b{
  color:#e7edf6;
}
.aaa-aram-mode .aaa-category-card small{
  color:#aeb8c7;
  opacity:1;
}
.aaa-aram-mode .aaa-category-card.level-core{
  border-color:rgba(224,178,72,.52);
}
.aaa-aram-mode .aaa-category-card.level-core span,
.aaa-aram-mode .aaa-category-card.level-core b{
  color:#e7c66d;
}
.aaa-aram-mode .aaa-category-card.level-high{
  border-color:rgba(89,160,214,.42);
}
.aaa-aram-mode .aaa-category-card.level-high span,
.aaa-aram-mode .aaa-category-card.level-high b{
  color:#9fc9ea;
}
.aaa-aram-mode .aaa-category-card:hover,
.aaa-aram-mode .aaa-category-card.is-active,
.aaa-aram-mode .aaa-category-card:focus,
.aaa-aram-mode .aaa-category-card:focus-visible{
  color:#f4f7fb;
  background:rgba(18,28,46,.82);
  border-color:rgba(112,180,255,.78);
  box-shadow:0 0 0 1px rgba(112,180,255,.16),0 8px 22px rgba(0,0,0,.18);
  outline:none;
}
.aaa-aram-mode .aaa-category-card.is-active strong{
  color:#d9edff;
}
.aaa-aram-mode .aaa-category-card.is-active span,
.aaa-aram-mode .aaa-category-card.is-active b{
  color:#9fd0f3;
}
.aaa-aram-mode .aaa-category-card.is-active small{
  color:#c0cbd9;
}


/* v80.33 S+ tier visual */
.aaa-aram-mode .aaa-fit-card.rank-splus .aaa-fit-card-head>span{
  color:#fff0a6;
  background:rgba(238,199,98,.16);
  box-shadow:inset 0 0 0 1px rgba(238,199,98,.22);
  font-weight:1000;
}


/* v81.1.0 — support website module */
.support-nav-link{color:#f0d58e!important}
.support-nav-link.active{color:#fff0b8!important}
.footer-support-link{color:#efd794;font-weight:850}
.support-page{background:radial-gradient(circle at 85% 5%,rgba(216,184,108,.12),transparent 28%),radial-gradient(circle at 12% 24%,rgba(54,106,160,.16),transparent 31%),linear-gradient(180deg,#071321,#06101c)}
.support-shell{padding-top:24px;padding-bottom:64px}
.support-breadcrumb{display:flex;align-items:center;gap:8px;color:#8397aa;font-size:12px;margin:0 0 20px}
.support-breadcrumb a:hover{color:#f0d58e}
.support-hero{max-width:850px;margin:0 auto;text-align:center;padding:38px 20px 32px}
.support-hero h1{font-size:clamp(34px,6vw,58px);line-height:1.08;margin:9px 0 14px;letter-spacing:-.035em}
.support-hero p{max-width:760px;margin:0 auto;color:#a4b4c4;font-size:15px;line-height:1.85}
.support-status{display:inline-flex;margin-top:17px;padding:7px 12px;border-radius:999px;border:1px solid rgba(216,184,108,.26);background:rgba(216,184,108,.07);color:#efd794;font-size:11px;font-weight:850}
.support-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:16px;max-width:980px;margin:0 auto}
.support-card{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.09);border-radius:24px;padding:24px;background:linear-gradient(155deg,rgba(19,39,63,.96),rgba(8,20,34,.98));box-shadow:0 18px 48px rgba(0,0,0,.24);display:flex;flex-direction:column;gap:19px}
.support-card-main{background:radial-gradient(circle at 95% 3%,rgba(216,184,108,.14),transparent 34%),linear-gradient(155deg,rgba(23,47,73,.98),rgba(8,20,34,.98))}
.support-card-number{position:absolute;top:17px;right:20px;color:rgba(216,184,108,.28);font-weight:1000;font-size:30px;letter-spacing:-.06em}
.support-card h2{font-size:24px;margin:5px 0 9px}
.support-card p{margin:0;color:#9fb0c1;line-height:1.75;font-size:14px}
.support-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:auto}
.support-primary-button,.support-secondary-button{min-height:46px;border-radius:13px;padding:11px 14px;font:inherit;font-weight:900;cursor:pointer;transition:.15s}
.support-primary-button{border:1px solid rgba(216,184,108,.58);background:linear-gradient(180deg,#e5c982,#cba85a);color:#0d1722}
.support-primary-button:hover{filter:brightness(1.05);transform:translateY(-1px)}
.support-secondary-button{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.045);color:#e8eef5}
.support-secondary-button:hover{border-color:rgba(216,184,108,.4);color:#fff}
.support-payment-list{display:grid;gap:9px;margin-top:auto}
.support-payment-card,.support-payment-empty{min-height:76px;border:1px solid rgba(255,255,255,.09);border-radius:16px;background:rgba(5,16,28,.5);padding:13px;display:flex;align-items:center;gap:12px}
.support-payment-card{transition:.15s}
.support-payment-card:hover{transform:translateY(-2px);border-color:rgba(216,184,108,.4);background:rgba(216,184,108,.055)}
.support-payment-card>b{margin-left:auto;color:#efd794}
.support-payment-icon,.support-payment-empty>span{width:42px;height:42px;flex:0 0 42px;border-radius:12px;display:grid;place-items:center;background:rgba(216,184,108,.09);color:#efd794;font-size:18px}
.support-payment-card strong,.support-payment-empty strong{display:block;font-size:14px}
.support-payment-card small,.support-payment-empty p{display:block;margin:4px 0 0;color:#8fa2b5;font-size:11px;line-height:1.55}
.support-principles{max-width:980px;margin:17px auto 0;border:1px solid rgba(255,255,255,.08);border-radius:21px;padding:20px;background:rgba(8,20,34,.54)}
.support-principles h2{margin:0 0 14px;font-size:18px}
.support-principle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.support-principle-grid article{padding:15px;border-radius:14px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.055)}
.support-principle-grid strong{font-size:13px;color:#efd794}
.support-principle-grid p{margin:6px 0 0;color:#8fa2b5;font-size:11px;line-height:1.65}
.support-message{position:fixed;left:50%;bottom:max(20px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:90;max-width:calc(100% - 28px);padding:11px 15px;border-radius:999px;background:#11243a;border:1px solid rgba(216,184,108,.34);box-shadow:0 12px 38px rgba(0,0,0,.38);font-size:12px;font-weight:850;color:#f4e5bb}
.support-message[data-kind="error"]{border-color:rgba(255,123,123,.4);color:#ffb0b0}
.mode-entry-support{width:min(980px,calc(100% - 28px));margin:16px auto 0;display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid rgba(216,184,108,.18);border-radius:17px;padding:12px 15px;background:rgba(216,184,108,.04)}
.mode-entry-support div{min-width:0}
.mode-entry-support strong{display:block;font-size:13px;color:#efd794}
.mode-entry-support span{display:block;margin-top:3px;color:#8297aa;font-size:10px;line-height:1.5}
.mode-entry-support a{flex:0 0 auto;border:1px solid rgba(216,184,108,.28);border-radius:999px;padding:8px 12px;color:#efd794;font-size:11px;font-weight:900;white-space:nowrap}
.mode-entry-support a:hover{background:rgba(216,184,108,.08)}
@media(max-width:800px){
  .support-grid{grid-template-columns:1fr}
  .support-principle-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .support-shell{padding-top:14px;padding-bottom:48px}
  .support-hero{padding:25px 8px 23px}
  .support-hero h1{font-size:34px}
  .support-hero p{font-size:12px;line-height:1.75}
  .support-card{border-radius:19px;padding:17px}
  .support-card h2{font-size:20px}
  .support-card p{font-size:12px}
  .support-actions{grid-template-columns:1fr}
  .support-primary-button,.support-secondary-button{min-height:48px;font-size:14px}
  .support-principles{padding:15px;border-radius:18px}
  .mode-entry-support{width:calc(100% - 16px);align-items:flex-start}
  .mode-entry-support span{font-size:9px}
  .mode-entry-support a{padding:7px 10px}
}

.mode-entry-header-actions{display:flex;align-items:center;gap:14px}
.mode-entry-header-actions .support-nav-link{font-size:13px;font-weight:900}
@media(max-width:560px){.mode-entry-header-actions{gap:10px}.mode-entry-header-actions .support-nav-link,.mode-entry-header-actions .mode-entry-login{font-size:11px}}


/* v81.2.0 — Summoner's Rift compact hamburger navigation */
.rift-menu-topbar{overflow:visible}
.rift-menu-inner{position:relative;min-height:64px;height:64px}
.rift-menu{position:relative;display:flex;align-items:center}
.rift-menu-toggle{width:44px;height:44px;padding:0;border:1px solid rgba(216,184,108,.24);border-radius:13px;background:rgba(8,22,37,.8);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease;touch-action:manipulation}
.rift-menu-toggle:hover,.rift-menu-toggle:focus-visible{border-color:rgba(216,184,108,.58);background:rgba(216,184,108,.08);outline:none}
.rift-menu-toggle:active{transform:scale(.96)}
.rift-menu-toggle span{display:block;width:21px;height:2px;border-radius:999px;background:#efd794;transition:transform .18s ease,opacity .18s ease}
.rift-menu.is-open .rift-menu-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.rift-menu.is-open .rift-menu-toggle span:nth-child(2){opacity:0}
.rift-menu.is-open .rift-menu-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.rift-menu-panel{position:absolute;right:0;top:calc(100% + 9px);z-index:80;width:286px;padding:10px;border:1px solid rgba(216,184,108,.2);border-radius:18px;background:linear-gradient(155deg,rgba(17,35,57,.99),rgba(6,17,29,.995));box-shadow:0 24px 60px rgba(0,0,0,.46);backdrop-filter:blur(18px)}
.rift-menu-panel[hidden]{display:none!important}
.rift-menu-heading{padding:9px 10px 11px;margin-bottom:5px;border-bottom:1px solid rgba(255,255,255,.07)}
.rift-menu-heading span{display:block;color:#efd794;font-size:12px;font-weight:950;letter-spacing:.04em}
.rift-menu-heading small{display:block;margin-top:3px;color:#73899e;font-size:10px}
.rift-menu-panel>a{min-height:43px;padding:9px 11px;border-radius:11px;display:flex;align-items:center;color:#a8b8c8;font-size:13px;font-weight:850;transition:background .13s ease,color .13s ease,padding-left .13s ease}
.rift-menu-panel>a:hover,.rift-menu-panel>a:focus-visible{background:rgba(216,184,108,.08);color:#fff;outline:none;padding-left:14px}
.rift-menu-panel>a.active{background:rgba(216,184,108,.1);color:#f5df9f}
.rift-menu-panel>a.support-nav-link{color:#efd794!important}
.rift-menu-panel>a.member-nav-link{margin-top:5px;border-top:1px solid rgba(255,255,255,.07);border-radius:0 0 11px 11px;padding-top:12px}
@media(max-width:800px){
  .rift-menu-inner{min-height:60px;height:60px;padding-bottom:0}
  .rift-menu-toggle{width:42px;height:42px}
  .rift-menu-panel{position:fixed;top:calc(env(safe-area-inset-top) + 67px);right:10px;width:min(310px,calc(100vw - 20px));max-height:calc(100dvh - env(safe-area-inset-top) - 82px);overflow:auto;overscroll-behavior:contain}
}
@media(max-width:420px){
  .rift-menu-panel{left:8px;right:8px;width:auto}
  .rift-menu-panel>a{min-height:46px;font-size:14px}
}

/* v82.0 homepage + universal header/navigation refresh */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Universal compact viewers pill */
.site-traffic-slot{display:flex;align-items:center;justify-content:flex-end;min-width:48px;flex:0 0 auto}
.site-viewers{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:48px;height:32px;padding:0 10px;border:1px solid rgba(216,184,108,.2);border-radius:999px;background:rgba(8,22,37,.72);color:#d7e2ec;font-size:12px;font-weight:900;font-variant-numeric:tabular-nums;line-height:1;box-shadow:0 5px 16px rgba(0,0,0,.16)}
.site-viewers-eye{width:15px;height:15px;display:grid;place-items:center;color:#d9bf7b}.site-viewers-eye svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7}
.site-viewers[data-traffic-state="loading"] .site-viewers-eye{animation:wrgViewersPulse 1.25s ease-in-out infinite}.site-viewers[data-traffic-state="error"],.site-viewers[data-traffic-state="unavailable"]{opacity:.62}@keyframes wrgViewersPulse{0%,100%{opacity:.42}50%{opacity:1}}

/* Rift topbar: hamburger, centered brand, viewers on one row */
.rift-menu-topbar{overflow:visible;z-index:90}.rift-menu-inner{position:relative!important;min-height:64px!important;height:64px!important;display:grid!important;grid-template-columns:52px minmax(0,1fr) 52px!important;align-items:center!important;gap:8px!important}
.rift-header-brand{position:static!important;justify-self:center!important;z-index:2;font-size:19px;letter-spacing:.015em;white-space:nowrap}
.rift-menu{position:relative;display:flex;align-items:center;justify-self:start;z-index:94}.rift-menu-toggle{width:40px!important;height:40px!important;border:0!important;border-radius:12px!important;background:transparent!important;box-shadow:none!important;padding:0!important;gap:5px!important}.rift-menu-toggle:hover,.rift-menu-toggle:focus-visible{background:rgba(216,184,108,.07)!important;outline:1px solid rgba(216,184,108,.2)!important}.rift-menu-toggle span{width:20px!important;height:2px!important;background:#dcc47e!important}
.site-header-right{justify-self:end;position:relative;z-index:94;display:flex;align-items:center}

/* Left navigation drawer */
.rift-menu-panel{position:fixed!important;z-index:96!important;top:64px!important;left:0!important;right:auto!important;width:min(330px,82vw)!important;height:calc(100dvh - 64px)!important;max-height:none!important;overflow:auto!important;padding:16px 14px 24px!important;border:0!important;border-right:1px solid rgba(216,184,108,.18)!important;border-radius:0 20px 20px 0!important;background:linear-gradient(165deg,rgba(13,31,51,.995),rgba(5,15,27,.998))!important;box-shadow:24px 0 60px rgba(0,0,0,.38)!important;transform:none!important;overscroll-behavior:contain}
.rift-menu-panel[hidden]{display:none!important}.rift-menu-heading{padding:8px 8px 15px!important;margin-bottom:8px!important;border-bottom:1px solid rgba(255,255,255,.07)!important}.rift-menu-heading span{font-size:14px!important}.rift-menu-heading small{font-size:11px!important;margin-top:4px!important}
.rift-menu-group{padding:7px 0}.rift-menu-group+.rift-menu-group{border-top:1px solid rgba(255,255,255,.065);margin-top:4px;padding-top:13px}.rift-menu-group-label{display:block;padding:0 9px 6px;color:#6f879d;font-size:10px;font-weight:900;letter-spacing:.12em}.rift-menu-group>a{min-height:44px;padding:10px 10px;border-radius:11px;display:flex;align-items:center;color:#b3c1cf;font-size:14px;font-weight:850;transition:.14s}.rift-menu-group>a:hover,.rift-menu-group>a:focus-visible{background:rgba(216,184,108,.07);color:#fff;outline:none}.rift-menu-bottom-links>a.support-nav-link{color:#e8ce88!important}.rift-menu-bottom-links>a.member-nav-link{color:#eef3f8!important}
.rift-menu-backdrop{position:fixed;inset:64px 0 0;z-index:95;border:0;padding:0;background:rgba(1,8,15,.55);backdrop-filter:blur(2px);cursor:default}.rift-menu-backdrop[hidden]{display:none!important}body.rift-menu-open{overflow:hidden}

/* Entry + ARAM header viewer stays visible at upper-right */
.mode-entry-header-actions,.aram-top-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}.mode-entry-header-actions .site-traffic-slot,.aram-top-actions .site-traffic-slot{order:99}

/* Summoner's Rift homepage: shortcuts first, then compact update center */
body.home-map-bg .hero{padding:24px 0 28px}.home-hero-search{margin-top:0!important}.role-strip{margin-top:22px}
.home-update-center{padding:4px 0 64px}.home-update-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 12px}.home-update-tab{min-height:50px;border:1px solid rgba(216,184,108,.17);border-radius:14px;background:rgba(8,22,37,.78);color:#94a8bb;font:inherit;font-size:13px;font-weight:900;cursor:pointer;transition:.15s}.home-update-tab:hover,.home-update-tab:focus-visible{border-color:rgba(216,184,108,.38);color:#e8eef4;outline:none}.home-update-tab.active{border-color:rgba(216,184,108,.52);background:linear-gradient(145deg,rgba(216,184,108,.13),rgba(10,26,43,.92));color:#efd794;box-shadow:inset 0 0 0 1px rgba(216,184,108,.05)}
.home-update-panels{border:1px solid rgba(216,184,108,.18);border-radius:22px;background:linear-gradient(155deg,rgba(13,31,50,.94),rgba(5,17,30,.98));box-shadow:0 20px 52px rgba(0,0,0,.24);overflow:hidden}.home-update-panel{padding:24px}.home-update-panel[hidden]{display:none!important}.home-update-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.home-update-heading h3{margin:4px 0 0;font-size:24px}.home-update-badge{flex:0 0 auto;border:1px solid rgba(216,184,108,.28);border-radius:999px;padding:7px 10px;color:#efd794;font-size:11px;font-weight:950}.home-update-badge.ready{color:#a9e9ba;border-color:rgba(104,205,134,.28);background:rgba(70,166,96,.08)}.home-update-lead{margin:15px 0 18px;color:#9eb0c0;line-height:1.75;font-size:14px}.home-update-list{display:grid;gap:9px}.home-update-list>div{display:grid;grid-template-columns:110px 1fr;gap:12px;padding:12px 13px;border:1px solid rgba(255,255,255,.055);border-radius:13px;background:rgba(4,15,27,.48)}.home-update-list strong{color:#e8d08c;font-size:12px}.home-update-list span{color:#b3c1cf;font-size:13px;line-height:1.6}.home-update-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.home-update-checks span{padding:11px 12px;border-radius:12px;background:rgba(76,161,102,.07);border:1px solid rgba(92,188,119,.12);color:#b9d8c3;font-size:12px;line-height:1.5}.home-update-more{display:inline-flex;margin-top:18px;color:#efd794;font-size:12px;font-weight:900}.home-update-empty{display:flex;flex-direction:column;gap:5px;padding:18px;border-radius:14px;background:rgba(6,19,32,.62);border:1px dashed rgba(216,184,108,.18)}.home-update-empty strong{color:#e7edf2;font-size:15px}.home-update-empty span{color:#899db0;font-size:12px;line-height:1.6}

/* Hero favorite action: quieter when not selected */
.hero-favorite-button:not(.detail){right:7px!important;top:7px!important;width:27px!important;height:27px!important;border:0!important;background:rgba(5,15,27,.38)!important;color:#8d9bad!important;font-size:16px!important;font-weight:700!important;box-shadow:none!important;backdrop-filter:blur(4px)}.hero-favorite-button:not(.detail):hover{transform:none!important;background:rgba(216,184,108,.09)!important;color:#d9bf7b!important}.hero-favorite-button:not(.detail).is-favorite{background:rgba(216,184,108,.13)!important;color:#e4c772!important;border:1px solid rgba(216,184,108,.2)!important;box-shadow:none!important}.hero-favorite-button.detail{box-shadow:none!important}

@media(max-width:700px){
  .rift-menu-inner{min-height:58px!important;height:58px!important;grid-template-columns:48px minmax(0,1fr) 48px!important}.rift-header-brand{font-size:17px}.rift-menu-toggle{width:38px!important;height:38px!important}.rift-menu-panel{top:58px!important;height:calc(100dvh - 58px)!important;width:min(315px,84vw)!important}.rift-menu-backdrop{inset:58px 0 0}.site-viewers{height:30px;min-width:44px;padding:0 8px;font-size:11px}.site-viewers-eye,.site-viewers-eye svg{width:14px;height:14px}
  .mode-entry-header-actions>a,.aram-top-actions>a{display:none!important}.mode-entry-topbar-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.mode-entry-header-actions,.aram-top-actions{gap:0}.mode-entry-header-actions .site-traffic-slot,.aram-top-actions .site-traffic-slot{display:flex!important}
  body.home-map-bg .hero{padding:18px 0 24px}.home-update-tabs{gap:6px}.home-update-tab{min-height:46px;padding:7px 4px;font-size:12px;border-radius:12px}.home-update-panel{padding:19px 16px}.home-update-heading h3{font-size:20px}.home-update-lead{font-size:13px;margin:13px 0 15px}.home-update-list>div{grid-template-columns:1fr;gap:5px;padding:11px}.home-update-checks{grid-template-columns:1fr}.home-update-badge{padding:6px 8px;font-size:10px}
  .hero-favorite-button:not(.detail){right:5px!important;top:5px!important;width:25px!important;height:25px!important;font-size:14px!important}
}
@media(max-width:380px){.rift-header-brand{font-size:16px}.site-viewers{min-width:41px;padding:0 7px}.home-update-tab{font-size:11px}}
/* v82.0 traffic compact dual count refinement */
.rift-menu-inner{grid-template-columns:88px minmax(0,1fr) 88px!important}
.site-header-right{min-width:88px}
.site-viewers{min-width:78px;padding:0 8px;gap:5px}
.site-viewers-item{display:inline-flex;align-items:center;gap:4px}.site-viewers-item strong{font-size:10px}.site-viewers-item.online i{width:5px;height:5px;border-radius:50%;background:#66d884;box-shadow:0 0 0 2px rgba(102,216,132,.09)}.site-viewers-sep{width:1px;height:12px;background:rgba(255,255,255,.11)}
.mode-entry-topbar .brand{font-size:18px}
@media(max-width:700px){.rift-menu-inner{grid-template-columns:82px minmax(0,1fr) 82px!important}.site-header-right{min-width:82px}.site-viewers{min-width:76px;padding:0 7px}.site-viewers-item strong{font-size:9px}.mode-entry-topbar .brand{font-size:17px}}
@media(max-width:380px){.rift-menu-inner{grid-template-columns:76px minmax(0,1fr) 76px!important}.site-header-right{min-width:76px}.site-viewers{min-width:70px;padding:0 6px;gap:4px}.site-viewers-sep{height:10px}}


/* v82.1：抽屜清晰度、官方更新明細、Tier 變動與新英雄資訊 */
.rift-menu-topbar{z-index:120!important}
.rift-menu{z-index:130!important}
.rift-menu-panel{z-index:131!important;background:#08192b!important;background-image:linear-gradient(165deg,#102a45 0%,#08192b 48%,#061321 100%)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important;opacity:1!important}
.rift-menu-panel,.rift-menu-panel *{text-shadow:none}
.rift-menu-backdrop{z-index:100!important;background:rgba(1,8,15,.58)!important;backdrop-filter:blur(3px)!important;-webkit-backdrop-filter:blur(3px)!important}

.official-change-section{margin-top:18px}.official-change-section.compact{margin-top:22px}.official-change-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.official-change-title strong{color:#edf2f6;font-size:14px}.official-change-title span{color:#748ca1;font-size:11px;font-weight:850}
.official-change-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.official-change-card{position:relative;display:grid;grid-template-columns:31px minmax(0,1fr);gap:10px;align-items:start;padding:12px;border:1px solid rgba(255,255,255,.065);border-radius:14px;background:rgba(3,15,27,.52);overflow:hidden}.official-change-card:after{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:currentColor;opacity:.58}.official-change-card.buff{color:#67d692}.official-change-card.nerf{color:#ff7373}.official-change-direction{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:currentColor;color:#071522;font-size:18px;font-weight:1000}.official-change-card b{display:block;color:#edf2f6;font-size:13px}.official-change-card small{display:block;margin-top:2px;color:#8094a7;font-size:10px;line-height:1.4}.official-change-card p{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:7px 0 0;font-size:11px;line-height:1.45}.official-change-card del{color:#76899a;text-decoration-color:rgba(255,115,115,.75)}.official-change-card em{color:#566d82;font-style:normal}.official-change-card p strong{color:currentColor;font-size:11px}
.official-system-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.official-system-grid>div{padding:12px 13px;border:1px solid rgba(216,184,108,.09);border-radius:13px;background:rgba(6,19,32,.62)}.official-system-grid b{display:block;color:#e6cf8d;font-size:12px}.official-system-grid span{display:block;margin-top:5px;color:#9dafbf;font-size:11px;line-height:1.55}.official-link{margin-top:20px}

.site-tier-section{margin-top:18px}.tier-change-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.tier-change-card{position:relative;display:grid;grid-template-columns:72px minmax(0,1fr);grid-template-areas:"avatar name" "avatar ranks";column-gap:13px;align-items:center;min-height:96px;padding:12px 14px;border:1px solid rgba(255,255,255,.07);border-radius:16px;background:linear-gradient(145deg,rgba(12,33,53,.9),rgba(4,16,28,.94));transition:transform .15s ease,border-color .15s ease}.tier-change-card:hover,.tier-change-card:focus-visible{transform:translateY(-2px);border-color:rgba(216,184,108,.4);outline:none}.tier-change-avatar-wrap{grid-area:avatar;position:relative;width:70px;height:70px;border-radius:50%;padding:3px;background:linear-gradient(145deg,#efd794,#72551e);box-shadow:0 8px 24px rgba(0,0,0,.28)}.tier-change-avatar-wrap img{width:100%;height:100%;display:block;border-radius:50%;object-fit:cover;background:#071626}.tier-change-arrow{position:absolute;right:-4px;bottom:1px;width:25px;height:25px;border:2px solid #071625;border-radius:50%;display:grid;place-items:center;background:#ee5555;color:#fff;font-style:normal;font-size:17px;font-weight:1000;box-shadow:0 4px 12px rgba(238,85,85,.3)}.tier-change-name{grid-area:name;align-self:end;color:#edf3f7;font-size:15px;font-weight:950}.tier-change-name small{display:block;margin-top:2px;color:#7f95a9;font-size:10px}.tier-change-ranks{grid-area:ranks;align-self:start;display:flex;align-items:center;gap:8px;margin-top:6px}.tier-change-ranks del{color:#8092a3;font-size:16px;font-weight:900;text-decoration-color:#ef5b5b}.tier-change-ranks em{color:#597188;font-style:normal}.tier-change-ranks strong{color:#ff6b6b;font-size:22px}.site-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:20px}.site-review-grid>div{padding:13px;border-radius:13px;background:rgba(70,166,96,.065);border:1px solid rgba(92,188,119,.11)}.site-review-grid strong{display:block;color:#b8e2c4;font-size:13px}.site-review-grid span{display:block;margin-top:4px;color:#869d90;font-size:11px;line-height:1.5}.site-tier-note{margin:14px 0 0;padding:11px 13px;border-left:3px solid rgba(238,85,85,.72);border-radius:0 10px 10px 0;background:rgba(238,85,85,.055);color:#9eafbd;font-size:11px;line-height:1.65}
.site-review-toggle{position:relative;padding:13px 42px 13px 13px;border-radius:13px;background:rgba(70,166,96,.065);border:1px solid rgba(92,188,119,.11);color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color .15s ease,background .15s ease}.site-review-toggle:hover,.site-review-toggle:focus-visible{border-color:rgba(216,184,108,.42);background:rgba(216,184,108,.075);outline:none}.site-review-toggle:after{content:"⌄";position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#efd794;font-size:20px;font-weight:900;line-height:1;transition:transform .18s ease}.site-review-toggle[aria-expanded="true"]:after{transform:translateY(-50%) rotate(180deg)}.site-review-toggle strong{display:block;color:#b8e2c4;font-size:13px}.site-review-toggle span{display:block;margin-top:4px;color:#869d90;font-size:11px;line-height:1.5}.site-review-hero-panel{display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr);gap:12px;margin-top:11px;padding:14px;border:1px solid rgba(216,184,108,.14);border-radius:15px;background:rgba(4,16,28,.58)}.site-review-hero-panel[hidden]{display:none!important}.site-review-hero-group{min-width:0}.site-review-hero-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.site-review-hero-heading strong{color:#e8d08c;font-size:12px}.site-review-hero-heading span{color:#72879a;font-size:10px;font-weight:850}.site-review-hero-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.site-review-hero-links a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:9px 10px;border:1px solid rgba(255,255,255,.055);border-radius:10px;background:rgba(8,24,39,.72);transition:border-color .15s ease,transform .15s ease}.site-review-hero-links a:hover,.site-review-hero-links a:focus-visible{border-color:rgba(216,184,108,.28);transform:translateY(-1px);outline:none}.site-review-hero-links strong{min-width:0;color:#dce6ed;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.site-review-hero-links span{flex:0 0 auto;color:#7f94a6;font-size:9px}

.home-update-badge.upcoming{color:#f0cb72;border-color:rgba(240,203,114,.3);background:rgba(240,203,114,.07)}.new-champion-card{display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;align-items:center;margin-top:18px;padding:20px;border:1px solid rgba(216,184,108,.13);border-radius:18px;background:radial-gradient(circle at 12% 50%,rgba(135,76,182,.18),transparent 30%),rgba(4,16,28,.65)}.new-champion-portrait{position:relative;width:132px;height:132px;border-radius:50%;display:grid;place-items:center;justify-self:center;border:3px solid rgba(216,184,108,.72);background:radial-gradient(circle at 45% 35%,#8453a3 0%,#352250 40%,#11172a 72%);box-shadow:0 0 0 5px rgba(216,184,108,.07),0 18px 34px rgba(0,0,0,.35);overflow:hidden}.new-champion-portrait:before,.new-champion-portrait:after{content:"";position:absolute;width:66px;height:36px;border:3px solid rgba(238,211,142,.5);border-width:3px 0 0;border-radius:50%;top:24px}.new-champion-portrait:before{left:-12px;transform:rotate(36deg)}.new-champion-portrait:after{right:-12px;transform:rotate(-36deg)}.new-champion-portrait span{color:#f0da9c;font-size:48px;font-weight:1000;text-shadow:0 5px 18px rgba(0,0,0,.55)}.new-champion-portrait i{position:absolute;bottom:16px;color:#cdaae2;font-size:9px;font-style:normal;font-weight:900;letter-spacing:.12em}.new-champion-title{display:flex;align-items:baseline;gap:9px}.new-champion-title strong{color:#f2f5f7;font-size:24px}.new-champion-title span{color:#a983bd;font-size:12px;font-weight:850}.new-champion-info p{margin:9px 0 13px;color:#9fb0bf;font-size:13px;line-height:1.7}.new-champion-status{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.new-champion-status span{padding:9px 10px;border:1px solid rgba(255,255,255,.06);border-radius:11px;background:rgba(5,18,31,.62);color:#b6c3cf;font-size:11px}.new-champion-status b{display:block;margin-bottom:4px;color:#778da1;font-size:9px}

@media(max-width:700px){
  .official-change-grid,.official-system-grid{grid-template-columns:1fr}.official-change-card{padding:11px}.official-change-section{margin-top:16px}
  .tier-change-grid{grid-template-columns:1fr}.tier-change-card{grid-template-columns:68px minmax(0,1fr);min-height:90px}.tier-change-avatar-wrap{width:64px;height:64px}
  .site-review-grid{grid-template-columns:1fr}
  .new-champion-card{grid-template-columns:94px minmax(0,1fr);gap:14px;padding:15px}.new-champion-portrait{width:88px;height:88px;border-width:2px}.new-champion-portrait span{font-size:34px}.new-champion-portrait i{bottom:10px;font-size:7px}.new-champion-title{display:block}.new-champion-title strong{font-size:20px}.new-champion-title span{display:block;margin-top:1px}.new-champion-info p{font-size:12px}.new-champion-status{grid-template-columns:1fr}.new-champion-status span{padding:8px 9px}
}
@media(max-width:390px){.new-champion-card{grid-template-columns:1fr}.new-champion-portrait{width:104px;height:104px}.new-champion-info{text-align:center}.new-champion-title{justify-content:center}.new-champion-status{text-align:left}}


/* v82.2 官方公告頭像 + 科加斯素材上線 */
.official-change-grid-rich .official-change-card{grid-template-columns:31px 48px minmax(0,1fr)}
.official-change-avatar{width:48px;height:48px;border-radius:50%;padding:2px;background:linear-gradient(145deg,rgba(239,215,148,.95),rgba(114,85,30,.92));box-shadow:0 6px 18px rgba(0,0,0,.22);align-self:start}
.official-change-avatar img{width:100%;height:100%;display:block;border-radius:50%;object-fit:cover;background:#071626}
.new-champion-portrait{background:radial-gradient(circle at 36% 22%,rgba(152,96,205,.22),transparent 26%),linear-gradient(145deg,#102645,#081728)!important}
.new-champion-portrait:before,.new-champion-portrait:after{display:none!important}
.new-champion-portrait img{width:100%;height:100%;display:block;object-fit:cover}
.new-champion-skills{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:14px 0}
.new-champion-skill{display:grid;justify-items:center;gap:7px;padding:10px 8px;border:1px solid rgba(216,184,108,.12);border-radius:13px;background:rgba(5,18,31,.62);text-align:center}
.new-champion-skill img{width:46px;height:46px;border-radius:12px;display:block;border:1px solid rgba(216,184,108,.28);background:#081626}
.new-champion-skill span{display:block;color:#b5c3cf;font-size:10px;line-height:1.45}.new-champion-skill b{display:block;color:#f0d894;font-size:10px;margin-bottom:2px}
.new-champion-confirmed{margin-top:6px;padding:14px 15px;border:1px solid rgba(255,255,255,.06);border-radius:14px;background:rgba(5,18,31,.66)}
.new-champion-confirmed strong{display:block;color:#edf3f7;font-size:13px}
.new-champion-confirmed ul{margin:9px 0 0;padding-left:18px;color:#a6b6c5;font-size:11px;line-height:1.65}
.new-champion-confirmed li+li{margin-top:5px}
@media(max-width:700px){
  .official-change-grid-rich .official-change-card{grid-template-columns:31px 42px minmax(0,1fr)}
  .official-change-avatar{width:42px;height:42px}
  .new-champion-skills{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
}
@media(max-width:420px){
  .new-champion-skills{grid-template-columns:repeat(2,minmax(0,1fr))}
  .new-champion-confirmed{padding:12px}
}


/* v82.4: compact top announcement for new champion launch */
.site-announcement{position:relative;z-index:25;border-bottom:1px solid rgba(216,184,108,.16);background:linear-gradient(90deg,rgba(9,28,46,.97),rgba(18,44,65,.97) 52%,rgba(32,45,52,.97));box-shadow:0 8px 24px rgba(0,0,0,.14)}
.site-announcement-inner{min-height:48px;display:flex;align-items:center;gap:10px;padding-top:6px;padding-bottom:6px;transition:background .15s ease}
.site-announcement-inner:hover{background:rgba(216,184,108,.035)}
.site-announcement-avatar{width:34px;height:34px;flex:0 0 34px;border-radius:50%;padding:2px;background:linear-gradient(145deg,#e4c979,#6d5523);box-shadow:0 4px 14px rgba(0,0,0,.25)}
.site-announcement-avatar img{width:100%;height:100%;display:block;border-radius:50%;object-fit:cover;background:#081727}
.site-announcement-badge{flex:0 0 auto;padding:4px 7px;border:1px solid rgba(102,216,132,.28);border-radius:999px;background:rgba(102,216,132,.08);color:#aeecc0;font-size:9px;font-weight:1000;letter-spacing:.1em}
.site-announcement-copy{min-width:0;display:flex;align-items:baseline;gap:9px;flex:1}
.site-announcement-copy strong{color:#f3e4b7;font-size:13px;font-weight:950;white-space:nowrap}
.site-announcement-copy small{min-width:0;color:#9eb0c0;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.site-announcement-action{flex:0 0 auto;color:#efd58c;font-size:11px;font-weight:900;white-space:nowrap}
.site-announcement-action b{margin-left:3px;font-size:13px}
@media(max-width:700px){.site-announcement-inner{min-height:46px;gap:8px;padding-top:5px;padding-bottom:5px}.site-announcement-avatar{width:32px;height:32px;flex-basis:32px}.site-announcement-badge{display:none}.site-announcement-copy{display:block}.site-announcement-copy strong{display:block;font-size:12px;line-height:1.2}.site-announcement-copy small{display:block;margin-top:3px;font-size:10px}.site-announcement-action{font-size:0}.site-announcement-action b{display:grid;place-items:center;width:26px;height:26px;margin:0;border:1px solid rgba(216,184,108,.22);border-radius:50%;background:rgba(216,184,108,.055);font-size:15px}}
@media(max-width:390px){.site-announcement-avatar{display:none}.site-announcement-copy strong{font-size:11px}.site-announcement-copy small{max-width:245px}}


/* v82.5 吉茵珂絲對局調整試作母版 */
.matchup-adjust-section{position:relative}.matchup-adjust-intro{margin:-4px 0 14px;color:var(--muted);font-size:12px;line-height:1.7}
.matchup-adjust-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:12px}
.matchup-adjust-tab{min-width:0;min-height:58px;padding:9px 7px;border:1px solid var(--line);border-radius:13px;background:rgba(8,20,34,.78);color:var(--muted);cursor:pointer;display:grid;place-items:center;align-content:center;gap:3px;transition:.15s ease}
.matchup-adjust-tab span{font-size:18px;line-height:1}.matchup-adjust-tab b{font-size:11px;line-height:1.25;white-space:normal}.matchup-adjust-tab:hover,.matchup-adjust-tab.active{color:#fff0bd;border-color:rgba(216,184,108,.55);background:linear-gradient(145deg,rgba(53,43,21,.78),rgba(17,33,49,.94));box-shadow:inset 0 0 0 1px rgba(216,184,108,.1)}
.matchup-adjust-panel{border:1px solid rgba(216,184,108,.18);border-radius:16px;padding:14px;background:linear-gradient(150deg,rgba(13,29,47,.92),rgba(7,19,32,.96))}.matchup-adjust-panel[hidden]{display:none!important}
.matchup-adjust-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.matchup-adjust-panel-head strong{font-size:16px}.matchup-adjust-panel-head span{flex:0 0 auto;padding:4px 8px;border:1px solid rgba(216,184,108,.24);border-radius:999px;color:#e7cf90;background:rgba(216,184,108,.06);font-size:10px;font-weight:900}
.matchup-adjust-trigger{margin:9px 0 12px;color:#c2cfda;font-size:12px;line-height:1.65}.matchup-adjust-trigger b{color:#e6cf8d}
.matchup-adjust-change-list{display:grid;gap:10px}.matchup-adjust-change{padding:12px;border:1px solid rgba(255,255,255,.07);border-radius:14px;background:rgba(3,14,25,.48)}
.matchup-adjust-change-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.matchup-adjust-change-head b{font-size:12px;color:#edf2f6}.matchup-adjust-change-head span{font-size:9px;color:#88bbd0;border:1px solid rgba(92,169,197,.2);border-radius:999px;padding:4px 7px;background:rgba(47,128,157,.07)}
.matchup-adjust-swap{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:center;gap:6px}.matchup-adjust-swap>i{font-style:normal;text-align:center;color:#e3c576;font-size:19px;font-weight:1000}
.matchup-adjust-asset{min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-areas:"img meta" "img name";column-gap:9px;align-items:center;padding:8px;border:1px solid rgba(255,255,255,.06);border-radius:11px;background:rgba(9,24,39,.82)}.matchup-adjust-asset.to{border-color:rgba(216,184,108,.25);background:rgba(53,43,21,.22)}.matchup-adjust-asset img{grid-area:img;width:42px;height:42px;object-fit:cover;border-radius:10px;background:#071625}.matchup-adjust-asset span{grid-area:meta;color:#768b9d;font-size:8px;font-weight:900;letter-spacing:.05em}.matchup-adjust-asset strong{grid-area:name;min-width:0;color:#edf2f6;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.matchup-adjust-asset.missing{grid-template-columns:1fr;grid-template-areas:"meta" "name"}
.matchup-adjust-change>p{margin:8px 0 0;color:#aebdca;font-size:11px;line-height:1.6}.matchup-adjust-change>p b{color:#d8c590}
.matchup-adjust-keep,.matchup-adjust-nochange{margin-top:10px;padding:11px 12px;border:1px solid rgba(92,188,119,.18);border-radius:12px;background:rgba(70,166,96,.065)}.matchup-adjust-keep b,.matchup-adjust-nochange b{color:#b8e2c4;font-size:11px}.matchup-adjust-keep p,.matchup-adjust-nochange p{margin:4px 0 0;color:#9fb7a7;font-size:11px;line-height:1.6}
.matchup-adjust-warning{margin-top:10px;padding:10px 11px;border-left:3px solid rgba(229,174,78,.65);border-radius:0 10px 10px 0;background:rgba(216,184,108,.055);color:#aebbc6;font-size:10px;line-height:1.6}.matchup-adjust-warning b{color:#e8cf8b}
@media(max-width:700px){.matchup-adjust-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.matchup-adjust-tab:last-child{grid-column:1/-1}.matchup-adjust-tab{min-height:52px}.matchup-adjust-panel{padding:12px}.matchup-adjust-panel-head{align-items:flex-start}.matchup-adjust-swap{grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:4px}.matchup-adjust-asset{grid-template-columns:36px minmax(0,1fr);column-gap:7px;padding:7px}.matchup-adjust-asset img{width:36px;height:36px}.matchup-adjust-asset strong{font-size:10px}.matchup-adjust-change{padding:10px}}
@media(max-width:390px){.matchup-adjust-panel-head strong{font-size:14px}.matchup-adjust-panel-head span{font-size:9px}.matchup-adjust-swap{grid-template-columns:1fr}.matchup-adjust-swap>i{transform:rotate(90deg);font-size:16px;line-height:1}.matchup-adjust-asset{grid-template-columns:40px minmax(0,1fr)}.matchup-adjust-asset img{width:40px;height:40px}}

@media(max-width:700px){.site-review-hero-panel{grid-template-columns:1fr;padding:12px}.site-review-hero-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.site-review-hero-links{grid-template-columns:1fr}}

/* v87.2.1 本站更新：修正手機原位展開高度與重疊 */
.site-review-grid{align-items:start}
.site-review-grid>.site-review-item{display:flex;flex-direction:column;align-self:start;min-width:0;padding:0;border:0;border-radius:0;background:transparent}
.site-review-item>.site-review-toggle{flex:0 0 auto;width:100%;height:auto;min-height:74px}
.site-review-inline-panel{position:static;display:block;width:100%;box-sizing:border-box;margin-top:7px;padding:12px;border:1px solid rgba(216,184,108,.14);border-radius:13px;background:rgba(4,16,28,.62);box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
.site-review-inline-panel[hidden]{display:none!important}
.site-review-inline-panel .site-review-hero-group+.site-review-hero-group{margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.055)}
.site-review-inline-panel .site-review-hero-links{grid-template-columns:1fr}
.site-review-database-panel>strong{color:#e8d08c;font-size:12px}
.site-review-database-panel>p{margin:7px 0 0;color:#9eafbd;font-size:11px;line-height:1.65}
.site-review-toggle[aria-expanded="true"]{border-color:rgba(216,184,108,.38);background:rgba(216,184,108,.075)}
@media(max-width:700px){
  .site-review-item>.site-review-toggle{height:auto;min-height:68px}
  .site-review-inline-panel{margin-top:6px;padding:11px}
  .site-review-inline-panel .site-review-hero-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:380px){.site-review-inline-panel .site-review-hero-links{grid-template-columns:1fr}}


/* v87.3 official patch history accordion */
.official-history-item{margin-top:22px;border:1px solid rgba(216,184,108,.18);border-radius:16px;background:rgba(5,19,31,.58);overflow:hidden}
.official-history-summary{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 48px 15px 16px;cursor:pointer;list-style:none;user-select:none;transition:background .16s ease,border-color .16s ease}
.official-history-summary::-webkit-details-marker{display:none}
.official-history-summary:after{content:"⌄";position:absolute;right:17px;top:50%;transform:translateY(-50%);color:#efd794;font-size:21px;font-weight:900;line-height:1;transition:transform .18s ease}
.official-history-item[open]>.official-history-summary:after{transform:translateY(-50%) rotate(180deg)}
.official-history-summary:hover,.official-history-summary:focus-visible{background:rgba(216,184,108,.06);outline:none}
.official-history-summary span{min-width:0;display:block}
.official-history-summary strong{display:block;color:#e4edf2;font-size:13px}
.official-history-summary small{display:block;margin-top:4px;color:#788ea0;font-size:10px;line-height:1.45}
.official-history-badge{flex:0 0 auto;padding:4px 8px;border:1px solid rgba(216,184,108,.22);border-radius:999px;color:#d9c17e;background:rgba(216,184,108,.07);font-size:10px}
.official-history-content{padding:0 16px 17px;border-top:1px solid rgba(255,255,255,.055)}
.official-history-content>.home-update-lead{margin-top:15px}
.official-history-content>.home-update-more{margin-top:16px}
.official-current-patch{margin-bottom:0}
@media(max-width:640px){.official-history-summary{padding:14px 44px 14px 14px}.official-history-content{padding:0 13px 15px}.official-history-summary strong{font-size:12px}.official-history-summary small{font-size:9px}}

/* v87.3.1 7.2c 官方公告：混合調整英雄標記 */
.official-change-card.adjust{color:#e0bf70}
.official-change-card.adjust .official-change-direction{font-size:15px}


/* AdSense review trust pages */
.policy-page{min-height:70vh;padding:48px 0 64px}.policy-card{max-width:880px}.policy-card h1{margin:8px 0 24px;font-size:clamp(2rem,5vw,3rem)}.policy-card h2{margin:32px 0 10px;font-size:1.2rem}.policy-card p{line-height:1.85;color:var(--muted,#aeb8c4);font-size:1rem}.policy-card .policy-updated{margin-top:40px;font-size:.9rem;opacity:.8}footer .shell{line-height:1.9}footer a{white-space:nowrap}@media(max-width:640px){.policy-page{padding:30px 0 48px}.policy-card h1{font-size:2rem}footer .shell{font-size:.82rem}}

/* v92 tier direction colors */
.tier-change-card.tier-up .tier-change-arrow{background:#42ad70;box-shadow:0 4px 12px rgba(66,173,112,.3)}
.tier-change-card.tier-up .tier-change-ranks strong{color:#72d89a}
.tier-change-card.tier-up .tier-change-ranks del{text-decoration-color:#72d89a}

/* v95.1: preserve the three-column announcement card and readable content. */
.official-change-grid-rich .official-change-card>div{min-width:0;overflow-wrap:anywhere}
.tier-change-card.buff .tier-change-arrow{background:#369966;box-shadow:0 4px 12px rgba(54,153,102,.25)}
.tier-change-card.buff .tier-change-ranks strong{color:#67d692}
