/* DeckToon 0.10 — original jewel-and-gold game UI. */
:root{--ink:#30294b;--paper:#f8f0df;--gold:#e6b65d;--violet:#503986}
body{background:radial-gradient(ellipse at 14% 12%,#444183,transparent 45%),radial-gradient(ellipse at 90% 85%,#244c69,transparent 48%),#161b35}
button:focus-visible,a:focus-visible{outline:3px solid #ffdd79;outline-offset:3px}
.painted-icon{display:block;flex-shrink:0;width:78px;height:78px;background-repeat:no-repeat;filter:drop-shadow(0 4px 4px #152b5433)}
.item-illustration{background-image:url('assets/concept/items.webp');background-size:300% 300%}
.skill-illustration{background-image:url('assets/concept/skills.webp');background-size:500% 300%}
.player-avatar{border-color:#ffda88;background:linear-gradient(135deg,#fff2bd,#aa754a);box-shadow:0 0 0 2px #3a3152,0 0 14px #fbc66670}
.world-wallet button{border-color:#d9bb7b80;background:linear-gradient(100deg,#192947f0,#233c5edb)}
.player-info>em{background:linear-gradient(110deg,#bb5777,#7e3c7a);border-bottom:1px solid #e7a6be}
.play-tools .button{border-color:#eed396;background:linear-gradient(#575775,#242b4c);color:#ffe6ae}
.leader-card{border-color:#eed4a0;background:linear-gradient(150deg,#bd8ddd,#6658a6 48%,#283152);box-shadow:0 0 0 1px #604743}
.leader-card.selected{border-color:#ffe0a1;box-shadow:0 0 0 1px #a47132,0 0 12px #ffd7818a}
.companion-slot{background:linear-gradient(135deg,#f7e2b8,#907d8d 32%,#e0c6a3 55%,#5d566d)}
.companion-slot:before{background:repeating-linear-gradient(0deg,#604c7140 0 2px,transparent 2px 5px),linear-gradient(#283650,#344a6b)}
.companion-slot.empty>span{color:#adbad6}.companion-slot>small{color:#b9c4d9}
.world-nav{border-top:2px solid #ffe0a1;background:linear-gradient(180deg,#584b6f 0,#272b4a 38%,#1b213a);box-shadow:0 -3px #85613d,0 -7px 16px #10182e99;padding-top:6px}
.world-nav:after{height:24px;background:linear-gradient(#171c2a00,#11172b)}
.nav-hex{background:linear-gradient(135deg,#fff4cf,#c2975b 33%,#f9e4b8 50%,#89727e 74%,#4c3e52);width:49px;height:54px;filter:drop-shadow(0 3px 2px #090f2e)}
.nav-hex:before{inset:3px;background:radial-gradient(at 50% 0,#57617e,#21283e 78%)}
.world-nav .nav-hex .ico{color:#f5d891;filter:drop-shadow(0 1px 2px #080f21)}
.world-nav button:nth-child(2) .ico{color:#9ee4d9}.world-nav button:nth-child(4) .ico{color:#f0ba9a}.world-nav button:nth-child(5) .ico{color:#bab3ff}.world-nav button:nth-child(6) .ico{color:#9ecfff}
.world-nav button.active .nav-hex:before{background:radial-gradient(at 50% 0,#9b75c5,#493d7c)}
.world-nav button.active{filter:drop-shadow(0 0 5px #ffe2a040)}.world-nav button>span{font-size:10px;color:#f4ead4}
.skill-rack{display:flex;align-items:center;gap:4px;height:56px;background:linear-gradient(90deg,#1a253ae6,#383252d9,#1a253ae6);border-top:1px solid #c8a9758c;border-bottom:1px solid #847457;margin:5px -7px 0;padding:4px 7px;pointer-events:auto}
.core-skill{position:relative;display:flex;align-items:center;gap:4px;min-width:0;flex:1;background:none;border:0;color:white;padding:0;text-align:left;overflow:visible}
.skill-frame{position:relative;width:38px;height:40px;flex:0 0 38px;border-radius:11px 3px;border:2px solid #a99d86;box-shadow:0 0 0 1px #111f32,inset 0 0 7px #111;background:radial-gradient(#506c79,#192741);overflow:hidden}
.skill-frame .painted-icon{width:36px;height:36px;filter:none}.skill-frame>.ico{position:absolute;left:9px;top:10px;width:16px;height:16px;filter:drop-shadow(0 1px 3px black)}
.skill-shade{position:absolute;inset:0;background:#0b132ba8;transform:scaleY(var(--cooldown,0));transform-origin:bottom;transition:transform .23s linear}
.core-skill.ready .skill-frame{border-color:#ffeaa3;box-shadow:0 0 8px color-mix(in srgb,var(--element),transparent 30%)}
.core-skill.ultimate .skill-frame{border-color:#cd9bfb;background:radial-gradient(#5d4f8a,#20163a)}
.skill-label{min-width:0}.skill-label>b{font-size:9px;line-height:1.25;display:block;overflow-wrap:anywhere;font-weight:800;color:#fff7de}.skill-label>small{display:block;font-size:8px;color:#bfcce0;margin-top:3px;white-space:nowrap}
.core-skill:disabled{opacity:1}.core-skill:disabled .painted-icon{filter:saturate(.65) brightness(.72)}.core-skill:disabled .skill-label>b{color:#c8cbd7}
.skill-book{border:0;border-left:1px solid #d6b97455;color:#ffe6aa;background:none;width:28px;padding:2px 0 2px 4px;flex:0 0 28px}.skill-book>.ico{width:18px;height:18px}.skill-book>small{display:block;font-size:7px}
.play-screen .arena-bottom{bottom:272px}
.bottom-drawer{border:2px solid #f0d599;border-radius:22px 22px 5px 5px;box-shadow:0 0 0 1px #5c4669,0 -10px 50px #0f143487;background:linear-gradient(135deg,#fff9ee,#f0e8ed 50%,#e9edf3);color:var(--ink);max-height:calc(100% - 96px)}
.drawer-handle{background:#f9dfa7;box-shadow:0 1px #42334b;margin-top:8px;position:relative;z-index:2}
.bottom-drawer>header{position:relative;background:linear-gradient(105deg,#39325b,#61467f 50%,#303958);border-bottom:2px solid #d9b577;box-shadow:0 3px 9px #2e2b4d22;padding:12px 16px;margin-top:-15px;min-height:64px}
.bottom-drawer>header:after{content:'✦';color:#efcc87;font-size:17px;position:absolute;left:50%;bottom:-12px;transform:translateX(-50%);text-shadow:0 1px #5b3f51}
.bottom-drawer>header h2{font-size:19px;text-shadow:0 2px 2px #221d37;font-weight:850;letter-spacing:-.5px}
.bottom-drawer .icon-button{width:34px;height:34px;min-height:34px;border:1px solid #bfa8bd;background:linear-gradient(#6b5a80,#372d52);color:#fff2cf;border-radius:10px}
.drawer-scroll{padding:17px 12px 20px;scrollbar-width:thin;scrollbar-color:#9f85b5 #e4dde7}
.drawer-scroll .panel-note{color:#655b74;font-size:10px;line-height:1.8}.drawer-scroll h3{color:#332849}.drawer-scroll .button{border:1px solid #a89bb3;background:linear-gradient(#faf6fb,#ded7e7);box-shadow:inset 0 1px #fff,0 2px 0 #b8acbe;color:#4a3a60;border-radius:8px;font-weight:800}
.drawer-scroll .button.gold,.loot-card .button.gold{color:#54351c;border:1px solid #b77e36;background:linear-gradient(#fff5bf 0,#f5d17e 45%,#eab456 48%,#ffe29a);box-shadow:inset 0 1px #fff8df,0 2px 0 #95602a,0 4px 8px #7e5a2c22}
.drawer-scroll .button:disabled{opacity:1;background:#e0dbe6;color:#82758e;border-color:#bdb1c7;box-shadow:inset 0 1px #f3edf6}
.drawer-scroll .button.equipped{background:linear-gradient(#c9eee4,#9dd7cf);color:#24544c;border-color:#65a797;box-shadow:0 2px #488277}
.shop-shortcuts{gap:5px}.shop-shortcuts button{background:linear-gradient(#fffaf0,#e7dce9);border-color:#baa0bd;color:#574266;font-weight:800;box-shadow:0 2px #c0aebf;font-size:9px}
.atelier-title{text-align:center;margin:2px 0 12px}.atelier-title>span{color:#92724e;font-size:8px;letter-spacing:3px;font-weight:800}.atelier-title h3{font-size:24px;margin:5px 0 3px;letter-spacing:-1px;color:#423052}.atelier-title p{font-size:10px;color:#887387;margin:0}
.atelier-stage{height:220px;position:relative;border:1px solid #baa3c8;border-radius:15px 15px 35px 15px;overflow:hidden;background:radial-gradient(ellipse at 44% 35%,#e3c2fa 0,#c4b7e3 28%,#91a9cf 64%,#657eaa);box-shadow:inset 0 0 0 4px #ffffff50,inset 0 -25px 45px #3d427650,0 4px 14px #76608c20}
.atelier-stage:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 15% 20%,#fff4c1 0 1px,transparent 2px),radial-gradient(circle at 74% 18%,white 0 1px,transparent 2px),radial-gradient(circle at 20% 60%,#fff 0 1px,transparent 3px);background-size:80px 70px;opacity:.6}
.atelier-orbit{position:absolute;left:38%;top:21px;width:170px;height:170px;border:1px solid #f9e4b9;border-radius:50%;transform:translateX(-50%);box-shadow:0 0 0 7px #fff7df18,0 0 0 8px #ffedbb44,inset 0 0 24px #fff8dc30}
.atelier-orbit:after{content:'';position:absolute;inset:15px;border:1px dashed #fff4cf80;border-radius:50%;transform:rotate(30deg)}
.atelier-character{position:absolute;left:38%;top:0;width:170px;height:166px;transform:translateX(-50%);isolation:isolate}
.atelier-character:after{content:'';position:absolute;left:24px;right:24px;height:19px;bottom:5px;border-radius:50%;border:2px solid #ffedb9;background:radial-gradient(#d5d1f4,#7e7aa7);box-shadow:0 4px #67678b,0 9px 16px #44466c66;z-index:-3}
.atelier-character .character-art{position:relative;width:100%;height:100%;z-index:2;filter:drop-shadow(0 8px 4px #3d366a42)}
.atelier-name{position:absolute;bottom:6px;left:6%;width:65%;text-align:center;text-shadow:0 1px 3px #404368;z-index:4}.atelier-name>small{display:block;color:#f7f1ff;font-size:9px}.atelier-name>strong{display:block;color:#fff5cd;font-size:19px;margin-top:2px}
.atelier-tag{position:absolute;left:10px;top:10px;background:#3f3d6b80;color:#fff4da;font-size:7px;border:1px solid #f0dfb670;border-radius:12px;padding:3px 7px}
.atelier-sockets{position:absolute;right:12px;top:14px;bottom:13px;display:flex;flex-direction:column;justify-content:space-between}
.atelier-socket{display:grid;grid-template-columns:43px 1fr;grid-template-rows:22px 17px;column-gap:5px;width:94px;align-items:end;font-size:8px;color:#f8f3ff}
.atelier-socket>span{grid-row:1/3;width:41px;height:41px;border:1px solid #e5d3a7;border-radius:10px 3px;background:linear-gradient(#58628d,#39436b);box-shadow:inset 0 0 0 2px #8083a966}
.atelier-socket .painted-icon,.atelier-socket .item-art{width:37px;height:37px}.atelier-socket>small{font-size:8px}.atelier-socket>b{color:#e0d6ed;align-self:start;font-size:8px}.atelier-socket.is-equipped>b{color:#d4ffdd}.atelier-socket.is-equipped>span{border-color:#f7e7a4;box-shadow:0 0 10px #fff2ae70}
.atelier-stars{position:absolute;inset:30px 100px 20px 24px;color:#fff5cd;font-size:24px;pointer-events:none;animation:atelier-shine 4s ease-in-out infinite}.atelier-stars i{position:absolute;right:10px;top:5px;font-size:17px}.atelier-stars b{position:absolute;left:15px;bottom:40px;font-size:13px}
.wear-aura .atelier-character{filter:drop-shadow(0 0 15px #fff0a9)}.wear-aura .atelier-character:after{box-shadow:0 0 20px #ffeb9b,0 0 0 6px #fff3ab66;background:#e7d67c}
.preview-cape{position:absolute;background:linear-gradient(100deg,#217fbb,#4de0e4,#2574a9);width:75px;height:100px;left:49px;top:65px;z-index:1;clip-path:polygon(35% 0,73% 0,100% 90%,30% 100%,0 77%);border:2px solid #eacb80;transform:rotate(-8deg)}
.preview-board{position:absolute;left:18px;bottom:1px;width:142px;height:26px;background:linear-gradient(#68f0e4,#2997b3,#273a6e);border:2px solid #ffdf8c;transform:rotate(-7deg);border-radius:70%;box-shadow:0 5px 9px #5ff0ff90;z-index:0}
.wardrobe-heading{display:flex;justify-content:space-between;align-items:center;margin:17px 2px 10px;color:#493c5b}.wardrobe-heading>b{font-size:13px}.wardrobe-heading>span{font-size:9px;color:#7c6683}
.wardrobe-collection{display:grid;gap:9px}.style-card{display:flex;align-items:center;gap:9px;position:relative;padding:10px 9px 10px 6px;border:1px solid #baa5c5;border-radius:11px 4px 11px 4px;background:linear-gradient(105deg,#e4d1f2 0,#fff8ee 38%,#f8f0ef);box-shadow:inset 0 0 0 3px #ffffff8a,0 3px 0 #d5c7d9}
.style-card:before{content:'◆';position:absolute;left:-4px;top:-5px;color:#a684be;font-size:10px;text-shadow:0 1px #fff}
.style-art{position:relative;width:69px;flex:0 0 69px;text-align:center;background:radial-gradient(ellipse,#bd98dc60,transparent 70%)}.style-art .painted-icon,.style-art .item-art{width:67px;height:67px}.style-art>small{display:block;font-size:8px;color:#74557f;margin-top:0;font-weight:800}
.style-copy{flex:1;min-width:0}.style-ownership{font-size:8px;color:#82698b}.style-copy h3{font-size:12px;margin:3px 0 5px;color:#483051}.style-copy p{font-size:9px;color:#74677e;line-height:1.5;margin:0;word-break:keep-all}
.style-card>.button{flex:0 0 49px;min-height:31px;font-size:10px;padding:5px 6px;margin:0}.style-card.is-equipped{border-color:#76b4a8;background:linear-gradient(100deg,#cff0e7,#fffaf0 70%)}.style-card.is-equipped .style-ownership{color:#2c8b70}
.atelier-shop{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:18px;min-height:41px;font-size:12px}.atelier-shop .ico{width:20px;height:20px}.atelier-shop>span{margin-left:auto;font-size:22px}
.collection-heading>small,.street-banner>small{color:#a37e50}.collection-heading h3{font-size:20px}.collection-heading p{color:#756782}
.chest-card{border:1px solid #b99567;border-radius:15px 4px;background:radial-gradient(ellipse at 50% 20%,#8b699b,#3b365b 64%,#252b45);box-shadow:inset 0 0 0 3px #e8c08220,0 3px #c5b6c8;padding:10px 8px}.chest-card h3{color:#fff0ca}.chest-card .chest-art{filter:drop-shadow(0 5px 6px #140e36);width:120px;height:120px}.chest-card .owned-count{color:#d8cde9}.chest-buy{color:#ffdda0;font-size:9px}.chest-card details{color:#d8c9e4}.chest-card .button:disabled{background:linear-gradient(#7a7393,#58516e);color:#c9bdd8;border-color:#9e8b9c;box-shadow:0 2px #3c354d}
.inventory-card{opacity:1!important;background:linear-gradient(#fff9ed,#e6deed);border:1px solid #b4a2c6;border-radius:12px 4px;box-shadow:0 3px #d2c6d9}.inventory-card>.painted-icon{margin:0 auto 7px}.inventory-card h3{color:#443157}.inventory-card>small,.inventory-card p{color:#776581}.inventory-card strong{color:#916334}
.street-banner{position:relative;color:#fff6df;background:radial-gradient(ellipse at 85% 15%,#9370af,#4b416f 60%,#303a56);border:1px solid #d7b680;border-radius:15px 5px;box-shadow:inset 0 0 0 3px #ffe9b326;padding:22px 16px}.street-banner:after{content:'✦';position:absolute;right:18px;top:15px;color:#ffe5ad;font-size:34px;opacity:.7}.street-banner h3{color:#fff0d2}.street-banner>small{color:#dfbfe5}.street-banner p{color:#ddd3ec}.street-banner .button:disabled{background:#756786;color:#eee1f1;border-color:#b398c2}
.shop-card{background:linear-gradient(105deg,#e1d1ee,#fff9f0 50%);border:1px solid #baa5ca;box-shadow:0 3px #d4c7de;border-radius:13px 4px;gap:10px}.shop-card>.painted-icon,.shop-card>.item-art{width:83px;height:83px}.shop-card small{color:#95699d}.shop-card h3{color:#442f58}.shop-card p{color:#74627e}.shop-card .button{font-size:10px;padding:6px 12px;min-height:31px}
.quest-list article{background:linear-gradient(115deg,#fbf4e5,#e8dff0);border-color:#bda8c8;box-shadow:0 3px #d6c8dd}.quest-list p,.quest-list small{color:#786280}.quest-list .quest-seal{color:#ad7939}.quest-list button{white-space:nowrap}.quest-list progress{accent-color:#9370b4}
.circle-intro>small,.circle-intro p{color:#786681}.circle-intro>.ico{color:#8e74a5}.circle-intro h3{color:#453259}
.skill-team{display:flex;gap:8px;justify-content:center;margin:1px 0 15px}.skill-team>button{background:linear-gradient(#cbd1e6,#a59cc7);border:2px solid #c8b79d;border-radius:12px 4px;color:#4e3a66;width:69px;height:76px;padding:0;overflow:hidden;position:relative}.skill-team .character-art{width:72px;height:72px;position:absolute;left:50%;top:-7px;transform:translateX(-50%)}.skill-team b{position:absolute;bottom:2px;left:0;right:0;font-size:9px;background:#fff5dfb3}.skill-team .selected{border-color:#b98840;box-shadow:0 0 0 1px #ffe5b4,0 0 12px #d2b493}
.skill-identity{text-align:center}.skill-identity>small{font-size:10px;color:#887051}.skill-identity h3{font-size:22px;margin:7px 0}.skill-identity p{font-size:10px;color:#7b6a83;line-height:1.8;margin:0 0 17px}
.skill-codex{display:grid;gap:11px}.skill-detail{display:flex;align-items:center;gap:12px;padding:14px 11px;border:1px solid #b7a7c6;background:linear-gradient(115deg,#e9e2f4,#fff9ed);border-radius:14px 4px;box-shadow:0 3px #d1c5d9}.skill-detail.ultimate{border-color:#b38c4d;background:linear-gradient(115deg,#ebd7ed,#fff0d0)}
.skill-detail-icon{flex:0 0 73px;text-align:center}.skill-detail-icon>.painted-icon{width:73px;height:73px}.skill-detail-icon>span{font-size:8px;color:#705381;display:block;margin-top:4px}.skill-detail.ultimate .skill-detail-icon>span{color:#a36e23;font-weight:900}.skill-detail>div:last-child{flex:1;min-width:0}.skill-detail h3{font-size:15px;margin:5px 0 6px}.skill-detail small{font-size:8px;color:#8a6a86}.skill-detail p{font-size:10px;line-height:1.65;color:#6f5a7c;margin:0;word-break:keep-all}.skill-facts{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}.skill-facts span{background:#ebe1f0;border:1px solid #d9c6df;border-radius:4px;padding:3px 5px;color:#785380;font-size:8px}
.loot-card{border:2px solid #e4bc77;background:radial-gradient(ellipse at 50% 30%,#8568a1,#3c315d 60%,#1c2845);box-shadow:inset 0 0 0 4px #ffe4a222,0 0 70px #c99ce16b;border-radius:25px 6px}.loot-card>small{color:#e6cfa6}.loot-card h2{color:#fff2c8}.loot-card h3{color:#fff2b4}.loot-card p{color:#ded3ec}.loot-glow{position:relative;background:radial-gradient(#ffe3a652,transparent 67%);height:153px}.loot-glow:before{content:'✧';position:absolute;left:12%;top:15%;color:#fff0af;font-size:30px}.loot-glow:after{content:'✦';position:absolute;right:10%;bottom:8%;color:#ffd5ff;font-size:23px}.loot-glow>.painted-icon,.loot-glow>.item-art{width:135px;height:135px;animation:loot-rise .55s cubic-bezier(.2,.8,.2,1)}
.drawer-scroll .stat-line,.drawer-scroll .xp-line,.drawer-scroll .settings-list>div{color:#4d3d60}.drawer-scroll .stat-line{border-color:#c3b2cb;background:linear-gradient(#faf3e5,#e8dfed)}.drawer-scroll .stat-line>span{color:#564263}.drawer-scroll .stat-line small{color:#8b6b8c}.drawer-scroll .stat-line button{background:linear-gradient(#ffe5a1,#dbae60);color:#634323;border-color:#b38b54}.drawer-scroll .stat-line button small{color:#6b502e}.drawer-scroll .growth-art{background:radial-gradient(#d1bee9,#8ba4bf);border:1px solid #d0b27a}.drawer-scroll .growth-art>span{background:#413c5cb3;color:#fff0d3}.drawer-scroll .weapon-feature{background:linear-gradient(130deg,#e2d6ef,#f9efda);border-color:#b7a0c7;color:#584363}.drawer-scroll .weapon-feature p{color:#826f86}.drawer-scroll .gear-slots>span{color:#725c82;background:#ece2ef;border-color:#c7b3d0}.drawer-scroll .gear-slots small{color:#8c7696}
.drawer-scroll .world-list button{background:linear-gradient(#fef7e7,#e9dfee);border-color:#c0a8c9;color:#4c365c}.drawer-scroll .world-list small{color:#8b7392}.drawer-scroll .world-list button>b{color:#ac7b35}.drawer-scroll .settings-list label,.drawer-scroll .settings-list b{color:#5a416b}.drawer-scroll input[type=range]{accent-color:#9c71ba}.drawer-scroll .install-link{color:#805795}
@keyframes atelier-shine{0%,100%{opacity:.55}50%{opacity:1}}@keyframes loot-rise{from{transform:translateY(16px) scale(.6);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}
@media(max-width:350px){.skill-label>b{font-size:8px}.skill-frame{flex-basis:32px;width:32px;height:34px}.skill-frame .painted-icon{width:30px;height:30px}.skill-label>small{font-size:7px}.skill-book{width:22px;flex-basis:22px}.atelier-stage{height:208px}.atelier-character{width:150px;height:154px;left:34%}.atelier-orbit{left:34%}.atelier-sockets{right:7px}.atelier-socket{width:86px}.style-copy h3{font-size:11px}.style-art{width:58px;flex-basis:58px}.style-art .painted-icon{width:58px;height:58px}.nav-hex{width:43px;height:49px}}
@media(max-height:700px){.skill-rack{height:49px}.play-screen .arena-bottom{bottom:233px}.bottom-drawer{max-height:calc(100% - 81px)}}
@media(prefers-reduced-motion:reduce){.atelier-stars,.loot-glow>.painted-icon,.loot-glow>.item-art{animation:none}.skill-shade{transition:none}}

.core-skill{min-height:44px}.core-skill:not(.locked) .skill-frame>.ico{display:none}
.weapon-gallery-title{margin:26px 0 6px;color:#ffe1a2}.weapon-gallery-note{font-size:12px;color:#a9c6d9;line-height:1.6}.weapon-gallery{display:grid;gap:20px}.weapon-family header{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:12px 0 8px}.weapon-family header b{color:#f4e1ba;font-size:16px}.weapon-family header span{font-size:11px;color:#a6c3d6}.weapon-variants{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.weapon-card{margin:0;min-width:0;position:relative;overflow:hidden;border:1px solid #506678;border-radius:13px;background:radial-gradient(ellipse at 50% 48%,#384c63 0,#152a40 60%,#101d2c 100%);text-align:center;padding:10px 4px 12px}.weapon-card[data-element=light]{background:radial-gradient(ellipse at 50% 48%,#6b583c,#292a30 65%,#182332)}.weapon-card[data-element=dark]{background:radial-gradient(ellipse at 50% 48%,#543157,#25203b 65%,#182332)}.weapon-card.equipped{border-color:#f4d388;box-shadow:inset 0 0 0 1px #c8a86355,0 0 12px #dfb55322}.weapon-card.equipped:before{content:'장착 외형';position:absolute;top:4px;left:4px;font-size:9px;padding:2px 5px;border-radius:4px;background:#edc979;color:#201a16;z-index:1}.weapon-icon{display:block;width:100%;height:135px;margin:6px auto;filter:drop-shadow(0 4px 3px #0007)}.weapon-card figcaption{display:flex;flex-direction:column;gap:4px}.weapon-card figcaption b{color:#f3e7ce;font-size:13px}.weapon-card figcaption small{color:#b6c9d9;font-size:9px;line-height:1.4;word-break:keep-all}.weapon-card.equipped figcaption small{color:#ffdc91}
/* Daily expeditions and final boss HUD */
.play-tools .daily-shortcut{width:auto;min-width:46px;padding:7px 10px;font-size:11px;color:#ffe8ad;border:1px solid #d6ae62;background:linear-gradient(140deg,#4d315d,#202845);box-shadow:inset 0 0 10px #f4cf5422}
.daily-intro{padding:6px 0 20px}.daily-intro small{letter-spacing:.15em;color:#b49254;font-size:10px}.daily-intro h3{font-size:25px;margin:9px 0;color:#443854}.daily-intro p,.daily-copy p{font-size:12px;line-height:1.7;color:#70617e}
.daily-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.daily-card{--daily-accent:#e9bc58;overflow:hidden;border-radius:16px;border:1px solid #c2a568;background:linear-gradient(160deg,#fff9e8,#ede6f0);box-shadow:0 5px 15px #21142a15}.daily-equipment{--daily-accent:#b195f4}.daily-light{--daily-accent:#ffe1a3}.daily-dark{--daily-accent:#bb6ff2}.daily-art{position:relative;height:176px;overflow:hidden;background:#30233c}.daily-art img{width:100%;height:100%;object-fit:cover;object-position:center 35%}.daily-art:after{content:'';position:absolute;inset:30% 0 0;background:linear-gradient(transparent,#111524ed)}.daily-art h3{position:absolute;z-index:1;left:12px;right:10px;bottom:8px;margin:0;color:#fff5dc;font-size:17px;line-height:1.35;text-shadow:0 2px 5px #000}.daily-count{position:absolute;z-index:1;top:9px;right:8px;padding:5px 8px;border:1px solid var(--daily-accent);border-radius:20px;background:#172038dc;color:#fff4db;font-size:10px}.daily-copy{padding:12px}.daily-copy label{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#53445f;gap:6px}.daily-copy select{width:76px;min-height:33px;background:#fffaf0;border:1px solid #bfa16d;border-radius:7px;font:inherit;color:#4c355d}.daily-copy p{min-height:62px;margin:10px 0}.daily-reward{min-height:56px;padding:8px 0;border-top:1px solid #bca66a66}.daily-reward small{display:block;font-size:10px;color:#8b744f}.daily-reward b{display:block;font-size:12px;color:#594167;margin-top:4px}.daily-copy .button{font-size:12px;min-height:40px;padding:9px 3px}.daily-active{display:flex;align-items:center;gap:8px;padding:10px;margin-bottom:15px;border:1px solid #b8a36c;border-radius:9px;color:#594167;font-size:12px}.daily-active .button{margin-left:auto;white-space:nowrap;padding:8px;font-size:11px}.crystal-material{display:grid;place-items:center;margin:10px auto;width:70px;height:70px;color:var(--crystal);background:radial-gradient(ellipse,#fff8,transparent 70%);filter:drop-shadow(0 0 8px var(--crystal))}.crystal-material svg{width:54px;height:54px}.material-quantity{display:block;padding:12px;color:#aa9368;font-size:11px}
.boss-strip{width:min(94%,300px);margin:9px auto 0;padding:7px 10px 6px;border:1px solid #ec9c75;border-radius:8px;background:linear-gradient(110deg,#5a162cd9,#1d193fe8);box-shadow:0 0 15px #ed3b6340;color:#fff3da;display:grid;grid-template-columns:1fr auto;gap:4px}.boss-strip[hidden]{display:none!important}.boss-strip strong{font-size:11px;white-space:normal}.boss-strip span{font-size:10px}.boss-strip progress{grid-column:1/-1;width:100%;height:6px;border:0;border-radius:4px;overflow:hidden;background:#23192a}.boss-strip progress::-webkit-progress-bar{background:#23192a}.boss-strip progress::-webkit-progress-value{background:linear-gradient(90deg,#d93751,#ffb672)}.boss-strip progress::-moz-progress-bar{background:#ed625c}
@media(max-width:370px){.daily-grid{gap:8px}.daily-copy{padding:8px}.daily-art h3{font-size:15px}.daily-art{height:145px}.daily-copy label{display:block}.daily-copy select{width:100%;margin-top:5px}}

.daily-copy p,.daily-art h3{word-break:keep-all;overflow-wrap:break-word}.daily-copy p b{white-space:nowrap}

/* Waist-up daily raid bosses: keep the portrait, hero and menus in separate areas. */
.play-screen .raid-arena .stage-hud{left:50%;width:82%;top:100px}
.raid-arena .stage-hud>small,.raid-arena #wave-hud{display:none}
.raid-arena .stage-hud>span{font-size:12px}
.raid-arena .boss-strip{width:94%;margin:5px auto 0;padding:5px 9px;gap:3px}
.raid-light .boss-strip{border-color:#efce84;background:linear-gradient(110deg,#695029e8,#262044ee)}
.raid-light .boss-strip progress::-webkit-progress-value{background:linear-gradient(90deg,#e2af3c,#fff3a4)}
.raid-dark .boss-strip{border-color:#bd86e8;background:linear-gradient(110deg,#492252e8,#221936ee)}
.raid-dark .boss-strip progress::-webkit-progress-value{background:linear-gradient(90deg,#8137be,#e3a1ff)}
@media(max-height:760px){.play-screen .raid-arena .stage-hud{top:95px}.raid-arena .boss-strip strong{font-size:10px}.raid-arena .boss-strip{padding:4px 7px}}
.raid-arena .stage-hud>span{display:none}
.raid-arena .boss-strip{margin-top:0}
@media(max-height:640px){
 .play-screen:has(.raid-arena) .control-deck .quest-ribbon{display:none}
 .play-screen:has(.raid-arena) .formation-dock{height:72px}
 .play-screen:has(.raid-arena) .leader-card .character-art{width:88px;height:104px;top:-11px}
 .play-screen .raid-arena .stage-hud{top:101px}
}

.dudi-skill-icon{display:block;width:100%;height:100%;border-radius:inherit}.skill-detail-icon>.dudi-skill-icon{width:100%;height:auto}

.hero-skill-icon{display:block;width:100%;height:100%;filter:drop-shadow(0 0 4px #9deaff38)}
