/* PokerCTRL App Shell v1.4.0 – UI-Demo, ohne Netzwerk-/Backend-Zugriffe.
   Bewährtes Login-Design v1.1.1 bleibt in login.css.
   CSS bewusst komponentenbezogen (pc-), um Kollisionen zu vermeiden. */
@font-face{font-family:PokerOrbitron;src:url('../assets/fonts/Orbitron-Bold.woff2') format('woff2');font-weight:700;font-display:swap}
:root{--pc-gold:#c9a25d;--pc-gold-light:#edd3a2;--pc-line:rgba(201,162,93,.29);--pc-ink:#f2ede4;--pc-muted:#b7ad9e;--pc-panel:rgba(7,8,9,.73)}
html{overscroll-behavior:none}
body{touch-action:manipulation;overflow-x:hidden}
button,a,select,input{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.pc-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.pc-login-view{position:relative;z-index:2;will-change:transform,opacity;transition:opacity .94s cubic-bezier(.22,1,.36,1),transform .94s cubic-bezier(.22,1,.36,1)}
.pc-login-view.is-leaving{opacity:0;transform:translate3d(-18vw,0,0) scale(.97);pointer-events:none}
.pc-login-view[hidden]{display:none!important}
.pc-enter-demo{margin:9px auto 0;display:block;background:none;border:none;color:var(--pc-gold-light);text-decoration:underline;text-underline-offset:4px;font-size:11px;padding:8px 12px;cursor:pointer}
.pc-icon-defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.pc-glyph{width:20px;height:20px;stroke:currentColor;stroke-width:1.75;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.pc-app{position:fixed;inset:0;z-index:3;display:grid;grid-template-rows:auto auto minmax(0,1fr);height:100vh;height:100dvh;width:100%;overflow:hidden;color:var(--pc-ink);padding-top:env(safe-area-inset-top);padding-right:env(safe-area-inset-right);padding-left:env(safe-area-inset-left);background:linear-gradient(90deg,rgba(0,0,0,.48),rgba(0,0,0,.15));opacity:0;transform:translate3d(15vw,0,0) scale(.985);transition:opacity .94s cubic-bezier(.22,1,.36,1),transform .94s cubic-bezier(.22,1,.36,1);pointer-events:none}
.pc-app.is-active{opacity:1;transform:translate3d(0,0,0) scale(1);pointer-events:auto}
.pc-app[hidden]{display:none!important}
.pc-topbar{height:72px;min-height:72px;width:100%;padding:7px clamp(16px,4vw,48px);display:flex;align-items:center;justify-content:space-between;position:relative;z-index:5;background:linear-gradient(180deg,rgba(3,3,3,.85),rgba(3,3,3,.46));border-bottom:1px solid var(--pc-line);gap:15px}
.pc-identity{height:100%;display:flex;align-items:center;gap:15px;min-width:0}
.pc-header-logo{display:block;object-fit:contain;object-position:left center;width:auto;height:58px;max-width:min(220px,50vw);filter:drop-shadow(0 4px 14px rgba(0,0,0,.65))}
.pc-subtitle{color:#baa780;font-size:11px;white-space:nowrap}
.pc-top-actions{display:flex;align-items:center;gap:14px}
.pc-demo-flag,.pc-pill{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--pc-line);border-radius:999px;padding:5px 10px;color:#d9c39d;font-size:11px;white-space:nowrap;background:rgba(21,18,14,.58)}
.pc-profile-button{display:flex;align-items:center;gap:8px;background:rgba(22,20,17,.75);border:1px solid var(--pc-line);color:var(--pc-gold-light);border-radius:13px;padding:10px 12px;font-weight:650;font-size:13px;min-height:42px}
.pc-profile-menu{position:absolute;right:clamp(16px,4vw,48px);top:65px;width:min(290px,calc(100vw - 30px));z-index:8;background:#13110f;box-shadow:0 15px 40px #000;border:1px solid var(--pc-line);border-radius:14px;padding:17px}
.pc-profile-menu[hidden]{display:none!important}
.pc-profile-menu p{margin:0 0 9px;font-size:12px;color:var(--pc-muted)}.pc-profile-menu strong{display:block;color:var(--pc-ink);font-size:17px;margin-top:3px}.pc-profile-menu .pc-profile-note{line-height:1.4}
.pc-profile-menu button{display:flex;align-items:center;gap:8px;color:var(--pc-gold-light);background:none;border:1px solid var(--pc-line);border-radius:9px;padding:10px;width:100%;margin-top:15px}
.pc-profile-menu button[hidden]{display:none!important}
.pc-profile-menu #adminMenuButton{background:linear-gradient(110deg,rgba(201,162,93,.16),rgba(201,162,93,.045));border-color:rgba(201,162,93,.43);font-weight:650}
.pc-profile-menu #logoutButton{margin-top:9px}
.pc-profile-menu button:disabled{opacity:.5;cursor:progress}
.pc-nav{height:51px;min-height:51px;display:flex;justify-content:center;align-items:stretch;gap:clamp(6px,2vw,22px);padding:0 12px;background:rgba(3,3,3,.79);border-bottom:1px solid var(--pc-line);z-index:4}
.pc-nav-item{display:flex;align-items:center;justify-content:center;gap:8px;min-width:clamp(124px,14vw,180px);padding:0 14px;border:0;border-bottom:2px solid transparent;background:transparent;color:#b3a894;font-weight:570;font-size:13px;transition:color .2s,border-color .2s}.pc-nav-item .pc-glyph{width:17px;height:17px}
.pc-nav-item.active{color:var(--pc-gold-light);border-color:var(--pc-gold)}.pc-nav-item:focus-visible{outline:2px solid var(--pc-gold-light);outline-offset:-5px}
.pc-workspace{min-height:0;min-width:0;overflow:hidden;padding:clamp(9px,2vh,22px) clamp(12px,3vw,44px) max(12px,env(safe-area-inset-bottom));width:min(100%,1480px);margin:0 auto}
.pc-view{height:100%;min-height:0;min-width:0;display:flex;flex-direction:column;gap:12px;animation:pc-fade-in .23s ease-out both}
.pc-view[hidden]{display:none!important}
@keyframes pc-fade-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
.pc-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;flex-shrink:0}
.pc-section-heading h2,.pc-chat-bar h2{font-family:PokerOrbitron,'Segoe UI',Arial,sans-serif;font-size:clamp(20px,2.5vw,27px);font-weight:700;margin:2px 0 0;color:var(--pc-ink)}
.pc-overline{font-size:11px;margin:0;color:var(--pc-gold-light)}
.pc-postertype,.pc-switch-label{display:flex;align-items:center;gap:9px;color:var(--pc-muted);font-size:11px;white-space:nowrap}
.pc-postertype select,.pc-switch-label select{max-width:160px;min-width:100px;color:var(--pc-ink);background:rgba(11,11,11,.83);border:1px solid var(--pc-line);border-radius:9px;padding:9px 7px;font-size:12px;outline-offset:2px}
.pc-current-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(260px,.74fr);align-items:stretch;gap:clamp(12px,2vw,25px);min-height:0;flex:1}
.pc-poster-panel,.pc-poster-details,.pc-tile,.pc-vote-card,.pc-empty-state,.pc-message-list{border:1px solid var(--pc-line);background:var(--pc-panel);border-radius:17px;box-shadow:0 18px 54px rgba(0,0,0,.28);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.pc-poster-panel{padding:clamp(8px,1.3vw,16px);display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:hidden}
.pc-poster-button{position:relative;border:0;background:transparent;padding:0;height:100%;width:100%;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;cursor:zoom-in}
.pc-poster-button img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;min-height:0;object-fit:contain;box-shadow:0 5px 28px #000;aspect-ratio:9/16}
.pc-poster-zoom{position:absolute;bottom:10px;right:10px;background:rgba(0,0,0,.88);border:1px solid var(--pc-line);border-radius:10px;padding:8px 10px;display:flex;align-items:center;gap:7px;color:var(--pc-gold-light);font-size:11px}.pc-poster-zoom .pc-glyph{width:14px;height:14px}
.pc-poster-details{min-height:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(18px,3vw,42px);gap:16px}
.pc-poster-details h3{font-family:PokerOrbitron,Arial,sans-serif;font-size:clamp(23px,3vw,36px);margin:0;line-height:1.3}
.pc-poster-details>p{font-size:clamp(13px,1.25vw,17px);line-height:1.55;margin:0;color:#e0d4be}
.pc-detail-sep{height:1px;width:100%;background:linear-gradient(90deg,var(--pc-line),transparent)}
.pc-mini-stat{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px}.pc-mini-stat span{color:var(--pc-muted)}.pc-mini-stat strong{font-size:12px;font-weight:580;text-align:right}
.pc-note{font-size:11px;line-height:1.55;color:#b3a591;max-width:400px}
.pc-secondary-btn,.pc-danger-btn{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--pc-line);color:var(--pc-gold-light);background:rgba(201,162,93,.08);padding:12px 18px;border-radius:10px;font-size:12px;min-height:44px}.pc-secondary-btn:hover{background:rgba(201,162,93,.2)}.pc-secondary-btn .pc-glyph{width:16px;height:16px}
.pc-overview-grid{flex:1;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:clamp(10px,1.7vw,18px)}
.pc-tile{min-width:0;min-height:0;padding:clamp(12px,2.5vw,29px);display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:7px;overflow:hidden}
.pc-tile-head{display:flex;align-items:center;gap:9px;color:var(--pc-gold-light);font-size:13px;font-weight:650;margin-bottom:2px}.pc-tile-head .pc-glyph{width:18px;height:18px}
.pc-tile strong{font-size:clamp(15px,2.3vw,25px);font-weight:650;line-height:1.25}
.pc-tile p{margin:0;font-size:clamp(11px,1.1vw,13px);color:var(--pc-muted);line-height:1.45}
.pc-tile .pc-date{font-family:PokerOrbitron,Arial,sans-serif;font-size:clamp(19px,3vw,38px);color:var(--pc-gold-light)}
.pc-state{font-size:10px;color:#dbc699;border:1px solid var(--pc-line);border-radius:999px;padding:5px 8px}
.pc-text-action{display:flex;align-items:center;gap:7px;background:none;border:0;padding:3px 0;color:var(--pc-gold-light);font-size:12px}.pc-text-action .pc-glyph{width:15px;height:15px}
.pc-winner{display:flex;align-items:center;gap:12px}.pc-winner strong{display:block;font-size:clamp(19px,3vw,31px);color:var(--pc-gold-light)}.pc-winner small{display:block;font-size:11px;color:var(--pc-muted)}.pc-medal{display:grid;place-items:center;width:45px;height:45px;border:1px solid var(--pc-gold);border-radius:50%;background:linear-gradient(130deg,#e9bc72,#7a5225);color:#100c07;font-family:PokerOrbitron,Arial,sans-serif;font-size:22px;font-weight:800}
.pc-danger-btn{width:100%;background:rgba(146,54,49,.14);border-color:rgba(213,101,94,.7);color:#f6b1a7}.pc-danger-btn:hover{background:rgba(213,101,94,.23)}
.pc-vote-body{flex:1;display:flex;align-items:center;justify-content:center;min-height:0;overflow:auto;overscroll-behavior:contain}
.pc-empty-state,.pc-vote-card{width:min(100%,640px);padding:clamp(23px,4vw,50px);text-align:center}
.pc-empty-symbol{width:75px;height:75px;display:grid;place-items:center;margin:0 auto 20px;color:var(--pc-gold);font-size:63px;line-height:1;background:radial-gradient(circle,rgba(201,162,93,.16),transparent 70%)}
.pc-empty-state h3,.pc-vote-card h3{font-family:PokerOrbitron,Arial,sans-serif;font-size:clamp(19px,2.6vw,28px);margin:12px 0}
.pc-empty-state p,.pc-vote-card p{color:var(--pc-muted);line-height:1.55;font-size:clamp(12px,1.3vw,15px)}
.pc-empty-state .pc-pill{margin-top:8px}
.pc-vote-card{text-align:left;max-height:100%;overflow:auto;overscroll-behavior:contain}
.pc-vote-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.pc-vote-counter{font-size:11px;color:var(--pc-muted)}
.pc-vote-options{display:grid;gap:8px;margin:22px 0}.pc-vote-options button{border:1px solid var(--pc-line);border-radius:12px;background:rgba(255,255,255,.035);color:var(--pc-ink);font-size:14px;text-align:left;display:flex;justify-content:space-between;align-items:center;min-height:49px;padding:12px 16px;gap:12px}.pc-vote-options button span{color:var(--pc-gold-light);font-size:11px}.pc-vote-options button.selected{border-color:var(--pc-gold);background:rgba(201,162,93,.16)}
.pc-vote-results{display:grid;gap:20px;margin:26px 0}.pc-vote-results>div{display:grid;grid-template-columns:1fr auto;gap:9px;font-size:13px}.pc-vote-results b{color:var(--pc-gold-light)}.pc-vote-results i{grid-column:1/-1;height:8px;border-radius:50px;background:linear-gradient(90deg,var(--pc-gold) var(--percent),rgba(255,255,255,.12) var(--percent));display:block}
.pc-chat{gap:0}.pc-chat-bar{display:flex;align-items:center;justify-content:space-between;min-height:50px;flex-shrink:0;margin-bottom:10px;gap:8px}
.pc-message-list{min-height:0;flex:1;overflow:auto;padding:clamp(12px,2vw,25px);display:flex;flex-direction:column;gap:13px;overscroll-behavior:contain}
.pc-day-label{text-align:center;font-size:11px;color:var(--pc-muted);margin:0 0 4px}
.pc-message{max-width:min(75%,510px);align-self:flex-start;padding:13px 16px;background:#1c1a18;border:1px solid rgba(201,162,93,.17);border-radius:15px 15px 15px 4px}.pc-message.pc-own{align-self:flex-end;background:rgba(81,60,34,.81);border-color:rgba(201,162,93,.33);border-radius:15px 15px 4px 15px}
.pc-message span{display:block;font-size:12px;font-weight:700;color:var(--pc-gold-light)}.pc-message time{font-size:10px;font-weight:400;color:var(--pc-muted);margin-left:7px}.pc-message p{margin:6px 0 0;font-size:clamp(13px,1.2vw,15px);line-height:1.45;overflow-wrap:anywhere;white-space:pre-wrap}
.pc-chat-compose{display:flex;gap:9px;padding-top:12px;flex-shrink:0}.pc-chat-compose input{flex:1;min-width:0;min-height:49px;border-radius:13px;border:1px solid var(--pc-line);background:#151413;color:var(--pc-ink);font-size:16px;padding:0 16px;outline-offset:2px}.pc-chat-compose button{min-width:51px;border:0;background:var(--pc-gold);color:#15100a;border-radius:13px}.pc-chat-compose button .pc-glyph{width:23px;height:23px}.pc-chat-note{text-align:center;color:var(--pc-muted);font-size:10px;padding:6px 0 1px}
.pc-modal{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.96);display:flex;align-items:center;justify-content:center;padding:clamp(12px,3vh,32px) clamp(12px,3vw,48px)}.pc-modal[hidden]{display:none!important}.pc-modal img{max-height:100%;max-width:100%;object-fit:contain;border:1px solid var(--pc-line);border-radius:6px}.pc-close-modal{position:absolute;z-index:2;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));display:grid;place-items:center;background:rgba(22,19,17,.95);color:var(--pc-gold-light);border:1px solid var(--pc-line);border-radius:12px;width:44px;height:44px}
.pc-toast{position:fixed;z-index:60;bottom:calc(90px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#201a13;color:var(--pc-gold-light);border:1px solid var(--pc-gold);border-radius:12px;padding:13px 19px;font-size:13px;box-shadow:0 15px 44px #000;max-width:calc(100vw - 28px);text-align:center}.pc-toast[hidden]{display:none!important}
/* Smartphone: Topbar, Workspace und fixe Navigation. Nur natürliche Langinhalte scrollen intern. */
@media(max-width:649px){
  .pc-app{grid-template-rows:auto minmax(0,1fr) auto;padding-bottom:env(safe-area-inset-bottom)}
  .pc-topbar{height:65px;min-height:65px;padding:5px 15px}.pc-header-logo{height:51px}.pc-subtitle,.pc-demo-flag{display:none}.pc-profile-button{min-height:39px;padding:8px 10px}.pc-profile-button span{max-width:75px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pc-profile-menu{top:60px;right:12px}
  .pc-nav{grid-row:3;min-height:63px;height:63px;gap:0;justify-content:space-around;padding:0 2px;background:rgba(7,7,7,.96);border-top:1px solid var(--pc-line);border-bottom:0}
  .pc-nav-item{min-width:0;flex:1;flex-direction:column;gap:4px;font-size:10px;padding:7px 1px;border:0;border-top:2px solid transparent}.pc-nav-item .pc-glyph{width:22px;height:22px}.pc-nav-item.active{border-top-color:var(--pc-gold)}
  .pc-workspace{grid-row:2;padding:9px 10px 9px}.pc-view{gap:7px}.pc-section-heading{min-height:44px}.pc-section-heading h2{font-size:20px}.pc-overline{font-size:10px}.pc-postertype,.pc-switch-label{font-size:0;gap:0}.pc-postertype select,.pc-switch-label select{font-size:11px;max-width:146px;padding:8px 6px;min-width:0}
  .pc-current-grid{display:flex;flex-direction:column;gap:0}.pc-poster-panel{flex:1;min-height:0;padding:6px;border-radius:13px}.pc-poster-details{display:none}.pc-poster-zoom{right:9px;bottom:8px;font-size:10px;padding:7px}.pc-poster-button img{max-height:100%;max-width:100%}
  .pc-overview-grid{gap:9px}.pc-tile{padding:11px 12px;gap:7px;border-radius:13px}.pc-tile-head{font-size:12px;gap:6px}.pc-tile-head .pc-glyph{width:16px;height:16px}.pc-tile strong{font-size:clamp(14px,4vw,19px)}.pc-tile .pc-date{font-size:clamp(18px,5vw,24px)}.pc-tile p{font-size:11px;line-height:1.35}.pc-state{font-size:9px}.pc-winner{gap:7px}.pc-medal{width:33px;height:33px;font-size:16px}.pc-winner small{font-size:9px}.pc-text-action{font-size:11px}.pc-danger-btn{font-size:11px;min-height:42px;padding:7px}
  .pc-vote-body{min-height:0}.pc-vote-card,.pc-empty-state{padding:22px 17px}.pc-empty-symbol{width:65px;height:65px;font-size:55px;margin-bottom:11px}
  .pc-chat-bar{min-height:44px}.pc-message-list{padding:13px 10px}.pc-message{max-width:88%;padding:10px 12px}.pc-chat-compose{padding-top:8px}.pc-chat-compose input{min-height:46px}.pc-chat-compose button{min-width:47px}.pc-chat-note{font-size:9px}
}
/* Tablets quer/PC: reduzierte Sidecards, niemals Poster zerschneiden */
@media (min-width:650px) and (max-width:1050px){.pc-current-grid{grid-template-columns:minmax(0,1.05fr) minmax(210px,.75fr)}.pc-poster-details{padding:18px}.pc-poster-details h3{font-size:24px}.pc-subtitle{display:none}}
/* Sehr kleine Bildschirmhöhen: Freiraum minimieren, statt Bedienelemente abzuscheiden */
@media(max-height:700px){.pc-topbar{height:57px;min-height:57px}.pc-header-logo{height:47px}.pc-nav{height:45px;min-height:45px}.pc-workspace{padding-top:5px;padding-bottom:5px}.pc-view{gap:5px}.pc-section-heading,.pc-chat-bar{min-height:37px}.pc-overview-grid{gap:6px}.pc-tile{padding:8px 11px;gap:4px}.pc-tile p{font-size:10px}.pc-vote-card,.pc-empty-state{padding:16px}.pc-vote-options{margin:10px 0;gap:6px}.pc-vote-options button{min-height:41px;padding:7px 11px}.pc-message-list{padding:9px}.pc-chat-compose{padding-top:5px}}
@media(max-width:649px) and (max-height:700px){.pc-app{grid-template-rows:auto minmax(0,1fr) auto}.pc-nav{height:55px;min-height:55px}.pc-section-heading h2{font-size:18px}.pc-tile strong{font-size:13px}.pc-tile .pc-date{font-size:17px}.pc-tile p{font-size:10px}.pc-state{font-size:8px;padding:4px 6px}.pc-winner small{display:none}}
@media(min-width:650px) and (orientation:portrait){.pc-current-grid{grid-template-columns:minmax(0,1fr) minmax(210px,.7fr)}.pc-poster-details .pc-note{display:none}}
@media(prefers-reduced-motion:reduce){.pc-login-view,.pc-app,.pc-view{animation:none!important;transition:none!important}}
/* Extrem kurze Querformate: Karten dürfen INTERN scrollen, damit kein Button abgeschnitten wird. */
@media (orientation:landscape) and (max-height:450px){
  .pc-overview-grid{overflow-y:auto;overscroll-behavior:contain;grid-template-rows:none;grid-auto-rows:minmax(155px,auto);align-content:start;padding-bottom:2px}
  .pc-tile{overflow:visible;min-height:155px;justify-content:space-between}
  .pc-tile p{line-height:1.25}
}

/* PokerCTRL – elegante Textnavigation unter dem Header, auch mobil. */
.pc-nav-item .pc-glyph{display:none}
.pc-nav-item{min-width:min(17vw,180px);gap:0}
.pc-nav[hidden],.pc-admin-exit[hidden]{display:none!important}
.pc-admin-exit{background:rgba(28,23,17,.82);border:1px solid var(--pc-line);border-radius:10px;color:var(--pc-gold-light);padding:9px 13px;font-size:12px;cursor:pointer;white-space:nowrap}
.pc-admin-view{gap:0;overflow:hidden}
.pc-admin-view iframe{border:0;background:transparent;width:100%;height:100%;display:block;border-radius:12px}
.pc-in-admin{grid-template-rows:auto minmax(0,1fr)}
.pc-in-admin .pc-workspace{height:100%;padding:10px clamp(9px,2vw,22px) max(9px,env(safe-area-inset-bottom))}
.pc-in-admin #view-admin{height:100%}
@media(max-width:649px){
  .pc-app{grid-template-rows:auto auto minmax(0,1fr);padding-bottom:0}
  .pc-nav{grid-row:2;min-height:43px;height:43px;gap:0;padding:0 7px;justify-content:space-between;border-top:0;border-bottom:1px solid var(--pc-line);background:rgba(5,5,5,.78)}
  .pc-nav-item{min-width:0;flex:1;flex-direction:row;font-size:clamp(10px,2.85vw,12px);font-weight:600;gap:0;padding:0 2px;border:0;border-bottom:2px solid transparent;white-space:nowrap}
  .pc-nav-item.active{border-top-color:transparent;border-bottom-color:var(--pc-gold)}
  .pc-workspace{grid-row:3;padding-top:7px}
  .pc-in-admin{grid-template-rows:auto minmax(0,1fr)}
  .pc-in-admin .pc-workspace{grid-row:2;padding:6px 6px max(6px,env(safe-area-inset-bottom))}
  .pc-top-actions{gap:7px}.pc-admin-exit{font-size:11px;padding:8px 9px}
}
@media(max-width:649px) and (max-height:700px){.pc-nav{min-height:39px;height:39px}}

/* PokerCTRL v1.4.0 – ein Footer für alle Inhalte, keine fixen Poster. */
.pc-app{grid-template-rows:auto auto minmax(0,1fr) auto}
.pc-shell-footer{grid-row:4;flex-shrink:0;text-align:center;color:var(--pc-gold-light);font-size:clamp(8px,.85vw,11px);padding:8px 10px calc(8px + env(safe-area-inset-bottom));border-top:1px solid rgba(201,162,93,.18);background:rgba(2,2,2,.48);text-transform:uppercase;letter-spacing:.16em;line-height:1.4}
.pc-in-admin{grid-template-rows:auto minmax(0,1fr) auto}
.pc-in-admin .pc-workspace{grid-row:2}
.pc-in-admin .pc-shell-footer{grid-row:3}
.pc-current{position:relative}
.pc-news-grid{display:grid;flex:1;min-height:0;min-width:0;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);grid-template-rows:minmax(0,1fr) minmax(0,1.04fr);gap:clamp(8px,1.4vw,17px)}
.pc-news-hero,.pc-news-info,.pc-news-highlight{border:1px solid var(--pc-line);border-radius:17px;background:rgba(8,9,9,.69);box-shadow:0 12px 35px rgba(0,0,0,.26);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);min-width:0;min-height:0;overflow:hidden}
.pc-news-hero{grid-row:1/3;display:flex;flex-direction:column;justify-content:space-between;gap:15px;padding:clamp(19px,3.1vw,46px);position:relative;background:linear-gradient(150deg,rgba(21,16,11,.78),rgba(6,7,8,.56) 68%,rgba(10,9,9,.8));}
.pc-news-hero:before{content:'♠';position:absolute;right:5%;top:12%;font-size:clamp(100px,17vw,260px);opacity:.045;color:var(--pc-gold);pointer-events:none}
.pc-news-hero-top,.pc-news-hero-foot{display:flex;justify-content:space-between;gap:12px;align-items:center}
.pc-news-tag{display:inline-flex;align-items:center;gap:9px;border:1px solid var(--pc-line);border-radius:30px;padding:7px 11px;color:var(--pc-gold-light);font-size:12px}
.pc-gold-dot{height:7px;width:7px;border-radius:50%;background:var(--pc-gold);box-shadow:0 0 13px var(--pc-gold)}
.pc-news-subtle,.pc-small-note,.pc-news-hint{font-size:10px;color:var(--pc-muted)}
.pc-news-kicker{color:var(--pc-gold-light)!important;font-size:clamp(13px,1.45vw,19px)!important;margin-bottom:9px!important}
.pc-news-hero-middle{position:relative;z-index:1}
.pc-news-hero h3{font-family:PokerOrbitron,Arial,sans-serif;font-size:clamp(21px,3.2vw,43px);line-height:1.19;margin:0 0 15px;color:var(--pc-ink)}
.pc-news-hero p{margin:0;font-size:clamp(12px,1.35vw,17px);line-height:1.5;color:#d9cfbd}
.pc-news-hero-foot{border-top:1px solid var(--pc-line);padding-top:16px;position:relative;z-index:1}
.pc-news-hero-foot>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.pc-news-hero-foot small{color:var(--pc-muted);font-size:11px}.pc-news-hero-foot strong{font-size:clamp(15px,1.8vw,21px);color:var(--pc-gold-light)}
.pc-news-button{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(201,162,93,.6);background:rgba(201,162,93,.12);color:var(--pc-gold-light);border-radius:10px;padding:11px 13px;min-height:42px;white-space:nowrap;cursor:pointer;font-size:12px}
.pc-news-button .pc-glyph,.pc-news-photo-action .pc-glyph{height:16px;width:16px}
.pc-news-info,.pc-news-highlight{display:flex;flex-direction:column;padding:clamp(13px,1.7vw,23px);gap:10px}
.pc-news-head,.pc-news-head>div{display:flex;align-items:center;gap:9px}.pc-news-head{justify-content:space-between}
.pc-news-head h3{font-family:PokerOrbitron,Arial,sans-serif;font-size:clamp(13px,1.45vw,19px);margin:0;color:var(--pc-gold-light)}
.pc-news-head .pc-glyph{width:18px;height:18px;color:var(--pc-gold)}
.pc-news-info-body{overflow:auto;min-height:0;flex:1;overscroll-behavior:contain}
.pc-news-info h4{font-size:clamp(13px,1.4vw,18px);margin:6px 0 8px}
.pc-news-info p,.pc-news-highlight p{font-size:clamp(11px,1.1vw,14px);line-height:1.5;color:#d2c9bc;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.pc-news-hint{margin-top:auto}
.pc-news-highlight-inner{display:flex;flex:1;min-height:0;align-items:center;gap:13px;overflow:auto;overscroll-behavior:contain}
.pc-news-highlight-inner p{max-width:140px}
.pc-board{display:flex;align-items:center;justify-content:center;gap:clamp(3px,.45vw,6px);flex:1;min-width:0}
.pc-board>span{flex:0 1 53px;min-width:0;aspect-ratio:.72;max-height:90px;border:1px solid #d8bd8a;border-radius:5px;background:linear-gradient(148deg,#fffdf7,#ded7c7);color:#181713;box-shadow:0 4px 8px #0008;display:flex;align-items:center;justify-content:center;gap:2px;font-family:Georgia,serif;font-weight:bold;font-size:clamp(15px,2.2vw,29px)}
.pc-board>span.red{color:#bc2934}.pc-board small{font-size:.65em}
.pc-news-photo-action,.pc-birthday-preview-link{border:0;background:none;color:var(--pc-gold-light);padding:4px 0;text-align:left;font-size:11px;cursor:pointer;display:inline-flex;align-items:center;gap:7px}
.pc-birthday-preview-link{align-self:flex-end;color:var(--pc-muted);padding:0;margin:0;line-height:1.2;font-size:10px}
.pc-photo-modal figure{margin:0;display:flex;flex-direction:column;gap:10px;align-items:center;max-height:100%;min-height:0}
.pc-photo-modal figure img{min-height:0;max-height:min(80dvh,900px);max-width:min(100%,1000px);border-radius:11px}
.pc-photo-modal figcaption{font-size:12px;color:var(--pc-gold-light)}
.pc-birthday-modal{background:rgba(0,0,0,.95)}
.pc-birthday-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);max-width:1040px;max-height:94%;width:100%;min-height:0;align-items:center;gap:clamp(15px,4vw,42px)}
.pc-birthday-content img{min-height:0;max-height:min(81dvh,820px);width:100%;object-fit:contain;border:0}
.pc-birthday-copy{display:flex;flex-direction:column;align-items:flex-start;gap:17px}
.pc-birthday-copy h2{font-family:PokerOrbitron,Arial,sans-serif;font-size:clamp(25px,3.8vw,50px);color:var(--pc-gold-light);margin:0}
.pc-birthday-copy p{font-size:clamp(12px,1.3vw,16px);line-height:1.6;color:var(--pc-muted);margin:0}
/* Chat: Nur einzelne Nachrichtenblasen, KEINE Außenkarte über dem Hintergrund. */
.pc-chat-no-card{background:transparent;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;border-radius:0;padding:clamp(11px,2vw,22px) clamp(4px,1.3vw,16px)}
.pc-chat-no-card .pc-message{background:rgba(12,13,14,.7);border:1px solid rgba(201,162,93,.23);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);box-shadow:0 8px 18px rgba(0,0,0,.18)}
.pc-chat-no-card .pc-message.pc-own{background:rgba(83,61,34,.71)}
/* Abweichende Bildschirmformate: nur Contentbereiche dürfen intern scrollen. */
@media(max-width:800px){
  .pc-news-grid{grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr) minmax(0,1fr)}
  .pc-news-hero{grid-column:1/-1;grid-row:1;padding:clamp(14px,2vw,25px)}
  .pc-news-info,.pc-news-highlight{grid-row:2}
  .pc-news-highlight-inner{flex-direction:column;justify-content:center;gap:7px;align-items:stretch}
  .pc-news-highlight-inner p{max-width:none}
}
@media(max-width:649px){
  .pc-app{grid-template-rows:auto auto minmax(0,1fr) auto;padding-bottom:0}
  .pc-shell-footer{grid-row:4;padding:7px 7px calc(7px + env(safe-area-inset-bottom));font-size:clamp(7px,1.9vw,9px);letter-spacing:.13em}
  .pc-in-admin{grid-template-rows:auto minmax(0,1fr) auto}
  .pc-in-admin .pc-shell-footer{grid-row:3}
  .pc-workspace{min-height:0;padding-bottom:6px}
  .pc-current{gap:5px}
  .pc-current-heading{min-height:37px}
  .pc-current-heading .pc-pill{font-size:9px;padding:4px 7px}
  .pc-news-grid{grid-template-columns:1fr;grid-template-rows:minmax(165px,1.25fr) minmax(105px,.88fr) minmax(115px,1fr);gap:7px;overflow:auto;overscroll-behavior:contain;min-height:0}
  .pc-news-hero{grid-row:auto;grid-column:auto;min-height:0;padding:13px 14px;gap:7px;border-radius:12px}
  .pc-news-tag{font-size:10px;padding:4px 8px}.pc-news-subtle{font-size:9px}
  .pc-news-kicker{font-size:11px!important;margin-bottom:4px!important}
  .pc-news-hero h3{font-size:clamp(17px,5vw,23px);margin-bottom:5px}
  .pc-news-hero p{font-size:11px;line-height:1.32}
  .pc-news-hero-foot{padding-top:7px}
  .pc-news-hero-foot small{font-size:9px}.pc-news-hero-foot strong{font-size:12px}
  .pc-news-button{min-height:34px;padding:7px 8px;font-size:10px}
  .pc-news-info,.pc-news-highlight{grid-row:auto;padding:10px 13px;gap:5px;border-radius:12px}
  .pc-news-head h3{font-size:12px}.pc-news-head .pc-glyph{width:15px;height:15px}
  .pc-news-info h4{font-size:12px;margin:2px 0 3px}.pc-news-info p,.pc-news-highlight p{font-size:10px;line-height:1.3}
  .pc-news-hint,.pc-small-note{font-size:9px}
  .pc-news-highlight-inner{flex-direction:row;align-items:center;gap:8px}
  .pc-news-highlight-inner p{flex:0 1 110px}
  .pc-board{flex:1;gap:3px}
  .pc-board>span{font-size:clamp(13px,3.3vw,18px);border-radius:3px;max-height:54px}
  .pc-news-photo-action{font-size:10px;padding:2px 0}
  .pc-birthday-preview-link{font-size:9px;line-height:1.05}
  .pc-chat-no-card{padding:8px 4px}
  .pc-birthday-content{display:flex;flex-direction:column;gap:10px;max-height:100%;overflow:auto;justify-content:flex-start;padding-top:50px}
  .pc-birthday-copy{gap:7px}.pc-birthday-copy h2{font-size:21px}.pc-birthday-copy p{font-size:11px}
  .pc-birthday-content img{max-height:64dvh;width:auto;max-width:100%}
}
@media(max-height:680px){.pc-shell-footer{padding-top:4px;padding-bottom:calc(4px + env(safe-area-inset-bottom))}}
@media(max-width:649px) and (max-height:660px){
  .pc-news-grid{grid-template-rows:minmax(155px,1.3fr) minmax(90px,.8fr) minmax(110px,1fr)}
  .pc-news-hero{padding:9px 11px}.pc-news-hero h3{font-size:16px}.pc-news-hero-middle p{font-size:10px}
  .pc-news-info,.pc-news-highlight{padding:8px 10px}
}
@media(prefers-reduced-motion:reduce){.pc-news-hero,.pc-news-info,.pc-news-highlight{scroll-behavior:auto}}


/* PokerCTRL v1.5.0 – verifizierte READ-ONLY Daten statt Demo-Inhalten */
.pc-workspace{position:relative}
.pc-backend-strip{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:25px;flex-shrink:0;padding:2px 4px 3px;color:var(--pc-muted);font-size:clamp(9px,.95vw,11px)}
.pc-backend-strip button{border:0;background:none;color:var(--pc-gold-light);font:inherit;padding:4px 6px;white-space:nowrap;min-height:28px}
.pc-backend-strip button:disabled{opacity:.5;cursor:default}
.pc-readonly-poll{display:flex;flex:1;min-height:0;max-width:820px;width:100%;margin:auto;flex-direction:column;justify-content:center;overflow:auto;overscroll-behavior:contain;gap:10px;padding:9px}
.pc-poll-card{background:rgba(10,10,11,.68);border:1px solid rgba(201,162,93,.32);border-radius:16px;padding:clamp(15px,3vw,30px);backdrop-filter:blur(10px)}
.pc-poll-card h3{font-family:PokerOrbitron,Arial,sans-serif;font-size:clamp(16px,2.2vw,23px);font-weight:600;margin:6px 0 10px;color:var(--pc-gold-light)}
.pc-poll-card p{color:var(--pc-muted);font-size:clamp(12px,1.3vw,14px);line-height:1.5;margin:6px 0}
.pc-poll-count{font-size:12px;color:var(--pc-gold-light)}
.pc-poll-choices{display:grid;gap:7px;margin:13px 0 0;padding:0;list-style:none}
.pc-poll-choices li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 12px;border:1px solid rgba(201,162,93,.19);border-radius:10px;background:rgba(0,0,0,.3);font-size:clamp(12px,1.2vw,14px)}
.pc-poll-choices li b{font-size:12px;color:var(--pc-gold-light);white-space:nowrap}
.pc-poll-loading,.pc-poll-unavailable{max-width:580px;text-align:center;margin:auto;color:var(--pc-muted);font-size:clamp(12px,1.3vw,14px);line-height:1.6;padding:15px}
.pc-chat-locked{align-self:center;margin:auto;max-width:370px;text-align:center;display:flex;flex-direction:column;gap:10px;color:var(--pc-muted);padding:20px}
.pc-chat-locked span{font-size:46px;color:var(--pc-gold-light)}.pc-chat-locked strong{font-size:clamp(14px,1.8vw,18px);color:var(--pc-ink)}.pc-chat-locked p{font-size:clamp(12px,1.1vw,14px);line-height:1.55;margin:0}
.pc-chat-compose :disabled{opacity:.5;cursor:not-allowed}
.pc-vote-body[hidden]{display:none!important}
@media(max-width:649px){.pc-backend-strip{padding:0 3px;font-size:9px}.pc-backend-strip button{font-size:10px}.pc-poll-card{padding:13px}.pc-readonly-poll{padding:2px;gap:6px}}


/* PokerCTRL v1.5.1 – Swipe-Navigation (nur der aktive Inhaltsbereich).
 * Keine horizontale Seitenscroll-Leiste; vertikales Scrollen bleibt erhalten.
 * Bei Reduce Motion bleibt die bereits vorhandene Animationssperre wirksam. */
@keyframes pc-tab-from-right {
  from { opacity:0; transform:translate3d(23px,0,0); }
  to { opacity:1; transform:translate3d(0,0,0); }
}
@keyframes pc-tab-from-left {
  from { opacity:0; transform:translate3d(-23px,0,0); }
  to { opacity:1; transform:translate3d(0,0,0); }
}
.pc-view.pc-tab-enter-right { animation:pc-tab-from-right .23s ease-out both; }
.pc-view.pc-tab-enter-left { animation:pc-tab-from-left .23s ease-out both; }

/* PokerCTRL UI v1.6.5 – kein doppelter Swipe-Einflug. */
.pc-view.pc-tab-enter-right,.pc-view.pc-tab-enter-left {animation:pc-fade-in .23s ease-out both;}
/* Ohne verifiziertes Highlight: keine leere Karte und keine künstliche dritte Reihe. */
.pc-news-highlight[hidden]{display:none!important}
.pc-news-grid.pc-news-no-highlight{grid-template-rows:minmax(0,1fr)}
.pc-news-grid.pc-news-no-highlight .pc-news-hero{grid-row:1}
.pc-news-grid.pc-news-no-highlight .pc-news-info{grid-column:2;grid-row:1}
@media(max-width:800px){
  .pc-news-grid.pc-news-no-highlight{grid-template-rows:minmax(0,1.2fr) minmax(0,.8fr)}
  .pc-news-grid.pc-news-no-highlight .pc-news-hero{grid-row:1;grid-column:1/-1}
  .pc-news-grid.pc-news-no-highlight .pc-news-info{grid-row:2;grid-column:1/-1}
}
@media(max-width:649px){
  .pc-news-grid.pc-news-no-highlight{grid-template-rows:minmax(165px,1.4fr) minmax(105px,.85fr)}
}
/* Übersicht: kompaktere Karten bei gleichbleibender Footer-Grenze. */
.pc-overview-grid{gap:clamp(7px,1.15vw,13px)}
.pc-overview-grid .pc-tile{padding:clamp(10px,1.6vw,19px);gap:4px}
.pc-overview-grid .pc-tile p{line-height:1.34;margin:2px 0}
.pc-hof-logos{display:flex;align-items:center;justify-content:space-around;gap:clamp(4px,1vw,13px);width:100%;min-height:0;flex:1}
.pc-hof-logos img{display:block;min-width:0;width:clamp(42px,5vw,83px);max-height:100%;object-fit:contain;filter:drop-shadow(0 3px 7px rgba(0,0,0,.4))}
.pc-hof-pending{margin:0!important;color:var(--pc-muted)}
@media(max-width:649px){
  .pc-overview-grid{gap:7px}
  .pc-overview-grid .pc-tile{padding:9px 11px;gap:3px}
  .pc-hof-logos img{width:clamp(37px,12vw,60px)}
}

/* PokerCTRL v1.7.3 – nur vorhandene Podiumsplätze mit ihren Logos. */
.pc-hof-logos{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:clamp(3px,.65vh,8px);width:100%;flex:1;min-height:0}
.pc-hof-entry{display:flex;flex-direction:row;align-items:center;min-width:0;gap:clamp(6px,1vw,12px);color:var(--pc-ink)}
.pc-hof-entry img{flex:0 0 auto;display:block;object-fit:contain;width:clamp(29px,4.2vw,51px);height:clamp(29px,4.2vw,51px);filter:drop-shadow(0 3px 7px rgba(0,0,0,.4))}
.pc-hof-label{font-size:clamp(11px,1.25vw,15px);line-height:1.25;min-width:0;overflow-wrap:anywhere;font-weight:600}
.pc-hof-pending[hidden]{display:none!important}
@media(max-width:649px){.pc-hof-entry{gap:6px}.pc-hof-entry img{width:clamp(26px,9vw,38px);height:clamp(26px,9vw,38px)}.pc-hof-label{font-size:clamp(10px,2.6vw,13px)}}

/* PokerCTRL v1.7.4 — Admin-Auswahl je Chat-Nachricht (auch auf iPhone). */
.pc-chat-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.pc-chat-delete{background:rgba(139,42,37,.24);border:1px solid #a65a52;color:#f4c9bf;border-radius:10px;min-height:34px;padding:5px 12px;font-size:12px;font-weight:700;cursor:pointer}
.pc-chat-delete:disabled{opacity:.45;cursor:default}
.pc-chat-delete[hidden]{display:none!important}
.pc-chat-select-label{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:600;color:var(--pc-gold-light);cursor:pointer;margin-bottom:6px;user-select:none}
.pc-chat-select{width:19px;height:19px;accent-color:var(--pc-gold);cursor:pointer;flex-shrink:0}
.pc-chat-select:focus-visible,.pc-chat-delete:focus-visible{outline:2px solid var(--pc-gold-light);outline-offset:3px}
@media(max-width:649px){.pc-chat-toolbar{gap:5px}.pc-chat-delete{min-height:31px;padding:4px 9px;font-size:11px}}

/* PokerCTRL v1.7.5 – aktiver SQLite-Chat */
.pc-chat-compose input:focus-visible,.pc-chat-compose button:focus-visible{outline:2px solid var(--pc-gold-light);outline-offset:2px}
.pc-chat-compose button:disabled{opacity:.45;cursor:default}
.pc-chat-note{font-size:clamp(10px,1vw,12px)}

/* PokerCTRL 1.7.6: lesbarer und bedienbarer Textchat, kein Medien-Upload. */
.pc-chat{position:relative}
.pc-chat-badge{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;line-height:1;padding:0 5px;border-radius:100px;background:#9d493e;color:#fff;font:700 10px/1 system-ui,sans-serif;border:1px solid #e4a49c}
.pc-chat-badge[hidden]{display:none!important}
.pc-chat-scroll-down{position:absolute;right:clamp(16px,2.7vw,36px);bottom:clamp(81px,9vh,105px);z-index:5;width:39px;height:39px;border-radius:50%;border:1px solid var(--pc-gold);background:rgba(19,15,11,.96);color:var(--pc-gold-light);font-size:24px;box-shadow:0 5px 16px #0009;cursor:pointer}
.pc-chat-scroll-down[hidden]{display:none!important}
.pc-chat-scroll-down:focus-visible{outline:2px solid #fff;outline-offset:3px}
.pc-message.pc-first-unread{border-color:var(--pc-gold);box-shadow:0 0 0 1px rgba(201,162,93,.38)}
@media(max-width:649px){.pc-chat-scroll-down{bottom:76px;right:12px;width:36px;height:36px}.pc-chat-badge{min-width:17px;height:17px;font-size:9px}}

/* v1.7.7 – mehrzeiliger Textchat: flexibler Composer statt einzeiligem Input. */
.pc-chat-compose textarea{flex:1;min-width:0;min-height:49px;height:49px;max-height:124px;resize:none;overflow-y:auto;border-radius:13px;border:1px solid var(--pc-line);background:#151413;color:var(--pc-ink);font-size:16px;font-family:inherit;line-height:1.35;padding:12px 16px;outline-offset:2px;box-sizing:border-box;overflow-wrap:anywhere;-webkit-appearance:none;appearance:none}
.pc-chat-compose textarea:focus-visible{outline:2px solid var(--pc-gold-light);outline-offset:2px}
@media(max-width:649px){.pc-chat-compose textarea{min-height:46px;height:46px;padding:11px 14px}}

/* PokerCTRL v1.7.8 – Chat-Viewport und fixe Composer-Höhe.
   Statuszeile und Footer beanspruchen eigenen Platz; nur Nachrichten scrollen. */
.pc-workspace{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.pc-workspace>.pc-backend-strip{flex:0 0 auto}
.pc-workspace>.pc-view{flex:1 1 auto;height:auto;min-height:0;min-width:0}
.pc-chat{min-height:0;overflow:hidden}
.pc-chat .pc-chat-bar{flex:0 0 auto}
.pc-chat .pc-message-list{flex:1 1 0;min-height:0;overflow-y:auto}
.pc-chat .pc-chat-compose{display:flex;align-items:flex-end;flex:0 0 auto;min-height:0;max-width:100%;box-sizing:border-box}
.pc-chat-compose textarea{flex:1 1 0;min-width:0}
.pc-chat-compose button{flex:0 0 49px;width:49px;height:49px;min-width:49px;min-height:49px;max-height:49px;align-self:flex-end;display:flex;justify-content:center;align-items:center;padding:0;box-sizing:border-box}
.pc-nav-item[data-route="chat"]{gap:14px}
@media(max-width:649px){
 .pc-chat-compose button{flex-basis:46px;width:46px;height:46px;min-width:46px;min-height:46px;max-height:46px}
 .pc-nav-item[data-route="chat"]{gap:11px}
 .pc-chat .pc-chat-compose{padding-bottom:1px}
}

/* Der CasinoCTRL-Lesehinweis gehört nicht zum bereits eigenständigen SQLite-Chat. */
.pc-workspace:has(>#view-chat:not([hidden]))>.pc-backend-strip{display:none}

/* 1.7.9: geschütztes App-Settings-Overlay, keine Scroll-Änderung am Chat. */
.pc-push-settings{z-index:65}
.pc-push-settings-card{width:min(430px,100%);max-height:min(90dvh,620px);overflow:auto;background:#13110f;border:1px solid var(--pc-line);border-radius:17px;box-shadow:0 20px 70px #000;padding:23px;color:var(--pc-ink)}
.pc-push-settings-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.pc-push-settings-card h2{font-size:clamp(20px,5vw,28px);margin:4px 0 20px;color:var(--pc-gold-light)}
.pc-push-settings-card header button{width:36px;height:36px;flex:0 0 36px;border:1px solid var(--pc-line);border-radius:9px;background:#211c16;color:var(--pc-gold-light);font-size:24px}
.pc-push-settings-body{display:grid;gap:14px}
.pc-push-settings-body h3{color:var(--pc-gold);font-size:15px}
.pc-push-settings-body p{font-size:12px;line-height:1.6;color:var(--pc-muted);margin:0}
.pc-push-settings-body .pc-push-state{border:1px solid var(--pc-line);border-radius:9px;padding:12px;color:var(--pc-gold-light);background:rgba(201,162,93,.07)}
.pc-push-settings-body button{min-height:46px;background:var(--pc-gold);border:0;border-radius:10px;color:#16110b;font-size:12px;font-weight:750;padding:10px}
.pc-push-settings-body #pushDisable{background:#251613;color:#edaaa1;border:1px solid #a54b46}
.pc-push-settings-body button[hidden]{display:none!important}
.pc-push-settings-body button:disabled{opacity:.5}
.pc-push-settings-body .pc-push-details{font-size:11px}

/* v1.8.16 – reine Ansichtsbereinigung. Fehlende Funktionen bleiben deaktiviert. */
.pc-backend-strip[hidden],.pc-demo-flag[hidden],.pc-news-hint[hidden],.pc-tile-cancel[hidden]{display:none!important}

/* v1.8.21 – eine Aktuelles-Karte, Info-Karte nur bei veröffentlichter Meldung. */
.pc-news-grid,.pc-news-grid.pc-news-no-highlight{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);overflow:hidden}
.pc-news-grid .pc-news-hero,.pc-news-grid.pc-news-no-highlight .pc-news-hero{grid-row:auto;grid-column:1;min-height:0}
.pc-news-grid .pc-news-info,.pc-news-grid.pc-news-no-highlight .pc-news-info{grid-row:auto;grid-column:1;min-height:0}
.pc-news-grid:not(.pc-no-info):has(.pc-news-info:not([hidden])){grid-template-rows:minmax(0,1.3fr) minmax(0,.7fr)}
.pc-news-info[hidden],.pc-news-button[hidden]{display:none!important}
.pc-last-game{display:grid;grid-template-columns:1fr 1fr;gap:clamp(7px,1vw,12px);min-height:0;overflow:auto}
.pc-last-game>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.pc-last-game small{font-size:clamp(10px,1vw,12px);color:var(--pc-muted)}
.pc-last-game strong{font-weight:600;font-size:clamp(11px,1.2vw,15px);overflow-wrap:anywhere}
.pc-vote-info{min-height:0;overflow:auto;overscroll-behavior:contain}
.pc-vote-info p{margin:4px 0;overflow-wrap:anywhere}
.pc-push-guide{display:grid;gap:8px}
.pc-push-guide p{margin:0;line-height:1.5}
@media(max-width:649px){
  .pc-news-grid,.pc-news-grid.pc-news-no-highlight{grid-template-rows:minmax(0,1fr);overflow:auto}
  .pc-news-grid:not(.pc-no-info):has(.pc-news-info:not([hidden])){grid-template-rows:minmax(0,1.3fr) minmax(0,.8fr)}
  .pc-last-game{gap:6px}
}
