:root {
--gold: #c7b377; --gold2: #e8d9a0; --stone: #1b1916; --stone2: #262320; --edge: #4a4236; --edge2: #6e604a;
--white: #ececec; --magic: #6969ff; --rare: #ffff64; --set: #00c400; --unique: #c7b377; --rune: #ffa800; --grey: #8a8a8a; --red: #ff4d4d;
--font: 'Alegreya SC', Georgia, serif; --body: 'Alegreya Sans', Arial, sans-serif;
}
html, body { margin: 0; height: 100%; background: #000; overflow: hidden; color: var(--white); font-family: var(--body); user-select: none; }
#stage { position: fixed; inset: 0; display: block; cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24'><path d='M2 2 L18 9 L11 11 L9 18 Z' fill='%23d8c890' stroke='%23000' stroke-width='1.5'/></svg>") 2 2, default; }
#boot { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: #000; z-index: 50; font-family: var(--font); }
#boot b { font-size: 48px; color: var(--gold); letter-spacing: 2px; }
#boot span { color: #999; }
#ui { position: fixed; inset: 0; pointer-events: none; z-index: 10; font-family: var(--body); }
#ui { zoom: var(--k, 1); } #title { zoom: var(--kt, var(--k, 1)); }
#ui > * { pointer-events: auto; }
#hud { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: 980px; height: 118px; display: flex; align-items: flex-end; pointer-events: none; zoom: 1.2; }
#hud > * { pointer-events: auto; }
#hud .orb { position: relative; width: 116px; height: 116px; border-radius: 50%; overflow: hidden; flex: none; z-index: 2;
background: radial-gradient(circle at 50% 50%, #120a08 0, #050303 70%); box-shadow: 0 0 0 4px #2c2620, 0 0 0 6px #5a4c38, 0 0 18px rgba(0,0,0,.9) inset; margin-bottom: 2px; }
#hud .orb .fill { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; transition: height .15s linear; }
#hud .life .fill { background: radial-gradient(circle at 40% 30%, #ff5a4a 0, #b3140c 45%, #5c0703 100%); }
#hud .mana .fill { background: radial-gradient(circle at 40% 30%, #6a8cff 0, #1430b3 45%, #070f5c 100%); }
#hud .orb .gloss { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 35% 22%, rgba(255,255,255,.35) 0, rgba(255,255,255,0) 32%); pointer-events: none; }
#hud .orb span { position: absolute; left: 50%; top: -26px; transform: translateX(-50%); white-space: nowrap; font: 13px var(--body); color: #fff; text-shadow: 0 0 3px #000, 0 0 3px #000; opacity: 0; transition: opacity .15s; }
#hud .orb:hover span { opacity: 1; }
#hud .orb { overflow: visible; } #hud .orb .fill { border-radius: 0 0 58px 58px; clip-path: circle(58px at 58px calc(100% - 58px)); }
#hud.low .life { animation: lowpulse 1s infinite; }
@keyframes lowpulse { 50% { box-shadow: 0 0 0 4px #2c2620, 0 0 0 6px #a02020, 0 0 24px #f00; } }
#hud .bar { flex: 1; height: 74px; margin: 0 -14px; background: linear-gradient(#2e2924, #171410 60%, #0e0c0a); border-top: 2px solid #6e604a; border-left: 1px solid #3a3226; border-right: 1px solid #3a3226; box-shadow: 0 -2px 10px rgba(0,0,0,.8), inset 0 1px 0 #8a7a5a; padding: 0 26px; position: relative; }
#hud .xp { position: absolute; left: 22px; right: 22px; top: -9px; height: 6px; background: #0a0806; border: 1px solid #4a4030; }
#hud .xp .fill { height: 100%; background: linear-gradient(#e8d9a0, #9a8040); width: 0; }
#hud .row { display: flex; align-items: center; gap: 10px; height: 100%; }
#hud .skill { width: 54px; height: 54px; flex: none; background: #0d0b09; border: 2px solid #6e604a; color: var(--gold2); font: 10px/1.05 var(--font); padding: 2px; cursor: pointer; display: flex; align-items: center; justify-content: center; text-align: center; box-shadow: inset 0 0 10px #000; }
#hud .skill:hover { border-color: var(--gold2); }
#hud .skill:empty::after { content: 'Attack'; color: #8a7a5a; }
#hud .mid { flex: none; width: 200px; display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
#hud .stam { width: 100%; height: 7px; background: #0a0806; border: 1px solid #3a3226; }
#hud .gem { flex: 1; height: 54px; display: flex; align-items: center; justify-content: center; }
#hud .gem::after { content: ''; width: 30px; height: 30px; transform: rotate(45deg); background: radial-gradient(circle, #5a4c38, #1d1915); border: 2px solid #8a7a5a; box-shadow: 0 0 8px #000, inset 0 0 6px #000; }
#hud .belt { margin-left: 6px; }
#hud .stam .fill { height: 100%; background: #c8a030; }
#hud .belt { display: flex; gap: 4px; }
#hud .belt .slot { width: 40px; height: 44px; background: #0d0b09; border: 1px solid #4a4030; position: relative; }
#hud .belt .slot img { width: 100%; height: 100%; object-fit: contain; }
#hud .belt .slot i { position: absolute; right: 2px; bottom: 0; font: 10px var(--body); color: #aaa; font-style: normal; }
#hud .menu { display: flex; gap: 3px; justify-content: space-between; }
#hud .menu button { width: 30px; height: 24px; background: #1d1915; border: 1px solid #5a4c38; color: var(--gold); font: 12px var(--font); cursor: pointer; padding: 0; }
#hud .menu button:hover { color: #fff; border-color: var(--gold); }
#hud .newpts { position: absolute; bottom: 124px; left: 0; right: 0; display: flex; justify-content: space-between; pointer-events: none; padding: 0 8px; }
#hud .newpts button { pointer-events: auto; background: #1d1915; border: 1px solid var(--gold); color: var(--gold2); font: 13px var(--font); padding: 3px 10px; cursor: pointer; animation: glowpts 1.4s infinite; }
@keyframes glowpts { 50% { box-shadow: 0 0 10px #e8d9a0; } }
#monbar { position: fixed; top: 10px; left: 50%; transform: translateX(-50%); width: 340px; height: 26px; background: #1a0503; border: 1px solid #5a4c38; pointer-events: none; text-align: center; }
#monbar .fill { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(#a01810, #600a05); }
#monbar b { position: relative; font: 16px/26px var(--font); color: #fff; text-shadow: 0 0 3px #000; }
#monbar small { position: absolute; top: 28px; left: 0; right: 0; color: #9aa0ff; font: 13px var(--body); text-shadow: 0 0 3px #000; }
#monbar small i { font-style: normal; }
#msgs { position: fixed; top: 22%; left: 50%; transform: translateX(-50%); text-align: center; pointer-events: none; font: 17px var(--body); text-shadow: 0 0 4px #000, 0 0 2px #000; }
#msgs div { transition: opacity .8s; } #msgs div.go { opacity: 0; }
#area-name { position: fixed; top: 16%; left: 50%; transform: translateX(-50%); font: 34px var(--font); color: var(--gold2); text-shadow: 0 0 6px #000; opacity: 0; pointer-events: none; }
#area-name.show { animation: areaname 3.5s; }
@keyframes areaname { 10% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; } }
#hoverlabel { position: fixed; transform: translate(-50%, -100%); background: rgba(0,0,0,.75); border: 1px solid #3a3226; padding: 2px 8px; font: 15px var(--body); color: #fff; pointer-events: none; white-space: nowrap; }
#dead { position: fixed; inset: 0; background: rgba(40,0,0,.55); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; cursor: pointer; animation: fadein 1.2s; }
#dead b { font: 54px var(--font); color: #c01010; text-shadow: 0 0 12px #000; }
#dead span { font: 18px var(--body); color: #ddd; }
@keyframes fadein { from { opacity: 0; } }
.panel { position: fixed; top: 40px; width: 336px; max-height: calc(100vh - 180px); overflow: auto; background: linear-gradient(#1d1a16, #110f0c); border: 2px solid #5a4c38; box-shadow: 0 0 0 1px #000, 0 8px 30px rgba(0,0,0,.9); padding: 12px 14px; color: #ddd; font: 14px var(--body); }
.panel.left { left: 12px; } .panel.right { right: 12px; } .panel.mid { left: 50%; transform: translateX(-50%); top: 15vh; width: 380px; }
.panel.left, .panel.right { zoom: var(--pz, 1.4); top: 40px; min-height: min(440px, calc((var(--uih) - 152px) / var(--pz, 1.4) - 40px)); max-height: calc((var(--uih) - 152px) / var(--pz, 1.4) - 40px); border-width: 3px; border-color: #6e604a; box-shadow: 0 0 0 1px #000, inset 0 0 0 1px #2a251e, inset 0 0 40px rgba(0,0,0,.6), 0 8px 30px rgba(0,0,0,.9); }
.panel.left { left: 0; border-left: 0; } .panel.right { right: 0; border-right: 0; }
.panel.mid { zoom: 1.2; top: calc(var(--uih) * .15 / 1.2); max-height: calc((var(--uih) - 260px) / 1.2); }
.panel > .x { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; padding: 0; background: #4a120c; border: 1px solid #a0603a; color: #f0d0c0; font: 13px/1 var(--body); }
.panel > .x:hover { background: #7a1c12; color: #fff; }
#skillpick { padding-top: 30px !important; }
.panel .advbtn { display: flex; justify-content: center; margin: 8px 0 4px; } .panel .kvs.adv .kv span { color: #9ab0d0; }
.panel .kvs.adv .kh { grid-column: 1 / -1; margin: 8px 0 2px; padding-bottom: 2px; border-bottom: 1px solid #5a4c38; color: var(--gold); font: 13px var(--font); letter-spacing: 1px; }
.panel .kvs.adv .kh:first-child { margin-top: 0; }
.panel .kvs.adv .kv b { white-space: nowrap; padding-left: 6px; }
.panel .kvs.adv .kl { grid-column: 1 / -1; padding: 2px 4px; font-size: 13px; color: #8a8aff; border-bottom: 1px solid #2a251e; }
.panel .kvs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; } .panel .kvs .kv { font-size: 13px; }
.panel .stashgold { display: flex; justify-content: center; gap: 6px; margin-top: 10px; } .panel .stashgold button { min-width: 180px; padding: 6px 14px; color: var(--gold2); background: #14110e; border-color: #6e604a; }
#skillpick > .x { position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; padding: 0; display: block; background: #4a120c; border: 1px solid #a0603a; color: #f0d0c0; font: 13px/1 var(--body); cursor: pointer; }
#skillpick > .x:hover { background: #7a1c12; color: #fff; }
.panel.mid:has(.gamemenu) { background: rgba(0,0,0,.6); border: 0; box-shadow: 0 0 0 100vmax rgba(0,0,0,.6); width: 400px; overflow: visible; }
.gamemenu h1 { margin: 0 0 22px; text-align: center; white-space: nowrap; font: 40px/1 var(--font); color: #ffb040; text-shadow: 0 0 10px #c03000, 0 0 24px #801800, 0 2px 0 #000; }
.gamemenu .opts { gap: 10px; }
.gamemenu .opts button { padding: 10px 14px; font: 16px var(--font); letter-spacing: 1px; color: #e8e0d0; background: linear-gradient(#5a5650, #2e2b28 55%, #1e1c1a); border: 2px solid #8a7a5a; border-radius: 3px; box-shadow: inset 0 1px 0 #8a8680, 0 2px 6px #000; }
.gamemenu .opts button:hover { color: #fff; border-color: #e8d9a0; }
.panel h2 { margin: 0 0 6px; font: 22px var(--font); color: var(--gold); text-align: center; } .panel h2 small { font-size: 14px; color: #998a6a; }
.panel .sub { text-align: center; color: #998a6a; font-size: 13px; margin-bottom: 8px; }
.panel button { background: #26211b; border: 1px solid #5a4c38; color: var(--gold2); font: 14px var(--font); padding: 4px 10px; cursor: pointer; }
.panel button:hover:not(:disabled) { border-color: var(--gold2); color: #fff; } .panel button:disabled { opacity: .35; cursor: default; }
.panel .kv { display: flex; justify-content: space-between; padding: 2px 4px; border-bottom: 1px solid #2a251e; }
.panel .kv span { color: #b8a880; }
.panel .stats { margin: 8px 0; } .panel .st { display: flex; align-items: center; gap: 6px; padding: 3px 4px; background: #17140f; margin-bottom: 3px; }
.panel .st span { flex: 1; color: var(--gold); } .panel .st b { width: 44px; text-align: right; } .panel .st button { padding: 0 8px; }
.panel .pts { text-align: center; color: #e8d9a0; margin: 6px 0; }
.panel .gold { text-align: right; color: var(--gold2); margin: 6px 2px; }
.grid { position: relative; background-color: #0b0a08; background-image: linear-gradient(#2a251e 1px, transparent 1px), linear-gradient(90deg, #2a251e 1px, transparent 1px); background-size: 29px 29px; border: 1px solid #4a4030; margin: 0 auto; }
.it { position: absolute; display: flex; align-items: center; justify-content: center; background: rgba(40, 60, 120, .18); box-sizing: border-box; }
.it img { max-width: 92%; max-height: 92%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 1px 1px #000); }
.it.q-magic { background: rgba(60, 60, 200, .22); } .it.q-rare { background: rgba(200, 200, 60, .18); } .it.q-set { background: rgba(0, 160, 0, .2); } .it.q-unique, .it.q-runeword { background: rgba(200, 170, 90, .22); }
.it.cant { background: rgba(200, 20, 20, .35); } .it.unid { outline: 1px dashed #a03030; outline-offset: -2px; } .it.broken img { filter: sepia(1) hue-rotate(-50deg) saturate(4); }
.it .sk { position: absolute; right: 1px; bottom: 0; font: 10px var(--body); color: #aaa; font-style: normal; }
.doll { position: relative; height: 236px; margin-bottom: 8px; }
.doll .slot { position: absolute; background: #0b0a08; border: 1px solid #4a4030; }
.doll .slot .it { position: relative; }
.doll .swap { position: absolute; left: 10px; top: 12px; display: flex; gap: 2px; } .doll .swap button { font-size: 10px; padding: 0 5px; } .doll .swap button.on { color: #fff; border-color: var(--gold2); }
.tabs { display: flex; gap: 4px; justify-content: center; margin-bottom: 6px; } .tabs button.on { border-color: var(--gold2); color: #fff; background: #3a3024; }
.tree .tier { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; min-height: 58px; }
.tree .tier > i { width: 20px; color: #6a5a40; font: 12px var(--font); font-style: normal; }
.tree .sk { width: 92px; height: 54px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; font-size: 12px; line-height: 1.05; }
.tree .sk.has { border-color: #c7b377; background: #3a3024; } .tree .sk.locked { opacity: .35; }
.tree .sk b { color: #fff; font: 15px var(--body); } .tree .sk small { color: #6969ff; margin-left: 2px; }
#tip { position: fixed; z-index: 30; background: rgba(8, 7, 6, .94); border: 1px solid #3a3226; padding: 8px 12px; max-width: 340px; text-align: center; font: 14px/1.35 var(--body); color: #fff; pointer-events: none; }
#tip .stip { text-align: left; max-width: 300px; } #tip .stip > div + div { margin-top: .35em; } #tip .stip .sk { color: #998a6a; font-size: 12px; }
#tip .tn { font: 16px var(--font); } #tip .tm { color: #6969ff; } #tip .th { color: #998a6a; font-size: 12px; margin-top: 6px; }
#held { position: fixed; z-index: 40; pointer-events: none; transform: translate(-50%, -50%); object-fit: contain; filter: drop-shadow(0 2px 3px #000); }
body.holding #stage, body.holding .panel { cursor: grabbing; }
body.idcursor, body.idcursor * { cursor: help !important; }
#skillpick { position: fixed; bottom: 124px; z-index: 20; display: flex; flex-direction: column; gap: 3px; background: rgba(15,13,10,.96); border: 1px solid #5a4c38; padding: 6px; max-height: 60vh; overflow: auto; }
#skillpick.left { left: calc(50% - 360px); } #skillpick.right { left: calc(50% + 200px); }
#skillpick .hint { color: #998a6a; font-size: 12px; max-width: 200px; } #skillpick button { display: flex; justify-content: space-between; gap: 12px; background: #26211b; border: 1px solid #5a4c38; color: var(--gold2); font: 14px var(--font); padding: 4px 10px; cursor: pointer; min-width: 180px; }
#skillpick button.on { border-color: var(--gold2); color: #fff; } #skillpick button i { color: #998a6a; font-style: normal; }
.panel .say { margin: 10px 0 14px; font-style: italic; color: #ddd; text-align: center; }
.panel .opts { display: flex; flex-direction: column; gap: 6px; }
.panel .wps { display: flex; flex-direction: column; gap: 4px; } .panel .wps .here { border-color: #6fa8ff; }
.panel .qa { margin: 8px 0; } .panel .qa b { color: var(--gold); display: block; } .panel .qa div { padding-left: 10px; color: #ccc; } .panel .qa .done { color: #7a7a7a; text-decoration: line-through; }
.sellbox { margin-top: 8px; padding: 10px; text-align: center; border: 1px dashed #5a4c38; color: #998a6a; }
#automap { position: fixed; inset: 0; pointer-events: none; z-index: 5; }
#title { position: fixed; inset: 0; z-index: 60; background: radial-gradient(ellipse at 50% 30%, #2a1a10 0, #070504 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; font-family: var(--font); color: #ddd; }
#title h1 { margin: 0; font: 64px var(--font); color: var(--gold); letter-spacing: 3px; text-shadow: 0 0 20px rgba(255,140,40,.35), 0 2px 0 #000; }
#title .tag { color: #998a6a; }
#title button { background: #1d1915; border: 1px solid #5a4c38; color: var(--gold2); font: 16px var(--font); padding: 8px 18px; cursor: pointer; }
#title button:hover:not(:disabled) { border-color: var(--gold2); color: #fff; } #title button.on { border-color: var(--gold2); background: #3a3024; } #title button:disabled { opacity: .3; cursor: default; }
#title .chars { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: 900px; }
#title .chars button { display: flex; gap: 10px; align-items: center; text-align: left; width: 260px; }
#title .chars img { height: 90px; } #title .chars span { display: flex; flex-direction: column; } #title .chars b { font-size: 20px; } #title .chars small { color: #998a6a; font: 13px var(--body); }
#title .none { color: #776; }
#title .row { display: flex; gap: 10px; } #title .go { background: #3a2a14; border-color: var(--gold); } #title .del { color: #c06050; }
#title .diff { display: flex; gap: 6px; }
#title .classes { display: flex; gap: 14px; } #title .classes button { display: flex; flex-direction: column; align-items: center; width: 220px; gap: 4px; } #title .classes img { height: 200px; } #title .classes small { font: 13px var(--body); color: #998a6a; }
#title .skins { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; } #title .skins button { padding: 4px; display: flex; flex-direction: column; align-items: center; } #title .skins img { height: 70px; } #title .skins small { font: 11px var(--body); color: #998a6a; }
#title .chars b.hc { color: #ff4d4d; } #title .chars button.hcdead { opacity: .45; filter: grayscale(1); }
#title .hcbox { display: flex; align-items: center; gap: 6px; color: #ff6a5a; font: 16px var(--font); cursor: pointer; } #title .hcbox input { width: auto; }
#title input { background: #0d0b09; border: 1px solid #5a4c38; color: #fff; font: 18px var(--font); padding: 6px 10px; width: 220px; }
#mercbox { position: fixed; left: 12px; top: 10px; width: 150px; background: rgba(15,13,10,.85); border: 1px solid #5a4c38; padding: 4px 6px; pointer-events: none; }
#mercbox b { font: 14px var(--font); color: var(--gold2); } #mercbox .hp { height: 6px; background: #1a0503; margin-top: 3px; } #mercbox .fill { height: 100%; background: #b3140c; }
.panel .merc { display: flex; gap: 8px; align-items: center; padding: 6px; border-bottom: 1px solid #2a251e; } .panel .merc div { flex: 1; display: flex; flex-direction: column; } .panel .merc small { color: #998a6a; font-size: 12px; } .panel .merc img { width: 46px; height: 46px; object-fit: contain; }
#preview { position: fixed; right: 12px; top: 12px; background: rgba(15,13,10,.94); border: 1px solid #5a4c38; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; font: 14px var(--body); }
#preview b { font: 18px var(--font); color: var(--gold); } #preview small { color: #998a6a; }
#preview div { display: flex; gap: 4px; flex-wrap: wrap; } #preview button { background: #26211b; border: 1px solid #5a4c38; color: var(--gold2); font: 13px var(--font); padding: 3px 8px; cursor: pointer; }
body.cur-attack #stage { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='26'><path d='M3 3 L18 18 M15 21 L21 15 M3 3 L7 3 M3 3 L3 7' stroke='%23e8e0d0' stroke-width='3' fill='none' stroke-linecap='round'/><path d='M3 3 L18 18' stroke='%23000' stroke-width='1'/></svg>") 3 3, crosshair; }
body.cur-use #stage { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24'><path d='M8 22 L8 9 Q8 6 10 6 Q12 6 12 9 L12 12 L12 4 Q12 2 14 2 Q16 2 16 4 L16 12 L16 6 Q16 4 18 4 Q20 4 20 6 L20 16 Q20 22 14 22 Z' fill='%23d8c890' stroke='%23000' stroke-width='1.2'/></svg>") 8 2, pointer; }
.tree { position: relative; } .tree svg.arrows { position: absolute; left: 0; top: 0; pointer-events: none; } .tree .tier { position: relative; z-index: 1; }
.tree .slot { width: 92px; height: 70px; flex: none; }
.panel { scrollbar-width: thin; scrollbar-color: #6e604a #0b0d18; overflow-x: hidden; }
.it.eth img { opacity: .62; filter: drop-shadow(0 0 3px #9ab) saturate(.6); }
#tip .cmp { display: flex; gap: .8em; align-items: flex-start; text-align: center; }
#tip:has(.cmp) { max-width: none; }
#tip:has(.icard) { background: none; border: 0; padding: 0; max-width: none; }
#tip > .th { background: rgba(8, 7, 6, .9); padding: .15em .6em; margin: .3em auto 0; width: fit-content; font-size: .86em; }
#tip .icard { position: relative; width: 23.5em; box-sizing: border-box; padding: 1em 1.25em .7em; text-align: center; color: #c9c0ae; font: 1em/1.32 var(--font); border: .14em solid #6e5430;
background: #120e0a;
background: radial-gradient(ellipse 90% 34% at 50% 0, color-mix(in srgb, var(--q) 20%, transparent), transparent), radial-gradient(ellipse at 50% 45%, #1d1712, #0d0a08 90%);
box-shadow: 0 0 0 .07em #000, 0 0 0 .2em #2b2116, 0 0 0 .27em #000, 0 .5em 1.6em rgba(0, 0, 0, .75), inset 0 0 2em rgba(0, 0, 0, .7); }
#tip .icard::before { content: ''; position: absolute; inset: .28em; border: 1px solid rgba(190, 150, 90, .32); pointer-events: none; }
#tip .icard::after { content: ''; position: absolute; inset: -.2em; pointer-events: none; --c: #b08a4e; --s: .62em;
background: linear-gradient(var(--c), var(--c)) 0 0, linear-gradient(var(--c), var(--c)) 100% 0, linear-gradient(var(--c), var(--c)) 0 100%, linear-gradient(var(--c), var(--c)) 100% 100%; background-size: var(--s) var(--s); background-repeat: no-repeat; }
#tip .ic-name { color: var(--q); font-size: 1.36em; line-height: 1.12; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; text-shadow: 0 .06em .2em #000; }
#tip .ic-name2 { font-size: 1.05em; margin-top: .15em; }
#tip .ic-sub { color: color-mix(in srgb, var(--q) 62%, #c9c0ae); margin-top: .3em; }
#tip .ic-rule { height: 1px; margin: .6em 1.4em; position: relative; background: linear-gradient(90deg, transparent, #7a6238 18%, #7a6238 82%, transparent); }
#tip .ic-rule i { position: absolute; left: 50%; top: 50%; width: .5em; height: .5em; margin: -.25em; transform: rotate(45deg); background: #0d0a08; border: 1px solid #a98650; }
#tip .ic-hero { display: flex; align-items: center; justify-content: center; gap: .9em; min-height: 3em; }
#tip .ic-pic { flex: none; width: 5.6em; height: 5.6em; display: flex; align-items: center; justify-content: center; background: radial-gradient(closest-side, color-mix(in srgb, var(--q) 15%, transparent), transparent); }
#tip .ic-pic img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 .15em .25em rgba(0, 0, 0, .8)); }
#tip .ic-big { display: flex; align-items: center; gap: .55em; min-width: 0; }
#tip .ic-big b { color: #fff; font: 700 3em/1 var(--font); letter-spacing: .02em; text-shadow: 0 .05em .16em #000; white-space: nowrap; }
#tip .ic-big span { width: 5.2em; color: #e8e0cc; font-size: .92em; line-height: 1.1; text-transform: uppercase; text-align: left; }
#tip .ic-info { margin-top: .35em; }
#tip .ic-magic { font-size: 1.02em; } #tip .ic-magic > div + div { margin-top: .32em; }
#tip .ic-m { color: #62d162; } #tip .ic-m.odd { color: #e8953c; } #tip .ic-m.neg { color: #ff6a5a; }
#tip .ic-m::before { content: ''; display: inline-block; width: .36em; height: .36em; margin: 0 .5em .13em 0; transform: rotate(45deg); background: currentColor; }
#tip .ic-sock { color: #a7b0c8; } #tip .ic-bad { color: #ff4d4d; } #tip .ic-set { margin-top: .6em !important; } #tip .ic-small { font-size: .88em; } #tip .ic-magic > .ic-setp { margin-top: 0; font-size: .92em; line-height: 1.18; }
#tip .ic-hint { color: #b3a382; font-size: .9em; } #tip .ic-extra { display: block; margin-top: .6em; }
#tip .ic-foot { display: flex; align-items: center; justify-content: flex-end; gap: .35em; margin-top: .45em; color: #c7b377; font-size: .92em; }
#tip .ic-foot i { width: .85em; height: .85em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6df93, #b58a2e 65%, #6b4d14); box-shadow: 0 0 0 1px #3a2a10; }
#tip .ic-tab { width: fit-content; margin: 0 auto .35em; padding: .1em 1.2em; color: #e8d9a0; font: 1em var(--font); letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(#2b2116, #171109); border: 1px solid #6e5430; }
.panel .mercgear { margin-top: 10px; } .panel .mslots { display: flex; gap: 8px; justify-content: center; align-items: flex-start; }
.panel .mslots .slot { background: #0b0a08; border: 1px solid #4a4030; } .panel .mslots .lbl { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #5a4c38; font: 12px var(--font); font-style: normal; }
#story { position: fixed; inset: 0; z-index: 45; background: rgba(0,0,0,.88); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 0 12vw; cursor: pointer; animation: fadein 1.5s; }
#story b { font: 42px var(--font); color: var(--gold); } #story p { font: 21px/1.6 var(--body); color: #ddd; max-width: 760px; text-align: center; animation: rise 3s ease-out; } #story p.goal { font-size: 18px; color: #ffe38a; animation: none; } #story small { color: #776; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.panel details.rw { margin: 10px 0; max-height: 40vh; overflow: auto; } .panel details.rw summary { cursor: pointer; color: var(--gold); font: 16px var(--font); }
.panel details.rw > div { padding: 4px 0; border-bottom: 1px solid #2a251e; } .panel details.rw b { color: #c7b377; } .panel details.rw small { color: #998a6a; } .panel details.rw .tm { color: #6969ff; font-size: 13px; }
#hud .skill { padding: 0; overflow: hidden; } #hud .skill img { width: 100%; height: 100%; display: block; } #hud .skill:empty::after { content: none; }
#hud .skill { position: relative; } #hud .skill .chg { position: absolute; right: 3px; bottom: 1px; font: bold 13px/1 var(--font); color: #fff; text-shadow: 0 0 3px #000, 0 0 3px #000, 0 0 2px #000; }
.tree .sk { position: relative; width: 92px; height: 70px; padding: 2px; } .tree .sk img { width: 34px; height: 34px; } .tree .sk.locked img { filter: grayscale(1); } .tree .sk span { font-size: 11px; }
#skillpick button img { width: 28px; height: 28px; } #skillpick button { align-items: center; } #skillpick button span { flex: 1; text-align: left; }
#skillpick[hidden] { display: none !important; }
#skillpick > .x { min-width: 0 !important; width: 22px !important; left: auto; display: flex !important; align-items: center; justify-content: center; }
html.touch, html.touch body { overscroll-behavior: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
html.touch #hud { zoom: 1; width: 1040px; }
html.touch #hud .mid { width: 260px; }
html.touch #hud .menu button { width: 40px; height: 32px; font-size: 15px; }
html.touch .panel.left, html.touch .panel.right { zoom: 1.15; top: 4px; min-height: 0; max-height: calc((var(--uih) - 8px) / 1.15 - 48px); }
html.touch .panel.mid { top: 8px; max-height: calc((var(--uih) - 120px) / 1.2); }
html.touch #skillpick { bottom: 96px; }
#pad { position: fixed; inset: 0; pointer-events: none; z-index: 8; }
#pad > * { pointer-events: auto; }
#pad .stick { position: fixed; width: 108px; height: 108px; margin: -54px 0 0 -54px; border-radius: 50%; border: 2px solid rgba(232,217,160,.45); background: radial-gradient(circle, rgba(0,0,0,.12), rgba(0,0,0,.35)); pointer-events: none; }
#pad .stick[hidden] { display: none; }
#pad .stick i { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #8a7a5a, #3a3226); border: 2px solid #c7b377; }
#pad .tb { position: fixed; border-radius: 50%; background: #0d0b09; border: 3px solid #6e604a; padding: 0; overflow: hidden; box-shadow: 0 0 10px #000; touch-action: none; }
#pad .tb img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
#pad .tb.left { right: 8px; bottom: 8px; width: 66px; height: 66px; }
#pad .tb.right { right: 14px; bottom: 84px; width: 54px; height: 54px; }
#pad .tb.on { border-color: #e8d9a0; filter: brightness(1.3); }
#pad .tb .chg { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font: bold 14px/1 var(--font); color: #fff; text-shadow: 0 0 3px #000, 0 0 3px #000, 0 0 2px #000; pointer-events: none; }
#pad .full { position: fixed; left: 6px; top: 6px; width: 34px; height: 34px; background: rgba(13,11,9,.8); border: 1px solid #5a4c38; color: var(--gold2); font-size: 18px; line-height: 1; padding: 0; }
#turn { display: none; }
@media (orientation: portrait) {
html.touch #turn { display: flex; position: fixed; inset: 0; z-index: 100; background: #070504; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--gold2); font: 22px var(--font); text-align: center; padding: 20px; }
html.touch #turn span { font: 15px var(--body); color: #998a6a; }
}
html.touch #title { gap: 8px; justify-content: safe center; overflow-y: auto; }
@media (max-height: 520px) { html.touch #title .classes img { height: 118px; } html.touch #title .classes small { font-size: 12px; }
html.touch #title .skins { flex-wrap: nowrap; } html.touch #title .skins img { height: 50px; } html.touch #title .skins button { padding: 2px; } }
body.gate-page { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 50% 30%, #2a1a10 0, #070504 70%); color: #ddd; font-family: var(--font); }
#gate { max-width: 420px; margin: 0 auto; padding: 28px 16px 40px; display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
#gate .figs { display: flex; justify-content: center; align-items: flex-end; height: 150px; } #gate .figs img { height: 150px; margin: 0 -14px; filter: drop-shadow(0 6px 10px #000); }
#gate h1 { margin: 0; text-align: center; font: 46px/1.05 var(--font); color: var(--gold); letter-spacing: 2px; text-shadow: 0 0 20px rgba(255,140,40,.35), 0 2px 0 #000; }
#gate .tag { text-align: center; color: #cdbb90; text-shadow: 0 0 3px #000, 0 0 6px #000, 0 1px 0 #000; }
#gate .say { padding: 8px 12px; border: 1px solid #5a4c38; background: #14110e; color: var(--gold2); font: 15px var(--body); } #gate .say.bad { border-color: #8a3a2a; color: #ff9a80; }
#gate .gate-radio { position: absolute; opacity: 0; pointer-events: none; }
#gate .gtabs { display: flex; gap: 4px; } #gate .gtabs label { flex: 1; text-align: center; padding: 8px; background: #1d1915; border: 1px solid #5a4c38; color: var(--gold); cursor: pointer; font-size: 17px; }
#tab-in:checked ~ .gtabs label[for="tab-in"], #tab-new:checked ~ .gtabs label[for="tab-new"] { background: #3a3024; border-color: var(--gold2); color: #fff; }
#gate .pane { display: none; padding: 16px; background: #14110e; border: 1px solid #5a4c38; box-shadow: inset 0 0 20px #000; }
#tab-in:checked ~ .pane-in, #tab-new:checked ~ .pane-new { display: block; }
#gate form { display: flex; flex-direction: column; gap: 10px; }
#gate label { display: flex; flex-direction: column; gap: 4px; color: var(--gold); font-size: 15px; }
#gate input[type=text], #gate input[type=email], #gate input[type=password] { background: #0d0b09; border: 1px solid #5a4c38; color: #fff; font: 17px var(--body); padding: 8px 10px; }
#gate input:focus { outline: none; border-color: var(--gold2); }
#gate button { background: #1d1915; border: 1px solid #5a4c38; color: var(--gold2); font: 17px var(--font); padding: 9px 18px; cursor: pointer; } #gate button.go { background: #3a2a14; border-color: var(--gold); } #gate button:hover { color: #fff; border-color: var(--gold2); }
#gate details { margin-top: 12px; } #gate summary { cursor: pointer; color: #998a6a; font: 14px var(--body); } #gate details form { margin-top: 8px; }
#gate .small, #gate p { font: 13px/1.4 var(--body); color: #998a6a; } #gate a { color: var(--gold2); }
#title .acct { position: absolute; top: 12px; right: 16px; display: flex; gap: 10px; align-items: center; font: 14px var(--body); color: #998a6a; } #title .acct button { font-size: 13px; padding: 4px 10px; }
#title .acct .creator-link { background: #1d1915; border: 1px solid var(--gold2); color: var(--gold2); font: 13px var(--font); padding: 4px 10px; text-decoration: none; } #title .acct .creator-link:hover { color: #fff; }
#title .claim { max-width: 900px; padding: 10px 14px; border: 1px dashed #5a4c38; text-align: center; } #title .claim p { margin: 0 0 8px; font: 14px var(--body); color: #998a6a; } #title .claim .chars button { width: 240px; }
#title .err { color: #ff9a80; font: 14px var(--body); min-height: 18px; }
@media (max-height: 520px) { #gate { padding-top: 8px; gap: 8px; } #gate .figs { display: none; } #gate h1 { font-size: 30px; } #gate .pane { padding: 10px 14px; } #gate form { gap: 6px; } }
#hud .bar { background: linear-gradient(rgba(40,34,28,.55), rgba(8,7,6,.82) 70%), url(img/ui/stone.webp) center / 256px; border-top: 0; border-left: 0; border-right: 0;
box-shadow: 0 -3px 14px rgba(0,0,0,.85), inset 0 3px 0 -1px #a88a52, inset 0 4px 0 #3a2c18, inset 0 6px 8px rgba(0,0,0,.6), inset 0 -2px 0 #2a2016; }
#hud .bar::before, #hud .bar::after { content: ''; position: absolute; top: -6px; width: 34px; height: 12px; background: linear-gradient(#d8bc7c, #7a5c2e); clip-path: polygon(0 50%, 20% 0, 80% 0, 100% 50%, 80% 100%, 20% 100%); box-shadow: 0 0 4px #000; }
#hud .bar::before { left: 50%; transform: translateX(-50%); } #hud .bar::after { display: none; }
#hud .orb { box-shadow: 0 0 0 3px #1a140e, 0 0 0 6px #9a7a44, 0 0 0 7px #3a2a16, 0 0 0 11px #2a241e, 0 0 0 12px #6a5432, 0 4px 20px 10px rgba(0,0,0,.85), inset 0 0 22px rgba(0,0,0,.95);
background: radial-gradient(circle at 50% 50%, #140c09 0, #040202 72%); }
#hud .orb .gloss { background: radial-gradient(ellipse 46% 30% at 38% 24%, rgba(255,255,255,.42) 0, rgba(255,255,255,.08) 70%, rgba(255,255,255,0) 100%), radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 58%, rgba(0,0,0,.55) 100%); }
#hud .life .fill { background: radial-gradient(circle at 42% 34%, #ff6a52 0, #c4180e 38%, #6a0904 78%, #300302 100%); }
#hud .mana .fill { background: radial-gradient(circle at 42% 34%, #7a9cff 0, #1c3cc8 38%, #0a1670 78%, #040a34 100%); }
#hud .xp { height: 7px; top: -11px; background: #060504; border: 1px solid #6a5432; box-shadow: 0 0 0 1px #1a140e, 0 1px 4px #000;
background-image: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(106,84,50,.7) calc(10% - 1px) 10%); }
#hud .xp .fill { background: linear-gradient(#fff0b8, #d0a848 50%, #7a5a20); box-shadow: 0 0 6px rgba(232,200,110,.6); }
#hud .stam { height: 8px; background: #060504; border: 1px solid #5a4630; box-shadow: inset 0 1px 3px #000; }
#hud .stam .fill { background: linear-gradient(#f0cc60, #b88a22 60%, #6a4c10); }
#hud .skill, #hud .belt .slot { background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.6)), url(img/ui/slate.webp) center / 128px; border: 2px solid; border-color: #c8a862 #6a4e26 #4a3418 #a8884a;
box-shadow: 0 0 0 1px #120d08, inset 0 0 10px rgba(0,0,0,.9), 0 2px 6px rgba(0,0,0,.7); }
#hud .skill:hover, #hud .belt .slot:hover { border-color: #f0d898 #8a6a36 #6a4c24 #d0b070; filter: brightness(1.12); }
#hud .gem::after { width: 32px; height: 32px; background: radial-gradient(circle at 40% 35%, #ff8a5a 0, #a01c10 45%, #3a0604 100%); border: 3px solid; border-color: #e0c27e #7a5a2a #5a3e1a #b8944e;
box-shadow: 0 0 0 1px #000, 0 0 12px rgba(255,90,40,.35), inset 0 0 6px rgba(0,0,0,.8); }
#hud .menu button { background: linear-gradient(rgba(60,48,34,.4), rgba(0,0,0,.55)), url(img/ui/slate.webp) center / 96px; border: 1px solid; border-color: #b8984e #5a4020 #3a2a14 #8a6e3a;
color: #e8d098; text-shadow: 0 1px 2px #000; box-shadow: 0 1px 3px rgba(0,0,0,.8); }
#hud .menu button:hover { color: #fff; border-color: #f0d898 #8a6a36 #6a4c24 #d0b070; }
#hud .belt { position: relative; }
#hud .belt .col { position: relative; }
#hud .belt .slot.up { position: absolute; left: 0; display: none; z-index: 5; }
#hud .belt:hover .slot.up, #hud .belt.open .slot.up { display: block; }
#hud .belt .more { position: absolute; left: 2px; top: 1px; font: bold 11px/1 var(--font); color: #f0d898; text-shadow: 0 0 3px #000, 0 0 3px #000; }
#hud .belt:hover .more, #hud .belt.open .more { display: none; }
#hud .belt .btog { position: absolute; left: -18px; z-index: 6; top: 50%; transform: translateY(-50%); width: 14px; height: 30px; padding: 0; font-size: 9px; line-height: 1; cursor: pointer;
background: #1d1915; border: 1px solid #8a6e3a; color: #e8d098; }
#hud .belt.open .btog { transform: translateY(-50%) rotate(180deg); }
html.touch #hud .belt .btog { width: 22px; left: -26px; height: 40px; font-size: 12px; }
.panel { background: linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,.32)), url(img/ui/enamel-dark.webp) center / 256px; border: 16px solid transparent; border-image: url(img/ui/frame-antique.png?v=2) 24 round; box-shadow: 0 8px 30px rgba(0,0,0,.9); }
.panel.left, .panel.right { border-width: 16px; border-color: transparent; box-shadow: 0 8px 30px rgba(0,0,0,.9); }
.panel.left { border-left-width: 16px; } .panel.right { border-right-width: 16px; }
.panel button { background: linear-gradient(rgba(255,255,255,.06), rgba(0,0,0,.35)), url(img/ui/enamel.webp) center / 160px; border: 1px solid; border-color: #c8a050 #3a3a36 #2a2a26 #8a6a30; color: #f0e6c8; text-shadow: 0 1px 2px #000; }
.panel button:hover { filter: brightness(1.15); }
#hud .bar { background: linear-gradient(rgba(255,255,255,.04), rgba(0,0,0,.28) 75%), url(img/ui/enamel.webp) center / 220px;
box-shadow: 0 -3px 14px rgba(0,0,0,.85), inset 0 2px 0 #d8b866, inset 0 3px 0 #2a2a26, inset 0 6px 8px rgba(0,0,0,.45), inset 0 -2px 0 #1a1a18; }
#hud .bar::before { background: linear-gradient(#f8e098, #6a6a64); }
#hud .orb { box-shadow: 0 0 0 3px #141412, 0 0 0 7px #8a6a30, 0 0 0 8px #2a2a26, 0 0 0 13px #5a5a54, 0 0 0 14px #1a1a18, 0 4px 20px 12px rgba(0,0,0,.85), inset 0 0 22px rgba(0,0,0,.95); }
#hud .skill, #hud .belt .slot { background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.75)), url(img/ui/enamel-dark.webp) center / 128px; border-color: #e0c070 #4a4a46 #2e2e2a #b08a40; }
#hud .skill:hover, #hud .belt .slot:hover { border-color: #fff0b0 #6a6a64 #4a4a44 #e0c070; }
#hud .menu button { background: linear-gradient(rgba(255,255,255,.05), rgba(0,0,0,.35)), url(img/ui/enamel.webp) center / 120px; border-color: #d8b866 #3a3a36 #2a2a26 #a07c38; color: #f4ead0; }
#hud .xp { border-color: #8a6a30; } #hud .stam { border-color: #6a6a64; }
#hud .gem::after { border-color: #f0d080 #6a6a64 #4a4a44 #b89040; }
#hud .belt .btog { background: url(img/ui/enamel.webp) center / 80px; border-color: #c8a050; color: #fff; text-shadow: 0 0 2px #000; }
body.gate-page, #title { background: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.15) 40%, rgba(0,0,0,.7)), url(img/ui/front.webp) center / cover no-repeat, #050403; }
body.gate-page::before, #title::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
background-image: radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,.8), transparent), radial-gradient(1.5px 1.5px at 120px 80px, rgba(255,255,255,.6), transparent), radial-gradient(2.5px 2.5px at 200px 150px, rgba(255,255,255,.7), transparent), radial-gradient(1.5px 1.5px at 60px 200px, rgba(255,255,255,.5), transparent),
radial-gradient(3px 3px at 90px 110px, rgba(255,255,255,.55), transparent), radial-gradient(2px 2px at 170px 20px, rgba(255,255,255,.6), transparent);
background-size: 240px 240px, 240px 240px, 240px 240px, 240px 240px, 330px 330px, 330px 330px; animation: snowfall 14s linear infinite; }
#title > *, #gate { position: relative; z-index: 1; }
@keyframes snowfall { from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; } to { background-position: 40px 240px, -30px 240px, 20px 240px, -10px 240px, 60px 330px, -50px 330px; } }
#title h1, #gate h1 { color: #e8b04a; text-shadow: 0 0 18px rgba(255,120,20,.8), 0 0 40px rgba(255,80,0,.45), 0 3px 0 #000; }
#title .row button, #gate button.go, #gate .gtabs label, #title .diff button {
background: linear-gradient(rgba(255,255,255,.08), rgba(0,0,0,.3)), url(img/ui/enamel.webp) center / 220px; color: #1a1612; text-shadow: 0 1px 0 rgba(255,255,255,.35);
border: 10px solid transparent; border-image: url(img/ui/frame-antique.png?v=2) 24 round; font-weight: bold; letter-spacing: 1px; }
#title .row button:hover, #gate button.go:hover, #gate .gtabs label:hover { filter: brightness(1.15); }
#gate .pane, #title .chars { background: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.4)), url(img/ui/enamel-dark.webp) center / 256px; border: 14px solid transparent; border-image: url(img/ui/frame-antique.png?v=2) 24 round; }
#hud .orb::after { content: ''; position: absolute; left: -41px; top: -44px; width: 198px; height: 200px; background: url(img/ui/orb-ring.webp) center / contain no-repeat; pointer-events: none; z-index: 3; filter: drop-shadow(0 4px 6px rgba(0,0,0,.8)); }
#hud .orb { box-shadow: 0 0 0 2px #000, 0 6px 24px 10px rgba(0,0,0,.8), inset 0 0 22px rgba(0,0,0,.95); }
#hud .orb span { top: -64px; z-index: 4; }
#hud .gem::after { width: 62px; height: 66px; transform: none; border: 0; background: url(img/ui/crest.webp) center / contain no-repeat; box-shadow: none; filter: drop-shadow(0 2px 4px #000); margin-top: -10px; }
#title h1, #gate h1 { font-size: 0; color: transparent; text-shadow: none; width: min(560px, 90vw); height: 210px; margin: 0 auto -10px; background: url(img/ui/wordmark-gold.webp) center / contain no-repeat; filter: drop-shadow(0 0 22px rgba(255,90,20,.35)) drop-shadow(0 6px 10px #000); }
@media (max-height: 520px) { #gate h1, #title h1 { height: 90px; } }
#hud .bar { padding: 0 44px; } #hud .row { gap: 8px; } #hud .mid { width: 186px; }
html.touch #hud .bar { padding: 0 44px; } html.touch #hud .mid { width: 230px; } html.touch #hud .menu button { width: 34px; }
#gate .figs { display: none; }
#title h1, #gate h1 { height: 250px; }
@media (max-height: 520px) { #gate h1, #title h1 { height: 90px; margin-bottom: -4px; } #gate { padding-top: 6px; gap: 6px; } }
body.gate-page { overflow-y: auto; }
@media (max-height: 520px) and (orientation: landscape) {
#gate { max-width: 820px; min-height: 100vh; box-sizing: border-box; padding: 8px 16px; display: grid; grid-template-columns: 1fr 1.1fr; column-gap: 22px; row-gap: 6px; align-content: center; }
#gate h1 { grid-column: 1; grid-row: 1 / span 2; align-self: end; width: 100%; height: 170px; margin: 0; }
#gate .tag { grid-column: 1; grid-row: 3; align-self: start; }
#gate .say { grid-column: 1; grid-row: 4; align-self: start; }
#gate .gtabs { grid-column: 2; grid-row: 1; }
#gate .pane { grid-column: 2; grid-row: 2 / span 4; }
}
.panel h2 { position: relative; margin: -2px -4px 10px; padding: 8px 46px; font: 22px var(--font); letter-spacing: 1px; color: #f0c860;
text-shadow: 0 0 12px rgba(255,140,30,.45), 0 2px 0 #000; background: linear-gradient(90deg, transparent, rgba(0,0,0,.55) 18%, rgba(0,0,0,.55) 82%, transparent);
border-top: 1px solid; border-bottom: 1px solid; border-image: linear-gradient(90deg, transparent, #b89040 25%, #f0d080 50%, #b89040 75%, transparent) 1; }
.panel h2::before, .panel h2::after { content: ''; position: absolute; top: 50%; width: 30px; height: 32px; transform: translateY(-50%); background: url(img/ui/crest.webp) center / contain no-repeat; filter: drop-shadow(0 1px 2px #000); }
.panel h2::before { left: 8px; } .panel h2::after { right: 8px; }
.panel .grid, .panel .doll > div, .panel .slot { box-shadow: inset 0 0 8px rgba(0,0,0,.9); }
.panel .doll > div { background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.75)), url(img/ui/enamel-dark.webp) center / 128px; border: 2px solid; border-color: #9a9a92 #3a3a36 #2a2a26 #7a7a74; }
.panel h2 { margin-right: 26px; } .panel h2::after { right: 6px; }
#hud { bottom: calc(var(--safeb, 0px) / 1.2); }
#hud .mid { flex: 1; width: auto; display: flex; flex-direction: column; justify-content: center; padding: 0 6px; }
#hud .stam { height: 12px; border: 1px solid #8a6a30; box-shadow: inset 0 1px 3px #000; }
#hud .gem { flex: none; width: 70px; cursor: pointer; }
#hud .gem:hover::after { filter: drop-shadow(0 0 8px rgba(255,200,90,.7)) drop-shadow(0 2px 4px #000); }
#hud .belt { margin-left: 0; }
#hud .menu { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); margin-bottom: 14px; display: flex; gap: 4px; padding: 6px 8px;
background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.4)), url(img/ui/enamel-dark.webp) center / 160px; border: 10px solid transparent; border-image: url(img/ui/frame-antique.png?v=2) 24 round; box-shadow: 0 4px 14px rgba(0,0,0,.8); }
#hud .menu button { width: 34px; height: 30px; font-size: 14px; }
#hud.menushut .menu { display: none; }
html.touch #hud .mid { width: auto; } html.touch #hud .menu button { width: 40px; height: 34px; }
#hud .mid, #hud .belt { flex: 1 1 0; } #hud .belt { justify-content: flex-start; padding-left: 22px; }
.panel.left, .panel.right, .panel.mid:not(:has(.gamemenu)) { background: linear-gradient(rgba(255,255,255,.03), rgba(0,0,0,.18)), url(img/ui/enamel.webp) center / 300px; border-width: 22px; }
.panel h2 { background: linear-gradient(90deg, transparent, rgba(0,0,0,.75) 14%, rgba(0,0,0,.75) 86%, transparent); }
.doll .slot, .panel .doll > div:not(.swap) { background: #06060a; border: 1px solid #c8b478; box-shadow: 0 0 0 2px #1a1612, inset 0 0 12px #000; }
.grid { background-color: #06060a; background-image: linear-gradient(rgba(200,180,120,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(200,180,120,.35) 1px, transparent 1px); border: 1px solid #c8b478; box-shadow: 0 0 0 2px #1a1612, inset 0 0 10px #000; }
.grid .it { background: rgba(28, 40, 120, .55); box-shadow: inset 0 0 0 1px rgba(120,140,220,.25); }
.panel .gold, .panel .sub, .panel .kvs, .panel .stats, .panel .say, .panel .small { text-shadow: 0 1px 2px #000, 0 0 4px #000; }
.panel .gold { display: inline-block; float: right; padding: 3px 10px; background: #06060a; border: 1px solid #c8b478; color: #f0d890; }
.panel .kvs, .panel .stats .st { background: rgba(0,0,0,.62); }
.panel .kvs { padding: 6px 8px; border: 1px solid rgba(200,180,120,.4); }
.panel .gold { float: none; display: table; margin: 0 0 8px auto; }
.panel .sub { display: table; margin: -4px auto 8px; padding: 2px 12px; background: rgba(0,0,0,.65); color: #e0d0a8; }
.panel.left, .panel.right, .panel.mid:not(:has(.gamemenu)) { background: linear-gradient(rgba(255,255,255,.04), rgba(0,0,0,.25)), url(img/ui/enamel.webp) center / 300px; }
#hud .bar { box-shadow: 0 -3px 14px rgba(0,0,0,.85), inset 0 2px 0 #f0d080, inset 0 3px 0 #5a3c10, inset 0 6px 8px rgba(0,0,0,.45), inset 0 -2px 0 #1a1208; }
#hud .menu button, .panel button, #title .row button, #gate button.go, #gate .gtabs label, #title .diff button { color: #f8e8b8; text-shadow: 0 1px 2px #000; }
#hud .orb::after { filter: sepia(.5) saturate(1.6) hue-rotate(-8deg) brightness(1.05) drop-shadow(0 4px 6px rgba(0,0,0,.8)); }
.panel.left, .panel.right, .panel.mid:not(:has(.gamemenu)) { border-width: 11px; }
.panel { border-width: 9px; }
#hud .menu { border-width: 7px; }
#title .row button, #gate button.go, #gate .gtabs label, #title .diff button { border-width: 6px; }
#gate .pane, #title .chars { border-width: 9px; }
#hud .newpts { bottom: 168px; z-index: 6; padding: 0 30px; }
#hud .newpts { padding: 0; height: 26px; } #hud .newpts .stat, #hud .newpts .sk { position: absolute; top: 0; } #hud .newpts .stat { left: 58px; transform: translateX(-50%); } #hud .newpts .sk { right: 58px; transform: translateX(50%); }
#area-name { top: 22%; font: 30px var(--font); letter-spacing: 2px; color: #f0603e; text-shadow: 0 0 3px #000, 0 0 3px #000, 0 2px 0 #000, 0 0 12px #000, 0 0 22px rgba(0,0,0,.8); white-space: nowrap; }
#monbar { width: auto; min-width: 180px; max-width: 420px; height: 24px; padding: 0 18px; background: #200604; border: 1px solid #8a6a30; box-shadow: 0 2px 8px rgba(0,0,0,.8); }
#monbar b { font: 15px/24px var(--font); letter-spacing: 1px; white-space: nowrap; }
#monbar small { top: 27px; line-height: 1.35; }
#monbar small em { font-style: normal; color: #e8e8e8; }
#maptag { position: fixed; top: 14px; right: 18px; text-align: right; pointer-events: none; z-index: 5; text-shadow: 0 0 4px #000, 0 1px 0 #000; }
#maptag b { display: block; font: 18px var(--font); color: #e8d098; letter-spacing: 1px; } #maptag small { font: 13px var(--body); color: #c8c0a8; }
#mmname { position: fixed; transform: translateX(-50%); text-align: center; pointer-events: none; z-index: 5; white-space: nowrap; text-shadow: 0 0 4px #000, 0 0 6px #000, 0 1px 0 #000; }
#mmname b { display: block; font: 16px var(--font); color: #e8d098; letter-spacing: 1px; } #mmname small { display: block; font: 12px var(--body); color: #c8c0a8; }
#dead { background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,.15), rgba(0,0,0,.75) 70%); gap: 10px; }
#dead b { font: 44px var(--font); letter-spacing: 3px; color: #c42a1a; text-shadow: 0 0 10px #000, 0 2px 0 #000; }
#dead span { font: 20px var(--font); letter-spacing: 1px; color: #c42a1a; text-align: center; max-width: 640px; line-height: 1.5; text-shadow: 0 0 8px #000, 0 1px 0 #000; }
.qtabs { display: flex; gap: 3px; justify-content: center; margin: 4px 0 6px; } .qtabs button { padding: 2px 8px; font-size: 13px; } .qtabs button.on { color: #fff; border-color: #f0d080; }
.panel .qtabs button { position: relative; } .panel .qtabs button.on { filter: brightness(1.4) saturate(1.25); }
.panel .qtabs button.mine::after { content: ''; position: absolute; left: 50%; bottom: -8px; margin-left: -6px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 7px solid #ffd24a; filter: drop-shadow(0 0 2px #000); }
.panel .qtabs button:disabled { filter: grayscale(1) brightness(.5); opacity: .55; cursor: not-allowed; }
.qtabs { margin-bottom: 10px; }
.qname small { display: block; color: #ffd24a; font: 12px var(--body); }
.qname { text-align: center; font: 16px var(--font); color: #e8d098; margin-bottom: 6px; text-shadow: 0 1px 2px #000; }
#breachbar { position: fixed; left: 50%; top: 58px; transform: translateX(-50%); width: 360px; padding: 5px 12px 7px; text-align: center; pointer-events: none; z-index: -1; background: linear-gradient(rgba(255,255,255,.02), rgba(0,0,0,.5)), url(img/ui/enamel-dark.webp) center / 220px; border: 1px solid #6a4ea0; box-shadow: 0 0 0 1px #000, 0 0 14px rgba(150,90,230,.35); }
body:has(#breachbar) #unlock { top: 128px !important; }
#repairnote { position: fixed; left: 50%; top: 146px; transform: translateX(-50%); padding: 7px 16px 8px; text-align: center; pointer-events: none; z-index: -1; white-space: nowrap; background: rgba(14, 8, 6, .94); border: 1px solid #a8402c; }
#repairnote b { display: block; color: #ff8a6a; font: 700 17px var(--font); } #repairnote span { color: #ece6d3; font: 13px var(--body); }
#breachbar b { display: block; color: #d8c0ff; font: 700 14px var(--font); } #breachbar .bb { height: 11px; margin: 3px 0; background: #0c0814; border: 1px solid #000; overflow: hidden; } #breachbar i { display: block; height: 100%; width: 0; background: linear-gradient(#c890ff, #6a2cc0); transition: width .2s; box-shadow: 0 0 8px #b070ff; }
#breachbar span { color: #ece6d3; font: 13px var(--body); } #breachbar.late span { color: #ff7a60; font-weight: 700; }
.brpick { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 10px 0; } .brpick b { display: block; color: #e8d098; font: 700 22px var(--font); text-align: center; } .brpick small { display: block; color: #b9b19a; text-align: center; }
.brh { margin: 10px 0 4px; color: #d9b64c; font: 700 14px var(--font); text-align: center; }
.brboard { max-height: 200px; overflow: auto; padding: 4px 8px; background: rgba(0,0,0,.45); border: 1px solid rgba(200,180,120,.3); } .brboard > div { display: flex; gap: 8px; align-items: baseline; font: 13px var(--body); color: #ddd; padding: 1px 0; } .brboard i { width: 18px; color: #8f8a78; font-style: normal; } .brboard span { flex: 1; } .brboard small { color: #8f8a78; } .brboard b { color: #d8c0ff; } .brboard em { color: #b9b19a; font-style: normal; }
.fbook { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px 8px; max-height: 190px; overflow: auto; padding: 4px 8px; background: rgba(0,0,0,.45); border: 1px solid rgba(200,180,120,.3); font: 12px var(--body); color: #5e5a50; } .fbook .on { color: #c7b377; } .fbook.s .on { color: #3ae03a; }
.qroute { margin: 0 0 8px; padding: 5px 8px; background: rgba(0,0,0,.45); border: 1px solid rgba(200,180,120,.3); }
.qroute .rr { display: flex; align-items: center; gap: 5px; min-height: 16px; font: 13px/1.2 var(--body); color: #cfc8b4; }
.qroute .rr > span { flex: 0 1 auto; } .qroute .rr.side { padding-left: 16px; color: #9a9483; font-size: 12px; } .qroute .rr.side > span::before { content: ''; display: inline-block; width: 8px; height: 6px; margin-right: 4px; border-left: 1px solid #6a634f; border-bottom: 1px solid #6a634f; vertical-align: 3px; }
.qroute .rr.lair > span { color: #e8a080; } .qroute .rr.here > span { color: #fff; font-weight: 700; } .qroute .rr.goal > span { color: #ffd24a; font-weight: 700; }
.qroute .rr:has(.n) > span { color: #ffd24a; font-weight: 700; } .qroute .n { margin-left: auto; color: #ffd24a; } .qroute em { font-style: normal; font-size: 11px; } .qroute .b { color: #ff8a70; } .qroute .s { color: #ff9060; } .qroute .d { color: #67d067; font-size: 13px; } .qroute .h { margin-left: auto; color: #fff; }
.qroute .w { width: 8px; height: 8px; transform: rotate(45deg); border: 1px solid #6fa8ff; flex: none; } .qroute .w.on { background: #6fa8ff; }
.qgrid button u { position: absolute; left: 3px; top: 3px; z-index: 1; padding: 0 4px; text-decoration: none; background: #6d5620; color: #ffe38a; font: 700 10px/14px var(--body); }
.qgrid button.must { border-color: #c8a050 !important; }
.qgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.qgrid button { position: relative; height: 68px; padding: 2px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; background: #06070e !important; border: 1px solid #5a4a28 !important; overflow: hidden; }
.qgrid button .qfig { position: absolute; inset: 2px 2px 20px; filter: grayscale(.85) brightness(.55); }
.panel .qgrid button span { width: 100%; letter-spacing: 0; text-transform: none; font-variant: normal; } .qgrid button span { position: relative; font: 11px/1.1 var(--body); color: #b8b0a0; text-align: center; text-shadow: 0 1px 2px #000; }
.qgrid button.done { border-color: #c8a050 !important; box-shadow: inset 0 0 14px rgba(200,160,80,.35); } .qgrid button.done .qfig { filter: none; } .qgrid button.done span { color: #f0d890; }
.qgrid button.on { outline: 2px solid #f0d080; outline-offset: -2px; }
.qgrid button i { position: absolute; top: 3px; right: 6px; font-style: normal; color: #f0d080; font-size: 16px; text-shadow: 0 0 4px #000; }
.qtext { margin: 0 0 8px; padding: 6px 10px; background: rgba(0,0,0,.6); border: 1px solid rgba(200,180,120,.4); }
.qtext b { color: #f0d080; font: 15px var(--font); } .qtext p { margin: 4px 0 0; font-size: 13px; color: #ddd; } .qtext .rw { color: #a8b8ff; }
.panel.mid.talkbox { width: auto; min-width: 190px; max-width: 360px; padding: 8px 18px 10px; transform: translateX(-50%); zoom: 1; text-align: center;
background: rgba(4,6,14,.88); border: 1px solid #a88440; box-shadow: 0 0 0 1px #000, 0 6px 20px rgba(0,0,0,.85); border-image: none; max-height: none; overflow: visible; }
.panel.mid.talkbox > .x { display: none; }
.talkbox .tname { font: 17px var(--font); color: #e8c870; letter-spacing: 1px; text-shadow: 0 1px 2px #000; margin-bottom: 4px; } .talkbox .tname small { display: block; font: 12px var(--body); color: #9a8a6a; letter-spacing: 0; }
.talkbox .opts { display: flex; flex-direction: column; gap: 1px; }
.talkbox .opts button { background: none !important; border: 0 !important; box-shadow: none !important; padding: 2px 6px; font: 15px var(--font); color: #e8e4dc; text-shadow: 0 1px 2px #000; filter: none; }
.talkbox .opts button:hover { color: #8aa8ff; }
.talkbox .opts button[data-o="bye"] { color: #c8c0b0; }
.talkbox .say { margin: 4px 0 8px; padding: 6px 8px; font: 13px var(--body); color: #ddd; text-align: left; border-top: 1px solid rgba(168,132,64,.4); border-bottom: 1px solid rgba(168,132,64,.4); }
#mercbox { width: 74px; padding: 0; background: none; border: 0; text-align: center; }
#mercbox .face { width: 70px; height: 70px; margin: 0 auto; overflow: hidden; background: radial-gradient(circle at 50% 35%, #1a2448, #05070f); border: 2px solid #a88440; box-shadow: 0 0 0 1px #000, 0 3px 10px rgba(0,0,0,.8); }
#mercbox .face img { width: 100%; height: 160%; object-fit: cover; object-position: 50% 0; }
#mercbox .hp { width: 70px; height: 7px; margin: 3px auto 0; background: #200604; border: 1px solid #6a5428; }
#mercbox .fill { background: linear-gradient(#e03020, #8a0e08); }
#mercbox b { display: block; margin-top: 2px; font: 12px var(--font); color: #e8d098; text-shadow: 0 1px 2px #000, 0 0 3px #000; white-space: nowrap; }
#mercbox.fallen .face img { filter: grayscale(1) brightness(.5); }
html.touch #hud .menu { gap: 6px; } html.touch #hud .menu button { width: 58px; height: 50px; font-size: 21px; }
html.touch #hud .newpts { height: 44px; } html.touch #hud .newpts button { font-size: 20px; padding: 8px 16px; }
html.touch #hud .newpts .sk { right: 104px; }
html.touch .panel > .x, html.touch #skillpick > .x { width: 34px !important; height: 34px; font-size: 19px; top: 3px; right: 3px; }
html.touch .panel > .x::after, html.touch #skillpick > .x::after { content: ''; position: absolute; inset: -8px; }
html.touch #tip { font-size: 23px; max-width: 520px; padding: 10px 16px; } html.touch #tip .icard { width: 22em; } html.touch #tip .tn { font-size: 26px; } html.touch #tip .th { font-size: 19px; }
#ui:has(> .panel.right:not([hidden])) #maptag { display: none; }
@media (max-height: 520px) {
html.touch .panel.mid:has(.gamemenu) { width: 640px; }
html.touch .gamemenu h1 { margin-bottom: 12px; }
html.touch .gamemenu .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html.touch .gamemenu .opts button:first-child, html.touch .gamemenu .opts button:last-child { grid-column: 1 / -1; }
}
html.touch .talkbox .opts { gap: 4px; } html.touch .talkbox .opts button { font-size: 24px; padding: 8px 14px; }
html.touch .talkbox .tname { font-size: 24px; } html.touch .talkbox .tname small { font-size: 17px; } html.touch .talkbox .say { font-size: 19px; }
html.touch .panel.mid.talkbox { max-width: 560px; }
html #hud.tv { left: 0; right: 0; top: 0; bottom: 0; width: auto; height: auto; transform: none; display: block; pointer-events: none; }
#hud.tv > * { position: absolute; }
#hud.tv .strip .hb { position: absolute; left: 14px; right: 14px; height: 7px; background: #060504; border: 1px solid #6a5432; box-shadow: 0 0 0 1px #1a140e, 0 1px 4px #000; }
#hud.tv .strip .hb .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; transition: width .15s linear; border-radius: 0; clip-path: none; }
#hud.tv .hb.life { top: -32px; } #hud.tv .hb.mana { top: -21px; }
#hud.tv .hb.life .fill { background: linear-gradient(#ff6a70, #c8202a 50%, #6e0710); }
#hud.tv .hb.mana .fill { background: linear-gradient(#7aa0ff, #2a56d8 50%, #0b1c66); }
#hud.tv.low .hb.life { animation: tvlow 1s infinite; }
@keyframes tvlow { 50% { box-shadow: 0 0 0 1px #000, 0 0 10px 3px #f00; } }
#hud.tv .strip .menu { margin-bottom: 40px; }
#hud.tv .strip { left: 50%; bottom: calc(var(--safeb, 0px) / 1.2 + 8px); transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 7px 12px 11px; pointer-events: auto;
background: linear-gradient(rgba(255,255,255,.04), rgba(0,0,0,.4)), url(img/ui/enamel-dark.webp) center / 200px; border: 2px solid var(--gold2); border-radius: 10px; box-shadow: 0 0 0 1px #000, 0 4px 14px #000; }
html.touch #hud.tv .strip { bottom: calc(var(--safeb, 0px) + 6px); }
#hud.tv .belt { flex: none; margin: 0; padding: 0; }
#hud.tv .belt .col:nth-child(2) { margin-right: 66px; }
#hud.tv .gem { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: 0; transform: translate(-50%, -54%); display: block; }
#hud.tv .gem::after { display: block; width: 62px; height: 66px; margin: 0; }
#hud.tv .xp { left: 14px; right: 14px; top: -10px; }
#hud.tv .stam { position: absolute; left: 14px; right: 14px; bottom: 3px; height: 4px; width: auto; border: 0; box-shadow: none; background: rgba(0,0,0,.6); }
#hud.tv .newpts { left: 50%; right: auto; width: 440px; transform: translateX(-50%); bottom: 140px; height: 30px; display: flex; justify-content: space-between; pointer-events: none; padding: 0; }
#hud.tv .newpts .stat, #hud.tv .newpts .sk { position: static; transform: none; pointer-events: auto; }
html.touch #hud.tv .newpts { bottom: 170px; }
#pad .roll { position: fixed; right: 84px; bottom: 8px; width: 46px; height: 46px; border-radius: 50%; background: #0d0b09; border: 2px solid #6e604a; color: var(--gold2); font-size: 24px; line-height: 1; padding: 0; box-shadow: 0 0 10px #000; touch-action: none; }
#pad .roll:active { border-color: #e8d9a0; filter: brightness(1.3); }
.gate-bg { position: fixed; inset: 0; z-index: -3; background: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.1) 40%, rgba(0,0,0,.72)), url(img/ui/front.webp) center / cover no-repeat;
transform-origin: 50% 42%; animation: gate-drift 40s ease-in-out infinite alternate; }
@keyframes gate-drift { from { transform: scale(1); } to { transform: scale(1.035); } }
.gate-glow { position: fixed; inset: 0; z-index: -2; pointer-events: none; mix-blend-mode: screen; }
.gate-glow i { position: absolute; top: 18%; width: 46%; height: 60%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,150,50,.26), rgba(255,110,20,.08) 55%, transparent); }
.gate-glow i:nth-child(1) { left: 6%; animation: gate-flicker 3.1s steps(9) infinite; }
.gate-glow i:nth-child(2) { right: 6%; animation: gate-flicker 2.6s steps(7) infinite reverse; }
@keyframes gate-flicker { 0% { opacity: .85; } 15% { opacity: 1; } 30% { opacity: .7; } 45% { opacity: .95; } 60% { opacity: .78; } 80% { opacity: 1; } 100% { opacity: .85; } }
.gate-fog { position: fixed; left: 0; right: 0; bottom: 0; height: 62%; z-index: -1; pointer-events: none; overflow: hidden; }
.gate-fog i { position: absolute; inset: 0 -50% 0 -50%; opacity: .32;
background: radial-gradient(ellipse 22% 30% at 15% 70%, rgba(200,180,150,.55), transparent 70%), radial-gradient(ellipse 25% 26% at 45% 82%, rgba(190,170,140,.5), transparent 70%),
radial-gradient(ellipse 20% 34% at 72% 66%, rgba(210,190,160,.45), transparent 70%), radial-gradient(ellipse 24% 28% at 92% 80%, rgba(190,170,140,.5), transparent 70%);
filter: blur(18px); animation: gate-fog 60s linear infinite alternate; }
.gate-fog i:nth-child(2) { opacity: .22; top: 18%; animation-duration: 85s; animation-direction: alternate-reverse; }
@keyframes gate-fog { from { transform: translateX(-12%); } to { transform: translateX(12%); } }
#gate-fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.gate-heroes { display: none; }
@media (min-width: 1000px) and (min-height: 640px) {
.gate-heroes { display: block; position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.gate-heroes img { position: absolute; bottom: 7vh; height: 290px; transform-origin: 50% 100%; opacity: 0; filter: drop-shadow(0 10px 8px rgba(0,0,0,.85)) drop-shadow(0 0 14px rgba(255,140,60,.25)) brightness(.92);
animation: gate-breathe 3.6s ease-in-out infinite, gate-in 1.2s .5s ease-out forwards; }
.gate-heroes .h-blade { right: calc(50% + 230px); height: 300px; }
.gate-heroes .h-gunner { left: calc(50% + 235px); bottom: 9vh; height: 270px; animation-delay: -1.2s, .7s; }
.gate-heroes .h-mage { left: calc(50% + 370px); bottom: 5vh; animation-name: gate-breathe-m, gate-in; animation-delay: -2.3s, .9s; }
}
@keyframes gate-breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.018) translateY(-1px); } }
@keyframes gate-breathe-m { 0%, 100% { transform: scaleX(-1) scaleY(1); } 50% { transform: scaleX(-1) scaleY(1.018) translateY(-1px); } }
@keyframes gate-in { from { opacity: 0; } to { opacity: 1; } }
#gate h1 { position: relative; animation: gate-drop 1.1s ease-out both, gate-mark 5s 1.1s ease-in-out infinite; }
#gate h1::after { content: ''; position: absolute; inset: 0; pointer-events: none;
background: linear-gradient(105deg, transparent 38%, rgba(255,245,210,.85) 50%, transparent 62%) no-repeat; background-size: 250% 100%; background-position: 140% 0;
-webkit-mask: url(img/ui/wordmark-gold.webp) center / contain no-repeat; mask: url(img/ui/wordmark-gold.webp) center / contain no-repeat; mix-blend-mode: overlay; animation: gate-sweep 6s 1.5s ease-in-out infinite; }
@keyframes gate-mark { 0%, 100% { filter: drop-shadow(0 0 18px rgba(255,90,20,.3)) drop-shadow(0 6px 10px #000); } 50% { filter: drop-shadow(0 0 34px rgba(255,120,30,.6)) drop-shadow(0 6px 10px #000); } }
@keyframes gate-sweep { 0% { background-position: 140% 0; } 35%, 100% { background-position: -40% 0; } }
@keyframes gate-drop { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }
#gate .tag { animation: gate-rise .8s .35s ease-out both; }
#gate .gtabs { animation: gate-rise .8s .5s ease-out both; }
#gate .pane { animation: gate-rise .9s .65s ease-out both; position: relative; margin-bottom: 22px; box-shadow: 0 18px 40px rgba(0,0,0,.75), 0 0 30px rgba(255,120,30,.12); }
@keyframes gate-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
#gate .pane::after { content: ''; position: absolute; left: 50%; bottom: -38px; width: 50px; height: 54px; margin-left: -25px; background: url(img/ui/crest.webp) center / contain no-repeat; filter: drop-shadow(0 3px 4px #000); pointer-events: none; }
#gate button.go { position: relative; overflow: hidden; transition: filter .2s, box-shadow .2s; }
#gate button.go::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,250,225,.55), transparent); transform: skewX(-18deg); animation: gate-shine 4.5s 2s ease-in-out infinite; pointer-events: none; }
#gate button.go:hover { box-shadow: 0 0 18px rgba(255,170,60,.55); }
@keyframes gate-shine { 0% { left: -60%; } 30%, 100% { left: 130%; } }
#gate input[type=text], #gate input[type=email], #gate input[type=password] { transition: border-color .2s, box-shadow .2s; }
#gate input:focus { box-shadow: 0 0 10px rgba(232,185,90,.45); }
#gate-music { position: fixed; top: 12px; right: 12px; z-index: 3; display: flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; cursor: pointer;
background: rgba(13,11,9,.75); border: 1px solid var(--edge2); border-radius: 18px; color: var(--gold2); font: 14px var(--font); box-shadow: 0 0 10px #000; }
#gate-music .note { font-size: 20px; line-height: 1; width: 22px; text-align: center; }
#gate-music:hover { border-color: var(--gold2); color: #fff; }
#gate-music.off { color: #7d715c; } #gate-music.off .note { text-decoration: line-through; }
#gate-music.wait .note { animation: gate-note 1.6s ease-in-out infinite; }
@keyframes gate-note { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.gate-foot { position: fixed; left: 0; right: 0; bottom: 6px; z-index: 0; text-align: center; font: 12px var(--body); color: rgba(205,187,144,.55); text-shadow: 0 1px 2px #000; pointer-events: none; }
@media (max-height: 520px) { .gate-foot { display: none; } #gate-music .lbl { display: none; } #gate-music { top: auto; bottom: 10px; right: auto; left: 12px; } #gate .pane::after { display: none; } #gate .pane { margin-bottom: 0; } }
@media (max-width: 480px) { #gate-music .lbl { display: none; } #gate { padding-top: 48px; } }
@media (prefers-reduced-motion: reduce) { .gate-bg, .gate-glow i, .gate-fog i, .gate-heroes img, #gate h1, #gate h1::after, #gate button.go::after, #gate .tag, #gate .gtabs, #gate .pane { animation: none !important; opacity: 1; } }
:root { --forge: 'Cinzel', 'Alegreya SC', Georgia, serif; --plate: radial-gradient(circle at 9px 9px, #a8a8b0 0 1.5px, #3a3a40 2.5px, transparent 3.5px),
radial-gradient(circle at calc(100% - 9px) 9px, #a8a8b0 0 1.5px, #3a3a40 2.5px, transparent 3.5px), radial-gradient(circle at 9px calc(100% - 9px), #a8a8b0 0 1.5px, #3a3a40 2.5px, transparent 3.5px),
radial-gradient(circle at calc(100% - 9px) calc(100% - 9px), #a8a8b0 0 1.5px, #3a3a40 2.5px, transparent 3.5px), linear-gradient(#2a2a2e, #141416); }
body.gate-page, #title { background: radial-gradient(ellipse at 50% 115%, rgba(255,96,16,.6), rgba(255,70,10,.14) 40%, transparent 64%), linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.2) 45%, rgba(0,0,0,.35)), url(img/ground/forge.webp) center / 300px, #0a0706; }
.gate-bg { background: radial-gradient(ellipse at 50% 115%, rgba(255,96,16,.6), rgba(255,70,10,.14) 40%, transparent 64%), linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.2) 45%, rgba(0,0,0,.35)), url(img/ground/forge.webp) center / 300px, #0a0706; transform-origin: 50% 100%; }
.gate-heroes { display: none !important; }
.gate-glow i { top: auto; bottom: -30%; width: 70%; height: 70%; left: 15% !important; right: auto !important; background: radial-gradient(closest-side, rgba(255,110,20,.32), rgba(255,70,10,.1) 55%, transparent); }
.gate-glow i:nth-child(2) { left: 25% !important; width: 50%; bottom: -20%; }
.gate-fog i { opacity: .14; filter: blur(22px) grayscale(1) brightness(.5); } .gate-fog i:nth-child(2) { opacity: .1; }
body.gate-page::before, #title::before { background-image: radial-gradient(2px 2px at 20px 200px, rgba(255,180,90,.95), transparent), radial-gradient(1.5px 1.5px at 120px 80px, rgba(255,140,50,.8), transparent),
radial-gradient(2.5px 2.5px at 200px 150px, rgba(255,200,110,.85), transparent), radial-gradient(1.5px 1.5px at 60px 30px, rgba(255,120,40,.7), transparent),
radial-gradient(2px 2px at 90px 260px, rgba(255,170,80,.8), transparent), radial-gradient(1.5px 1.5px at 170px 20px, rgba(255,150,60,.75), transparent);
animation: forge-rise 11s linear infinite; mix-blend-mode: screen; }
@keyframes forge-rise { from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; } to { background-position: 30px -240px, -20px -240px, 14px -240px, -8px -240px, 40px -330px, -34px -330px; } }
#gate .tag { font: 14px var(--forge); letter-spacing: .14em; text-transform: uppercase; color: #ffb060; text-shadow: 0 0 10px rgba(255,120,20,.8), 0 1px 2px #000; }
#gate .pane, #title .chars button, #title .classes button, #title .opts-plate { background: var(--plate); border: 2px solid #4a4a50; border-image: none; border-radius: 3px;
box-shadow: inset 0 0 0 1px #000, inset 0 2px 0 rgba(255,255,255,.08), 0 0 24px rgba(255,90,10,.3), 0 10px 26px rgba(0,0,0,.7); }
#gate .pane { padding: 18px 20px; margin-bottom: 0; } #gate .pane::after { display: none; }
#gate label { color: #e0c8a0; font: 13px var(--body); }
#gate input[type=text], #gate input[type=email], #gate input[type=password], #title input { background: #0c0c0e; border: 1px solid #5a5a60; color: #fff; border-radius: 2px; }
#gate input:focus, #title input:focus { border-color: #ff9a40; box-shadow: 0 0 10px rgba(255,120,20,.5); outline: none; }
#gate button.go, #title .row button.go, #title .diff button.on, #title .opts-plate .go {
background: linear-gradient(#ff8a2a, #b8400a); color: #1a0a02; text-shadow: 0 1px 0 rgba(255,220,170,.4); border: 1px solid #ffc080; border-image: none; border-radius: 2px;
box-shadow: 0 0 14px rgba(255,110,20,.6); font: 700 16px var(--forge); letter-spacing: .08em; filter: none; }
#gate button.go:hover, #title .row button.go:hover:not(:disabled), #title .opts-plate .go:hover { box-shadow: 0 0 22px rgba(255,140,40,.9); filter: brightness(1.08); color: #1a0a02; }
#gate .gtabs label, #title .row button, #title .diff button, #title .acct button, #title .acct .creator-link, #title .opts-plate .opt button, #gate-music {
background: linear-gradient(#2e2e32, #18181a); color: #ffc080; text-shadow: 0 1px 2px #000; border: 1px solid #5a5a60; border-image: none; border-radius: 2px; font: 600 15px var(--forge); letter-spacing: .06em; filter: none; }
#gate .gtabs label:hover, #title .row button:hover:not(:disabled), #title .diff button:hover:not(:disabled), #title .acct button:hover, #title .acct .creator-link:hover, #title .opts-plate .opt button:hover { border-color: #ff9a40; color: #fff; }
#tab-in:checked ~ .gtabs label[for="tab-in"], #tab-new:checked ~ .gtabs label[for="tab-new"] { background: linear-gradient(#4a3020, #2a1a10); border-color: #ff9a40; color: #fff; box-shadow: 0 0 12px rgba(255,110,20,.45); }
#gate .gtabs label { white-space: nowrap; } @media (max-width: 420px) { #gate .gtabs label { font-size: 12.5px; letter-spacing: .02em; padding: 8px 4px; } }
#title .row button.del { color: #ff8a70; }
#title .row button.go, #title .diff button.on { color: #1a0a02; }
#title .diff button:disabled { opacity: .4; }
#gate button.go::after { background: linear-gradient(100deg, transparent, rgba(255,240,200,.5), transparent); }
#gate .small, #gate p, #gate summary { color: #b0a08a; } #gate a { color: #ffb060; }
#gate-music { font-size: 13px; border-radius: 3px; }
#title h1.mark { display: none; }
#title h1:not(.mark) { font: 700 26px var(--forge); color: #ffb060; letter-spacing: .14em; text-transform: uppercase; background: none; width: auto; height: auto; margin: 0 0 6px; filter: none; text-shadow: 0 0 12px rgba(255,120,20,.85), 0 2px 2px #000; }
#title .tag { font: 20px var(--forge); letter-spacing: .16em; text-transform: uppercase; color: #ffb060; text-shadow: 0 0 12px rgba(255,120,20,.85), 0 2px 2px #000; margin-bottom: 4px; }
#title .chars { background: none; border: 0; border-image: none; box-shadow: none; padding: 0; gap: 18px; }
#title .chars button { flex-direction: column; width: 178px; padding: 14px 10px 12px; text-align: center; gap: 6px; }
#title .chars button img { height: 168px; filter: drop-shadow(0 8px 8px #000); } #title .chars button span { align-items: center; }
#title .chars button b { font: 700 20px var(--forge); color: #ffc080; } #title .chars small { color: #c0b0a0; }
#title .chars button.on { border-color: #ff9a40; box-shadow: inset 0 0 0 1px #000, 0 0 28px rgba(255,120,20,.75), 0 10px 26px rgba(0,0,0,.7); }
#title .chars button.empty { opacity: .55; } #title .chars button.empty img { filter: grayscale(1) brightness(.35); } #title .chars button.empty b { color: #a09080; }
#title .chars button.empty:hover { opacity: .85; }
#title .acct { gap: 8px; } #title .acct button, #title .acct .creator-link { font-size: 13px; padding: 5px 12px; }
#title .classes button { padding: 14px 10px; } #title .classes button.on { border-color: #ff9a40; box-shadow: 0 0 26px rgba(255,120,20,.7); } #title .classes b { font-family: var(--forge); color: #ffc080; }
#title .skins button { background: linear-gradient(#2a2a2e, #141416); border: 1px solid #4a4a50; } #title .skins button.on { border-color: #ff9a40; box-shadow: 0 0 12px rgba(255,120,20,.6); }
#title .opts-panel { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.55); }
#title .opts-plate { width: min(380px, 92vw); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
#title .opts-plate h2 { margin: 0 0 6px; text-align: center; font: 700 20px var(--forge); letter-spacing: .14em; text-transform: uppercase; color: #ffb060; text-shadow: 0 0 10px rgba(255,120,20,.8); }
#title .opts-plate .opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #e0c8a0; font: 15px var(--body); }
#title .opts-plate .opt button { min-width: 96px; padding: 5px 10px; font-size: 13px; }
#title .opts-plate .row { justify-content: center; margin-top: 6px; }
@media (max-height: 520px) { #title .chars button img { height: 96px; } #title .chars button { width: 150px; padding: 8px; } #title .tag { font-size: 16px; } }
@media (max-width: 600px) { #title .chars { gap: 10px; } #title .chars button { width: 46%; } #title .chars button img { height: 120px; } }
#title .row button, #title .diff button, #title .acct button, #title .acct .creator-link { white-space: nowrap; }
@media (max-width: 480px) { #title .diff, #title .row { flex-wrap: wrap; justify-content: center; } #title .row button, #title .diff button { font-size: 13px; padding: 7px 12px; }
#title .acct { gap: 5px; right: 8px; } #title .acct button, #title .acct .creator-link { font-size: 11px; padding: 4px 8px; letter-spacing: .02em; } #title .acct .who { display: none; } }
html:not(.touch) #hud.tv.way2 { zoom: 1; }
#hud.tv.way2 .strip { display: flex; flex-direction: column; align-items: stretch; gap: 3px; padding: 8px 11px 8px; box-sizing: border-box; width: 614px; height: 94px; background: linear-gradient(rgba(255,255,255,.02), rgba(0,0,0,.45)), url(img/ui/enamel-dark.webp) center / 220px; border: 1px solid #a98a48; border-radius: 0; box-shadow: 0 0 0 1px #000, 0 4px 14px #000; }
#hud.tv.way2 .xp { position: relative; left: auto; right: auto; top: auto; height: 5px; box-shadow: none; }
#hud.tv.way2 .vals { display: flex; gap: 8px; }
#hud.tv.way2 .strip .hb { position: relative; left: auto; right: auto; top: auto; flex: 1; height: 13px; background: #060504; border: 1px solid #5e4c2a; box-shadow: 0 0 0 1px #000; }
#hud.tv.way2 .strip .hb span { position: absolute; inset: 0; text-align: center; color: #fff; font: 700 10px/12px var(--body); text-shadow: 0 0 2px #000, 0 1px 1px #000; }
#hud.tv.way2 .slots { position: relative; display: flex; align-items: center; gap: 7px; width: 590px; }
#hud.tv.way2 .gem { position: absolute; left: 50%; top: 50%; width: 50px; height: 50px; margin: 0; transform: translate(-50%, -50%); display: block; flex: none; cursor: pointer; z-index: 2; }
#hud.tv.way2 .gem::after { display: block; width: 100%; height: 100%; margin: 0; }
#hud.tv.way2 .belt { margin-left: auto; gap: 11px; } #hud.tv.way2 .portal { margin-left: 25px; }
#hud.tv.way2 .hots, #hud.tv.way2 .lr { display: flex; gap: 2px; }
#hud.tv.way2 .skill, #hud.tv.way2 .hots button, #hud.tv.way2 .belt .slot, #hud.tv.way2 .portal { position: relative; width: 40px; height: 40px; flex: none; padding: 0; margin: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, #1c1712, #0a0806); border: 1px solid #6b5630; border-radius: 0; box-shadow: inset 0 0 0 1px #000; cursor: pointer; filter: none; }
#hud.tv.way2 .skill:hover, #hud.tv.way2 .hots button:hover, #hud.tv.way2 .belt .slot:hover, #hud.tv.way2 .portal:hover { border-color: #d8bc7c; filter: none; }
#hud.tv.way2 .hots button img, #hud.tv.way2 .skill img { width: 86%; height: 86%; object-fit: contain; }
#hud.tv.way2 .hots button.locked { cursor: default; background: #0a0806; }
#hud.tv.way2 i.k, #hud.tv.way2 .belt .slot i { position: absolute; right: 3px; bottom: 1px; color: #e8e0cc; font: 700 10px/1.1 var(--body); font-style: normal; text-shadow: 0 0 2px #000, 0 0 2px #000, 0 1px 1px #000; }
#hud.tv.way2 .belt .slot.up { position: absolute; left: 0; display: none; z-index: 5; }
#hud.tv.way2 .belt:hover .slot.up, #hud.tv.way2 .belt.open .slot.up { display: flex; }
#hud.tv.way2 .belt { display: flex; } #hud.tv.way2 .belt .col { margin: 0 !important; } #hud.tv.way2 .belt .slot img { width: 90%; height: 90%; }
#hud.tv.way2 .belt .btog { left: -12px; width: 10px; height: 24px; }
#hud.tv.way2 .portal u { width: 22px; height: 22px; border-radius: 50%; text-decoration: none; background: radial-gradient(circle, #e4f6ff 0, #5aa4f0 38%, #1a4ab0 68%, #06163a 100%); box-shadow: 0 0 8px #3a8cff; }
#hud.tv.way2 .portal.none u { filter: grayscale(1) brightness(.55); box-shadow: none; }
#hud.tv.way2 .portal b { position: absolute; right: 3px; top: 1px; color: #fff; font: 700 11px/1.1 var(--body); text-shadow: 0 0 2px #000, 0 0 2px #000; }
#hud.tv.way2 .strip .menu { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); margin: 0 0 7px; padding: 4px; display: flex; gap: 3px; visibility: visible; opacity: 1; background: linear-gradient(rgba(255,255,255,.02), rgba(0,0,0,.45)), url(img/ui/enamel-dark.webp) center / 220px; border: 1px solid #a98a48; border-image: none; border-radius: 0; box-shadow: 0 0 0 1px #000, 0 4px 10px #000; }
#hud.tv.way2.menushut .strip .menu { display: none; }
#hud.tv.way2 .menu button { width: 32px; height: 28px; background: #0e0b08; border: 1px solid #6b5630; border-radius: 0; box-shadow: inset 0 0 0 1px #000; color: #e8d9a0; font: 700 14px/1 var(--font); }
#hud.tv.way2 .menu button:hover { border-color: #d8bc7c; color: #fff; }
#hud.tv.way2 .stam { position: relative; left: auto; right: auto; bottom: auto; height: 3px; }
#hud.tv.way2 .newpts { width: auto; bottom: calc(var(--safeb, 0px) / 1.2 + 96px); justify-content: center; gap: 8px; }
#hud.tv.way2:not(.menushut) .newpts { bottom: calc(var(--safeb, 0px) / 1.2 + 142px); }
#hud.tv.way2 .newpts button { background: #120e09; border: 1px solid #a98a48; border-radius: 0; }
#hud.tv.way2 .bag { right: 14px; bottom: 12px; width: 40px; height: 40px; padding: 3px; pointer-events: auto; background: #0e0b08; border: 1px solid #6b5630; box-shadow: 0 0 0 1px #000; cursor: pointer; }
#hud.tv.way2 .bag:hover { border-color: #d8bc7c; } #hud.tv.way2 .bag img { width: 100%; height: 100%; object-fit: contain; }
#hud.tv.way2 .bag b { position: absolute; right: -6px; top: -7px; min-width: 16px; height: 16px; padding: 0 2px; border-radius: 9px; background: #8e1212; color: #fff; font: 700 11px/16px var(--body); text-align: center; box-shadow: 0 0 0 1px #000; }
html.touch #hud.tv.way2 .hots, html.touch #hud.tv.way2 .portal, html.touch #hud.tv.way2 .bag, html.touch #hudlog, html.touch #hudquest { display: none; }
#monbar { display: flex; align-items: center; gap: 8px; top: 12px; width: 300px; height: auto; padding: 6px 12px 6px 8px; background: linear-gradient(rgba(255,255,255,.02), rgba(0,0,0,.45)), url(img/ui/enamel-dark.webp) center / 220px; border: 1px solid #a98a48; box-shadow: 0 0 0 1px #000, 0 3px 10px #000; text-align: center; }
#monbar[hidden] { display: none; }
#monbar > img { width: 40px; height: 48px; object-fit: contain; flex: none; filter: drop-shadow(0 1px 2px #000); }
#monbar .mt { flex: 1; min-width: 0; }
#monbar b { display: block; font: 700 17px/1.15 var(--font); }
#monbar .mb { position: relative; height: 12px; margin: 3px 0; background: #060504; border: 1px solid #5e4c2a; }
#monbar .mb .fill { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(#d0242a, #760a0e); }
#monbar .mb span { position: absolute; inset: 0; color: #fff; font: 700 10px/11px var(--body); text-shadow: 0 0 2px #000, 0 0 2px #000; }
#monbar small { position: static; display: block; color: #9aa0ff; font: 12px/1.2 var(--body); }
#monbar small em { color: #b3a382; font-style: normal; }
#unlock { position: fixed; top: 96px; left: 50%; transform: translateX(-50%); min-width: 300px; padding: 7px 26px 9px; text-align: center; pointer-events: none; background: linear-gradient(rgba(255,255,255,.02), rgba(0,0,0,.45)), url(img/ui/enamel-dark.webp) center / 220px; border: 1px solid #a98a48; box-shadow: 0 0 0 1px #000, 0 3px 12px #000; z-index: 6; }
#unlock.go { animation: way2in 4s both; } #unlock small { display: block; color: #67d067; font: 700 14px var(--body); } #unlock b { display: block; color: #fff; font: 700 25px/1.15 var(--font); text-shadow: 0 2px 4px #000; }
@keyframes way2in { 0% { opacity: 0; transform: translateX(-50%) translateY(-8px); } 8%, 86% { opacity: 1; transform: translateX(-50%); } 100% { opacity: 0; transform: translateX(-50%); } }
#hudquest { position: fixed; right: 14px; top: 14px; width: 250px; padding: 7px 10px 9px; pointer-events: auto; background: linear-gradient(rgba(255,255,255,.02), rgba(0,0,0,.45)), url(img/ui/enamel-dark.webp) center / 220px; border: 1px solid #a98a48; box-shadow: 0 0 0 1px #000, 0 3px 10px rgba(0,0,0,.7); z-index: 4; }
#hudquest[hidden] { display: none; } #hudquest.shut .ql { display: none; }
#hudquest .qh { display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; } #hudquest .qh img { width: 22px; height: 22px; } #hudquest .qh b { color: #f1dfa8; font: 700 17px var(--font); }
#hudquest .qact { margin-top: 5px; text-align: center; color: #d9b64c; font: 700 13px/1.2 var(--font); letter-spacing: .5px; }
#hudquest .qgoal { margin-top: 3px; color: #b9b19a; font: 12px/1.25 var(--body); text-align: center; }
#hudquest .qnext { position: relative; margin-top: 6px; padding: 5px 6px 6px 22px; background: rgba(255,210,74,.09); border: 1px solid rgba(255,210,74,.45); }
#hudquest .qnext::before { content: ''; position: absolute; left: 7px; top: 9px; border-left: 9px solid #ffd24a; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
#hudquest .qnext b { display: block; color: #ffe38a; font: 700 14px/1.2 var(--body); } #hudquest .qnext span { display: block; margin-top: 2px; color: #ece6d3; font: 12.5px/1.25 var(--body); }
#hudquest .qx { margin-top: 8px; color: #8f8a78; font: 11px var(--body); text-transform: uppercase; letter-spacing: 1px; border-top: 1px solid rgba(200,180,120,.25); padding-top: 4px; }
#hudquest .qg { padding-left: 19px; color: #a8b8ff; font: 12px/1.2 var(--body); } #hudquest .qmore { margin-top: 5px; color: #8f8a78; font: 12px var(--body); text-align: center; }
#hudquest .qn { margin-top: 6px; color: #d9b64c; font: 700 14px/1.2 var(--body); }
#hudquest .qt { position: relative; margin-top: 2px; padding-left: 19px; color: #ece6d3; font: 13px/1.25 var(--body); }
#hudquest .qt i { position: absolute; left: 1px; top: 2px; width: 10px; height: 10px; border: 1px solid #cfc6ad; }
#hudquest .qt.on { color: #8a8a7a; } #hudquest .qt.on i { border-color: #67d067; } #hudquest .qt.on i::after { content: ''; position: absolute; left: 3px; top: -2px; width: 4px; height: 9px; border: solid #67d067; border-width: 0 2px 2px 0; transform: rotate(40deg); }
#hudlog { position: fixed; left: 14px; bottom: 31%; width: 290px; display: flex; gap: 7px; padding: 6px 8px; background: rgba(8, 7, 6, .55); border: 1px solid rgba(169, 138, 72, .65); pointer-events: none; z-index: 4; }
#hudlog[hidden] { display: none; }
#hudlog.shut { width: auto; padding: 0; background: none; border: 0; } #hudlog.shut .lines, #hudlog.shut .btns [data-l=up], #hudlog.shut .btns [data-l=dn] { display: none; }
#hudlog .btns { display: flex; flex-direction: column; gap: 2px; flex: none; }
#hudlog .btns button { width: 22px; height: 22px; padding: 0; pointer-events: auto; background: #0e0b08; border: 1px solid #6b5630; color: #e8d9a0; font: 10px/1 var(--body); cursor: pointer; } #hudlog .btns button:hover { border-color: #d8bc7c; color: #fff; }
#hudlog .lines { flex: 1; min-width: 0; min-height: 70px; font: 14px/1.28 var(--body); text-shadow: 0 1px 2px #000, 0 0 3px #000; }
#mmname .nx { display: none; width: 170px; margin: 2px auto 0; white-space: normal; color: #ffe38a; font: 700 12.5px/1.2 var(--body); font-style: normal; }
html.touch #mmname .nx { display: block; }
@media (max-height: 560px) { #mmname .nx { display: block; } }
#mmname .clk { display: block; color: #d0b45e; font: 13px var(--body); font-style: normal; }
#streak { position: fixed; left: 50%; bottom: 27%; transform: translateX(-50%); width: 400px; height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; z-index: 3; }
#streak[hidden] { display: none; } #streak.go { animation: way2streak 4.2s both; }
#streak i { position: absolute; inset: -20px; background: #6e0a0a; -webkit-mask: url(img/ui/blood.webp?v=2) center / 100% 100% no-repeat; mask: url(img/ui/blood.webp?v=2) center / 100% 100% no-repeat; }
#streak b, #streak span, #streak small { position: relative; text-shadow: 0 2px 4px #000, 0 0 6px #000; }
#streak b { color: #f3d9b0; font: 700 38px/1.1 var(--font); } #streak span { color: #fff; font: 700 21px/1.25 var(--body); } #streak small { color: #ffd9a0; font: 700 19px/1.25 var(--body); }
@keyframes way2streak { 0% { opacity: 0; transform: translateX(-50%) scale(1.25); } 7% { opacity: 1; transform: translateX(-50%) scale(1); } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(-50%); } }
.ridge { position: fixed; inset: 0; z-index: 59; overflow: hidden; background: #05050f; pointer-events: none; }
.gate-page .ridge { z-index: 0; }
.ridge-stage { position: absolute; inset: 0; transform-origin: 50% 66%; animation: ridge-drift 46s ease-in-out infinite alternate; }
.ridge-load { position: absolute; left: 0; right: 0; bottom: 4vh; text-align: center; font: 500 13px/1.4 var(--body, sans-serif); letter-spacing: .06em; color: #c8b88a; opacity: .75; text-shadow: 0 1px 3px #000; pointer-events: none; }
@keyframes ridge-drift { from { transform: scale(1); } to { transform: scale(1.022); } }
.ridge-bg, .ridge-hero { position: absolute; display: block; }
.ridge-cloud, .ridge-mist { position: absolute; left: 0; right: 0; overflow: hidden; mix-blend-mode: screen; }
.ridge-cloud { top: 0; height: 52%; } .ridge-mist { bottom: 0; height: 46%; }
.ridge-cloud i, .ridge-mist i { position: absolute; inset: 0 -40%; }
.ridge-cloud i { opacity: .15; background: url(img/ui/ridge-cloud.webp) center / 100% 100% no-repeat; animation: ridge-slide 150s linear infinite alternate; }
.ridge-cloud i:nth-child(2) { opacity: .1; animation-duration: 210s; animation-direction: alternate-reverse; background-position: 20% 10%; }
.ridge-mist i { opacity: .11; background: url(img/ui/ridge-mist.webp) center / 100% 100% no-repeat; animation: ridge-slide 70s linear infinite alternate; }
.ridge-mist i:nth-child(2) { opacity: .07; top: 16%; animation-duration: 105s; animation-direction: alternate-reverse; }
@keyframes ridge-slide { from { transform: translateX(-11%); } to { transform: translateX(11%); } }
.ridge-fx { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }
.ridge-plate { position: absolute; transform: translate(-50%, 0); display: flex; align-items: center; gap: 12px; pointer-events: auto; white-space: nowrap; }
.ridge-plate[hidden], .ridge:not(.ready) .ridge-plate { display: none; }
.ridge-plate .txt { position: relative; padding: 7px 34px 9px; text-align: center; background: linear-gradient(90deg, transparent, rgba(5,4,14,.76) 18%, rgba(5,4,14,.76) 82%, transparent); border-top: 1px solid; border-bottom: 1px solid; border-image: linear-gradient(90deg, transparent, #c79a48 22%, #f0d890 50%, #c79a48 78%, transparent) 1; }
.ridge-plate b { display: block; font: 700 20px/1.15 Cinzel, var(--font); letter-spacing: 1.5px; color: #fff3d6; text-shadow: 0 0 6px #000, 0 2px 3px #000; }
.ridge-plate small { display: block; margin-top: 2px; font: 14px var(--body); color: #e6d4a8; text-shadow: 0 0 5px #000, 0 1px 2px #000; }
.ridge-plate .pl { width: 30px; height: 30px; padding: 0; background: rgba(8,6,16,.72); border: 1px solid rgba(214,170,90,.55); border-radius: 0; transform: rotate(45deg); color: #e8cf94; font-size: 0; cursor: pointer; }
.ridge-plate .pl:hover { background: rgba(90,50,16,.9); color: #fff; border-color: #f0d890; } .ridge-plate .pl[hidden] { display: none; }
#title.on-ridge { position: fixed; inset: 0; display: block; padding: 0; background: none; pointer-events: none; overflow: hidden; }
#title.on-ridge::before { display: none; }
#title.on-ridge > * { pointer-events: auto; }
.mn-left { position: absolute !important; left: 5.5vw; top: 3vh; width: 370px; display: flex; flex-direction: column; align-items: flex-start; }
#title.on-ridge h1.mark { display: block; width: 330px; height: 210px; margin: 0 0 0 -8px; animation: none; background: url(img/ui/wordmark-gold.webp) center / contain no-repeat; filter: drop-shadow(0 0 16px rgba(255,170,70,.22)) drop-shadow(0 5px 8px #000); }
.mn-where { width: 314px; min-height: 42px; margin: -4px 0 18px; text-align: center; color: #f0e8d4; text-shadow: 0 0 5px #000, 0 1px 2px #000; }
.mn-where b { display: block; font: 700 16px/1.3 Cinzel, var(--font); letter-spacing: 1.5px; color: #f2ecd8; } .mn-where span { display: block; font: 14px/1.3 var(--body); color: #dcd4c4; }
.mn { display: flex; flex-direction: column; gap: 2px; width: 100%; }
#title.on-ridge .mn > button, #title.on-ridge .mn > a, #gate .gtabs label { position: relative; display: block; width: 100%; min-height: 0; padding: 10px 10px 10px 34px; background: none; border: 0; border-image: none; box-shadow: none; text-align: left; text-decoration: none; cursor: pointer;
font: 600 19px/1.15 Cinzel, var(--font); letter-spacing: 3.5px; text-transform: uppercase; color: #cdb27a; text-shadow: 0 0 6px #000, 0 2px 3px #000; filter: none; transition: color .12s; }
#title.on-ridge .mn > button em { font: 13px var(--body); letter-spacing: .5px; font-style: normal; text-transform: none; margin-left: 10px; color: #e0c088; }
#title.on-ridge .mn > button:disabled { color: #6f6a5c; cursor: default; }
#title.on-ridge .mn > .lit, #gate .gtabs label:hover { color: #fff3cf; text-shadow: 0 0 10px rgba(255,170,60,.95), 0 0 3px #000, 0 2px 3px #000; }
#title.on-ridge .mn > .lit::before { content: ''; position: absolute; left: -6px; right: 8px; top: 2px; bottom: 2px; z-index: -1; background: linear-gradient(90deg, rgba(170,88,18,.72), rgba(120,60,14,.3) 62%, transparent); border-left: 2px solid #f0c060; }
#title.on-ridge .mn > .lit::after, #gate .gtabs label::after { content: ''; position: absolute; left: 4px; top: 50%; width: 24px; height: 26px; transform: translateY(-50%); background: url(img/ui/crest.webp) center / contain no-repeat; filter: drop-shadow(0 1px 2px #000); }
#gate .gtabs label::after { display: none; }
#title.on-ridge .mn-small > button[data-id], #title.on-ridge .mn-small > button[data-claim] { padding-top: 7px; padding-bottom: 7px; }
#title.on-ridge .mn-small span { display: block; } #title.on-ridge .mn-small span.hc { color: #ff7a64; }
#title.on-ridge .mn-small small { display: block; margin-top: 2px; font: 13px var(--body); letter-spacing: .3px; text-transform: none; color: #d8cfba; }
#title.on-ridge .mn-small > .hcdead { opacity: .55; }
#title.on-ridge .mn > .del { color: #d67c64; } #title.on-ridge .mn > .del.lit { color: #ffd2c4; text-shadow: 0 0 10px rgba(255,90,60,.9), 0 2px 3px #000; }
#title.on-ridge .mn > .del.lit::before { background: radial-gradient(ellipse 70% 62% at 16% 50%, rgba(220,70,40,.55), rgba(160,40,20,.2) 55%, transparent 76%); }
.mn-form { width: 330px; margin: 16px 0 0; display: flex; flex-direction: column; gap: 9px; }
#title.on-ridge .mn-form input#tname, body.ridgep #gate input[type=text], body.ridgep #gate input[type=email], body.ridgep #gate input[type=password] { box-sizing: border-box; width: 100%; padding: 9px 12px; background: rgba(6,5,14,.76); border: 1px solid rgba(214,170,90,.42); border-radius: 2px; color: #f4f1e6; font: 16px var(--body); }
#title.on-ridge .mn-form input#tname:focus, body.ridgep #gate input:focus { outline: none; border-color: #f0c870; box-shadow: 0 0 10px rgba(255,170,60,.45); }
#title.on-ridge .hcbox { display: flex; align-items: center; gap: 7px; color: #ff9a84; font: 14px var(--body); text-shadow: 0 1px 2px #000; }
.mn-two { display: flex; gap: 8px; }
#title.on-ridge .mn-two button, body.ridgep #gate button { min-height: 0; padding: 9px 14px; background: rgba(8,6,16,.78); border: 1px solid rgba(214,170,90,.5); border-image: none; border-radius: 2px; color: #ecdfbe; font: 600 14px Cinzel, var(--font); letter-spacing: 2px; text-transform: uppercase; text-shadow: 0 1px 2px #000; cursor: pointer; filter: none; }
#title.on-ridge .mn-two button.go, body.ridgep #gate button.go { flex: 1; background: linear-gradient(rgba(170,94,24,.92), rgba(96,48,12,.96)); border-color: #f0c870; color: #fff6dc; }
#title.on-ridge .mn-two button:hover, body.ridgep #gate button:hover { filter: brightness(1.25); }
#title.on-ridge .err { min-height: 18px; color: #ff9a80; font: 14px var(--body); text-shadow: 0 1px 2px #000; }
.mn-keys { position: absolute !important; left: 5.5vw; bottom: 2.4vh; display: flex; gap: 16px; color: #dcd4c4; font: 14px var(--body); text-shadow: 0 1px 3px #000; pointer-events: none !important; }
.mn-keys span { display: flex; align-items: center; gap: 7px; } .mn-keys kbd { padding: 2px 7px; border: 1px solid rgba(214,170,90,.5); border-radius: 0; background: rgba(6,5,14,.6); font: 12px var(--body); color: #f4e8c8; }
#title.on-ridge .acct { position: absolute; left: auto; right: 22px; top: auto; bottom: 2.4vh; color: #a39c90; font: 13px var(--body); text-shadow: 0 1px 2px #000; }
html.touch .mn-keys { display: none; }
body.ridgep { overflow: hidden; background: #05050f; }
body.ridgep::before { display: none; }
body.ridgep #gate { position: absolute; zoom: var(--gk, 1); left: 5.5vw; top: 3vh; width: 370px; max-width: 370px; margin: 0; padding: 0; gap: 8px; z-index: 2; }
body.ridgep #gate h1 { width: 330px; height: 210px; margin: 0 0 0 -8px; animation: none; filter: drop-shadow(0 0 16px rgba(255,170,70,.22)) drop-shadow(0 5px 8px #000); }
body.ridgep #gate h1::after { display: none; }
body.ridgep #gate .tag { width: 314px; margin-bottom: 6px; color: #f0e8d4; font: 15px var(--body); animation: none; text-shadow: 0 0 5px #000, 0 1px 2px #000; }
body.ridgep #gate .gtabs { width: 100%; gap: 0; border: 0; background: none; }
#gate .gtabs label { padding: 8px 4px 8px 0; font-size: 15px; letter-spacing: 2.5px; text-align: left; }
body.ridgep #gate .gtabs label { background: none; border: 0; border-image: none; box-shadow: none; color: #cdb27a; }
body.ridgep #gate #tab-in:checked ~ .gtabs label[for=tab-in], body.ridgep #gate #tab-new:checked ~ .gtabs label[for=tab-new] { color: #fff3cf; text-shadow: 0 0 10px rgba(255,170,60,.95), 0 2px 3px #000; }
body.ridgep #gate .pane { padding: 4px 0 0; background: none; border: 0; border-image: none; box-shadow: none; }
body.ridgep #gate label { color: #e0d6b8; font: 14px var(--body); text-shadow: 0 1px 3px #000; }
body.ridgep #gate .say { background: rgba(6,5,14,.82); border-color: rgba(214,170,90,.45); }
body.ridgep #gate summary, body.ridgep #gate .small, body.ridgep #gate p { color: #d8cfba; text-shadow: 0 1px 3px #000; } body.ridgep #gate a { color: #f0c870; }
body.ridgep .gate-foot { position: fixed; left: 0; right: 0; bottom: 2.4vh; z-index: 2; text-align: center; color: #d8cfba; text-shadow: 0 1px 3px #000; }
body.ridgep #gate-music { z-index: 3; }
@media (max-width: 760px) {
.mn-left, body.ridgep #gate { left: 16px; right: 16px; width: auto; max-width: none; }
.ridge-stage { opacity: .75; }
}
.mn-where:empty, .mn-where:has(b:empty):has(span:empty) { display: none; }
.ridge-plate .pl { position: relative; } .ridge-plate .pl::after { content: ''; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-top: 2px solid #e8cf94; }
.ridge-plate .pl[data-p='-1']::after { border-left: 2px solid #e8cf94; transform: translate(-30%, -30%); } .ridge-plate .pl[data-p='1']::after { border-right: 2px solid #e8cf94; transform: translate(-70%, -30%); }
#hud.tv.way2 .strip::after { content: ''; position: absolute; left: -47px; top: -85px; width: 690px; height: 200px; background: url(img/ui/barframe.webp?v=3) 0 0 / 100% 100% no-repeat; pointer-events: none; z-index: 4; }
#hud.tv.way2 .strip { border-color: #4a3a1c; }
#hud.tv.way2 .strip { bottom: calc(var(--safeb, 0px) / 1.2 + 16px); }
#hud.tv.way2 .newpts { bottom: calc(var(--safeb, 0px) / 1.2 + 118px); } #hud.tv.way2:not(.menushut) .newpts { bottom: calc(var(--safeb, 0px) / 1.2 + 164px); }
.ridge-hero { filter: brightness(.8) saturate(.86); }
.panel.mid:has(.gamemenu) { width: 410px; padding: 0; }
.gamemenu { padding: 12px 20px 16px; background: linear-gradient(rgba(14,10,8,.95), rgba(6,5,10,.97)); border: 1px solid #a98a48; box-shadow: 0 0 0 1px #000, 0 10px 40px #000; }
.gamemenu h1 { width: 100%; height: 132px; margin: 0 0 4px; font-size: 0; color: transparent; text-shadow: none; background: url(img/ui/wordmark-gold.webp) center / contain no-repeat; filter: drop-shadow(0 4px 6px #000); }
.gamemenu .opts { display: flex; flex-direction: column; gap: 0; margin: 0; }
.gamemenu .opts button { position: relative; display: block; width: 100%; padding: 0; margin: 0; background: none; border: 0; border-radius: 0; box-shadow: none; filter: none; text-shadow: 0 1px 2px #000; cursor: pointer; }
.gamemenu .opts .act { padding: 9px 8px 9px 36px; text-align: left; font: 600 16px/1.15 Cinzel, var(--font); letter-spacing: 3px; text-transform: uppercase; color: #cdb27a; }
.gamemenu .opts .act:hover { color: #fff3cf; background: linear-gradient(90deg, rgba(170,88,18,.7), rgba(120,60,14,.26) 62%, transparent); box-shadow: inset 2px 0 0 #f0c060; text-shadow: 0 0 10px rgba(255,170,60,.95), 0 2px 3px #000; }
.gamemenu .opts .act:hover::after { content: ''; position: absolute; left: 6px; top: 50%; width: 22px; height: 24px; transform: translateY(-50%); background: url(img/ui/crest.webp) center / contain no-repeat; }
.gamemenu .opts .set { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 7px 8px 7px 36px; border-top: 1px solid rgba(169,138,72,.2); font: 14px var(--body); color: #dcd4c4; text-align: left; }
.gamemenu .opts .act + .set { border-top: 1px solid rgba(169,138,72,.55); margin-top: 4px; }
.gamemenu .opts .set + .act { border-top: 1px solid rgba(169,138,72,.55); margin-top: 4px; }
.gamemenu .opts .set b { flex: none; min-width: 58px; text-align: right; font: 700 14px var(--body); color: #f0c870; }
.gamemenu .opts .set:hover { background: rgba(170,88,18,.22); color: #fff; border-color: rgba(169,138,72,.2); } .gamemenu .opts .set:hover b { color: #fff3cf; }
html.touch .gamemenu .opts { display: flex; } html.touch .panel.mid:has(.gamemenu) { width: 480px; } html.touch .gamemenu h1 { height: 84px; }
.panel.mid:has(.gamemenu) { left: 50%; right: auto; top: 50%; bottom: auto; margin: 0; max-height: none; transform: translate(-50%, -50%); }
.panel.left, .panel.right, .panel.mid:not(:has(.gamemenu)) { border: 11px solid transparent !important; border-image: url(img/ui/pk-frame.webp?v=3) 40 round !important; padding: 12px 12px 10px; background-clip: padding-box; box-shadow: 0 8px 30px rgba(0,0,0,.9); }
.panel.left, .panel.right, .panel.mid { background-color: #0b0a12; }
.panel h2 { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 92px; box-sizing: border-box; margin: -12px -12px 10px; padding: 0 0 7px; background: url(img/ui/pk-head.webp?v=3) center / 100% 100% no-repeat; border: 0; border-image: none; font: 700 15px/1 Cinzel, var(--font); letter-spacing: 3px; text-transform: uppercase; color: #f2d78e; text-shadow: 0 0 8px rgba(255,190,80,.4), 0 1px 2px #000; }
.panel h2::before { content: ''; position: absolute; left: 50%; top: 1px; width: 68px; height: 68px; transform: translateX(-50%); background: url(img/ui/pk-ring.webp?v=2) center / contain no-repeat; filter: drop-shadow(0 2px 3px #000); z-index: 1; }
.panel h2::after { content: ''; position: absolute; left: 50%; top: 17px; right: auto; width: 36px; height: 36px; transform: translateX(-50%); background: var(--ic, url(img/ui/crest.webp)) center / contain no-repeat; filter: drop-shadow(0 1px 2px #000); z-index: 2; }
.panel[data-p=inv] h2 { --ic: url(img/ui/bag.webp?v=2); } .panel[data-p=quests] h2, .panel[data-p=help] h2 { --ic: url(img/ui/scroll.webp?v=2); } .panel[data-p=skills] h2 { --ic: url(img/items2/tome-blue.png); } .panel[data-p=stash] h2 { --ic: url(img/items2/key-gold.png); } .panel[data-p=cube] h2 { --ic: url(img/items2/tome-red.png); }
.panel > .x { top: 3px; right: 3px; z-index: 4; width: 20px; height: 20px; background: linear-gradient(#6d1420, #33060c); border: 1px solid #c7a053; color: #f6e2b8; }
.panel > .x:hover { background: linear-gradient(#a81f30, #4d0a12); }
.panel button:not(.x):not(.sk):not([data-s]):not(.act):not(.set):not([data-h]) { border-style: solid; border-color: transparent; border-width: 5px 11px; border-image: url(img/ui/pk-btn.webp?v=2) 18 34 fill / 5px 11px stretch; background: none; padding: 3px 6px; color: #f6e4b6; font: 600 12px/1.2 Cinzel, var(--font); letter-spacing: 1.2px; text-transform: uppercase; text-shadow: 0 1px 2px #000; box-shadow: none; }
.panel button:not(.x):not(.sk):not([data-s]):not(.act):not(.set):not([data-h]):hover:not(:disabled) { filter: brightness(1.3); color: #fff; }
.panel .tabs button.on { filter: brightness(1.45) saturate(1.2); }
.doll .swap button { border: 1px solid #a98a48 !important; border-image: none !important; background: #150f0a !important; padding: 0 5px !important; font: 10px var(--body) !important; letter-spacing: 0 !important; }
.panel .st button { background: linear-gradient(#6d1420, #33060c); border: 1px solid #c7a053; color: #f6e2b8; }
.doll { height: 236px; margin: 0 0 6px; background: radial-gradient(ellipse at 50% 42%, transparent 40%, rgba(20,10,4,.72)), url(img/ui/pk-vellum.webp?v=1) center / 256px; box-shadow: 0 0 0 1px #000, 0 0 0 2px #8a6c34, 0 0 0 3px #000, inset 0 0 18px rgba(0,0,0,.65); }
.doll::before { content: ''; position: absolute; left: 50%; top: 4px; width: 180px; height: 228px; transform: translateX(-50%); background: var(--fig) center / contain no-repeat; filter: brightness(0) opacity(.3); pointer-events: none; }
.doll .slot, .panel .doll > div:not(.swap) { background: rgba(8,6,4,.62); border: 1px solid #5d4a26; box-shadow: 0 0 0 1px rgba(0,0,0,.65), inset 0 0 8px rgba(0,0,0,.7); }
.it { --tint: 60,70,90; background: linear-gradient(rgba(var(--tint),.2), rgba(var(--tint),.46)); box-shadow: inset 0 0 0 1px rgba(var(--tint),.55), inset 0 0 9px rgba(0,0,0,.4) !important; }
.grid .it, .it.worn { background: linear-gradient(rgba(var(--tint),.2), rgba(var(--tint),.46)); }
.it.q-magic { --tint: 70,90,235; } .it.q-rare { --tint: 205,190,50; } .it.q-crafted { --tint: 225,130,30; } .it.q-set { --tint: 40,190,60; } .it.q-unique, .it.q-runeword { --tint: 205,140,50; } .it.q-low { --tint: 90,85,80; }
.it.cant { background: rgba(200, 20, 20, .4) !important; }
.grid { background-color: #07060c; background-image: linear-gradient(rgba(168,132,66,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(168,132,66,.3) 1px, transparent 1px); border: 1px solid #8a6c34; box-shadow: 0 0 0 1px #000, inset 0 0 10px #000; }
.invsum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0 0 7px; background: #5d4a26; border: 1px solid #5d4a26; box-shadow: 0 0 0 1px #000; }
.invsum div { padding: 3px 2px 4px; text-align: center; background: linear-gradient(#17131f, #0a0810); } .invsum span { display: block; font: 600 9px/1.1 Cinzel, var(--font); letter-spacing: .8px; text-transform: uppercase; color: #bfa368; } .invsum b { display: block; margin-top: 1px; font: 700 13px/1.1 var(--body); color: #fff; white-space: nowrap; }
.panel .gold { display: flex; align-items: center; justify-content: flex-end; gap: 5px; float: none; margin: 7px 0 0; padding: 3px 9px; background: linear-gradient(#17131f, #0a0810); border: 1px solid #8a6c34; box-shadow: 0 0 0 1px #000; color: #f6e4b6; font: 700 13px var(--body); }
.panel .gold i { width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe9a0, #c98f22 60%, #6d4708); box-shadow: 0 0 0 1px #3a2606; }
.panel .kvs { background: linear-gradient(#141019, #0a0810); border: 1px solid #5d4a26; box-shadow: 0 0 0 1px #000; }
.panel .kvs.adv .kh, .panel .sub { color: #e6cd8c; }
.panel .sub { display: block; margin: -6px 0 8px; padding: 0; background: none; font: 600 12px Cinzel, var(--font); letter-spacing: 1px; }
.panel .stats .st { background: linear-gradient(90deg, #17131f, #0d0a12); border: 1px solid #3f3219; }
.gamemenu { border: 11px solid transparent; border-image: url(img/ui/pk-frame.webp?v=3) 40 round; background-clip: padding-box; box-shadow: 0 10px 40px #000; }
#tip .icard { width: 24em; padding: .15em .95em .1em; text-align: left; border: .62em solid transparent; border-image: url(img/ui/pk-frame.webp?v=3) 40 round; background: linear-gradient(#0d0a13, #07060b) padding-box; box-shadow: 0 .5em 1.6em rgba(0,0,0,.8); }
#tip .icard::before, #tip .icard::after { display: none; }
#tip .ic-top { margin: -.15em -.95em .55em; padding: .5em .8em .46em; text-align: center; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--q) 26%, #0a0810) 22%, color-mix(in srgb, var(--q) 26%, #0a0810) 78%, transparent), #0a0810; border-bottom: 1px solid; border-image: linear-gradient(90deg, transparent, #c79a48 20%, #f0d890 50%, #c79a48 80%, transparent) 1; }
#tip .ic-name { font: 700 1.2em/1.12 Cinzel, var(--font); letter-spacing: .06em; } #tip .ic-name2 { font-size: .95em; }
#tip .ic-hero, #tip .ic-hero.alone { display: flex; align-items: stretch; justify-content: flex-start; gap: .8em; min-height: 0; margin: 0 0 .5em; }
#tip .ic-pic { width: 4.7em; height: 6.2em; background: linear-gradient(color-mix(in srgb, var(--q) 16%, #0a0810), color-mix(in srgb, var(--q) 42%, #0a0810)); box-shadow: 0 0 0 1px #000, 0 0 0 2px #8a6c34, 0 0 0 3px #000, inset 0 0 .8em rgba(0,0,0,.55); }
#tip .ic-pic img { width: 88%; height: 88%; }
#tip .ic-side { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: .15em; }
#tip .ic-sub { margin: 0; color: color-mix(in srgb, var(--q) 75%, #d8cfba); font-size: .96em; }
#tip .ic-big { display: block; } #tip .ic-big b { display: block; font: 700 2.5em/1.05 var(--body); } #tip .ic-big span { display: block; width: auto; color: #a99f8c; font-size: .82em; text-transform: none; }
#tip .ic-info { margin: 0 0 .3em; color: #d8cfba; font-size: .95em; }
#tip .ic-cap { display: flex; align-items: center; gap: .55em; margin: .55em 0 .3em; color: #e6cd8c; font: 600 .78em Cinzel, var(--font); letter-spacing: .14em; text-transform: uppercase; } #tip .ic-cap::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, #8a6c34, transparent); }
#tip .ic-magic { font-size: .97em; } #tip .ic-m { color: #7e9bff; } #tip .ic-m.odd { color: #e8953c; } #tip .ic-m.neg { color: #ff6a5a; }
#tip .ic-m::before { width: .34em; height: .34em; margin: 0 .55em .13em .2em; }
#tip .ic-foot { display: flex; justify-content: space-between; gap: 1em; margin: .6em -.95em 0; padding: .32em .9em .3em; background: rgba(0,0,0,.5); border-top: 1px solid #5d4a26; color: #bfb49d; font: .88em var(--body); text-align: left; }
#tip .ic-foot i { display: inline-block; width: .72em; height: .72em; margin: 0 .22em 0 .1em; vertical-align: -.03em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe9a0, #c98f22 60%, #6d4708); } #tip .ic-foot .bad { color: #ff6a5a; }
#tip .ic-tab { width: fit-content; margin: 0 auto -.05em; padding: .15em 1.1em; background: linear-gradient(#2b2333, #120e18); border: 1px solid #c79a48; border-bottom: 0; color: #f2d78e; font: 600 .8em Cinzel, var(--font); letter-spacing: .18em; text-transform: uppercase; }
.panel h2 { height: 72px; padding-bottom: 5px; font-size: 14px; } .panel h2::before { width: 54px; height: 54px; top: 0; } .panel h2::after { width: 28px; height: 28px; top: 13px; }
.doll::before { filter: brightness(.08) sepia(1) opacity(.55); }
#tip .icard { font-family: var(--body); } #tip .ic-info, #tip .ic-magic, #tip .ic-sub, #tip .ic-hint { font-family: var(--body); }
.panel .tabs { flex-wrap: nowrap; gap: 2px; }
.panel .tabs button:not(.x):not(.sk):not([data-s]):not(.act):not(.set):not([data-h]) { flex: 1 1 0; min-width: 0; padding: 2px 0; border-width: 5px 7px; border-image-width: 5px 7px; font-size: 10px; letter-spacing: .4px; white-space: nowrap; overflow: hidden; }
.panel .sub { font: 13px/1.25 var(--body); letter-spacing: 0; color: #dccfa8; }
.talkbox .opts button:not(.x):not(.sk):not([data-s]):not(.act):not(.set):not([data-h]) { padding: 2px 6px; font: 15px var(--font); letter-spacing: 0; text-transform: none; color: #e8e4dc; border-image: none !important; }
.talkbox .opts button:not(.x):not(.sk):not([data-s]):not(.act):not(.set):not([data-h]):hover:not(:disabled) { filter: none; color: #f2d78e; }
.panel.left, .panel.right, .panel.mid:not(:has(.gamemenu)) { border-width: 5px !important; padding: 12px 12px 10px; }
.gamemenu { border-width: 5px; }
#tip .icard { border-width: .3em; }
.panel h2::before { filter: saturate(.8) brightness(.9) drop-shadow(0 2px 3px #000); }
.panel > .x { top: 4px; right: 4px; width: 18px; height: 18px; background: rgba(6,5,10,.72); border: 1px solid #7d6433; color: #d9c68f; font-size: 11px; }
.panel > .x:hover { background: #4d0a12; border-color: #d8bc7c; color: #fff; }
.panel .wps { gap: 0; }
.panel .wps button:not(.x):not(.sk):not([data-s]):not(.act):not(.set):not([data-h]) { border: 0; border-top: 1px solid rgba(169,138,72,.22); border-image: none; display: block; width: 100%; padding: 7px 8px 7px 26px; background: none; text-align: left; font: 14px var(--body); letter-spacing: 0; text-transform: none; color: #e6dcc4; position: relative; }
.panel .wps button:not(.x):not(.sk):not([data-s]):not(.act):not(.set):not([data-h]):hover:not(:disabled) { filter: none; color: #fff; background: rgba(170,88,18,.22); }
.panel .wps button:disabled { opacity: 1; color: #6f6a5c; }
.panel .wps button.here::before { content: ''; position: absolute; left: 9px; top: 50%; width: 8px; height: 8px; margin-top: -4px; transform: rotate(45deg); background: #f0c870; box-shadow: 0 0 6px rgba(255,190,80,.8); }
.panel .wps .here { color: #f2d78e !important; border-color: rgba(169,138,72,.22); }
.panel .merc { gap: 10px; padding: 8px 6px; border-bottom: 1px solid rgba(169,138,72,.22); }
.panel .merc img { width: 48px; height: 58px; object-fit: contain; background: linear-gradient(#17131f, #0a0810); box-shadow: 0 0 0 1px #000, 0 0 0 2px #5d4a26; }
.panel .merc .mfig { position: relative; flex: none !important; width: 48px; height: 58px; background: linear-gradient(#17131f, #0a0810); box-shadow: 0 0 0 1px #000, 0 0 0 2px #5d4a26; }
#mercbox .face { position: relative; }
.doll::before { display: none; }
.panel .merc b { font: 600 14px Cinzel, var(--font); color: #f2d78e; } .panel .merc small { color: #cdc4ad; }
.panel .merc button[data-h] { flex: none; border-style: solid; border-color: transparent; border-width: 5px 11px; border-image: url(img/ui/pk-btn.webp?v=2) 18 34 fill / 5px 11px stretch; background: none; padding: 3px 6px; color: #f6e4b6; font: 600 11px/1.2 Cinzel, var(--font); letter-spacing: .6px; text-transform: uppercase; }
.panel .merc button[data-h]:hover { filter: brightness(1.3); }
.panel .mslots .slot { background: rgba(8,6,4,.62); border: 1px solid #5d4a26; box-shadow: 0 0 0 1px #000, inset 0 0 8px #000; } .panel .mslots .lbl { font: 600 10px Cinzel, var(--font); letter-spacing: .5px; color: #9c8b63; font-style: normal; }
.sellbox { margin-top: 8px; padding: 8px; text-align: center; border: 1px dashed #7d6433; color: #cdbb90; background: rgba(0,0,0,.35); font: 13px var(--body); }
.panel .opts .sub { margin: 6px 0 0; text-align: left; }
.panel .say { margin: 8px 0 12px; padding: 10px 12px; text-align: left; font-style: normal; color: #2b2013; text-shadow: none; background: radial-gradient(ellipse at 50% 42%, transparent 50%, rgba(50,28,8,.4)), url(img/ui/pk-vellum.webp?v=1) center / 256px; box-shadow: 0 0 0 1px #000, 0 0 0 2px #7d6433, 0 0 0 3px #000; }
.panel.mid.talkbox { background: linear-gradient(rgba(14,10,8,.96), rgba(6,5,10,.97)) padding-box; padding: 8px 16px 10px; }
.talkbox .tname { font: 700 15px Cinzel, var(--font); letter-spacing: 1.5px; color: #f2d78e; } .talkbox .tname small { color: #bdb299; font: 12px var(--body); letter-spacing: 0; }
#skillpick { border: 5px solid transparent; border-image: url(img/ui/pk-frame.webp?v=3) 40 round; background: linear-gradient(rgba(14,10,8,.97), rgba(6,5,10,.98)) padding-box; box-shadow: 0 8px 26px #000; }
#skillpick button { background: rgba(255,255,255,.015); border: 0; border-bottom: 1px solid rgba(169,138,72,.22); color: #e6dcc4; font: 14px var(--body); } #skillpick button:hover { background: rgba(170,88,18,.24); color: #fff; } #skillpick button.on { color: #f2d78e; box-shadow: inset 2px 0 0 #f0c060; }
#skillpick .hint { color: #bdb299; } #skillpick > .x { background: rgba(6,5,10,.72); border: 1px solid #7d6433; color: #d9c68f; }
#tip:not(:has(.icard)) { background: linear-gradient(rgba(14,10,8,.97), rgba(6,5,10,.98)); border: 1px solid #7d6433; box-shadow: 0 0 0 1px #000, 0 6px 18px rgba(0,0,0,.8); }
.tree .sk { background: linear-gradient(#17131f, #0a0810); border: 1px solid #4c3d20; box-shadow: 0 0 0 1px #000; color: #d8cfba; } .tree .sk.has { background: linear-gradient(#2a2130, #120e18); border-color: #c79a48; } .tree .sk:hover:not(:disabled) { border-color: #f0d890; color: #fff; }
#title .opts-plate { width: 360px; padding: 14px 18px 16px; background: linear-gradient(rgba(14,10,8,.97), rgba(6,5,10,.98)) padding-box; border: 5px solid transparent; border-image: url(img/ui/pk-frame.webp?v=3) 40 round; border-radius: 0; box-shadow: 0 10px 40px #000; }
#title .opts-plate h2 { margin: 0 0 8px; text-align: center; font: 700 17px Cinzel, var(--font); letter-spacing: 3px; text-transform: uppercase; color: #f2d78e; background: none; border: 0; }
#title .opts-plate .opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 3px 2px; border-top: 1px solid rgba(169,138,72,.22); color: #dcd4c4; font: 14px var(--body); }
#title .opts-plate .opt button { min-width: 72px; padding: 4px 6px; background: none; border: 0; box-shadow: none; border-image: none; text-align: right; color: #f0c870; font: 700 14px var(--body); letter-spacing: 0; text-transform: none; cursor: pointer; } #title .opts-plate .opt button:hover { color: #fff; }
#title .opts-plate .row { justify-content: center; margin-top: 10px; pointer-events: auto; } #title .opts-plate .go { padding: 8px 26px; background: linear-gradient(rgba(170,94,24,.92), rgba(96,48,12,.96)); border: 1px solid #f0c870; border-image: none; color: #fff6dc; font: 600 13px Cinzel, var(--font); letter-spacing: 2px; text-transform: uppercase; cursor: pointer; }
@media (max-height: 560px) {
#title.on-ridge { zoom: 1; }
#title.on-ridge .mn-left { left: 14px; top: 4px; width: 270px; max-height: calc(100vh - 8px); overflow-y: auto; scrollbar-width: none; }
#title.on-ridge h1.mark { width: 150px; height: 92px; margin: 0 0 2px; }
#title.on-ridge .mn-where { width: 100%; min-height: 0; margin: 0 0 3px; text-align: left; } #title.on-ridge .mn-where b { font-size: 12px; } #title.on-ridge .mn-where span { font-size: 12px; line-height: 1.2; }
#title.on-ridge .mn { gap: 0; }
#title.on-ridge .mn > button, #title.on-ridge .mn > a { padding: 6px 8px 6px 30px; font-size: 14px; letter-spacing: 2.5px; }
#title.on-ridge .mn > .lit::before { left: 0; right: 0; top: 1px; bottom: 1px; }
#title.on-ridge .mn > .lit::after { left: 5px; width: 20px; height: 20px; }
#title.on-ridge .mn-small > button[data-id], #title.on-ridge .mn-small > button[data-claim] { padding-top: 4px; padding-bottom: 4px; } #title.on-ridge .mn-small small { font-size: 12px; margin-top: 0; }
#title.on-ridge .mn-form { width: 100%; margin: 4px 0 0; gap: 4px; } #title.on-ridge .mn-form input#tname { padding: 5px 9px; font-size: 14px; } #title.on-ridge .hcbox { font-size: 12px; } #title.on-ridge .err { min-height: 0; font-size: 12px; } #title.on-ridge .mn-two button { padding: 5px 12px; font-size: 12px; }
.mn-keys, #title.on-ridge .acct { display: none; }
.ridge-plate .txt { padding: 4px 26px 6px; } .ridge-plate b { font-size: 16px; } .ridge-plate small { font-size: 12px; }
#title .opts-plate { width: 340px; max-height: calc(100vh - 12px); overflow-y: auto; box-sizing: border-box; padding: 6px 14px 8px; } #title .opts-plate h2 { margin: 0 0 2px; font-size: 14px; } #title .opts-plate .opt { padding: 0 2px; font-size: 13px; } #title .opts-plate .opt button { padding: 3px 4px; font-size: 13px; } #title .opts-plate .row { margin-top: 4px; } #title .opts-plate .go { padding: 5px 20px; font-size: 12px; }
}
@media (max-height: 560px) {
body.ridgep #gate { display: flex; flex-direction: column; zoom: 1; left: 14px; top: 4px; bottom: auto; width: 270px; max-width: 270px; min-height: 0; max-height: calc(100vh - 8px); overflow-y: auto; scrollbar-width: none; box-sizing: border-box; padding: 0; gap: 3px; }
body.ridgep #gate h1 { width: 150px; height: 88px; margin: 0; flex: none; }
body.ridgep #gate .tag { display: none; }
body.ridgep #gate .gtabs { display: flex; gap: 14px; flex: none; } #gate .gtabs label { flex: none; padding: 3px 0; font-size: 13px; }
body.ridgep #gate .pane { padding: 0; } body.ridgep #gate form { gap: 4px; } body.ridgep #gate label { font-size: 12px; gap: 1px; }
body.ridgep #gate input[type=text], body.ridgep #gate input[type=email], body.ridgep #gate input[type=password] { padding: 5px 9px; font-size: 14px; }
body.ridgep #gate button { padding: 6px 12px; font-size: 12px; } body.ridgep #gate details { margin-top: 5px; } body.ridgep #gate .small, body.ridgep #gate p { font-size: 11px; line-height: 1.25; margin: 4px 0 0; }
body.ridgep .gate-foot { display: none; }
.panel h2 { height: 40px; padding: 0 0 6px; font-size: 13px; margin-bottom: 6px; } .panel h2::before { left: 22px; top: 0; width: 36px; height: 36px; transform: none; } .panel h2::after { left: 31px; top: 9px; width: 18px; height: 18px; transform: none; }
.invsum { display: none; } .doll { margin-bottom: 4px; } .panel .gold { margin: 4px 0; padding: 2px 8px; }
html.touch #tip { font-size: 15px; } #tip .ic-pic { width: 3.8em; height: 4.6em; } #tip .ic-big b { font-size: 2em; }
}
body.ridgep #gate .gtabs label { background: none !important; border: 0 !important; border-image: none !important; box-shadow: none !important; filter: none; }
@media (max-height: 560px) {
body.ridgep #gate h1 { align-self: flex-start; background-position: left center; }
body.ridgep #gate .gtabs label { flex: none; width: auto; }
body.ridgep #gate > * { animation: none; }
}
@media (max-height: 560px) {
.panel.mid:has(.gamemenu), html.touch .panel.mid:has(.gamemenu) { zoom: 1; width: 620px; max-height: none; }
.gamemenu { padding: 4px 14px 6px; } .gamemenu h1 { display: none; }
.gamemenu .opts, html.touch .gamemenu .opts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.gamemenu .opts .act { grid-column: auto; padding: 7px 8px 7px 30px; font-size: 13px; letter-spacing: 2px; } html.touch .gamemenu .opts button:first-child { grid-column: auto; } .gamemenu .opts button[data-m=save], html.touch .gamemenu .opts button:last-child { grid-column: 1 / -1; }
.gamemenu .opts .set { padding: 7px 8px; font-size: 13px; } .gamemenu .opts .act + .set { margin-top: 0; } .gamemenu .opts .set + .act { margin-top: 0; }
html:not(.touch) #hud.tv.way2 { zoom: .72; }
html:not(.touch) .panel.left, html:not(.touch) .panel.right { top: 3px; min-height: 0; max-height: calc((100vh - 8px) / var(--pz, 1)); }
}
@media (max-height: 560px) {
html.touch .panel.mid:has(.gamemenu) { top: 50%; }
html:not(.touch) #hudlog, html:not(.touch) #hudquest { display: none; }
}
.fgpurse { display: flex; justify-content: center; gap: 18px; color: #f2d78e; font-size: 14px; margin-bottom: 10px; }
.fgnone { color: #cdc4ad; text-align: center; padding: 18px 10px; font-size: 14px; line-height: 1.5; }
.fgitem { display: flex; gap: 10px; align-items: center; padding: 8px; background: rgba(0,0,0,.35); box-shadow: 0 0 0 1px #5d4a26; margin-bottom: 8px; }
.fgitem > div:last-child { display: flex; flex-direction: column; gap: 2px; } .fgitem b { font: 600 15px Cinzel, var(--font); } .fgitem small { color: #cdc4ad; font-size: 12px; }
.fgpic { position: relative !important; width: 54px; height: 54px; flex: none; display: flex; align-items: center; justify-content: center; } .fgpic img { max-width: 92%; max-height: 92%; object-fit: contain; }
.fgpow > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 2px; border-bottom: 1px solid rgba(169,138,72,.18); color: #8f9fff; font-size: 13px; }
.fgpow button { flex: none; font-size: 11px; padding: 2px 8px; }
.goldrow { position: relative; } .breakbar { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); z-index: 1; display: flex; align-items: center; gap: 8px; padding: 0 4px; color: #f2d78e; font-size: 13px; }
.breakbar button { flex: none; padding: 0 8px; font-size: 11px; line-height: 1.5; }
.breakbar.on { box-shadow: 0 0 0 1px #c0603a; } .breakbar.on button { color: #ffb060; }
body.breaking #pr .grid .it { cursor: crosshair !important; }
.ridge.is3d .ridge-hero, .ridge.is3d .ridge-fx { display: none; }
