:root {
  --bg: #07080b; --ink: #e8dcc0; --muted: #9a8f78; --gold: #d6a84a; --gold2: #f3d58a; --blood: #b0201a;
  --panel: rgba(14, 12, 10, 0.94); --line: rgba(214, 168, 74, 0.35);
  --sa-l: env(safe-area-inset-left, 0px); --sa-r: env(safe-area-inset-right, 0px); --sa-b: env(safe-area-inset-bottom, 0px); --sa-t: env(safe-area-inset-top, 0px);
  --u: min(1vh, 1vw);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); font-family: 'EB Garamond', Georgia, serif; overflow: hidden; overscroll-behavior: none; user-select: none; -webkit-user-select: none; touch-action: none; }
#game { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
.hidden { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }

/* ---------- écrans ---------- */
.screen { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, #2a1610 0%, #0d0a09 55%, #040405 100%); }
.screen::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(255, 90, 20, 0.18), transparent 60%); pointer-events: none; }
.logo { font-family: 'Cinzel', serif; font-weight: 900; font-size: clamp(34px, 9vmin, 76px); line-height: 0.9; margin: 0 0 12px; text-align: center; letter-spacing: 0.04em;
  background: linear-gradient(180deg, #fff1c8 0%, #d6a84a 45%, #7a4a14 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 #000) drop-shadow(0 0 18px rgba(255, 120, 30, 0.35)); }
.logo span { font-size: 0.42em; letter-spacing: 0.28em; display: inline-block; margin-top: 6px; }
.logo.small { font-size: 34px; }
.titlebox, .pinbox, .loadbox, .deathbox { position: relative; text-align: center; padding: 20px; max-width: 520px; width: 100%; }
.tag { font-style: italic; color: var(--muted); font-size: 18px; margin: 0 0 22px; }
.tbtns { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.btn { background: linear-gradient(180deg, #2b231a, #17120d); border: 1px solid var(--line); color: var(--ink); padding: 10px 18px; border-radius: 4px; font-family: 'Cinzel', serif; font-weight: 700; font-size: 14px; letter-spacing: 0.05em;
  box-shadow: inset 0 1px 0 rgba(255, 220, 150, 0.12), 0 2px 6px rgba(0, 0, 0, 0.6); transition: transform 0.08s, filter 0.15s; }
.btn:active { transform: translateY(1px); filter: brightness(1.3); }
.btn:disabled { opacity: 0.4; pointer-events: none; }
.btn.primary { background: linear-gradient(180deg, #8a2a14, #4a120a); border-color: #e0884a; color: #ffe8c0; }
.btn.big { min-width: 260px; padding: 14px 24px; font-size: 18px; display: flex; flex-direction: column; align-items: center; }
.btn.big small { font-family: 'EB Garamond', serif; font-weight: 400; font-size: 13px; opacity: 0.8; letter-spacing: 0; }
.btn.sm { padding: 6px 10px; font-size: 12px; }
.btn.ghost { background: transparent; }
.pindots { display: flex; gap: 14px; justify-content: center; margin: 10px 0 16px; }
.pindots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--gold); }
.pindots i.on { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.pindots.bad { animation: shake 0.4s; } .pindots.bad i { border-color: var(--blood); }
@keyframes shake { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.pinpad { display: grid; grid-template-columns: repeat(3, 64px); gap: 10px; justify-content: center; }
.pinpad button { height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(30, 24, 18, 0.8); font-family: 'Cinzel'; font-size: 20px; }
.pinpad button:disabled { visibility: hidden; }
.pinbox p { margin: 0; color: var(--muted); }
@media (max-height: 500px) { .pinbox { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; max-width: 700px; } .pinbox .logo { grid-row: span 3; } .pinpad { grid-template-columns: repeat(3, 56px); gap: 8px; } .pinpad button { height: 44px; } }
.lbar { height: 6px; background: #1a1410; border: 1px solid var(--line); margin: 18px auto 10px; max-width: 360px; }
.lbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #8a2a14, #ffb050); box-shadow: 0 0 12px #ff7a2a; transition: width 0.2s; }
#loadTxt { color: var(--muted); font-style: italic; }
#death { background: radial-gradient(ellipse, rgba(80, 0, 0, 0.55), rgba(0, 0, 0, 0.92)); }
.deathbox h1 { font-family: 'Cinzel'; font-size: 54px; color: #c02018; text-shadow: 0 0 20px #800; margin: 0 0 10px; }
#rotate { display: none; }
@media (orientation: portrait) and (pointer: coarse) { #rotate { display: block; position: fixed; top: calc(8px + var(--sa-t)); left: 50%; transform: translateX(-50%); z-index: 40; background: rgba(0, 0, 0, 0.75); padding: 6px 12px; border-radius: 20px; font-size: 13px; color: var(--muted); pointer-events: none; animation: fade 6s forwards; } }
@keyframes fade { 80% { opacity: 1; } 100% { opacity: 0; } }
#err { position: fixed; bottom: 10px; left: 10px; right: 10px; z-index: 99; background: #400; padding: 10px; border: 1px solid #a00; font-family: monospace; font-size: 12px; }

/* ---------- HUD ---------- */
#hud { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
#hud button { pointer-events: auto; }
.top-left { position: absolute; top: calc(8px + var(--sa-t)); left: calc(10px + var(--sa-l)); display: flex; gap: 8px; align-items: center; }
.lvl { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: 'Cinzel'; font-weight: 900; font-size: 17px; color: var(--gold2);
  background: radial-gradient(circle at 40% 35%, #3a2a18, #120c08); border: 2px solid var(--gold); box-shadow: 0 0 10px rgba(0, 0, 0, 0.8); }
.xpwrap { min-width: 170px; }
.zone { font-family: 'Cinzel'; font-size: 12px; color: var(--ink); text-shadow: 0 1px 2px #000; margin-bottom: 3px; letter-spacing: 0.05em; }
.xpbar { height: 5px; background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(214, 168, 74, 0.4); }
.xpbar i { display: block; height: 100%; background: linear-gradient(90deg, #8a6a20, #f3d58a); width: 0; transition: width 0.3s; }
.gold { font-size: 13px; margin-top: 3px; text-shadow: 0 1px 2px #000; display: flex; align-items: center; gap: 4px; }
.coin { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe8a0, #b0801a); display: inline-block; }
.ess { color: #c48aff; margin-left: 8px; }
.top-right { position: absolute; top: calc(8px + var(--sa-t)); right: calc(10px + var(--sa-r)); display: flex; gap: 8px; align-items: flex-start; }
#minimap { width: calc(var(--u) * 26); height: calc(var(--u) * 26); max-width: 130px; max-height: 130px; border-radius: 50%; border: 2px solid var(--gold); box-shadow: 0 0 12px #000, inset 0 0 20px #000; background: #000; opacity: 0.92; }
.menu-btns { display: flex; flex-direction: column; gap: 6px; }
.mb { width: 40px; height: 40px; border-radius: 6px; border: 1px solid var(--line); background: rgba(20, 16, 12, 0.85); padding: 8px; position: relative; color: var(--gold2); }
.mb svg { width: 100%; height: 100%; display: block; }
.mb em { position: absolute; top: -5px; right: -5px; font-style: normal; font-size: 10px; background: #2a2018; border-radius: 8px; padding: 0 4px; color: var(--ink); }
.mb em:empty { display: none; }
.mb em.on { background: #c03010; color: #fff; animation: pulse 1s infinite alternate; }
@keyframes pulse { to { box-shadow: 0 0 10px #ff6020; } }

.orbs { position: absolute; bottom: calc(6px + var(--sa-b)); left: 50%; transform: translateX(-50%); display: flex; gap: calc(var(--u) * 28); }
.orb { width: calc(var(--u) * 19); height: calc(var(--u) * 19); min-width: 64px; min-height: 64px; max-width: 110px; max-height: 110px; border-radius: 50%; position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #120a0a, #050303); border: 3px solid #5a4424; box-shadow: 0 0 0 2px #1a120a, 0 4px 14px #000, inset 0 0 18px #000; }
.orb .fill { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; transition: height 0.15s; }
.orb.hp .fill { background: radial-gradient(circle at 40% 30%, #ff5a4a, #a4100c 45%, #4a0404 100%); }
.orb.mana .fill { background: radial-gradient(circle at 40% 30%, #6aa0ff, #1a3cae 45%, #060e40 100%); }
.orb .fill::before { content: ''; position: absolute; top: -6px; left: -20%; width: 140%; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); animation: wave 3s linear infinite; }
@keyframes wave { 50% { transform: translateX(8%) scaleY(0.6); } }
.orb .gloss { position: absolute; inset: 6% 18% 52% 18%; border-radius: 50%; background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent); }
.orb span { position: absolute; bottom: 14%; width: 100%; text-align: center; font-family: 'Cinzel'; font-weight: 700; font-size: 12px; text-shadow: 0 1px 2px #000, 0 0 4px #000; }
.orb.flash { animation: mflash 0.4s; } @keyframes mflash { 50% { box-shadow: 0 0 0 2px #1a120a, 0 0 25px #4080ff; border-color: #80b0ff; } }

/* boutons de sorts en arc */
.skills { position: absolute; right: calc(14px + var(--sa-r)); bottom: calc(10px + var(--sa-b)); width: calc(var(--u) * 50); height: calc(var(--u) * 50); min-width: 190px; min-height: 190px; max-width: 280px; max-height: 280px; }
.sk { position: absolute; border-radius: 50%; border: 2px solid #6a5030; background: radial-gradient(circle at 40% 30%, #3a2c20, #120c08); padding: 0; overflow: hidden; touch-action: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(0, 0, 0, 0.8); }
.sk .ic { position: absolute; inset: 22%; display: block; }
.sk .ic svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 4px currentColor); }
.sk .cd { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(rgba(0, 0, 0, 0.72) var(--cd, 0deg), transparent 0); }
.sk .key { position: absolute; bottom: 2px; right: 50%; transform: translateX(50%); font-family: 'Cinzel'; font-size: 10px; font-weight: 700; color: var(--ink); text-shadow: 0 0 3px #000; }
.sk.pressed { transform: scale(0.93); filter: brightness(1.4); }
.sk.locked { opacity: 0.25; filter: grayscale(1); }
.sk.nomana .ic { opacity: 0.35; }
.sk.big { width: 42%; height: 42%; right: 0; bottom: 0; color: #d0a0ff; border-color: #8a6aa8; }
.sk.s1, .sk.s2, .sk.s3, .sk.s4 { width: 25%; height: 25%; }
.sk.s1 { right: 44%; bottom: 2%; color: #ff8a3a; }
.sk.s2 { right: 39%; bottom: 31%; color: #8ad0ff; }
.sk.s3 { right: 20%; bottom: 52%; color: #b8d0ff; }
.sk.s4 { right: -2%; bottom: 57%; color: #ff6020; }
.sk.blink { width: 20%; height: 20%; right: 72%; bottom: 4%; color: #c48aff; }
.sk.potion { width: 18%; height: 18%; right: 62%; bottom: 52%; color: #ff4050; border-color: #803030; }
.sk.potion .key { font-size: 12px; bottom: 0; }
.sk.potion.empty { opacity: 0.4; }

.action { position: absolute; right: calc(var(--u) * 52 + 30px + var(--sa-r)); bottom: calc(var(--u) * 24 + var(--sa-b)); padding: 10px 16px; border-radius: 4px; border: 1px solid #e0a050; color: #ffe8c0; font-family: 'Cinzel'; font-weight: 700; font-size: 14px;
  background: linear-gradient(180deg, rgba(110, 50, 16, 0.95), rgba(50, 20, 8, 0.95)); box-shadow: 0 0 18px rgba(255, 140, 40, 0.45); animation: pulse 1s infinite alternate; }

.joy { position: absolute; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 2px solid rgba(214, 168, 74, 0.35); background: radial-gradient(circle, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.35)); }
.joy .knob { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle at 40% 35%, rgba(255, 220, 160, 0.55), rgba(120, 80, 30, 0.45)); border: 2px solid rgba(255, 220, 160, 0.5); }

.rift-hud { position: absolute; top: calc(8px + var(--sa-t)); left: 50%; transform: translateX(-50%); width: min(40vw, 320px); text-align: center; font-family: 'Cinzel'; font-size: 13px; text-shadow: 0 1px 3px #000; }
.rift-hud .late { color: #ff5040; }
.rbar { height: 8px; margin-top: 4px; border: 1px solid #8a50c0; background: rgba(0, 0, 0, 0.6); }
.rbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #5a1a9a, #d080ff); box-shadow: 0 0 10px #a040ff; transition: width 0.3s; }
.bossbar { position: absolute; top: calc(52px + var(--sa-t)); left: 50%; transform: translateX(-50%); width: min(56vw, 480px); text-align: center; }
.bossbar .bn { font-family: 'Cinzel'; font-weight: 700; font-size: 15px; color: #ffb080; text-shadow: 0 0 8px #a02000, 0 1px 2px #000; margin-bottom: 4px; }
.bb { height: 12px; border: 1px solid #a04020; background: rgba(0, 0, 0, 0.7); }
.bb i { display: block; height: 100%; background: linear-gradient(180deg, #ff4a2a, #8a0a04); transition: width 0.2s; }

.floats { position: absolute; inset: 0; overflow: hidden; }
.fnum { position: absolute; left: 0; top: 0; font-family: 'Cinzel'; font-weight: 900; font-size: 15px; color: #fff; text-shadow: 0 0 3px #000, 0 1px 2px #000; white-space: nowrap; will-change: transform; margin-left: -20px; }
.fnum.fire { color: #ffb070; } .fnum.cold { color: #a8e0ff; } .fnum.light { color: #d8e4ff; } .fnum.arcane { color: #e0c0ff; } .fnum.dot { color: #ff9050; font-size: 12px; }
.fnum.crit { color: #ffe040; font-size: 22px; }
.fnum.hurt { color: #ff3030; } .fnum.gold { color: #ffd060; font-size: 13px; } .fnum.heal { color: #ff8090; font-size: 13px; }
.mbar { position: absolute; left: 0; top: 0; width: 46px; margin-left: -23px; height: 5px; background: rgba(0, 0, 0, 0.7); border: 1px solid rgba(0, 0, 0, 0.9); will-change: transform; }
.mbar i { display: block; height: 100%; background: #c02018; }
.mbar span { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: 'Cinzel'; font-size: 11px; font-weight: 700; color: #ffd84a; text-shadow: 0 0 3px #000, 0 1px 2px #000; }
.mbar.elite { width: 70px; margin-left: -35px; } .mbar.elite i { background: #e0a020; }
.dlabel { position: absolute; left: 0; top: 0; font-family: 'Cinzel'; font-size: 11px; font-weight: 700; padding: 1px 5px; background: rgba(0, 0, 0, 0.65); border-radius: 2px; white-space: nowrap; transform-origin: center; margin-left: -40px; will-change: transform; }
.toasts { position: absolute; top: 26%; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; width: 90%; }
.toast { font-family: 'Cinzel'; font-weight: 700; font-size: 15px; padding: 6px 14px; text-align: center; background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.75), transparent); text-shadow: 0 1px 3px #000; animation: tin 0.4s; transition: opacity 0.6s; max-width: 600px; }
.toast.out { opacity: 0; }
.toast.zone { font-size: 26px; color: var(--gold2); letter-spacing: 0.1em; background: none; text-shadow: 0 0 12px #000, 0 2px 4px #000; }
.toast.level { color: var(--gold2); font-size: 20px; } .toast.skill { color: #c0a0ff; } .toast.boss { color: #ff7050; font-size: 18px; } .toast.legend { color: #ff9a2e; } .toast.info { font-family: 'EB Garamond'; font-weight: 400; font-size: 15px; color: var(--ink); }
@keyframes tin { from { opacity: 0; transform: translateY(8px); } }
.pickups { position: absolute; left: calc(12px + var(--sa-l)); top: 30%; display: flex; flex-direction: column; gap: 3px; }
.pk { font-size: 13px; background: rgba(0, 0, 0, 0.55); padding: 2px 8px; transition: opacity 0.5s; font-family: 'Cinzel'; animation: tin 0.3s; }
.pk.out { opacity: 0; }
.hurt { position: absolute; inset: 0; box-shadow: inset 0 0 90px rgba(200, 0, 0, 0); pointer-events: none; }
.hurt.on { animation: hurt 0.45s; } @keyframes hurt { 15% { box-shadow: inset 0 0 90px rgba(200, 0, 0, 0.7); } }

/* ---------- panneaux ---------- */
.panel { position: fixed; z-index: 30; inset: calc(10px + var(--sa-t)) calc(10px + var(--sa-r)) calc(10px + var(--sa-b)) calc(10px + var(--sa-l)); max-width: 980px; margin: 0 auto;
  background: linear-gradient(180deg, rgba(26, 20, 14, 0.97), rgba(10, 8, 6, 0.97)); border: 1px solid var(--line); box-shadow: 0 0 0 1px #000, 0 10px 40px #000; padding: 14px 18px; overflow-y: auto; touch-action: pan-y; }
.panel h2 { font-family: 'Cinzel'; font-size: 17px; color: var(--gold2); margin: 4px 0 10px; border-bottom: 1px solid var(--line); padding-bottom: 6px; letter-spacing: 0.06em; }
.panel h2 small { font-family: 'EB Garamond'; color: var(--muted); font-size: 14px; letter-spacing: 0; margin-left: 8px; }
.panel p { margin: 2px 0; color: var(--muted); font-size: 15px; }
.close { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 1px solid var(--line); background: #1a140e; border-radius: 50%; font-size: 16px; }
.muted { color: var(--muted); }
.cols { display: flex; gap: 18px; flex-wrap: wrap; }
.doll { display: grid; grid-template-columns: repeat(3, 58px); gap: 8px; }
.doll .slot:nth-child(1) { grid-column: 2; } .doll .slot:nth-child(2) { grid-column: 3; } .doll .slot:nth-child(3) { grid-column: 1; grid-row: 2; } .doll .slot:nth-child(4) { grid-column: 2; grid-row: 2; }
.doll .slot:nth-child(5) { grid-column: 3; grid-row: 2; } .doll .slot:nth-child(6) { grid-column: 1; grid-row: 3; } .doll .slot:nth-child(7) { grid-column: 2; grid-row: 3; }
.slot { width: 58px; height: 58px; border: 1px solid var(--rc, #3a3024); background: radial-gradient(circle, color-mix(in srgb, var(--rc, #222) 22%, #0c0a08), #0a0806); position: relative; display: grid; place-items: center; cursor: pointer; border-radius: 3px; box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.8); }
.slot span { font-size: 24px; color: var(--rc, #554a3a); filter: drop-shadow(0 0 4px var(--rc, transparent)); }
.slot small { position: absolute; bottom: 1px; right: 3px; font-size: 10px; color: var(--muted); }
.slot.empty { --rc: #3a3024; cursor: default; } .slot.empty span { opacity: 0.35; } .slot.empty small { right: 0; left: 0; text-align: center; font-size: 9px; }
.slot .up { position: absolute; top: 1px; left: 3px; font-style: normal; font-size: 11px; color: #50e050; }
.slot.sel { outline: 2px solid #fff; }
.stats { flex: 1; min-width: 260px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px 16px; align-content: start; font-size: 14px; }
.stats div { display: flex; justify-content: space-between; border-bottom: 1px dotted rgba(214, 168, 74, 0.15); }
.stats span { color: var(--muted); } .stats b { color: var(--ink); font-weight: 600; }
.bagh { display: flex; align-items: center; gap: 8px; margin-top: 12px; } .bagh h2 { flex: 1; margin: 0; }
.bag { display: grid; grid-template-columns: repeat(auto-fill, 52px); gap: 5px; margin-top: 8px; }
.bag .slot { width: 52px; height: 52px; }
.tip { position: fixed; z-index: 40; inset: 0; background: rgba(0, 0, 0, 0.6); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px; gap: 10px; }
.tip .cards { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; justify-content: center; max-height: 75vh; overflow-y: auto; }
.eqlabel { display: none; }
.card { width: 270px; background: linear-gradient(180deg, #16120d, #0a0806); border: 1px solid var(--rc); padding: 10px 12px; box-shadow: 0 0 20px color-mix(in srgb, var(--rc) 25%, transparent); font-size: 14px; }
.card.empty { --rc: #333; color: var(--muted); text-align: center; }
.card .nm { font-family: 'Cinzel'; font-weight: 700; color: var(--rc); font-size: 16px; }
.card .ty { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.card .base { font-size: 15px; } .card .base b { font-size: 20px; color: #fff; }
.card ul { margin: 6px 0; padding-left: 16px; color: #8aa8ff; } .card li { margin: 1px 0; }
.card .pow { color: #ff9a2e; font-style: italic; border-top: 1px solid rgba(255, 140, 40, 0.3); padding-top: 4px; }
.card .diff { margin-top: 6px; font-weight: 600; } .diff.up { color: #50e050; } .diff.down { color: #ff5050; }
.card.r-legendary { background: linear-gradient(180deg, #24160a, #0a0806); }
.tip .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.sklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px; margin-bottom: 10px; }
.skrow { display: flex; gap: 10px; align-items: center; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(214, 168, 74, 0.2); padding: 8px; }
.skrow.locked { opacity: 0.45; }
.skic { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid #6a5030; padding: 9px; background: #120c08; display: grid; place-items: center; color: var(--gold2); font-size: 20px; }
.skic svg { width: 100%; height: 100%; } .skic.fire { color: #ff8a3a; } .skic.ice { color: #8ad0ff; } .skic.light { color: #b8d0ff; } .skic.meteor { color: #ff6020; }
.skt { flex: 1; } .skt small { color: var(--muted); } .skt p { font-size: 13px; } .skt em { color: #6a9aff; font-style: normal; }
.pips { display: flex; gap: 3px; margin-top: 3px; } .pips i { width: 14px; height: 4px; background: #2a2018; } .pips i.on { background: var(--gold); box-shadow: 0 0 4px var(--gold); }
.plus { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e0a050; background: #4a1a08; font-size: 20px; font-weight: 700; color: #ffe0b0; }
.plus:disabled { opacity: 0.2; }
.frow { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 8px 0; border-bottom: 1px dotted rgba(214, 168, 74, 0.15); }
.frow.danger b { color: #ff7060; }
.seg { display: flex; gap: 4px; }
.flist { display: flex; flex-wrap: wrap; gap: 5px; }
.flist .slot { width: 48px; height: 48px; }
.reroll { display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; } .rr { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.tier { display: flex; align-items: center; gap: 20px; justify-content: center; margin: 14px 0; }
.tier div { display: flex; flex-direction: column; align-items: center; } .tier b { font-family: 'Cinzel'; font-size: 44px; color: #d080ff; text-shadow: 0 0 14px #8030c0; line-height: 1; }
.tier small { color: var(--muted); }
.riftp, .setp { text-align: center; } .riftp .btn.big, .setp .btn.big { margin: 14px auto 0; } .setp .frow { text-align: left; }
.lore { font-style: italic; font-size: 17px !important; }
input[type=range] { accent-color: var(--gold); width: 160px; }
