/* Iron Pilgrim UI. Dark lacquer and warm gold over a dawn sky; jade for magic, white-gold for relics.
   Everything is scoped under .ip (built inside #ui by js/ui/ui.js). */

#ui { pointer-events: none; }

.ip {
  --lac: #130c11; --lac2: #1e1319; --lac3: #2c1c23;
  --edge: rgba(255, 194, 77, .28); --edge2: rgba(255, 194, 77, .14);
  --gold: #ffc24d; --gold-hi: #ffe3a3; --gold-deep: #d9952b; --gold-dim: #9a7440;
  --jade: #62e8c2; --jade-deep: #2f9e86; --wg: #fff1cf; --red: #ff4a3d; --violet: #c58cff;
  --txt: #f6eee2; --txt2: #cbbba7; --txt3: #917f6f;
  --f-head: Optima, "Avenir Next Condensed", Palatino, serif;
  --f-cond: "Avenir Next Condensed", "Avenir Next", "Arial Narrow", system-ui, sans-serif;
  --f-text: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .3, 1);
  position: absolute; inset: 0; overflow: hidden;
  font-family: var(--f-text); color: var(--txt);
  user-select: none; -webkit-user-select: none; -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
.ip *, .ip *::before, .ip *::after { box-sizing: border-box; }
.ip .is-hidden { display: none !important; }
.ip button { font: inherit; color: inherit; outline: none; }
.ip .ico { width: 1em; height: 1em; display: block; flex: none; }

/* ---------- shared bits ---------- */
.ip .rule { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.ip .rule i { height: 1px; flex: 1; max-width: 120px; background: linear-gradient(90deg, transparent, var(--gold) 70%, var(--gold-hi)); }
.ip .rule i:last-child { background: linear-gradient(270deg, transparent, var(--gold) 70%, var(--gold-hi)); }
.ip .rule b { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 10px rgba(255, 194, 77, .8); }

.ip .panel {
  position: relative;
  background: linear-gradient(180deg, rgba(34, 21, 28, .96), rgba(18, 11, 16, .97));
  border: 1px solid var(--edge);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 227, 163, .12), 0 24px 70px rgba(0, 0, 0, .55);
  border-radius: 4px;
}
.ip .panel::before { /* gold corner brackets */
  content: ""; position: absolute; inset: 5px; pointer-events: none; opacity: .85;
  --c: var(--gold);
  background:
    linear-gradient(var(--c), var(--c)) left top / 16px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) left top / 1.5px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 16px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) right top / 1.5px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 16px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 1.5px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 16px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 1.5px 16px no-repeat;
}
.ip .pp-head { text-align: center; }
.ip .pp-head small { display: block; font: 600 12px var(--f-cond); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); opacity: .85; }
.ip .pp-head h2 { margin: 6px 0 0; font: 400 34px/1.05 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--wg); }
.ip .pp-head .rule { justify-content: center; margin: 12px 0 6px; }

