#back {
  min-height: 44px;
  top: max(1.15rem, calc(env(safe-area-inset-top, 0px) + 0.75rem));
  left: max(1rem, calc(env(safe-area-inset-left, 0px) + 0.8rem));
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
#screen-idle {
  height: 100%;
  height: 100dvh;
  padding: max(88px, calc(env(safe-area-inset-top, 0px) + 70px)) 20px max(24px, env(safe-area-inset-bottom, 0px));
  gap: 0;
  justify-content: flex-start;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  background: radial-gradient(ellipse at 80% 0, rgba(229, 163, 36, .08), transparent 60%),
              radial-gradient(ellipse at 15% 100%, rgba(212, 146, 10, .05), transparent 55%),
              #100e0b;
  animation: none;
  text-align: left;
}
#screen-idle .entry-content {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: min(100%, 380px);
  min-width: 0;
  margin: auto 0;
}
#screen-idle .entry-kicker {
  display: block;
  margin-bottom: 10px;
  color: #b5ab98;
  font-size: .68rem;
  letter-spacing: .13em;
  line-height: 1.5;
}
#screen-idle .logo {
  max-width: 100%;
  font-size: clamp(2.3rem, 12vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: .02em;
  color: #f8d77b;
  overflow-wrap: anywhere;
  text-shadow: 0 0 24px rgba(245, 176, 48, .18);
  transform: none;
}
#screen-idle .rule {
  max-width: none;
  margin-top: 10px;
  color: #c9c0af;
  font-size: .8rem;
  line-height: 1.55;
}
#screen-idle .entry-hint {
  max-width: none;
  margin: 12px 0 0;
  color: #c9c0af;
  text-align: left;
}
.beweis-order-hint {
  font-family: 'DM Mono', monospace;
  font-size: 0.74rem;
  color: #f5b030;
  text-align: center;
  margin: 8px 0;
  letter-spacing: 0.04em;
}
.beweis-order-hint[hidden] {
  display: none !important;
}
#screen-idle #beweis-entry-order-hint { padding: 10px 12px; border-left: 3px solid #efb647; border-radius: 0 8px 8px 0; background: #e8b6530e; font-size: 12px; line-height: 1.55; letter-spacing: 0; color: #e8d7b0; }
#beweis-stamp-order-hint { flex-shrink: 0; margin: 4px 0; font-size: 10px; line-height: 1.35; letter-spacing: 0; color: #d8c49d; }
#screen-idle #auth-hint {
  width: auto;
  max-width: none;
  min-height: 0;
  margin: 13px 0 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  font-size: .74rem;
  line-height: 1.5;
  color: #bcb39f;
  overflow-wrap: anywhere;
}
#screen-idle #auth-hint:empty { display: none; }
#screen-idle #auth-hint.logged-in {
  color: #ded6c4;
}
#screen-idle #auth-hint.logged-out {
  display: inline-block;
  color: #ffc4ba;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 6px 12px;
}
#screen-idle .entry-capture { margin-top: 4px; }
#screen-idle .btn-shoot {
  width: 100%;
  height: auto;
  min-height: 80px;
  padding: 18px 22px;
  flex-direction: row;
  justify-content: flex-start;
  gap: 15px;
  border: 1px solid #f8d77b;
  border-radius: 18px;
  background: linear-gradient(180deg, #fce18d 0%, #f4c047 50%, #e5a324 100%);
  box-shadow: 0 5px 0 #8c6524, 0 10px 24px rgba(245, 176, 48, 0.22);
  color: #1a1204;
  transform: none;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: background .15s, transform .15s, box-shadow .15s, filter .15s;
}
#screen-idle .btn-shoot:hover {
  background: linear-gradient(180deg, #ffea9f 0%, #f7cb58 50%, #efb030 100%);
  filter: brightness(1.04);
}
#screen-idle .btn-shoot:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #8c6524, 0 4px 12px rgba(245, 176, 48, 0.15);
}
#screen-idle .btn-shoot.is-urgent { animation: none; }
#screen-idle .btn-shoot-icon { flex: 0 0 28px; width: 28px; height: 28px; filter: none; }
#screen-idle .btn-shoot-label {
  font-family: 'Anton', sans-serif;
  font-size: 1.35rem;
  letter-spacing: .05em;
  line-height: 1.2;
  text-align: left;
}
#screen-idle .entry-camera-arrow {
  margin-left: auto;
  font-size: 1.6rem;
  opacity: .8;
  transition: transform .15s ease;
}
#screen-idle .btn-shoot:hover .entry-camera-arrow {
  transform: translate(2px, -2px);
}
#screen-idle .btn-picker-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(245, 176, 48, 0.22);
  border-radius: 14px;
  background: rgba(27, 23, 17, 0.88);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  color: #f0e6d2;
  font-family: 'Anton', sans-serif;
  font-size: 0.88rem;
  letter-spacing: .065em;
  line-height: 1.4;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: background .15s, border-color .15s, transform .12s;
}
#screen-idle .btn-picker-alt:hover {
  background: rgba(40, 33, 23, 0.95);
  border-color: rgba(245, 176, 48, 0.45);
  color: #fff3d0;
}
#screen-idle .btn-picker-alt:active {
  transform: translateY(1px);
  background: #14110c;
  border-color: #6d5b38;
}
#screen-idle .btn-picker-alt svg { flex: 0 0 20px; width: 20px; height: 20px; }
#screen-idle .entry-capture-hint {
  margin-top: 13px;
  text-align: center;
  color: #c4baa8;
  font-size: .65rem;
  line-height: 1.6;
  letter-spacing: .04em;
}
#screen-idle .entry-meta {
  width: 100%;
  gap: 0;
  margin-top: 20px;
  padding-top: 4px;
  border-top: 1px solid rgba(51, 46, 36, .6);
}
#screen-idle .entry-share-card {
  position: relative;
  padding: 16px;
  gap: 16px;
  border: 1px solid #423b2e;
  border-radius: 14px;
  background: #1b1812;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: border-color .2s ease, background .2s ease;
}
#screen-idle .entry-share-card:hover {
  border-color: #5d5341;
}
#screen-idle .entry-share-copy { gap: 6px; }
#screen-idle .entry-share-copy strong {
  font: 500 .78rem/1.45 'DM Mono', monospace;
  letter-spacing: -.015em;
  color: #eee4d2;
}
#screen-idle .entry-share-copy small { font-size: .68rem; line-height: 1.55; color: #bcb39f; }
#screen-idle .entry-share-control {
  display: flex;
  flex: 0 0 44px;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: .6rem;
  line-height: 1;
  color: #b4ab9a;
}
#screen-idle .wa-toggle-track {
  display: block;
  background: #665f51;
  transition: background .2s ease;
}
#screen-idle .wa-toggle-knob {
  background: #e7ddc9;
  transition: transform .22s cubic-bezier(0.34, 1.56, 0.64, 1), background .2s ease;
}
#screen-idle .entry-share-on { display: none; }
#screen-idle .wa-toggle-cb:checked ~ .entry-share-control .wa-toggle-track { background: #43bf7d; }
#screen-idle .wa-toggle-cb:checked ~ .entry-share-control .wa-toggle-knob { transform: translateX(20px); background: #fff; }
#screen-idle .wa-toggle-cb:checked ~ .entry-share-control .entry-share-on { display: inline; color: #76dda4; }
#screen-idle .wa-toggle-cb:checked ~ .entry-share-control .entry-share-off { display: none; }
#screen-idle .entry-share-card:has(.wa-toggle-cb:checked) {
  border-color: rgba(67, 191, 125, 0.45);
  background: linear-gradient(135deg, rgba(32, 60, 44, 0.22) 0%, #1b1812 100%);
}
#screen-idle .entry-share-card:has(.wa-toggle-cb:checked):hover {
  border-color: rgba(67, 191, 125, 0.65);
}
#screen-idle .entry-share-card:has(.wa-toggle-cb:focus-visible) { outline: 3px solid #f8d77b; outline-offset: 4px; }
#screen-idle .light-switch-card {
  margin-top: 12px;
  min-height: 58px;
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid #332e24;
  border-radius: 0;
  background: none;
  text-align: left;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity .15s ease;
}
#screen-idle .light-switch-copy strong {
  color: #d0c5af;
  font-size: .76rem;
  letter-spacing: .065em;
  transition: color .15s ease;
}
#screen-idle .light-switch-copy small { color: #aaa292; font-size: .65rem; }
#screen-idle .light-switch-arrow {
  color: #bcb39f;
  transition: transform .18s ease, color .18s ease;
}
#screen-idle .light-switch-card:hover .light-switch-copy strong {
  color: #f8d77b;
}
#screen-idle .light-switch-card:hover .light-switch-arrow {
  color: #f8d77b;
  transform: translateX(3px);
}
#screen-idle .light-switch-card:active {
  opacity: .8;
}
#screen-idle .beweis-gps-check-link {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 3px;
  padding: 10px 2px;
  color: #aaa292;
  font-size: .65rem;
  line-height: 1.5;
  text-decoration: none;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: color .15s ease;
}
#screen-idle .beweis-gps-check-link span {
  display: inline-block;
  transition: transform .15s ease;
}
#screen-idle .beweis-gps-check-link:hover {
  color: #f8d77b;
}
#screen-idle .beweis-gps-check-link:hover span {
  transform: translate(2px, -2px);
}
body#page-beweis #gold-pils-nachzieh-banner {
  margin: max(10px, calc(env(safe-area-inset-top, 0px) + 6px)) auto 0;
  width: min(360px, calc(100vw - 32px));
  max-width: 360px;
  position: relative;
  z-index: 50;
}
/* Reuse the entry copy instead of stacking another banner above Gold-Pils. */
body#page-beweis.konter-reply-entry #beweis-entry-rule {
  max-width: 28ch;
  margin-inline: auto;
  text-wrap: balance;
}
body#page-beweis.konter-reply-entry #beweis-entry-hint {
  max-width: 34ch;
  margin-inline: auto;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
