/* Lokalform · Betreiber-Zentrale (Pro-App). Nur Schwarz, Weiß, Grau. Wird nach styles.css geladen. */
.pro{position:relative;border:1px solid var(--line-2);border-radius:22px;background:var(--bg-2);overflow:clip;-webkit-tap-highlight-color:transparent;font-size:1rem;line-height:1.5;color:#fff}
.pro [hidden]{display:none!important}
.pro button{touch-action:manipulation;min-height:2.75rem;min-width:2.75rem}
.pro .inp{min-height:2.75rem;font-size:max(16px,1rem)}
.pro .btn{min-height:2.75rem;font-size:.95rem}
.pro .btn-s{min-height:2.75rem;padding:.4rem 1rem;font-size:.9rem}
.pro .chip{min-height:2.75rem}
.pro .chip[aria-pressed=true] small{color:#444}
.pro .chip:disabled{text-decoration:line-through;background:repeating-linear-gradient(135deg,transparent 0 6px,rgba(255,255,255,.08) 6px 7px)}
.pro .sw button{min-height:2.75rem;padding:.4rem 1.1rem}
.pro .stepper button{width:2.75rem;height:2.75rem}
.pro h2,.pro h3{text-wrap:balance}
.pro h3{font-size:1.1rem;letter-spacing:-.01em}
.pro .h4{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:var(--dim);margin:.4rem 0 0;font-weight:600}
.pro code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88em;overflow-wrap:anywhere}
.pro .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pro .lbl{font-size:.8rem;color:var(--mut);letter-spacing:.02em}
.pro .note{font-size:.84rem;color:var(--dim)}
.pro .mut{color:var(--mut)}
.pro .grow{flex:1 1 12rem;min-width:0}
.pro .ic{flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pro .ic circle[r="1.2"]{fill:currentColor}
.pro .empty{padding:.6rem 0}
.pro .warnb{border-style:dashed}
.pro .status.bad{font-weight:600;color:#fff;border:1px solid #fff;border-radius:12px;padding:.6rem .8rem;background:rgba(255,255,255,.08)}

/* Shell */
.pro-app{display:block}
.pro-shell{display:flex;flex-direction:column}
.pro-side{display:none}
.pro-main{display:flex;flex-direction:column;min-width:0}
.pro-top>*{min-width:0}
.pro-top{display:grid;grid-template-columns:minmax(0,1fr);gap:.6rem;padding:1rem 1rem .8rem;border-bottom:1px solid var(--line)}
.pro-top h2{font-size:clamp(1.5rem,6vw,1.9rem);line-height:1.1;letter-spacing:-.03em;outline:none}
.pro-top h2:focus,.pro-top h2:focus-visible{outline:none}
.pro-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem .9rem}
.pro-views{display:flex;align-items:center;gap:.6rem;min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
.pro-views::-webkit-scrollbar{display:none}
.pro-views .chips{flex-wrap:nowrap}
.pro-views .chip,.chips-scroll .chip{white-space:nowrap}
.pro-menuwrap{position:relative}
.pro-menu{position:absolute;right:0;top:calc(100% + .4rem);z-index:20;min-width:15.5rem;background:#111;border:1px solid var(--line-2);border-radius:14px;padding:.35rem;display:grid;box-shadow:0 18px 50px -10px #000}
.pro-menu button{text-align:left;padding:.5rem .8rem;border-radius:10px;font-size:.95rem}
.pro-menu .warnb{border:1px dashed var(--line-2);margin-top:.3rem}
.pro-hint{max-width:46rem}
.pro-body{padding:1rem 1rem 1.4rem;container:pro/inline-size;overscroll-behavior:contain}
.pro-body>*+*{margin-top:1rem}
.pro-body:focus{outline:none}
.pro-badge{display:inline-grid;place-items:center;min-width:1.35rem;height:1.35rem;padding:0 .4rem;border-radius:99px;background:#fff;color:#000;font-size:.72rem;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}

/* Untere Leiste (Handy): sticky im Container, überlagert nie den Footer */
.pro-tabs{position:sticky;bottom:0;z-index:30;display:flex;background:rgba(10,10,10,.97);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid var(--line-2);padding:0 .2rem env(safe-area-inset-bottom)}
.pro-tab{flex:1 1 0;min-width:0;min-height:3.6rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.1rem;position:relative;color:var(--mut);font-size:.72rem;letter-spacing:.01em;padding:.3rem .1rem;border-radius:12px;transition:color 160ms,transform 160ms cubic-bezier(.23,1,.32,1)}
.pro-tab:active{transform:scale(.95)}
.pro-tab .nl{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pro-tab[aria-current]{color:#fff;font-weight:600}
.pro-tab[aria-current]::before{content:"";position:absolute;top:0;left:22%;right:22%;height:3px;border-radius:0 0 3px 3px;background:#fff}
.pro-tab .pro-badge{position:absolute;top:.3rem;left:calc(50% + .45rem);min-width:1.1rem;height:1.1rem;font-size:.64rem;padding:0 .3rem}

/* Desktop */
@media (min-width:900px){
  .pro{border-radius:28px;height:min(86vh,900px);min-height:34rem}
  .pro-app,.pro-shell{height:100%}
  .pro-shell{display:grid;grid-template-columns:15.5rem minmax(0,1fr)}
  .pro-side{display:flex;flex-direction:column;gap:1rem;padding:1.1rem .7rem;border-right:1px solid var(--line);background:var(--bg);overflow:auto;overscroll-behavior:contain;min-height:0}
  .pro-brand{display:grid;gap:.2rem;padding:.2rem .6rem .6rem}
  .pro-nav{list-style:none;margin:0;padding:0;display:grid;gap:.15rem}
  .pro-link{display:flex;align-items:center;gap:.7rem;min-height:2.9rem;padding:.4rem .8rem;border-radius:12px;color:var(--mut);transition:background 160ms,color 160ms}
  .pro-link .nl{flex:1;min-width:0}
  .pro-link[aria-current]{background:#fff;color:#000;font-weight:600}
  .pro-link[aria-current] .pro-badge{background:#000;color:#fff}
  .pro-main{min-height:0}
  .pro-top{padding:1.1rem 1.5rem .9rem;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.4rem 1.5rem}
  .pro-tools{justify-content:flex-end}
  .pro-hint{grid-column:1/-1;margin-top:-.2rem}
  .pro-body{flex:1;min-height:0;overflow:auto;padding:1.3rem 1.5rem 1.8rem}
  .pro-tabs{display:none}
}
@media (hover:hover) and (pointer:fine){
  .pro-link:hover{color:#fff;background:rgba(255,255,255,.07)}
  .pro-link[aria-current]:hover{background:#fff;color:#000}
  .pro-menu button:hover,.more-i:hover{background:rgba(255,255,255,.1)}
  .kpi:hover,.kopen:hover,.rk:hover{border-color:#fff}
  .tg-free:hover{background:rgba(255,255,255,.1);color:#fff}
  .tb.free:hover{border-color:#fff}
  .pro-tab:hover{color:#fff}
  .nxt button:hover{background:rgba(255,255,255,.07)}
  .linkb:hover{text-decoration-thickness:2px}
}

/* Karten, Raster */
.pcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:1.1rem;display:grid;gap:.9rem;align-content:start;min-width:0}
.pcard>h3{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}
.pro-cols{display:grid;gap:1rem;grid-template-columns:minmax(0,1fr)}
.pro-body>.pro-cols{margin-top:1rem}
@container pro (min-width:720px){.pro-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.pcard.wide{grid-column:1/-1}}
.pro-hello .lead{font-size:1.6rem;color:#fff;letter-spacing:-.03em;font-weight:600;line-height:1.1}
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(8.5rem,1fr));gap:.7rem}
.kpi{text-align:left;border:1px solid var(--line-2);border-radius:var(--r);padding:.9rem;background:var(--surface);display:grid;gap:.15rem;align-content:space-between;min-height:6.6rem;min-width:0;transition:border-color 160ms,transform 160ms cubic-bezier(.23,1,.32,1)}
.kpi:active{transform:scale(.98)}
.kpi .big{font-size:clamp(1.4rem,5vw,1.8rem);overflow-wrap:anywhere}
.nxt,.log,.hist,.wl,.rvs,.rank,.dist,.setlist,.prods{list-style:none;margin:0;padding:0}
.nxt{display:grid;gap:.2rem}
.nxt button{display:flex;gap:.9rem;align-items:center;width:100%;text-align:left;padding:.4rem .5rem;border-radius:12px}
.nxt .tm{min-width:4.2rem;font-variant-numeric:tabular-nums;font-size:1.05rem}
.nxt small{font-size:.72rem}
.qa{display:flex;flex-wrap:wrap;gap:.6rem}
.chart svg{width:100%;max-width:34rem;height:auto;overflow:visible}
.cb{fill:#7a7a7a}.cb.now{fill:#fff}
.cv{fill:#fff;font-size:11px;font-variant-numeric:tabular-nums}
.cd{fill:#a9a9a9;font-size:10px}
.ax{stroke:rgba(255,255,255,.3);stroke-width:1}
.alt summary{min-height:2.75rem;display:flex;align-items:center;cursor:pointer;color:var(--mut);font-size:.92rem}
.log{display:grid;gap:.1rem}
.log li .badge{grid-column:2;justify-self:start}
.log li,.hist li{display:grid;grid-template-columns:5.4rem minmax(0,1fr);gap:.2rem .8rem;padding:.5rem 0;border-bottom:1px solid var(--line);align-items:baseline;overflow-wrap:anywhere}
.hist li{grid-template-columns:3.4rem minmax(0,1fr)}
.log li:last-child,.hist li:last-child{border-bottom:0}
.hist{max-height:14rem;overflow:auto;overscroll-behavior:contain}
.bar-row{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}
.chips-scroll{max-width:100%;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;padding:.15rem}
.chips-scroll::-webkit-scrollbar{display:none}
.chips-scroll .chips{flex-wrap:nowrap;width:max-content}
@container pro (min-width:720px){.chips-scroll{overflow:visible}.chips-scroll .chips{flex-wrap:wrap;width:auto}}
.statline{display:flex;flex-wrap:wrap;gap:.8rem 1.6rem;align-items:flex-end}
.statline .big{display:block;font-size:1.9rem}
.sechead{display:flex;flex-wrap:wrap;gap:.6rem 1rem;align-items:center;justify-content:space-between}
.field.inl{display:flex;align-items:center;gap:.6rem}
.field.inl .inp{width:auto;min-width:8.5rem}
.legend{display:flex;flex-wrap:wrap;gap:.3rem .6rem;align-items:center}
.sw-f,.sw-o{display:inline-block;width:.9rem;height:.9rem;border-radius:4px;border:1.5px solid #fff}
.sw-f{background:#fff}
.form{display:grid;gap:1rem}
.inl-form{display:flex;gap:.6rem;align-items:flex-end}
.dact{display:flex;gap:.6rem;justify-content:flex-end;flex-wrap:wrap;margin-top:.2rem}
.dact .btn{flex:1 1 7rem}
@media (min-width:700px){.dact .btn{flex:0 0 auto}}

/* Status-Marken: Form statt Farbe */
.pro-st{white-space:nowrap;font-size:.8rem;padding:.12rem .7rem;line-height:1.5}
.s-out{background:transparent}
.s-half{border-style:dashed;border-color:#fff;font-weight:600}
.s-full{background:#fff;color:#000;border-color:#fff;font-weight:600}
.s-done{color:var(--dim);border-color:var(--line)}
.s-hatch{background:repeating-linear-gradient(135deg,transparent 0 5px,rgba(255,255,255,.22) 5px 6px);border-style:dashed}
.s-strike{color:var(--dim);text-decoration:line-through;border-color:var(--line)}

/* Tabellen, auf schmalem Container als Karten */
.tbl{width:100%}
.tbl td.act{white-space:nowrap}
.tbl td.act .btn+.btn{margin-left:.4rem}
.tbl code{white-space:nowrap}
@container pro (max-width:719px){
  .tbl,.tbl tbody,.tbl tr,.tbl td{display:block}
  .tbl thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .tbl tr{border:1px solid var(--line-2);border-radius:14px;padding:.5rem .9rem;margin-bottom:.7rem;background:rgba(255,255,255,.03)}
  .tbl td{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;border:0;padding:.3rem 0;text-align:right;overflow-wrap:anywhere}
  .tbl td::before{content:attr(data-l);color:var(--dim);font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;text-align:left;flex:none}
  .tbl td.act{justify-content:flex-end;flex-wrap:wrap;padding-top:.5rem;white-space:normal;gap:.4rem}
  .tbl td.act::before{content:none}
  .tbl td.act .btn+.btn{margin-left:0}
  .tbl td .linkb{text-align:right}
}
.linkb{min-height:2.75rem;text-align:left;text-decoration:underline;text-underline-offset:3px}
.table{font-size:.92rem}
.table td small{font-size:.8rem}

/* Tischplan */
.plan{display:grid;grid-template-columns:repeat(auto-fill,minmax(8.4rem,1fr));gap:.6rem}
.tb{min-height:5.6rem;border-radius:14px;padding:.6rem .7rem;text-align:left;display:grid;align-content:start;gap:.05rem;border:1.5px solid var(--line-2);transition:transform 160ms cubic-bezier(.23,1,.32,1),border-color 160ms}
.tb:active{transform:scale(.97)}
.tb b{font-size:1.15rem}
.tb span{font-size:.8rem}
.tb.free{color:var(--mut)}
.tb.occ{background:#fff;color:#000;border-color:#fff}
.tb .who{overflow-wrap:anywhere;font-weight:600}
.wl li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.6rem;padding:.7rem 0;border-bottom:1px solid var(--line);align-items:center}
.wl li:last-child{border-bottom:0}
.act{display:flex;flex-wrap:wrap;gap:.4rem}

/* Terminraster */
.staffsel{display:grid;gap:.3rem}
.tg-wrap{overflow:auto;overscroll-behavior:contain;border:1px solid var(--line-2);border-radius:var(--r);background:var(--surface)}
@media (min-width:900px){.tg-wrap{max-height:min(38rem,62vh)}}
.tg{display:grid;grid-template-columns:3.4rem repeat(var(--cols,1),minmax(10rem,1fr));grid-template-rows:auto repeat(var(--rows,18),2.75rem);min-width:max-content;width:100%}
.tg-h{grid-row:1;grid-column:var(--c);position:sticky;top:0;z-index:4;background:#151515;padding:.6rem .6rem;font-weight:600;border-bottom:1px solid var(--line-2);border-left:1px solid var(--line)}
.tg-corner{grid-column:1;border-left:0}
.tg-t{grid-column:1;grid-row:var(--r);font-size:.74rem;color:var(--dim);padding:.25rem .4rem;border-top:1px solid var(--line);font-variant-numeric:tabular-nums}
.tg-free{grid-column:var(--c);grid-row:var(--r);border-top:1px solid var(--line);border-left:1px solid var(--line);border-radius:0;color:var(--dim);display:grid;place-items:center;font-size:1.3rem;min-height:2.75rem;transition:background 140ms}
.tg-free:active{background:rgba(255,255,255,.14)}
.tg-apt{grid-column:var(--c);grid-row:var(--r)/span var(--s,1);margin:2px 3px;border-radius:10px;padding:.3rem .55rem;text-align:left;overflow:hidden;z-index:1;display:flex;flex-direction:column;gap:0;font-size:.8rem;line-height:1.25;border:1.5px solid #fff;min-height:0;transition:transform 140ms cubic-bezier(.23,1,.32,1)}
.tg-apt:active{transform:scale(.98)}
.tg-apt .n{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tg-apt .v,.tg-apt .sv{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.85}
.tg-apt.s-out{background:#0e0e0e}
.tg-apt.s-full{background:#fff;color:#000}
.tg-apt.s-hatch,.tg-apt.s-strike{border-style:dashed;color:var(--mut)}
.tg-apt.off{border-color:var(--line-2)}
.facts2{display:grid;gap:.5rem;margin:0}
.facts2 div{display:grid;grid-template-columns:6rem 1fr;gap:.6rem;padding-bottom:.4rem;border-bottom:1px solid var(--line)}
.facts2 dt{color:var(--mut);font-size:.9rem}.facts2 dd{margin:0}

/* Shop */
.ocards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,19rem),1fr));gap:.8rem}
.ocard{border:1px solid var(--line-2);border-radius:var(--r);padding:1rem;background:var(--surface);display:grid;gap:.6rem;align-content:start;min-width:0}
.oh{display:flex;justify-content:space-between;gap:.6rem;align-items:center;flex-wrap:wrap}
.oi{list-style:none;margin:0;padding:0;display:grid;gap:.2rem;font-size:.92rem}
.oi li{display:flex;justify-content:space-between;gap:1rem}
.oi li span:first-child{overflow-wrap:anywhere}
.ot{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid var(--line);padding-top:.5rem;font-size:.92rem}
.prods{display:grid;gap:.7rem}
.prod-r{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;padding:1rem;border:1px solid var(--line);border-radius:var(--r);background:var(--surface);align-items:end}
.prod-r .pn{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:.2rem .8rem;align-items:center}
.prod-r.off .pn b::after{content:" (versteckt)";font-weight:400;color:var(--dim)}
.prod-r .pf{display:grid;gap:.25rem}
.prod-r .warnb{justify-self:start}
@container pro (min-width:720px){.prod-r{grid-template-columns:minmax(0,1.6fr) 7.5rem auto auto auto}.prod-r .pn{grid-column:auto;display:grid}}
.pp{text-align:right;font-variant-numeric:tabular-nums}
.tgl{width:3.6rem;height:2.75rem;display:grid;place-items:center}
.tgl i{display:block;width:3rem;height:1.6rem;border-radius:99px;border:1.5px solid #fff;position:relative;transition:background 160ms}
.tgl i::after{content:"";position:absolute;top:2px;left:2px;width:1.1rem;height:1.1rem;border-radius:50%;background:#fff;transition:transform 200ms cubic-bezier(.23,1,.32,1),background 160ms}
.tgl[aria-checked=true] i{background:#fff}
.tgl[aria-checked=true] i::after{transform:translateX(1.4rem);background:#000}
.notepre{font:.8rem/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre;overflow:auto;background:#fff;color:#000;border-radius:12px;padding:1rem;margin:0;max-width:100%}

/* Kanban */
.kchips{display:block}
.kanban{display:grid;grid-auto-flow:column;grid-auto-columns:86%;gap:.8rem;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding-bottom:.6rem}
.kcol{scroll-snap-align:start;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:.8rem;min-width:0;display:grid;align-content:start;gap:.7rem}
.kh{display:grid;gap:.1rem}
.kh h3{display:flex;gap:.5rem;align-items:center}
.klist{display:grid;gap:.6rem}
.kcard{border:1px solid var(--line-2);border-radius:14px;background:var(--bg-2);display:grid}
.kcard.lost{border-style:dashed}
.kcard.lost b{text-decoration:line-through}
.kopen{display:grid;gap:.15rem;text-align:left;padding:.8rem;border-radius:14px;width:100%;min-height:2.75rem;transition:border-color 160ms}
.kopen .kn{font-size:.88rem;overflow-wrap:anywhere}
.kopen span{font-size:.92rem;overflow-wrap:anywhere}
.kmove{display:grid;grid-template-columns:1fr 1fr;gap:.4rem;padding:0 .6rem .6rem}
.kmove .inp{grid-column:1/-1;order:3}
.kmove .inp{padding:.4rem .6rem;padding-right:1.8rem;background-position:calc(100% - 1rem) 50%,calc(100% - .65rem) 50%;font-size:max(16px,.9rem)}
@container pro (min-width:720px){.kchips{display:none}.kanban{grid-auto-columns:minmax(10.5rem,1fr);scroll-snap-type:none}}

/* Einlass */
.resbox{margin-top:.2rem}
.pro-res{border-radius:20px;padding:1.2rem;display:flex;gap:1rem;align-items:flex-start;outline:none;overflow-wrap:anywhere}
.pro-res:focus-visible{outline:2px solid #fff;outline-offset:3px}
.pro-res.idle{border:1px dashed var(--line-2);color:var(--mut);padding:1.2rem}
.pro-res.ok{background:#fff;color:#000}
.pro-res.no{background:repeating-linear-gradient(135deg,#000 0 8px,#1b1b1b 8px 9px);border:3px solid #fff;color:#fff}
.pro-res .sym{font-size:3.2rem;line-height:1;font-weight:700;flex:none;width:3.2rem;text-align:center}
.pro-res small{display:block;font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;font-weight:700;opacity:.7}
.pro-res b{display:block;font-size:1.55rem;letter-spacing:-.03em;line-height:1.15;margin-bottom:.3rem}
.pro-res p{font-size:.95rem}
.pro-res .btn{margin-top:.8rem}
.pro-res.ok .btn{border-color:#000;color:#000}
.pro-res.ok .btn-p{background:#000;color:#fff}
.pro .inp.code{font-size:1.4rem;letter-spacing:.08em;text-transform:uppercase;min-height:3.4rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.prog{display:grid;gap:.4rem}
.pro .bar{height:.7rem;border-radius:99px}
.pro .bar i{border-radius:99px}

/* Bewertungen, Stempel, Newsletter */
.avg{display:flex;align-items:baseline;gap:.8rem;flex-wrap:wrap}
.avg .big{font-size:3.4rem}
.stars{letter-spacing:.12em;font-size:1.2rem;white-space:nowrap}
.dist{display:grid;gap:.5rem}
.dist li{display:grid;grid-template-columns:2.4rem minmax(0,1fr) 2rem;gap:.6rem;align-items:center;font-size:.9rem;font-variant-numeric:tabular-nums}
.dist li b{text-align:right}
.rvlink{display:grid;gap:1rem;grid-template-columns:auto minmax(0,1fr);align-items:start}
.qrbox{width:7.6rem;height:7.6rem;background:#fff;border-radius:10px;overflow:hidden;display:grid;place-items:center;color:#000;font-size:.7rem;padding:0;text-align:center;overflow-wrap:anywhere}
.qrbox svg{width:100%;height:100%}
@media (max-width:420px){.rvlink{grid-template-columns:minmax(0,1fr)}}
.rvs{display:grid;gap:.7rem}
.rv-i{border:1px solid var(--line);border-radius:var(--r);padding:1rem;background:var(--surface);display:grid;gap:.5rem}
.rv-i .reply{border-left:2px solid #fff;padding-left:.8rem;color:var(--mut);font-size:.94rem}
.quote{margin:0;border-left:2px solid #fff;padding:.2rem 0 .2rem .9rem;color:var(--mut);overflow-wrap:anywhere}
.scard{border:1px solid var(--line-2);border-radius:20px;padding:1.2rem;display:grid;gap:.8rem;background:rgba(255,255,255,.03)}
.sname{font-size:1.3rem;font-weight:600;letter-spacing:-.02em;overflow-wrap:anywhere}
.stps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.6rem;max-width:24rem}
.stp{aspect-ratio:1;border-radius:50%;border:1.5px solid var(--line-2);display:grid;place-items:center;font-size:1rem;color:var(--dim);font-variant-numeric:tabular-nums}
.stp.on{background:#fff;color:#000;border-color:#fff;font-weight:700}
.rank{display:grid;gap:.3rem}
.rk{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"n b" "d d";gap:.1rem .8rem;width:100%;text-align:left;padding:.5rem .7rem;border-radius:12px;border:1px solid transparent}
.rk[aria-current]{border-color:#fff}
.rk .rn{grid-area:n;font-weight:600;overflow-wrap:anywhere}.rk b{grid-area:b}.rk .dots{grid-area:d;display:flex;gap:3px;flex-wrap:wrap}
.dots i{width:.55rem;height:.55rem;border-radius:50%;border:1px solid var(--line-2);display:inline-block}
.dots i.on{background:#fff;border-color:#fff}
.mailcard{background:#fff;color:#000;border-radius:16px;padding:1.1rem;display:grid;gap:.4rem;min-width:0}
.mh1{font-size:.85rem;color:#444;border-bottom:1px solid #ddd;padding-bottom:.35rem;overflow-wrap:anywhere}
.mh1 span{display:inline-block;min-width:3.8rem;color:#777}
.mh1 b{color:#000}
.mbody{white-space:pre-wrap;overflow-wrap:anywhere;padding-top:.6rem;color:#111;font-size:.95rem;min-height:6rem}
.setlist{display:grid}
.setlist li{display:flex;align-items:center;gap:.8rem;justify-content:space-between;flex-wrap:wrap;padding:.4rem 0;border-bottom:1px solid var(--line)}
.setlist li:last-child{border-bottom:0}

/* Dialog: Bottom-Sheet auf Handy, zentriert am Desktop */
.pro-dlg{border:1px solid var(--line-2);border-radius:24px;background:#0b0b0b;color:#fff;padding:0;width:min(36rem,calc(100% - 2rem));max-width:none;max-height:min(92dvh,52rem);margin:auto;overflow:hidden}
.pro-dlg[open]{display:flex;flex-direction:column;animation:pro-pop 200ms cubic-bezier(.23,1,.32,1)}
.pro-dlg::backdrop{background:rgba(0,0,0,.74);animation:pro-fade 200ms ease-out}
.pro-dlg .dw{display:flex;flex-direction:column;min-height:0;max-height:inherit;width:100%}
.pro-dlg .dh{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.1rem .6rem 1.3rem}
.pro-dlg .dh h3{font-size:1.25rem;overflow-wrap:anywhere}
.pro-dlg .x{border:1px solid var(--line-2);border-radius:50%;display:grid;place-items:center;flex:none}
.pro-dlg .db{overflow:auto;overscroll-behavior:contain;padding:.4rem 1.3rem calc(1.3rem + env(safe-area-inset-bottom))}
.pro-dlg .db>p{margin-bottom:1rem}
.pro-dlg.printable .dact{display:flex}
@media (max-width:699px){
  .pro-dlg{width:100%;margin:auto 0 0 0;border-radius:24px 24px 0 0;border-bottom:0;max-height:92dvh}
  .pro-dlg[open]{animation:pro-up 240ms cubic-bezier(.23,1,.32,1)}
  .pro-dlg .dh::before{content:"";position:absolute;left:50%;top:.5rem;width:2.4rem;height:4px;border-radius:4px;background:var(--line-2);transform:translateX(-50%)}
  .pro-dlg .dh{position:relative;padding-top:1.4rem}
}
@keyframes pro-up{from{transform:translateY(100%)}to{transform:none}}
@keyframes pro-pop{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
@keyframes pro-fade{from{opacity:0}to{opacity:1}}
.more-list{list-style:none;margin:0;padding:0;display:grid;gap:.3rem}
.more-i{display:flex;align-items:center;gap:.8rem;width:100%;min-height:3.2rem;padding:.4rem .9rem;border-radius:12px;font-size:1.05rem;text-align:left;color:var(--mut)}
.more-i span:first-of-type{flex:1}
.more-i[aria-current]{background:#fff;color:#000;font-weight:600}
.more-i[aria-current] .pro-badge{background:#000;color:#fff}

/* Toast */
.pro-toast{position:fixed;left:50%;bottom:calc(1.2rem + env(safe-area-inset-bottom));z-index:80;width:max-content;max-width:min(30rem,calc(100% - 2rem));transform:translate(-50%,16px);opacity:0;visibility:hidden;background:#fff;color:#000;border-radius:14px;padding:.8rem 1.1rem;font-weight:600;font-size:.95rem;box-shadow:0 18px 50px -10px #000;transition:opacity 200ms,transform 240ms cubic-bezier(.23,1,.32,1),visibility 0s 240ms;pointer-events:none}
.pro-toast.on{opacity:1;transform:translate(-50%,0);visibility:visible;transition:opacity 200ms,transform 240ms cubic-bezier(.23,1,.32,1),visibility 0s}
@media (max-width:899px){.pro-toast{bottom:calc(4.8rem + env(safe-area-inset-bottom))}}

@media (prefers-reduced-motion:reduce){
  .pro *,.pro-dlg,.pro-dlg::backdrop,.pro-toast{animation-duration:1ms!important;transition-duration:1ms!important}
  .pro-dlg[open]{animation:pro-fade 120ms linear}
}
@media print{
  body.pro-printing *{visibility:hidden}
  .pro-dlg.printable,.pro-dlg.printable *{visibility:visible}
  .pro-dlg.printable{position:fixed;inset:0;max-height:none;background:#fff;color:#000;border:0}
  .pro-dlg.printable .dact,.pro-dlg.printable .x{display:none}
}

.tg-apt.s1 .v,.tg-apt.s1 .sv{display:none}

@media (max-width:899px){
  .pro-top{grid-template-columns:minmax(0,1fr) auto;align-items:center}
  .pro-tools{display:contents}
  .pro-menuwrap{grid-column:2;grid-row:1}
  .pro-views{grid-column:1/-1;grid-row:2}
  .pro-hint{grid-row:3;grid-column:1/-1}
}

/* Handy: Ansicht-Auswahl schlanker, Hinweis ausblenden */
@media (max-width:719px){
  .pro-hint{display:none}
  .pro-views .lbl,.pro-views>span{flex:none}
}