/* glyph chips */
.ip .gl { display: inline-flex; align-items: center; justify-content: center; flex: none; vertical-align: middle; --s: 24px; height: var(--s); min-width: var(--s); line-height: 1; }
.ip .gl-xs { --s: 16px; } .ip .gl-sm { --s: 20px; } .ip .gl-xl { --s: 54px; }
.ip .gl-face { width: var(--s); border-radius: 50%; color: #f4ece0; background: radial-gradient(circle at 50% 35%, #3a3036, #151014 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 1px 2px rgba(0, 0, 0, .6); }
.ip .gl-face svg { width: 64%; height: 64%; }
.ip .gl-face .ico { width: 58%; height: 58%; color: var(--gold-hi); }
.ip .gl-pad { padding: 0 calc(var(--s) * .26); border-radius: calc(var(--s) * .32); background: linear-gradient(#3a3036, #171116);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 1px 2px rgba(0, 0, 0, .6);
  font: 700 calc(var(--s) * .5) var(--f-cond); letter-spacing: .04em; color: #f4ece0; white-space: nowrap; }
.ip .gl-key { padding: 0 calc(var(--s) * .3); border-radius: 4px; background: linear-gradient(#fbf4e8, #d7cab8);
  box-shadow: inset 0 -2px 0 #9c8b77, 0 1px 2px rgba(0, 0, 0, .55); color: #1f1418;
  font: 700 calc(var(--s) * .5) var(--f-cond); letter-spacing: .04em; white-space: nowrap; padding-bottom: 1px; }
.ip .gl-mouse { width: calc(var(--s) * .9); color: #f4ece0; }
.ip .gl-mouse svg { width: 100%; height: 100%; }
.ip .gl-xl.gl-pad, .ip .gl-xl.gl-key { --s: 46px; }

/* hints row */
.ip .hints { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.ip .hint { display: inline-flex; align-items: center; gap: 8px; font: 600 12px var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--txt2); }
.ip .ip-hints { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 25; white-space: nowrap;
  padding: 8px 18px; border-radius: 30px; background: rgba(12, 8, 11, .55); box-shadow: inset 0 0 0 1px var(--edge2); }

/* buttons */
.ip .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; cursor: pointer;
  border-radius: 3px; border: 1px solid rgba(255, 194, 77, .32); background: linear-gradient(#2c1c23, #180f14);
  font: 600 15px var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--txt);
  transition: transform .12s var(--ease), box-shadow .14s, filter .14s; white-space: nowrap; }
.ip .btn .ico { width: 18px; height: 18px; }
.ip .btn-gold { background: linear-gradient(180deg, #ffdf96, #eaa93f 52%, #b97a20); color: #2a1606; border-color: #ffe7b0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(90, 50, 8, .35), 0 8px 22px rgba(217, 149, 43, .22); }
.ip .btn-ghost { background: rgba(20, 12, 16, .55); color: var(--txt2); }
.ip .btn:hover, .ip .btn.is-focus { filter: brightness(1.12); }
.ip .btn.is-focus { box-shadow: 0 0 0 2px #130c11, 0 0 0 4px var(--gold-hi), 0 0 26px rgba(255, 194, 77, .45); transform: translateY(-1px); }
.ip .btn:disabled { filter: grayscale(.8) brightness(.6); cursor: default; }
.ip .btn-big { height: 54px; padding: 0 30px; font-size: 18px; }

/* menu items */
.ip .menu { display: flex; flex-direction: column; gap: 2px; }
.ip .mi { position: relative; display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 11px 18px 11px 40px; cursor: pointer; text-align: left;
  border: 0; background: none; color: var(--txt2); font: 600 20px/1 var(--f-cond); letter-spacing: .18em; text-transform: uppercase;
  transition: color .14s, transform .16s var(--ease); }
.ip .mi::before { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); opacity: 0;
  background: linear-gradient(90deg, rgba(255, 194, 77, .26), rgba(255, 194, 77, .08) 60%, transparent);
  border-left: 2px solid var(--gold); transition: transform .18s var(--ease), opacity .14s; }
.ip .mi-dia { position: absolute; left: 16px; top: 50%; width: 8px; height: 8px; margin-top: -4px; transform: rotate(45deg); border: 1.5px solid var(--gold-dim); transition: all .16s; }
.ip .mi-t { position: relative; }
.ip .mi-sub { position: relative; font: 500 12px var(--f-cond); letter-spacing: .14em; color: var(--txt3); }
.ip .mi.is-focus { color: var(--gold-hi); transform: translateX(6px); text-shadow: 0 0 18px rgba(255, 194, 77, .45); }
.ip .mi.is-focus::before { transform: scaleX(1); opacity: 1; }
.ip .mi.is-focus .mi-dia { background: var(--gold); border-color: var(--gold-hi); box-shadow: 0 0 12px var(--gold); }
.ip .mi.is-focus .mi-sub { color: var(--gold); }
.ip .mi-warn.is-focus { color: #ffb8a0; }
.ip .mi-warn.is-focus::before { border-left-color: #ff7a5a; background: linear-gradient(90deg, rgba(255, 90, 60, .22), transparent); }

/* ---------- screens ---------- */
.ip .scr { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; z-index: 10;
  transition: opacity .18s ease, visibility 0s linear .18s; }
.ip .scr.is-on { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .18s ease; }
.ip .scr-over { z-index: 20; }
.ip .scr .panel, .ip .scr .ttl, .ip .scr .dead, .ip .scr .tree-body { transition: transform .19s var(--ease); }
.ip .scr:not(.is-on) .panel, .ip .scr:not(.is-on) .dead, .ip .scr:not(.is-on) .tree-body { transform: translateY(10px) scale(.985); }
.ip .scr:not(.is-on) .ttl { transform: translate(-14px, -50%); }
.ip .scrim { position: absolute; inset: 0; }
.ip.has-over .scr:not(.scr-over).is-on > :not(.scrim) { filter: brightness(.6); }

/* title */
.ip .scrim-title { background:
  linear-gradient(90deg, rgba(14, 8, 12, .94) 0%, rgba(14, 8, 12, .82) 30%, rgba(14, 8, 12, .35) 56%, rgba(14, 8, 12, 0) 76%),
  linear-gradient(0deg, rgba(14, 8, 12, .7) 0%, transparent 22%); }
.ip .ttl { position: absolute; left: clamp(28px, 7vw, 120px); top: 50%; transform: translateY(-50%); width: min(500px, 86vw); }
.ip .ttl-mark .emblem { width: 76px; height: 76px; filter: drop-shadow(0 0 18px rgba(255, 194, 77, .35)); margin-bottom: 6px; }
.ip .ttl-name { margin: 0; display: flex; flex-direction: column; font-family: var(--f-head); font-weight: 400; line-height: .9; text-transform: uppercase;
  filter: drop-shadow(0 2px 0 #3b220f) drop-shadow(0 10px 30px rgba(0, 0, 0, .55)); }
.ip .ttl-name span { background: linear-gradient(180deg, #fff6dc 0%, #ffd889 42%, #e8a443 70%, #a8681c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ip .ttl-name span:first-child { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: .62em; margin-left: .06em; margin-bottom: 4px; }
.ip .ttl-name span:last-child { font-size: clamp(58px, 7.8vw, 100px); letter-spacing: .06em; }
.ip .ttl .rule { margin: 14px 0 10px; }
.ip .ttl .rule i:first-child { display: none; }
.ip .ttl .rule i:last-child { max-width: 300px; background: linear-gradient(90deg, var(--gold-hi), var(--gold) 30%, transparent); }
.ip .ttl-line { margin: 0 0 18px; font: italic 400 21px var(--f-head); letter-spacing: .04em; color: var(--txt); opacity: .92; }
.ip .ttl-stats { display: flex; gap: 10px; margin-bottom: 20px; }
.ip .stat { display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 3px; background: rgba(30, 19, 25, .7); box-shadow: inset 0 0 0 1px var(--edge2); }
.ip .stat .ico { width: 16px; height: 16px; color: var(--gold); }
.ip .stat span { font: 600 11.5px var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--txt2); }
.ip .stat b { font: 400 22px/1 var(--f-head); color: var(--wg); min-width: 1ch; }
.ip .stat-pts.is-hot { box-shadow: inset 0 0 0 1px rgba(255, 194, 77, .55), 0 0 18px rgba(255, 194, 77, .18); }
.ip .stat-pts.is-hot b { color: var(--gold-hi); }
.ip .ttl .menu { margin-left: -16px; width: 380px; max-width: 100%; }
.ip .ttl-foot { position: absolute; left: clamp(28px, 7vw, 120px); bottom: 22px; font: italic 13px var(--f-head); color: var(--txt3); letter-spacing: .04em; }
.ip.st-title .ip-hints { left: auto; right: 22px; transform: none; }

/* pause */
.ip .scrim-pause { background: radial-gradient(ellipse at center, rgba(14, 8, 12, .55), rgba(14, 8, 12, .85)); backdrop-filter: blur(5px) saturate(.75); -webkit-backdrop-filter: blur(5px) saturate(.75); }
.ip .pause-panel { position: absolute; left: 50%; top: 50%; width: min(400px, 90vw); margin: 0; padding: 30px 26px 22px; translate: -50% -50%; }
.ip .pause-panel .menu { margin-top: 12px; }
.ip .pause-panel .mi { font-size: 18px; padding-top: 10px; padding-bottom: 10px; }

/* results */
.ip .scrim-dead { background: radial-gradient(ellipse at 50% 45%, rgba(40, 8, 12, .62), rgba(10, 5, 8, .93) 75%); }
.ip .dead { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(880px, 94vw); text-align: center; }
.ip .dead-k { display: block; font: 600 13px var(--f-cond); letter-spacing: .5em; text-transform: uppercase; color: #ff9b84; opacity: .85; }
.ip .dead-h { margin: 10px 0 0; font: 400 clamp(36px, 5vw, 58px)/1.05 var(--f-head); letter-spacing: .04em; color: var(--wg); text-shadow: 0 6px 30px rgba(0, 0, 0, .6); }
.ip .dead-h b { font-weight: 400; background: linear-gradient(180deg, #fff6dc, #ffc24d 60%, #b97a20); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.25em; }
.ip .dead-best { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 16px; visibility: hidden;
  font: 700 13px var(--f-cond); letter-spacing: .3em; text-transform: uppercase; color: #2a1606;
  background: linear-gradient(180deg, #ffe39c, #e8a43c); clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%); }
.ip .dead-best .ico { width: 14px; height: 14px; }
.ip .dead-best.is-on { visibility: visible; animation: ipGlint 1.8s ease-in-out infinite; }
.ip .dead-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0 28px; }
.ip .tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 10px 14px; border-radius: 4px;
  background: linear-gradient(180deg, rgba(36, 22, 29, .85), rgba(20, 12, 16, .85)); box-shadow: inset 0 0 0 1px var(--edge2), inset 0 1px 0 rgba(255, 227, 163, .08); }
.ip .tile .ico { width: 22px; height: 22px; color: var(--gold); opacity: .9; }
.ip .tile b { font: 400 38px/1 var(--f-head); color: var(--wg); font-variant-numeric: tabular-nums; }
.ip .tile span { font: 600 11.5px var(--f-cond); letter-spacing: .18em; text-transform: uppercase; color: var(--txt2); }
.ip .tile-pts b { color: var(--gold-hi); }
.ip .menu-row { flex-direction: row; justify-content: center; gap: 10px; flex-wrap: wrap; }
.ip .menu-row .mi { width: auto; min-width: 170px; flex-direction: column; align-items: center; gap: 6px; padding: 15px 22px 13px;
  border: 1px solid var(--edge2); border-radius: 3px; background: rgba(22, 14, 18, .72); text-align: center; font-size: 18px; }
.ip .menu-row .mi-dia { display: none; }
.ip .menu-row .mi::before { border-left: 0; border-bottom: 2px solid var(--gold); transform-origin: center; background: linear-gradient(0deg, rgba(255, 194, 77, .25), transparent); }
.ip .menu-row .mi.is-focus { transform: translateY(-2px); border-color: rgba(255, 194, 77, .6); }

/* settings + how to + confirm */
.ip .scrim-over { background: rgba(10, 6, 9, .55); }
.ip .set-panel, .ip .how-panel, .ip .cf-panel { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
.ip .set-panel { width: min(620px, 92vw); padding: 28px 30px 22px; }
.ip .set-rows { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.ip .srow { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 48px; padding: 0 12px 0 16px; border-radius: 3px; position: relative; }
.ip .srow::before { content: ""; position: absolute; inset: 0; border-left: 2px solid var(--gold); background: linear-gradient(90deg, rgba(255, 194, 77, .16), transparent 70%); opacity: 0; transition: opacity .14s; border-radius: 3px; }
.ip .srow.is-focus::before { opacity: 1; }
.ip .sr-k { position: relative; font: 600 15px var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--txt2); }
.ip .srow.is-focus .sr-k { color: var(--gold-hi); }
.ip .sr-ctl { position: relative; display: flex; align-items: center; gap: 10px; }
.ip .sld { width: 200px; padding: 10px 0; cursor: pointer; }
.ip .sld-track { position: relative; height: 6px; border-radius: 3px; background: rgba(8, 5, 7, .8); box-shadow: inset 0 0 0 1px rgba(255, 220, 160, .18); touch-action: none; }
.ip .sld-track { display: flex; justify-content: space-evenly; }
.ip .sld-tick { width: 1px; height: 100%; background: rgba(255, 220, 160, .18); }
.ip .sld-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; transform-origin: left; transform: scaleX(var(--v, 0)); border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-hi)); transition: transform .12s var(--ease); }
.ip .sld-knob { position: absolute; top: 50%; left: calc(var(--v, 0) * 100%); width: 16px; height: 16px; margin: -8px 0 0 -8px; transform: rotate(45deg);
  background: linear-gradient(135deg, #fff1cf, #e3a33a); box-shadow: 0 0 0 2px #1a0f14, 0 2px 6px rgba(0, 0, 0, .6); transition: left .12s var(--ease); }
.ip .srow.is-focus .sld-knob { box-shadow: 0 0 0 2px #1a0f14, 0 0 14px var(--gold); }
.ip .sld-arw { font: 400 22px var(--f-head); color: var(--txt3); cursor: pointer; width: 14px; text-align: center; opacity: 0; transition: opacity .14s; }
.ip .srow.is-focus .sld-arw { opacity: 1; color: var(--gold); }
.ip .sld-v { width: 44px; text-align: right; font: 600 15px var(--f-cond); letter-spacing: .06em; color: var(--wg); font-variant-numeric: tabular-nums; }
.ip .seg { display: flex; padding: 3px; gap: 3px; border-radius: 3px; background: rgba(8, 5, 7, .7); box-shadow: inset 0 0 0 1px rgba(255, 220, 160, .16); }
.ip .seg-o { min-width: 74px; height: 32px; padding: 0 12px; border: 0; border-radius: 2px; background: none; cursor: pointer;
  font: 600 13px var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--txt3); transition: all .14s; }
.ip .seg-o.on { background: linear-gradient(180deg, #ffdf96, #d89a35); color: #2a1606; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
.ip .srow.is-focus .seg { box-shadow: inset 0 0 0 1px rgba(255, 194, 77, .55); }
.ip .set-foot { display: flex; justify-content: center; margin-top: 18px; }
.ip .set-foot .btn { min-width: 180px; }

.ip .how-panel { width: min(1000px, 94vw); padding: 26px 30px 20px; top: calc(50% - 24px); }
.ip .how-body { display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; margin-top: 14px; max-height: calc(100vh - 300px); overflow: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: var(--gold-dim) transparent; }
.ip .how-ctl table { width: 100%; border-collapse: collapse; }
.ip .how-ctl th { font: 600 11px var(--f-cond); letter-spacing: .18em; text-transform: uppercase; color: var(--txt3); text-align: center; padding: 0 6px 8px; }
.ip .how-ctl td { padding: 4px 6px; height: 30px; border-top: 1px solid rgba(255, 220, 160, .07); text-align: center; }
.ip .how-ctl td:first-child { text-align: left; font: 600 14px var(--f-cond); letter-spacing: .08em; color: var(--txt); }
.ip .how-ctl .col-pad, .ip .how-ctl .col-kbm { opacity: .45; transition: opacity .2s; }
.ip .mode-pad .how-ctl .col-pad, .ip .mode-kbm .how-ctl .col-kbm { opacity: 1; }
.ip .mode-pad th.col-pad, .ip .mode-kbm th.col-kbm { color: var(--gold); }
.ip .how-rules { display: flex; flex-direction: column; gap: 14px; }
.ip .rule-i { display: flex; gap: 14px; align-items: flex-start; }
.ip .ri-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); background: radial-gradient(circle at 50% 35%, #33222a, #1a1016); box-shadow: inset 0 0 0 1px var(--edge); }
.ip .ri-ico .ico { width: 22px; height: 22px; }
.ip .rule-i b { font: 600 15px var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.ip .rule-i p { margin: 3px 0 0; font: 400 14px/1.45 var(--f-text); color: var(--txt2); }

.ip .cf-panel { width: min(460px, 90vw); padding: 28px 30px 24px; text-align: center; }
.ip .cf-t { margin: 0; font: 400 26px var(--f-head); letter-spacing: .06em; color: var(--wg); }
.ip .cf-b { margin: 12px 0 22px; font: 400 15px/1.5 var(--f-text); color: var(--txt2); }
.ip .cf-btns { display: flex; justify-content: center; gap: 12px; }
.ip .cf-btns .btn { min-width: 150px; }

/* ---------- skill tree ---------- */
.ip .scrim-tree { background:
  radial-gradient(ellipse 80% 50% at 50% 110%, rgba(255, 150, 80, .22), transparent 70%),
  radial-gradient(ellipse 60% 40% at 20% 0%, rgba(98, 232, 194, .07), transparent 70%),
  linear-gradient(180deg, rgba(12, 8, 18, .97), rgba(20, 11, 18, .94) 70%, rgba(36, 18, 20, .9)); }
.ip .scrim-tree .stars { position: absolute; inset: 0; opacity: .55; background-repeat: repeat;
  background-image: radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 33% 72%, #ffe3a3 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 58% 34%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 76% 64%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 90% 12%, #ffe3a3 50%, transparent 51%), radial-gradient(1px 1px at 46% 90%, #fff 50%, transparent 51%);
  background-size: 340px 260px; }
.ip .scrim-tree .s2 { background-size: 520px 410px; background-position: 130px 70px; opacity: .35; animation: ipTwinkle 5s ease-in-out infinite alternate; }

.ip .tree-head { position: absolute; left: 0; right: 0; top: 0; height: 92px; display: flex; align-items: center; gap: 28px; padding: 0 30px; }
.ip .th-title small { display: block; font: 600 12px var(--f-cond); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); opacity: .85; }
.ip .th-title h2 { margin: 4px 0 0; font: 400 34px/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--wg); }
.ip .th-learned { margin-left: auto; display: flex; align-items: baseline; gap: 8px; font: 600 12px var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--txt3); }
.ip .th-learned b { font: 400 22px var(--f-head); color: var(--txt); letter-spacing: 0; }
.ip .th-pts { display: flex; align-items: center; gap: 12px; margin-right: 110px; padding: 8px 20px 8px 14px; border-radius: 4px;
  background: linear-gradient(180deg, rgba(60, 38, 20, .7), rgba(30, 18, 14, .7)); box-shadow: inset 0 0 0 1px rgba(255, 194, 77, .5), 0 0 30px rgba(255, 194, 77, .14); }
.ip .th-pts .ico { width: 26px; height: 26px; color: var(--gold); filter: drop-shadow(0 0 8px var(--gold)); }
.ip .th-pts b { font: 400 52px/1 var(--f-head); color: var(--gold-hi); text-shadow: 0 0 22px rgba(255, 194, 77, .5); font-variant-numeric: tabular-nums; min-width: 1ch; text-align: center; }
.ip .th-pts span { font: 600 11px/1.25 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; color: var(--txt2); }
.ip .th-pts.is-zero { box-shadow: inset 0 0 0 1px var(--edge2); }
.ip .th-pts.is-zero b { color: var(--txt2); text-shadow: none; }
.ip .th-pts.is-zero .ico { color: var(--txt3); filter: none; }

.ip .tree-body { position: absolute; left: 24px; right: 24px; top: 92px; bottom: 84px; display: flex; gap: 20px; }
.ip .tree-cols { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; min-width: 0; }
.ip .tcol { --bc: 255, 194, 77; position: relative; display: flex; flex-direction: column; border-radius: 6px; min-width: 0;
  background: linear-gradient(180deg, rgba(var(--bc), .05), rgba(var(--bc), .015) 60%, transparent); box-shadow: inset 0 0 0 1px rgba(var(--bc), .1); transition: background .2s, box-shadow .2s; }
.ip .tcol.br-magic, .ip .tree-detail.br-magic { --bc: 98, 232, 194; }
.ip .tcol.br-relics, .ip .tree-detail.br-relics { --bc: 255, 236, 196; }
.ip .tree-detail.br-staff { --bc: 255, 194, 77; }
.ip .tcol.is-col { background: linear-gradient(180deg, rgba(var(--bc), .1), rgba(var(--bc), .03) 60%, transparent); box-shadow: inset 0 0 0 1px rgba(var(--bc), .26); }
.ip .tc-head { text-align: center; padding: 12px 8px 4px; position: relative; }
.ip .tc-head h3 { margin: 0; font: 400 21px/1 var(--f-head); letter-spacing: .26em; text-transform: uppercase; color: rgb(var(--bc)); text-shadow: 0 0 18px rgba(var(--bc), .35); }
.ip .tc-head p { margin: 5px 0 0; font: italic 12.5px var(--f-head); color: var(--txt3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ip .tc-n { position: absolute; top: 12px; right: 12px; font: 600 11px var(--f-cond); letter-spacing: .1em; color: var(--txt3); }
.ip .tc-sky { position: relative; flex: 1; margin: 2px 0 22px; }
.ip .tc-lines { position: absolute; inset: 0; overflow: visible; }
.ip .tc-lines line { stroke: rgba(255, 230, 190, .16); stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; transition: stroke .3s; }
.ip .tc-lines line.next { stroke: rgba(var(--bc), .6); stroke-dasharray: 5 6; animation: ipDash 1.2s linear infinite; }
.ip .tc-lines line.lit { stroke: rgb(var(--bc)); stroke-width: 2.4; stroke-dasharray: none; filter: drop-shadow(0 0 4px rgba(var(--bc), .9)); }

.ip .node { --sz: 48px; position: absolute; left: var(--x); top: var(--y); width: var(--sz); height: var(--sz); margin: calc(var(--sz) / -2) 0 0 calc(var(--sz) / -2);
  padding: 0; border: 0; background: none; cursor: pointer; transition: transform .16s var(--ease); }
.ip .nd-core { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #2c1d26, #120b10 72%); box-shadow: inset 0 0 0 1.5px rgba(var(--bc), .35); color: rgba(var(--bc), .6); transition: all .2s; }
.ip .nd-core .ico { width: 46%; height: 46%; }
.ip .nd-halo { position: absolute; inset: -10px; border-radius: 50%; pointer-events: none; opacity: 0; }
.ip .nd-cost { position: absolute; right: -5px; top: -5px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center;
  font: 700 11px var(--f-cond); color: #2a1606; background: linear-gradient(#ffe39c, #e3a33a); box-shadow: 0 0 0 2px #140c11; }
.ip .nd-check { position: absolute; right: -5px; top: -5px; width: 19px; height: 19px; border-radius: 50%; display: none; place-items: center;
  color: #140c11; background: rgb(var(--bc)); box-shadow: 0 0 0 2px #140c11; }
.ip .nd-check .ico { width: 12px; height: 12px; stroke-width: 3; }
.ip .nd-name { position: absolute; left: 50%; top: calc(100% + 5px); transform: translateX(-50%); white-space: nowrap;
  font: 600 11.5px var(--f-cond); letter-spacing: .1em; text-transform: uppercase; color: var(--txt3); text-shadow: 0 1px 2px #000; transition: color .15s; }
/* states */
.ip .node.st-owned .nd-core { background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .9), rgb(var(--bc)) 45%, rgba(var(--bc), .7));
  color: #1a0f14; box-shadow: 0 0 0 2px rgba(20, 12, 17, .9), 0 0 0 3.5px rgba(var(--bc), .8), 0 0 22px rgba(var(--bc), .55); }
.ip .node.st-owned .nd-cost { display: none; }
.ip .node.st-owned .nd-check { display: grid; }
.ip .node.st-owned .nd-name { color: rgba(var(--bc), .95); }
.ip .node.st-buy .nd-core { color: rgb(var(--bc)); box-shadow: inset 0 0 0 2px rgb(var(--bc)), 0 0 18px rgba(var(--bc), .35); }
.ip .node.st-buy .nd-halo { box-shadow: 0 0 0 2px rgba(var(--bc), .6); animation: ipHalo 1.6s ease-out infinite; }
.ip .node.st-buy .nd-name { color: var(--txt); }
.ip .node.st-poor .nd-cost { background: linear-gradient(#6a4a40, #3e2a26); color: #ffb39a; }
.ip .node.st-locked .nd-core { color: rgba(255, 240, 220, .22); box-shadow: inset 0 0 0 1px rgba(255, 240, 220, .12); background: radial-gradient(circle at 50% 35%, #1d151a, #0e090c 72%); }
.ip .node.st-locked .nd-cost { background: #2a2026; color: var(--txt3); }
.ip .node.st-locked .nd-name { color: rgba(200, 180, 160, .46); }
.ip .node.is-focus { transform: scale(1.12); z-index: 2; }
.ip .node.is-focus::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1.5px dashed var(--gold-hi);
  box-shadow: 0 0 16px rgba(255, 227, 163, .5); animation: ipSpin 7s linear infinite; }
.ip .node.is-focus .nd-name { color: var(--gold-hi); }
.ip .node.just .nd-halo { animation: ipBurst .7s ease-out 1; box-shadow: 0 0 0 3px rgb(var(--bc)), 0 0 40px rgba(var(--bc), .9); }

.ip .tree-detail { width: 330px; flex: none; padding: 24px 24px 20px; display: flex; flex-direction: column; gap: 12px; }
.ip .td-top { display: flex; gap: 14px; align-items: center; }
.ip .td-ico { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: rgb(var(--bc));
  background: radial-gradient(circle at 50% 35%, #33222b, #130c11 72%); box-shadow: inset 0 0 0 2px rgba(var(--bc), .6), 0 0 24px rgba(var(--bc), .2); }
.ip .td-ico .ico { width: 28px; height: 28px; }
.ip .st-owned .td-ico { background: radial-gradient(circle at 50% 30%, #fff, rgb(var(--bc)) 50%); color: #1a0f14; }
.ip .td-eye { font: 600 11.5px var(--f-cond); letter-spacing: .22em; text-transform: uppercase; color: rgb(var(--bc)); }
.ip .td-name { margin: 4px 0 0; font: 400 26px/1.08 var(--f-head); color: var(--wg); letter-spacing: .02em; }
.ip .td-status { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 3px;
  font: 600 12px var(--f-cond); letter-spacing: .14em; text-transform: uppercase; background: rgba(255, 255, 255, .05); color: var(--txt2); }
.ip .td-status .ico { width: 14px; height: 14px; }
.ip .st-buy .td-status { background: rgba(var(--bc), .16); color: rgb(var(--bc)); box-shadow: inset 0 0 0 1px rgba(var(--bc), .45); }
.ip .st-owned .td-status { background: rgba(var(--bc), .9); color: #1a0f14; }
.ip .st-poor .td-status { color: #ffb39a; background: rgba(255, 110, 80, .1); }
.ip .td-desc { margin: 0; font: 400 15.5px/1.5 var(--f-text); color: var(--txt); min-height: 70px; }
.ip .td-meta { display: flex; flex-direction: column; gap: 2px; margin-top: auto; border-top: 1px solid rgba(255, 220, 160, .1); padding-top: 10px; }
.ip .td-row { display: flex; align-items: center; justify-content: space-between; height: 32px; }
.ip .td-row > span:first-child { font: 600 11.5px var(--f-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--txt3); }
.ip .td-ctl, .ip .td-cost { display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--f-cond); letter-spacing: .08em; }
.ip .td-ctl b, .ip .td-cost b { font-weight: 600; color: var(--txt); }
.ip .td-ctl b.dim { color: var(--txt3); }
.ip .td-cost .stars { display: inline-flex; gap: 2px; color: var(--gold); }
.ip .td-cost .stars .ico { width: 14px; height: 14px; }
.ip .td-buy { width: 100%; height: 48px; margin-top: 4px; }
.ip .td-buy .gl { --s: 22px; }
.ip .td-msg { min-height: 18px; font: 500 13px var(--f-text); color: #ffb39a; text-align: center; }

.ip .tree-foot { position: absolute; left: 24px; right: 24px; bottom: 16px; height: 56px; display: flex; align-items: center; gap: 18px; }
.ip .tree-foot .tf-hints { flex: 1; }
.ip .tf-go .ico { width: 20px; height: 20px; }
.ip .tf-reset .ico { width: 16px; height: 16px; }

/* ---------- corner buttons ---------- */
.ip .ip-corner { position: absolute; top: 16px; right: 16px; display: flex; gap: 8px; z-index: 40; pointer-events: auto; }
.ip .cbtn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer; color: var(--gold-hi);
  border: 1px solid rgba(255, 194, 77, .42); background: radial-gradient(circle at 50% 30%, rgba(52, 34, 42, .92), rgba(18, 11, 16, .92));
  box-shadow: 0 4px 14px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 227, 163, .18); transition: transform .12s var(--ease), filter .12s; }
.ip .cbtn .ico { width: 20px; height: 20px; }
.ip .cbtn:hover { transform: scale(1.07); filter: brightness(1.2); }
.ip .cbtn.is-muted { color: #ffab94; border-color: rgba(255, 120, 90, .5); }

/* ---------- HUD ---------- */
.ip .hud { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s; z-index: 2; }
.ip.show-hud .hud { opacity: 1; }
.ip.st-paused .hud { opacity: .32; }
.ip .hud * { pointer-events: none; }
.ip .hud-vig, .ip .hud-low, .ip .hud-gold { position: absolute; inset: 0; opacity: 0; }
.ip .hud-vig { background: radial-gradient(ellipse at center, transparent 50%, rgba(210, 24, 20, .5) 100%); }
.ip .hud-low { background: radial-gradient(ellipse at center, transparent 58%, rgba(180, 14, 20, .45) 100%); }
.ip .hud.is-low .hud-low { animation: ipLow 1.1s ease-in-out infinite; }
.ip .hud-gold { background: radial-gradient(ellipse at center, rgba(255, 220, 140, .35), rgba(255, 190, 80, .5) 100%); }

/* bars */
.ip .bar { position: relative; height: 10px; border-radius: 2px; overflow: hidden; background: rgba(10, 6, 8, .78);
  box-shadow: inset 0 0 0 1px rgba(255, 220, 160, .2), 0 1px 0 rgba(0, 0, 0, .6); }
.ip .bar > i { position: absolute; inset: 0; transform-origin: left center; transform: scaleX(var(--v, 1)); }
.ip .bar-fill { transition: transform .12s ease-out; }
.ip .bar-trail { background: rgba(255, 244, 225, .85); transition: transform .6s cubic-bezier(.4, 0, .2, 1) .32s; }
.ip .bar.is-up .bar-trail { transition: none; }
.ip .bar.is-up .bar-fill { transition: transform .45s ease-out; }
.ip .bar > .bar-shine { transform: none; background: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 55%); }
.ip .bar-hp { height: 14px; }
.ip .bar-hp .bar-fill { background: linear-gradient(90deg, #8f1d2a, #d8393a 45%, #ff7a55); }
.ip .hud-life.is-low .bar-hp .bar-fill { animation: ipPulse .9s ease-in-out infinite; }
.ip .hud.is-surge .bar-hp { box-shadow: inset 0 0 0 1px rgba(255, 220, 140, .7), 0 0 14px rgba(255, 194, 77, .55); }
.ip .bar-wave { height: 6px; width: 210px; }
.ip .bar-wave .bar-fill { background: linear-gradient(90deg, #2f9e86, #62e8c2); }
.ip .bar-wave .bar-trail { background: rgba(200, 255, 235, .7); }
.ip .bar-boss { height: 14px; }
.ip .bar-boss .bar-fill { background: linear-gradient(90deg, #6a0f1c, #c2242c 55%, #ff5a3c); }
.ip .bar-energy { height: 8px; }
.ip .bar-energy .bar-fill { background: linear-gradient(90deg, #c9a46a, #fff1cf); }
.ip .bar > .rl-cost { inset: 0 auto 0 calc(var(--c, .5) * 100%); width: 2px; margin-left: -1px; transform: none; background: #1a0f14; box-shadow: 1px 0 0 rgba(255, 241, 207, .35); }

/* wave block */
.ip .hud-wave { position: absolute; left: 22px; top: 16px; display: flex; align-items: flex-end; gap: 14px; }
.ip .wv { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.ip .wv-k { font: 700 11px var(--f-cond); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-left: .34em; text-shadow: 0 1px 3px #000; }
.ip .wv-n { font: 400 54px/0.95 var(--f-head); background: linear-gradient(180deg, #fff6dc, #ffc24d 60%, #b97a20); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #2a1608) drop-shadow(0 4px 12px rgba(0, 0, 0, .55)); font-variant-numeric: tabular-nums; }
.ip .hud.is-tut .wv-k { font-size: 16px; letter-spacing: .3em; padding: 18px 0 6px; }
.ip .wv-meta { padding-bottom: 6px; }
.ip .wv-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; text-shadow: 0 1px 3px #000, 0 0 10px rgba(0, 0, 0, .6); }
.ip .wv-lbl { font: 600 12px var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--txt2); }
.ip .wv-left { font: 600 17px var(--f-cond); color: var(--jade); font-variant-numeric: tabular-nums; }
.ip .wv-rift { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; padding: 2px 8px 2px 5px; border-radius: 10px; align-self: center;
  background: rgba(70, 30, 100, .5); box-shadow: inset 0 0 0 1px rgba(197, 140, 255, .55); font: 600 11.5px var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: #e6ccff; }
.ip .wv-rift .ico { width: 14px; height: 14px; color: var(--violet); filter: drop-shadow(0 0 4px var(--violet)); }
.ip .wv-rift b { font-size: 14px; color: #fff; letter-spacing: 0; }
.ip .hud.is-tut .wv-meta { display: none; }

/* boss */
.ip .hud-boss { position: absolute; left: 50%; top: 18px; width: min(580px, 46vw); translate: -50% 0; text-align: center; opacity: 0; transition: opacity .3s; }
.ip .hud-boss.is-on { opacity: 1; }
.ip .bs-name { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 6px; }
.ip .bs-name span { font: 400 21px var(--f-head); letter-spacing: .26em; text-transform: uppercase; color: #ffd9c8; text-shadow: 0 2px 6px #000, 0 0 20px rgba(255, 60, 40, .35); }
.ip .bs-name i { width: 8px; height: 8px; transform: rotate(45deg); background: #ff5a3c; box-shadow: 0 0 8px #ff5a3c; }
.ip .bs-hpslot { padding: 3px; border-radius: 3px; background: rgba(12, 6, 8, .7); box-shadow: inset 0 0 0 1px rgba(255, 140, 100, .35), 0 6px 18px rgba(0, 0, 0, .45); }
.ip .bs-st { display: flex; align-items: center; gap: 8px; width: 62%; margin: 6px auto 0; }
.ip .bs-st span { font: 700 10px var(--f-cond); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); text-shadow: 0 1px 2px #000; }
.ip .bs-stbar { flex: 1; height: 4px; border-radius: 2px; background: rgba(10, 6, 8, .8); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 220, 160, .18); }
.ip .bs-stbar i { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--v, 0)); background: linear-gradient(90deg, #d9952b, #ffe3a3); transition: transform .15s; }
.ip .hud-boss.is-stag .bs-stbar i { animation: ipPulse .4s ease-in-out infinite; }
.ip .hud-boss.is-stag .bs-st span { color: #fff; }

/* top right: chips + map */
.ip .hud-tr { position: absolute; right: 16px; top: 68px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.ip .hud-chips { display: flex; gap: 8px; }
.ip .chip { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 9px; border-radius: 16px;
  background: rgba(20, 12, 16, .78); box-shadow: inset 0 0 0 1px rgba(255, 194, 77, .45), 0 3px 10px rgba(0, 0, 0, .35); }
.ip .chip .ico { width: 17px; height: 17px; color: var(--gold); }
.ip .chip b { font: 400 20px/1 var(--f-head); color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.ip .chip span { font: 600 10.5px var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--txt2); }
.ip .chip-pts.is-zero { box-shadow: inset 0 0 0 1px var(--edge2); }
.ip .chip-pts.is-zero b, .ip .chip-pts.is-zero .ico { color: var(--txt3); }
.ip .chip-feather { padding: 0; width: 32px; justify-content: center; box-shadow: inset 0 0 0 1px rgba(255, 140, 80, .55), 0 0 14px rgba(255, 140, 60, .3); }
.ip .chip-feather .ico { color: #ffa85c; width: 19px; height: 19px; filter: drop-shadow(0 0 4px #ff8a3c); }
.ip .hud-map { position: relative; width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(64, 76, 104, .8), rgba(26, 24, 40, .86) 62%, rgba(14, 10, 16, .92));
  box-shadow: 0 6px 22px rgba(0, 0, 0, .45); }
.ip .hud-map canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; }
.ip .map-ring { position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 194, 77, .65), inset 0 0 0 5px rgba(20, 12, 16, .85), inset 0 0 0 6px rgba(255, 194, 77, .25), inset 0 0 26px rgba(0, 0, 0, .55); }
.ip .map-n { position: absolute; left: 50%; top: -7px; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  font: 700 10px var(--f-cond); color: #2a1606; background: linear-gradient(#ffe39c, #e3a33a); box-shadow: 0 0 0 2px #140c11; }

/* combo */
.ip .hud-combo { position: absolute; right: 30px; top: 50%; text-align: right; transition: opacity .4s, transform .4s var(--ease); }
.ip .hud-combo.is-out { opacity: 0; transform: translateX(16px); }
.ip .cb-line { display: flex; align-items: baseline; justify-content: flex-end; gap: 8px; }
.ip .cb-n { display: inline-block; font: italic 400 68px/1 var(--f-head); transform-origin: 70% 60%;
  background: linear-gradient(180deg, #fff6dc, #ffc24d 60%, #c47f22); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #2a1608) drop-shadow(0 6px 14px rgba(0, 0, 0, .5)); font-variant-numeric: tabular-nums; }
.ip .cb-k { font: 600 15px var(--f-cond); letter-spacing: .24em; text-transform: uppercase; color: var(--txt); text-shadow: 0 1px 3px #000; }
.ip .cb-bar { width: 140px; height: 3px; margin: 6px 0 0 auto; background: rgba(10, 6, 8, .6); border-radius: 2px; overflow: hidden; }
.ip .cb-bar i { display: block; height: 100%; transform-origin: right; transform: scaleX(var(--v, 1)); background: linear-gradient(90deg, transparent, var(--gold-hi)); }
.ip .hud-combo.tier-1 .cb-n { background-image: linear-gradient(180deg, #fff, #ffb24d 55%, #e0522a); }
.ip .hud-combo.tier-2 .cb-n { background-image: linear-gradient(180deg, #fff, #9effe0 50%, #2f9e86); }
.ip .hud-combo.tier-3 .cb-n { background-image: linear-gradient(180deg, #fff, #fff1cf 50%, #ffc24d); filter: drop-shadow(0 2px 0 #2a1608) drop-shadow(0 0 18px rgba(255, 220, 140, .8)); }

/* tutorial prompt */
.ip .hud-prompt { position: absolute; left: 50%; top: 11%; translate: -50% 0; display: flex; align-items: center; gap: 18px; max-width: min(620px, 90vw);
  padding: 16px 28px 16px 18px; border-radius: 6px; background: linear-gradient(180deg, rgba(34, 21, 28, .92), rgba(18, 11, 16, .92));
  box-shadow: inset 0 0 0 1px var(--edge), 0 14px 40px rgba(0, 0, 0, .45); }
.ip .pr-glyph .gl { box-shadow: inset 0 0 0 1.5px rgba(255, 227, 163, .55), 0 0 22px rgba(255, 194, 77, .35); }
.ip .pr-step { font: 700 11px var(--f-cond); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.ip .pr-text { margin-top: 4px; font: 400 23px/1.2 var(--f-head); color: var(--wg); }
.ip .pr-dots { display: flex; gap: 5px; margin-top: 9px; }
.ip .pr-dots i { width: 18px; height: 3px; border-radius: 2px; background: rgba(255, 220, 160, .18); }
.ip .pr-dots i.on { background: var(--gold); }
.ip .pr-dots i.cur { background: var(--gold-hi); box-shadow: 0 0 8px var(--gold); animation: ipPulse 1.2s ease-in-out infinite; }

/* bottom cluster */
.ip .hud-bottom { position: absolute; left: 20px; right: 20px; bottom: 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 18px; }
.ip .hud-life { justify-self: start; width: 310px; }
.ip .life-row { display: flex; align-items: center; gap: 8px; }
.ip .life-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #ff8a6a;
  background: radial-gradient(circle at 50% 35%, #3a1f24, #160c10 72%); box-shadow: inset 0 0 0 1.5px rgba(255, 120, 90, .55); }
.ip .life-ico .ico { width: 18px; height: 18px; }
.ip .life-barslot { flex: 1; }
.ip .life-num { display: flex; align-items: baseline; gap: 3px; min-width: 72px; justify-content: flex-end; font: 600 13px var(--f-cond); color: var(--txt2); text-shadow: 0 1px 3px #000; }
.ip .life-num b { font: 400 21px/1 var(--f-head); color: var(--txt); font-variant-numeric: tabular-nums; }
.ip .hud-life.is-low .life-num b { color: #ff8a6a; }
.ip .focus-row { display: flex; align-items: center; gap: 10px; margin: 8px 0 0 38px; }
.ip .fc-k { font: 700 10.5px var(--f-cond); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); text-shadow: 0 1px 3px #000; }
.ip .pips { display: flex; gap: 9px; }
.ip .pip { position: relative; width: 15px; height: 15px; transform: rotate(45deg); background: rgba(10, 6, 8, .8); box-shadow: inset 0 0 0 1.5px rgba(255, 194, 77, .5); overflow: hidden; }
.ip .pip b { position: absolute; inset: 0; transform-origin: bottom left; transform: scale(var(--f, 0)); background: linear-gradient(135deg, #fff1cf, #ffc24d 55%, #d9952b); transition: transform .1s; }
.ip .pip.is-full { box-shadow: inset 0 0 0 1.5px #fff1cf, 0 0 12px rgba(255, 194, 77, .9); }
.ip .surge { display: flex; align-items: center; gap: 8px; margin: 0 0 8px 0; padding: 5px 12px 5px 8px; width: max-content; border-radius: 14px;
  background: linear-gradient(90deg, rgba(120, 70, 10, .75), rgba(40, 22, 10, .6)); box-shadow: inset 0 0 0 1px rgba(255, 210, 120, .7), 0 0 18px rgba(255, 180, 60, .35); }
.ip .surge .ico { width: 18px; height: 18px; color: #fff1cf; animation: ipSpin 6s linear infinite; filter: drop-shadow(0 0 5px #ffc24d); }
.ip .sg-k { font: 700 11px var(--f-cond); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-hi); }
.ip .sg-n { font: 600 15px var(--f-cond); color: #fff; font-variant-numeric: tabular-nums; min-width: 28px; }
.ip .sg-bar { width: 70px; height: 3px; border-radius: 2px; background: rgba(0, 0, 0, .5); overflow: hidden; }
.ip .sg-bar i { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--v, 1)); background: #fff1cf; }

.ip .hud-abil { display: flex; gap: 7px; align-items: flex-end; justify-self: center; }
.ip .slot { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 60px; }
.ip .slot-tile { position: relative; width: 56px; height: 56px; border-radius: 7px; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(44, 28, 36, .94), rgba(18, 11, 16, .94));
  box-shadow: inset 0 0 0 1px rgba(255, 194, 77, .45), inset 0 1px 0 rgba(255, 227, 163, .16), 0 4px 14px rgba(0, 0, 0, .45); }
.ip .slot-ico { color: var(--gold-hi); width: 28px; height: 28px; filter: drop-shadow(0 0 6px rgba(255, 194, 77, .35)); }
.ip .slot-ico .ico { width: 100%; height: 100%; }
.ip .slot[data-k] .slot-ico { color: var(--gold-hi); }
.ip .slot-cd { position: absolute; inset: 0; border-radius: 7px; opacity: 0;
  background: conic-gradient(from 0deg, rgba(8, 4, 7, .78) calc(var(--cd, 0) * 360deg), rgba(8, 4, 7, .0) 0); }
.ip .slot.is-cd .slot-cd { opacity: 1; }
.ip .slot.is-cd .slot-ico { opacity: .55; filter: grayscale(.6); }
.ip .slot-glyph { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); }
.ip .slot-glyph .gl { box-shadow: 0 0 0 2px #140c11, inset 0 0 0 1px rgba(255, 255, 255, .22); }
.ip .slot-tag { position: absolute; top: -6px; right: -6px; display: none; padding: 1px 4px; border-radius: 3px; font: 700 8.5px var(--f-cond); letter-spacing: .1em; text-transform: uppercase; color: #2a1606; background: var(--gold); box-shadow: 0 0 0 2px #140c11; }
.ip .slot.has-tag .slot-tag { display: block; }
.ip .slot-name { margin-top: 8px; width: 66px; min-height: 2.3em; font: 600 10px/1.15 var(--f-cond); letter-spacing: .08em; text-transform: uppercase; color: var(--txt2); text-align: center; text-shadow: 0 1px 3px #000; }
.ip .hud-abil .slot:nth-child(n+6) .slot-ico { color: var(--jade); filter: drop-shadow(0 0 6px rgba(98, 232, 194, .4)); }
.ip .hud-abil .slot:nth-child(n+6) .slot-tile { box-shadow: inset 0 0 0 1px rgba(98, 232, 194, .45), inset 0 1px 0 rgba(200, 255, 235, .14), 0 4px 14px rgba(0, 0, 0, .45); }
.ip .hud-abil .slot:nth-child(8) .slot-ico { color: var(--wg); filter: drop-shadow(0 0 6px rgba(255, 241, 207, .45)); }
.ip .hud-abil .slot:nth-child(8) .slot-tile { box-shadow: inset 0 0 0 1px rgba(255, 241, 207, .5), 0 4px 14px rgba(0, 0, 0, .45); }
.ip .slot.is-charged .slot-tile { box-shadow: inset 0 0 0 1.5px var(--gold-hi), 0 0 16px rgba(255, 194, 77, .35), 0 4px 14px rgba(0, 0, 0, .45); }
.ip .slot.is-ready .slot-tile { box-shadow: inset 0 0 0 2px var(--jade), 0 0 20px rgba(98, 232, 194, .6); animation: ipPulse 1.2s ease-in-out infinite; }

.ip .hud-res { justify-self: end; display: flex; align-items: flex-end; gap: 14px; }
.ip .relic { width: 200px; }
.ip .rl-top { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.ip .rl-ico { color: var(--wg); width: 20px; height: 20px; filter: drop-shadow(0 0 5px rgba(255, 241, 207, .6)); }
.ip .rl-ico .ico { width: 100%; height: 100%; }
.ip .rl-name { flex: 1; font: 600 13px var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--wg); text-shadow: 0 1px 3px #000; }
.ip .relic.is-ready .bar-energy { box-shadow: inset 0 0 0 1px rgba(255, 241, 207, .6), 0 0 10px rgba(255, 241, 207, .35); }
.ip .ult { position: relative; width: 74px; height: 74px; display: grid; place-items: center; }
.ip .ult svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ip .ult circle { fill: none; stroke-width: 5; }
.ip .ult-bg { stroke: rgba(10, 6, 8, .8); fill: rgba(18, 11, 16, .85) !important; }
.ip .ult-fg { stroke: var(--jade); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--u, 0) * 100); filter: drop-shadow(0 0 4px rgba(98, 232, 194, .7)); transition: stroke-dashoffset .2s; }
.ip .ult-ico { position: relative; width: 28px; height: 28px; color: var(--jade); }
.ip .ult-ico .ico { width: 100%; height: 100%; }
.ip .ult-g { position: absolute; top: -6px; right: -4px; }
.ip .ult-k { position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%); font: 700 10px var(--f-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--jade); text-shadow: 0 1px 3px #000; }
.ip .ult.is-ready .ult-ico { color: #eafff8; filter: drop-shadow(0 0 8px var(--jade)); }
.ip .ult.is-ready svg { animation: ipPulse 1s ease-in-out infinite; }

/* ---------- banners + toasts ---------- */
.ip .ip-banner { position: absolute; left: 0; right: 0; top: 29%; z-index: 6; text-align: center; pointer-events: none; opacity: 0; transition: opacity .25s; }
.ip .ip-banner.is-on { opacity: 1; }
.ip .bn-in { position: relative; display: inline-block; padding: 16px 120px 18px; }
.ip .bn-in::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(14, 8, 12, .62), rgba(14, 8, 12, 0) 100%); }
.ip .ip-banner.is-on .bn-in { animation: ipBanner .55s var(--ease) both; }
.ip .ip-banner small { display: flex; align-items: center; justify-content: center; gap: 8px; font: 700 14px var(--f-cond); letter-spacing: .5em; text-transform: uppercase; color: var(--gold); text-shadow: 0 1px 4px #000; margin-left: .5em; }
.ip .ip-banner small .ico { width: 16px; height: 16px; }
.ip .ip-banner h2 { margin: 4px 0 0; font: 400 64px/1 var(--f-head); letter-spacing: .1em; text-transform: uppercase;
  background: linear-gradient(180deg, #fff6dc, #ffd27a 50%, #c47f22); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 #2a1608) drop-shadow(0 8px 24px rgba(0, 0, 0, .6)); }
.ip .ip-banner h2.bn-num { font-size: 112px; letter-spacing: .02em; }
.ip .ip-banner h2.bn-text { font-size: 50px; letter-spacing: .06em; }
.ip .ip-banner .rule { justify-content: center; margin: 10px 0 8px; }
.ip .ip-banner .rule i { max-width: 160px; }
.ip .ip-banner p { margin: 0; display: flex; justify-content: center; align-items: center; gap: 12px; font: italic 400 19px var(--f-head); color: var(--wg); text-shadow: 0 2px 6px #000; }
.ip .bn-boss h2 { background-image: linear-gradient(180deg, #fff0e8, #ff9b6a 50%, #b8262a); }
.ip .bn-boss small { color: #ff8a6a; }
.ip .bn-boss .rule b { background: #ff5a3c; box-shadow: 0 0 10px #ff5a3c; }
.ip .bn-clear h2 { letter-spacing: .24em; }
.ip .bn-pts { display: inline-flex; align-items: center; gap: 6px; font: 700 18px var(--f-cond); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-hi); }
.ip .bn-pts .ico { width: 18px; height: 18px; color: var(--gold); }
.ip .bn-tag { padding: 3px 10px; border-radius: 3px; font: 700 12px var(--f-cond); font-style: normal; letter-spacing: .24em; text-transform: uppercase; color: #0e2a22; background: var(--jade); }
.ip .bn-area h2 { background-image: linear-gradient(180deg, #ffffff, #fff1cf 50%, #d9b77a); }

.ip .ip-left { position: absolute; left: 22px; top: 106px; z-index: 7; display: flex; flex-direction: column; gap: 10px; pointer-events: none; transition: opacity .3s; }
.ip .ip-toasts { display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.ip .toast { display: flex; align-items: center; gap: 9px; padding: 8px 16px 8px 10px; max-width: 340px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(24, 15, 19, .94), rgba(24, 15, 19, .72)); border-left: 2px solid var(--gold);
  font: 600 13.5px var(--f-cond); letter-spacing: .06em; color: var(--txt); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.ip .toast .ico { width: 15px; height: 15px; color: var(--gold); }
.ip .toast.t-good { border-left-color: var(--jade); } .ip .toast.t-good .ico { color: var(--jade); }
.ip .toast.t-warn { border-left-color: #ff6a4a; } .ip .toast.t-warn .ico { color: #ff6a4a; }
.ip.st-tree .ip-left, .ip.st-title .ip-left, .ip.st-dead .ip-left, .ip.st-won .ip-left { left: 50%; top: auto; bottom: 90px; translate: -50% 0; z-index: 30; align-items: center; }
.ip.st-tree .ip-toasts, .ip.st-title .ip-toasts, .ip.st-dead .ip-toasts, .ip.st-won .ip-toasts { align-items: center; }


/* ---------- section 13 additions ---------- */
/* readability: soft dark bands behind the top and bottom HUD rows */
.ip .hud::before, .ip .hud::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; }
.ip .hud::before { top: 0; height: 120px; background: linear-gradient(180deg, rgba(12, 7, 10, .5), rgba(12, 7, 10, 0)); }
.ip .hud::after { bottom: 0; height: 190px; background: linear-gradient(0deg, rgba(12, 7, 10, .62), rgba(12, 7, 10, .3) 55%, rgba(12, 7, 10, 0)); }
.ip .hud > * { z-index: 1; }
.ip .hud > .hud-vig, .ip .hud > .hud-low, .ip .hud > .hud-gold { z-index: 3; }

/* level */
.ip .lvl { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 0 38px; font: 600 10.5px var(--f-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--txt2); text-shadow: 0 1px 3px #000; }
.ip .lvl b { font: 400 16px/1 var(--f-head); color: var(--gold-hi); letter-spacing: 0; }
.ip .focus-row { margin-top: 6px; }

/* dash charges on the dash slot */
.ip .slot-pips { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); display: flex; gap: 3px; }
.ip .slot-pips i { position: relative; width: 12px; height: 4px; border-radius: 2px; background: rgba(8, 4, 7, .85); box-shadow: inset 0 0 0 1px rgba(255, 220, 160, .3); overflow: hidden; }
.ip .slot-pips b { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--f, 0)); background: var(--gold-hi); transition: transform .08s; }
.ip .slot-word { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); font: 700 11px var(--f-cond); letter-spacing: .22em; text-transform: uppercase; color: #2a1606;
  background: linear-gradient(#ffe7a6, #f0b24a); padding: 2px 7px; border-radius: 3px; box-shadow: 0 0 0 2px #140c11, 0 0 16px rgba(255, 194, 77, .8); white-space: nowrap; }
.ip .slot-word:empty { display: none; }
.ip .slot.is-counter .slot-tile { background: linear-gradient(180deg, #ffe08f, #d9952b); box-shadow: inset 0 0 0 2px #fff1cf, 0 0 26px rgba(255, 194, 77, .9); }
.ip .slot.is-counter .slot-ico { color: #2a1606; filter: none; }
.ip .slot.is-free .slot-tile { box-shadow: inset 0 0 0 2px #fff1cf, 0 0 22px rgba(255, 210, 120, .85); animation: ipPulse .9s ease-in-out infinite; }
.ip .slot.is-free .slot-tag { background: #fff1cf; box-shadow: 0 0 0 2px #140c11, 0 0 10px #ffd27a; }
.ip .rl-bell { display: inline-flex; align-items: center; gap: 4px; font: 700 10px var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--txt2); }
.ip .rl-bell .ico { width: 13px; height: 13px; color: var(--wg); }

/* style rank */
.ip .hud-rank { position: absolute; right: 26px; top: 45%; display: flex; align-items: center; gap: 10px; transition: opacity .4s, transform .4s var(--ease); }
.ip .hud-rank.is-out { opacity: 0; transform: translateX(16px); }
.ip .rk-box { position: relative; width: 66px; height: 66px; display: grid; place-items: center; order: 2; }
.ip .rk-box::before { content: ""; position: absolute; inset: 8px; transform: rotate(45deg); border-radius: 4px; background: linear-gradient(135deg, rgba(40, 25, 32, .92), rgba(16, 10, 14, .92)); box-shadow: inset 0 0 0 1.5px var(--rc, #b59a7a), 0 0 18px rgba(0, 0, 0, .4); }
.ip .rk-l { position: relative; font: italic 400 44px/1 var(--f-head); color: var(--rc, #b59a7a); text-shadow: 0 2px 0 #1a0f14, 0 0 18px var(--rg, transparent); }
.ip .rk-burst { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 3px var(--rc), 0 0 30px var(--rc); opacity: 0; }
.ip .rk-side { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-shadow: 0 1px 3px #000; }
.ip .rk-k { font: 700 10px var(--f-cond); letter-spacing: .3em; text-transform: uppercase; color: var(--txt2); }
.ip .rk-w { font: 600 14px var(--f-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--rc, var(--txt2)); }
.ip .rk-bar { width: 84px; height: 3px; border-radius: 2px; background: rgba(10, 6, 8, .7); overflow: hidden; }
.ip .rk-bar i { display: block; height: 100%; transform-origin: right; transform: scaleX(var(--v, 0)); background: var(--rc, #b59a7a); transition: transform .12s; }
.ip .hud-rank.rk-C { --rc: #9fd9c4; }
.ip .hud-rank.rk-B { --rc: #ffc24d; --rg: rgba(255, 194, 77, .5); }
.ip .hud-rank.rk-A { --rc: #ff9a4d; --rg: rgba(255, 140, 60, .7); }
.ip .hud-rank.rk-S { --rc: #fff1cf; --rg: rgba(255, 220, 140, .95); }
.ip .hud-rank.rk-S .rk-box::before { animation: ipPulse 1s ease-in-out infinite; }
.ip .hud-combo { top: calc(45% + 76px); }

/* between-waves card */
.ip .hud-inter { position: absolute; left: 50%; bottom: 168px; translate: -50% 0; display: flex; align-items: center; gap: 18px; padding: 16px 20px 16px 16px; border-radius: 6px;
  background: linear-gradient(180deg, rgba(34, 21, 28, .95), rgba(18, 11, 16, .95)); box-shadow: inset 0 0 0 1px var(--edge), 0 18px 50px rgba(0, 0, 0, .5); }
.ip .hud .hud-inter, .ip .hud .hud-inter .btn, .ip .hud .hud-inter .btn * { pointer-events: auto; }
.ip .it-ring { position: relative; width: 58px; height: 58px; display: grid; place-items: center; flex: none; }
.ip .it-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ip .it-ring circle { fill: none; stroke-width: 4; }
.ip .it-bg { stroke: rgba(255, 220, 160, .14); }
.ip .it-fg { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--a, 1) * 100); transition: stroke-dashoffset .1s linear; filter: drop-shadow(0 0 4px rgba(255, 194, 77, .7)); }
.ip .it-s { position: relative; font: 400 22px/1 var(--f-head); color: var(--wg); font-variant-numeric: tabular-nums; }
.ip .it-body small { font: 700 11px var(--f-cond); letter-spacing: .3em; text-transform: uppercase; color: var(--jade); }
.ip .it-body h3 { margin: 3px 0 0; font: 400 26px/1.05 var(--f-head); color: var(--wg); letter-spacing: .04em; }
.ip .it-body h3 b { font-weight: 400; color: var(--gold-hi); }
.ip .it-pts { display: flex; align-items: center; gap: 6px; margin-top: 5px; font: 600 11px var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--txt2); }
.ip .it-pts .ico { width: 14px; height: 14px; color: var(--gold); }
.ip .it-pts b { font: 400 17px/1 var(--f-head); color: var(--gold-hi); letter-spacing: 0; }
.ip .it-btns { display: flex; flex-direction: column; gap: 7px; margin-left: 8px; }
.ip .it-btns .btn { height: 38px; justify-content: flex-start; padding: 0 16px 0 10px; font-size: 14px; }
.ip .it-btns .btn .gl { --s: 22px; }

/* tree: pilgrim level + level-up */
.ip .th-level { display: flex; flex-direction: column; gap: 2px; padding-left: 22px; border-left: 1px solid rgba(255, 220, 160, .14); }
.ip .tl-top { display: flex; align-items: baseline; gap: 8px; font: 600 12px var(--f-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--txt2); }
.ip .tl-n { font: 400 30px/1 var(--f-head); color: var(--gold-hi); letter-spacing: 0; }
.ip .th-level small { font: italic 12.5px var(--f-head); color: var(--txt3); }
.ip .tf-level { border-color: rgba(255, 194, 77, .6); color: var(--gold-hi); }
.ip .tf-level small { font: 600 11px var(--f-cond); letter-spacing: .12em; color: var(--txt2); }
.ip .tf-level .ico { width: 16px; height: 16px; color: var(--gold); }
.ip .tf-level.is-poor { filter: saturate(.4) brightness(.75); }
@media (max-width: 1020px) {
  .ip .th-level small { display: none; }
  .ip .hud-inter { bottom: 206px; }
}

/* ---------- motion ---------- */
@keyframes ipHalo { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes ipBurst { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes ipSpin { to { transform: rotate(360deg); } }
@keyframes ipDash { to { stroke-dashoffset: -22; } }
@keyframes ipPulse { 50% { filter: brightness(1.45); } }
@keyframes ipLow { 0%, 100% { opacity: .25; } 50% { opacity: .85; } }
@keyframes ipTwinkle { to { opacity: .6; } }
@keyframes ipGlint { 50% { filter: brightness(1.25) drop-shadow(0 0 10px rgba(255, 194, 77, .6)); } }
@keyframes ipBanner { 0% { opacity: 0; transform: scale(1.08); letter-spacing: .3em; filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) { .ip *, .ip *::before, .ip *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; } }

/* ---------- smaller windows ---------- */
@media (max-width: 1180px) {
  .ip .hud-bottom { grid-template-columns: 1fr 1fr; grid-template-areas: "life res" "abil abil"; row-gap: 12px; }
  .ip .hud-life { grid-area: life; width: 290px; }
  .ip .hud-res { grid-area: res; }
  .ip .hud-abil { grid-area: abil; }
  .ip .tree-detail { width: 290px; padding: 20px; }
  .ip .th-learned { display: none; }
  .ip .th-pts { margin-left: auto; }
}
@media (max-width: 1020px) {
  .ip .hud-boss { top: 16px; width: min(330px, 37vw); }
  .ip .bs-name span { font-size: 17px; letter-spacing: .2em; }
  .ip .hud-map { width: 160px; height: 160px; }
  .ip .slot { width: 54px; } .ip .slot-tile { width: 50px; height: 50px; } .ip .slot-ico { width: 25px; height: 25px; }
  .ip .tree-body { left: 14px; right: 14px; gap: 12px; }
  .ip .tree-cols { gap: 8px; }
  .ip .tree-head { padding: 0 18px; }
  .ip .tree-foot { left: 14px; right: 14px; }
  .ip .tree-foot .tf-hints { gap: 14px; }
  .ip .tree-detail { width: 262px; }
  .ip .td-name { font-size: 22px; }
  .ip .td-desc { font-size: 14px; }
  .ip .node { --sz: 42px; }
  .ip .nd-name { font-size: 10.5px; letter-spacing: .06em; }
  .ip .tc-head h3 { font-size: 18px; letter-spacing: .2em; }
  .ip .dead-stats { gap: 8px; }
  .ip .tile b { font-size: 32px; }
  .ip .menu-row .mi { min-width: 132px; padding: 14px 18px 12px; }
  .ip .ip-banner h2 { font-size: 52px; } .ip .ip-banner h2.bn-num { font-size: 92px; } .ip .ip-banner h2.bn-text { font-size: 40px; }
}
@media (max-height: 760px) {
  .ip .ttl-mark .emblem { width: 58px; height: 58px; margin-bottom: 0; }
  .ip .ttl-name span:last-child { font-size: clamp(54px, 7vw, 86px); }
  .ip .ttl-line { margin-bottom: 14px; }
  .ip .ttl-stats { margin-bottom: 12px; }
  .ip .ttl .menu .mi { padding-top: 9px; padding-bottom: 9px; }
  .ip .node { --sz: 42px; }
  .ip .tree-head { height: 84px; }
  .ip .tree-body { top: 84px; bottom: 78px; }
  .ip .tree-foot { bottom: 12px; }
}

/* contrast backing for the combo + rank over bright sky */
.ip .hud-combo::before, .ip .hud-rank::before { content: ""; position: absolute; z-index: -1; inset: -18px -26px -18px -60px; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 62% 50%, rgba(14, 8, 12, .55), rgba(14, 8, 12, 0) 100%); }
.ip .cb-n { -webkit-text-stroke: 1px rgba(42, 22, 8, .55); }
.ip .slot.is-counter .slot-tag { display: none; }
.ip .td-path { display: flex; flex-direction: column; gap: 8px; padding: 12px 0 2px; }
.ip .tp-k { font: 600 11px var(--f-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--txt3); }
.ip .tp-dots { display: flex; align-items: center; }
.ip .tp-dots i { flex: none; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(var(--bc), .4); }
.ip .tp-dots i.own { background: rgb(var(--bc)); box-shadow: 0 0 8px rgba(var(--bc), .6); }
.ip .tp-dots i.cur { outline: 1.5px solid var(--gold-hi); outline-offset: 3px; }
.ip .tp-dots b { flex: 1; height: 1px; background: rgba(var(--bc), .25); }
.ip:not(.show-hud) .ip-banner { display: none; }
.ip .how-body { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent); padding-bottom: 20px; }

/* ---------- critic fixes (17 Nov) ---------- */
/* centre banners: compact block centred at ~17.5% of the height, bottom edge above 26% */
.ip .ip-banner { top: 17.5%; translate: 0 -50%; }
.ip .bn-in { padding: 4px 110px 6px; }
.ip .ip-banner small { font-size: 12.5px; letter-spacing: .44em; }
.ip .ip-banner h2 { margin-top: 2px; font-size: 42px; line-height: 1; }
.ip .ip-banner h2.bn-num { font-size: 62px; line-height: .95; }
.ip .ip-banner h2.bn-text { font-size: 38px; }
.ip .ip-banner .rule { margin: 4px 0 3px; }
.ip .ip-banner p { line-height: 1.2; }
.ip .ip-banner p { font-size: 16px; }
.ip .bn-pts { font-size: 15px; }
@media (max-width: 1020px) {
  .ip .ip-banner h2 { font-size: 38px; } .ip .ip-banner h2.bn-num { font-size: 54px; } .ip .ip-banner h2.bn-text { font-size: 32px; }
}

/* training prompt: compact, bottom centre, just above the ability bar */
.ip .hud-prompt { top: auto; bottom: 138px; translate: -50% 0; flex-direction: column; align-items: center; gap: 6px; padding: 9px 18px 8px; max-width: min(560px, 92vw); }
.ip .pr-line { display: flex; align-items: center; gap: 12px; }
.ip .pr-glyph { display: flex; }
.ip .gl-pr { --s: 32px; }
.ip .gl-pr.gl-pad, .ip .gl-pr.gl-key { --s: 28px; }
.ip .pr-text { margin: 0; font: 400 19px/1.2 var(--f-head); color: var(--wg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ip .pr-foot { display: flex; align-items: center; gap: 10px; }
.ip .pr-dots { margin: 0; }
.ip .pr-dots i { width: 14px; }
.ip .pr-step { font: 700 10.5px var(--f-cond); letter-spacing: .16em; color: var(--gold); }
@media (max-width: 1180px) { .ip .hud-prompt { bottom: 236px; } }
@media (max-width: 1020px) { .ip .hud-prompt { bottom: 226px; } }

/* boss tag on the between-waves card */
.ip .it-boss { display: none; margin-left: 10px; padding: 2px 8px; border-radius: 3px; vertical-align: 1px; letter-spacing: .2em; color: #fff0e8;
  background: linear-gradient(180deg, #d8402e, #8f1d2a); box-shadow: 0 0 12px rgba(255, 80, 50, .5); }
.ip .hud-inter.is-boss .it-boss { display: inline-block; }
.ip .hud-inter.is-boss { box-shadow: inset 0 0 0 1px rgba(255, 110, 80, .55), 0 18px 50px rgba(0, 0, 0, .5); }
.ip .hud-inter.is-boss .it-fg { stroke: #ff7a55; }

/* compact boss bar, dimmed while a centre banner is up so the two never stack */
.ip .hud-boss { top: 12px; }
.ip .bs-name { margin-bottom: 4px; }
.ip .bs-name span { font-size: 18px; }
.ip .bs-st { margin-top: 4px; }
.ip.has-banner .hud-boss.is-on { opacity: .12; }
@media (max-width: 1020px) {
  .ip .wv-meta { width: 160px; }
  .ip .wv-row { flex-wrap: wrap; row-gap: 4px; }
  .ip .wv-rift { margin-left: 0; order: 3; }
  .ip .bar-wave { width: 160px; }
}

/* ---------- round 3: retry, how-to additions ---------- */
/* results: retry the wave (costs points) */
.ip .menu-row .mi-retry { border-color: rgba(255, 194, 77, .45); background: linear-gradient(180deg, rgba(60, 38, 20, .75), rgba(26, 16, 14, .75)); }
.ip .menu-row .mi-retry .mi-sub { color: var(--gold); }
.ip .menu-row .mi-off, .ip .menu-row .mi-off.is-focus { opacity: .42; filter: saturate(.3); cursor: default; transform: none; border-color: var(--edge2); background: rgba(22, 14, 18, .6); }
.ip .menu-row .mi-off .mi-sub { color: #ffb39a; }
.ip .menu-row .mi-off::before { display: none; }

/* how to play: combo rows and grouped rules */
.ip .how-ctl tr.combo td { border-top-style: dashed; }
.ip .how-ctl tr.combo td:first-child { color: var(--gold-hi); }
.ip .how-ctl .then { margin: 0 5px; font: 600 10px var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--txt3); vertical-align: middle; }
.ip .rule-i ul { margin: 4px 0 0; padding: 0; list-style: none; }
.ip .rule-i li { position: relative; padding-left: 14px; font: 400 14px/1.45 var(--f-text); color: var(--txt2); }
.ip .rule-i li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; transform: rotate(45deg); background: var(--jade); }
/* results row holds up to five buttons on one line */
.ip .dead .menu-row .mi { min-width: 128px; padding: 14px 16px 12px; font-size: 16px; letter-spacing: .13em; }
.ip .dead .menu-row .mi-sub { font-size: 11px; letter-spacing: .1em; }
.ip .dead .menu-row { gap: 8px; }

/* ---------- round 4: techniques, move names, finish prompt, cinematic bars, moves list, victory ---------- */
/* new technique card: left edge, under the toasts; only in live play */
.ip .ip-tech { display: none; }
.ip.st-playing .ip-tech.is-on, .ip.st-tutorial .ip-tech.is-on { display: block; }
.ip .tk-card { width: 280px; padding: 12px 16px 13px; border-radius: 4px; position: relative;
  background: linear-gradient(100deg, rgba(40, 26, 18, .94), rgba(22, 14, 18, .86)); border-left: 3px solid var(--gold);
  box-shadow: inset 0 0 0 1px rgba(255, 194, 77, .3), 0 10px 30px rgba(0, 0, 0, .4); }
.ip .tk-card small { display: flex; align-items: center; gap: 6px; font: 700 10.5px var(--f-cond); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.ip .tk-card small .ico { width: 13px; height: 13px; }
.ip .tk-n { display: block; margin-top: 4px; font: 400 24px/1.1 var(--f-head); color: var(--wg); }
.ip .tk-in { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.ip .tk-in .gl { --s: 26px; }
.ip .tk-card p { margin: 8px 0 0; font: 400 13.5px/1.4 var(--f-text); color: var(--txt2); }
.ip.is-cine .ip-left { opacity: 0; }

/* input sequences everywhere: 'air' is a word, not a key */
.ip .mv-air { font: 600 10px var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--txt3); margin: 0 2px; white-space: nowrap; }

/* move name under the style meter */
.ip .hud-move { position: absolute; right: 28px; top: calc(45% + 64px); opacity: 0; transition: opacity .35s; text-align: right; }
.ip .hud-move.is-on { opacity: 1; transition: opacity .08s; }
.ip .hud-move span { display: inline-block; padding: 3px 10px; font: 700 13px var(--f-cond); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-hi);
  background: linear-gradient(90deg, rgba(14, 8, 12, 0), rgba(14, 8, 12, .7)); text-shadow: 0 1px 3px #000; }
.ip .hud-combo { top: calc(45% + 92px); }

/* finish prompt: positioned from G.hud.finish every frame */
.ip .hud-finish { position: absolute; left: 0; top: 0; will-change: transform; z-index: 4; }
.ip .fn-in { translate: -50% -50%; display: flex; flex-direction: column; align-items: center; gap: 3px; animation: ipFinish .8s ease-in-out infinite; }
.ip .gl-fn { --s: 40px; }
.ip .gl-fn.gl-face { box-shadow: inset 0 0 0 2px #fff1cf, 0 0 0 3px rgba(20, 12, 16, .8), 0 0 24px rgba(255, 241, 207, .8); }
.ip .gl-fn.gl-key, .ip .gl-fn.gl-pad, .ip .gl-fn.gl-mouse { --s: 34px; }
.ip .gl-fn.gl-mouse { color: #fff1cf; filter: drop-shadow(0 0 6px rgba(255, 241, 207, .9)) drop-shadow(0 1px 2px #000); }
.ip .fn-in b { font: 700 13px var(--f-cond); letter-spacing: .34em; text-transform: uppercase; color: #fff1cf; margin-left: .34em;
  text-shadow: 0 0 10px rgba(255, 241, 207, .8), 0 1px 3px #000; }
.ip .hud-finish.is-boss .gl-fn.gl-face { color: #2a1606; background: radial-gradient(circle at 50% 35%, #ffe7a6, #e3a33a 72%); box-shadow: inset 0 0 0 2px #fff6dc, 0 0 0 3px rgba(42, 22, 8, .85), 0 0 34px rgba(255, 194, 77, .95); }
.ip .hud-finish.is-boss .fn-in b { color: var(--gold-hi); font-size: 15px; text-shadow: 0 0 14px rgba(255, 194, 77, .95), 0 1px 3px #000; }
.ip .hud-finish.is-boss .gl-fn { --s: 48px; }
@keyframes ipFinish { 50% { transform: scale(1.12); filter: brightness(1.35); } }

/* cinematic letterbox: transforms only, so nothing reflows */
.ip .cine-bar { position: absolute; left: 0; right: 0; height: 9vh; background: #07040a; z-index: 9; pointer-events: none;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.ip .cine-top { top: 0; transform: translateY(-101%); box-shadow: 0 1px 0 rgba(255, 194, 77, .18); }
.ip .cine-bot { bottom: 0; transform: translateY(101%); box-shadow: 0 -1px 0 rgba(255, 194, 77, .18); }
.ip.is-cine .cine-top, .ip.is-cine .cine-bot { transform: none; }
.ip.is-cine .hud { opacity: 0; transition: opacity .35s; }
.ip.is-cine .ip-banner { opacity: 0; }
.ip.is-cine .cbtn-pause { opacity: 0; pointer-events: none; }

/* moves list (pause > Moves, and How to play > Combos) */
.ip .moves-panel { position: absolute; left: 50%; top: calc(50% - 24px); translate: -50% -50%; width: min(720px, 94vw); padding: 26px 30px 20px; }
.ip .moves-body { margin-top: 12px; max-height: calc(100vh - 300px); overflow: auto; padding: 0 6px 20px 0; scrollbar-width: thin; scrollbar-color: var(--gold-dim) transparent;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent); }
.ip .mv-list { display: flex; flex-direction: column; }
.ip .mv { padding: 9px 4px 10px; border-top: 1px solid rgba(255, 220, 160, .08); }
.ip .mv:first-child { border-top: 0; }
.ip .mv-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ip .mv-n { font: 400 19px/1.15 var(--f-head); color: var(--wg); }
.ip .mv-in { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.ip .mv-note { margin: 3px 0 0; font: 400 13.5px/1.4 var(--f-text); color: var(--txt2); }
.ip .mv.is-locked .mv-n { color: var(--txt3); }
.ip .mv-lock { display: inline-flex; align-items: center; gap: 6px; font: 600 11px var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--txt3); }
.ip .mv-lock .ico { width: 13px; height: 13px; }
.ip .how-moves { margin-top: 22px; }
.ip .how-moves h4 { margin: 0 0 4px; font: 700 12px var(--f-cond); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.ip .how-moves .mv-n { font-size: 16px; }
.ip .how-moves .mv-note { font-size: 13px; }

/* title: 'Bell rung' mark */
.ip .st-rung { display: none; align-items: center; gap: 5px; margin-left: 6px; padding: 2px 8px 2px 6px; border-radius: 10px;
  font: 700 10px var(--f-cond) !important; letter-spacing: .18em !important; color: #2a1606 !important; background: linear-gradient(180deg, #ffe39c, #e3a33a); }
.ip .st-rung .ico { width: 12px; height: 12px; color: #2a1606; }
.ip .st-rung.is-on { display: inline-flex; }

/* boss names of any length stay on one line */
.ip .bs-name span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 50px); }

/* ---------- victory ---------- */
.ip .scrim-won { overflow: hidden; background:
  radial-gradient(ellipse 70% 55% at 50% 30%, rgba(255, 214, 140, .42), rgba(255, 170, 80, .12) 55%, transparent 75%),
  linear-gradient(180deg, rgba(60, 32, 20, .55), rgba(30, 16, 14, .72) 60%, rgba(18, 10, 10, .9)); }
.ip .won-rays { position: absolute; left: 50%; top: 28%; width: 220vmax; height: 220vmax; translate: -50% -50%; opacity: .17;
  background: repeating-conic-gradient(from 0deg, rgba(255, 230, 170, .55) 0deg 3deg, transparent 3deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 38%); mask-image: radial-gradient(circle, #000 0%, transparent 38%);
  animation: ipSpin 120s linear infinite; }
.ip .won-glow { position: absolute; left: 50%; top: 24%; width: 520px; height: 520px; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 240, 200, .5), rgba(255, 200, 110, 0) 65%); animation: ipBreathe 6s ease-in-out infinite; }
.ip .petal { position: absolute; top: -4%; left: var(--px); width: 10px; height: 7px; border-radius: 70% 0 70% 0; opacity: .85;
  background: linear-gradient(135deg, #ffe0e6, #f2a3b5); transform: scale(var(--ps));
  animation: ipPetal var(--pd) linear var(--pw) infinite; }
@keyframes ipPetal { 0% { translate: 0 0; rotate: 0deg; } 50% { translate: 40px 55vh; rotate: 200deg; } 100% { translate: -20px 110vh; rotate: 420deg; } }
@keyframes ipBreathe { 50% { opacity: .7; transform: scale(1.08); } }
@keyframes ipSwing { 0%, 100% { rotate: -7deg; } 50% { rotate: 7deg; } }
@keyframes ipRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ip .won { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(880px, 94vw); text-align: center; }
.ip .won-bell { display: flex; justify-content: center; }
.ip .won-bell .emblem { width: 92px; height: 92px; transform-origin: 50% 30%; animation: ipSwing 3.4s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgba(255, 210, 120, .75)); }
.ip .won-k { display: block; margin-top: 8px; font: 600 13px var(--f-cond); letter-spacing: .5em; text-transform: uppercase; color: var(--gold-hi); }
.ip .won-h { margin: 8px 0 0; font: 400 clamp(44px, 6.2vw, 74px)/1.02 var(--f-head); letter-spacing: .03em;
  background: linear-gradient(180deg, #fffaf0 0%, #ffe3a3 40%, #e8a443 80%, #b97a20 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #4a2a10) drop-shadow(0 10px 30px rgba(120, 60, 10, .45)); }
.ip .won .rule { justify-content: center; margin: 14px 0 8px; }
.ip .won-line { margin: 0; font: italic 400 19px var(--f-head); color: var(--wg); opacity: .9; }
.ip .won-stats { margin: 26px 0 28px; }
.ip .won-stats .tile { background: linear-gradient(180deg, rgba(70, 44, 22, .82), rgba(34, 20, 14, .85)); box-shadow: inset 0 0 0 1px rgba(255, 194, 77, .35), inset 0 1px 0 rgba(255, 240, 200, .14); }
.ip .won-stats .tile b { color: var(--gold-hi); }
.ip .won .menu-row .mi { min-width: 190px; font-size: 17px; }
.ip .won .menu-row .mi-go { color: #2a1606; border-color: #ffe7b0; background: linear-gradient(180deg, #ffdf96, #eaa93f 55%, #b97a20); }
.ip .won .menu-row .mi-go .mi-sub { color: #5a3410; }
.ip .won .menu-row .mi-go.is-focus { color: #1a0d04; box-shadow: 0 0 0 2px #130c11, 0 0 0 4px var(--gold-hi), 0 0 30px rgba(255, 194, 77, .55); }
.ip .won .menu-row .mi-go::before { display: none; }
/* unhurried entrance, staged */
.ip .scr-won.is-on .won > * { animation: ipRise .9s cubic-bezier(.2, .7, .2, 1) both; }
.ip .scr-won.is-on .won > :nth-child(1) { animation-delay: .1s; }
.ip .scr-won.is-on .won > :nth-child(2) { animation-delay: .45s; }
.ip .scr-won.is-on .won > :nth-child(3) { animation-delay: .7s; }
.ip .scr-won.is-on .won > :nth-child(4) { animation-delay: 1s; }
.ip .scr-won.is-on .won > :nth-child(5) { animation-delay: 1.15s; }
.ip .scr-won.is-on .won > :nth-child(6) { animation-delay: 1.45s; }
.ip .scr-won.is-on .won > :nth-child(7) { animation-delay: 1.85s; }
.ip .scr-won { transition: opacity .6s ease, visibility 0s linear .6s; }
.ip .scr-won.is-on { transition: opacity .6s ease; }
@media (max-height: 760px) { .ip .won-bell .emblem { width: 70px; height: 70px; } .ip .won-stats { margin: 18px 0 20px; } }
@media (max-width: 1020px) { .ip .won .menu-row .mi { min-width: 160px; } }
.ip .mv-in .gl { --s: 24px; } .ip .how-moves .mv-in .gl { --s: 22px; }
/* mouse glyphs carry an L / R letter so Strike and Pillar Drop never look alike */
.ip .gl-mouse { position: relative; }
.ip .gl-mb { position: absolute; right: -3px; bottom: -2px; min-width: 11px; height: 11px; padding: 0 2px; border-radius: 3px; display: grid; place-items: center;
  font: 800 8.5px/1 var(--f-cond); color: #1f1418; background: #f4ece0; box-shadow: 0 0 0 1.5px #140c11; }

/* ---------- round 5: Dojo ---------- */
.ip .hud-wave .wv { align-items: flex-start; }
.ip .hud:not(.is-tut) .hud-wave .wv { align-items: center; }
.ip .wv-hint { display: inline-flex; align-items: center; gap: 7px; margin-top: 2px; padding: 4px 10px 4px 5px; border-radius: 14px;
  background: rgba(20, 12, 16, .72); box-shadow: inset 0 0 0 1px rgba(255, 194, 77, .3);
  font: 600 11px var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--txt2); white-space: nowrap; text-shadow: none; }
.ip .wv-hint .gl { --s: 20px; }

/* lead: larger move name */
.ip .hud-move span { font-size: 18px; padding: 4px 14px; letter-spacing: .2em; }
.ip .hud-combo { top: calc(45% + 100px); }

/* lead: cinematic polish */
.ip .hud { transition: opacity .7s ease .15s; }
.ip.is-cine .hud { opacity: 0; transition: opacity .25s; }
.ip .cine-bot { display: flex; align-items: center; justify-content: center; }
.ip .cine-name { font: 400 clamp(20px, 3.4vh, 30px) var(--f-head); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-hi); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; text-shadow: 0 0 18px rgba(255, 190, 80, .35); }
.ip .cine-name.is-on { opacity: 1; transform: none; }