body#page-beweis.konter-reply-entry.sticker-composer-active #v3-picker-main .v3-picker-help {
  display: block;
  max-width: 34ch;
  font-size: .58rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
body#page-beweis:has(#gold-pils-nachzieh-banner:not([hidden])) #screen-idle,
body#page-beweis:has(.flashback-ref-banner:not([hidden])) #screen-idle {
  padding-top: 14px;
}
body#page-beweis .flashback-ref-banner[hidden] {
  display: none;
}
body#page-beweis .flashback-ref-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: max(10px, calc(env(safe-area-inset-top, 0px) + 6px)) auto 0;
  width: min(380px, calc(100vw - 32px));
  max-width: 380px;
  padding: 10px 12px;
  background: #1c1a14;
  border: 1px solid #6b5c3b;
  border-top: 2px solid #f3bd50;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 50;
}
.flashback-ref-banner .flashback-ref-thumb-wrap {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid #7c6c48;
  background: #0d0c09;
}
.flashback-ref-banner .flashback-ref-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.flashback-ref-banner .flashback-ref-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: 'DM Mono', monospace;
  text-align: left;
}
.flashback-ref-banner .flashback-ref-kicker {
  font-size: 9px;
  letter-spacing: .08em;
  color: #f3bd50;
}
.flashback-ref-banner .flashback-ref-title {
  font-family: Anton, sans-serif;
  font-size: 15px;
  line-height: 1.15;
  color: #fff4d9;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.flashback-ref-banner .flashback-ref-hint {
  font-size: 10px;
  color: #c9c0af;
  line-height: 1.3;
}
#screen-idle :is(button, a):focus-visible { outline: 3px solid #f8d77b; outline-offset: 4px; }
#screen-idle [hidden] { display: none !important; }
#screen-idle #summer-event-badge { align-self: flex-start; margin-top: 14px; animation: none; box-shadow: none; }
body.location-mission-entry #screen-idle .entry-capture { margin-top: 24px; }
@media (max-height: 670px) {
  #screen-idle { padding-top: max(68px, calc(env(safe-area-inset-top) + 56px)); padding-bottom: 12px; }
  #screen-idle .entry-kicker { margin-bottom: 5px; }
  #screen-idle .logo { font-size: 2.6rem; }
  #screen-idle #auth-hint { margin: 8px 0 14px; }
  #screen-idle .entry-capture { margin-top: 0; }
  #screen-idle .entry-meta { margin-top: 14px; border-top: 0; padding-top: 0; }
  #screen-idle .light-switch-card { margin-top: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  #screen-idle, body.summer-event-active #screen-idle { animation: none; }
  #screen-idle * { transition: none; }
}

