@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Barlow+Condensed:wght@500;600;700&display=swap');
:root{--sl-ink:#302b26;--sl-gold:#d3b77d;--sl-cream:#f3ebd1;--sl-blue:#123c69;--sl-purple:#633b81;--ink:#f3e9c5;--muted:#b9c9cb;--gold:#e4cb88;--edge:#c8ad7260;--glass:#102c49ed}
body{font-family:'Barlow Condensed','DM Sans',sans-serif;font-size:16px}h1,h2,h3,.sl-brand,.brand{font-family:'Cinzel',Georgia,serif}button,input,select{font-family:inherit}button{transition:filter .15s,transform .15s}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f5d564;outline-offset:3px}button:disabled{filter:grayscale(.8);opacity:.6}button[aria-pressed=true],button[aria-selected=true]{outline:2px solid #ffdf75;box-shadow:0 0 16px #ffc84875}
.overlay{background:#061222b3;backdrop-filter:blur(4px);padding:22px}.journey-front .overlay{background:linear-gradient(#07142e33,#09142799),url('assets/slime-land/title.webp') center/cover fixed}.journey-front:has(#intro:not([hidden])) .overlay{background:#111c29;padding:0;backdrop-filter:none}.modal{background:radial-gradient(ellipse at 15% 15%,#fff9e6,#f0e7ca 70%,#d9caa7)!important;color:var(--sl-ink);border:28px solid transparent!important;border-image:url('assets/slime-land/frame.webp') 125 stretch!important;border-radius:18px!important;box-shadow:0 16px 70px #000c!important;padding:26px 28px!important;max-height:94dvh;scrollbar-color:#5595b1 #23324b;scrollbar-width:thin}.modal:before,.modal:after{display:none!important}.sl-brand{display:block;text-align:center;color:#f9e4a4;font-size:16px;letter-spacing:3px;line-height:30px;text-shadow:0 2px 2px #06152e;background:linear-gradient(90deg,transparent,#113862 18%,#183752 82%,transparent);margin:-17px auto 12px;max-width:360px}.sl-brand:before{content:'●';color:#90cf51;margin-right:10px;text-shadow:0 1px #153b33,0 0 7px #c7f69c}.modal h2{color:#37312c;font-size:30px;line-height:1.25;margin:10px 0 18px}.modal h3{font-size:18px;color:inherit}.modal p{color:#625c50;font-size:16px;line-height:1.45}.modal .eyebrow{color:#82764e;font:600 11px 'Cinzel',serif;letter-spacing:2px}.modal small{color:#746a54}.modal input,.modal select{background:#fff8e5;color:#30291f;border:2px solid #aa9163;border-radius:8px;padding:10px}.modal button:not(.roster-card):not(.inventory-item):not(.equip-slot):not(.event-card):not(.shop-card):not(.portrait-choice):not(.rank-row):not(.sl-step):not(.sl-icon-close){color:#fff0bc;text-shadow:0 2px 2px #081f35;background:linear-gradient(#408bad,#133c60);border:2px ridge #b7b1a1;border-radius:10px;padding:10px 17px;min-height:40px;font-weight:600;font-size:15px;letter-spacing:.6px;box-shadow:inset 0 2px 3px #c6ebfa60,0 3px 0 #102438}.modal button.primary,.sl-gel{background:url('assets/slime-land/button-green.webp') center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;border-radius:0!important;color:#fff5c5!important;text-shadow:0 2px 3px #102d19!important;min-height:66px!important;padding:16px 34px 23px!important;font:700 20px 'Barlow Condensed',sans-serif!important;letter-spacing:1px!important;text-align:center!important}.sl-gel.blue{background-image:url('assets/slime-land/button-blue.webp')!important}.sl-gel.purple{background-image:url('assets/slime-land/button-purple.webp')!important}.sl-gel.red{background-image:url('assets/slime-land/button-red.webp')!important}.sl-icon-close,.panel-close,#bagClose,#closeEquipment,#npcClose{position:absolute!important;right:4px;top:4px;z-index:4;display:grid;place-items:center;width:34px;height:34px;min-height:0!important;padding:0!important;border:2px ridge #ddc8a1!important;border-radius:9px!important;background:linear-gradient(#d15b56,#722b33)!important;color:#ffefd0!important;font:28px Georgia!important;text-shadow:0 2px #342634;cursor:pointer}.modal:focus{outline:none}
/* The supplied title illustration remains intact, with a live start button. */
#intro.journey-title{width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0;padding:0!important;border:0!important;border-image:none!important;border-radius:0!important;background:#101927 url('assets/slime-land/title.webp') center/contain no-repeat!important;box-shadow:none!important;overflow:hidden}#intro>*{display:none!important}#intro #start{display:block!important;position:absolute;left:50%;bottom:3.7%;transform:translateX(-50%);width:min(530px,88vw);height:64px;min-height:64px!important;margin:0!important;background:linear-gradient(#11223305,#152233dc)!important;border:0!important;box-shadow:0 0 26px #1d2f3b66!important;color:#fff0c0!important;text-shadow:0 3px 3px #000;font:700 clamp(18px,2.2vw,28px) 'Barlow Condensed',sans-serif!important;letter-spacing:1.3px;animation:sl-start 2s ease-in-out infinite}#intro #journeyNotice{display:block!important;position:absolute;bottom:1.1%;left:0;right:0;color:#e0d7bd;font-size:11px;text-shadow:0 1px #000;margin:0}#intro #start:hover{filter:brightness(1.3)}@keyframes sl-start{50%{text-shadow:0 0 16px #ffed91,0 3px 3px #000}}
/* Live HUD */
.topbar{background:linear-gradient(#091b32eb,#123558bf);border-bottom:3px ridge #9d9f8d;height:83px;padding-inline:20px}.topbar .brand{font-size:25px;letter-spacing:1px;color:#f4df9b;text-shadow:0 3px #00142d;min-width:160px}.brand .sigil{color:#8fe3bb;font-size:32px}.brand small{font:10px 'Barlow Condensed',sans-serif;letter-spacing:2px;color:#a5d9df}.topbar nav{margin-right:136px;gap:7px}.game-shortcuts{gap:4px}.game-shortcuts button{border:1px solid #c2b17766;border-radius:9px;background:linear-gradient(#38788a88,#15304cdd);min-width:62px;padding:3px 6px;box-shadow:inset 0 1px #c4e6ed66}.game-shortcuts .game-icon{width:37px;height:37px}.game-shortcuts span:last-child{font-size:10px;letter-spacing:1px}.topbar .icon-btn{background:linear-gradient(#3c6d8b,#102d4d);border:2px ridge #aaa98b;border-radius:8px;width:32px;height:32px}.player-panel{top:102px!important;left:20px!important;background:linear-gradient(#123653ed,#0b213ce8);padding:10px;border:2px ridge #bdad83;border-radius:14px;gap:10px}.portrait{background:radial-gradient(#684394,#1a2349);border:2px ridge #cfb982;border-radius:11px;overflow:visible}.player-info{width:200px}.player-info>.name{margin-bottom:6px}.player-info>.name b{font:600 20px 'Cinzel',serif;color:#f8e5b0}.name span{font-size:9px}.bar{height:15px;border:2px ridge #b8ac86;border-radius:10px;background:#172331;overflow:hidden;margin-bottom:4px}.bar i{border-radius:8px;box-shadow:inset 0 2px 3px #fff7}.bar.health i{background:linear-gradient(#b9df69,#4b8e34)}.bar.mana i{background:linear-gradient(#99dcf6,#3169b2)}.bar.stamina i{background:linear-gradient(#d7b8ff,#7240ab)}.bar.experience{height:11px}.bar.experience i{background:linear-gradient(#f6e388,#bb8936)}.bar span{font-size:9px;line-height:11px;text-shadow:0 1px #123}.bar.experience span{font-size:8px}.map-panel,.travel-panel,.complete-models,.exploration,#npcDialog{background:linear-gradient(#163b5bea,#0d243be8);border:2px ridge #b9b29b;border-radius:12px;box-shadow:0 4px 15px #0007}.map-panel{top:102px!important;right:20px;width:168px;border-radius:15px;padding:9px}.map-panel canvas{border-radius:8px}.map-title{font-size:9px}.map-bottom{font-size:8px}.travel-panel{right:20px;bottom:178px;top:auto!important;width:182px;padding:12px}.travel-panel label{font-size:9px;letter-spacing:.5px}.travel-panel select{width:100%;background:#12324f;color:#f5e9be;border:1px solid #a7b9b7;border-radius:6px;padding:6px;font-size:12px}.travel-panel small{font-size:11px}.complete-models{left:20px;top:265px;width:176px;padding:10px}.complete-models small,.complete-models label,.complete-models select,.complete-models #runtimeVisualMode,.complete-models #runtimeVariant{display:none!important}.complete-models #chooseCharacter{background:linear-gradient(#31678c,#153750);border:1px ridge #b6b598;border-radius:5px;margin:0;font-size:12px;padding:8px}.exploration{left:20px;top:337px!important;width:196px;padding:12px}.exploration .section-label{font-size:9px}.exploration h2{font-size:20px;margin:12px 0}.exploration p{font-size:12px}.objective{font-size:13px;margin-bottom:12px}.objective b{font-size:11px}.bottom-left{bottom:170px;left:20px;max-width:210px;font-size:11px}.bottom-left button{font-size:10px}#goldHud{background:linear-gradient(#215575,#11283d);border:2px ridge #c3b171;top:16px;right:16px;min-width:126px;padding:3px 10px}#goldHud small{font-size:9px}#goldHud b{font-size:18px}#bagButton,body.terrain-city #bagButton{top:auto;right:26px;bottom:99px;background:linear-gradient(#316282,#12283e);border:2px ridge #bdb088;border-radius:12px;padding:3px 10px}#bagButton .game-icon{width:44px;height:44px}#bagButton span:last-of-type{font-size:10px}#bagButton kbd{display:none}#weaponStatus{bottom:166px;font-size:11px;background:#0b2546bc;border:1px solid #a5b6b380;border-radius:8px}#npcDialog{padding:28px;color:#ffebbf}#npcDialog h3{color:#ffecb9}#npcDialog button{border-radius:6px;background:#2d6386;color:#fff4cb;padding:9px}.move-hint{font-size:9px;bottom:7px}
#serverClock{position:fixed;right:20px;top:288px;z-index:10;text-align:center;border:2px ridge #b0c4cc;border-radius:12px;background:linear-gradient(#16496aeb,#10233deb);width:168px;padding:7px 8px;color:#c8e9ed}#serverClock small{font-size:9px;letter-spacing:1px;display:block}#serverClock .digits{display:flex;justify-content:center;align-items:center;gap:1px;height:28px;margin:5px 0}#serverClock .digit{width:16px;height:27px;object-fit:contain;filter:drop-shadow(0 2px 1px #0008)}#serverClock .digit.colon{width:7px}#serverDate{font-size:10px;color:#dfd9bd}.journey-front #serverClock{visibility:hidden}.sl-map-toggle{background:#244b6a;border:1px ridge #d0b77e;border-radius:6px;color:#f2dfaf;font-size:11px;padding:6px}
/* Skill belt with empty art sockets, keeping live skill actions. */
.combat-bar{bottom:31px;left:50%;right:auto;transform:translateX(-50%);width:auto;max-width:calc(100vw - 400px);padding:13px 20px 10px;border:12px solid transparent;border-image:url('assets/slime-land/frame.webp') 125 stretch;border-radius:14px;background:linear-gradient(#173c61,#0f213c);box-shadow:0 6px 22px #0009;gap:8px;flex-wrap:nowrap}.combat-bar:before{content:'SLIME LAND';position:absolute;top:-18px;left:50%;transform:translateX(-50%);color:#f1d69a;font:10px 'Cinzel',serif;letter-spacing:2px;background:#183b62;padding:0 10px;white-space:nowrap}.weapon-switch{gap:5px}.weapon{width:44px;height:59px;border:2px ridge #9d9e99;border-radius:8px;background:linear-gradient(#434456,#17243a)}.weapon.active{border-color:#e8c86d;box-shadow:0 0 9px #e4ad4d77;background:linear-gradient(#70553d,#2a3648)}.weapon>span{font-size:23px;line-height:24px}.weapon small{font-size:6px}.weapon kbd{font-size:8px}.combat-bar .bar-divider{height:46px;margin:0 1px}.combat-bar .skill,#bubbleBtn,#novaBtn,#boltBtn{display:flex!important;width:52px;height:60px;min-width:42px;border:3px ridge #aaa99b;border-radius:9px;background:radial-gradient(ellipse at 50% 35%,#3d527e,#15243e);box-shadow:inset 0 0 8px #0008;gap:2px;position:relative}.skill .skill-icon{width:25px;height:26px;border:1px dashed #a8b5cb6b;border-radius:7px;font-size:0;background:#0e1e3866}.skill .skill-name{font-size:9px;color:#e6dfc8}.skill kbd{font-size:8px;color:#bcd3df}.skill.locked{opacity:.55}.loot-counter{width:45px}.loot-counter small{font-size:7px}.loot-counter b{font-size:19px}.loot-counter>span{display:none}
/* Hero selection: jewel cards and a live detail column. */
.roster-modal{max-width:1220px!important;width:min(1220px,96vw);background:linear-gradient(120deg,#352b28,#272831)!important;color:#f3e5b6!important;padding:25px!important}.roster-modal h2,.roster-modal p{color:#e9d5a0}.roster-modal .eyebrow{color:#e0bf73}.roster-modal h2{font-size:30px;margin:5px 0 12px}.roster-modal>p{font-size:15px;margin-bottom:14px}.sl-roster-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:20px;align-items:stretch}#rosterCards{grid-template-columns:repeat(3,minmax(0,1fr));max-height:53dvh;gap:10px;align-content:start;overflow-y:auto}.roster-card{min-height:235px;padding:9px;background:radial-gradient(ellipse at 50% 30%,#686135,#1b3c32);border:3px ridge #bbaf8c;border-radius:12px;color:#ffedb7;box-shadow:inset 0 0 22px #0007}.roster-card[data-class='1']{background:radial-gradient(ellipse at 50% 30%,#7e6c3c,#334a2f)}.roster-card[data-class='2']{background:radial-gradient(ellipse at 50% 30%,#6c4a85,#24345d)}.roster-card[aria-pressed=true]{border-color:#ffe178;box-shadow:0 0 15px #f7c33f99,inset 0 0 15px #d5b45155}.sl-portrait{display:block;object-fit:contain;width:100%;height:140px;filter:drop-shadow(0 7px 3px #0005)}.roster-card strong{font:600 18px 'Cinzel',serif;color:#ffebbe;text-shadow:0 2px #142026;max-width:100%;overflow-wrap:anywhere}.roster-card span{color:#e2d2a8;font-size:13px}.roster-card small{color:#bbbfbe;font-size:11px}.empty-character{min-height:235px;opacity:.7;background:linear-gradient(#20384b,#202735);gap:5px}.empty-character>strong{font-size:14px}.empty-character>span{font-size:45px}.sl-hero-detail{background:linear-gradient(#5a503c,#252c33);border:3px ridge #b6a885;border-radius:12px;padding:12px;text-align:center;min-width:0}.sl-hero-detail .sl-portrait{height:178px}.sl-hero-detail h3{color:#f9e4ac!important;font-size:19px;margin:8px 0}.sl-stat-list{display:grid;gap:6px;text-align:left;margin-top:10px}.sl-stat-list>div{display:flex;justify-content:space-between;gap:8px;background:#1d2731bb;border-radius:5px;padding:6px 9px;color:#e7d2a4;font-size:14px}.sl-stat-list b{color:#fff1c6}.sl-hero-detail small{color:#ccc0a4!important;font-size:11px}.roster-actions{gap:8px;flex-wrap:wrap}.roster-actions .primary{width:260px;min-width:230px;margin-left:auto!important}.roster-actions button{font-size:13px!important}#rosterNotice{color:#c6bb9d;font-size:12px!important}.sl-archetype{font-size:12px;color:#cabf99;text-align:center}.character-select{max-width:1090px!important;width:min(1090px,96vw)}.character-select .character-layout{grid-template-columns:.95fr 1.25fr;gap:22px}.character-stage{background:radial-gradient(#405d66,#132943);border:3px ridge #bcb094;border-radius:15px;color:#f4dfad;padding:12px}.character-stage #characterPreview{display:none}.character-stage .sl-draft-art{height:250px;max-height:32dvh;width:100%;object-fit:contain;filter:drop-shadow(0 10px 5px #0006)}.character-stage h3{color:#f7e5b7;font-size:18px;margin:8px 0}.character-stage .preview-turn,.character-stage #previewAttack{display:none}.character-stage .sl-stat-list{margin:12px 0 0}.character-options h3{font:600 17px 'Cinzel',serif}.character-name-label{color:#776748;font-size:11px}.character-select h2{font-size:26px}.class-choices button{font-size:16px!important;padding:10px!important;background:url('assets/slime-land/button-red.webp') center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;min-height:65px!important}.class-choices button:nth-child(2){background-image:url('assets/slime-land/button-green.webp')!important}.class-choices button:nth-child(3){background-image:url('assets/slime-land/button-purple.webp')!important}.class-choices button small{color:#ead7bd;font-size:11px}.reference-choices{gap:7px}.reference-choices button{background:radial-gradient(#a0acc2,#4e607e)!important;padding:5px 4px 8px!important;border:2px ridge #a8a791!important}.reference-choices img{width:100%;height:100px;object-fit:contain}.reference-choices canvas{display:none}.reference-choices span{font-size:12px;color:#eee3c4}#draftVisualMode,label[for=draftVisualMode]{display:none}#characterName{font-size:18px;color:#403325;background:#fff9e9;border:2px ridge #aa9768}#characterTitle{margin-bottom:12px}.character-actions{margin-top:12px}.character-select .sl-stat-list>div{font-size:13px;padding:5px 8px}.character-actions .primary{width:270px!important}.journey-loading{border:0!important;border-image:none!important;box-shadow:none!important;background:#11283ce6!important;color:#efe4c1!important}.journey-loading h2{color:#fff1c3}.journey-loading p{color:#c9d7d9}.loading-track{height:15px;border:2px ridge #bba779}.loading-track i{background:linear-gradient(#c3ef9d,#4f9f49)}
/* Inventory, dialogue and feature windows */
.bag-modal{width:min(1060px,96vw)}.panel-heading{margin:0 0 12px}.panel-heading h2{font-size:28px}.bag-columns{gap:18px}.inventory-pane,.hero-pane{border:3px ridge #b7a995;border-radius:12px;background:radial-gradient(#c9a7d7,#8f6aad);padding:15px;color:#2e233b}.hero-pane{background:radial-gradient(#e5d9ec,#b1b8c7)}.hero-pane>h3{color:#3c2949;font:600 25px 'Cinzel',serif}.hero-pane>small{color:#625276}.inventory-empty,.inventory-item{background:linear-gradient(#c8b1cf,#896697);border:2px ridge #c8b8c9;opacity:1}.inventory-item small{color:#fff8dc;text-shadow:0 1px #000}.inventory-item.selected{outline:2px solid #ffee8b}#itemDetail{border-color:#6f4e81}#itemDetail p,#itemDetail small{color:#443049}.bag-wallet{color:#4b3623}.bag-wallet>span:last-child,#bagNotice{color:#4c354a}.equip-slot{background:linear-gradient(#d9d1c1,#a9b3bf);border:2px ridge #8e9daf;color:#283c57}.equip-slot small{color:#344760}.hero-attributes{border-color:#8a88a0}.hero-attributes small{color:#5f496d}.hero-attributes b{color:#362744;font-size:25px}.equipment-hint{color:#62516a!important}.feature-modal{width:min(1050px,96vw);max-width:1050px!important;min-height:440px;text-align:left;padding:24px!important}.feature-modal>h2{margin:0 0 16px;padding-left:56px;font-size:28px;min-height:42px;display:flex;align-items:center}.feature-modal #featureSymbol{position:absolute;top:39px;left:28px}.feature-modal #featureSymbol .game-icon{width:43px;height:43px}.feature-modal .sl-brand{margin-top:-15px;margin-bottom:18px}.feature-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(230px,.8fr);gap:20px}.sl-paper{background:linear-gradient(#fff9e8,#e5dbbd);border:2px ridge #b8aa89;border-radius:10px;padding:16px;min-width:0}.sl-paper h3{margin-top:0}.sl-paper p{font-size:15px}.sl-tabs{display:flex;gap:8px;margin-bottom:15px;flex-wrap:wrap}.sl-tabs button{flex:1;min-width:95px}.sl-tabs button[aria-selected=true]{background:linear-gradient(#6b9e58,#355736)!important}.feature-modal .game-icon{width:56px;height:56px}.sl-muted{font-size:12px!important;color:#746d60!important}.sl-label{font-size:11px;letter-spacing:1px;color:#8b784d}.event-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.event-card{border:3px ridge #d0b67e;border-radius:11px;padding:12px 5px;background:linear-gradient(#71508f,#333355);color:#fff0c7;display:flex;flex-direction:column;align-items:center;min-height:126px;font-size:14px;gap:6px}.event-card:nth-child(3n+1){background:linear-gradient(#53885d,#204838)}.event-card:nth-child(3n+2){background:linear-gradient(#985553,#5b303d)}.event-card .game-icon{width:54px;height:54px}.event-card strong{font-weight:600}.event-card small{font-size:10px;color:#e3d6bc}.event-card[aria-pressed=true]{outline:2px solid #ebc45a}.event-detail{min-height:300px}.event-detail>.game-icon{width:76px;height:76px;display:block;margin:0 auto 15px}.event-progress{padding:12px 0;justify-content:flex-start;gap:20px;font-size:14px;color:#38513f}.sl-rewards{display:flex;gap:10px;border-top:1px solid #b6aa8b;padding-top:14px;margin-top:15px;align-items:center}.sl-rewards .game-icon{width:36px;height:36px}.sl-rewards span{font-size:13px}.sl-table{width:100%;border-collapse:separate;border-spacing:0 6px;font-size:14px}.sl-table th{text-align:left;color:#74643d;font-weight:600;font-size:12px}.sl-table td{padding:8px;background:#cbc7b3;color:#393a32}.sl-table td:first-child{border-radius:6px 0 0 6px}.sl-table td:last-child{border-radius:0 6px 6px 0;text-align:right}.sl-table tr.self td{background:#4b7950;color:#fff1c6}.sl-member{display:flex;align-items:center;gap:10px;background:#384c48;border:1px solid #8c977f;padding:8px;border-radius:7px;color:#ffedc4;margin:7px 0}.sl-member img{width:45px;height:45px;object-fit:contain}.sl-member strong{flex:1}.sl-member small{color:#d0ddba}.guild-crest{height:100px;display:block;text-align:center;margin-bottom:8px}.guild-crest .game-icon{width:100px;height:100px}.sl-field{display:grid;gap:6px;margin:12px 0}.sl-notice{padding:9px;background:#f9edc1;border-radius:7px;color:#615039!important;font-size:13px!important;min-height:35px}.rank-row{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:linear-gradient(#d9d2bd,#b8b49e);border:1px solid #9b9178;border-radius:6px;padding:8px;margin:6px 0;color:#403a2d;font-size:15px}.rank-row .position{width:22px;color:#856b30;font-weight:700}.rank-row img{width:38px;height:38px;object-fit:contain}.rank-row strong{flex:1}.rank-row span:last-child{color:#785f39}.arena-combatants{display:flex;gap:16px;justify-content:space-around;text-align:center}.arena-combatants img{width:130px;height:130px;object-fit:contain}.arena-hp{height:13px;background:#463344;border:2px ridge #b7b29b;border-radius:9px;overflow:hidden}.arena-hp i{display:block;height:100%;background:linear-gradient(#b1dc6c,#408e38);transition:width .25s}.arena-hp.enemy i{background:linear-gradient(#ef9d7c,#b54c4b)}.sl-battle-log{background:#fff6dc;border-radius:8px;padding:9px;font-size:14px;margin-top:12px;min-height:60px}.sl-shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.shop-card{border:3px ridge #bbaa8b;background:linear-gradient(#285b72,#152e4e);border-radius:10px;padding:16px 10px;color:#ffedc3;text-align:center}.shop-card .game-icon{width:70px;height:70px}.shop-card h3{color:#ffedc3;font-size:17px}.shop-card p{color:#d4dece;font-size:14px}.shop-card button{width:100%;margin-top:10px}.sl-skin-card{background:linear-gradient(#624279,#242b4c)}.sl-skin-card img{height:140px;width:100%;object-fit:contain}.sl-shop-grid.skins{grid-template-columns:repeat(3,1fr)}.daily-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.daily-cell{background:linear-gradient(#f4e7bf,#d1c6a4);border:2px ridge #ac9870;border-radius:8px;padding:10px 2px;text-align:center;display:grid;justify-items:center;gap:5px}.daily-cell .game-icon{width:43px;height:43px}.daily-cell.current{outline:2px solid #4e8a53}.daily-cell span{font-size:11px;color:#766444}.sl-shop-wallet{display:flex;gap:15px;align-items:center;padding:12px;background:#efe4c2;border-radius:8px;margin-top:15px}.sl-shop-wallet .game-icon{width:32px;height:32px}.sl-shop-wallet b{color:#806631}.system-settings{display:grid;gap:13px;margin:12px 0 20px}.sl-setting{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:12px;background:#e8dfc4;border:1px solid #beae87;border-radius:8px}.sl-setting strong{display:block;color:#473b27;font-size:16px}.sl-setting small{font-size:12px}.sl-stepper{display:flex;align-items:center;gap:8px}.sl-step{border:0!important;box-shadow:none!important;width:39px;height:43px;padding:0!important;background:url('assets/slime-land/button-plus.webp') center/contain no-repeat!important;cursor:pointer;flex-shrink:0}.sl-step.minus{background-image:url('assets/slime-land/button-minus.webp')!important}.sl-stepper output{min-width:41px;text-align:center;font-weight:700;color:#466640}.sl-setting input[type=range]{width:120px;accent-color:#4c9068;padding:0}.sl-setting select{max-width:150px}#settings{max-width:680px!important;width:min(680px,95vw)}#settings h2{font-size:28px}#settings>.control-grid{font-size:12px;margin:12px 0;padding:10px 0;border-color:#b4a783}#settings .control-grid span{color:#77674d}#settings .control-grid b{color:#394c54;font-size:12px}#settings>.field-label,#settings>.seed-field,#settings>.field-note,#settings>.appearance,#settings>.weapon-detail{display:none!important}.sl-system-footer{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.sl-system-footer button{flex:1}.sl-map-body{display:grid;grid-template-columns:1.7fr 1fr;gap:18px}.sl-world-map{position:relative;min-height:315px;border:3px ridge #a9a28b;border-radius:12px;background:radial-gradient(ellipse at 42% 55%,#8aae65 0 22%,#456f4e 23% 30%,#2b646a 32% 36%,#12354c 38% 100%);overflow:hidden}.sl-world-map:before{content:'✦';position:absolute;left:46%;top:44%;font-size:40px;color:#f3d58a;text-shadow:0 3px #2e453c}.sl-world-map .map-pin{position:absolute;transform:translate(-50%,-50%);background:#eee0b7!important;color:#294835!important;border:2px ridge #b8a477!important;font-size:14px!important;padding:8px!important}.map-pin.city{left:48%;top:60%}.map-pin.forest{left:30%;top:26%}.map-pin.lake{left:76%;top:41%}.sl-status-row{display:grid;grid-template-columns:90px 1fr;gap:9px;padding:8px;background:#d8d1b8;border-radius:7px;margin:5px 0;color:#50452e}.sl-big-portrait{width:100%;height:220px;object-fit:contain}.sl-feature-banner{display:flex;align-items:center;gap:14px;padding:16px;border:2px ridge #ae9477;border-radius:10px;background:linear-gradient(#343d5b,#172c47);color:#f9e8b7;margin:12px 0}.sl-feature-banner p{color:#c2d1d6}.sl-feature-banner .game-icon{width:82px;height:82px}
@media(min-width:1600px){.sl-roster-layout{grid-template-columns:1fr 285px}.sl-portrait{height:170px}.roster-card{min-height:265px}.sl-hero-detail .sl-portrait{height:210px}}
@media(max-width:1100px){.topbar .brand{font-size:20px;min-width:125px}.game-shortcuts button{min-width:48px;padding:2px}.game-shortcuts .game-icon{width:32px;height:32px}.game-shortcuts span:last-child{font-size:8px}.topbar nav{gap:4px}.topbar .icon-btn{width:25px}.combat-bar{max-width:calc(100vw - 250px);gap:4px;padding-inline:10px}.combat-bar .skill,#bubbleBtn,#novaBtn,#boltBtn{width:45px}.weapon{width:35px}.combat-bar .loot-counter{display:none}.exploration{width:170px}.sl-roster-layout{grid-template-columns:1fr 215px}.roster-card strong{font-size:15px}.sl-portrait{height:120px}.roster-card{min-height:215px}.feature-modal{padding:20px!important}.sl-shop-grid{gap:8px}}
@media(max-width:760px){.overlay{padding:7px}.modal{border-width:18px!important;padding:20px 12px!important;max-height:96dvh;width:98vw!important}.modal h2{font-size:23px}.sl-brand{font-size:12px;letter-spacing:2px;margin-top:-14px}.topbar{height:106px;padding:6px 10px}.topbar .brand{font-size:19px}.topbar nav{top:52px;left:5px;right:5px;justify-content:space-between;margin:0}.game-shortcuts{gap:3px}.game-shortcuts button{min-width:37px;padding:1px}.game-shortcuts .game-icon{width:27px;height:27px}.game-shortcuts span:last-child{font-size:7px}.topbar nav>.icon-btn{width:25px;height:27px}.topbar #help{display:none}.player-panel{left:9px!important;top:118px!important;padding:6px;gap:5px}.player-info{width:140px}.player-info>.name b{font-size:14px}.name span{display:none}.portrait{width:36px;height:43px}.bar{height:12px}.bar span{font-size:8px;line-height:8px}.bar.experience{height:10px}.bar.experience span{font-size:7px}.map-panel{top:118px!important;right:8px;width:105px;padding:6px}.map-panel #minimap{height:70px}.map-bottom{display:none}.map-title{font-size:7px}.map-title>span:last-child{display:none}.complete-models{left:9px;top:245px!important;width:140px}.complete-models #chooseCharacter{font-size:10px;padding:6px}.travel-panel{right:8px;bottom:157px;width:132px;padding:8px}.travel-panel label{font-size:8px}.travel-panel select{font-size:10px;padding:4px}.travel-panel #terrainModeLabel,.travel-panel #terrainMode,.travel-panel #terrainModeStatus,.travel-panel #cityPavementLabel,.travel-panel #cityPavement{display:none!important}.travel-panel small{font-size:9px}.exploration{display:none}.bottom-left{left:10px;bottom:185px;max-width:135px;font-size:10px}.bottom-left button{display:none}#serverClock{top:234px;right:8px;width:105px;padding:5px}#serverClock small{font-size:7px;letter-spacing:0}#serverClock .digits{height:21px;gap:0}#serverClock .digit{height:20px;width:11px}#serverClock .digit.colon{width:5px}#serverDate{font-size:8px}#goldHud{top:10px;right:8px;min-width:100px;padding:1px 7px}#goldHud .game-icon{width:32px;height:32px}#goldHud small{font-size:7px}#goldHud b{font-size:15px}#bagButton,body.terrain-city #bagButton{right:10px;bottom:226px;padding:3px 8px}#bagButton .game-icon{width:35px;height:35px}#bagButton span:last-of-type{font-size:8px}.combat-bar{bottom:21px;left:auto;right:7px;transform:none;max-width:calc(100vw - 112px);flex-wrap:wrap;justify-content:flex-end;gap:4px;border-width:8px;padding:9px 5px 5px}.weapon-switch{width:100%;justify-content:flex-start}.weapon{width:33px;height:31px}.weapon>span{font-size:17px;line-height:15px}.weapon small,.combat-bar .bar-divider{display:none}.weapon kbd{font-size:6px}.combat-bar .skill,#bubbleBtn,#novaBtn,#boltBtn{width:38px;height:50px;min-width:30px;border-width:2px;gap:1px}.combat-bar .skill .skill-icon{height:20px;width:21px}.skill .skill-name{font-size:8px}.skill kbd{font-size:6px}.combat-bar .skill.locked{display:none!important}#weaponStatus{bottom:150px;font-size:9px}#joystick{width:76px;height:76px;left:15px;bottom:34px;border:2px ridge #b3b5b2;background:#19395699}#joystick span{top:19px;left:19px}.move-hint{display:none}.sl-roster-layout{grid-template-columns:1fr}.sl-hero-detail{display:grid;grid-template-columns:85px 1fr;gap:8px;padding:8px}.sl-hero-detail .sl-portrait{height:90px;grid-row:1/4}.sl-hero-detail h3{font-size:15px;margin:0}.sl-hero-detail .sl-stat-list{grid-template-columns:repeat(2,1fr);gap:3px;margin:0}.sl-stat-list>div{font-size:11px;padding:4px 6px}.sl-hero-detail small{font-size:9px}#rosterCards{grid-template-columns:repeat(3,1fr);max-height:41dvh;gap:6px}.roster-card{min-height:160px;padding:5px;border-width:2px}.roster-card .sl-portrait{height:87px}.roster-card strong{font-size:12px}.roster-card span{font-size:10px;margin:4px 0}.roster-card small{font-size:8px}.empty-character{min-height:160px}.empty-character>strong{font-size:11px}.roster-actions{gap:6px;margin-top:12px}.roster-actions button{font-size:10px!important;padding:8px!important}.roster-actions .primary{min-width:0!important;width:100%!important;margin:0!important;min-height:54px!important}.roster-modal>p{font-size:12px;margin-bottom:10px}.roster-modal h2{font-size:23px}.character-select .character-layout{grid-template-columns:1fr;gap:12px}.character-stage{display:grid;grid-template-columns:115px 1fr;gap:5px;align-items:center;padding:6px}.character-stage .sl-draft-art{height:125px;grid-row:1/3;max-height:none}.character-stage h3{font-size:13px;margin:4px}.character-stage .sl-stat-list{margin:0;gap:3px}.character-stage .sl-stat-list>div{font-size:11px;padding:3px 6px}.character-options h3{font-size:14px;margin:7px 0}.character-name-label{font-size:10px;margin:7px 0}.class-choices{gap:4px}.class-choices button{font-size:13px!important;min-height:55px!important;padding:8px 5px 16px!important}.class-choices button small{font-size:9px}.reference-choices img{height:83px}.reference-choices span{font-size:10px}.character-actions .primary{width:190px!important;min-height:55px!important;font-size:16px!important}#nameError{min-height:13px;font-size:10px}#characterName{padding:8px;font-size:16px}.bag-columns{grid-template-columns:1fr}.bag-modal .panel-heading h2{font-size:22px}.panel-heading .eyebrow{font-size:8px}.inventory-pane,.hero-pane{padding:9px}#inventoryGrid{gap:5px}.feature-layout,.sl-map-body{grid-template-columns:1fr;gap:12px}.feature-modal{min-height:0}.feature-modal>h2{font-size:22px;padding-left:40px;margin-bottom:12px}.feature-modal #featureSymbol{left:14px;top:34px}.feature-modal #featureSymbol .game-icon{width:35px;height:35px}.sl-paper{padding:12px}.sl-tabs{gap:5px}.sl-tabs button{font-size:12px!important;min-width:70px;padding:8px!important}.event-card{min-height:105px;font-size:12px;padding:8px 3px}.event-card .game-icon{width:44px;height:44px}.event-grid{gap:6px}.event-detail{min-height:240px}.sl-shop-grid,.sl-shop-grid.skins{grid-template-columns:repeat(2,1fr);gap:8px}.shop-card{padding:9px 5px}.shop-card h3{font-size:14px}.shop-card p{font-size:12px}.shop-card .game-icon{width:55px;height:55px}.shop-card button{font-size:12px!important;padding:8px 5px!important}.sl-skin-card img{height:100px}.daily-grid{grid-template-columns:repeat(4,1fr)}.daily-cell{padding:6px 0}.daily-cell .game-icon{width:34px;height:34px}.sl-setting{padding:9px;gap:6px}.sl-setting strong{font-size:14px}.sl-setting small{font-size:10px}.sl-setting input[type=range]{width:65px}.sl-stepper{gap:4px}.sl-step{width:30px;height:35px}.sl-stepper output{min-width:31px;font-size:13px}.sl-setting select{max-width:120px;font-size:13px}.arena-combatants img{width:100px;height:100px}.sl-world-map{min-height:230px}.sl-big-portrait{height:170px}#intro.journey-title{background-size:cover!important;background-position:center!important}#intro #start{bottom:9%;font-size:20px!important;background:#162638ce!important;border:2px ridge #c2b58b!important;border-radius:9px!important;width:88vw}#intro #journeyNotice{bottom:5.5%;font-size:10px}}
@media(prefers-reduced-motion:reduce){#intro #start{animation:none}.arena-hp i{transition:none}}

/* Final ornament proportions and panel clearances. */
.modal{border-width:44px!important;border-image-source:url('assets/slime-land/frame-ornate.webp')!important;border-image-slice:200!important;padding:20px 22px!important}.sl-brand{position:relative;padding-left:48px;max-width:330px;margin-top:-8px;margin-bottom:15px;line-height:34px}.sl-brand:before{content:'';position:absolute;left:12px;top:-6px;width:61px;height:45px;background:url('assets/slime-land/crest.webp') center/contain no-repeat;margin:0}.roster-modal{padding:18px!important}.roster-modal h2{margin-top:0}.roster-modal>p{margin-bottom:12px}.feature-modal{padding:20px!important}.feature-modal #featureSymbol{left:23px;top:44px}.feature-modal>h2{margin-bottom:14px}.complete-models{top:245px!important}.map-panel{height:auto!important;overflow:visible!important}.map-panel .sl-map-toggle{display:block;width:100%;margin-top:7px}.map-bottom{margin-top:4px}.system-settings{margin-bottom:10px}.sl-setting{padding:10px}.sl-controls{font-size:13px;color:#675b41;text-align:left;margin:12px 0}.sl-controls summary{cursor:pointer;padding:8px;border:1px solid #b3a480;border-radius:6px}.sl-controls .control-grid{margin:8px 0;padding:8px 0}.sl-controls .control-grid span{font-size:12px;color:#756448}.sl-controls .control-grid b{font-size:13px;color:#344958}#settings #resume{margin-top:7px;min-height:62px!important}#intro #start{top:calc(50% + min(44dvh,24vw));bottom:auto;transform:translate(-50%,-50%);background:linear-gradient(#26343aee,#1d2d35f5)!important;border-radius:7px!important;height:56px;min-height:56px!important;box-shadow:0 0 18px #11222da8!important;padding:10px 18px!important}#intro #journeyNotice{bottom:2%}.journey-loading{border:0!important;border-image:none!important}.combat-bar{border-image-source:url('assets/slime-land/frame-ornate.webp');border-image-slice:200}.combat-bar .weapon-switch{align-items:center}
@media(max-width:1100px){.complete-models{top:245px!important}}
@media(max-width:760px){.modal{border-width:27px!important;padding:18px 9px!important}.modal h2{font-size:22px}.sl-brand{margin-top:-8px;font-size:11px;padding-left:35px;max-width:260px;line-height:30px}.sl-brand:before{width:48px;height:35px;top:-3px;left:4px}.roster-modal{padding:12px 8px!important}.feature-modal{padding:16px 8px!important}.feature-modal #featureSymbol{left:8px;top:40px}.feature-modal>h2{font-size:20px;padding-left:33px}.feature-modal #featureSymbol .game-icon{width:29px;height:29px}.complete-models{top:245px!important}.player-panel{gap:7px}.player-info>.name b{font-size:13px}.map-panel{padding-bottom:7px}.map-panel .sl-map-toggle{font-size:9px;padding:4px;margin-top:5px}#serverClock{top:252px}.travel-panel{bottom:165px}.sl-setting{padding:8px;grid-template-columns:1fr auto;gap:5px}.sl-setting>div:first-child{text-align:left}.sl-setting strong{font-size:13px}.sl-stepper{gap:3px}.sl-step{width:28px;height:32px}.sl-stepper output{min-width:28px;font-size:12px}.sl-setting select{max-width:100px;font-size:12px}#intro #start{top:auto;bottom:9%;transform:translateX(-50%);height:58px;min-height:58px!important;background:#182b3bec!important;border:2px ridge #c2b58b!important}#intro #journeyNotice{bottom:5.5%}.journey-loading{border:0!important}.character-stage{grid-template-columns:100px 1fr}.character-stage .sl-draft-art{height:115px}.character-options h3{font-size:13px}.class-choices button{font-size:12px!important}.reference-choices img{height:75px}.character-select .character-layout{gap:9px}.sl-hero-detail .sl-stat-list{grid-template-columns:1fr 1fr}.sl-hero-detail .sl-stat-list>div{font-size:10px}.sl-shop-grid,.sl-shop-grid.skins{grid-template-columns:1fr 1fr}.sl-map-body .sl-world-map{min-height:220px}}

.modal{border-image-width:1.5!important}.journey-loading{border-image-width:0!important}.sl-controls[open]{max-height:190px;overflow:auto}#settings #resume{position:sticky;bottom:0;z-index:2}.system-settings .sl-setting>div:first-child{text-align:left}
@media(min-width:761px){#intro #start{color:transparent!important;font-size:0!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important;animation:none}#intro #start:hover,#intro #start:focus-visible{box-shadow:0 0 18px #ffe7a855!important;background:#ffe6a414!important}.roster-card,.empty-character{min-height:285px}.roster-card .sl-portrait{height:177px}}
@media(max-width:760px){.topbar #help{display:grid}.modal{border-image-width:1.2!important}}

/* Clear portrait frame and readable experience text at every viewport size. */
.player-panel{align-items:center;gap:12px;padding:12px}.player-panel .portrait{clip-path:none!important;overflow:visible!important;flex:0 0 72px;width:72px;height:88px;display:flex;align-items:center;justify-content:center;border:3px ridge #dac58f;border-radius:12px;background:radial-gradient(ellipse at 45% 35%,#725394,#202748 75%);box-shadow:inset 0 0 12px #101b3266,0 2px 4px #0004}.portrait #portrait{display:none!important}#hudPortrait{display:block;width:100%;height:100%;object-fit:contain;object-position:center;padding:3px;border-radius:9px;image-rendering:auto}.portrait #levelBadge{right:-7px;bottom:-7px;width:25px;height:25px;display:grid;place-items:center;background:linear-gradient(#416c84,#172d48);border:2px ridge #dcc58a;border-radius:50%;color:#ffedb7;font-size:12px;line-height:1;z-index:2;text-shadow:0 1px #000}.player-panel .bar.experience{height:22px;min-height:22px;overflow:hidden;margin-top:6px;margin-bottom:0;border-radius:9px}.player-panel .bar.experience span{display:flex;align-items:center;justify-content:flex-end;inset:0;padding:0 7px;font-family:'Barlow Condensed','DM Sans',sans-serif;font-size:12px;line-height:16px;white-space:nowrap;color:#fff4ca;text-shadow:0 1px 2px #000,0 0 3px #000}.player-panel .bar.experience i{height:100%}.player-info{min-width:0}.player-panel .name{min-height:23px}.player-info>.name b{max-width:145px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
@media(max-width:760px){.player-panel{padding:8px;gap:9px}.player-panel .portrait{flex-basis:47px;width:47px;height:65px;border-width:2px;border-radius:10px}#hudPortrait{padding:2px;border-radius:8px}.portrait #levelBadge{width:20px;height:20px;right:-5px;bottom:-5px;border-width:2px;font-size:10px}.player-panel .bar.experience{height:18px;min-height:18px;margin-top:4px}.player-panel .bar.experience span{font-size:11px;line-height:14px;padding-inline:5px}.player-info{width:130px}.player-panel .name{min-height:18px}.player-info>.name b{max-width:126px}.map-panel{right:8px}.player-panel{left:8px!important}}

/* Standalone slime emblem: transparent silhouette, no cropped ornament bars. */
.sl-brand:before{background-image:url('assets/slime-land/crest-slime.webp');width:38px;height:38px;left:25px;top:-2px}
@media(max-width:760px){.sl-brand:before{width:31px;height:31px;left:13px;top:-1px}}

/* Keep frame corners fixed; repeat the edges at their native proportions. */
.modal{border-image-repeat:round!important}.combat-bar{border-image-repeat:round}
/* Continuous rounded outlines avoid the stepped joins produced by ridge borders. */
.roster-card,.sl-hero-detail,.sl-paper,.rank-row,.shop-card,.event-card,.character-stage,.reference-choices button,.inventory-pane,.hero-pane,.equip-slot,.inventory-item,.inventory-empty,.player-panel,.map-panel,.travel-panel,.complete-models,.exploration,#serverClock,.player-panel .portrait{border-style:solid!important}
.roster-card,.sl-hero-detail,.sl-paper,.rank-row,.shop-card,.event-card,.character-stage{border-color:#c7b78b;box-shadow:inset 0 0 0 1px #fff1bf33,0 2px 5px #09132440}
.roster-card[aria-pressed=true]{border-color:#ffe178;box-shadow:0 0 15px #f7c33f99,inset 0 0 15px #d5b45155}
.modal button:not(.primary):not(.sl-gel):not(.sl-step){border-style:solid!important}
/* Keep the action row inside the frame; scroll the character content separately. */
.roster-modal{display:flex;flex-direction:column;height:min(840px,94dvh);overflow:hidden!important;padding:18px 20px!important}.roster-modal>.sl-brand,.roster-modal>.eyebrow,.roster-modal>h2,.roster-modal>p,.roster-actions{flex-shrink:0}.sl-roster-layout{flex:1;min-height:0;overflow:auto;padding:4px 4px 8px;align-items:start}.sl-roster-layout #rosterCards{max-height:none;overflow:visible;padding:3px;align-items:start}.sl-hero-detail{margin:0 2px 3px}.roster-actions{padding:0 5px 14px;margin-top:12px;align-items:center}.roster-actions #enterCharacter{height:80px!important;min-height:80px!important;max-width:300px;flex-shrink:0;padding:17px 32px 27px!important;line-height:24px;background-size:100% 100%!important;margin-top:0!important}.roster-modal #rosterNotice{margin:8px 0!important}
@media(max-width:760px){.roster-modal{height:min(850px,96dvh);padding:14px 8px!important}.sl-roster-layout{padding:3px 2px 8px;gap:10px}.roster-actions{padding:0 2px 8px;gap:5px;margin-top:8px}.roster-actions #enterCharacter{height:68px!important;min-height:68px!important;max-width:none;padding:13px 25px 23px!important;line-height:24px}.roster-modal #rosterNotice{font-size:10px!important}.sl-roster-layout #rosterCards{max-height:none;overflow:visible}.roster-card,.empty-character{min-height:160px}}

.roster-modal .sl-brand{width:min(330px,100%)}
@media(min-width:761px){.sl-roster-layout{overflow:hidden;align-items:stretch}.sl-roster-layout #rosterCards{height:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:#7391ad #243449}.sl-hero-detail{max-height:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:#7391ad #243449}.sl-hero-detail .sl-portrait{height:145px}.sl-hero-detail .sl-stat-list{gap:4px}.sl-hero-detail .sl-stat-list>div{font-size:13px;padding:5px 8px}}
@media(max-width:760px){.roster-modal .sl-brand{width:min(260px,100%)}.roster-actions #enterCharacter{flex:0 0 100%!important;width:100%!important;max-width:280px!important;margin-left:auto!important;margin-right:auto!important;font-size:17px!important;white-space:nowrap}}

/* Inset the rounded window fill beneath the inner lip of the ornament. */
.modal:not(#intro):not(#journeyLoading){background-color:transparent!important;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22100%25%22%20height%3D%22100%25%22%3E%3Cdefs%3E%3CradialGradient%20id%3D%22paper%22%20cx%3D%2215%25%22%20cy%3D%2215%25%22%20r%3D%22110%25%22%3E%3Cstop%20stop-color%3D%22%23fff9e6%22%2F%3E%3Cstop%20offset%3D%22.7%22%20stop-color%3D%22%23f0e7ca%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23d9caa7%22%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20rx%3D%2224%22%20fill%3D%22url(%23paper)%22%2F%3E%3C%2Fsvg%3E")!important;background-origin:border-box!important;background-clip:border-box!important;background-position:center!important;background-repeat:no-repeat!important;background-size:calc(100% - 44px) calc(100% - 44px)!important}
.modal.roster-modal:not(#intro):not(#journeyLoading){background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22100%25%22%20height%3D%22100%25%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22dark%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23352b28%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23272831%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20rx%3D%2224%22%20fill%3D%22url(%23dark)%22%2F%3E%3C%2Fsvg%3E")!important}
.combat-bar{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22100%25%22%20height%3D%22100%25%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22blue%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23173c61%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%230f213c%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20rx%3D%228%22%20fill%3D%22url(%23blue)%22%2F%3E%3C%2Fsvg%3E");background-origin:border-box;background-clip:border-box;background-position:center;background-repeat:no-repeat;background-size:calc(100% - 8px) calc(100% - 8px)}
@media(max-width:760px){.modal:not(#intro):not(#journeyLoading){background-size:calc(100% - 20px) calc(100% - 20px)!important}.combat-bar{background-size:calc(100% - 6px) calc(100% - 6px)}}

/* Standalone trophy: exclude the neighboring sprite fragment. */
.game-icon.trophy-clean{background-image:url("assets/slime-land/trophy-clean.webp");background-size:contain;background-position:center!important}

.game-icon.monster-clean{background-image:url("assets/slime-land/monster-clean.webp");background-size:contain;background-position:center!important}

/* EXP shares the resource bar dimensions; center its label inside. */
.player-panel .bar.experience{height:15px;min-height:15px;margin-top:0;border-radius:10px}.player-panel .bar.experience span{font-size:9px;line-height:1;padding-inline:5px}
@media(max-width:760px){.player-panel .bar.experience{height:12px;min-height:12px;margin-top:0}.player-panel .bar.experience span{font-size:8px;line-height:1}}
@media(max-width:760px){.player-panel .bar.experience span{font-size:7px;line-height:7px}}

#serverClock .digit{display:block;flex-shrink:0;object-fit:initial;font:700 22px/27px sans-serif;color:#68dbff;text-align:center}#serverClock .digit.colon{width:7px}#serverClock .atlas-ready .digit{font-size:0;background-image:url('assets/slime-land/clock-atlas.webp');background-size:1100% 100%;background-repeat:no-repeat}#serverClock .atlas-ready .digit.colon{background-size:1100% 100%}
@media(max-width:760px){#serverClock .digit{font-size:16px;line-height:20px}#serverClock .digit.colon{width:5px}}

.class-choices button{display:flex;align-items:center;justify-content:center;text-align:center;padding:6px 10px 16px!important;line-height:1.15}.class-choices button small{display:none}
@media(max-width:760px){.class-choices button{padding:4px 5px 14px!important}}

/* Clock separators keep circular proportions independently of the digit atlas. */
#serverClock .digit.colon,#serverClock .atlas-ready .digit.colon{position:relative;background-image:none;font-size:0;--dot:5px;--dot-gap:5px}#serverClock .digit.colon:before,#serverClock .digit.colon:after{content:'';position:absolute;left:50%;width:var(--dot);height:var(--dot);border-radius:50%;transform:translate(-50%,-50%);background:radial-gradient(circle at 35% 28%,#d9ffff 0%,#56e6fa 30%,#0393c4 70%,#075a89 100%);border:1px solid #78d9ee;box-shadow:0 1px 1px #001a32}#serverClock .digit.colon:before{top:calc(50% - var(--dot-gap))}#serverClock .digit.colon:after{top:calc(50% + var(--dot-gap))}
@media(max-width:760px){#serverClock .digit.colon,#serverClock .atlas-ready .digit.colon{--dot:3px;--dot-gap:4px}}

/* Exclude isolated neighboring fragments without redrawing the original characters. */
img[src*="hero-3.webp"]{-webkit-mask:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMjAiIGhlaWdodD0iMjA5IiB2aWV3Qm94PSIwIDAgMzIwIDIwOSI+PHBhdGggZmlsbD0id2hpdGUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTAgMEgzMjBWMjA5SDBaIE03MCAyMDRoMzR2NWgtMzRaIi8+PC9zdmc+') center/contain no-repeat;mask:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMjAiIGhlaWdodD0iMjA5IiB2aWV3Qm94PSIwIDAgMzIwIDIwOSI+PHBhdGggZmlsbD0id2hpdGUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTAgMEgzMjBWMjA5SDBaIE03MCAyMDRoMzR2NWgtMzRaIi8+PC9zdmc+') center/contain no-repeat}
img[src*="hero-6.webp"]{-webkit-mask:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMjAiIGhlaWdodD0iMjA4IiB2aWV3Qm94PSIwIDAgMzIwIDIwOCI+PHBhdGggZmlsbD0id2hpdGUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTAgMEgzMjBWMjA4SDBaIE0zMTMgMTQyaDd2MjBoLTdaIE0yNTEgMGgxNHY1aC0xNFoiLz48L3N2Zz4=') center/contain no-repeat;mask:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMjAiIGhlaWdodD0iMjA4IiB2aWV3Qm94PSIwIDAgMzIwIDIwOCI+PHBhdGggZmlsbD0id2hpdGUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTAgMEgzMjBWMjA4SDBaIE0zMTMgMTQyaDd2MjBoLTdaIE0yNTEgMGgxNHY1aC0xNFoiLz48L3N2Zz4=') center/contain no-repeat}
img[src*="hero-8.webp"]{-webkit-mask:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMjAiIGhlaWdodD0iMjA0IiB2aWV3Qm94PSIwIDAgMzIwIDIwNCI+PHBhdGggZmlsbD0id2hpdGUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTAgMEgzMjBWMjA0SDBaIE0wIDc4aDZ2MzZoLTZaIi8+PC9zdmc+') center/contain no-repeat;mask:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMjAiIGhlaWdodD0iMjA0IiB2aWV3Qm94PSIwIDAgMzIwIDIwNCI+PHBhdGggZmlsbD0id2hpdGUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTAgMEgzMjBWMjA0SDBaIE0wIDc4aDZ2MzZoLTZaIi8+PC9zdmc+') center/contain no-repeat}
