body:has(#tag) #tag {display:flex;flex-direction:column;min-height:100dvh;gap:1rem;box-sizing:border-box}
body:has(#tag) #tag>header {display:grid;grid-template-columns:1fr auto;align-content:start;min-height:0;padding:1rem;gap:.35rem 1rem}
#tag>header>small,#tag>header>h1,#tag>header>nav {grid-column:1}
body #tag>header>h1 {font-size:clamp(2rem,3.4vw,4rem);margin:0}
#tag .instrumente {grid-column:2;grid-row:1/5;text-align:right;align-self:start;padding:.6rem .85rem;background:rgb(14 20 26 / 76%);color:white;border-top:2px solid #efb64e;border-radius:3px;font: .92rem/1.45 system-ui}
.bordzeit {display:flex;align-items:center;justify-content:flex-end;gap:.65rem}
.bordzeit time {font:600 clamp(1.4rem,2.7vw,2.8rem)/1 monospace;font-variant-numeric:tabular-nums}
.bordzeit svg {width:2.8rem;fill:none;stroke:#eceeef;stroke-width:2}
.bordzeit line:last-child {stroke:#ffbc48;stroke-width:1.5}
body #tag .ortwahl {color:#ffcf79;text-decoration:underline;cursor:pointer;padding:.35rem}
body #tag>.tagesraster {margin:auto 1rem 0 auto;width:min(46rem,calc(100% - 2rem));align-items:start;gap:.5rem}
html body #tag .tagesraster>section {background:rgb(16 21 29 / 82%) !important;border-top:1px solid #d1a348;padding:.8rem;max-height:36vh;overflow:auto;color:#fff}
body #tag .tagesraster h2 {font-size:1.05rem;color:#ffcf79}
.bordmenue,.bordpanel {display:none}
@media(max-width:760px){
 body:has(.bordmenue) .album-shell>aside:is(.album-side,.nokavo-nav-spalte){display:none!important}
 body:has(.bordmenue) .album-shell {display:block!important}
 body:has(.bordmenue){padding-bottom:calc(4rem + env(safe-area-inset-bottom))}
 body #tag>header {padding:.65rem!important;gap:.25rem;grid-template-columns:minmax(0,1fr) auto}
 #tag .instrumente{max-width:49vw;font-size:.75rem;padding:.45rem}
 .bordzeit svg{width:1.7rem}
 body #tag>.tagesraster{width:auto;margin:auto .65rem 0;grid-template-columns:1fr}
 html body #tag .tagesraster>section{max-height:30vh}
 .bordmenue,.bordpanel {position:fixed;z-index:200;background:#151b22;color:white;font:1rem/1.35 system-ui}
 .bordmenue {display:flex;bottom:0;left:0;right:0;overflow-x:auto;touch-action:pan-x;gap:.25rem;padding:.35rem .5rem calc(.35rem + env(safe-area-inset-bottom));border-top:1px solid #bd9147}
 .bordmenue :is(a,button),.bordpanel :is(a,button){font:inherit;color:white;background:transparent;border:0;text-decoration:none;padding:.65rem;min-height:44px;box-sizing:border-box}
 .bordmenue>*{flex:none;white-space:nowrap}
 .bordmenue button[aria-expanded=true],.bordpanel strong{color:#ffca65}
 .bordpanel:not([hidden]){display:grid;grid-template-columns:1fr auto;left:.5rem;right:.5rem;bottom:calc(3.8rem + env(safe-area-inset-bottom));max-height:55dvh;overflow:auto;padding:.6rem;border:1px solid #786441;border-radius:.4rem}
 .bordpanel strong{align-self:center;padding-left:.65rem}
 .bordpanel a{grid-column:1/-1;border-top:1px solid #38424d}
}