/* ==========================================================================
   Ergebnisregie: Format-spezifische Typografie & Styling im Beweis-Composer
   data-verdict-format="punch|roast|deadpan|standard"
   ========================================================================== */
#ki-result-verdict[data-verdict-format="punch"] {
  font-family: Anton, sans-serif;
  font-size: clamp(1.75rem, 6.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffd866;
  border-left: 6px solid var(--pfb-gold, #f5c518);
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.18), rgba(16, 14, 11, 0.85));
  padding: 0.85rem 1.1rem;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 4px 20px rgba(245, 197, 24, 0.22);
}

#ki-result-verdict[data-verdict-format="roast"] {
  font-family: 'DM Mono', monospace;
  font-size: clamp(0.92rem, 3.6vw, 1.1rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  color: #ffe2c8;
  border-left: 4px solid #ff6b4a;
  background: linear-gradient(135deg, rgba(255, 107, 74, 0.14), rgba(20, 10, 8, 0.75));
  padding: 0.75rem 1rem;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 14px rgba(255, 107, 74, 0.18);
}

#ki-result-verdict[data-verdict-format="deadpan"] {
  font-family: 'DM Mono', monospace;
  font-size: clamp(0.82rem, 3vw, 0.95rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: #d8d2c4;
  border-left: 3px solid #8c8577;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.7rem 0.95rem;
  border-radius: 0 6px 6px 0;
  box-shadow: none;
}

