.arena-mode-switch { display:flex; align-items:center; gap:6px; padding:5px; margin-bottom:13px; width:fit-content; border:1px solid #847051; border-radius:10px; background:#302b25; }
.arena-mode-switch button { padding:9px 25px; border:0; border-radius:6px; background:transparent; color:#cbbb9f; font-weight:800; font-size:12px; }
.arena-mode-switch button[aria-pressed="true"] { background:#dba15b; color:#30241b; box-shadow:0 2px 6px #130e0844; }
.arena-mode-switch button:focus-visible { outline:3px solid #f7cc88; outline-offset:2px; }
.adventure-heading { padding:22px 24px 16px; }.adventure-heading h2,.dungeon-intro h2 { margin:5px 0 9px; font-size:25px; }.adventure-heading p,.dungeon-intro p { color:#d0bea4; font-size:13px; line-height:1.65; max-width:650px; }
.duo-lobby,.duo-party { background:linear-gradient(120deg,#58452f,#403329); border-color:#a38152; }.duo-candidates { padding:0 24px 20px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.duo-member { display:flex; align-items:center; min-width:0; gap:8px; }.duo-portrait { display:block; width:67px; height:81px; flex:none; }.duo-member strong { display:block; overflow-wrap:anywhere; font-size:13px; }.duo-member small { display:block; margin-top:5px; color:#c7b399; font-size:11px; }
.duo-candidate { display:flex; align-items:center; justify-content:space-between; gap:7px; border:1px solid #7c664c; background:#40372e; border-radius:8px; padding:6px 11px 6px 0; }.duo-candidate .button { padding:7px 12px; }
.adventure-footnote { color:#c6b498; font-size:11px; line-height:1.65; margin:16px 0; }.duo-lobby>.adventure-footnote { margin:0; padding:14px 24px; background:#38322b; border-top:1px solid #776148; }.adventure-empty { font-size:13px; color:#c7b59a; line-height:1.7; grid-column:1/-1; padding:16px; background:#3a342d; border-radius:8px; }
.duo-incoming { padding:0 24px; }.duo-invitation { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:5px 15px 13px 5px; border:1px solid #a7925e; border-radius:8px; background:#55513b; margin-bottom:12px; }.duo-invitation p,.duo-invitation>div>small { padding-left:13px; font-size:11px; color:#e0cfac; }.duo-actions { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }.duo-outgoing { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 24px 18px; padding:15px; border:1px solid #81734b; background:#484730; border-radius:8px; font-size:12px; }.duo-outgoing small { display:block; margin-top:7px; color:#cec29e; }
.duo-party { background:linear-gradient(120deg,#4b4938,#443a30); border-color:#95865b; }.duo-party-members { display:flex; justify-content:center; align-items:center; gap:28px; padding:0 24px 15px; }.duo-party-members .duo-portrait { width:100px; height:122px; }.duo-party-members strong { font-size:16px; }.duo-link { font-size:28px; color:#dab777; }.duo-party-footer { display:flex; justify-content:space-between; align-items:center; padding:13px 24px; border-top:1px solid #7d7050; background:#302d2344; font-size:11px; color:#d6c7a6; }
.adventure-section-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:25px 0 13px; }.adventure-section-heading h3 { font-size:17px; }.adventure-section-heading>span { font-size:11px; color:#c8b498; }.duo-opponents { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }.duo-opponent { padding:14px 12px; text-align:center; }.duo-opponent-kind { color:#d8b477; font-size:9px; letter-spacing:.08em; text-transform:uppercase; }.duo-rivals { margin:7px 0; }.duo-rivals .duo-member { text-align:left; gap:4px; }.duo-rivals .duo-portrait { width:60px; height:72px; }.duo-opponent>p { font-size:11px; color:#c9b59b; margin:9px 0 15px; }.duo-opponent>.button { width:100%; font-size:11px; padding:9px 8px; }
.dungeon-intro { display:flex; align-items:flex-start; gap:24px; margin:10px 0 24px; }.dungeon-intro>div:first-child { flex:1; }.dungeon-reset { flex:none; min-width:170px; padding:16px 18px; border:1px solid #84704f; background:#453c30; border-radius:9px; }.dungeon-reset span,.dungeon-reset small { display:block; color:#c9b69a; font-size:10px; }.dungeon-reset strong { display:block; color:#f0d292; font-size:17px; margin:8px 0; }.dungeon-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }.dungeon-card { border:1px solid #887052; border-radius:12px; overflow:hidden; background:#473c31; box-shadow:0 5px 0 #1f1b1744; }.dungeon-art { position:relative; height:170px; background:radial-gradient(ellipse at bottom,#89714988,transparent 72%),linear-gradient(125deg,#5b4f38,#292a24); overflow:hidden; border-bottom:1px solid #8c7551; }.dungeon-art:after { content:""; position:absolute; bottom:-20px; left:-5%; width:110%; height:45px; border-radius:50%; background:#25282088; }.dungeon-art img { position:absolute; z-index:1; bottom:8px; left:50%; transform:translateX(-50%); height:128px; max-width:90%; object-fit:contain; filter:drop-shadow(0 8px 5px #1119); }.dungeon-panthers .dungeon-art { background:radial-gradient(ellipse at bottom,#8d754d88,transparent 72%),linear-gradient(125deg,#554331,#2d2723); }.dungeon-bears .dungeon-art { background:radial-gradient(ellipse at bottom,#ac765088,transparent 72%),linear-gradient(125deg,#604936,#312924); }.dungeon-number { position:absolute; left:14px; top:20px; font:700 48px Georgia,serif; color:#f7d69522; }.dungeon-status { position:absolute; z-index:2; top:12px; right:10px; font-size:8px; text-transform:uppercase; letter-spacing:.05em; padding:5px 7px; border:1px solid #c6a66b66; border-radius:4px; color:#e4d2ab; background:#252b2599; }.dungeon-copy { padding:18px 15px; }.dungeon-copy h3 { font-size:18px; line-height:1.25; min-height:45px; margin:5px 0 10px; }.dungeon-copy>p { min-height:57px; font-size:11px; line-height:1.65; color:#c8b59a; }.dungeon-waves { list-style:none; display:flex; justify-content:space-between; gap:5px; margin:18px 0; padding:0; }.dungeon-waves li { display:flex; flex-direction:column; align-items:center; font-size:9px; color:#b7a88d; gap:6px; flex:1; }.dungeon-waves li span { display:grid; place-items:center; width:25px; height:25px; border-radius:50%; border:1px solid #928060; font-weight:800; background:#332f27; }.dungeon-waves .complete { color:#f0cb8c; }.dungeon-waves .complete span { background:#745131; border-color:#be9354; }.dungeon-reward { display:flex; justify-content:space-between; gap:6px; align-items:center; padding:12px 0; border-top:1px solid #7b6348; color:#cbb89b; font-size:10px; }.dungeon-reward strong { font-size:16px; color:#efd18d; }.dungeon-copy>.button { width:100%; font-size:11px; padding:10px 6px; }.dungeon-health>span { display:flex; justify-content:space-between; font-size:9px; color:#d0c09f; margin-bottom:5px; }.dungeon-health { margin:9px 0 15px; }.dungeon-card.completed { border-color:#b18c52; }.dungeon-card.completed .dungeon-status { color:#f5d79d; background:#694d2d; border-color:#b68a4d; }
.account-slot-progress { padding:14px 16px; margin:0 0 18px; background:#4e3e2d; border:1px solid #987448; border-radius:8px; color:#e7cda5; font-size:12px; line-height:1.65; }.account-slot-progress strong { color:#f7d59a; }.account-slot-progress small { display:block; color:#cdb394; margin-top:4px; }


.duo-battle-panel .duo-arena-stage { height:auto; aspect-ratio:2/1; min-width:0; }
.duo-arena-stage canvas { display:block; width:100%; min-width:0; height:100%; }
.duo-fight-notice { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; margin:0 0 16px; padding:14px 17px; border:1px solid #ae8450; border-left:3px solid #d8aa62; border-radius:7px; background:linear-gradient(110deg,#5c442c,#413329); color:#f1dabb; }.duo-fight-notice strong { font-size:13px; }.duo-fight-notice p { margin-top:5px; color:#d5bc98; font-size:11px; line-height:1.5; }.duo-fight-notice .duo-actions { gap:8px; }


.tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
.tabs .tab { min-width:0; width:100%; padding-left:6px; padding-right:6px; }
@media(min-width:1100px) { .tabs { grid-template-columns:repeat(8,minmax(0,1fr)); }.tabs .tab { gap:5px; font-size:11px; }.tabs .tab-icon { width:30px; height:30px; } }
@media(max-width:1000px) { .duo-opponents { grid-template-columns:repeat(2,minmax(0,1fr)); }.duo-candidates { grid-template-columns:1fr; }.dungeon-grid { gap:10px; }.dungeon-intro { flex-direction:column; gap:15px; }.dungeon-reset { width:100%; }.dungeon-copy { padding:15px 11px; }.dungeon-art { height:145px; }.dungeon-art img { height:105px; } }
@media(max-width:580px) { .adventure-heading { padding:18px 16px 12px; }.duo-candidates { padding:0 16px 16px; }.duo-party-members { gap:8px; padding:0 10px 12px; }.duo-party-members .duo-member { flex-direction:column; text-align:center; }.duo-party-members .duo-portrait { width:85px; height:95px; }.duo-party-members strong { font-size:13px; }.duo-link { margin:0 12px; }.duo-party-footer { padding:12px 15px; }.adventure-section-heading { align-items:flex-start; flex-direction:column; gap:7px; }.duo-incoming { padding:0 16px; }.duo-invitation { flex-direction:column; align-items:stretch; padding:8px 14px 14px; }.duo-outgoing { margin:0 16px 16px; }.dungeon-grid { grid-template-columns:1fr; gap:17px; }.dungeon-card { display:grid; grid-template-columns:105px minmax(0,1fr); }.dungeon-art { height:100%; border-right:1px solid #8c7551; border-bottom:0; }.dungeon-art img { bottom:25%; width:95px; height:135px; }.dungeon-number { top:53px; left:26px; }.dungeon-status { top:10px; left:5px; right:5px; text-align:center; font-size:7px; padding:5px 3px; }.dungeon-copy h3,.dungeon-copy>p { min-height:0; }.dungeon-copy h3 { font-size:19px; }.dungeon-waves { margin:14px 0; } }

/* Ascension controls and results share the game's brass and leather palette. */
.tower-auto { margin:0 0 18px; overflow:hidden; border:1px solid #977247; border-radius:9px; background:linear-gradient(125deg,#49382b,#372e26); box-shadow:0 3px 0 #21181033; }
.tower-auto-header { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:15px 18px; border-bottom:1px solid #8a67463b; background:linear-gradient(100deg,#79512e24,transparent); }
.tower-auto-heading { display:flex; align-items:center; gap:12px; min-width:0; }
.tower-auto-heading>div { min-width:0; }
.tower-auto-emblem { display:grid; place-items:center; width:40px; height:44px; flex:none; color:#e1b36b; border:1px solid #ae824a80; border-radius:6px; background:#2b231d; }
.tower-auto-emblem svg { width:27px; height:27px; }
.tower-auto .eyebrow { color:#d9ae70; font-size:9px; letter-spacing:.11em; }
.tower-auto h3 { margin:4px 0 0; font:700 19px/1.2 var(--display); color:#f3dfbc; overflow-wrap:anywhere; }
.tower-auto-badge { flex:none; padding:5px 8px; border:1px solid #ab814d66; border-radius:4px; color:#e0bd85; font-size:10px; white-space:nowrap; }
.tower-auto-header>.button { flex:none; font-size:11px; }
.tower-auto-body { padding:13px 18px 15px; }
.tower-auto-status { color:#ddc8aa; font-size:12px; line-height:1.55; }
.tower-auto-error { margin:10px 0; padding:9px 11px; border-left:2px solid #df9d77; color:#ffd1b7; background:#73453433; font-size:12px; line-height:1.5; }
.tower-auto-body>.button { margin-top:10px; }
.tower-auto-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; margin:14px 0 0; padding:12px 0; border-top:1px solid #a57c4944; border-bottom:1px solid #a57c4944; }
.tower-auto-summary>div { min-width:0; padding:0 12px; border-left:1px solid #99734744; }
.tower-auto-summary>div:first-child { padding-left:0; border-left:0; }
.tower-auto-summary dt { min-height:28px; color:#cbb295; font-size:10px; line-height:1.4; }
.tower-auto-summary dd { margin:4px 0 0; color:#f3ce8b; font:700 23px/1.15 var(--font); font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.tower-auto-summary dd small { color:#d7bf98; font-size:11px; font-weight:500; }
.tower-auto-start { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:8px 12px; padding-top:13px; }
.tower-auto-start label { display:grid; gap:6px; min-width:0; color:#d9bc91; font-size:10px; font-weight:700; }
.tower-auto-start select { display:block; width:100%; min-width:0; min-height:40px; padding:8px 10px; border:1px solid #977348; border-radius:5px; background:#30271f; color:#efdbba; font:12px var(--font); }
.tower-auto-start select:focus-visible { outline:2px solid #efc27d; outline-offset:3px; }
.tower-auto-start>.button { min-height:40px; font-size:12px; padding:9px 15px; }
.tower-auto-start small { grid-column:1/-1; color:#bda58a; font-size:10px; line-height:1.5; }
.tower-auto-footnote { margin-top:10px; color:#bda68a; font-size:10px; line-height:1.55; }
.tower-auto.is-complete { border-color:#826242; }
.tower-auto.is-complete .tower-auto-start { padding-top:15px; }
.damage-recap { display:flex; flex-wrap:wrap; gap:7px 10px; margin:13px 0 0; font-size:11px; color:#d1b998; }
.damage-recap>span { display:inline-flex; align-items:baseline; gap:9px; padding:7px 10px; border:1px solid #96714966; border-radius:5px; background:#2e241d55; }
.damage-recap strong { color:#f3d39e; font-size:14px; font-variant-numeric:tabular-nums; }
.clan-battle-result .damage-recap { justify-content:center; margin-bottom:16px; }
.clan-battle-result>.duo-actions { justify-content:center; }
/* A compact, bounded talent list belongs to the character sheet only. */
.fighter-panel>.skills-equipment { padding:14px 12px 12px; background:#382f27; border-color:#80624466; }
.sidebar-talents-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:10px; }
.sidebar-talents-heading h3 { margin:0; color:#e6c597; font-size:11px; font-weight:700; }
.sidebar-talents-heading>span { min-width:23px; padding:2px 5px; border:1px solid #a17a454d; border-radius:4px; background:#60482c66; color:#e6bd7d; font-size:10px; text-align:center; }
.sidebar-talents { list-style:none; display:grid; gap:5px; margin:0; padding:0 4px 0 0; max-height:326px; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#9f784a #2e251d; }
.sidebar-talent { display:grid; grid-template-columns:32px minmax(0,1fr) auto; align-items:center; gap:7px; min-height:43px; padding:4px 6px 4px 4px; border:1px solid #97764e40; border-radius:5px; background:linear-gradient(100deg,#59442e80,#44372b55); }
.sidebar-talent-icon { display:grid; place-items:center; width:32px; height:32px; color:#d8ac6b; background:#28221b66; border-radius:4px; }
.sidebar-talent-icon img { width:30px; height:30px; object-fit:contain; }
.sidebar-talent-name { color:#ead7b7; font-size:11px; font-weight:600; line-height:1.35; overflow-wrap:anywhere; }
.sidebar-talent-tier { min-width:20px; padding:3px 4px; color:#dbb77b; border-left:1px solid #a683514d; font-size:10px; text-align:center; }
.sidebar-talents:focus-visible { outline:2px solid #dfb371; outline-offset:3px; }
.sidebar-talents-hint { display:flex; justify-content:center; align-items:center; gap:6px; margin:9px 0 0; padding-top:8px; border-top:1px solid #96724540; color:#c7aa80; font-size:10px; line-height:1.4; }
.sidebar-talents-hint>span { color:#e8bc77; font-size:14px; }
.tower-floor-number { min-width:0; overflow-wrap:normal; }
.tower-floor-number>strong { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
@media(max-width:590px) { .tower-floor-number { padding-right:5px; }.tower-floor-number>strong { font-size:20px; } }
@media(max-width:400px) { .tower-floor,.tower-floor.current { grid-template-columns:42px 58px minmax(0,1fr); } }
@media(max-width:760px) { .fighter-panel>.skills-equipment { display:block; grid-column:1/-1; grid-row:5; padding:12px; }.sidebar-talents { grid-template-columns:repeat(2,minmax(0,1fr)); max-height:144px; }.sidebar-talent { min-width:0; }.sidebar-talents-heading { margin-bottom:8px; } }
@media(max-width:580px) { .tower-auto-header { padding:13px; gap:10px; flex-wrap:wrap; }.tower-auto-heading { gap:9px; }.tower-auto h3 { font-size:18px; }.tower-auto-emblem { width:33px; height:38px; }.tower-auto-body { padding:12px 13px 14px; }.tower-auto-header>.button { margin-left:auto; }.tower-auto-badge { font-size:9px; }.tower-auto-summary { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 0; padding:12px 0; }.tower-auto-summary>div { padding:0 12px; }.tower-auto-summary>div:nth-child(odd) { border-left:0; padding-left:0; }.tower-auto-summary dt { min-height:0; font-size:11px; }.tower-auto-summary dd { font-size:23px; }.tower-auto-start { grid-template-columns:minmax(0,1fr); gap:10px; }.tower-auto-start>.button { width:100%; }.tower-auto-start small { font-size:10px; }.damage-recap>span { flex:1; justify-content:space-between; min-width:150px; } }
@media(max-width:380px) { .sidebar-talents { grid-template-columns:1fr; max-height:143px; }.tower-auto-badge { margin-left:42px; }.tower-auto h3 { font-size:17px; } }
