/* 15_mobil.css – Telefon a sjednocení (pilíře, odemykání).
   Sloučeno z: 52_mobile.css, 53_unify.css (pořadí zachováno). */

/* ===== 52_mobile.css ===== */
/* ============================================================================
   Telefon: celkové doladění rozhraní (listopad 2026). Načítá se jako úplně poslední.
   Cíl: víc místa pro obsah (záhlaví v jednom řádku, kompaktní karta hrdiny, spodní lišta
   s pěti položkami bez posouvání) a nic se nepřekrývá.
   Selektory mají předponu "html body[data-mobile]" kvůli starším pravidlům s !important.
   ============================================================================ */

.shell-mmo-n { display: none; }
html body:not([data-mobile="true"]) .shell-menu .shell-menu-discord { display: none !important; }

/* ---- ZÁHLAVÍ: logo, kniha, měny, povinnosti a nastavení v jednom řádku; Discord je v nabídce nastavení ---- */
html body[data-mobile="true"] #scr-game .topbar { flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 8px 4px; }
html body[data-mobile="true"] #scr-game .topbar > .shell-discord { display: none !important; }
html body[data-mobile="true"] #scr-game .topbar > .foundation-brand { flex: 0 1 auto; margin-right: auto; min-width: 0; }
html body[data-mobile="true"] #scr-game .topbar > .shell-book { margin-left: 0; width: 38px; height: 38px !important; min-height: 38px !important; }
html body[data-mobile="true"] #scr-game .topbar > .shell-money { flex: 0 0 auto; gap: 4px !important; }
html body[data-mobile="true"] #scr-game .topbar > .shell-duties { min-height: 38px; height: 38px; }
html body[data-mobile="true"] #scr-game .topbar .shell-gear { width: 38px; height: 38px; min-height: 38px; }
html body[data-mobile="true"] .shell-menu .shell-menu-discord { display: inline-flex !important; align-items: center; gap: 8px; min-height: 44px; width: 100%; }
html body[data-mobile="true"] .shell-menu .shell-menu-discord svg { width: 20px; height: 20px; }
html body[data-mobile="true"] .shell-menu .shell-menu-discord span { display: inline; }

/* ---- KARTA HRDINY nahoře: jeden řádek (jméno + bojová síla) a pod ním životy a mana ---- */
html body[data-mobile="true"] #scr-game .shell-hud { grid-template-columns: 42px minmax(0, 1fr); gap: 0 8px !important; padding: 3px 10px 3px 3px !important; min-height: 0; }
html body[data-mobile="true"] #scr-game .shell-hud .shell-hud-art { width: 42px; height: 42px; }
html body[data-mobile="true"] #scr-game .shell-hud-lvl { min-width: 18px; height: 18px; padding: 0 3px; font-size: var(--fs-xs); line-height: 16px; }
html body[data-mobile="true"] #scr-game .shell-hud-copy { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 6px; }
html body[data-mobile="true"] #scr-game .shell-hud-copy > b { grid-column: 1 / 2; max-width: none; font-size: var(--fs-m); }
/* úroveň je v odznaku u portrétu, povolání na stránce Hrdiny - v řádku zůstane jen bojová síla */
html body[data-mobile="true"] #scr-game .shell-hud-copy > small { grid-column: 2 / 3; justify-self: end; font-size: 0; overflow: hidden; }
html body[data-mobile="true"] #scr-game .shell-hud-copy > small .ip-inline { font-size: var(--fs-s); }
html body[data-mobile="true"] #scr-game .shell-hud-copy .bar { height: 12px; margin-top: 3px; }
html body[data-mobile="true"] #scr-game .shell-hud-copy .bar > span { font-size: var(--fs-xs); line-height: 11px; }
html body[data-mobile="true"] #scr-game .shell-hud-copy .shell-hud-xp { grid-column: 1 / -1; height: 3px; }