#ki-result-verdict[data-verdict-format="standard"],
#ki-result-verdict[data-verdict-format="classic"] {
  font-family: 'DM Mono', monospace;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--pfb-text, #fff);
  border-left: 4px solid var(--pfb-gold, #f5c518);
  background: rgba(255, 255, 255, 0.07);
  padding: 0.75rem 1rem;
  border-radius: 0 6px 6px 0;
}

.ki-result-verdict-headline {
  display: block;
  margin-bottom: 0.4rem;
}

#ki-result-verdict[data-verdict-format="punch"] .ki-result-verdict-headline {
  font-family: Anton, sans-serif;
  font-size: clamp(1.4rem, 5.5vw, 1.9rem);
  color: #ffd866;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

#ki-result-verdict[data-verdict-format="roast"] .ki-result-verdict-headline {
  font-family: 'DM Mono', monospace;
  font-size: clamp(0.92rem, 3.4vw, 1.05rem);
  font-style: italic;
  font-weight: 700;
  color: #ffe2c8;
  line-height: 1.3;
}

#ki-result-verdict[data-verdict-format="deadpan"] .ki-result-verdict-headline {
  font-family: 'DM Mono', monospace;
  font-size: clamp(0.85rem, 3vw, 0.95rem);
  font-weight: 700;
  color: #d8d2c4;
  line-height: 1.35;
}

.ki-result-verdict-body {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.88rem;
  font-weight: 400;
  font-style: normal;
  text-transform: none;
  letter-spacing: normal;
  color: rgba(255, 243, 208, 0.95);
  line-height: 1.45;
}
