/* NOCTURNE V36: readable menus and touch layout. */
:root{--ui-bg:#0d1823!important;--ui-surface:#142432!important;--ui-border:#455b65!important;--ui-gold:#dec393!important;--ui-text:#f1eee1!important;--ui-muted:#b0c1c6!important;--ui-cyan:#94d8d4!important;--ui-radius:8px!important}
body.ui-v36 [hidden]{display:none!important}
body.ui-v36 button{touch-action:manipulation!important}
body.ui-v36 button:focus-visible,body.ui-v36 input:focus-visible,body.ui-v36 select:focus-visible,body.ui-v36 summary:focus-visible{outline:2px solid var(--ui-cyan)!important;outline-offset:3px!important}
body.ui-v36 button:disabled{cursor:default!important;opacity:.48!important;transform:none!important}
body.ui-v36 button{transition:background-color .12s,border-color .12s!important;color:var(--ui-text)!important}
body.ui-v36 .overlay,body.ui-v36.is-touch .overlay{padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;background:rgba(3,9,15,.87)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;overflow:hidden!important}
body.ui-v36 .overlay>.panel,body.ui-v36.is-touch .overlay>.panel,body.ui-v36 .story-ending-panel{width:min(100%,1020px)!important;max-width:100%!important;max-height:100%!important;padding:24px!important;border:1px solid #8b826b!important;border-radius:var(--ui-radius)!important;background:linear-gradient(135deg,#192b35,#0c1722 65%)!important;box-shadow:0 14px 48px #0008!important;overflow:auto!important;overscroll-behavior:contain!important;scrollbar-width:thin!important;scrollbar-color:#70817d #101d28!important;text-align:left!important;touch-action:pan-y!important}
body.ui-v36 .panel h1,body.ui-v36.is-touch .panel h1{font:400 clamp(23px,3vw,32px)/1.2 Georgia,serif!important;letter-spacing:1.8px!important;margin:0 0 8px!important;color:var(--ui-gold)!important;text-shadow:none!important}
body.ui-v36 .panel .sub,body.ui-v36.is-touch .panel .sub{font-size:14px!important;line-height:1.55!important;letter-spacing:0!important;color:var(--ui-muted)!important;margin-bottom:18px!important}
body.ui-v36 .btn-primary,body.ui-v36.is-touch .btn-primary,body.ui-v36 .btn-secret,body.ui-v36 .btn-gold,body.ui-v36.is-touch .btn-secret,body.ui-v36.is-touch .btn-gold{min-height:46px!important;padding:12px 20px!important;border-radius:5px!important;border:1px solid #e4cca2!important;background:linear-gradient(#e4cfa6,#bc9e6d)!important;color:#18222a!important;box-shadow:none!important;font-size:13px!important;font-weight:750!important;letter-spacing:.8px!important;white-space:normal!important;line-height:1.3!important}
body.ui-v36 .overlay button:hover:not(:disabled){transform:none!important}
body.ui-v36 .btn-primary:hover:not(:disabled){background:#ebd7b2!important;box-shadow:none!important;transform:none!important}
body.ui-v36 .hint,body.ui-v36.is-touch .hint{color:var(--ui-cyan)!important;font-size:13px!important;line-height:1.5!important;margin-top:12px!important}
body.ui-v36 .card,body.ui-v36 .shop-item,body.ui-v36 .academy-card,body.ui-v36 .forge-section{border:1px solid var(--ui-border)!important;border-radius:6px!important;background:#142432!important;box-shadow:none!important;color:var(--ui-text)!important;filter:none!important}
body.ui-v36 .card:hover,body.ui-v36 .shop-item:hover{transform:none!important;box-shadow:none!important;border-color:var(--ui-gold)!important}
body.ui-v36 #selectOverlay,body.ui-v36.is-touch #selectOverlay{background:linear-gradient(90deg,#06111be8,#0b18248c 75%),url('../assets/ui/nocturne-pixel/title.png') center/cover no-repeat!important;overflow:auto!important;padding:0!important;align-items:flex-start!important}
body.ui-v36 #selectOverlay>.panel,body.ui-v36.is-touch #selectOverlay>.panel{width:min(1400px,100%)!important;max-height:none!important;min-height:100dvh!important;max-width:100%!important;margin:auto!important;padding:30px clamp(18px,4vw,54px)!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
body.ui-v36 #selectOverlay .edition-line,body.ui-v36.is-touch #selectOverlay .edition-line{font-size:11px!important;letter-spacing:2.2px!important;margin-bottom:24px!important;justify-content:space-between!important}
body.ui-v36 #selectOverlay .edition-line::before{display:none!important}
body.ui-v36 #selectOverlay h1,body.ui-v36.is-touch #selectOverlay h1{font:400 clamp(32px,5vw,64px)/1.05 Georgia,serif!important;letter-spacing:3px!important;color:#f3e3bf!important;margin:0 0 12px!important;max-width:750px!important}
body.ui-v36 #selectOverlay .edition-tagline,body.ui-v36.is-touch #selectOverlay .edition-tagline{font-size:17px!important;color:#c5d5d0!important;margin-bottom:18px!important}
body.ui-v36 #selectOverlay>.panel>.sub,body.ui-v36.is-touch #selectOverlay>.panel>.sub{max-width:620px!important;font-size:13px!important;line-height:1.6!important;margin-bottom:16px!important}
body.ui-v36 #selectOverlay #checkpointNote,body.ui-v36.is-touch #selectOverlay #checkpointNote{font-size:12px!important;line-height:1.5!important;max-width:560px!important;margin:8px 0 12px!important}
body.ui-v36 #selectOverlay #continueRunBtn,body.ui-v36.is-touch #selectOverlay #continueRunBtn{font-size:13px!important;min-height:46px!important;width:auto!important;margin:8px 0!important}
body.ui-v36 #selectOverlay .stars-info,body.ui-v36.is-touch #selectOverlay .stars-info{font-size:13px!important;margin:0 20px 16px 0!important}
body.ui-v36 #selectOverlay .academy-btn,body.ui-v36.is-touch #selectOverlay .academy-btn{min-height:44px!important;padding:11px 18px!important;font-size:12px!important;color:#e8d5ae!important;border:1px solid #778378!important;background:#142733!important;border-radius:5px!important;margin-bottom:16px!important}
body.ui-v36 #selectOverlay .roster-heading,body.ui-v36.is-touch #selectOverlay .roster-heading{font-size:12px!important;letter-spacing:1.3px!important;margin:14px 0!important}
body.ui-v36 #selectOverlay .hero-grid,body.ui-v36.is-touch #selectOverlay .hero-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;width:100%!important}
body.ui-v36 #selectOverlay .hero-card,body.ui-v36.is-touch #selectOverlay .hero-card{padding:0 14px 14px!important;border:1px solid #526570!important;border-radius:6px!important;background:linear-gradient(#1c333eeb,#101e2bec)!important;box-shadow:none!important;filter:none!important;min-width:0!important;width:100%!important;height:auto!important;max-width:none!important}
body.ui-v36 #selectOverlay .hero-card:hover{border-color:var(--ui-gold)!important;transform:none!important;box-shadow:none!important}
body.ui-v36 #selectOverlay .hero-icon,body.ui-v36.is-touch #selectOverlay .hero-icon{height:130px!important;margin:0 -13px 9px!important;filter:none!important;mask-image:none!important}
body.ui-v36 #selectOverlay .hero-card.locked .hero-icon{filter:grayscale(.4) brightness(.85)!important}
body.ui-v36 #selectOverlay .hero-card h2,body.ui-v36.is-touch #selectOverlay .hero-card h2{font:400 17px/1.25 Georgia,serif!important;letter-spacing:1px!important;margin:0 0 7px!important;white-space:normal!important;text-align:left!important}
body.ui-v36 #selectOverlay .hero-card p,body.ui-v36.is-touch #selectOverlay .hero-card p{display:block!important;font-size:12px!important;line-height:1.5!important;min-height:36px!important;color:var(--ui-muted)!important}
body.ui-v36 #selectOverlay .hero-stats,body.ui-v36.is-touch #selectOverlay .hero-stats{display:flex!important;gap:8px!important;font-size:12px!important;padding:9px 0!important;margin:10px 0!important;justify-content:space-between!important}
body.ui-v36 #selectOverlay .hero-stats>div{flex:initial!important;text-align:left!important}
body.ui-v36 #selectOverlay .hero-stats span{display:block!important;font-size:10px!important;color:#aabdbf!important}
body.ui-v36 #selectOverlay .hero-stats b{font-size:13px!important}
body.ui-v36 #selectOverlay .ult-card,body.ui-v36.is-touch #selectOverlay .ult-card{display:block!important;min-height:0!important;margin:0!important;padding:0!important;background:none!important;box-shadow:none!important}
body.ui-v36 #selectOverlay .uc-label{font-size:10px!important}
body.ui-v36 #selectOverlay .uc-name{font-size:12px!important;line-height:1.5!important}
body.ui-v36 #selectOverlay .uc-desc{font-size:11px!important;line-height:1.5!important;color:#aabac2!important}
body.ui-v36 #selectOverlay .hero-card.locked .lock-badge{font-size:11px!important;padding:5px 8px!important;top:8px!important;right:8px!important}
body.ui-v36 #selectOverlay .edition-footer{font-size:11px!important;line-height:1.6!important;margin-top:22px!important;letter-spacing:.4px!important}
body.ui-v36 .mobile-crystal-logo-wrap{position:absolute!important;right:5%!important;top:80px!important;max-width:170px!important;width:22vw!important;pointer-events:none!important}
body.ui-v36 .mobile-crystal-logo{width:100%!important;height:auto!important;max-height:160px!important;object-fit:contain!important;filter:none!important;image-rendering:pixelated!important}
body.ui-v36 .cards,body.ui-v36.is-touch .cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
body.ui-v36 .cards .card,body.ui-v36.is-touch .cards .card{width:100%!important;min-width:0!important;max-width:none!important;min-height:180px!important;height:auto!important;padding:16px!important;text-align:left!important}
body.ui-v36 .card .ci,body.ui-v36.is-touch .card .ci{height:70px!important;display:flex!important;align-items:center!important;margin-bottom:8px!important}
body.ui-v36 .card .ci .rune-art{width:70px!important;height:70px!important}
body.ui-v36 .card h3,body.ui-v36.is-touch .card h3{font-size:16px!important;line-height:1.35!important;letter-spacing:0!important;color:#e6d4b1!important;margin-bottom:8px!important}
body.ui-v36 .card p,body.ui-v36.is-touch .card p{font-size:13px!important;line-height:1.5!important;color:var(--ui-muted)!important}
body.ui-v36 .card.selected{background:#243934!important;border:2px solid #d9c191!important;padding:15px!important;box-shadow:none!important}
body.ui-v36 .card.selected::after{content:'✓'!important;position:absolute!important;right:12px!important;top:10px!important;font:700 20px Arial!important;color:#e6d3ac!important}
body.ui-v36 .card.ult-card-pick{background:#2d2932!important;border-color:#a092b4!important;box-shadow:none!important}
body.ui-v36 .overlay>.pause-panel,body.ui-v36.is-touch .overlay>.pause-panel{width:min(840px,100%)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:22px!important}
body.ui-v36 .pause-panel>.sub{margin-bottom:12px!important;flex-shrink:0!important}
body.ui-v36 .pause-tabs-v35{display:flex!important;gap:8px!important;padding-bottom:14px!important;border-bottom:1px solid #455b65!important;margin-bottom:14px!important;flex-shrink:0!important}
body.ui-v36 .pause-tabs-v35 button{flex:1!important;min-height:44px!important;border:1px solid var(--ui-border)!important;border-radius:5px!important;background:#11202c!important;font-size:14px!important;color:#b6c8cb!important}
body.ui-v36 .pause-tabs-v35 button.active{border-color:#e1c594!important;color:#1a2830!important;background:#dbc295!important;font-weight:700!important}
body.ui-v36 .pause-layout,body.ui-v36.is-touch .pause-layout{display:block!important;min-height:0!important;overflow:auto!important;overscroll-behavior:contain!important;gap:0!important;margin:0!important;padding-right:3px!important}
body.ui-v36 .pause-col-inv,body.ui-v36 .pause-col-buttons,body.ui-v36.is-touch .pause-col-inv,body.ui-v36.is-touch .pause-col-buttons{width:100%!important;padding:0!important;min-width:0!important;overflow:visible!important;max-height:none!important}
body.ui-v36 .backpack-section{background:none!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important}
body.ui-v36 .backpack-head{padding:6px 0 10px!important;gap:10px!important}
body.ui-v36 .backpack-head h3{font-size:14px!important;letter-spacing:1px!important;margin:0!important}
body.ui-v36 .backpack-count{font-size:13px!important;white-space:nowrap!important;color:#d6c7a9!important}
body.ui-v36 .backpack-note,body.ui-v36.is-touch .backpack-note{font-size:13px!important;line-height:1.55!important;color:var(--ui-muted)!important;padding:0!important;margin-bottom:14px!important}
body.ui-v36 #pauseRunesGrid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;max-height:none!important;overflow:visible!important}
body.ui-v36 .pause-footer-v35{flex-shrink:0!important;padding-top:14px!important;margin-top:14px!important;border-top:1px solid var(--ui-border)!important}
body.ui-v36 .pause-footer-v35 #resumeBtn{width:100%!important;margin:0!important}
body.ui-v36 #runeStatsV35{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:8px!important;margin:0 0 14px!important}
body.ui-v36 #runeStatsV35>span{padding:10px!important;border:1px solid #415966!important;border-radius:5px!important;background:#0f1d29!important;font-size:11px!important;color:var(--ui-muted)!important}
body.ui-v36 #runeStatsV35 b{display:block!important;font-size:17px!important;color:#eadbbd!important;margin-top:5px!important}
body.ui-v36 .backpack-potion-card{display:flex!important;align-items:center!important;gap:14px!important;grid-column:1/-1!important;background:#172c2c!important;border:1px solid #55796c!important;border-radius:6px!important;padding:14px!important;box-shadow:none!important;margin:0!important}
body.ui-v36 .backpack-potion-card .potion-glyph{font-size:29px!important;color:#b2ecbd!important;width:42px!important;text-align:center!important}
body.ui-v36 .backpack-potion-card>div{flex:1!important}
body.ui-v36 .backpack-potion-card b{font-size:14px!important;color:#e2ead7!important}
body.ui-v36 .backpack-potion-card p{font-size:12px!important;color:#b7cbc4!important;line-height:1.5!important;margin:4px 0 0!important}
body.ui-v36 .backpack-potion-card strong{font-size:20px!important;color:#c7e4d1!important}
body.ui-v36 .game-settings{background:none!important;border:0!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:10px!important;font-size:14px!important}
body.ui-v36 .game-settings label{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:16px!important;min-height:52px!important;padding:10px 12px!important;border:1px solid var(--ui-border)!important;border-radius:5px!important;background:#122331!important;color:var(--ui-text)!important;font-size:14px!important}
body.ui-v36 .game-settings select{max-width:68%!important;min-height:42px!important;background:#091821!important;border:1px solid #78949a!important;border-radius:4px!important;padding:8px!important;color:#e2e9e4!important;font-size:13px!important}
body.ui-v36 input[type=checkbox]{width:24px!important;height:24px!important;accent-color:#d6bf92!important}
body.ui-v36 input[type=range]{min-height:32px!important;accent-color:#9bcdc4!important;max-width:64%!important}
body.ui-v36 .game-settings p,body.ui-v36 .pause-tip{font-size:13px!important;line-height:1.6!important;color:var(--ui-muted)!important;padding:6px 0!important}
body.ui-v36 .shop-tab,body.ui-v36 .game-settings button,body.ui-v36 .btn-size-tune,body.ui-v36 .btn-dev{min-height:44px!important;padding:10px 14px!important;border:1px solid var(--ui-border)!important;background:#1b303c!important;border-radius:5px!important;color:#e1e7df!important;font-size:13px!important;box-shadow:none!important}
body.ui-v36 #touchPauseSettingsBtn{position:static!important;inset:auto!important;transform:none!important;width:100%!important;height:auto!important;min-height:46px!important;font-size:13px!important;margin:0!important;border-radius:5px!important;display:none!important}
body.ui-v36.is-touch #touchPauseSettingsBtn{display:block!important}
body.ui-v36 .advanced-v35{border:1px solid var(--ui-border)!important;border-radius:5px!important;padding:12px!important;margin-top:14px!important}
body.ui-v36 .advanced-v35 summary{cursor:pointer!important;color:#cdb990!important;font-size:14px!important;min-height:26px!important}
body.ui-v36 .advanced-v35[open] summary{margin-bottom:12px!important}
body.ui-v36 .advanced-v35 button{width:100%!important;margin-top:8px!important}
body.ui-v36 .rune-art{display:block!important;object-fit:contain!important;image-rendering:pixelated!important;flex-shrink:0!important}
body.ui-v36 .rune-card-v35{min-width:0!important;overflow:hidden!important;background:#11212e!important;border:1px solid #48606b!important;border-left:3px solid var(--rarity,#d1bf93)!important;border-radius:6px!important;align-self:start!important}
body.ui-v36 .rune-card-info{width:100%!important;display:flex!important;align-items:center!important;gap:12px!important;padding:12px!important;text-align:left!important;border:0!important;border-radius:4px!important;background:transparent!important;color:var(--ui-text)!important;min-height:112px!important}
body.ui-v36 .rune-card-info:hover{background:#1b2e3b!important}
body.ui-v36 .rune-card-info .rune-art{width:72px!important;height:72px!important}
body.ui-v36 .rune-card-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;min-width:0!important;flex:1!important}
body.ui-v36 .rune-rarity{font-size:10px!important;line-height:1.4!important;font-weight:700!important;letter-spacing:1px!important;text-transform:uppercase!important;color:var(--rarity,#b9cdca)!important}
body.ui-v36 .rune-card-copy>b{font-size:16px!important;line-height:1.3!important;font-family:Georgia,serif!important;color:#f2e7d0!important;font-weight:400!important}
body.ui-v36 .rune-description{font-size:13px!important;line-height:1.5!important;color:#c2d0d4!important}
body.ui-v36 .rune-more{font-size:11px!important;color:#9abcbf!important}
body.ui-v36 .rune-card-actions{display:flex!important;gap:8px!important;padding:0 12px 12px!important}
body.ui-v36 .rune-card-actions button,body.ui-v36 .socket-buy,body.ui-v36 .rune-undo{min-height:44px!important;padding:10px 12px!important;font-size:13px!important;line-height:1.4!important;border:1px solid #89967e!important;border-radius:4px!important;background:#22373c!important;color:#e7ddbd!important;flex:1!important}
body.ui-v36 .rune-card-actions button:hover:not(:disabled),body.ui-v36 .socket-buy:hover:not(:disabled){border-color:#ddc595!important;background:#304649!important}
body.ui-v36 .rune-card-actions .rune-sell{border-color:#a68a61!important;background:#332d25!important;color:#f3d9a8!important}
body.ui-v36 .rune-duplicate{font-size:12px!important;line-height:1.5!important;color:#e2c28b!important;background:#302d22!important;padding:9px 12px!important;margin:0!important}
body.ui-v36 .rune-empty-v35{grid-column:1/-1!important;display:flex!important;align-items:center!important;gap:16px!important;padding:20px!important;border:1px dashed #5d777e!important;border-radius:6px!important;background:#10232d!important}
body.ui-v36 .rune-empty-v35 .rune-art{width:72px!important;height:72px!important;opacity:.65!important}
body.ui-v36 .rune-empty-v35 b{font:400 18px/1.35 Georgia,serif!important;color:#decaa2!important}
body.ui-v36 .rune-empty-v35 p{font-size:13px!important;color:var(--ui-muted)!important;line-height:1.5!important;margin:6px 0 0!important}
body.ui-v36 .rune-reserve{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr!important;gap:10px!important;border:1px solid #9c855e!important;border-radius:6px!important;background:#242922!important;padding:14px!important}
body.ui-v36 .rune-reserve h3{color:#ecd5a7!important;font-size:15px!important;line-height:1.5!important;margin:0!important}
body.ui-v36 .ui-note{font-size:13px!important;line-height:1.6!important;letter-spacing:0!important;color:var(--ui-muted)!important;margin:0 0 14px!important}
body.ui-v36 .rune-reserve .ui-note{margin:0!important}
body.ui-v36 .rune-equipped-summary{grid-column:1/-1!important;padding:16px 0 0!important;border-top:1px solid #425962!important;margin-top:6px!important}
body.ui-v36 .rune-equipped-summary h3{font-size:13px!important;letter-spacing:.8px!important;color:#e1ceaa!important;margin:0 0 10px!important}
body.ui-v36 .rune-equipped-row{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;padding:5px 0!important}
body.ui-v36 .rune-equipped-row>span{font-size:13px!important;min-width:92px!important;color:#d6e1df!important}
body.ui-v36 .rune-equipped-row small{font-size:12px!important;color:#a9bfc6!important}
body.ui-v36 .rune-equipped-row button{width:46px!important;height:46px!important;border:1px solid #60727c!important;border-radius:5px!important;background:#12232d!important;padding:1px!important}
body.ui-v36 .rune-equipped-row .rune-art{width:42px!important;height:42px!important}
body.ui-v36 .overlay>.rune-detail-panel{width:min(600px,100%)!important}
body.ui-v36 .rune-detail-head{display:grid!important;grid-template-columns:106px 1fr!important;column-gap:20px!important;align-items:start!important;margin:0 0 24px!important}
body.ui-v36 .rune-detail-head>.rune-art{width:106px!important;height:106px!important;grid-row:1/4!important}
body.ui-v36 .rune-detail-head .rune-rarity{margin-top:8px!important}
body.ui-v36 .rune-detail-head h1{font-size:27px!important;letter-spacing:0!important;margin:6px 0!important}
body.ui-v36 .rune-detail-head>p{font-size:14px!important;line-height:1.5!important;color:#d1e1dc!important;margin:0!important}
body.ui-v36 .rune-note{border-top:1px solid #455b65!important;padding:14px 0!important}
body.ui-v36 .rune-note>b{font-size:13px!important;color:#e5cfa4!important}
body.ui-v36 .rune-note p{font-size:14px!important;line-height:1.65!important;color:#bfcdd1!important;margin:7px 0 0!important}
body.ui-v36 .rune-detail-meta{display:flex!important;justify-content:space-between!important;gap:16px!important;flex-wrap:wrap!important;font-size:12px!important;color:#b2c3c7!important;padding:14px 0 20px!important}
body.ui-v36 .rune-detail-meta b{color:#dfc592!important}
body.ui-v36 #runeDetailCloseV35{width:100%!important}
body.ui-v36 #interfaceNoticeV35{position:fixed!important;z-index:110!important;left:50%!important;bottom:max(24px,env(safe-area-inset-bottom))!important;transform:translate(-50%,14px)!important;width:max-content!important;max-width:min(530px,calc(100% - 32px))!important;border:1px solid #a58c63!important;background:#132735!important;color:#f5e4bc!important;border-radius:6px!important;padding:13px 18px!important;font-size:14px!important;line-height:1.5!important;box-shadow:0 6px 24px #0008!important;pointer-events:none!important;opacity:0!important;transition:opacity .15s,transform .15s!important}
body.ui-v36 #interfaceNoticeV35.show{opacity:1!important;transform:translate(-50%,0)!important}
body.ui-v36 #shopOverlay>.village-shop-panel,body.ui-v36.is-touch #shopOverlay>.village-shop-panel{width:min(1100px,100%)!important;height:min(790px,100%)!important;max-height:100%!important;overflow:hidden!important;padding:20px!important;background:linear-gradient(130deg,#1b2d34,#0e1c2a)!important;border:1px solid #8f8167!important;border-radius:8px!important}
body.ui-v36 .vshop-layout,body.ui-v36.is-touch .vshop-layout{display:grid!important;grid-template-columns:230px minmax(0,1fr)!important;gap:22px!important;height:100%!important;min-height:0!important}
body.ui-v36 .vshop-npc,body.ui-v36.is-touch .vshop-npc{display:flex!important;flex-direction:column!important;align-items:stretch!important;padding:0!important;min-height:0!important;max-height:none!important;overflow:hidden!important;border:0!important;background:none!important;box-shadow:none!important}
body.ui-v36 .vshop-portrait-frame,body.ui-v36.is-touch .vshop-portrait-frame{height:auto!important;flex:1!important;min-height:120px!important;max-height:480px!important;border:1px solid #7b826d!important;border-radius:6px!important;background:#14262e!important;box-shadow:none!important;overflow:hidden!important}
body.ui-v36 #shopNpcPortrait,body.ui-v36.is-touch #shopNpcPortrait{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center top!important;image-rendering:pixelated!important;filter:none!important}
body.ui-v36 .vshop-npc-name,body.ui-v36.is-touch .vshop-npc-name{font:400 20px/1.4 Georgia,serif!important;color:#e6d1a8!important;margin-top:14px!important}
body.ui-v36 .vshop-npc-line{font-size:13px!important;line-height:1.6!important;color:#b6c9cb!important;margin-top:10px!important}
body.ui-v36 .vshop-interface,body.ui-v36.is-touch .vshop-interface{display:flex!important;flex-direction:column!important;min-height:0!important;min-width:0!important;max-height:none!important;overflow:hidden!important;padding:0!important}
body.ui-v36 .vshop-head,body.ui-v36.is-touch .vshop-head{display:flex!important;align-items:start!important;justify-content:space-between!important;gap:16px!important;padding:0 45px 12px 0!important;margin-bottom:0!important;flex-shrink:0!important;border-bottom:1px solid #4b6067!important}
body.ui-v36 #shopTitle,body.ui-v36.is-touch #shopTitle{font:400 21px/1.3 Georgia,serif!important;letter-spacing:.4px!important;margin-bottom:5px!important;white-space:normal!important}
body.ui-v36 .vshop-sub{font-size:10px!important;letter-spacing:1.5px!important;color:#9ebabe!important}
body.ui-v36 .shop-coins,body.ui-v36.is-touch .shop-coins{font-size:16px!important;white-space:nowrap!important;line-height:1.6!important;margin:0!important;color:#e4c895!important}
body.ui-v36 .vshop-close,body.ui-v36.is-touch .vshop-close{position:absolute!important;right:14px!important;top:12px!important;width:44px!important;height:44px!important;min-height:44px!important;border:1px solid #748578!important;border-radius:5px!important;background:#14232d!important;color:#dfd5b7!important;font-size:20px!important;z-index:4!important}
body.ui-v36 .shop-tabs,body.ui-v36.is-touch .shop-tabs{display:flex!important;gap:8px!important;flex-wrap:wrap!important;flex-shrink:0!important;padding:10px 0!important;margin:0!important}
body.ui-v36 .shop-tabs:empty{padding:6px 0!important}
body.ui-v36 #shopGrid,body.ui-v36.is-touch #shopGrid{display:flex!important;flex-direction:column!important;gap:10px!important;min-height:0!important;max-height:none!important;overflow:auto!important;overscroll-behavior:contain!important;padding:2px 4px 12px 0!important;flex:1!important;scrollbar-width:thin!important;scrollbar-color:#6a7f82 #13222f!important}
body.ui-v36 #shopBackBtn,body.ui-v36.is-touch #shopBackBtn{flex-shrink:0!important;margin:10px 0 0!important;width:100%!important;min-height:44px!important}
body.ui-v36 .shop-item,body.ui-v36.is-touch .shop-item{display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;min-width:0!important;padding:14px!important;min-height:100px!important;flex-shrink:0!important;text-align:left!important;border-radius:6px!important}
body.ui-v36 .shop-item .si-body{min-width:0!important;flex:1!important}
body.ui-v36 .shop-item .si-name{font-size:15px!important;line-height:1.4!important;letter-spacing:0!important}
body.ui-v36 .shop-item .si-desc,body.ui-v36 .shop-item .si-stats,body.ui-v36 .shop-item .si-set,body.ui-v36 .gear-appearance{font-size:12px!important;line-height:1.55!important;color:#b2c5c9!important;white-space:normal!important}
body.ui-v36 .shop-item .si-price{font-size:12px!important;line-height:1.5!important;white-space:normal!important;max-width:110px!important;flex-shrink:0!important;color:#e5c998!important}
body.ui-v36 .shop-item .si-icon,body.ui-v36.is-touch .shop-item .si-icon{font-size:28px!important;min-width:48px!important;width:48px!important;min-height:48px!important;padding:6px!important;box-shadow:none!important}
body.ui-v36 .shop-item .si-icon.gear-preview,body.ui-v36.is-touch .shop-item .si-icon.gear-preview{width:86px!important;min-width:86px!important;height:112px!important;padding:0!important;background:#10232d!important;filter:none!important}
body.ui-v36 .shop-item.equipped{border-color:#96b79c!important;background:#1b3034!important}
body.ui-v36 .shop-item.equipped .si-price{color:#b3dcb8!important}
body.ui-v36 #shopGrid.rune-shop-v35>.rune-card-v35,body.ui-v36 #shopGrid.rune-shop-v35>section,body.ui-v36 #shopGrid.rune-shop-v35>.forge-pair-v35,body.ui-v36 #shopGrid.rune-shop-v35>.rune-empty-v35{flex-shrink:0!important}
body.ui-v36 .forge-pair-v35{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}
body.ui-v36 .forge-sockets-v35{background:#132330!important;border:1px solid #69716a!important;border-radius:6px!important;padding:14px!important;min-width:0!important}
body.ui-v36 .socket-heading{display:flex!important;justify-content:space-between!important;gap:8px!important;font-size:11px!important;letter-spacing:1px!important;color:#b9c7c5!important}
body.ui-v36 .socket-heading b{color:#dac69e!important}
body.ui-v36 .forge-sockets-v35 h3{font-size:15px!important;line-height:1.4!important;color:#e7d1a8!important;margin:10px 0!important;min-height:42px!important}
body.ui-v36 .socket-row-v35{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important}
body.ui-v36 .socket-v35{position:relative!important;aspect-ratio:1!important;min-height:44px!important;min-width:0!important;border-radius:5px!important;border:1px solid #607a83!important;background:#0d1b27!important;padding:1px!important;overflow:hidden!important}
body.ui-v36 .socket-v35 .rune-art{width:100%!important;height:auto!important}
body.ui-v36 .socket-v35.filled{border-color:var(--rarity)!important}
body.ui-v36 .socket-v35 span{font-size:22px!important;color:#bfd5d2!important}
body.ui-v36 .socket-v35.locked{border-style:dashed!important}
body.ui-v36 .socket-v35 small{position:absolute!important;right:0!important;bottom:0!important;width:15px!important;background:#131b20!important;color:#fff!important;font-size:14px!important}
body.ui-v36 .socket-help{font-size:11px!important;line-height:1.5!important;color:#aebdc2!important;min-height:33px!important;margin:9px 0!important}
body.ui-v36 .socket-buy{width:100%!important;font-size:12px!important}
body.ui-v36 .rune-list-heading{margin:9px 0 4px!important;font-size:14px!important;letter-spacing:.7px!important;color:#e5d4ad!important}
body.ui-v36 .rune-undo{flex-shrink:0!important;text-align:left!important;border-color:#a38b60!important;background:#303129!important}
body.ui-v36 .academy-grid,body.ui-v36.is-touch .academy-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
body.ui-v36 .academy-card,body.ui-v36.is-touch .academy-card{padding:16px!important;min-width:0!important;font-size:14px!important;line-height:1.5!important}
body.ui-v36 .academy-card h3{font-size:16px!important;color:#e6d3ad!important}
body.ui-v36 .academy-card p,body.ui-v36 .academy-note{font-size:13px!important;line-height:1.55!important;color:var(--ui-muted)!important}
body.ui-v36 .academy-card button{min-height:44px!important;padding:10px 12px!important;font-size:13px!important}
body.ui-v36 .academy-stars{font-size:18px!important}
body.ui-v36 .dev-row,body.ui-v36 .size-group{padding:14px!important;background:#132331!important;border:1px solid #455b65!important;border-radius:5px!important}
body.ui-v36 .dev-row label,body.ui-v36 .dev-row .dev-label,body.ui-v36 .size-group-title{font-size:14px!important}
body.ui-v36 .dev-row .dev-desc,body.ui-v36 .size-group-note{font-size:12px!important;line-height:1.5!important}
body.ui-v36 .size-row-head{font-size:13px!important}
body.ui-v36 .size-row{padding:12px 0!important}
body.ui-v36 .size-list{max-height:none!important}
body.ui-v36 .size-row input{width:100%!important;max-width:100%!important}
body.ui-v36 .btn-reset-stars{min-height:44px!important;padding:10px 14px!important;border:1px solid #ad7672!important;background:#322629!important;border-radius:5px!important;font-size:12px!important;box-shadow:none!important;color:#e9b7ab!important}
body.ui-v36 .touch-settings-row{min-height:54px!important;gap:14px!important;font-size:14px!important}
body.ui-v36 .touch-settings-row label{font-size:14px!important}
body.ui-v36 .touch-edit-help{font-size:13px!important;line-height:1.6!important;color:var(--ui-muted)!important}
body.ui-v36 .touch-edit-actions button{min-height:44px!important;padding:11px 15px!important;font-size:13px!important;border-radius:5px!important;border:1px solid #7e8c82!important;background:#1e3540!important;color:#e9dfc4!important}
body.ui-v36 #touchEditOverlay{background:#07111d77!important;pointer-events:none!important}
body.ui-v36 #touchEditOverlay>.panel{width:min(560px,100%)!important;max-height:48vh!important;margin-top:0!important;pointer-events:auto!important}
body.ui-v36 #touchEditOverlay{align-items:flex-start!important}
body.ui-v36 .hud-top{padding:14px!important;gap:14px!important}
body.ui-v36 .hp-name{font-size:12px!important}
body.ui-v36 .hp-text{font-size:12px!important}
body.ui-v36 .hp-bar-outer{border-color:#a09374!important;box-shadow:none!important}
body.ui-v36 .hp-bar-inner{height:18px!important}
body.ui-v36 .lvbadge{font-size:11px!important}
body.ui-v36 .equip-chip{font-size:11px!important;box-shadow:none!important;animation:none!important}
body.ui-v36 .equip-chip .eq-lv{font-size:10px!important}
body.ui-v36 .ri-slot{width:25px!important;height:25px!important;background:#101e29!important;border-radius:4px!important;box-shadow:none!important;animation:none!important}
body.ui-v36 .ri-slot .rune-art{width:25px!important;height:25px!important}
body.ui-v36 .ri-label{font-size:10px!important}
body.ui-v36 .combo-hud{box-shadow:none!important}
body.ui-v36 .cb-label,body.ui-v36 .cb-mult{font-size:10px!important}
body.ui-v36 .stats{font-size:14px!important;gap:10px!important}
body.ui-v36 .stats button{min-width:40px!important;min-height:40px!important;font-size:17px!important;box-shadow:none!important}
body.ui-v36 .wave-box{min-width:150px!important;padding:10px 14px!important;box-shadow:none!important}
body.ui-v36 .wave-box .wv{font-size:11px!important}
body.ui-v36 .wave-box .theme{font-size:10px!important}
body.ui-v36 .wave-box .tm{font-size:22px!important}
body.ui-v36 #bossBar{top:132px!important;width:min(420px,64vw)!important;max-width:calc(100vw - 24px)!important;border:1px solid #a68276!important;border-radius:5px!important;padding:7px 12px!important;box-shadow:none!important}
body.ui-v36 #bossBar .bname{font-size:12px!important;letter-spacing:1px!important}
body.ui-v36 #bossBar .btext{font-size:11px!important}
body.ui-v36 #bossBar .bouter{height:18px!important}
body.ui-v36 .skill,body.ui-v36 .touch-btn{box-shadow:0 2px 6px #0007!important;background:#162b36!important;border-color:#b6ab82!important;filter:none!important}
body.ui-v36 .skill-art{width:75%!important;height:75%!important;margin:auto!important}
body.ui-v36 .skill>.rune-art{width:52px!important;height:52px!important}
body.ui-v36 .touch-btn>span{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important}
body.ui-v36 .touch-btn .rune-art{width:82%!important;height:82%!important}
body.ui-v36 .touch-btn .tb-num{font-size:23px!important}
body.ui-v36 .touch-btn .tb-lvl{font-size:11px!important}
body.ui-v36 .skill .cd-text{font-size:24px!important}
body.ui-v36 .skill .key{font-size:11px!important}
body.ui-v36 .skill .skill-lvl{font-size:11px!important}
body.ui-v36 #runeToast .rtin{box-shadow:none!important;border-radius:6px!important;background:#142531!important;border:1px solid var(--rt-color)!important;padding:12px 16px!important;gap:14px!important}
body.ui-v36 #runeToast .rticon{width:58px!important;min-width:58px!important;height:58px!important;padding:0!important;filter:none!important}
body.ui-v36 #runeToast .rune-art{width:58px!important;height:58px!important}
body.ui-v36 #runeToast .rtrare{font-size:10px!important}
body.ui-v36 #runeToast .rtname{font-size:16px!important}
body.ui-v36 #runeToast .rtdesc{font-size:12px!important;line-height:1.5!important}
body.ui-v36 #expeditionHud{box-shadow:none!important;backdrop-filter:none!important;font-size:13px!important}
body.ui-v36 #expeditionObjective{font-size:13px!important}
body.ui-v36 #expeditionHint{font-size:12px!important}
body.ui-v36 #activeBuffs{font-size:11px!important}
body.ui-v36 #villageNav button{min-height:40px!important;font-size:12px!important;padding:8px 12px!important}
body.ui-v36 #tutorialCard{box-shadow:none!important}
body.ui-v36 #tutorialCard,body.ui-v36 #tutorialCopy{font-size:13px!important;line-height:1.6!important}
body.ui-v36 .vr-pill{box-shadow:none!important;backdrop-filter:none!important;font-size:18px!important;border-width:1px!important}
body.ui-v36 .vr-pill .vr-icon{font-size:22px!important}
body.ui-v36 .mobile-modal #touchControls{pointer-events:none!important}

@media(min-width:1300px){body.ui-v36 #selectOverlay .hero-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important}
body.ui-v36 #selectOverlay .hero-card{padding:0 10px 13px!important}
body.ui-v36 #selectOverlay .hero-icon{height:140px!important}
}
@media(max-width:800px){body.ui-v36 #shopOverlay>.village-shop-panel,body.ui-v36.is-touch #shopOverlay>.village-shop-panel{padding:14px!important}
body.ui-v36 .vshop-layout,body.ui-v36.is-touch .vshop-layout{grid-template-columns:170px minmax(0,1fr)!important;gap:14px!important}
body.ui-v36 #shopTitle,body.ui-v36.is-touch #shopTitle{font-size:18px!important}
body.ui-v36 .forge-pair-v35{grid-template-columns:1fr!important}
body.ui-v36 .forge-sockets-v35 h3{min-height:0!important}
body.ui-v36 .socket-row-v35{max-width:300px!important}
body.ui-v36 .socket-help{min-height:0!important}
body.ui-v36 .overlay>.panel,body.ui-v36.is-touch .overlay>.panel{padding:18px!important}
body.ui-v36 .overlay>.pause-panel,body.ui-v36.is-touch .overlay>.pause-panel{padding:18px!important}
}
@media(max-width:600px){body.ui-v36 .overlay,body.ui-v36.is-touch .overlay{padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important}
body.ui-v36 .overlay>.panel,body.ui-v36.is-touch .overlay>.panel{padding:18px 14px!important;border-radius:7px!important}
body.ui-v36 .panel h1,body.ui-v36.is-touch .panel h1{font-size:23px!important;letter-spacing:1px!important}
body.ui-v36 .panel .sub,body.ui-v36.is-touch .panel .sub{font-size:13px!important;line-height:1.5!important}
body.ui-v36 #selectOverlay>.panel,body.ui-v36.is-touch #selectOverlay>.panel{padding:22px 16px!important}
body.ui-v36 #selectOverlay .edition-line,body.ui-v36.is-touch #selectOverlay .edition-line{font-size:9px!important;margin-bottom:24px!important;letter-spacing:1.2px!important}
body.ui-v36 #selectOverlay h1,body.ui-v36.is-touch #selectOverlay h1{font-size:38px!important;max-width:280px!important;line-height:1.07!important}
body.ui-v36 #selectOverlay .edition-tagline{font-size:15px!important}
body.ui-v36 .mobile-crystal-logo-wrap{top:72px!important;right:14px!important;width:82px!important}
body.ui-v36 #selectOverlay .hero-grid,body.ui-v36.is-touch #selectOverlay .hero-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body.ui-v36 #selectOverlay .hero-icon,body.ui-v36.is-touch #selectOverlay .hero-icon{height:126px!important}
body.ui-v36 #selectOverlay .hero-card,body.ui-v36.is-touch #selectOverlay .hero-card{padding:0 10px 12px!important}
body.ui-v36 #selectOverlay .hero-card h2,body.ui-v36.is-touch #selectOverlay .hero-card h2{font-size:16px!important}
body.ui-v36 #selectOverlay .hero-card p{font-size:12px!important}
body.ui-v36 #selectOverlay .hero-stats{gap:3px!important}
body.ui-v36 #selectOverlay .hero-stats span{font-size:9px!important}
body.ui-v36 #selectOverlay .uc-desc{font-size:11px!important}
body.ui-v36 .cards,body.ui-v36.is-touch .cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
body.ui-v36 .cards .card,body.ui-v36.is-touch .cards .card{padding:12px!important;min-height:190px!important}
body.ui-v36 .card.selected{padding:11px!important}
body.ui-v36 .card h3,body.ui-v36.is-touch .card h3{font-size:14px!important}
body.ui-v36 .card p,body.ui-v36.is-touch .card p{font-size:12px!important;line-height:1.5!important}
body.ui-v36 .card .ci,body.ui-v36.is-touch .card .ci{height:56px!important}
body.ui-v36 .card .ci .rune-art{width:56px!important;height:56px!important}
body.ui-v36 #pauseRunesGrid{grid-template-columns:1fr!important}
body.ui-v36 .overlay>.pause-panel,body.ui-v36.is-touch .overlay>.pause-panel{padding:16px 12px!important}
body.ui-v36 #runeStatsV35{gap:5px!important}
body.ui-v36 #runeStatsV35>span{font-size:10px!important;padding:9px 6px!important}
body.ui-v36 #runeStatsV35 b{font-size:14px!important}
body.ui-v36 .pause-tabs-v35{margin-bottom:12px!important}
body.ui-v36 .pause-tabs-v35 button{font-size:13px!important}
body.ui-v36 .backpack-potion-card{padding:12px!important}
body.ui-v36 .rune-card-info .rune-art{width:70px!important;height:70px!important}
body.ui-v36 .rune-card-copy>b{font-size:17px!important}
body.ui-v36 .rune-description{font-size:13px!important}
body.ui-v36 .vshop-layout,body.ui-v36.is-touch .vshop-layout{grid-template-columns:1fr!important;grid-template-rows:auto minmax(0,1fr)!important;gap:12px!important}
body.ui-v36 .vshop-npc,body.ui-v36.is-touch .vshop-npc{position:relative!important;display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:12px!important;padding:0 48px 0 0!important;min-height:68px!important;max-height:74px!important;border-bottom:1px solid #465e65!important;overflow:hidden!important}
body.ui-v36 .vshop-portrait-frame,body.ui-v36.is-touch .vshop-portrait-frame{width:58px!important;height:64px!important;min-height:0!important;max-height:64px!important;grid-row:1/3!important}
body.ui-v36 .vshop-npc-name,body.ui-v36.is-touch .vshop-npc-name{font-size:17px!important;margin:2px 0 0!important;line-height:1.3!important}
body.ui-v36 .vshop-npc-line,body.ui-v36.is-touch .vshop-npc-line{font-size:11px!important;line-height:1.4!important;margin:3px 0 6px!important;overflow:hidden!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
body.ui-v36 .vshop-head,body.ui-v36.is-touch .vshop-head{padding:0 0 10px!important;gap:10px!important}
body.ui-v36 #shopTitle,body.ui-v36.is-touch #shopTitle{font-size:18px!important}
body.ui-v36 .vshop-sub{font-size:9px!important}
body.ui-v36 .shop-coins,body.ui-v36.is-touch .shop-coins{font-size:14px!important}
body.ui-v36 .vshop-close,body.ui-v36.is-touch .vshop-close{top:15px!important;right:14px!important}
body.ui-v36 .shop-item,body.ui-v36.is-touch .shop-item{padding:11px!important;gap:9px!important;flex-wrap:wrap!important;min-height:94px!important}
body.ui-v36 .shop-item .si-body{min-width:150px!important}
body.ui-v36 .shop-item .si-price{max-width:none!important;width:100%!important;text-align:right!important;padding:7px 0 0!important;border-top:1px solid #415963!important}
body.ui-v36 .shop-item .si-icon.gear-preview,body.ui-v36.is-touch .shop-item .si-icon.gear-preview{width:72px!important;min-width:72px!important;height:96px!important}
body.ui-v36 .shop-item .si-name{font-size:14px!important}
body.ui-v36 .academy-grid,body.ui-v36.is-touch .academy-grid{grid-template-columns:1fr!important}
body.ui-v36 .academy-head{gap:10px!important}
body.ui-v36 .rune-detail-head{grid-template-columns:82px 1fr!important;column-gap:12px!important}
body.ui-v36 .rune-detail-head>.rune-art{width:82px!important;height:82px!important}
body.ui-v36 .rune-detail-head h1{font-size:22px!important}
body.ui-v36 .rune-note p{font-size:13px!important}
body.ui-v36 .rune-detail-head>p{font-size:13px!important}
body.ui-v36.is-touch .hud-top{padding:8px!important;gap:6px!important}
body.ui-v36.is-touch .hp-wrap{gap:0!important;max-width:58%!important;min-width:0!important}
body.ui-v36.is-touch .portrait{display:none!important}
body.ui-v36.is-touch .hp-stack{width:100%!important;min-width:152px!important}
body.ui-v36.is-touch .hp-name{font-size:10px!important;line-height:1.3!important}
body.ui-v36.is-touch .hp-text{font-size:10px!important}
body.ui-v36.is-touch .hp-bar-inner{height:15px!important}
body.ui-v36.is-touch .lvbadge{font-size:10px!important}
body.ui-v36.is-touch .equip-chip{font-size:10px!important}
body.ui-v36.is-touch .equip-chip .eq-lv{font-size:9px!important}
body.ui-v36.is-touch .wave-box{position:absolute!important;left:auto!important;right:9px!important;top:51px!important;width:132px!important;min-width:0!important;padding:6px 8px!important;transform:none!important}
body.ui-v36.is-touch .wave-box .wv{font-size:9px!important}
body.ui-v36.is-touch .wave-box .theme{font-size:9px!important}
body.ui-v36.is-touch .wave-box .tm{font-size:18px!important}
body.ui-v36.is-touch .stats{margin-left:auto!important;font-size:12px!important;gap:7px!important;flex-wrap:wrap!important;max-width:40%!important}
body.ui-v36.is-touch .stats button{display:none!important}
body.ui-v36.is-touch #bossBar{top:138px!important;width:calc(100% - 20px)!important;padding:6px 10px!important}
body.ui-v36.is-touch #bossBar .bname{font-size:11px!important}
body.ui-v36.is-touch #bossBar .btext{font-size:10px!important}
body.ui-v36.is-touch .ri-slot{width:22px!important;height:22px!important}
body.ui-v36.is-touch .ri-slot .rune-art{width:22px!important;height:22px!important}
body.ui-v36.is-touch .ri-label{font-size:9px!important}
body.ui-v36.is-touch .cb-label,body.ui-v36.is-touch .cb-mult{font-size:9px!important}
body.ui-v36.is-touch .rune-inv-hud{gap:4px!important}
body.ui-v36 #runeToast{width:calc(100% - 28px)!important;max-width:400px!important}
body.ui-v36 #runeToast .rtname{font-size:14px!important}
body.ui-v36 #runeToast .rtdesc{font-size:11px!important}
body.ui-v36 #expeditionHud{font-size:11px!important}
body.ui-v36 #expeditionObjective{font-size:12px!important}
body.ui-v36 #expeditionHint{font-size:11px!important}

}
@media(orientation:landscape) and (max-height:540px){body.ui-v36 .overlay,body.ui-v36.is-touch .overlay{padding:max(6px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))!important}
body.ui-v36 .overlay>.panel,body.ui-v36.is-touch .overlay>.panel{padding:16px!important}
body.ui-v36 .panel h1,body.ui-v36.is-touch .panel h1{font-size:22px!important}
body.ui-v36 .panel .sub,body.ui-v36.is-touch .panel .sub{font-size:12px!important;margin-bottom:12px!important}
body.ui-v36 #selectOverlay>.panel,body.ui-v36.is-touch #selectOverlay>.panel{padding:20px!important}
body.ui-v36 #selectOverlay .hero-grid,body.ui-v36.is-touch #selectOverlay .hero-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.ui-v36 #selectOverlay .hero-icon,body.ui-v36.is-touch #selectOverlay .hero-icon{height:110px!important}
body.ui-v36 #selectOverlay h1,body.ui-v36.is-touch #selectOverlay h1{font-size:38px!important}
body.ui-v36 .mobile-crystal-logo-wrap{width:100px!important;right:12%!important;top:72px!important}
body.ui-v36 .overlay>.pause-panel,body.ui-v36.is-touch .overlay>.pause-panel{padding:14px 18px!important}
body.ui-v36 .pause-panel>.sub{display:none!important}
body.ui-v36 .pause-tabs-v35{position:absolute!important;top:20px!important;right:28px!important;max-width:360px!important;width:48%!important;padding:0!important;border:0!important;gap:8px!important}
body.ui-v36 .pause-tabs-v35 button{font-size:13px!important;min-height:40px!important}
body.ui-v36 .pause-panel>h1{margin:0 0 20px!important}
body.ui-v36 .pause-footer-v35{margin-top:10px!important;padding-top:10px!important}
body.ui-v36 .pause-footer-v35 #resumeBtn{min-height:44px!important;padding:10px!important}
body.ui-v36 .rune-card-info{min-height:100px!important}
body.ui-v36 .rune-card-info .rune-art{width:64px!important;height:64px!important}
body.ui-v36 .vshop-layout,body.ui-v36.is-touch .vshop-layout{grid-template-columns:150px minmax(0,1fr)!important;gap:16px!important;grid-template-rows:minmax(0,1fr)!important}
body.ui-v36 .vshop-npc,body.ui-v36.is-touch .vshop-npc{display:flex!important;padding:0!important;max-height:none!important;min-height:0!important}
body.ui-v36 .vshop-portrait-frame,body.ui-v36.is-touch .vshop-portrait-frame{width:100%!important;max-height:190px!important;height:auto!important;min-height:50px!important}
body.ui-v36 .vshop-npc-name,body.ui-v36.is-touch .vshop-npc-name{font-size:15px!important;margin-top:8px!important}
body.ui-v36 .vshop-npc-line,body.ui-v36.is-touch .vshop-npc-line{font-size:11px!important;margin-top:6px!important;line-height:1.4!important}
body.ui-v36 #shopTitle,body.ui-v36.is-touch #shopTitle{font-size:18px!important}
body.ui-v36 .forge-pair-v35{grid-template-columns:1fr 1fr!important}
body.ui-v36 .socket-row-v35{gap:3px!important}
body.ui-v36 .forge-sockets-v35{padding:10px!important}
body.ui-v36 .socket-v35{min-height:32px!important}
body.ui-v36 .socket-buy{font-size:11px!important}
body.ui-v36 .forge-sockets-v35 h3{font-size:13px!important}
body.ui-v36.is-touch .hud-top{padding:7px 12px!important}
body.ui-v36.is-touch .hp-stack{width:180px!important}
body.ui-v36.is-touch .hp-text{font-size:10px!important}
body.ui-v36.is-touch .hp-name{font-size:10px!important}
body.ui-v36.is-touch .hp-bar-inner{height:14px!important}
body.ui-v36.is-touch .portrait{width:42px!important;height:42px!important;font-size:24px!important}
body.ui-v36.is-touch .wave-box{top:7px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:160px!important;min-width:0!important;padding:6px 10px!important}
body.ui-v36.is-touch .wave-box .wv,body.ui-v36.is-touch .wave-box .theme{font-size:9px!important}
body.ui-v36.is-touch .wave-box .tm{font-size:18px!important}
body.ui-v36.is-touch #bossBar{top:86px!important;width:330px!important;padding:5px 10px!important}
body.ui-v36.is-touch #bossBar .bname{font-size:10px!important}
body.ui-v36.is-touch #bossBar .btext{font-size:10px!important}
body.ui-v36.is-touch .equip-chip{font-size:9px!important}
body.ui-v36.is-touch .eq-lv{font-size:9px!important}
body.ui-v36.is-touch .stats{font-size:12px!important}
body.ui-v36.is-touch .stats button{display:none!important}
body.ui-v36.is-touch .ri-slot{width:20px!important;height:20px!important}
body.ui-v36.is-touch .ri-slot .rune-art{width:20px!important;height:20px!important}
body.ui-v36.is-touch #expeditionObjective{font-size:11px!important}
body.ui-v36.is-touch #expeditionHint{font-size:10px!important}

}
@media(prefers-reduced-motion:reduce){body.ui-v36 *,body.ui-v36 *::before,body.ui-v36 *::after{animation:none!important;transition:none!important}
}body.ui-v36.mobile-modal #villageResourceHud,body.ui-v36.is-touch.mobile-modal #villageResourceHud{display:none!important}
body.ui-v36 .overlay .btn-primary,body.ui-v36.is-touch .overlay .btn-primary{background:linear-gradient(#e4cfa6,#bc9e6d)!important;color:#18222a!important;box-shadow:none!important}
body.ui-v36.is-touch #shopOverlay .vshop-layout{height:100%!important;min-height:0!important}
body.ui-v36.is-touch #shopOverlay .vshop-interface{height:auto!important;min-height:0!important}
body.ui-v36.is-touch #shopOverlay #shopBackBtn{background:linear-gradient(#e4cfa6,#bc9e6d)!important;color:#18222a!important}
body.ui-v36.is-touch #shopOverlay .vshop-npc-line{position:static!important;max-width:none!important;width:auto!important;background:none!important;border:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important}
body.ui-v36.is-touch .hud-top .hp-name{font-size:10px!important;line-height:14px!important}
body.ui-v36.is-touch .hud-top .hp-name .lvbadge{font-size:9px!important}
body.ui-v36.is-touch .hud-top .hp-text{font-size:10px!important;line-height:13px!important}
body.ui-v36.is-touch .hud-top .stats>span{font-size:12px!important;height:32px!important;padding:6px!important}
body.ui-v36.is-touch .hud-top .wave-box .wv{font-size:10px!important;line-height:13px!important}
body.ui-v36.is-touch .hud-top .wave-box .theme{font-size:9px!important;line-height:12px!important}
body.ui-v36.is-touch .hud-top .wave-box .tm{font-size:18px!important;line-height:20px!important}
body.ui-v36.is-touch .hud-top .wave-box{width:150px!important;min-width:150px!important}

@media(max-width:600px) and (orientation:portrait){body.ui-v36.is-touch #shopOverlay .vshop-layout{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:74px minmax(0,1fr)!important;gap:12px!important}
body.ui-v36.is-touch #shopOverlay .vshop-npc{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;grid-template-rows:24px 44px!important;column-gap:12px!important;padding:0 48px 0 0!important;height:74px!important;min-height:0!important;max-height:74px!important;border-right:0!important;border-bottom:1px solid #465e65!important;align-items:start!important}
body.ui-v36.is-touch #shopOverlay .vshop-portrait-frame{grid-row:1/3!important;grid-column:1!important;width:58px!important;min-width:58px!important;height:64px!important;min-height:0!important;max-height:64px!important;max-width:58px!important;margin:0!important}
body.ui-v36.is-touch #shopOverlay #shopNpcPortrait{display:block!important;width:58px!important;height:64px!important;object-fit:cover!important;object-position:50% 15%!important}
body.ui-v36.is-touch #shopOverlay .vshop-npc-name{grid-row:1!important;grid-column:2!important;font-size:16px!important;margin:0!important;white-space:nowrap!important}
body.ui-v36.is-touch #shopOverlay .vshop-npc-line{grid-row:2!important;grid-column:2!important;font-size:11px!important;line-height:16px!important;margin:2px 0 0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;max-height:34px!important}

}
@media(orientation:landscape) and (max-height:540px){body.ui-v36.is-touch #pauseOverlay .pause-layout{padding-top:14px!important}
body.ui-v36.is-touch #shopOverlay .vshop-npc{display:flex!important;flex-direction:column!important;height:100%!important;border:0!important;padding:0!important;min-height:0!important}
body.ui-v36.is-touch #shopOverlay .vshop-portrait-frame{width:100%!important;min-width:0!important;height:150px!important;max-height:170px!important;flex:1!important}
body.ui-v36.is-touch #shopOverlay #shopNpcPortrait{width:100%!important;height:100%!important;object-fit:cover!important}
body.ui-v36.is-touch #shopOverlay .vshop-npc-name{font-size:16px!important;margin-top:8px!important}

}body.ui-v36.is-touch #shopOverlay #shopGrid{overflow:auto!important;min-height:0!important;flex:1 1 auto!important}
body.ui-v36.is-touch #shopOverlay #shopBackBtn{position:static!important;flex:0 0 auto!important;transform:none!important}

@media(max-width:600px) and (orientation:portrait){body.ui-v36.is-touch .hud-top .wave-box{position:absolute!important;top:62px!important;right:8px!important;left:auto!important;transform:none!important;margin:0!important}
body.ui-v36.is-touch #bossBar{top:154px!important}
}
/* V36 mobile HUD, real sprite previews and menu navigation. */
body.ui-v36 .ui-icon-v36{position:static!important;display:inline-block!important;width:24px!important;height:24px!important;flex:0 0 auto;vertical-align:middle}
body.ui-v36 .ui-secondary-v36{display:block;min-height:44px;width:100%;margin-top:10px;background:#142733;border:1px solid #788b85;border-radius:5px;color:#d9ded0}
body.ui-v36 #selectOverlay .edition-line a{display:none!important}
body.ui-v36 .hero-icon{display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
body.ui-v36 #selectOverlay .hero-icon canvas.anim-look{position:static!important;display:block!important;height:100%!important;width:auto!important;max-width:100%!important;aspect-ratio:1!important;object-fit:contain!important;image-rendering:pixelated!important}
body.ui-v36 #shopOverlay .gear-preview canvas.anim-look{position:static!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:1!important;object-fit:contain!important;image-rendering:pixelated!important}
body.ui-v36 #shopOverlay .gear-preview{display:flex!important;align-items:center!important;justify-content:center!important}
body.ui-v36 #shopOverlay .shop-coins::before{content:'Монеты: ';font-size:11px;color:#bbcac7}
body.ui-v36 #selectOverlay .hero-card.locked .lock-badge::after{content:' ★';font-size:10px}
body.ui-v36 .vshop-portrait-frame{position:relative!important;inset:auto!important}
body.ui-v36 .vshop-npc-name,body.ui-v36 .vshop-npc-line{position:static!important;inset:auto!important;transform:none!important}
body.ui-v36 .vshop-npc-name{background:none!important;padding:0!important}
body.ui-v36 .potion-art-v36 .rune-art{width:48px!important;height:48px!important}
body.ui-v36 .academy-rune-v36{width:64px!important;height:64px!important;margin-bottom:12px}
body.ui-v36 .equipped-detail-v36{border-top:1px solid #4a6570;padding-top:16px}
body.ui-v36 .equipped-detail-v36 p{font-size:14px;line-height:1.6;color:#bdd1cc;margin-bottom:12px}
body.ui-v36 .equipped-detail-v36 button{width:100%;margin-bottom:12px}
body.ui-v36 .forge-socket-note-v36{flex-shrink:0;margin:14px 0}
body.ui-v36.mobile-modal #ui,body.ui-v36.mobile-modal #expeditionHud,body.ui-v36.mobile-modal #villageResourceHud,body.ui-v36.mobile-modal #tutorialCard{visibility:hidden!important;pointer-events:none!important}
body.ui-v36.is-touch.mobile-control-editor #touchControls{visibility:visible!important;pointer-events:none!important}
body.ui-v36.is-touch.mobile-control-editor #touchControls .touch-btn,body.ui-v36.is-touch.mobile-control-editor #touchControls .joystick-base{pointer-events:auto!important}
body.ui-v36 #touchMenuBtn{border:1px solid #b3a277!important;background:#162d39!important;box-shadow:none!important;border-radius:8px!important;display:flex!important;align-items:center;justify-content:center}
body.ui-v36:not(.is-touch) #touchMenuBtn{display:none!important}
body.ui-v36 #bagCountV36{position:absolute;right:-3px;bottom:-3px;font-size:11px;background:#354338;color:#eee9c9;border:1px solid #acac80;border-radius:4px;padding:0 3px;line-height:15px}
body.ui-v36[data-game-screen=select] #touchMenuBtn{display:none!important}
body.ui-v36 .touch-btn .skill-label-v36{display:block!important;position:absolute!important;top:calc(100% + 5px)!important;left:50%!important;transform:translateX(-50%)!important;width:max-content!important;max-width:105px!important;height:auto!important;pointer-events:none!important;font-size:10px!important;font-weight:600!important;line-height:1.25!important;text-shadow:0 1px 3px #000,1px 0 3px #000;background:#0e1c27b8;padding:3px 5px!important;border-radius:3px;color:#e3ded0}
body.ui-v36 #runeToast{z-index:12!important;pointer-events:none!important}
body.ui-v36 #touchPotionBtn .tp-icon{display:flex!important;align-items:center!important;justify-content:center!important}
body.ui-v36 .hp-text{font-size:12px!important}body.ui-v36 .hp-name{font-size:12px!important}
body.ui-v36 #villageResourceHud .vr-pill{font-size:17px!important;min-height:40px!important;background:#0d1e29ee!important;box-shadow:none!important}
body.ui-v36 #villageResourceHud .vr-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:24px!important;height:24px!important}
body.ui-v36.is-touch #touchControls{pointer-events:none!important}
body.ui-v36.is-touch #tutorialCard{bottom:auto!important;height:auto!important;max-height:34vh!important;overflow:auto!important;font-size:12px!important;padding:10px 52px 10px 12px!important;box-shadow:none!important}
body.ui-v36.is-touch #tutorialCopy{font-size:12px!important;line-height:1.5!important}
body.ui-v36.is-touch #hideTutorialBtn{position:absolute!important;top:3px!important;right:3px!important;width:44px!important;height:44px!important;font-size:22px!important}
@media(pointer:coarse){
 body.ui-v36.is-touch .hud-top{position:fixed!important;inset:10px 10px auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) 90px!important;grid-template-areas:'hp stats' 'wave wave'!important;gap:8px 12px!important;padding:0!important;width:auto!important;align-items:start!important;pointer-events:none!important}
 body.ui-v36.is-touch .hud-top .hp-wrap{grid-area:hp!important;position:relative!important;inset:auto!important;width:auto!important;min-width:0!important;padding:7px 9px!important;display:block!important;border:1px solid #8e9d82!important;border-radius:5px!important;background:#112734f2!important}
 body.ui-v36.is-touch .hp-stack{width:100%!important;min-width:0!important}
 body.ui-v36.is-touch .hp-wrap .portrait,body.ui-v36.is-touch .equip-hud,body.ui-v36.is-touch .rune-inv-hud,body.ui-v36.is-touch #comboHud{display:none!important}
 body.ui-v36.is-touch .hp-name{font-size:11px!important;line-height:16px!important;margin:0 0 4px!important;display:flex!important;justify-content:space-between!important;gap:8px!important}
 body.ui-v36.is-touch .lvbadge{position:static!important;inset:auto!important;font-size:10px!important;line-height:14px!important;padding:1px 3px!important;transform:none!important}
 body.ui-v36.is-touch .hp-bar-outer{height:19px!important;padding:2px!important;border:1px solid #c2b582!important;border-radius:2px!important;width:100%!important}
 body.ui-v36.is-touch .hp-bar-inner{height:100%!important}
 body.ui-v36.is-touch .hp-text{font-size:11px!important;line-height:15px!important;transform:none!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
 body.ui-v36.is-touch .lvbar{height:3px!important;margin:4px 0 0!important}
 body.ui-v36.is-touch .hud-top .stats{grid-area:stats!important;position:static!important;inset:auto!important;display:grid!important;grid-template-columns:1fr!important;gap:5px!important;width:90px!important;transform:none!important;padding:0!important}
 body.ui-v36.is-touch .stats>span:not(#ultActiveText){display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;background:#0d1e29ee!important;border:1px solid #849179!important;border-radius:4px!important;padding:5px 7px!important;font-size:12px!important;min-height:27px!important}
 body.ui-v36.is-touch .stats .ic{display:flex!important;width:18px!important;height:18px!important}
 body.ui-v36.is-touch .stats .ui-icon-v36{width:17px!important;height:17px!important}
 body.ui-v36.is-touch .stats button{display:none!important}
 body.ui-v36.is-touch .hud-top .wave-box{grid-area:wave!important;position:relative!important;inset:auto!important;transform:none!important;margin:0!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:6px 10px!important;width:auto!important;min-width:0!important;text-align:left!important;padding:7px 9px!important;border:1px solid #88987e!important;border-radius:4px!important;background:#102630ee!important}
 body.ui-v36.is-touch .wave-box .wv{font-size:10px!important;line-height:15px!important;letter-spacing:.5px!important;margin:0!important}
 body.ui-v36.is-touch .wave-box .theme{font-size:11px!important;line-height:14px!important;letter-spacing:.2px!important;margin:0!important;text-align:center!important;white-space:normal!important;color:#dec995!important}
 body.ui-v36.is-touch .wave-box .tm{font-size:20px!important;line-height:24px!important;letter-spacing:1px!important;margin:0!important;color:#ecebdd!important}
 body.ui-v36.is-touch .wave-box .wprog{position:absolute!important;left:0!important;right:0!important;bottom:0!important;height:3px!important;margin:0!important}
 body.ui-v36.is-touch .wave-box .frag-row{display:none!important}
 body.ui-v36.is-touch #touchMenuBtn{width:44px!important;height:44px!important;top:128px!important;left:10px!important;right:auto!important}
 body.ui-v36.is-touch #bossBar{position:fixed!important;top:128px!important;left:66px!important;right:10px!important;width:auto!important;transform:none!important;max-width:none!important;padding:0!important}
 body.ui-v36.is-touch #bossName{font-size:11px!important;line-height:15px!important;margin:0 0 3px!important;text-shadow:0 1px 3px #000!important}
 body.ui-v36.is-touch #bossBar .bouter{height:19px!important}body.ui-v36.is-touch #bossText{font-size:11px!important}
 body.ui-v36.is-touch #expeditionHud{position:fixed!important;top:128px!important;left:66px!important;right:10px!important;bottom:auto!important;width:auto!important;max-width:none!important;transform:none!important;padding:6px 9px!important;border:1px solid #526d70!important;background:#0d202bd9!important}
 body.ui-v36.is-touch #expeditionObjective{font-size:11px!important;line-height:16px!important;letter-spacing:.3px!important}
 body.ui-v36.is-touch #expeditionHint,body.ui-v36.is-touch #activeBuffs{display:none!important}
 body.ui-v36.is-touch.ui-has-boss #expeditionHud{display:none!important}
 body.ui-v36.is-touch.in-village #ui,body.ui-v36.is-touch.in-village #expeditionHud{display:none!important}
 body.ui-v36.is-touch.in-village #touchMenuBtn{top:12px!important;left:10px!important;visibility:visible!important}
 body.ui-v36.is-touch.in-village.mobile-modal #touchMenuBtn{visibility:hidden!important}
 body.ui-v36.is-touch #villageResourceHud{top:12px!important;right:12px!important;gap:6px!important}
 body.ui-v36.is-touch #tutorialCard{top:185px!important;left:10px!important;right:10px!important;width:auto!important;max-width:none!important;transform:none!important}
 body.ui-v36.is-touch.in-village #tutorialCard{top:74px!important}
 body.ui-v36.is-touch #runeToast{top:190px!important;max-width:calc(100vw - 24px)!important}
}
@media(max-width:600px){
 body.ui-v36 #selectOverlay h1{font-size:34px!important;max-width:235px!important}
 body.ui-v36 .mobile-crystal-logo-wrap{position:absolute!important;inset:69px 16px auto auto!important;display:block!important;width:76px!important;height:76px!important;margin:0!important;max-width:none!important}
 body.ui-v36 .mobile-crystal-logo{height:100%!important;width:100%!important;object-fit:contain!important;filter:none!important}
 body.ui-v36 #selectOverlay .hero-card{min-height:0!important}
 body.ui-v36 #shopOverlay .shop-coins{font-size:12px!important;max-width:115px!important}
 body.ui-v36 #shopOverlay .vshop-head{padding-right:0!important}
 body.ui-v36 .vshop-npc-name{font-size:17px!important}
 body.ui-v36 .pause-tabs-v35{position:static!important;inset:auto!important;width:100%!important;max-width:none!important;margin:8px 0 12px!important;transform:none!important}
 body.ui-v36 #pauseOverlay .pause-layout{padding-top:0!important}
}
@media(orientation:landscape) and (pointer:coarse){
 body.ui-v36.is-touch .hud-top{left:66px!important;right:12px!important;grid-template-columns:minmax(170px,240px) minmax(150px,200px) 90px!important;grid-template-areas:'hp wave stats'!important;justify-content:space-between!important;gap:8px 16px!important}
 body.ui-v36.is-touch .hud-top .wave-box{grid-template-columns:1fr auto!important;padding:6px 10px!important}
 body.ui-v36.is-touch .wave-box .theme{grid-column:1!important}body.ui-v36.is-touch .wave-box .tm{grid-column:2!important;grid-row:1/3!important}
 body.ui-v36.is-touch #touchMenuBtn{top:12px!important;left:12px!important}
 body.ui-v36.is-touch #bossBar{top:88px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(350px,48vw)!important}
 body.ui-v36.is-touch #expeditionHud{top:86px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(360px,46vw)!important}
 body.ui-v36.is-touch #tutorialCard{top:142px!important;left:50%!important;right:auto!important;width:min(370px,48vw)!important;transform:translateX(-50%)!important}
 body.ui-v36 #shopOverlay .vshop-layout{grid-template-rows:minmax(0,1fr)!important}
 body.ui-v36 #shopOverlay .vshop-npc-name{font-size:17px!important;background:none!important;padding:0!important}
 body.ui-v36 #shopOverlay .vshop-npc-line{display:block!important;font-size:11px!important;line-height:1.4!important;max-height:48px!important;overflow:hidden!important}
 body.ui-v36 #selectOverlay .hero-icon{height:112px!important}
 body.ui-v36 .pause-tabs-v35{position:static!important;inset:auto!important;max-width:none!important;width:100%!important;margin:8px 0 12px!important;padding-bottom:0!important;transform:none!important}
 body.ui-v36 .pause-panel>h1{margin-bottom:0!important}body.ui-v36 #pauseOverlay .pause-layout{padding-top:0!important}
}
@media(max-width:370px){body.ui-v36 #selectOverlay h1{font-size:29px!important}body.ui-v36 .mobile-crystal-logo-wrap{width:65px!important;height:65px!important;right:12px!important}body.ui-v36 .game-settings label{font-size:13px!important;gap:8px!important}}
@media(max-width:600px){body.ui-v36.is-touch #selectOverlay h1{font-size:31px!important;letter-spacing:1.5px!important;line-height:1.08!important;max-width:270px!important}body.ui-v36.is-touch .mobile-crystal-logo-wrap{position:absolute!important;inset:69px 16px auto auto!important;width:70px!important;height:70px!important;margin:0!important;display:block!important}body.ui-v36.is-touch #selectOverlay .mobile-crystal-logo{width:100%!important;height:100%!important;object-fit:contain!important}}
@media(max-width:370px){body.ui-v36.is-touch #selectOverlay h1{font-size:28px!important}body.ui-v36.is-touch .mobile-crystal-logo-wrap{width:62px!important;height:62px!important}}
/* Reset inherited width caps so the HUD grid owns all three regions. */
body.ui-v36.is-touch .hud-top{transform:none!important;max-width:none!important}
body.ui-v36.is-touch .hud-top .hp-wrap{max-width:none!important;justify-self:stretch!important}
body.ui-v36.is-touch .hud-top .stats{max-width:none!important;margin:0!important;justify-self:stretch!important}
body.ui-v36.is-touch .hud-top .wave-box{justify-self:stretch!important;max-width:none!important;clip-path:none!important}

body.ui-v36.is-touch #ultActiveText{position:fixed!important;top:177px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:max-content!important;max-width:80vw!important;font-size:12px!important}