/* ---- PODZÁLOŽKY: záložky se posouvají, vpravo dvě malá tlačítka Hráči / Chat (jen v Lokaci) ---- */
html body[data-mobile="true"] .shell-subnav { align-items: center; gap: 6px; margin-bottom: 6px; }
html body[data-mobile="true"] .shell-subnav > #tabs { flex: 1 1 auto; min-width: 0; }
html body[data-mobile="true"] .shell-phone-mmo { display: none; }
html body[data-mobile="true"][data-shell-tab="loc"] .shell-subnav > .shell-mmo { display: flex; order: 30; flex: 0 0 auto; gap: 5px; margin: 0 0 0 auto; }
html body[data-mobile="true"] .shell-subnav .shell-mmo-btn { position: relative; width: auto; min-width: 42px; height: 38px; min-height: 38px; padding: 0 8px; gap: 4px; border-radius: 12px; }
html body[data-mobile="true"] .shell-subnav .shell-mmo-btn > span:not(.foundation-icon) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html body[data-mobile="true"] .shell-subnav .shell-mmo-btn .foundation-icon { width: 20px; height: 20px; margin: 0; }
html body[data-mobile="true"] .shell-subnav .shell-mmo-n { display: inline; font-size: var(--fs-s); }
html body[data-mobile="true"] .shell-subnav .shell-mmo-btn .shell-dot { position: absolute; top: 4px; right: 4px; }
/* v souboji podzáložky (a s nimi Hráči / Chat) zůstávají schované (48_mobile.css) */

