.compact-panel [hidden]{display:none!important}.panel-tabs{display:flex;gap:5px;margin:0 0 10px;padding-bottom:7px}.panel-tabs button{flex:1;min-height:36px;padding:6px}.grid-pager{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:8px}.grid-pager button{width:40px;height:34px;line-height:1}.grid-pager span{min-width:44px;text-align:center}.compact-panel .bag-grid{gap:5px}.compact-panel .bag-grid .item-slot{aspect-ratio:1;min-height:40px}.compact-panel .rpg-heading{padding:0;margin:0 0 8px}.compact-panel .rpg-heading h2{margin:3px 0}.compact-panel .rpg-heading .eyebrow{display:none}.compact-panel .armory-banner{margin:6px 0}.compact-panel .armory-banner p,.compact-panel .armory-banner b{display:none}.compact-panel .paper-doll{width:60px}.compact-panel .paper-doll canvas{width:52px;height:65px}.compact-panel .equipment-grid{gap:5px}.compact-panel .secondary-stats{display:grid;grid-template-columns:1fr 1fr;gap:5px}.compact-panel .secondary-stats>div{padding:7px}.compact-panel .icon-skillbook{gap:7px}.compact-panel .icon-skillbook .book-skill{height:58px;min-height:44px}.compact-panel .book-intro{margin:0 0 8px}.compact-panel .binding-slots{grid-template-columns:repeat(5,1fr)}.clan-more,.book-help-button{padding:8px}.popup-clan{max-width:450px}.popup-clan .data-note{line-height:1.5}.popup-clan h2{margin:5px 0 12px}.touch-mode .grid-pager button{width:44px}.touch-mode .compact-panel .armory-banner,.touch-mode .compact-panel .rpg-heading{display:none}.touch-mode .compact-panel .gear-cell .item-slot{min-height:44px;height:44px}.touch-mode .compact-panel .equipment-grid{gap:4px}.touch-mode .compact-panel .bag-toolbar{margin:0 0 6px}.touch-mode .compact-panel .bag-toolbar button{min-height:36px}.touch-mode .compact-panel .bag-search{margin:0 0 6px}.touch-mode .compact-panel .bag-search input{min-height:36px}.touch-mode .compact-panel .rpg-foot{margin-top:5px}.touch-mode .compact-panel .rpg-foot button{min-height:36px}.touch-mode .compact-panel .book-actionbar h3{margin:4px 0}.touch-mode .compact-panel .book-actionbar{margin:0}.touch-mode .compact-panel .secondary-stats>div{padding:5px}.touch-mode .compact-panel .secondary-stats{gap:3px}.touch-mode .compact-panel .book-actionbar>small{margin:4px 0}.touch-mode .compact-panel .book-help-button{min-height:44px}
@media(orientation:landscape){.touch-mode .compact-panel .icon-skillbook .book-skill{height:48px}.touch-mode .compact-panel .grid-pager{margin-top:5px}.touch-mode .compact-panel .panel-tabs{margin-bottom:6px;padding-bottom:5px}.touch-mode .popup-clan .data-note,.touch-mode .popup-clan>h2{display:none}.touch-mode .popup-clan .compact-panel>h2,.touch-mode .popup-clan .compact-panel>.eyebrow{display:none}}
.compact-panel .branch-tree{height:var(--tree-height,410px);margin:0}.compact-panel .spec-tabs{margin:0 0 6px}.compact-panel .talent-points{margin:4px 0 6px}.compact-panel .branch-node{width:46px;height:46px}.compact-panel .branch-node canvas{width:40px;height:40px}.popup-titlebar [data-talent-help]{width:32px;height:30px;padding:0;flex:none}.touch-mode .popup-titlebar [data-talent-help]{width:44px;height:44px}.touch-mode .compact-panel .branch-tree{min-width:0}.touch-mode .compact-panel .branch-node{width:44px;height:44px}.touch-mode .compact-panel .branch-node canvas{width:38px;height:38px}.touch-mode .compact-panel .spec-tabs{gap:4px}.touch-mode .compact-panel .spec-tabs button{min-height:44px;padding:2px;display:flex;align-items:center;justify-content:center;gap:3px;flex-direction:column}.touch-mode .compact-panel .spec-tabs canvas{width:26px;height:26px}.touch-mode .compact-panel .spec-tabs span{line-height:11px}.touch-mode .compact-panel .spec-tabs small{display:none}.touch-mode .compact-panel .talent-points{line-height:14px;margin:3px 0}.item-tooltip{line-height:1.45;max-width:340px}.item-tooltip p{margin:7px 0}
/* Consistent 44 px touch targets; window dimensions are defined in mobile.css. */
.flow-page{display:flow-root}.flow-page>[hidden],.flow-root>[hidden]{display:none!important}.flow-page p{margin:7px 0}.flow-pager{clear:both}.compact-panel button{cursor:pointer}.compact-panel button:disabled{cursor:default}.compact-panel button:focus-visible{outline:2px solid #ffe7aa;outline-offset:2px}.compact-panel .menu-heading{padding:0 0 8px}.compact-panel .menu-heading h2{margin:5px 0}.compact-panel .menu-heading p{margin:4px 0}.compact-panel .pause-menu-actions{grid-template-columns:1fr 1fr;gap:6px;max-width:none}.compact-panel .pause-menu-actions button{padding:8px;min-height:44px}.compact-panel .menu-footnote{margin:10px 0 0!important}.compact-panel .quest-entry{padding:9px;margin:0}.compact-panel .quest-entry h3{margin:5px 0}.compact-panel .quest-entry-actions{display:flex;gap:5px}.compact-panel .quest-entry>button{margin-top:7px;padding:8px}.compact-panel .quest-tabs{margin:4px 0 8px}.compact-panel .quest-entries{display:grid}.compact-panel .touch-slot-editor button{height:48px;aspect-ratio:auto}.compact-panel .touch-slot-editor canvas{width:38px;height:38px;margin:auto}.compact-panel .touch-editor-pages{margin:0}.compact-panel .touch-editor-footer{margin-top:6px}.compact-panel .touch-skill-picker{gap:5px}.compact-panel .touch-skill-picker button{height:48px;aspect-ratio:auto}.compact-panel .touch-skill-picker canvas{width:38px;height:38px;margin:auto}.compact-panel .tooltip-heading canvas{flex:none}.compact-panel .tooltip-compare>span,.compact-panel .tooltip-compare>b{display:block}.compact-panel .selected-item{margin:8px 0 0;padding:0}.compact-panel .guide-grid{margin:0}.compact-panel .guide-card{padding:10px}.compact-panel .branch-tree{overflow:hidden}.tree-sliced .talent-links{height:160%;top:var(--tree-offset)}.tree-sliced .talent-gate{display:none}.tree-sliced .branch-node{top:calc(var(--node-y) * 1.6 + var(--tree-offset))!important}.compact-panel .tree-pager{margin-top:3px}.compact-panel .atlas-paper{height:var(--map-height,380px)}.compact-panel #largeMap{width:100%;height:100%}.compact-panel .atlas-sidebar{max-height:none;overflow:visible;padding:0}.compact-panel .atlas-toolbar{margin:0 0 5px}.compact-panel .atlas-place{min-height:44px}.compact-panel .atlas-key{margin:0}.compact-panel .atlas-key label{min-height:44px;display:flex;align-items:center;gap:8px}.compact-panel .atlas-key input{width:24px;height:24px}.compact-panel .panel-page>.atlas-intro{margin:5px 0}.touch-mode .game-popup .popup-titlebar{height:48px;min-height:48px}.touch-mode .game-popup .popup-titlebar button{width:44px;height:44px;min-width:44px}.touch-mode .game-popup .popup-body{padding:9px}.touch-mode .game-popup .popup-body button,.touch-mode .game-popup .popup-body select,.touch-mode .game-popup .popup-body input{min-height:44px}.touch-mode .game-popup .popup-body button{min-width:44px}.touch-mode .compact-panel .item-slot canvas{max-width:38px;max-height:38px}.touch-mode .compact-panel .book-skill.icon-skill canvas{max-width:38px;max-height:38px}.touch-mode .compact-panel .icon-skillbook{margin:6px 0;gap:6px}.touch-mode .compact-panel .bag-grid .item-slot{height:46px;aspect-ratio:auto}.touch-mode .compact-panel .book-skill.icon-skill{height:48px;aspect-ratio:auto}.touch-mode .compact-panel .book-actionbar{display:block}.touch-mode .compact-panel .book-instruction{display:block}.touch-mode .compact-panel .spec-tabs button{height:58px}.touch-mode .compact-panel .talent-points{padding:5px}.touch-mode #touchPage,.touch-mode #touchConfigure,.touch-mode #touchLesson{min-height:44px;min-width:44px}.touch-mode .compact-panel p{line-height:1.45}.touch-mode .compact-panel .gear-cell>small{line-height:12px;min-height:12px}.touch-mode .popup-clan .compact-panel>.eyebrow,.touch-mode .popup-clan .compact-panel>h2{display:none}.touch-mode .compact-panel .atlas-zoom button{padding:3px}.touch-mode .compact-panel .atlas-filters button{padding:4px}.touch-mode .compact-panel .atlas-stamp{display:none}.touch-mode .compact-panel .atlas-toolbar{gap:4px}.touch-mode .compact-panel .atlas-key{display:grid;gap:10px}
@media(orientation:landscape){.touch-mode #touchContext{width:min(520px,calc(100vw - 110px));max-height:calc(100dvh - 24px);padding:8px}.touch-mode .touch-menu-grid{grid-template-columns:repeat(5,1fr);gap:5px}.touch-mode .touch-menu-grid>button{min-height:58px;padding:3px}.touch-mode .touch-menu-grid canvas{width:25px;height:25px}.touch-mode .touch-context-heading{margin-bottom:5px}.touch-mode #touchInstallState{margin-top:5px}.touch-mode .popup-clan .data-note{display:block;line-height:12px;margin:5px 0}.touch-mode .popup-clan [data-close]{display:none}}
.touch-mode .game-popup .popup-body button,.touch-mode .game-popup .popup-body select,.touch-mode .game-popup .popup-body input{min-height:44px!important}.game-popup .compact-panel .atlas-paper{height:var(--map-height,320px)}
.tree-sliced .branch-node small{bottom:-1px}.touch-mode .game-popup .compact-panel .book-actionbar{display:none}.touch-mode .game-popup .compact-panel .panel-page>[data-shell=mobile]{display:block;width:100%;margin:6px 0 12px}
.touch-mode .compact-panel [data-stat-tip]{min-height:44px;align-items:center;cursor:pointer}.compact-panel .guide-card h3{margin:4px 0}.compact-panel .quest-entry .flow-page ul{padding-left:18px;margin:5px 0}
.touch-mode #tutorialGuide button{min-height:44px;min-width:44px}.compact-panel .reward-picker .reward-options{margin:8px 0;gap:5px}.compact-panel .reward-option{padding:6px 3px;gap:4px}.compact-panel .reward-option small{line-height:12px}.compact-panel .reward-picker>button{margin-top:8px;min-height:36px}.compact-panel .conversation-person{margin:0 0 8px}.compact-panel .activity-score{margin:5px 0}.compact-panel .wire-buttons{margin:6px 0}.popup-activity .compact-panel>button{margin:7px 0}.compact-panel .rhythm-track{margin:8px 0}
/* Override the page header's global nav height inside game windows. */
.compact-panel .panel-tabs,.compact-panel .quest-tabs{height:auto;flex:none}.compact-panel .grid-pager{height:34px;min-height:34px;flex:none}.touch-mode .compact-panel .grid-pager{height:44px;min-height:44px}
.touch-mode .compact-panel .quest-entry h3{line-height:18px}.compact-panel .quest-pages>.flow-page:empty{display:none}
.compact-panel .quest-pages .eyebrow,.compact-panel .quest-pages small{display:block}
/* Review A/B: semantic icons, readable labels, equal figure cards. */
#journalButton canvas{width:18px;height:18px;display:block;image-rendering:pixelated}
.loot>canvas{width:40px;height:40px;flex:none;image-rendering:pixelated}
.book-actionbar>small{display:block;white-space:normal;overflow-wrap:anywhere;line-height:1.5;min-height:32px}
.help-keys{width:100%;table-layout:fixed}
.help-keys th,.help-keys td{padding:7px;text-align:left;vertical-align:top;overflow-wrap:anywhere}
.help-keys th{width:45%}
.compact-panel .guide-card ul,.compact-panel .help-controls ul,.compact-panel .help-clan>ul{padding-left:18px;margin:5px 0}
.compact-panel .guide-card li{line-height:1.5;margin:4px 0}
.compact-panel .guide-card{margin:5px 0}
.compact-panel .help-skill{min-height:60px}.help-skill>canvas{float:left;width:40px;height:40px;margin:0 9px 5px 0;image-rendering:pixelated}
.compact-panel .help-skill p{line-height:1.5;margin:5px 0}
#combatLog:not(:empty){background:#24372eef;opacity:1;color:#d9ddbc;padding:7px;border-left:2px solid #a99562;z-index:4}
.touch-mode #touchActions .touch-special canvas{width:34px;height:34px}
#touchConfigure canvas{width:28px;height:28px;image-rendering:pixelated}
.panel-kicker{min-height:18px;align-items:center}
#journalButton{height:18px;width:24px;padding:0;line-height:1;display:grid;place-items:center}
.quest-panel{max-height:190px}
#actionBar .empty-mark{visibility:hidden}
body:has(.popup-book:not(.minimized)) #actionBar .empty-mark{visibility:visible}
.help-skill ul{clear:both}
body:not(.touch-mode) .compact-panel .armory-banner .paper-doll{width:100px;padding:4px}body:not(.touch-mode) .compact-panel .armory-banner .paper-doll canvas{width:92px;height:115px}.armory-controls{display:grid;gap:7px}
.touch-mode .popup-person .armory-banner{display:flex;gap:14px;margin:8px 0}.touch-mode .popup-person .armory-banner .paper-doll{width:84px;padding:2px}.touch-mode .popup-person .armory-banner .paper-doll canvas{width:80px;height:100px}.touch-mode .popup-person .armory-controls button{min-height:44px;margin:0}.touch-mode .popup-person .armory-controls small{display:none}

/* Sprungleiste (E-27): klebt oben im Reiter, führt zu den Abschnitten und läuft beim Scrollen mit. */
.section-jump{position:sticky;top:-14px;z-index:3;display:flex;gap:4px;margin:-14px -14px 10px;padding:8px 14px;background:linear-gradient(#2f4433f8,#293c2ff2);border-bottom:1px solid #7d7750;box-shadow:0 3px 8px #12241a66}
.section-jump button{flex:1 1 0;min-width:0;min-height:32px;padding:5px 6px;border:1px solid #6f7a52;background:#2b4132;color:#cfd3b3;font:bold 10px/1.2 'Trebuchet MS',sans-serif;letter-spacing:.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.section-jump button[aria-current=true]{background:#776039;color:#fff0ba;border-color:#b9975c;box-shadow:inset 0 -3px #dbbd79}
.section-jump button:hover{filter:brightness(1.12)}
.touch-mode .section-jump{margin:-12px -12px 10px;padding:7px 12px;top:-12px}.touch-mode .section-jump button{min-height:40px;font-size:10px}
.panel-section+.panel-section{margin-top:18px;padding-top:14px;border-top:1px solid #6f7d5555}
.book-tabs button.tab-help{flex:0 0 46px}.book-tabs button.tab-help span{display:none}.book-tabs button.tab-help canvas{opacity:.9}
.person-skills .book-actionbar{margin-top:10px}
.panel-section{scroll-margin-top:70px}
