/* Original painted art + restrained forged-metal arena UI. */
:root { --accent: #d6b781; --dim: #9eabb9; --line: #42515e; }
#select { background: radial-gradient(ellipse at 50% 0%, #203947, #101923 52%, #080c12); padding: 28px max(24px, calc((100vw - 1180px) / 2)); gap: 10px; }
#select h1 { font-size: 50px; letter-spacing: 12px; color: #f5e8cd; }
.eyebrow { color: #c1a97d; }
.classes { gap: 18px; }
.card { padding: 0; overflow: hidden; border: 1px solid #62707a66; border-top: 1px solid #9a8966; border-radius: 5px; background: #111d28; transition: border-color .15s, transform .15s, box-shadow .15s; }
.card:hover { border-color: var(--class-color); box-shadow: 0 0 26px #000a, 0 0 12px color-mix(in srgb, var(--class-color) 18%, transparent); }
#select .card .champion-art { width: 100%; height: auto; flex: 0 0 auto; aspect-ratio: 1; background-repeat: no-repeat; position: relative; }
.champion-art::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, #111d28); }
#select .card .champion-info { display: block; position: relative; margin-top: -33px; padding: 0 14px 10px; }
.card .glyph { font-size: 22px; color: var(--class-color); }
.card .name { font: 700 24px Georgia, serif; letter-spacing: .2px; color: #f6ead3; }
.card .role { min-height: 20px; color: #acbac6; font-size: 11px; margin-top: 5px; }
.card .kit { display: flex; gap: 6px; margin-top: 10px; }
.kit > div { position: relative; flex: 1; aspect-ratio: 1; min-width: 0; border: 1px solid #807056; border-radius: 3px; overflow: hidden; background: #07111c; }
#select .kit-art { position: absolute; inset: 0; width: auto; height: auto; background-repeat: no-repeat; border-radius: 1px; }
.kit kbd { position: absolute; bottom: 0; left: 0; right: 0; z-index: 1; text-align: center; background: #03080cc9; color: #eedcba; font-size: 7px; padding: 2px 0; }
.kit > div > span { display: none; }
.pick { border-radius: 3px; background: linear-gradient(#3d4650, #24303d); border-color: #8d7e5c; color: #f3e3bf; text-align: center; font-size: 12px; padding: 9px; margin-top: 12px; }
.pick:hover { background: linear-gradient(#66583d, #413b30); }
.pick span { color: #e9cd96; }
.mini { font-size: 10px; letter-spacing: 1px; }
.hud-top { border-radius: 3px; border-color: #94805d80; box-shadow: 0 5px 24px #0006; }
.hud-top .phase { color: #f1dbb5; font-family: Georgia, serif; font-size: 15px; letter-spacing: 1px; }
.hud-top .team b { font-family: Georgia, serif; font-size: 30px; }
.hud-left { left: 50%; bottom: 124px; transform: translateX(-50%); align-items: center; gap: 10px; padding: 7px 14px; background: linear-gradient(90deg, transparent, #071019d9 20%, #071019d9 85%, transparent); }
.portrait { width: 58px; flex-shrink: 0; border: 2px solid #b59e70; border-radius: 50%; box-shadow: 0 0 0 4px #101820, 0 4px 12px #000; background-repeat: no-repeat; }
.hp { width: 300px; height: 20px; border: 1px solid #a48d62; transform: none; border-radius: 2px; }
.hp i { background: linear-gradient(#50b6c0, #26717e); }
.hp .hp-text { transform: none; font-size: 11px; letter-spacing: .5px; }
.energy { width: 300px; height: 14px; transform: none; border-color: #6d5a43; border-radius: 2px; position: relative; }
.energy i { background: linear-gradient(#b88bdb, #72518f); }
.energy-text { position: absolute; inset: 0; text-align: center; font-size: 9px; font-weight: 700; line-height: 12px; color: #fff2d7; }
.hud-abilities { bottom: 32px; gap: 9px; border-radius: 5px; padding: 8px; background: linear-gradient(#28313b, #0c151e); border: 1px solid #8c7958; box-shadow: 0 5px 28px #000a, inset 0 1px #e1c58f40; }
.slot { width: 72px; height: 72px; border-radius: 3px; border: 1px solid #9a855f; background: #07101a; overflow: visible; }
.slot .painted-icon { position: absolute; inset: 2px; width: auto; height: auto; margin: 0; opacity: 1; color: transparent; background-repeat: no-repeat; border-radius: 2px; }
.slot .ring { z-index: 1; border-radius: 2px; }
.slot .key { z-index: 2; top: -7px; left: 5px; padding: 2px 5px; border: 1px solid #9b896a; border-radius: 2px; font-size: 9px; color: #f5e0b8; background: #101922; }
.slot .name { z-index: 2; bottom: 2px; left: 2px; right: 2px; padding: 5px 1px 2px; background: linear-gradient(transparent, #05090beb 40%); font-size: 8px; color: #f0e3c9; }
.slot .cd { z-index: 3; top: 20px; bottom: auto; left: 0; right: 0; text-align: center; font-size: 24px; color: white; }
.slot .cost { z-index: 3; top: 3px; right: 3px; font-size: 7px; padding: 2px; background: #121018d9; border-radius: 2px; color: #e6c273; }
.slot.ready { border-color: #dac596; box-shadow: 0 0 7px #e5cd8b35; }
.slot.notready .painted-icon { filter: grayscale(.8) brightness(.45); opacity: 1; }
.slot.ex { border-color: #d7abff; box-shadow: 0 0 15px #9a60df66; }
.slot.ult.ready { box-shadow: 0 0 17px #efd08e80; }
.ex-hint { position: absolute; bottom: 13px; left: 50%; transform: translateX(-50%); color: #8998a8; font-size: 8px; letter-spacing: 1.2px; white-space: nowrap; }
.ex-hint.available { color: #d8bafa; }
.statuses { bottom: 75px; left: 80px; }
.castbar { bottom: 196px; width: 240px; border-color: #b5a078; height: 8px; }
.trainbar { border-color: #8c795866; background: #0d1721e8; border-radius: 4px; }
.trainbar .tlabel { color: #c9b082; }
.banner { font-family: Georgia, serif; color: #f6e6c6; font-size: 36px; letter-spacing: 3px; text-shadow: 0 3px 12px #000; }
.plate.me .pbar { border-color: #f4deb0; }
@media (min-width: 1051px) and (max-height: 800px) {
  #select { padding-top: 20px; }
  #select h1 { font-size: 40px; }
  .champion-art { aspect-ratio: 1; }
  .card { padding: 0; }
  .card .kit { margin-top: 8px; }
}
@media (max-width: 650px) {
  #select { padding: 22px 14px; }
  #select h1 { font-size: 36px; }
  .classes { gap: 12px; }
  .champion-info { padding: 0 10px 8px; margin-top: -23px; }
  .card .name { font-size: 21px; }
  .card .glyph { display: none; }
  .kit { gap: 3px !important; }
  .kit kbd { font-size: 5px; }
  .hud-left { bottom: 111px; padding: 5px; gap: 9px; }
  .portrait { width: 46px; }
  .hp, .energy { width: 228px; }
  .slot { width: 55px; height: 60px; }
  .slot .name { font-size: 6px; }
  .slot .cd { font-size: 20px; }
  .hud-abilities { gap: 5px; padding: 6px; }
  .ex-hint { letter-spacing: .6px; font-size: 7px; }
  .castbar { bottom: 181px; }
}

/* Cast names stay inside the visible bar instead of being clipped above it. */
.castbar{height:28px;min-height:28px;width:min(340px,calc(100vw - 28px));bottom:198px;z-index:8;box-shadow:0 2px 12px #0009}.castbar .cast-name{top:7px;left:9px;font-size:10px;color:#fff;text-shadow:0 1px 3px #000}.castbar .cast-hint{top:8px;right:8px;font-size:9px;color:#fff}.castbar i{opacity:.7}
@media(max-width:650px){.castbar{bottom:174px}.hud-abilities{gap:4px}.hud-abilities .slot{width:min(48px,13vw)}}
