:root {
  --ink: #120c1a; --panel: #1d1529; --well: #130d1c; --raise: #3a2c50; --line: #5a4672; --gold1: #ffe7a6; --gold2: #d99a3c; --gold3: #7d4c1c;
  --rim: inset 0 0 0 1px #ffe7a638, inset 0 1px 0 #fff4d855;
  --text: #f6f0e2; --dim: #b9adc9; --amber: #ffb54a; --ember: #ff7a3c; --good: #86e07a; --bad: #ff7d6b; --cyan: #7ff0ff;
  --serif: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --st: env(safe-area-inset-top, 0px); --sb: env(safe-area-inset-bottom, 0px); --sl: env(safe-area-inset-left, 0px); --sr: env(safe-area-inset-right, 0px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--ink); color: var(--text); font: 15px/1.4 var(--sans); overscroll-behavior: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
#game { position: fixed; inset: 0; display: block; touch-action: none; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M3 2 25 13.5 15.2 16.4 11 26Z' fill='%23f2d28a' stroke='%23241509' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M5.6 5 19.5 12.6 13.6 14.4Z' fill='%23fff4d0'/%3E%3C/svg%3E") 3 2, default; }
#game[data-cur=atk] { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cg stroke='%23240a08' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M2 2 8 3.5 22 18 18 22 3.5 8Z' fill='%23ff9a7a'/%3E%3Cpath d='M24.5 14 27 16.500 16.500 27 14 24.500Z' fill='%23e0a53a'/%3E%3Cpath d='M22.500 20 29 26.500 26.500 29 20 22.500Z' fill='%238a3b22'/%3E%3C/g%3E%3C/svg%3E") 2 2, crosshair; }
#game[data-cur=talk] { cursor: pointer; }
#ov { position: fixed; inset: 0; pointer-events: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
svg { width: 1em; height: 1em; display: block; flex: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 8px 16px; border-radius: 7px; background: linear-gradient(#54416f, #33264a 55%, #291e3d); font-weight: 650; white-space: nowrap; box-shadow: var(--rim), 0 2px 5px #000a; text-shadow: 0 1px 2px #000a; transition: filter .12s; }
.btn:hover { filter: brightness(1.22); }
.btn:active { transform: translateY(1px); filter: brightness(.92); }
.btn.primary { background: linear-gradient(#ffe29a, #f5ab45 48%, #d9772a); color: #2c1405; text-shadow: 0 1px 0 #ffeec4a0; box-shadow: inset 0 1px 0 #fffbe6, inset 0 0 0 1px #8a4a14, 0 2px 8px #ff8a2a50, 0 2px 4px #0009; }
.btn.primary:hover { filter: brightness(1.1); }
.btn.danger { background: linear-gradient(#c0474a, #7a2329); }
.btn:disabled { background: #241b31; color: #9488a6; box-shadow: inset 0 0 0 1px #ffffff10; cursor: default; transform: none; filter: none; text-shadow: none; }
.btn.big { min-height: 54px; padding: 10px 30px; font-size: 19px; border-radius: 10px; }
.gold, .gem, .cost { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cost.no { color: var(--bad); }

/* ── başlık */
#title { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: 6vh max(24px, 8vw); background: linear-gradient(90deg, #0e0818d9, #0e081880 34%, transparent 62%); }
#title h1 { font-size: clamp(60px, 11vw, 138px); font-weight: 700; letter-spacing: -.02em; color: transparent; background: linear-gradient(#fffbe8 18%, #ffd88a 46%, #e8923a 70%, #a84a1c 92%); -webkit-background-clip: text; background-clip: text; padding: .06em .08em .14em 0; filter: drop-shadow(0 2px 0 #3a1608) drop-shadow(0 8px 26px #ff7a2a90); }
#loading { width: 220px; height: 6px; border-radius: 3px; background: #ffffff22; overflow: hidden; } #loading i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #e8923a, #ffe9a8); transition: width .2s; }
#title p { font-size: clamp(17px, 2vw, 22px); max-width: 24em; text-shadow: 0 2px 8px #000; }
.title-actions, #new-confirm { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
#new-confirm span { width: 100%; }

/* ── oyun içi göstergeler */
#hud { position: fixed; inset: 0; pointer-events: none; text-shadow: 0 1px 3px #000c; }
#hud button { pointer-events: auto; }
.me { position: absolute; left: calc(12px + var(--sl)); bottom: calc(12px + var(--sb)); width: 344px; padding: 11px 13px 11px; display: grid; gap: 9px; border-radius: 14px; background: radial-gradient(120% 100% at 0 0, #4a3562f2, transparent 62%), linear-gradient(#20162ef5, #120c1bf5); box-shadow: inset 0 0 0 1px #ffe7a64d, 0 0 0 1px #1a0e08, 0 0 0 3px var(--gold2), 0 0 0 4px var(--gold3), 0 0 0 5px #140b08, 0 12px 34px #000c; }
.mtop { display: flex; align-items: center; gap: 14px; } .mtop .bars { flex: 1; width: auto; }
.who { display: flex; justify-content: space-between; align-items: baseline; line-height: 1.1; } .who b { font: 700 19px/1.1 var(--serif); color: #ffe3a6; } .who span { font-size: 13px; font-weight: 700; color: #ffcf6a; }
.mstat { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; padding: 0 2px; } .mstat span { display: inline-flex; gap: 5px; align-items: center; } .mstat svg { font-size: 16px; color: var(--gold1); }
.inv { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; } .inv .slot:hover { filter: brightness(1.25); }
.mrow { display: flex; gap: 8px; align-items: stretch; }
.goal { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; padding: 3px 9px 3px 4px; border-radius: 8px; text-align: left; font-size: 12px; line-height: 1.2; overflow: hidden; background: linear-gradient(90deg, color-mix(in srgb, var(--r) 45%, #1a1226) calc(var(--k) * 100%), #0e0916 0); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--r) 70%, #000); }
.goal img { width: 28px; height: 28px; flex: none; } .goal span { min-width: 0; } .goal b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .goal.ready { box-shadow: inset 0 0 0 2px var(--amber), 0 0 14px #ffb54a99; } .goal.ready span { color: #ffe9a8; }
.face { position: relative; width: 76px; height: 76px; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #8a70b8, #2a1f3d 75%); box-shadow: 0 0 0 2px #2a160a, 0 0 0 4px var(--gold1), 0 0 0 6px var(--gold2), 0 0 0 8px var(--gold3), 0 0 0 9px #120a08, 0 6px 18px #000c; margin: 5px 4px 0 5px; }
.face img { width: 100%; height: 100%; border-radius: 50%; display: block; }
.face b { position: absolute; right: -6px; bottom: -4px; min-width: 29px; padding: 2px 5px; border-radius: 15px; background: linear-gradient(var(--gold1), var(--gold2)); color: #2c1405; text-shadow: none; font-size: 15px; box-shadow: 0 0 0 3px #1a1226; text-align: center; }
.face.has::after, .menu .has::after { content: ""; position: absolute; right: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 3px #1a1226; }
.bars { width: clamp(150px, 21vw, 268px); display: grid; gap: 4px; }
.bar { position: relative; height: 13px; border-radius: 4px; background: linear-gradient(#08050d, #1c1428); overflow: hidden; box-shadow: 0 0 0 1px #0a0610, 0 0 0 2px #8a6434, 0 2px 6px #0009; }
.bar::after { content: ""; position: absolute; inset: 0 0 52% 0; background: linear-gradient(#ffffff66, #ffffff14); border-radius: 4px 4px 0 0; pointer-events: none; }
.bar i, .bar em { position: absolute; inset: 0; transform-origin: left; transition: transform .12s linear; }
.bar span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.bar.hp { height: 21px; } .bar.hp i { background: linear-gradient(#ff7a62, #d2283a 45%, #8c1226); } .bar.hp em { background: #ffd88ab0; height: 6px; }
.bar.mp { height: 15px; } .bar.mp i { background: linear-gradient(#7ad0ff, #2f6fe0 45%, #1c3a9c); } .bar.mp span { font-size: 11px; }
.bar.xp { height: 14px; } .bar.xp span { font-size: 10.5px; } .bar.xp i { background: linear-gradient(#ffe48a, #f0a63a); }
.track { position: absolute; left: calc(16px + var(--sl)); top: calc(16px + var(--st)); width: min(280px, 44vw); text-align: left; padding: 9px 12px; border-radius: 8px; background: linear-gradient(100deg, #160e22e6, #160e2296 70%, #160e2240); box-shadow: inset 2px 0 0 var(--gold2); line-height: 1.3; }
.track:hover { background: #2a1f3dd0; }
.track b { display: block; font-family: var(--serif); font-size: 16px; color: #ffdb91; }
.track span { font-size: 13.5px; } .track hr { border: 0; border-top: 1px solid #ffffff22; margin: 6px 0; }
.track .b { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: #dcd2e8; }
.info { position: absolute; z-index: 2; left: calc(12px + var(--sl)); bottom: calc(262px + var(--sb)); width: 284px; max-height: calc(100vh - 274px); overflow-y: auto; scrollbar-width: thin; pointer-events: auto; padding: 12px 13px; display: grid; gap: 9px; border-radius: 12px; background: linear-gradient(#2c203ef7, #130d1cf7); box-shadow: var(--rim), 0 0 0 1px #0a0610, 0 8px 24px #000b; font-size: 13.5px; }
.info .close { position: absolute; right: 8px; top: 8px; width: 32px; height: 32px; z-index: 1; } #i-top { display: flex; gap: 10px; align-items: center; padding-right: 34px; min-height: 34px; } #i-top img { width: 52px; height: 52px; border-radius: 9px; background: radial-gradient(circle, #6a528c, #1c1428); box-shadow: var(--rim); flex: none; }
#i-top h3 { margin: 0; font: 700 17px/1.15 var(--serif); color: #ffe3a6; } #i-top span, .info p { color: var(--dim); font-size: 12.5px; line-height: 1.35; } .info p { margin: 0; } #i-body { display: grid; gap: 9px; }
.irows { display: grid; gap: 3px; } .irows.sep { padding-top: 8px; border-top: 1px solid #ffffff1c; } .irows div { display: flex; justify-content: space-between; gap: 10px; } .irows span { color: var(--dim); flex: none; } .irows b { text-align: right; font-variant-numeric: tabular-nums; } .irows small { font-weight: 400; color: var(--dim); }
.irew { display: flex; flex-wrap: wrap; gap: 5px 14px; padding: 7px 10px; border-radius: 8px; background: var(--well); font-size: 14.5px; font-weight: 700; } .irew .xp { color: #ffe08a; } .orbn { display: inline-flex; gap: 5px; align-items: center; } .orbn img { width: 22px; height: 22px; }
.corner { position: absolute; right: calc(16px + var(--sr)); top: calc(14px + var(--st)); width: 168px; display: grid; justify-items: center; gap: 6px; }
.mini { width: 158px; height: 158px; border-radius: 50%; box-shadow: 0 0 0 2px #2a160a, 0 0 0 4px var(--gold1), 0 0 0 7px var(--gold2), 0 0 0 9px var(--gold3), 0 0 0 10px #120a08, 0 8px 22px #000c, inset 0 0 22px #000; overflow: hidden; margin-top: 6px; }
.mini canvas { width: 100%; height: 100%; display: block; }
.zone { text-align: center; margin-top: 6px; line-height: 1.2; padding: 3px 11px 5px; border-radius: 9px; background: #1a1226b8; } .zone span { white-space: nowrap; } .zone b { font-family: var(--serif); font-size: 17px; display: block; } .zone span { font-size: 12.5px; color: #e3d9ee; }
.purse { display: flex; gap: 14px; padding: 5px 13px; border-radius: 8px; background: linear-gradient(#2c203ee6, #160e22e6); box-shadow: var(--rim), 0 3px 8px #0008; font-size: 15.5px; } .purse svg { font-size: 18px; }
.boss { position: absolute; left: 50%; top: calc(16px + var(--st)); width: min(480px, 40vw); transform: translateX(-50%); text-align: center; }
.boss b { font: 700 22px var(--serif); color: #ffcf9a; } .boss .bar { height: 19px; margin-top: 3px; box-shadow: 0 0 0 1px #0a0610, 0 0 0 3px var(--gold2), 0 0 0 4px var(--gold3), 0 0 24px #ff3a2a80; }
.boss.rift b { color: #dcc0ff; } .boss.rift .bar i { background: linear-gradient(#d9b0ff, #8a4aff 45%, #4a1c9c); } .boss.rift.low .bar i { background: linear-gradient(#ff9a7a, #e0382a 45%, #8c1226); } .boss.rift .bar { box-shadow: 0 0 0 1px #0a0610, 0 0 0 3px #8a5ad0, 0 0 0 4px #3c2068, 0 0 24px #8a4aff80; }
.buffs { display: grid; gap: 4px; justify-items: center; } .buffs span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 8px; background: #1a1226d9; box-shadow: inset 0 0 0 1px var(--r); font-size: 12.5px; font-weight: 700; white-space: nowrap; } .buffs svg { color: var(--r); font-size: 15px; } .buffs small { font-weight: 600; color: #e3d9ee; font-variant-numeric: tabular-nums; }
.affs { display: grid; gap: 5px; } .affs div { padding: 5px 9px; border-radius: 7px; background: color-mix(in srgb, var(--r) 16%, #100a18); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--r) 70%, #000); line-height: 1.3; } .affs b { color: var(--r); }
.talents { display: grid; gap: 7px; margin-bottom: 22px; } .talrow { display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: stretch; } .tlv { display: grid; place-items: center; font: 700 19px var(--serif); color: var(--gold1); } .talrow.lock { opacity: .55; }
.tal { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 11px; align-items: center; text-align: left; padding: 8px 11px; border-radius: 10px; font-size: 13px; line-height: 1.3; background: linear-gradient(#1b1328d9, #100a18d9); box-shadow: inset 0 0 0 1px #ffe7a61c, inset 0 2px 8px #0007; } .tal b { display: block; font-size: 14.5px; } .tal .ic { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; font-size: 22px; background: #2c2040; color: var(--dim); } .tal:not(:disabled):hover { background: #3a2c55; }
.tal.on, .tal.on:not(:disabled):hover { background: linear-gradient(color-mix(in srgb, var(--c) 30%, #1b1328), color-mix(in srgb, var(--c) 12%, #100a18)); box-shadow: inset 0 0 0 2px var(--c), 0 0 14px color-mix(in srgb, var(--c) 35%, transparent); } .tal.on .ic { background: color-mix(in srgb, var(--c) 55%, #1a1226); color: #fff; } .tal:disabled { cursor: default; }
.bkhead { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; } .bkhead div { padding: 11px 14px; border-radius: 11px; background: linear-gradient(120deg, #5a3520, #2c1d36); } .bkhead b { display: block; font: 700 25px/1.15 var(--serif); color: #ffdb91; } .bkhead span { font-size: 13px; }
.bks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .bk { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 8px 11px; border-radius: 10px; background: linear-gradient(color-mix(in srgb, var(--r) 14%, #1b1328), #100a18); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--r) 60%, #100a18); } .bk > img { width: 56px; height: 56px; border-radius: 9px; background: radial-gradient(circle, #6a528c, #1c1428); } .bk.new > img { filter: grayscale(1) brightness(.55); }
.bk b, .bk small { display: block; } .bk small { font-size: 12px; color: var(--dim); } .bk .bar { height: 7px; margin: 5px 0 4px; } .bk .bar i { background: linear-gradient(#ffd685, #f08f34); } .bdg { display: grid; grid-template-columns: 13px 13px; gap: 5px; } .bdg i { width: 13px; height: 13px; transform: rotate(45deg) scale(.82); border-radius: 3px; background: #2a1f3a; box-shadow: inset 0 0 0 1px #5a4672; } .bdg i.on { background: var(--b); box-shadow: 0 0 8px var(--b); }
@media (max-width: 620px) { .talrow { grid-template-columns: 28px minmax(0, 1fr); } .talrow .tlv { grid-row: span 2; } .bkhead { grid-template-columns: minmax(0, 1fr); gap: 6px; } .bkhead div { padding: 7px 12px; } .bks { grid-template-columns: minmax(0, 1fr); } .buffs span { font-size: 11px; padding: 2px 6px; } }
.menu { position: absolute; right: calc(16px + var(--sr)); bottom: calc(16px + var(--sb)); display: grid; grid-template-columns: repeat(4, 46px); gap: 9px 7px; justify-content: end; }
.menu button { position: relative; width: 46px; height: 46px; border-radius: 10px; background: linear-gradient(#4a3866f2, #1e1530f2); color: var(--gold1); display: grid; place-items: center; box-shadow: var(--rim), 0 0 0 1px #0a0610, 0 4px 10px #000a; transition: filter .12s; }
.menu button:hover { filter: brightness(1.35); } .menu svg { font-size: 23px; }
kbd { font: 700 11px/1 var(--sans); padding: 2px 5px; border-radius: 4px; background: #140d1d; color: #e9def4; }
.menu kbd { position: absolute; left: -3px; bottom: -5px; }
.skills { position: absolute; left: max(50%, 596px); bottom: calc(16px + var(--sb)); transform: translateX(-50%); display: flex; align-items: flex-end; gap: 9px; }
.sk { position: relative; width: 62px; height: 62px; border-radius: 14px; display: grid; place-items: center; background: radial-gradient(circle at 50% 112%, color-mix(in srgb, var(--c, #8a7aa8) 88%, #fff) 0, color-mix(in srgb, var(--c, #8a7aa8) 62%, #1a1028) 38%, #140d1e 92%); color: #fff; box-shadow: inset 0 0 14px color-mix(in srgb, var(--c, #8a7aa8) 70%, transparent), 0 0 0 1px #120a08, 0 0 0 2px var(--gold1), 0 0 0 4px var(--gold2), 0 0 0 5px var(--gold3), 0 0 0 6px #120a08, 0 6px 14px #000b; margin: 0 3px; }
.sk::before { content: ""; position: absolute; inset: 1px 1px 54% 1px; border-radius: 13px 13px 50% 50% / 13px 13px 14px 14px; background: linear-gradient(#ffffff5c, #ffffff08); pointer-events: none; }
.sk svg { font-size: 34px; filter: drop-shadow(0 0 5px color-mix(in srgb, var(--c, #fff) 80%, #fff)) drop-shadow(0 2px 2px #000); }
.sk.sm { width: 50px; height: 50px; border-radius: 12px; } .sk.sm svg { font-size: 26px; }
.sk.ult { width: 72px; height: 72px; } .sk.ult svg { font-size: 41px; }
.sk .cd { position: absolute; inset: 0; border-radius: inherit; background: conic-gradient(#0c0714c9 calc(var(--p, 0) * 1turn), transparent 0); pointer-events: none; }
.sk .n { position: absolute; inset: 0; display: grid; place-items: center; font: 800 21px/1 var(--sans); font-variant-numeric: tabular-nums; pointer-events: none; }
.sk kbd { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); }
.sk .st { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 2px 6px; border-radius: 7px; font: 800 10px/1 var(--sans); letter-spacing: .03em; background: #3a2c55; color: #cfc2e2; text-shadow: none; box-shadow: 0 0 0 1px #120a08; } .sk.on .st { background: var(--amber); color: #2c1405; }
.sk .q { position: absolute; right: -5px; top: -6px; min-width: 21px; border-radius: 11px; background: var(--amber); color: #2c1405; font: 800 13px/21px var(--sans); text-align: center; text-shadow: none; }
.sk.off { filter: grayscale(1) brightness(.6); } .sk.nomp svg { color: #8ab4ff; opacity: .65; } .sk.on { --c: #ffb54a; }
.sk:active { transform: scale(.93); }
.sk.atk { display: none; }
.prompt { position: absolute; left: max(50%, 596px); bottom: calc(118px + var(--sb)); transform: translateX(-50%); display: flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 10px; background: linear-gradient(#ffe29a, #f5ab45 48%, #d9772a); color: #2c1405; font-weight: 750; text-shadow: none; box-shadow: inset 0 1px 0 #fffbe6, 0 0 0 1px #8a4a14, 0 0 22px #ff9a3a90, 0 4px 14px #000a; }

#banner { position: fixed; left: 50%; top: 21%; transform: translate(-50%, 12px); text-align: center; pointer-events: none; opacity: 0; transition: opacity .35s, transform .35s; width: 92vw; text-shadow: 0 2px 0 #3a1a10, 0 3px 16px #000; }
#banner.on { opacity: 1; transform: translate(-50%, 0); }
#banner b { display: block; font: 700 clamp(30px, 5vw, 54px)/1.15 var(--serif); color: transparent; background: linear-gradient(#fffbe8 20%, #ffd88a 52%, #e0873a 88%); -webkit-background-clip: text; background-clip: text; text-shadow: none; filter: drop-shadow(0 2px 1px #2a1006) drop-shadow(0 0 18px #ff8a2a80); } #banner span { font-size: clamp(15px, 1.7vw, 19px); }
#toasts { position: fixed; left: calc(16px + var(--sl)); bottom: calc(272px + var(--sb)); display: grid; gap: 6px; justify-items: start; pointer-events: none; z-index: 30; max-width: min(340px, 70vw); }
body:has(#modal:not([hidden])) #toasts { left: 50%; bottom: auto; top: 10px; transform: translateX(-50%); justify-items: center; }
.toast { display: flex; align-items: center; gap: 9px; padding: 8px 13px; border-radius: 8px; background: linear-gradient(#2c203ef5, #160e22f5); box-shadow: var(--rim), 0 4px 14px #000a; font-size: 14.5px; animation: tin .22s ease-out; }
.toast.good { color: var(--good); } .toast.bad { color: var(--bad); } .toast img { width: 34px; height: 34px; } .toast small { display: block; color: var(--good); font-size: 12.5px; }
@keyframes tin { from { opacity: 0; transform: translateX(-18px); } }

/* ── paneller */
#modal { position: fixed; inset: 0; display: grid; place-items: center; padding: 14px; background: radial-gradient(#0c071480, #05030ad9); backdrop-filter: blur(5px); z-index: 20; }
#panel { width: min(1040px, 100%); max-height: min(720px, 100%); display: flex; flex-direction: column; background: radial-gradient(120% 90% at 50% -10%, #43315f, transparent 60%), linear-gradient(#251a36, #150f20); border-radius: 12px; box-shadow: inset 0 0 0 1px #ffe7a64d, inset 0 0 60px #0008, 0 0 0 2px #1a0e08, 0 0 0 4px var(--gold2), 0 0 0 5px var(--gold3), 0 0 0 7px #140b08, 0 30px 90px #000; outline: none; overflow: hidden; }
#panel.narrow { width: min(560px, 100%); }
.head { display: flex; align-items: center; gap: 16px; padding: 14px 16px 12px 20px; background: linear-gradient(#ffffff12, #0000); border-bottom: 1px solid #c98f4466; box-shadow: 0 1px 0 #0008; }
.head h2 { font-size: 29px; color: transparent; background: linear-gradient(#fffbe8 15%, #ffd88a 55%, #d98a3a); -webkit-background-clip: text; background-clip: text; padding: 2px 0 5px; margin-right: auto; } .head svg { font-size: 19px; }
.close { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(#5a4676, #2c2040); box-shadow: var(--rim); } .close:hover { filter: brightness(1.3); }
.body { padding: 18px 20px 20px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; scrollbar-color: var(--line) transparent; }
.dim { color: var(--dim); } .goodt { color: var(--good); } .badt { color: var(--bad); } .sm { font-size: 13.5px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
h3 { font-size: 19px; color: #ffdb91; margin-bottom: 9px; }

.bagview { display: grid; grid-template-columns: 236px minmax(0, 1fr) 280px; gap: 20px; }
.grid.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.doll { display: grid; grid-template-columns: 56px 1fr 56px; gap: 8px; align-items: center; }
.doll .col { display: grid; gap: 8px; } .doll img.hero { width: 100%; transform: scale(1.5); pointer-events: none; filter: drop-shadow(0 6px 8px #0009); }
.slot { position: relative; width: 100%; aspect-ratio: 1; border-radius: 8px; background: linear-gradient(#0c0814, #1c1428); display: grid; place-items: center; box-shadow: inset 0 2px 6px #000, inset 0 0 0 1px #4a3a5c; overflow: hidden; }
.slot.f { background: radial-gradient(circle at 50% 46%, color-mix(in srgb, var(--r) 62%, #201730), color-mix(in srgb, var(--r) 14%, #120c1a) 78%); box-shadow: inset 0 0 0 1px #0a0610, inset 0 0 0 3px var(--r), inset 0 0 14px #000; }
.slot img { width: 94%; height: 94%; filter: drop-shadow(0 3px 3px #000a); } .slot.f:hover { filter: brightness(1.2); } .slot.sel { outline: 3px solid #fff; outline-offset: 0; }
.slot .lv, .slot .pl { position: absolute; font: 700 11px/1 var(--sans); text-shadow: 0 0 3px #000, 0 1px 2px #000; bottom: 4px; right: 5px; } .slot .pl { top: 4px; right: auto; left: 5px; bottom: auto; color: #ffe08a; }
.slot .up { position: absolute; right: 2px; top: 2px; color: var(--good); font-size: 16px; filter: drop-shadow(0 0 2px #000); } .slot.no img { opacity: .4; filter: grayscale(.7); }
.slot .nm { font-size: 11px; color: #8d809d; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 6px; align-content: start; }
.stats { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; font-size: 14px; margin-top: 12px; } .stats b { text-align: right; font-variant-numeric: tabular-nums; } .stats span { color: var(--dim); }
.power { display: flex; justify-content: space-between; font-weight: 700; font-size: 17px; padding: 8px 12px; border-radius: 8px; background: var(--well); margin-top: 10px; } .power b { color: var(--amber); }
.detail { box-shadow: inset 0 0 0 1px #ffe7a61c, inset 0 2px 8px #0007; background: linear-gradient(#1b1328d9, #100a18d9); border-radius: 10px; padding: 14px; align-self: start; display: grid; gap: 8px; min-height: 180px; }
.detail .top { display: flex; gap: 11px; align-items: center; } .detail .top .slot { width: 62px; flex: none; } .detail h3 { color: var(--r); margin: 0; font-size: 18px; }
.detail ul { margin: 0; padding: 0; list-style: none; font-size: 14px; display: grid; gap: 3px; } .detail li { display: flex; justify-content: space-between; gap: 8px; } .detail li.a { color: #a9d4ff; }
.detail .pow { color: #ffc46a; font-size: 14px; line-height: 1.35; } .detail .btn { width: 100%; }
.cmp { font-weight: 700; padding-top: 7px; border-top: 1px solid #ffffff1c; display: flex; justify-content: space-between; }

#tip { position: fixed; z-index: 40; width: max-content; max-width: 270px; padding: 10px 13px; border-radius: 9px; background: linear-gradient(#2a1e3b, #130d1c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--r) 70%, #000), 0 0 0 1px #000, 0 10px 30px #000c; pointer-events: none; display: grid; gap: 5px; } #tip[hidden] { display: none; }
#tip b:first-child { color: var(--r); font: 700 17px/1.2 var(--serif); } #tip ul { margin: 0; padding: 0; list-style: none; font-size: 13.5px; } #tip li { display: flex; justify-content: space-between; gap: 18px; } #tip .pow { color: #ffc46a; font-size: 13px; margin: 0; }
.shopview { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 20px; } .side { display: grid; gap: 12px; align-content: start; position: sticky; top: 0; align-self: start; }
.note { padding: 9px 13px; border-radius: 8px; background: #5a3a1a80; box-shadow: inset 0 0 0 1px #ffb54a66; margin-bottom: 12px; font-size: 14px; }
.tabs { flex-wrap: wrap; } .gh { margin: 16px 0 8px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.tile { display: grid; justify-items: center; align-content: start; gap: 4px; padding: 8px 5px 7px; border-radius: 10px; background: linear-gradient(#1b1328d9, #100a18d9); box-shadow: inset 0 0 0 1px #ffe7a61c; text-align: center; } .tile:hover { background: #2c2040; } .tile.sel { box-shadow: inset 0 0 0 2px var(--amber); } .tile.goal { background: linear-gradient(color-mix(in srgb, var(--r) 30%, #1b1328), #100a18); }
.tile .slot { width: 56px; } .tile b { font-size: 12.5px; line-height: 1.15; color: var(--r); min-height: 2.3em; display: grid; place-items: center; } .price { font-size: 13px; color: #a497b4; display: inline-flex; gap: 4px; align-items: center; font-variant-numeric: tabular-nums; } .tile.can .price { color: #ffdf8a; font-weight: 700; } .tile:not(.can) .slot img { filter: saturate(.55) brightness(.8); }
.tile .slot .lv { background: #58a84e; color: #fff; border-radius: 8px; padding: 2px 5px; right: 2px; bottom: 2px; } .tile .slot .lv:empty { display: none; }
.recipe { border-top: 1px solid #ffffff1c; padding-top: 8px; } .recipe h4 { margin: 0 0 5px; font-size: 14px; color: #ffdb91; } .detail .recipe ul { gap: 4px; } .detail .recipe ul ul { margin: 4px 0 2px 13px; padding-left: 9px; border-left: 2px solid #ffffff24; } .detail .recipe li { display: block; }
.rc { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 34px; } .rc .goodt, .rc > .sm { display: inline-flex; align-items: center; gap: 4px; } .rc.own .rn { opacity: .85; }
.rn { display: flex; align-items: center; gap: 8px; min-width: 0; text-align: left; font-size: 13.5px; } .rn img { width: 32px; height: 32px; border-radius: 6px; background: color-mix(in srgb, var(--r) 30%, #100a18); box-shadow: inset 0 0 0 1px var(--r); flex: none; } button.rn:hover span { text-decoration: underline; } .rn.fee svg { width: 32px; font-size: 20px; color: var(--gold1); }
.buy { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 7px; background: linear-gradient(#5a4676, #2c2040); box-shadow: var(--rim); font-size: 13px; font-weight: 700; color: #ffdf8a; flex: none; } .buy:hover:not(:disabled) { filter: brightness(1.3); } .buy.no { color: #ff9a8a; } .buy:disabled { opacity: .6; cursor: default; }
.into { display: grid; gap: 5px; border-top: 1px solid #ffffff1c; padding-top: 8px; } .mini-it { width: 38px; height: 38px; border-radius: 7px; background: color-mix(in srgb, var(--r) 30%, #100a18); box-shadow: inset 0 0 0 1px var(--r); display: grid; place-items: center; } .mini-it:hover { filter: brightness(1.3); } .mini-it img { width: 34px; }
.mine { display: grid; gap: 6px; }
.wares { display: grid; grid-template-columns: repeat(auto-fill, minmax(206px, 1fr)); gap: 9px; }
.ware { display: flex; gap: 10px; align-items: center; text-align: left; padding: 9px; border-radius: 10px; box-shadow: inset 0 0 0 1px #ffe7a61c, inset 0 2px 8px #0007; background: linear-gradient(#1b1328d9, #100a18d9); } .ware:hover { background: #2a1f3c; } .ware.sel { box-shadow: inset 0 0 0 2px var(--amber); } .ware.sold { opacity: .4; }
.ware .slot { width: 54px; flex: none; } .ware b { display: block; color: var(--r); line-height: 1.2; font-size: 14.5px; margin-bottom: 3px; }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 9px; margin-top: 18px; }
.service { padding: 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px #ffe7a61c, inset 0 2px 8px #0007; background: linear-gradient(#1b1328d9, #100a18d9); display: grid; gap: 7px; align-content: space-between; }

.heroview { display: grid; grid-template-columns: 372px minmax(0, 1fr); gap: 22px; } .heroview .seg { margin-bottom: 12px; } .heroview .seg button { padding-inline: 11px; }
.roster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; align-content: start; }
.rh { position: relative; overflow: hidden; display: block; padding: 0 0 7px; border-radius: 12px; box-shadow: inset 0 0 0 1px #ffe7a633, 0 3px 10px #0007; background: linear-gradient(#1b1328, #100a18); text-align: center; width: 100%; transition: transform .15s, box-shadow .15s; } .rh:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--c), 0 6px 16px #000a; }
.rh.sel { box-shadow: inset 0 0 0 2px var(--c), 0 0 16px color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 18%, var(--well)); }
.rh img { display: block; width: 100%; aspect-ratio: 1; background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--c) 70%, #fff 5%), color-mix(in srgb, var(--c) 22%, #140d1e) 85%); border-radius: 12px 12px 0 0; position: relative; z-index: -1; } .rh { z-index: 0; } .rh.lock img { filter: brightness(.84) saturate(.9); } .rh.rdy { box-shadow: inset 0 0 0 2px #ffd86a, 0 0 14px #ffd86a66; } .rh.rdy img { filter: none; }
.rh b { display: block; margin-top: 5px; font: 700 17px/1.15 var(--serif); } .rh small { color: var(--dim); font-size: 12px; } .rh .tag { position: absolute; right: 5px; top: 5px; font-size: 11px; font-weight: 700; color: #fff; background: #120b1cd9; border-radius: 7px; padding: 2px 6px; } .rh .tag:empty { display: none; } .rh .tag svg { display: block; font-size: 15px; color: #ffe7a6; }
.hd { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 22px; }
.port { border-radius: 12px; background: radial-gradient(60% 18% at 50% 93%, #000a, transparent), radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--c) 78%, #fff 8%), color-mix(in srgb, var(--c) 30%, #140d1e) 48%, #100a18 82%); box-shadow: inset 0 0 0 1px #0a0610, inset 0 0 0 3px color-mix(in srgb, var(--c) 60%, #d99a3c), 0 8px 22px #000a; display: grid; place-items: center; align-self: start; } .port img { width: 100%; } .port.lock img { filter: none; }
.hd h3 { font-size: 34px; color: var(--c); margin: 0; }
.stars { display: flex; gap: 3px; font-size: 21px; color: #4a3d5e; margin: 6px 0; } .stars .on { color: var(--amber); }
.sklist { display: grid; gap: 8px; margin: 14px 0; }
.ski { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px #ffe7a61c, inset 0 2px 8px #0007; background: linear-gradient(#1b1328d9, #100a18d9); font-size: 13.5px; }
.ski .ic { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-size: 26px; background: color-mix(in srgb, var(--c) 32%, #1a1226); box-shadow: inset 0 0 0 1px var(--c); }
.ski b { font-size: 15px; } .pips { display: inline-flex; gap: 3px; margin-left: 8px; vertical-align: 1px; } .pips i { width: 9px; height: 9px; border-radius: 50%; background: #4a3d5e; } .pips i.on { background: var(--amber); }
.ski .next { color: var(--good); }
.two { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.attr { display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px; align-items: center; padding: 9px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px #ffe7a61c, inset 0 2px 8px #0007; background: linear-gradient(#1b1328d9, #100a18d9); margin-bottom: 7px; } .attr b { display: block; } .attr .v { font: 700 21px var(--serif); min-width: 30px; text-align: right; } .attr .btn { padding: 6px 11px; }
.pts { color: var(--amber); font-weight: 700; }

.mapview { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; } .mapbox { position: relative; width: min(100%, calc(100vh - 150px), 780px); aspect-ratio: 1; } .mapbox canvas { width: 100%; height: 100%; display: block; border-radius: 10px; background: #17384a; cursor: grab; touch-action: none; box-shadow: 0 0 0 2px var(--gold3), 0 0 0 3px #140b08; } .mapbox canvas:active { cursor: grabbing; }
.mz { position: absolute; right: 10px; top: 10px; display: grid; gap: 6px; } .mz button { width: 38px; height: 38px; border-radius: 9px; font: 800 22px/1 var(--sans); display: grid; place-items: center; background: linear-gradient(#4a3866f2, #1e1530f2); color: var(--gold1); box-shadow: var(--rim), 0 3px 8px #000a; } .mz button:hover { filter: brightness(1.35); } .mz svg { font-size: 20px; }
#panel:has(.mapview), #panel:has(.heroview) { width: min(1180px, 100%); max-height: min(930px, 100%); } .mapview { grid-template-columns: min(780px, calc(100vh - 150px), 70%) minmax(190px, 1fr); }
@property --sp { syntax: "<angle>"; inherits: false; initial-value: 0deg; } @keyframes ench { to { --sp: 360deg; } }
.slot.ench { box-shadow: inset 0 0 0 1px #0a0610, inset 0 0 18px color-mix(in srgb, var(--r) 80%, transparent), 0 0 10px color-mix(in srgb, var(--r) 70%, transparent); } .slot.ench::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 3px; background: conic-gradient(from var(--sp), var(--r), #fff, var(--r) 30%, #0000 50%, var(--r) 70%, #fff, var(--r)); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; animation: ench 3s linear infinite; pointer-events: none; }
.li img.oi { width: 30px; height: 30px; background: none; box-shadow: none; }
.orbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; } .orbc { position: relative; aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; background: #0e0916; box-shadow: inset 0 0 0 1px #4a3a5c; } .orbc img { width: 88%; filter: grayscale(1) brightness(.45); } .orbc.on { background: radial-gradient(circle, color-mix(in srgb, var(--r) 50%, #140d1e), #0e0916 75%); box-shadow: inset 0 0 0 1px var(--r), 0 0 10px color-mix(in srgb, var(--r) 50%, transparent); } .orbc.on img { filter: none; } .orbc b { position: absolute; right: 4px; bottom: 2px; font-size: 13px; text-shadow: 0 0 3px #000, 0 1px 2px #000; } .orbc:not(.on) b { color: #8d809d; }
.rc.orb { padding: 4px 8px 4px 4px; border-radius: 8px; background: color-mix(in srgb, var(--r) 20%, #100a18); box-shadow: inset 0 0 0 1px var(--r); } .rc.orb small { display: block; color: var(--dim); font-size: 11.5px; }
.tile { position: relative; } .tile .need { position: absolute; right: 5px; top: 5px; width: 24px; filter: grayscale(.9) brightness(.6); } .tile .need.ok { filter: drop-shadow(0 0 4px var(--r)); }
.list { display: grid; gap: 7px; align-content: start; } .li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; box-shadow: inset 0 0 0 1px #ffe7a61c, inset 0 2px 8px #0007; background: linear-gradient(#1b1328d9, #100a18d9); width: 100%; text-align: left; min-height: 46px; } button.li:hover { background: #3a2c55; } .li img { width: 44px; height: 44px; object-fit: contain; } .li .g { flex: 1; } .li small { display: block; color: var(--dim); }
.mq { padding: 16px; border-radius: 12px; background: linear-gradient(120deg, #5a3520, #2c1d36); margin-bottom: 20px; } .mq h3 { font-size: 24px; margin-bottom: 4px; } .mq .bar { margin: 11px 0 9px; height: 17px; } .mq .bar i, .li .bar i { background: linear-gradient(#ffd685, #f08f34); } .li .bar { height: 7px; margin-top: 6px; }
.keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 7px 22px; font-size: 14px; } .keys div { display: flex; justify-content: space-between; gap: 10px; } .keys kbd { font-size: 12px; padding: 4px 7px; }
.seg { display: inline-flex; gap: 4px; } .seg button { padding: 7px 12px; border-radius: 6px; background: #2c2040; font-weight: 650; } .seg button.on { background: linear-gradient(#ffe29a, #d9772a); color: #2c1405; }
.sw { justify-content: space-between; } .sw i { width: 44px; height: 25px; border-radius: 13px; background: #4a3d5e; position: relative; flex: none; } .sw i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; transition: transform .15s; } .sw[aria-checked=true] i { background: #58a84e; } .sw[aria-checked=true] i::after { transform: translateX(19px); }

/* ── dokunmatik ve dar ekran */
.touch kbd { display: none; }
.touch .me { bottom: auto; top: calc(10px + var(--st)); width: 262px; padding: 8px 9px; gap: 6px; } .touch .mstat, .touch .who { display: none; } .touch .face { width: 54px; height: 54px; } .touch .inv { gap: 4px; } .touch .goal { display: none; }
.touch .track { top: calc(170px + var(--st)); width: 230px; } .touch .skills { left: auto; }
.touch .menu { display: flex; bottom: auto; right: calc(196px + var(--sr)); top: calc(14px + var(--st)); flex-direction: column; gap: 5px; } .touch .menu button { width: 42px; height: 42px; }
.touch .boss { left: 46%; width: 30vw; }
.touch .skills { left: auto; right: calc(14px + var(--sr)); transform: none; width: 268px; height: 172px; display: block; pointer-events: none; }
.touch .skills > * { position: absolute; }
.touch .sk.atk { display: grid; width: 82px; height: 82px; border-radius: 50%; right: 0; bottom: 0; } .touch .sk.atk svg { font-size: 42px; }
.touch .w-s0 { right: 92px; bottom: 0; } .touch .w-s1 { right: 82px; bottom: 72px; } .touch .w-s2 { right: 208px; bottom: 54px; } .touch .w-s3 { right: 2px; bottom: 92px; } .touch .w-s4 { display: none; } .touch .sk.s2 { width: 46px; height: 46px; } .touch .sk.s2 svg { font-size: 25px; } .touch .sk.ult { width: 66px; height: 66px; } .touch .sk.roll { right: 164px; bottom: 0; } .touch .sk.pot { right: 154px; bottom: 60px; } .touch .sk.auto { right: 222px; bottom: 0; width: 42px; height: 42px; }
.touch .prompt { bottom: calc(26px + var(--sb)); left: 40%; } .touch #toasts { bottom: auto; top: calc(250px + var(--st)); }
.touch #panel { max-height: 100%; }
@media (max-width: 900px) {
  .bagview, .shopview, .heroview, .mapview, .two { grid-template-columns: minmax(0, 1fr); }
  .roster { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 7px; } .rh small { display: none; } .rh b { font-size: 14px; } .rh .tag { font-size: 10px; padding: 1px 4px; }
  .bagview .detail, .shopview .side { order: -1; min-height: 0; position: static; } .mine { display: none; } .bagview .port, .mine.orbbox { display: none; } .mapbox { width: 100%; margin: 0 auto; max-width: calc(100vh - 110px); }
  .doll { max-width: 270px; margin: 0 auto; }
  #modal { padding: 6px; } .body { padding: 12px; } .head { padding: 9px 10px 8px 14px; gap: 10px; } .head h2 { font-size: 22px; }
}
@media (min-width: 640px) and (max-width: 900px) { .bagview { grid-template-columns: 250px minmax(0, 1fr); } .bagview .detail { grid-column: 1 / -1; } .shopview { grid-template-columns: minmax(0, 1fr) 250px; } .shopview .detail { order: 0; } .heroview, .mapview { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) {
  .hd { grid-template-columns: minmax(0, 1fr); } .port { width: 150px; justify-self: center; }
  .ski { grid-template-columns: 40px minmax(0, 1fr); } .ski .btn { grid-column: 1 / -1; }
  .touch .me { left: 8px; width: min(212px, 56vw); } .touch .face { width: 46px; height: 46px; margin: 4px 2px 0 5px; } .mtop { gap: 9px; } .track, .touch .track { top: calc(152px + var(--st)); left: 8px; width: 190px; padding: 6px 9px; } .track hr, .track .b { display: none; }
  .corner { width: 112px; right: 10px; } .mini { width: 100px; height: 100px; } .zone b { font-size: 14px; } .purse { padding: 4px 9px; gap: 8px; font-size: 13px; }
  .menu, .touch .menu { top: calc(228px + var(--st)); right: 10px; bottom: auto; flex-direction: column; gap: 5px; } .menu button { width: 42px; height: 42px; }
  .boss, .touch .boss { top: calc(146px + var(--st)); width: 60vw; left: 36%; } .boss b { font-size: 17px; }
  .skills { gap: 6px; } .sk { width: 48px; height: 48px; } .sk svg { font-size: 27px; } .sk.ult { width: 54px; height: 54px; } .sk.sm { width: 42px; height: 42px; }
  .touch .prompt { bottom: calc(206px + var(--sb)); left: 50%; }
}
@media (max-aspect-ratio: 4/5) { #title { justify-content: flex-end; padding-bottom: 7vh; background: linear-gradient(0deg, #0e0818f2 12%, #0e0818a0 36%, transparent 58%); } }
@media (max-height: 480px) {
  .touch .sk.ult { width: 58px; height: 58px; } .touch .w-s3 { bottom: 94px; } .touch .sk.atk { width: 76px; height: 76px; } .corner { margin-top: -8px; }
  .track hr, .track .b { display: none; } .touch .track { top: calc(158px + var(--st)); padding: 6px 10px; } .mini { width: 92px; height: 92px; } .corner { width: 118px; gap: 3px; } .zone b { font-size: 14px; } .purse { font-size: 13px; padding: 3px 9px; }
  .touch .menu { display: grid; grid-template-columns: repeat(3, 38px); right: calc(138px + var(--sr)); } .touch .menu button { width: 38px; height: 38px; } .touch #toasts { top: 140px; }
}
@media (max-width: 1180px) { html:not(:has(.touch)) .me { width: 300px; } html:not(:has(.touch)) .skills, html:not(:has(.touch)) .prompt { left: max(50%, 530px); } html:not(:has(.touch)) .sk { width: 52px; height: 52px; } html:not(:has(.touch)) .sk.ult { width: 60px; height: 60px; } html:not(:has(.touch)) .sk.sm { width: 42px; height: 42px; } html:not(:has(.touch)) .skills { gap: 4px; } html:not(:has(.touch)) .menu { grid-template-columns: repeat(4, 40px); gap: 9px 5px; } html:not(:has(.touch)) .menu button { width: 40px; height: 40px; } }
html:not(:has(.touch)):has(#h-info:not([hidden])) #toasts { left: calc(308px + var(--sl)); }
.touch .info { left: calc(286px + var(--sl)); bottom: auto; top: calc(10px + var(--st)); width: min(250px, 34vw); max-height: calc(100vh - 20px); }
@media (max-width: 620px) { .info, .touch .info { left: 8px; bottom: auto; top: calc(212px + var(--st)); width: min(284px, 74vw); max-height: max(150px, calc(100vh - 430px)); } }
@media (prefers-reduced-motion: reduce) { .toast, .slot.ench::after { animation: none; } #banner { transition: opacity .2s; transform: translate(-50%, 0); } }
@media (max-width: 620px) { .buffs { position: fixed; left: 8px; top: calc(230px + var(--st)); justify-items: start; pointer-events: none; } #hud:has(#h-rift:not([hidden])) .track, #hud:has(#h-boss:not([hidden])) .track { visibility: hidden; } .boss, .touch .boss { top: calc(160px + var(--st)); } }
@media (max-height: 480px) { .touch .boss { left: 50%; } .touch .buffs { position: fixed; left: calc(16px + var(--sl)); top: calc(236px + var(--st)); justify-items: start; pointer-events: none; } }

/* ── element çubuğu (1–5) */
.elbar { position: absolute; left: max(50%, 596px); bottom: calc(108px + var(--sb)); transform: translateX(-50%); display: flex; gap: 9px; } .elbar .sk { width: 52px; height: 52px; border-radius: 50%; } .elbar .sk::before { border-radius: 50%; } .elbar .sk svg { font-size: 27px; } .elbar .sk .n { font-size: 18px; }
.elbar .lk { display: grid; justify-items: center; gap: 1px; font: 800 12px/1 var(--sans); } .elbar .lk svg { font-size: 15px !important; filter: none; } .elbar .plus { font: 800 28px/1 var(--sans); color: #ffe08a; } .elbar .need { box-shadow: 0 0 0 1px #120a08, 0 0 0 3px var(--amber), 0 0 18px #ffb54acc; }
.prompt { bottom: calc(180px + var(--sb)); }
/* ── soyağacı */
#panel.wide { width: min(1180px, 100%); max-height: min(930px, 100%); } .sktabs { margin-bottom: 16px; flex-wrap: wrap; } .sktabs button { position: relative; } .sktabs .has::after { content: ""; position: absolute; right: -3px; top: -3px; width: 11px; height: 11px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 2px #1a1226; }
.eic { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-size: 25px; flex: none; color: #fff; background: radial-gradient(circle at 50% 105%, color-mix(in srgb, var(--e, var(--r)) 90%, #fff), color-mix(in srgb, var(--e, var(--r)) 48%, #140d1e) 55%, #140d1e); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--e, var(--r)) 80%, #fff), 0 2px 8px #0009; } .eic svg { filter: drop-shadow(0 1px 2px #000); } .eic.big { width: 58px; height: 58px; font-size: 32px; }
.elcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } .elcard { display: flex; flex-direction: column; gap: 11px; padding: 16px 15px; border-radius: 14px; background: radial-gradient(130% 70% at 50% 0, color-mix(in srgb, var(--e) 38%, #1b1328), #120b1c 78%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--e) 55%, #1a1226), 0 4px 14px #0008; } .elcard.on { box-shadow: inset 0 0 0 2px var(--e), 0 0 20px color-mix(in srgb, var(--e) 40%, transparent); }
.elcard .eh { display: flex; align-items: center; gap: 12px; } .elcard h3 { font-size: 28px; color: color-mix(in srgb, var(--e) 72%, #fff); } .elcard > p { font-size: 14px; } .elcard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; flex: 1; align-content: start; font-size: 13px; line-height: 1.3; } .elcard li { display: grid; grid-template-columns: 24px 1fr; gap: 9px; } .elcard li svg { font-size: 22px; color: color-mix(in srgb, var(--e) 78%, #fff); } .elcard li b { display: block; font-size: 14.5px; } .elcard .btn { white-space: normal; line-height: 1.2; }
.eltop { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; } .eltop > div { flex: 1; } .eltop h3 { font-size: 25px; color: color-mix(in srgb, var(--e) 72%, #fff); }
.elview { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: start; } .elheads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-left: 58px; padding-bottom: 8px; } .elbr { display: grid; justify-items: center; gap: 3px; text-align: center; padding: 0 6px; } .elbr b { font: 700 17px/1.2 var(--serif); } .elbr small { font-size: 12px; line-height: 1.25; color: var(--dim); min-height: 2.5em; } .elbr:not(.on) .eic { filter: saturate(.35) brightness(.75); } .elbr.on b { color: color-mix(in srgb, var(--e) 70%, #fff); }
.elgrid { position: relative; display: grid; grid-template-columns: 58px repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(5, 92px); border-radius: 12px; background: linear-gradient(90deg, transparent 58px, #0c071466 58px); } .elgrid svg[viewBox="0 0 300 460"] { position: absolute; left: 58px; top: 0; width: calc(100% - 58px); height: 460px; overflow: visible; pointer-events: none; } .elgrid path { fill: none; stroke: #5a4672; stroke-width: 2; stroke-dasharray: 3 6; } .elgrid path.on { stroke: var(--e); stroke-width: 5; stroke-dasharray: none; filter: drop-shadow(0 0 6px var(--e)); }
.ellv { display: grid; align-content: center; justify-items: center; color: #7a6c90; line-height: 1.05; } .ellv b { font: 700 22px/1 var(--serif); } .ellv small { font-size: 11px; } .ellv.on { color: var(--gold1); }
.eln { position: relative; z-index: 1; display: grid; justify-items: center; align-content: center; gap: 4px; margin: 3px 5px; border-radius: 12px; text-align: center; line-height: 1.12; transition: background .15s; } .eln:hover { background: #ffffff0f; } .eln b { font-size: 13px; font-weight: 650; padding: 1px 6px; border-radius: 6px; background: #150e20e0; } .eln .eic kbd { position: absolute; right: -9px; bottom: -5px; } .eln .eic em { position: absolute; right: -6px; bottom: -5px; padding: 3px; border-radius: 50%; background: #1a1226; font-size: 13px; color: #b9adc9; } .eln .pips { margin: 0; }
.eln.lock .eic, .eln.off .eic { filter: grayscale(.85) brightness(.62); } .eln.lock b, .eln.off b { color: #a397b5; } .eln.can .eic { box-shadow: inset 0 0 0 2px var(--amber), 0 0 14px #ffb54a99; } .eln.on .eic { box-shadow: inset 0 0 0 2px #fff, 0 0 20px var(--e); } .eln.sel { background: color-mix(in srgb, var(--e) 20%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--e) 75%, #fff); }
.eldet { position: sticky; top: 0; } .eldet .top { align-items: center; } .eldet li i { font-style: normal; color: var(--good); } .eltags { display: flex; flex-wrap: wrap; gap: 5px; } .eltags span { padding: 3px 8px; border-radius: 7px; font-size: 12.5px; font-weight: 650; color: color-mix(in srgb, var(--r) 70%, #fff); background: color-mix(in srgb, var(--r) 17%, #100a18); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--r) 55%, #100a18); }
.elperk { display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid #ffffff1c; } .elperk h4 { margin: 0; font: 700 15px var(--serif); } .elperk div { display: grid; grid-template-columns: 34px 1fr; gap: 8px; font-size: 13px; color: #a397b5; } .elperk .on { color: var(--good); }
/* ── karakter seçimi */
#pick { position: fixed; inset: 0; z-index: 5; display: grid; grid-template-columns: minmax(270px, 350px) 1fr minmax(290px, 390px); grid-template-rows: auto minmax(0, 1fr) auto; gap: 14px 20px; padding: calc(20px + var(--st)) calc(26px + var(--sr)) calc(20px + var(--sb)) calc(26px + var(--sl)); background: linear-gradient(90deg, #0e0818f0, #0e081899 27%, transparent 40%, transparent 58%, #0e081899 72%, #0e0818f0); }
#pick header { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; } #pick h2 { font-size: clamp(26px, 3.2vw, 42px); color: #ffe3a6; text-shadow: 0 2px 14px #000; }
.pkleft { display: flex; flex-direction: column; gap: 12px; min-height: 0; } .pkleft .seg { flex-wrap: wrap; } .pkleft .seg button { padding: 7px 10px; } .pkroster { overflow-y: auto; scrollbar-width: thin; padding: 3px; min-height: 0; } .pkroster .rh { background: linear-gradient(#1b1328e6, #100a18f2); }
.pkinfo { grid-column: 3; overflow-y: auto; scrollbar-width: thin; display: grid; align-content: start; gap: 11px; min-height: 0; padding-right: 6px; text-shadow: 0 1px 3px #000; } .pkinfo h3 { font-size: clamp(38px, 4.2vw, 58px); color: color-mix(in srgb, var(--c) 80%, #fff); }
.pkstats { display: grid; grid-template-columns: auto 1fr; gap: 8px 13px; align-items: center; font-size: 14px; } .pkstats .bar { height: 11px; } .pkstats .bar i { background: linear-gradient(color-mix(in srgb, var(--c) 60%, #fff), var(--c)); transition: transform .3s; }
.pksk { display: grid; gap: 7px; font-size: 13px; line-height: 1.3; } .pksk > div { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; padding: 7px 9px; border-radius: 10px; background: #140d1ecc; box-shadow: inset 0 0 0 1px #ffe7a61c; } .pksk .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 24px; background: color-mix(in srgb, var(--c) 34%, #1a1226); box-shadow: inset 0 0 0 1px var(--c); } .pksk b { font-size: 14.5px; } .pksk small { color: var(--dim); }
#pick footer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; text-shadow: 0 1px 4px #000; } #pick footer .btn { text-shadow: none; }
@media (max-width: 900px) {
  .elcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .elview { grid-template-columns: minmax(0, 1fr); } .eldet { position: static; }
  #pick { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(130px, 1fr) auto minmax(0, 30vh) auto; gap: 9px; padding: calc(10px + var(--st)) 12px calc(12px + var(--sb)); background: linear-gradient(#0e0818cc, transparent 16%, transparent 34%, #0e0818e6 52%, #0e0818f5); } #pick header { gap: 12px; } #pick h2 { font-size: 23px; }
  .pkleft { grid-row: 3; gap: 8px; } .pkleft .seg { display: none; } .pkroster { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; } .pkroster .rh { flex: 0 0 72px; padding-bottom: 5px; } .pkroster .rh b { font-size: 13.5px; } .pkinfo { grid-column: 1; grid-row: 4; gap: 8px; } .pkinfo h3 { font-size: 29px; } #pick footer { grid-row: 5; gap: 8px; } #pick footer span { width: 100%; text-align: center; }
}
@media (max-width: 900px) and (max-height: 520px) { #pick { grid-template-columns: 250px 1fr 290px; grid-template-rows: auto minmax(0, 1fr) auto; background: linear-gradient(90deg, #0e0818f0, transparent 42%, transparent 55%, #0e0818f0); } .pkleft { grid-row: 2; } .pkroster { display: grid; grid-template-columns: repeat(3, 1fr); overflow-y: auto; } .pkinfo { grid-column: 3; grid-row: 2; } #pick footer { grid-row: 3; } #pick footer span { width: auto; } }
@media (max-width: 620px) { .elheads { margin-left: 34px; } .elgrid { grid-template-columns: 34px repeat(3, minmax(0, 1fr)); background: none; } .elgrid svg[viewBox="0 0 300 460"] { left: 34px; width: calc(100% - 34px); } .ellv small { display: none; } .ellv b { font-size: 17px; } .elbr small { display: none; } .eln { margin: 2px 1px; } .eln b { font-size: 11.5px; } .eltop { flex-wrap: wrap; } .elcard { padding: 12px 11px; } .elcard h3 { font-size: 22px; } .elcard li { font-size: 12px; } }
.touch .elbar { left: auto; transform: none; right: calc(62px + var(--sr)); bottom: calc(194px + var(--sb)); gap: 6px; } .touch .elbar .sk { width: 44px; height: 44px; } .touch .elbar .sk svg { font-size: 23px; } .touch .prompt { bottom: calc(26px + var(--sb)); }
@media (max-width: 620px) { .touch .prompt { bottom: calc(250px + var(--sb)); } }
@media (max-height: 480px) { .touch .elbar { right: calc(142px + var(--sr)); bottom: calc(160px + var(--sb)); gap: 5px; } .touch .elbar .sk { width: 37px; height: 37px; } }
@media (max-width: 1180px) { html:not(:has(.touch)) .elbar { left: max(50%, 530px); } html:not(:has(.touch)) .elbar .sk { width: 46px; height: 46px; } }

/* ── yetenek çubuğu: tuş sol üstte, seviye noktaları altta, + üstte */
.skw { position: relative; display: grid; justify-items: center; pointer-events: auto; } .skw .sk kbd { bottom: auto; top: -7px; left: -5px; transform: none; box-shadow: 0 0 0 1px #5a4672; z-index: 1; }
.lvp { display: flex; gap: 3px; height: 6px; margin-top: 10px; } .lvp i { width: 8px; height: 6px; border-radius: 2px; background: #171020; box-shadow: 0 0 0 1px #5a4672; } .lvp i.on { background: linear-gradient(#fff0b0, #ffb02e); box-shadow: 0 0 0 1px #7d4c1c, 0 0 6px #ffb54a; }
.lvup { position: absolute; left: 50%; top: -23px; width: 32px; height: 26px; margin-left: -16px; border-radius: 7px; z-index: 2; background: linear-gradient(#fff3b8, #ffbe3c 50%, #dd7c1c); box-shadow: inset 0 1px 0 #fffbe6, 0 0 0 1px #5a2c08, 0 0 14px #ffb54a; animation: lvup 1.3s ease-in-out infinite; } .lvup::before, .lvup::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 4px; margin: -2px 0 0 -7px; border-radius: 1px; background: #4a2206; } .lvup::after { transform: rotate(90deg); } .lvup:hover { filter: brightness(1.18); } .lvup:active { transform: scale(.9); }
@keyframes lvup { 50% { box-shadow: inset 0 1px 0 #fffbe6, 0 0 0 1px #5a2c08, 0 0 24px 4px #ffd35a; } }
.sk.lvd { animation: lvd .5s ease-out; } @keyframes lvd { 0% { filter: brightness(2.6); transform: scale(1.16); } } .sk.aiming { outline: 3px solid #9fe8ff; outline-offset: 5px; }
.sk.pas { width: 52px; height: 52px; border-radius: 50%; cursor: default; } .sk.pas::before { border-radius: 50%; } .sk.pas svg { font-size: 27px; } .sk.pas:active { transform: none; } .sk.pas kbd { display: none; }
.skills { left: max(50%, 640px); align-items: flex-end; } .skills > .sk { margin-bottom: 16px; } .elbar { left: max(50%, 640px); bottom: calc(134px + var(--sb)); align-items: flex-end; } .elbar .opt .sk { width: 44px; height: 44px; border-radius: 11px; margin-bottom: 18px; } .elbar .opt .sk::before { border-radius: 11px; } .elbar .opt .sk svg { font-size: 23px; } .elbar .opt:not(.can) .sk { filter: brightness(.75); } .elbar .opt.can .sk { box-shadow: 0 0 0 1px #120a08, 0 0 0 3px var(--amber), 0 0 18px #ffb54acc; } .sk .q:empty { display: none; }
.prompt { left: max(50%, 640px); bottom: calc(242px + var(--sb)); }
#game[data-cur=aim] { cursor: crosshair; }
/* ── çubuğun üstündeki seçim */
.pop { position: absolute; z-index: 3; left: max(50%, 640px); bottom: calc(228px + var(--sb)); transform: translateX(-50%); width: min(690px, calc(100vw - 24px)); pointer-events: auto; padding: 10px 12px 12px; border-radius: 13px; background: linear-gradient(#2c203ef5, #130d1cf7); box-shadow: var(--rim), 0 0 0 1px #0a0610, 0 0 0 3px var(--gold3), 0 10px 30px #000c; }
.pop header { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; } .pop header b { font: 700 18px var(--serif); color: #ffe3a6; } .pop header span { flex: 1; font-size: 12.5px; color: var(--dim); } .pop .close { width: 32px; height: 32px; }
.pcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; } .pcs.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pc { --e: #86e07a; display: grid; justify-items: center; align-content: start; gap: 4px; padding: 10px 8px; border-radius: 11px; text-align: center; line-height: 1.25; background: radial-gradient(130% 80% at 50% 0, color-mix(in srgb, var(--e) 34%, #1b1328), #120b1c 80%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--e) 55%, #1a1226); transition: transform .12s; } .pc:not(:disabled):hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--e), 0 0 16px color-mix(in srgb, var(--e) 50%, transparent); } .pc:disabled { cursor: default; opacity: .65; } .pc.on { opacity: 1; box-shadow: inset 0 0 0 2px #fff; }
.pc b { font-size: 15px; } .pc small { font-size: 12.5px; color: #d8cee6; } .pc .br { color: color-mix(in srgb, var(--e) 70%, #fff); font-weight: 650; } .pc em { font: 800 15px var(--sans); color: #2c1405; background: linear-gradient(#ffe29a, #f08f34); border-radius: 7px; padding: 2px 13px; margin-top: 3px; text-shadow: none; } .pc:disabled em { filter: grayscale(1); }
.ptal { display: grid; gap: 6px; } .ptal > div { display: grid; grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr); gap: 7px; align-items: stretch; } .ptal .lock { opacity: .5; } .ptal .tlv { border-radius: 50%; width: 38px; height: 38px; align-self: center; justify-self: center; background: #140d1e; box-shadow: 0 0 0 2px var(--gold3); } .ptal .can .tlv { box-shadow: 0 0 0 2px var(--amber), 0 0 14px #ffb54a; }
.pt { padding: 6px 10px; border-radius: 9px; text-align: center; line-height: 1.2; background: linear-gradient(#2a1f3c, #140d1e); box-shadow: inset 0 0 0 1px #ffe7a626; } .pt b { display: block; font-size: 13.5px; } .pt small { font-size: 12px; color: #d8cee6; } .pt:not(:disabled):hover { background: #43315f; box-shadow: inset 0 0 0 2px var(--amber); } .pt:disabled { cursor: default; } .pt.on { background: linear-gradient(#7a4c16, #3c2410); box-shadow: inset 0 0 0 2px var(--amber); }
#tip { max-width: 320px; font-size: 13.5px; line-height: 1.35; } #tip i { font-style: normal; } #tip[hidden] { display: none; }
.boss .bar.mp { height: 8px; width: 70%; margin: 7px auto 0; box-shadow: 0 0 0 1px #0a0610, 0 0 0 2px var(--gold3); }
@media (max-width: 1180px) { html:not(:has(.touch)) :is(.skills, .elbar, .prompt, .pop) { left: max(50%, 548px); } html:not(:has(.touch)) .sk.pas { width: 44px; height: 44px; } html:not(:has(.touch)) .elbar { bottom: calc(122px + var(--sb)); gap: 5px; } html:not(:has(.touch)) .elbar .opt .sk { width: 40px; height: 40px; } }
.touch .lvp { position: absolute; bottom: -9px; margin: 0; height: 4px; gap: 2px; } .touch .lvp i { width: 6px; height: 4px; } .touch .lvup { width: 34px; height: 28px; margin-left: -17px; top: -19px; } .touch .skills > .skw { pointer-events: auto; } .touch .skills > .sk { margin-bottom: 0; } .touch .sk.pas { width: 42px; height: 42px; }
.touch .elbar { left: auto; right: calc(14px + var(--sr)); bottom: calc(206px + var(--sb)); flex-wrap: wrap-reverse; justify-content: flex-end; width: 286px; row-gap: 20px; pointer-events: none; } .touch .elbar .opt:not(.can) { display: none; } .touch .elbar .opt .sk { width: 42px; height: 42px; margin-bottom: 0; }
.touch .pop { left: 50%; bottom: auto; top: 50%; transform: translate(-50%, -50%); max-height: calc(100vh - 16px); overflow-y: auto; } .touch .prompt { left: 40%; }
@media (max-width: 620px) { .touch .prompt { left: 50%; bottom: calc(336px + var(--sb)); } .pcs.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .touch .pcs:not(.four) { grid-template-columns: minmax(0, 1fr); } .pop header span { display: none; } .pop header b { flex: 1; } }
@media (max-height: 480px) { .touch .elbar { right: calc(142px + var(--sr)); bottom: calc(160px + var(--sb)); width: 246px; } }
@media (prefers-reduced-motion: reduce) { .lvup, .sk.lvd { animation: none; } }
.touch .w-s0 .lvup { top: -9px; }
@media (max-width: 620px) { .menu, .touch .menu { display: grid; grid-template-columns: repeat(2, 42px); gap: 5px; } }
@media (max-height: 480px) { .touch .w-tal, .touch .w-at { position: fixed; bottom: calc(12px + var(--sb)); right: calc(304px + var(--sr)); } .touch .w-at { right: calc(360px + var(--sr)); } }

/* ── tur: boss sayacı, ganimet ve hesap donanımı */
.clock { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 9px; background: #1a1226e6; box-shadow: inset 0 0 0 1px #8a5ad0; font-size: 13.5px; white-space: nowrap; } .clock svg { color: #b07aff; font-size: 16px; } .clock b { font-size: 16px; font-variant-numeric: tabular-nums; color: #e4d0ff; } .clock.low { box-shadow: inset 0 0 0 2px #ff7a4a, 0 0 16px #ff5a3a99; } .clock.low b { color: #ffb08a; } .clock.on { box-shadow: inset 0 0 0 2px #b07aff, 0 0 16px #8a4aff99; font-weight: 700; }
#h-left { display: inline-block; margin-top: 6px; padding: 2px 14px 3px; border-radius: 9px; background: #1a1226e6; font: 800 19px/1.25 var(--sans); font-variant-numeric: tabular-nums; color: #ffe3a6; } #h-left.low { color: #fff; background: #b3261e; }
#t-best { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 16px; text-shadow: 0 2px 6px #000; } #t-best b { color: #ffdb91; margin-left: 5px; }
.odds { display: flex; flex-wrap: wrap; gap: 3px 10px; font-weight: 650; } .info .odds span { font-size: 12.5px; color: inherit; }
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 11px; } .gcard { display: grid; justify-items: center; align-content: start; gap: 3px; padding: 12px; border-radius: 13px; text-align: center; background: radial-gradient(120% 60% at 50% 0, color-mix(in srgb, var(--r) 36%, #1b1328), #120b1c 80%); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--r) 75%, #1a1226), 0 0 18px color-mix(in srgb, var(--r) 25%, transparent); }
.gcard img { width: 88px; height: 88px; filter: drop-shadow(0 4px 6px #000a); } .gcard h3 { margin: 0; color: color-mix(in srgb, var(--r) 75%, #fff); } .q { color: color-mix(in srgb, var(--r) 80%, #fff); font-size: 13px; font-weight: 650; } .gp { font-weight: 700; font-size: 14.5px; } .gp i { font-style: normal; font-size: 13px; }
:is(.gcard, .gdet, .gsum) ul { list-style: none; margin: 6px 0 0; padding: 0; width: 100%; display: grid; gap: 4px; font-size: 13.5px; } :is(.gcard, .gdet, .gsum) li { display: flex; justify-content: space-between; gap: 10px; text-align: left; } :is(.gcard, .gdet, .gsum) li span { color: var(--dim); } :is(.gcard, .gdet) li i { font-style: normal; font-size: 12px; } :is(.gcard, .gdet) .pow { margin-top: 6px; font-size: 13px; line-height: 1.35; color: #ffc46a; text-align: left; }
#gear { position: fixed; inset: 0; z-index: 25; display: grid; grid-template-columns: 300px minmax(0, 1fr) 320px; grid-template-rows: auto minmax(0, 1fr); gap: 16px 22px; padding: calc(20px + var(--st)) calc(26px + var(--sr)) calc(20px + var(--sb)) calc(26px + var(--sl)); background: radial-gradient(90% 70% at 50% 0, #43315f, transparent), #150f20; }
#gear header { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; } #gear h2 { flex: 1; font-size: clamp(24px, 3vw, 38px); color: #ffe3a6; } #gear .power { margin: 14px 0; } .gwear, .glist, .gdet { min-height: 0; overflow-y: auto; scrollbar-width: thin; padding: 3px; }
.gslots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; } .gs { display: grid; justify-items: center; gap: 1px; padding: 7px 4px; border-radius: 11px; background: linear-gradient(color-mix(in srgb, var(--r) 30%, #1b1328), #100a18); box-shadow: inset 0 0 0 1.5px var(--r); } .gs:hover, .gi:hover { filter: brightness(1.2); } .gs img { width: 62px; height: 62px; } .gs .no { filter: grayscale(1) brightness(.4); } .gs b { font-size: 13.5px; } .gs small { color: var(--dim); font-size: 12px; }
.glist .tabs { margin-bottom: 12px; } .gitems { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 9px; } .gi { position: relative; display: grid; justify-items: center; padding: 6px 4px 5px; border-radius: 11px; background: linear-gradient(color-mix(in srgb, var(--r) 34%, #1b1328), #100a18); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--r) 70%, #100a18); } .gi img { width: 62px; height: 62px; } .gi span { font-weight: 700; font-size: 13.5px; } .gi em { position: absolute; right: 5px; top: 5px; padding: 3px; border-radius: 50%; background: #58a84e; font-size: 12px; } :is(.gi, .gs).sel { outline: 3px solid #fff; outline-offset: -1px; } .empty { padding: 30px 10px; color: var(--dim); text-align: center; }
.gdet > div { display: grid; gap: 10px; padding: 14px; border-radius: 13px; background: linear-gradient(color-mix(in srgb, var(--r) 22%, #1b1328), #100a18); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--r) 70%, #100a18); } .gtop { display: flex; align-items: center; gap: 12px; } .gtop img { width: 84px; height: 84px; } .gtop div { display: grid; gap: 2px; } .gtop h3 { margin: 0; color: color-mix(in srgb, var(--r) 75%, #fff); }
@media (max-width: 900px) { #gear { display: flex; flex-direction: column; overflow-y: auto; gap: 12px; padding: calc(10px + var(--st)) 12px calc(14px + var(--sb)); } .gwear, .glist, .gdet { overflow: visible; min-height: auto; flex: none; } .gdet { order: 1; } .glist { order: 2; } #gear h2 { font-size: 22px; } #gear header { gap: 10px; } .gslots { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; } .gs img { width: 100%; height: auto; max-width: 50px; } .gs b { font-size: 11px; } .gs small { font-size: 10.5px; } .gsum ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .clock { font-size: 11.5px; padding: 2px 7px; gap: 4px; } .clock b { font-size: 13px; } .menu, .touch .menu { top: calc(238px + var(--st)); } #h-left { font-size: 16px; } .gcards { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
@media (max-height: 480px) { .clock { font-size: 11.5px; padding: 2px 7px; } .clock b { font-size: 13px; } #h-left { font-size: 14px; margin-top: 3px; } }

/* ── zorluk modları */
.modes { width: 100%; max-width: 900px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .mode { display: grid; gap: 2px; padding: 9px 13px 10px; border-radius: 12px; text-align: left; line-height: 1.3; background: linear-gradient(color-mix(in srgb, var(--r) 14%, #1b1328f2), #100a18f5); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--r) 45%, #1a1226); } .mode b { font: 700 20px/1.2 var(--serif); color: color-mix(in srgb, var(--r) 80%, #fff); } .mode span { font-size: 13px; } .mode small { font-size: 12.5px; color: color-mix(in srgb, var(--r) 60%, #fff); } .mode:hover { filter: brightness(1.18); } .mode.on { background: linear-gradient(color-mix(in srgb, var(--r) 36%, #1b1328), #1a1226); box-shadow: inset 0 0 0 2px var(--r), 0 0 18px color-mix(in srgb, var(--r) 45%, transparent); }
#pick footer .mode span { width: auto; text-align: left; } .mtag { padding: 3px 12px; border-radius: 8px; font-weight: 700; color: var(--r); box-shadow: inset 0 0 0 1.5px var(--r); }
@media (max-width: 900px) { .modes { gap: 6px; } .mode { padding: 6px 8px; } #pick footer .mode span { display: none; } .mode b { font-size: 16px; } .mode small { font-size: 11px; } }
@media (max-width: 900px) { #pick footer .btn.big { min-height: 44px; padding: 8px 14px; font-size: 15px; flex: 1; } }
@media (max-width: 900px) and (max-height: 520px) { #pick footer { flex-wrap: nowrap; } #pick footer .modes { flex: 2 1 380px; width: auto; } #pick footer .btn.big { flex: 0 1 auto; } .mode small { display: none; } .mode { min-height: 44px; align-content: center; text-align: center; } .pkroster { grid-auto-rows: max-content; } }

/* ── dört aktif yetenek */
.skills, .elbar, .prompt, .pop { left: max(50%, 690px); } @media (max-width: 1180px) { html:not(:has(.touch)) :is(.skills, .elbar, .prompt, .pop) { left: max(50%, 580px); } html:not(:has(.touch)) .sk { margin: 0 2px; } }
.touch .skills, .touch .elbar { left: auto; } .touch .pop { left: 50%; } .touch .prompt { left: 40%; } @media (max-width: 620px) { .touch .prompt { left: 50%; } }
.sign { display: block; padding: 5px 9px; border-radius: 8px; font-size: 13px; line-height: 1.35; background: color-mix(in srgb, var(--c) 15%, #100a18); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 50%, #100a18); } .sign b, #tip .sign b:first-child { color: var(--c); font: 700 13px var(--sans); }

.tile .pw { font: 650 11px/1.15 var(--sans); color: #ffc46a; } .side .detail { max-height: none; }
@media (max-height: 480px) { .touch .w-s3 .lvup { top: -7px; } }
/* ── yeni item ikonları: resim kutuyu doldurur, çerçeve üstüne biner */
.slot.f { background: #0c0814; box-shadow: 0 0 0 1px #0a0610, 0 2px 6px #000a; } .slot img { width: 100%; height: 100%; object-fit: cover; filter: none; border-radius: inherit; }
.slot.f::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px #0a0610, inset 0 0 0 3px color-mix(in srgb, var(--r) 88%, #fff), inset 0 0 0 4px #0a0610cc, inset 0 0 12px 2px color-mix(in srgb, var(--r) 45%, transparent); background: linear-gradient(160deg, #ffffff2e, transparent 34%); }
.slot .lv, .slot .pl, .slot .up { z-index: 2; } .slot.ench::after { z-index: 2; } .tiles { grid-template-columns: repeat(auto-fill, minmax(102px, 1fr)); } .tile .slot { width: 74px; } .tile .need { z-index: 3; width: 28px; border-radius: 50%; } .detail .top .slot { width: 84px; } .ware .slot { width: 60px; }
.tile:hover .slot img, button.slot:hover img { transform: scale(1.07); transition: transform .16s; } .tile:not(.can) .slot img { filter: saturate(.7) brightness(.82); }
.rn img { width: 38px; height: 38px; border-radius: 7px; background: none; } .mini-it { width: 46px; height: 46px; overflow: hidden; background: none; } .mini-it img { width: 100%; height: 100%; border-radius: inherit; } .goal img, .toast img { border-radius: 7px; }
.orbc { overflow: hidden; } .orbc img { width: 100%; border-radius: inherit; } .li img.oi, .orbn img { border-radius: 50%; }
.gcard img { width: 132px; height: 132px; border-radius: 14px; filter: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--r) 80%, #fff), 0 0 0 4px #0a0610, 0 0 22px color-mix(in srgb, var(--r) 55%, transparent); margin-bottom: 8px; } .gtop img { width: 104px; height: 104px; border-radius: 12px; box-shadow: 0 0 0 2px var(--r), 0 0 0 3px #0a0610; }
.gitems { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); } .gi { padding: 0 0 5px; overflow: hidden; gap: 4px; } .gi img { width: 100%; height: auto; aspect-ratio: 1; } .gs { padding: 0 0 6px; overflow: hidden; } .gs img { width: 100%; height: auto; aspect-ratio: 1; max-width: none; } .gs .no { filter: grayscale(1) brightness(.35); }
/* ── hesap, arkadaşlar ve odalar */
#online { position: fixed; inset: 0; z-index: 5; overflow: auto; padding: calc(20px + var(--st)) max(18px, 4vw) calc(24px + var(--sb)); background: linear-gradient(#150d22f2, #0e0818f7); display: flex; flex-direction: column; gap: 16px; } #online[hidden], #invite[hidden], #party[hidden], #netwait[hidden], #t-user[hidden] { display: none; }
#online header { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; } #online h2 { font-size: clamp(24px, 3vw, 38px); color: #ffe3a6; flex: 1; } #online h3 { color: #ffdf9a; font-size: 22px; margin: 0 0 10px; } #online h4 { margin: 14px 0 8px; color: #ffdf9a; }
#online .who { display: flex; align-items: center; gap: 8px; font-weight: 700; } .dot { width: 10px; height: 10px; border-radius: 50%; background: #6d6280; flex: none; } .on > .dot { background: #6ee07a; box-shadow: 0 0 8px #6ee07a; }
.oncard { background: #1d1430; border: 1px solid #4a3866; border-radius: 14px; padding: 18px; } .oncard.narrow { width: min(440px, 100%); margin: 2vh auto; } .oncard form h3 { margin-top: 14px; } .oncols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 370px); gap: 16px; align-items: start; }
.fld { display: block; margin: 12px 0; } .fld span { display: block; margin-bottom: 5px; font-weight: 600; } #online input { width: 100%; min-height: 46px; padding: 8px 12px; font: inherit; font-size: 16px; color: #fff; background: #0e0818; border: 1.5px solid #6a5390; border-radius: 9px; } #online input:focus-visible { outline: 2px solid #ffc861; outline-offset: 1px; } #online form > .btn.big { width: 100%; margin-top: 8px; }
.inl { display: flex; gap: 8px; margin: 12px 0; align-items: center; flex-wrap: wrap; } .inl input { flex: 1 1 130px; width: auto !important; } .lnk { background: none; border: 0; color: #c9b6ff; text-decoration: underline; cursor: pointer; font: inherit; padding: 8px 4px; min-height: 40px; } #online .btn.bad { background: #8a2a3a; color: #fff; }
.rec { display: block; padding: 14px; margin: 14px 0; text-align: center; font: 700 20px ui-monospace, Consolas, monospace; letter-spacing: .04em; color: #ffe08a; background: #0e0818; border: 1.5px dashed #ffc861; border-radius: 10px; user-select: all; overflow-wrap: anywhere; } #online .row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.fr { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-top: 1px solid #3a2c52; } .fr > div { flex: 1; min-width: 0; } .fr b { display: block; overflow: hidden; text-overflow: ellipsis; } .fr small { color: #b5a8c8; } .fr .btn.sm { min-height: 40px; padding: 5px 10px; font-size: 14px; }
.rmhead { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; } .rmhead > div { flex: 1; } .rmhead small { display: block; color: #b5a8c8; } .rmhead output { font: 800 28px ui-monospace, Consolas, monospace; letter-spacing: .12em; color: #ffe08a; user-select: all; }
.rms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; } .rm { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; min-height: 150px; border-radius: 12px; background: #120b1f; border: 1.5px solid #4a3866; text-align: center; } .rm.ok { border-color: #6ee07a; } .rm.none { justify-content: center; border-style: dashed; color: #9a8cb0; } .rm img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--c); } .rm b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; } .rm small { color: #c9bcd8; }
.pkh { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; } #online .mode { min-height: 44px; } #online .mode:disabled { opacity: .55; cursor: default; } #online .mode.on:disabled { opacity: 1; } .onacc { display: flex; gap: 14px; flex-wrap: wrap; }
#t-user { font-weight: 700; color: #a8e6ff; text-shadow: 0 2px 8px #000; } .cnt { display: inline-block; min-width: 22px; padding: 1px 6px; border-radius: 11px; background: #e0483a; color: #fff; font-style: normal; font-size: 14px; }
#invite { position: fixed; z-index: 30; right: calc(16px + var(--sr, 0px)); bottom: calc(16px + var(--sb)); width: min(340px, calc(100vw - 32px)); padding: 16px; border-radius: 14px; background: #241838; border: 2px solid #ffc861; box-shadow: 0 10px 40px #000b; } #invite .row { display: flex; gap: 10px; margin-top: 12px; }
#netwait { position: fixed; z-index: 20; top: 24%; left: 50%; transform: translateX(-50%); padding: 14px 22px; border-radius: 12px; background: #2a1420f2; border: 1.5px solid #ff9a6a; font-weight: 700; text-align: center; }
#party { position: absolute; left: calc(12px + var(--sl, 0px)); top: 190px; width: 210px; display: flex; flex-direction: column; gap: 6px; pointer-events: none; } .pt { display: flex; gap: 8px; align-items: center; padding: 5px 8px 5px 5px; border-radius: 10px; background: #120b1fd9; } .pt.off { opacity: .6; } .pt img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; } .pt > div { flex: 1; min-width: 0; } .pt b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pt small { color: #c9bcd8; font-weight: 500; } .pt .bar { display: block; height: 7px; margin-top: 2px; } .pt .bar.mp { height: 4px; } .pt .bar i { display: block; height: 100%; transform-origin: left; background: linear-gradient(#7ee05a, #2c8a2a); } .pt .bar.mp i { background: linear-gradient(#6ab8ff, #2a66d8); }
@media (max-width: 900px) { .oncols { grid-template-columns: minmax(0, 1fr); } .rms { grid-template-columns: repeat(2, minmax(0, 1fr)); } #party { width: 150px; top: 150px; } .pt img { width: 28px; height: 28px; } }
