/* Navigation that always fits (2026-11-21).
   Seven views no longer fit in one row in the wide Terminal font (German, 14 px: the header needs about 1380 px; with "Eigene" it overflowed up to 1345 px, and even before it from
   900 to 1250 px, so the page scrolled sideways). Three steps, nothing else of the header changes:
   1. 1001 to 1440 px: tighter gaps and side padding;
   2. up to 1300 px (small windows, tablets, phones): every view is a symbol, and the view that is open also shows its name, so the reader can tell which symbol is which without a tooltip;
   3. 761 to 1000 px: the two-row header of phones (brand and buttons above, navigation below) continues up to 1000 px, because the brand plus the buttons already fill a row there.
   The names stay in the page for screen readers (font-size 0 hides them visually only). On very narrow phones the row can still be swiped sideways (reader.css, 520 px).
   The symbols are drawn as masks in the colour of the text, so every design style and colour world keeps its own look. */

@media(min-width:1001px) and (max-width:1440px){
 :root:root:root .header-inner{gap:18px;padding-left:32px;padding-right:32px}
 :root:root:root .main-nav{gap:14px;margin-left:8px}
}

@media(min-width:761px) and (max-width:1000px){
 :root:root:root .app-header{height:108px}
 :root:root:root .header-inner{height:108px;flex-wrap:wrap;align-content:center;row-gap:4px;padding-left:24px;padding-right:24px}
 :root:root:root .main-nav{display:flex;order:3;flex:1 0 100%;justify-content:center;height:30px;margin:0;gap:14px}
 :root:root:root .control-deck{top:107px}
}

@media(max-width:1300px){
 :root:root .main-nav .nav-button{display:inline-flex;align-items:center;justify-content:center;gap:0;min-width:38px;padding-left:9px;padding-right:9px;font-size:0;letter-spacing:0;line-height:1}
 :root:root .main-nav .nav-button::before{content:'';flex:none;display:block;width:20px;height:20px;margin:0;background:currentColor;-webkit-mask:var(--nav-icon) center/contain no-repeat;mask:var(--nav-icon) center/contain no-repeat}
 :root:root .main-nav .nav-button.active{gap:8px;font-size:12.5px}
 :root:root .main-nav .nav-button[data-view=all]{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='7' rx='2'/%3E%3Crect x='4' y='14' width='16' height='7' rx='2'/%3E%3C/svg%3E")}
 :root:root .main-nav .nav-button[data-view=read]{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5.5C5.5 4.3 8.5 4.5 12 6.5c3.5-2 6.5-2.2 9-1V19c-2.5-1.2-5.5-1-9 1-3.5-2-6.5-2.2-9-1V5.5ZM12 6.5V20'/%3E%3C/svg%3E")}
 :root:root .main-nav .nav-button[data-view=seen]{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-6 10-6 10 6 10 6-3.6 6-10 6S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E")}
 :root:root .main-nav .nav-button[data-view=recommendations]{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.4 6.6L21 12l-6.6 2.4L12 21l-2.4-6.6L3 12l6.6-2.4L12 3Z'/%3E%3C/svg%3E")}
 :root:root .main-nav .nav-button[data-view=saved]{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v17l-6-4-6 4V4Z'/%3E%3C/svg%3E")}
 :root:root .main-nav .nav-button[data-view=games]{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 6h11A4.5 4.5 0 0 1 22 10.5v3.8a3.2 3.2 0 0 1-5.8 1.9L14.6 14H9.4l-1.8 2.2A3.2 3.2 0 0 1 2 14.3v-3.8A4.5 4.5 0 0 1 6.5 6Z'/%3E%3Cpath d='M7 10v3M5.5 11.5h3'/%3E%3Ccircle cx='15.5' cy='10.5' r='.9'/%3E%3Ccircle cx='17.8' cy='12.6' r='.9'/%3E%3C/svg%3E")}
 :root:root .main-nav .nav-button[data-view=own]{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9a2.8 2.8 0 0 0-4-4L4 16v4Z'/%3E%3Cpath d='m13.5 6.5 4 4'/%3E%3C/svg%3E")}
}
@media(max-width:520px){
 :root:root:root .main-nav{gap:3px}
 :root:root .main-nav .nav-button{min-width:32px;padding-left:6px;padding-right:6px}
}
@media(forced-colors:active) and (max-width:1300px){
 :root:root .main-nav .nav-button::before{background:ButtonText;forced-color-adjust:none}
 :root:root .main-nav .nav-button.active::before{background:Highlight}
}
