.premium-wrap{padding-top:64px}
.snapshot-premium-current{color:rgb(var(--secondary-rgb));font-weight:700}
.premium-test-control{margin-top:2.1rem;display:grid;grid-template-columns:1fr auto;gap:1.5rem;align-items:center;min-height:0}
.premium-test-control h2{margin:0 0 .5rem}
.premium-control-copy{margin:0;color:var(--muted);max-width:760px}
.premium-file-button{display:inline-flex;align-items:center;justify-content:center;padding:.9rem 1.25rem;border-radius:999px;font-weight:700;cursor:pointer;background:rgb(var(--secondary-rgb));color:rgb(var(--basic-rgb));box-shadow:0 12px 40px rgb(var(--secondary-rgb) / var(--opacity-medium)),0 3px 12px rgb(var(--secondary-rgb) / var(--opacity-medium));transition:transform .2s,box-shadow .2s}
.premium-file-button:hover{transform:translateY(-2px)}
.premium-source-name{font-size:clamp(1.5rem,3vw,2.6rem);line-height:1.05}
.premium-visual-card{padding-bottom:2.4rem}
.premium-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem;margin-bottom:1.5rem}
.premium-section-head h2{margin:0 0 .35rem}
.premium-section-head p{margin:0;color:var(--muted);font-size:.88rem;max-width:720px}
.premium-method-note{display:flex;flex-direction:column;align-items:flex-end;white-space:nowrap;color:var(--muted)}
.premium-method-note strong{font-size:1.4rem;color:var(--text);font-weight:500;line-height:1}
.premium-method-note span{margin-top:.25rem;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.premium-visual-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.8fr);gap:2.4rem;align-items:center}
.premium-preview-wrap{margin:0;min-width:0}
.premium-preview-frame{position:relative;width:100%;height:min(65vh,720px);border-radius:calc(var(--radius) * .72);overflow:auto;border:1px solid var(--line);background:#fff}
body.idol-theme .premium-preview-frame{border:0;box-shadow:var(--shadow)}
.premium-preview-frame img{display:block;width:100%;height:auto;max-width:none}
.premium-preview-wrap figcaption{margin-top:.7rem;color:var(--muted);font-size:.75rem}
.premium-wheel-block{display:flex;flex-direction:column;align-items:center;gap:1.25rem}
.pixel-wheel-shell{position:relative;width:min(430px,72vw);aspect-ratio:1;border-radius:50%;background:#fff;box-shadow:var(--shadow);overflow:hidden}
.pixel-wheel-shell canvas{display:block;width:100%;height:100%}
.pixel-wheel-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:40%;aspect-ratio:1;border-radius:50%;background:rgb(var(--basic-rgb));box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:1rem}
.pixel-wheel-center strong{font-size:clamp(1.45rem,3vw,2rem);font-weight:500;line-height:1;color:rgb(var(--primary-rgb))}
.pixel-wheel-center span{margin-top:.35rem;color:rgb(var(--primary-light-rgb));font-size:.75rem;font-weight:700;letter-spacing:.04em}
.premium-wheel-legend{display:grid;grid-template-columns:repeat(2,auto);gap:1.5rem}
.premium-wheel-legend>div{display:grid;grid-template-columns:12px auto;grid-template-rows:auto auto;column-gap:.55rem;align-items:center}
.legend-dot{grid-row:1/3;width:10px;height:10px;border-radius:50%}
.legend-neutral{background:rgb(var(--systemlight-rgb))}
.legend-color{background:rgb(var(--secondary-rgb))}
.premium-wheel-legend strong{font-size:.92rem;line-height:1.1}
.premium-wheel-legend small{color:var(--muted);font-size:.68rem}
.hue-chart{display:block;width:100%;height:220px;border-radius:calc(var(--radius) * .55);background:rgb(var(--basic-rgb));border:1px solid var(--line)}
body.idol-theme .hue-chart{border:0;background:#fff}
@media(max-width:900px){
  .premium-visual-grid{grid-template-columns:1fr}
  .premium-preview-frame{height:min(56vh,620px)}
  .premium-wheel-block{padding-top:.5rem}
}
@media(max-width:680px){
  .premium-wrap{padding-top:52px}
  .premium-test-control{grid-template-columns:1fr;padding:1.7rem}
  .premium-file-button{width:100%}
  .premium-section-head{gap:1rem}
  .premium-method-note{display:none}
  .premium-preview-frame{height:52vh}
  .pixel-wheel-shell{width:min(320px,82vw)}
}

/* v2 — premium access + wheel ordering */
.premium-login-area{min-width:min(100%,430px)}
.premium-login-form{margin:0}
.premium-password-label{display:block;margin:0 0 .5rem;color:var(--muted);font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.premium-login-row{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:.65rem;align-items:center}
.premium-login-row input{width:100%;min-width:0}
.premium-login-button{background:rgb(var(--primary-rgb));color:rgb(var(--basic-rgb));box-shadow:var(--shadow)}
.premium-login-error{margin:.7rem 0 0;color:rgb(var(--secondary-rgb));font-size:.82rem;font-weight:700}
.premium-wheel-controls{display:flex;align-items:center;justify-content:flex-end;gap:1rem;flex-wrap:wrap;margin-left:auto}
.premium-sort-switch{margin:0}
@media(max-width:680px){
  .premium-login-area{width:100%}
  .premium-login-row{grid-template-columns:1fr}
  .premium-wheel-controls{width:100%;justify-content:flex-start;margin-left:0}
}


/* v3 — three exclusive wheel order modes + independent neutral visibility */
.premium-wheel-controls{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:flex-start;
  gap:.7rem;
  margin-left:auto;
}
.premium-method-note{
  display:flex;
  align-items:baseline;
  justify-content:flex-end;
  gap:.55rem;
  color:var(--muted);
  font-size:.82rem;
  font-weight:700;
  white-space:nowrap;
}
.premium-method-note strong{color:var(--text);font-size:1rem}
body.idol-theme .premium-method-note strong{color:var(--darkblue)}
.premium-sort-options{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:.85rem;
  flex-wrap:wrap;
}
.premium-option-switch{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  color:var(--muted);
  font-size:.78rem;
  font-weight:700;
  cursor:pointer;
  user-select:none;
  white-space:nowrap;
}
.premium-option-switch .switch{width:44px;height:24px}
.premium-option-switch .slider:before{width:16px;height:16px;left:3px;top:3px}
.premium-option-switch .switch input:checked + .slider:before{transform:translateX(20px);top:3px}
.premium-neutral-control{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  margin-top:1rem;
  color:var(--muted);
  font-size:.78rem;
  font-weight:700;
  user-select:none;
}
.premium-neutral-control .switch{width:44px;height:24px}
.premium-neutral-control .slider:before{width:16px;height:16px;left:3px;top:3px}
.premium-neutral-control .switch input:checked + .slider:before{transform:translateX(20px);top:3px}
@media(max-width:680px){
  .premium-wheel-controls{width:100%;align-items:flex-start;margin-left:0}
  .premium-method-note{justify-content:flex-start}
  .premium-sort-options{justify-content:flex-start}
}


/* v4 — stacked sort controls + visual footer alignment */
.premium-sort-options{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:flex-start;
  gap:.48rem;
  flex-wrap:nowrap;
}
.premium-option-switch{
  justify-content:flex-end;
  width:100%;
}
.premium-visual-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
  margin-top:.7rem;
}
.premium-visual-caption{
  color:var(--muted);
  font-size:.75rem;
}
.premium-neutral-control{
  justify-content:flex-end;
  margin:0;
  margin-left:auto;
}
@media(max-width:680px){
  .premium-wheel-controls{align-items:flex-end;margin-left:auto}
  .premium-method-note{justify-content:flex-end}
  .premium-sort-options{align-items:flex-end;justify-content:flex-start}
  .premium-visual-footer{align-items:center}
  .premium-neutral-control{justify-content:flex-end;margin-left:auto}
}

/* v5 — public presets + authenticated capture profiles + recent analyses */
.premium-presets{margin-top:2.1rem;min-height:0}
.premium-presets-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem;margin-bottom:1rem}
.premium-presets h2{margin:0 0 .5rem}
.premium-preset-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}
.premium-preset-item{width:100%;min-width:0;padding:.75rem .95rem;border-radius:22px;background:var(--panel);color:var(--text);border:1px solid var(--line);box-shadow:none;text-align:left;transform:none!important}
.premium-preset-item strong,.premium-preset-item span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.premium-preset-item strong{font-size:.82rem;font-weight:700}
.premium-preset-item span{margin-top:.16rem;color:var(--muted);font-size:.68rem;font-weight:500}
body.idol-theme .premium-preset-item{border:0;background:rgb(var(--basic-rgb));box-shadow:var(--shadow)}
body.idol-theme .premium-preset-item:hover{box-shadow:0 16px 44px rgb(var(--shadowblue-rgb) / .68),0 4px 14px rgb(var(--shadowblue-rgb) / .48)}
.premium-preset-item.is-active{outline:2px solid rgb(var(--secondary-rgb));outline-offset:2px}
.premium-own-actions{display:flex;align-items:center;justify-content:flex-end}
.premium-device-selector{display:flex;gap:.55rem;flex-wrap:wrap;margin-top:1rem}
.premium-device-selector label{position:relative;cursor:pointer}
.premium-device-selector input{position:absolute;opacity:0;pointer-events:none}
.premium-device-selector label>span{display:flex;flex-direction:column;min-width:138px;padding:.62rem .8rem;border:1px solid var(--line);border-radius:18px;color:var(--muted);background:var(--panel)}
.premium-device-selector strong{font-size:.78rem;color:var(--text);font-weight:700}
.premium-device-selector small{margin-top:.12rem;font-size:.66rem;color:var(--muted)}
.premium-device-selector input:checked+span{outline:2px solid rgb(var(--primary-rgb));outline-offset:1px}
body.idol-theme .premium-device-selector label>span{background:rgb(var(--basic-rgb));border:0;box-shadow:var(--shadow)}
.premium-recent{margin-top:4.2rem}
.premium-recent-head{margin-bottom:1.5rem}
.premium-recent-head h2{margin:.1rem 0;font-size:clamp(2rem,4vw,3.6rem);line-height:1.05;font-weight:500;letter-spacing:-.035em}
.premium-recent-list{display:grid;gap:1.2rem}
.premium-recent-card{display:grid;grid-template-columns:minmax(180px,.72fr) minmax(260px,1fr) minmax(220px,.75fr);gap:1.5rem;align-items:center;padding:1.5rem}
.premium-recent-preview{height:220px;overflow:auto;border-radius:calc(var(--radius)*.55);border:1px solid var(--line);background:#fff}
.premium-recent-preview img{display:block;width:100%;height:auto}
.premium-recent-copy h3{margin:.1rem 0 .35rem;font-size:1.35rem}
.premium-recent-meta{margin:0;color:var(--muted);font-size:.78rem}
.premium-recent-stats{display:flex;gap:1rem;flex-wrap:wrap;margin-top:.9rem}
.premium-recent-stats span{font-size:.72rem;color:var(--muted)}
.premium-recent-stats strong{display:block;color:var(--text);font-size:1.1rem;font-weight:500}
.premium-recent-wheel{display:grid;place-items:center}
.premium-recent-wheel canvas{width:min(190px,100%);height:auto;aspect-ratio:1;border-radius:50%;box-shadow:var(--shadow);background:#fff}
body.idol-theme .premium-recent-card{border:0}
@media(max-width:900px){
  .premium-preset-list{grid-template-columns:1fr}
  .premium-recent-card{grid-template-columns:1fr 1fr}
  .premium-recent-wheel{grid-column:2;grid-row:1/3}
}
@media(max-width:680px){
  .premium-device-selector{display:grid;grid-template-columns:1fr}
  .premium-device-selector label>span{min-width:0}
  .premium-own-actions{justify-content:stretch}
  .premium-recent-card{grid-template-columns:1fr}
  .premium-recent-wheel{grid-column:auto;grid-row:auto}
  .premium-recent-preview{height:260px}
}


/* v6 — refined wheel controls + public device preview */
.premium-method-note{
  width:100%;
  text-align:right;
  align-items:flex-end;
}
.premium-method-note strong,
.premium-method-note span{
  width:100%;
  text-align:right;
}
.premium-neutral-control{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:.48rem;
}
.premium-neutral-control .premium-option-switch{
  width:auto;
  justify-content:flex-end;
}
.premium-device-selector.is-preview-only{opacity:.62}
.premium-device-selector.is-preview-only label{cursor:default}
.premium-device-selector.is-preview-only input:checked+span{outline:2px solid rgb(var(--primary-rgb));outline-offset:1px}
@media(max-width:680px){
  .premium-neutral-control{align-items:flex-end}
}

.premium-wheel-controls{min-width:205px}
.premium-sort-options{width:100%}
.premium-sort-options .premium-option-switch{width:100%}

/* v7 — website scan + manual screenshot as exclusive input paths */
.premium-test-control{grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr);align-items:stretch}
.premium-own-actions{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(190px,.52fr);gap:1rem;align-items:end;justify-content:stretch;min-width:0}
.premium-url-analysis,.premium-file-analysis{min-width:0}
.premium-input-label{display:block;margin:0 0 .5rem;color:var(--muted);font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.premium-url-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.65rem;align-items:center}
.premium-url-row input{width:100%;min-width:0}
.premium-url-row button{white-space:nowrap}
.premium-url-row button:disabled{opacity:.58;cursor:wait;transform:none}
.premium-input-hint{margin:.55rem 0 0;color:var(--muted);font-size:.7rem;line-height:1.45}
.premium-file-analysis{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end}
.premium-file-analysis .premium-file-button{width:100%;background:var(--panel);color:var(--text);border:1px solid var(--line);box-shadow:none}
body.idol-theme .premium-file-analysis .premium-file-button{background:rgb(var(--basic-rgb));border:0;box-shadow:var(--shadow)}
.premium-source-or{align-self:center;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.premium-source-or span{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:var(--panel)}
body.idol-theme .premium-source-or span{border:0;background:rgb(var(--basic-rgb));box-shadow:var(--shadow)}
@media(max-width:1100px){
  .premium-test-control{grid-template-columns:1fr}
  .premium-own-actions{grid-template-columns:minmax(0,1fr) auto minmax(190px,.45fr)}
}
@media(max-width:760px){
  .premium-own-actions{grid-template-columns:1fr}
  .premium-source-or{margin:.1rem 0;justify-content:flex-start}
  .premium-source-or span{width:auto;height:auto;border:0!important;background:none!important;box-shadow:none!important}
  .premium-url-row{grid-template-columns:1fr}
  .premium-url-row button,.premium-file-analysis .premium-file-button{width:100%}
}

/* v8 — visible locked controls + compact two-line analysis layout */
.premium-test-control{display:block}
.premium-test-head{margin-bottom:1rem}
.premium-own-actions{display:grid;grid-template-columns:1fr;gap:.75rem;min-width:0}
.premium-own-actions.is-locked{opacity:.62}
.premium-website-line{display:grid;grid-template-columns:minmax(210px,1fr) auto auto;gap:.7rem;align-items:center;min-width:0}
.premium-url-field{display:flex;align-items:center;min-width:0;border:1px solid var(--line);border-radius:999px;background:var(--panel);overflow:hidden}
body.idol-theme .premium-url-field{border:0;background:rgb(var(--basic-rgb));box-shadow:var(--shadow)}
.premium-url-prefix{padding-left:1rem;color:var(--muted);font-size:.82rem;white-space:nowrap}
.premium-url-field input{width:100%;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;padding:.78rem 1rem .78rem .15rem!important;color:var(--text)}
.premium-url-field input:focus{outline:0}
.premium-device-selector{display:flex;gap:.45rem;flex-wrap:nowrap;margin:0}
.premium-device-selector label>span{min-width:0;padding:.55rem .72rem;border-radius:999px;white-space:nowrap}
.premium-device-selector small{display:none}
.premium-website-line>button{white-space:nowrap}
.premium-website-line>button:disabled{cursor:not-allowed;opacity:.6}
.premium-manual-line{display:flex;align-items:center;gap:.8rem;min-width:0}
.premium-manual-label{color:var(--muted);font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.premium-manual-line .premium-file-button{width:auto;background:var(--panel);color:var(--text);border:1px solid var(--line);box-shadow:none}
body.idol-theme .premium-manual-line .premium-file-button{background:rgb(var(--basic-rgb));border:0;box-shadow:var(--shadow)}
.premium-file-button.is-disabled{pointer-events:none;cursor:not-allowed;opacity:.6;transform:none}
.premium-login-area{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line);max-width:520px}
@media(max-width:1050px){
  .premium-website-line{grid-template-columns:1fr}
  .premium-device-selector{flex-wrap:wrap}
  .premium-website-line>button{justify-self:start}
}
@media(max-width:620px){
  .premium-manual-line{align-items:stretch;flex-direction:column}
  .premium-manual-line .premium-file-button{width:100%}
  .premium-device-selector{display:grid;grid-template-columns:1fr 1fr 1fr}
  .premium-device-selector label>span{justify-content:center;text-align:center}
}


/* v9 — logout + full device metadata + right-aligned screenshot action */
.premium-test-title-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.premium-test-title-row h2{margin:0}
.premium-logout-form{margin:0;margin-left:auto}
.premium-logout-button{border:0;border-radius:999px;padding:.62rem .95rem;font:inherit;font-size:.78rem;font-weight:700;cursor:pointer;background:var(--panel);color:var(--muted);box-shadow:none;border:1px solid var(--line)}
body.idol-theme .premium-logout-button{background:rgb(var(--basic-rgb));border:0;box-shadow:var(--shadow)}
.premium-logout-button:hover{color:var(--text)}
.premium-website-line{grid-template-columns:minmax(190px,1fr) auto auto}
.premium-device-selector label>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.08rem;min-height:54px;padding:.48rem .68rem}
.premium-device-selector strong{line-height:1.05}
.premium-device-selector small{display:block;color:var(--muted);font-size:.61rem;font-weight:600;line-height:1.08;white-space:nowrap}
.premium-manual-line{justify-content:flex-end}
.premium-manual-line .premium-file-button{margin-left:auto}
@media(max-width:1180px){
  .premium-website-line{grid-template-columns:1fr}
  .premium-device-selector{justify-self:start;flex-wrap:wrap}
  .premium-website-line>button{justify-self:start}
}
@media(max-width:620px){
  .premium-test-title-row{align-items:center}
  .premium-device-selector{display:grid;grid-template-columns:1fr}
  .premium-device-selector label>span{width:100%}
  .premium-manual-line{display:flex;align-items:stretch;flex-direction:column}
  .premium-manual-line .premium-file-button{width:100%;margin-left:0}
}


/* Scan region selector */
.scan-region-select{
  display:flex;
  align-items:center;
  gap:.45rem;
  white-space:nowrap;
}
.scan-region-label{
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  opacity:.58;
}
.scan-region-select select{
  min-height:42px;
  padding:.55rem 2rem .55rem .8rem;
  border:1px solid currentColor;
  border-radius:999px;
  background:transparent;
  color:inherit;
  font:inherit;
  cursor:pointer;
}
.scan-region-select select:disabled{
  opacity:.45;
  cursor:not-allowed;
}

/* v45_08 · frei wählbarer, deterministischer Videoframe */
.scan-video-position{display:grid;gap:.24rem;min-width:145px;color:var(--muted);font-size:.66rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.scan-video-position-field{display:grid;grid-template-columns:minmax(72px,1fr) auto;gap:.42rem;align-items:center}
.scan-video-position input{width:100%;min-width:72px;padding:.72rem .78rem;border:1px solid rgb(var(--primary-rgb)/.3);border-radius:999px;background:rgb(var(--basic-rgb));color:var(--text);font:inherit;font-size:.78rem;box-shadow:none;outline:none}
.scan-video-position input:focus{border-color:rgb(var(--secondary-rgb))}
.scan-video-position small{color:var(--muted);font-size:.64rem;text-transform:none;letter-spacing:0}
@media(max-width:900px){.scan-video-position{justify-self:start}}


/* =========================================================
   Snapshot back-link promo (reuses shared floating-callout)
   ========================================================= */
.snapshot-basic-promo{
  top:clamp(15rem,31vh,22rem);
  right:max(2.1rem,calc((100vw - var(--max))/2 + 1.25rem));
}



@media(max-width:980px){
  .snapshot-basic-promo{
    top:10.6rem;
    right:1.35rem;
  }
}

@media(max-width:680px){
  .snapshot-basic-promo{
    top:7.9rem;
    right:.85rem;
  }
}


/* Individuelle Analyse / RedCheck CTA */
.premium-analysis-intro{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem 1.4rem;
  margin-top:.5rem;
}

.premium-redcheck-included{
  color:rgb(var(--secondary-rgb));
  font-weight:700;
}

.premium-redcheck-button{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.78rem 1.15rem;
  border-radius:999px;
  color:rgb(var(--basic-rgb));
  text-decoration:none;
  font:inherit;
  font-weight:700;
  box-shadow:
    0 10px 25px rgb(var(--secondary-rgb) / .16);
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}

.premium-redcheck-button:hover{
  transform:translateY(-2px);
}

@media(max-width:760px){
  .premium-analysis-intro{
    align-items:flex-start;
    flex-direction:column;
  }
}


/* RedCheck CTA: Secondary-Farbe explizit gegen globale Link/Button-Regeln absichern */
a.premium-redcheck-button,
a.premium-redcheck-button:link,
a.premium-redcheck-button:visited{
  background:rgb(var(--secondary-rgb)) !important;
  color:rgb(var(--basic-rgb)) !important;
  border-color:rgb(var(--secondary-rgb)) !important;
}

a.premium-redcheck-button:hover,
a.premium-redcheck-button:focus,
a.premium-redcheck-button:active{
  background:rgb(var(--secondary-rgb)) !important;
  color:rgb(var(--basic-rgb)) !important;
}



/* Snapshot Premium: product name may split one level further on mobile */
@media(max-width:680px){
  .snapshot-title .snapshot-product--premium{
    white-space:normal;
  }
  .snapshot-title .snapshot-product--premium .snapshot-product-main,
  .snapshot-title .snapshot-product--premium .snapshot-product-tier{
    display:block;
  }
}


/* v18 — independent color / greyscale wheel mode */
.premium-mode-switch{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:.45rem;
  padding-top:.2rem;
  color:var(--muted);
  font-size:.78rem;
  font-weight:700;
  cursor:pointer;
  user-select:none;
  white-space:nowrap;
}
.premium-mode-switch .switch{width:44px;height:24px}
.premium-mode-switch .slider:before{width:16px;height:16px;left:3px;top:3px}
.premium-mode-switch .switch input:checked + .slider:before{transform:translateX(20px);top:3px}
@media(max-width:680px){.premium-mode-switch{justify-content:flex-start}}

/* v41_01 · Screenshot display mode shared with GroupScan */
.premium-preview-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:.42rem;margin:0 0 .55rem;color:var(--muted);font-size:.68rem;font-weight:700}
.premium-preview-toolbar button{border:0;border-radius:999px;padding:.5rem .72rem;background:rgb(var(--systemlight-rgb)/var(--opacity-light));color:var(--muted);font:inherit;font-size:.68rem;font-weight:700;cursor:pointer}
.premium-preview-toolbar button.active{color:rgb(var(--secondary-rgb))}
body.preview-mode-width .premium-preview-frame{overflow:auto;display:block;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
body.preview-mode-width .premium-preview-frame img{display:block;width:100%;height:auto;max-width:none}
body.preview-mode-fit .premium-preview-frame{overflow:hidden;display:flex;align-items:flex-start;justify-content:center}
body.preview-mode-fit .premium-preview-frame img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;object-position:top center}