/* ---- SPODNÍ LIŠTA: pět položek přes celou šířku, bez posouvání ---- */
html body[data-mobile="true"] .shell-phone-nav { overflow: visible; gap: 4px; }
html body[data-mobile="true"] .mob-bar .shell-phone-btn { flex: 1 1 0; min-width: 0; min-height: 52px; padding: 4px 2px; font-size: var(--fs-xs); }
html body[data-mobile="true"] .mob-bar .shell-phone-btn > span:not(.foundation-icon) { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body[data-mobile="true"] .mob-bar .shell-phone-btn .shell-badge { right: 14%; }

/* ---- LOKACE: obraz scény roste podle obsahu (dřív pevných 300 px uřízlo „Kapitolu“ a boss přes štítky) ---- */
html body[data-mobile="true"] .exo2-hero { flex: 0 0 auto !important; height: auto !important; min-height: 280px !important; padding: 10px 12px 12px !important; align-content: end; row-gap: 10px; }
html body[data-mobile="true"] .exo2-hero:has(> .wb-mini) { padding-top: 10px !important; align-content: start; }
html body[data-mobile="true"] .exo2-hero > .wb-mini { position: relative !important; inset: auto !important; width: auto !important; margin: 0 0 4px; }

/* ---- SVĚTOVÉ PŘEHLEDY (bossové, dungeony, síň ozvěn): celá stránka se posouvá najednou,
        místo malých vnitřních okének, kde text zajížděl pod tlačítko „Ukázat na mapě“ ---- */
html body[data-mobile="true"] #tab-world .world-page:not(.world-map-page) { overflow-y: auto; overscroll-behavior: contain; }
html body[data-mobile="true"] #tab-world .world-page:not(.world-map-page) .world-content,
html body[data-mobile="true"] #tab-world .world-page:not(.world-map-page) .world-boss-layout,
html body[data-mobile="true"] #tab-world .world-page:not(.world-map-page) .world-detail,
html body[data-mobile="true"] #tab-world .world-page:not(.world-map-page) .world-detail-text { height: auto; max-height: none; min-height: 0; overflow: visible; flex: 0 0 auto; }
html body[data-mobile="true"] #tab-world .world-detail-art { height: 210px; max-height: 210px; flex: 0 0 auto; }
html body[data-mobile="true"] #tab-world .world-detail-art img { width: 100%; height: 100%; object-fit: contain; }

/* ---- MAPA SVĚTA: mapa vysoká přes půl displeje (dřív 150 px a lokace se překrývaly), popis lokace pod ní ---- */
html body[data-mobile="true"] .world-map-page { overflow-y: auto !important; overscroll-behavior: contain; }
html body[data-mobile="true"] .world-map-page .wm-layout { display: block; flex: 0 0 auto; height: auto; }
html body[data-mobile="true"] .world-map-page .wm-map-frame { height: min(56vh, 400px); min-height: 280px; margin-bottom: 8px; }
html body[data-mobile="true"] .world-map-page #wm-wrap { height: 100% !important; }
html body[data-mobile="true"] .world-map-page .wm-detail { height: auto; max-height: none; overflow: visible; }
html body[data-mobile="true"] .world-map-page .wm-detail-text { flex: 0 0 auto; height: auto; max-height: none; overflow: visible; }

/* ---- ČTEČKA TEXTU (příběh, události, úkoly): na telefonu žádné listování po dvou řádcích,
        text se ukáže celý a stránka se posouvá (stránkování se pak samo schová) ---- */
html body[data-mobile="true"] .rd07-reader-frame { flex: 0 0 auto; height: auto; min-height: 0; overflow: visible; }
html body[data-mobile="true"] .rd07-reader { height: auto; columns: auto; column-fill: balance; overflow: visible; }

/* ---- ÚKOLY: seznam a vybraný úkol pod sebou, posouvá se celá stránka (detail úkolu byl smáčknutý na 0 px) ---- */
html body[data-mobile="true"] .quest-page .quest-content,
html body[data-mobile="true"] .quest-page .quest-split { flex: 0 0 auto; height: auto; max-height: none; overflow: visible !important; flex-direction: column; }
html body[data-mobile="true"] .quest-page .quest-list { flex: 0 0 auto; height: auto; max-height: none; overflow: visible !important; }
html body[data-mobile="true"] .quest-page .quest-detail-slot,
html body[data-mobile="true"] .quest-page .quest-detail-slot > * { flex: 0 0 auto; height: auto; max-height: none; min-height: 0; overflow: visible; }

/* řádek podzáložek s jedinou záložkou (Úkoly, Pošta…) nic nenabízí - na telefonu se schová */
html body[data-mobile="true"]:not([data-shell-tab="loc"]) .shell-subnav:is([data-count="0"], [data-count="1"]) { display: none !important; }

/* ---- HRDINA / INVENTÁŘ: bez velkého nadpisu (je v liště), pořadí postava → vybraný předmět → batoh → statistiky
        (batoh byl až pod 1 400 px statistik) ---- */
html body[data-mobile="true"] .rd10-inventory > .inventory-heading { display: none; }
html body[data-mobile="true"] .rd10-inventory .hs { display: flex; flex-direction: column; gap: 10px; }
html body[data-mobile="true"] .rd10-inventory .hs > .hs-stage { display: contents; }
html body[data-mobile="true"] .rd10-inventory .hs .hs-center { order: 1; }
html body[data-mobile="true"] .rd10-inventory .hs .hs-right { order: 2; }
html body[data-mobile="true"] .rd10-inventory .hs > .rpg-bag { order: 3; }
html body[data-mobile="true"] .rd10-inventory .hs .hs-left { order: 4; }

/* ---- INDUSTRIÁL: obsah pod mapou areálu (budovy, výroba) byl useknutý - celá stránka se teď posouvá;
        výběr části je jen v záložkách (rozbalovací seznam navíc zabíral místo) ---- */
html body[data-mobile="true"] .ind-page { overflow-y: auto; overscroll-behavior: contain; }
html body[data-mobile="true"] .ind-page > .ind-body { flex: 0 0 auto; height: auto; max-height: none; overflow: visible; }
html body[data-mobile="true"] .ind-page > .ind-body > .ind-area { height: auto; max-height: none; }
html body[data-mobile="true"] .ind-page > .ind-field.ind-phone-only:has(+ .ind-body) { display: none; }

/* ---- ODMĚNA ZA PŘIHLÁŠENÍ: název vzácnosti se v úzké dlaždici zalomí místo uříznutí ---- */
html body[data-mobile="true"] .ql-day span { white-space: normal !important; overflow-wrap: anywhere; }
html body[data-mobile="true"] .ql-day span small { display: block; font-size: var(--fs-xs); }

/* ---- MĚSTO: cesty nad mapou a akce pod mapou místo přes ni (zakrývaly budovy u horního a dolního okraje) ---- */
html body[data-mobile="true"] #tab-loc .town2 { display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 0; }
html body[data-mobile="true"] #tab-loc .town2 > .town2-routes { order: 0; flex: 0 0 auto; margin: 0; position: relative; inset: auto; }
html body[data-mobile="true"] #tab-loc .town2 > .town2-map { order: 1; flex: 1 1 auto; min-height: min(300px, 42vh); }
html body[data-mobile="true"] #tab-loc .town2 > .town2-actions { order: 2; flex: 0 0 auto; margin: 0; position: relative; inset: auto; }
html body[data-mobile="true"] #tab-loc .town2 > .town2-side { order: 3; }

/* ---- SOUBOJ: karta hrdiny nahoře se schová vždy - životy a mana jsou na kartě v souboji (dřív jen na nízkém displeji) ---- */
html body[data-mobile="true"]:has(#tab-loc > .battle.battle-active:not(.ended)) #scr-game .topbar .shell-hud { display: none; }

/* ---- UDÁLOST / ROZHOVOR / VÝSLEDEK: obrázek, celý text a všechny volby pod sebou; posouvá se stránka
        (dřív pevné řádky mřížky - volby překrývaly konec textu) ---- */
html body[data-mobile="true"] #tab-loc .rd07-page > :is(.event-box, .dialog-box, .rd07-card) { flex: 0 0 auto; height: auto; min-height: 0; grid-template-rows: none; grid-auto-rows: auto; }
html body[data-mobile="true"] #tab-loc .rd07-page > :is(.event-box, .dialog-box, .rd07-card) > * { grid-row: auto; }
html body[data-mobile="true"] #tab-loc .rd07-page :is(.event-box, .dialog-box) .ev-opts { flex: 0 0 auto; overflow: visible; width: auto; max-width: none; align-self: stretch; margin-left: 0; }

/* ---- OZNÁMENÍ (kořist, splněno, úroveň): na telefonu nahoře přes záhlaví, ne dole přes tlačítka akcí ---- */
html body[data-mobile="true"] #jz-stack { top: calc(env(safe-area-inset-top, 0px) + 6px); bottom: auto; gap: 6px; }
html body[data-mobile="true"] #jz-stack .jz-card { min-width: 0; padding: 7px 12px 8px; }
html body[data-mobile="true"] #jz-stack .jz-card span { font-size: var(--fs-s); }

/* ===== 53_unify.css ===== */
/* ============================================================================
   Ucelení hry (listopad 2026): pilíře, Hrdina ve 4 záložkách, odemykání a karta „Nově odemčeno“.
   JS: 75_unify.js, 32_shell.js.
   ============================================================================ */

/* ---- Hrdina: hlavní záložky (Výbava, Postava, Dovednosti, Posílení) a pod nimi podzáložky ---- */
.rd10-inventory > .inventory-view-select { display: none; }
.rd10-inventory .hero-tabs { gap: 8px; }
.rd10-inventory .hero-tabs .hero-group { min-width: 118px; justify-content: center; font-weight: 700; }
.rd10-inventory .hero-subtabs .btn { flex: 0 0 auto !important; width: auto; }
.rd10-inventory .hero-subtabs { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 6px; margin: -2px 0 8px; padding: 0 2px; }
.rd10-inventory .hero-subtabs .btn { min-height: 32px !important; padding: 4px 12px; font-size: var(--fs-s);
 }
/* Očarování / Drahokamy v rámečku Hrdiny: přepínač dílen Hospodářství je tu navíc */
.zs-tal-inv[data-inventory-view="enchant"] .craft-navigation, .zs-tal-inv[data-inventory-view="gems"] .craft-navigation { display: none !important; }

/* ---- zamčené části mimo lišty ---- */
body[data-zs-locked~="echoes"] .world-nav [data-world-view="echoes"]:not(.primary) { display: none; }

/* ---- katalog „Všechny části hry“: zamčené dlaždice ---- */
.shell-tile.locked { filter: saturate(.15); opacity: .85; }
.shell-tile.locked .shell-tile-copy small { display: block !important; color: #e9c77b; font-weight: 600; }
.shell-tile.locked:hover, .shell-tile.locked:focus-visible { filter: grayscale(.4) brightness(.9); opacity: 1; }

/* ---- katalog v nabídce nastavení: jen na telefonu (na počítači je „Více“ v levé liště) ---- */
html body:not([data-mobile="true"]) .shell-menu .shell-menu-catalog { display: none !important; }
html body[data-mobile="true"] .shell-menu .shell-menu-catalog { display: inline-flex !important; align-items: center; gap: 8px; min-height: 44px; width: 100%; }
.shell-menu-catalog .foundation-icon { width: 18px; height: 18px; }

/* ---- karta „Nově odemčeno“ ---- */
.uz-back { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 16px; background: #05080dcc; backdrop-filter: blur(3px); animation: uzFade .25s ease-out; }
.uz-win { width: min(560px, 100%); max-height: min(86vh, 760px); overflow: auto; border-radius: 18px; border: 1px solid #e9c77b88;
  background: linear-gradient(165deg, #2a1f3d, #121a26 55%, #0c121b); box-shadow: 0 24px 60px #000c, 0 0 0 1px #00000088, 0 0 40px #e9c77b22; padding: 18px 18px 14px; animation: uzPop .35s cubic-bezier(.2, 1.3, .4, 1); }
.uz-win header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.uz-star { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px; font-size: var(--fs-xl); background: radial-gradient(circle at 35% 30%, #fff3c8, #e9b24a 70%); box-shadow: 0 0 18px #f5b54a88; }
.uz-win h2 { margin: 0; font: 600 var(--fs-xl)/1.1 var(--display-font, serif); color: #ffe6b0; }
.uz-win header small { color: #c9b994; font-size: var(--fs-s); letter-spacing: .06em; text-transform: uppercase; }
.uz-win ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.uz-win li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #ffffff08; border: 1px solid #ffffff14; }
.uz-ico { font-size: var(--fs-xl); text-align: center; }
.uz-win li b { display: block; color: #ffe6b0; font-size: var(--fs-m); }
.uz-win li p { margin: 2px 0 0; color: #d6cdbb; font-size: var(--fs-s); line-height: 1.35; }
.uz-win li .btn { white-space: nowrap; min-height: 36px; }
.uz-win footer { display: flex; justify-content: center; margin-top: 12px; }
.uz-win footer .btn { min-width: 180px; justify-content: center; }
body[data-mobile="true"] .uz-win li { grid-template-columns: 30px minmax(0, 1fr); }
body[data-mobile="true"] .uz-win li .btn { grid-column: 1 / -1; width: 100%; justify-content: center; }
@keyframes uzFade { from { opacity: 0; } }
@keyframes uzPop { from { transform: translateY(14px) scale(.96); opacity: 0; } }

/* ---- „Ukaž mi to“: zvýraznění cíle ---- */
.uz-pulse { animation: uzPulse 1s ease-in-out 3 !important; }
@keyframes uzPulse { 0%, 100% { box-shadow: 0 0 0 0 #ffd36b00; } 50% { box-shadow: 0 0 0 4px #ffd36baa, 0 0 22px #ffd36b88; } }
@media (prefers-reduced-motion: reduce) { .uz-back, .uz-win, .uz-pulse { animation: none !important; } }

/* ---- telefon: čtyři záložky Hrdiny vedle sebe bez posouvání, pět pilířů ve spodní liště ---- */
html body[data-mobile="true"] .rd10-inventory .hero-tabs { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 4px !important; overflow: visible !important; }
html body[data-mobile="true"] .rd10-inventory .hero-tabs .hero-group { min-width: 0; padding: 6px 2px; font-size: var(--fs-s); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body[data-mobile="true"] .mob-bar .shell-phone-btn { font-size: var(--fs-xs); letter-spacing: -.1px; }

/* ---- levá lišta (počítač): o kus větší ikony a popisky, nadpisy pilířů ---- */
html body:not([data-mobile="true"]) #shell-rail .shell-rail-btn { padding: 6px 0 !important; gap: 4px !important; }
html body:not([data-mobile="true"]) #shell-rail .shell-rail-btn .foundation-icon { width: 25px; height: 25px; }
html body:not([data-mobile="true"]) #shell-rail .shell-rail-btn > span:not(.foundation-icon) { font-size: var(--fs-xs); }
html body:not([data-mobile="true"]) #shell-rail .shell-rail-group { font-size: var(--fs-xs); letter-spacing: 0; padding-left: 0; padding-right: 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== Ikony v ovládacích prvcích (76_icons.js nahrazuje emoji obrysovými SVG) ===== */
.foundation-icon.zi { width: 1.15em; height: 1.15em; vertical-align: -.18em; overflow: hidden; white-space: nowrap; text-indent: 3em; }
.foundation-icon.zi-g { margin-right: .35em; }
.tm-bld-ico > .foundation-icon.zi, .town2-pin-ico > .foundation-icon.zi { width: 1em; height: 1em; vertical-align: middle; }

/* ===== Telefon: industriál a recepty mají jednu navigaci (lišta záložek) – stejný výběr ze seznamu byl navíc ===== */
html body[data-mobile="true"] .ind-field.ind-phone-only:has(> #ind-view-select) { display: none; }
html body[data-mobile="true"] .craft-recipe-filters > .craft-filter-select { display: none; }
html body[data-mobile="true"] .craft-recipe-filters > .craft-filter-buttons { display: flex; flex-wrap: wrap; gap: 5px; }
html body[data-mobile="true"] .craft-recipe-filters > .craft-filter-buttons > .btn { flex: 1 1 auto; }

/* ===== Telefon: čtyři záložky Společenství se vejdou na šířku (dřív se „Ignorovaní“ usekávalo) ===== */
html body[data-mobile="true"] .social-tabs { display: flex; flex-wrap: nowrap; gap: 4px; overflow: visible; }
html body[data-mobile="true"] .social-tabs > .btn { flex: 1 1 0; min-width: 0; padding-left: 4px; padding-right: 4px; font-size: var(--fs-s, .85rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body[data-mobile="true"] .social-heading .social-tabs { width: 100%; }


/* ==== Audit UI (listopad 2026): obrazovky, které se na telefonu zhroutily nebo ořízly ==== */
/* Industriál › Budovy a › Zakázky: obsah s flex:1 + overflow:hidden v rodiči s výškou auto měl 4–18 px */
html body[data-mobile="true"] .ind-body,
html body[data-mobile="true"] .ind-building-content,
html body[data-mobile="true"] .ind-building-content > .indprod,
html body[data-mobile="true"] .ind-building-view { flex: 0 0 auto !important; height: auto !important; min-height: 0; overflow: visible !important; container-type: normal; }
html body[data-mobile="true"] .rd17-economy.indeco-ord,
html body[data-mobile="true"] .rd17-economy.indeco-ord .indeco-detail,
html body[data-mobile="true"] .rd17-economy .indeco-list { flex: 0 0 auto !important; height: auto !important; max-height: none !important; overflow: visible !important; }
html body[data-mobile="true"] .rd17-economy.indeco-ord .indeco-detail { display: flex !important; flex-direction: column; }
/* Hrdina › Vzhled a › Sestavy: spodek obrazovky (tlačítka vzhledů, název sestavy, Uložit) nešel posunout */
html body[data-mobile="true"] section.rd10-inventory { overflow-y: auto !important; overscroll-behavior: contain; }
/* Talenty: „Vložit bod“ leželo přes placené „Přerozdělit“, popis talentu měl výšku 0 */
html body[data-mobile="true"] .rd11-talents { display: flex !important; flex-direction: column; gap: 6px; height: auto !important; overflow: visible !important; }
html body[data-mobile="true"] .rd11-talents-layout { display: flex !important; flex-direction: column; gap: 6px; }
html body[data-mobile="true"] .rd11-talents > *,
html body[data-mobile="true"] .rd11-talents-layout > * { grid-column: auto !important; grid-row: auto !important; position: static; }
html body[data-mobile="true"] .rd11-talents .rd11-detail { display: flex; flex-direction: column; gap: 6px; height: auto; }
html body[data-mobile="true"] .rd11-talents .rd11-reader { flex: 0 0 auto !important; min-height: 60px; max-height: none; overflow: visible; }
/* Společenství › Guilda: řada záložek se nevešla (DE: Siedlung, Gebiete) */
html body[data-mobile="true"] .social-subtabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; }
html body[data-mobile="true"] .social-subtabs > * { flex: 0 0 auto; scroll-snap-align: start; }
/* nabídka ozubeného kola byla vyšší než obrazovka */
html body[data-mobile="true"] .shell-menu { max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain; }
/* podzáložky: useknutá aktivní záložka bez náznaku dalšího obsahu */
html body[data-mobile="true"] .shell-subnav { overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 88%, transparent); }
html body[data-mobile="true"] #tab-talents > .zs-tal-inv > .zs-tal-content { overflow-y: auto !important; overscroll-behavior: contain; }
html body[data-mobile="true"] .rd11-talents .rd11-detail { flex: 0 0 auto !important; min-height: auto !important; }
html body[data-mobile="true"] .rd11-talents .rd11-detail > * { flex: 0 0 auto !important; position: static !important; }
html body[data-mobile="true"] .rd17-economy.indeco-ord > *,
html body[data-mobile="true"] .rd17-economy.indeco-ord .indeco-detail { width: 100% !important; max-width: none !important; grid-column: 1 / -1 !important; }
html body[data-mobile="true"] .rd11-talents .rd11-detail,
html body[data-mobile="true"] .rd11-talents .rd11-detail .rd11-reader { display: block !important; height: auto !important; max-height: none !important; min-height: 0 !important; overflow: visible !important; contain: none !important; }
html body[data-mobile="true"] .rd11-talents .rd11-detail > * + * { margin-top: 6px; }
html body[data-mobile="true"] .rd11-talents .rd11-reset { position: static !important; display: flex !important; flex-wrap: wrap; height: auto !important; margin-top: 8px; }
html body[data-mobile="true"] .rd17-economy.indeco-ord .indeco-detail > * { grid-row: auto !important; height: auto !important; max-height: none !important; min-height: 0 !important; overflow: visible !important; }
html body[data-mobile="true"] .rd17-economy.indeco-ord .indeco-reader { display: block !important; }
html body[data-mobile="true"] .zs-tal-content > .rd11-talents,
html body[data-mobile="true"] .rd11-talents > *,
html body[data-mobile="true"] .rd11-talents-layout { flex: 0 0 auto !important; min-height: auto !important; }
html body[data-mobile="true"] .rd17-economy.indeco-ord .indeco-detail > * { flex: 0 0 auto !important; }
