/* /Components/ActivationGate.razor.rz.scp.css */
/* ── ActivationGate — full-screen provisioning overlay ─────────────────────── */

.activation-gate[b-8j19zz6a7y] {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 60%, #0f3460 100%);
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: #e0e0e0;
    /* Android TV DPR telafisi — değerler JS'te hesaplanır (CSS aritmetik yok) */
    width: var(--tbs-screen-w, 100vw);
    height: var(--tbs-screen-h, 100vh);
    transform: scale(var(--tbs-screen-scale, 1));
    transform-origin: top left;
}

.gate-card[b-8j19zz6a7y] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    padding: 2.8rem 3rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    max-width: 420px;
    width: 90vw;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
    text-align: center;
}

.gate-logo[b-8j19zz6a7y] {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

.gate-logo-img[b-8j19zz6a7y] {
    max-height: 72px;
    max-width: 260px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.gate-title[b-8j19zz6a7y] {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}

.gate-hint[b-8j19zz6a7y] {
    font-size: 0.9rem;
    color: #aaaacc;
    margin: 0;
    line-height: 1.5;
}

.gate-qr[b-8j19zz6a7y] {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    display: inline-block;
    line-height: 0;
}

.gate-pin-label[b-8j19zz6a7y] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #888aaa;
}

.gate-pin[b-8j19zz6a7y] {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 0.35em;
    color: #e2c87a;
    font-variant-numeric: tabular-nums;
}

.gate-url[b-8j19zz6a7y] {
    font-size: 0.75rem;
    color: #666890;
    word-break: break-all;
}

.gate-url code[b-8j19zz6a7y] {
    color: #8899cc;
    background: rgba(255,255,255,0.07);
    padding: 2px 6px;
    border-radius: 4px;
}

.gate-url a[b-8j19zz6a7y] {
    color: #8899cc;
    background: rgba(255,255,255,0.07);
    padding: 2px 6px;
    border-radius: 4px;
    text-decoration: underline;
    cursor: pointer;
    user-select: text;
    word-break: break-all;
}

.gate-expiry[b-8j19zz6a7y] {
    font-size: 0.8rem;
    color: #ff9966;
    font-variant-numeric: tabular-nums;
}

.gate-spinner[b-8j19zz6a7y] {
    font-size: 1rem;
    color: #aaaacc;
    animation: pulse-b-8j19zz6a7y 1.2s ease-in-out infinite;
}

.gate-error[b-8j19zz6a7y] {
    color: #ff6666;
    font-size: 0.95rem;
}

.gate-retry[b-8j19zz6a7y] {
    background: #3a3a5c;
    color: #ffffff;
    border: none;
    padding: 0.55rem 1.4rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.gate-retry:hover[b-8j19zz6a7y] { background: #4a4a7c; }

@keyframes pulse-b-8j19zz6a7y {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.45; }
}

/* ── QRCodeDisplay wrapper ───────────────────────────────────────────────── */

.qr-wrapper[b-8j19zz6a7y] {
    display: inline-block;
    line-height: 0;
}
/* /Components/Actors/CountdownActorView.razor.rz.scp.css */
/* ── Root ─────────────────────────────────────────────────────────────────── */
.cd-root[b-7sgdtdtk9v] {
    padding: 0;
}

/* ── End message ─────────────────────────────────────────────────────────── */
.cd-end-message[b-7sgdtdtk9v] {
    text-align: center;
    font-weight: bold;
    animation: cd-fade-in-b-7sgdtdtk9v 0.6s ease forwards;
}

/* ── CLASSIC layout ──────────────────────────────────────────────────────── */
.cd-classic-row[b-7sgdtdtk9v] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 100%;
}

.cd-unit[b-7sgdtdtk9v] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cd-digit[b-7sgdtdtk9v] {
    display: inline-block;
    font-weight: bold;
    line-height: 1;
    padding: 6px 10px;
    border: 2px solid;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.35);
    letter-spacing: 2px;
    transition: opacity 0.15s ease;
}

.cd-label[b-7sgdtdtk9v] {
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* ── FLIP layout ─────────────────────────────────────────────────────────── */
.cd-flip-row[b-7sgdtdtk9v] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
}

.cd-flip-unit[b-7sgdtdtk9v] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cd-flip-card[b-7sgdtdtk9v] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #ffffff;
    border-radius: 8px;
    padding: 6px 12px;
    min-width: 2.2ch;
    letter-spacing: 2px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    animation: cd-flip-b-7sgdtdtk9v 0.35s ease;
    transform-origin: center bottom;
}

@keyframes cd-flip-b-7sgdtdtk9v {
    0%   { transform: rotateX(20deg); opacity: 0.6; }
    100% { transform: rotateX(0deg);  opacity: 1;   }
}

/* ── CIRCULAR layout ─────────────────────────────────────────────────────── */
.cd-circular-row[b-7sgdtdtk9v] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
}

.cd-ring-unit[b-7sgdtdtk9v] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cd-ring-svg[b-7sgdtdtk9v] {
    width: 90px;
    height: 90px;
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.4));
}

.cd-ring-fill[b-7sgdtdtk9v] {
    transition: stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── MINIMAL layout ──────────────────────────────────────────────────────── */
.cd-minimal[b-7sgdtdtk9v] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    letter-spacing: 3px;
    white-space: nowrap;
    width: 100%;
    height: 100%;
}

/* ── Fade-in for end message ─────────────────────────────────────────────── */
@keyframes cd-fade-in-b-7sgdtdtk9v {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1);   }
}

/* ── BOLD BLOCKS layout ─────────────────────────────────────────────── */
.cd-blocks-row[b-7sgdtdtk9v] {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(6px, 1cqw, 16px);
    flex-wrap: nowrap;
    width: 100%;
    height: 100%;
}

.cd-block-unit[b-7sgdtdtk9v] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cd-block-box[b-7sgdtdtk9v] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
    border-radius: 8px;
    padding: 0.15em 0.35em;
    min-width: 1.8em;
    box-shadow: 0 3px 8px rgba(0 0 0 / 0.35);
    white-space: nowrap;
}
/* /Components/Actors/CountupActorView.razor.rz.scp.css */
/* ── Root ─────────────────────────────────────────────────────────────────── */
.cu-root[b-52tfso7xay] {
    padding: 0;
}

/* ── Prefix / Suffix ─────────────────────────────────────────────────────── */
.cu-prefix[b-52tfso7xay],
.cu-suffix[b-52tfso7xay] {
    text-align: center;
    font-size: clamp(14px, 2cqw, 24px);
    line-height: 1.3;
    opacity: 0.85;
}

/* ── CLASSIC layout ──────────────────────────────────────────────────────── */
.cu-classic-row[b-52tfso7xay] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 100%;
}

.cu-unit[b-52tfso7xay] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cu-digit[b-52tfso7xay] {
    display: inline-block;
    font-weight: bold;
    line-height: 1;
    padding: 6px 10px;
    border: 2px solid;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.35);
    letter-spacing: 2px;
    transition: opacity 0.15s ease;
}

.cu-label[b-52tfso7xay] {
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* ── FLIP layout ─────────────────────────────────────────────────────────── */
.cu-flip-row[b-52tfso7xay] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
}

.cu-flip-unit[b-52tfso7xay] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cu-flip-card[b-52tfso7xay] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #ffffff;
    border-radius: 8px;
    padding: 6px 12px;
    min-width: 2.2ch;
    letter-spacing: 2px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    animation: cu-flip-b-52tfso7xay 0.35s ease;
    transform-origin: center bottom;
}

@keyframes cu-flip-b-52tfso7xay {
    0%   { transform: rotateX(20deg); opacity: 0.6; }
    100% { transform: rotateX(0deg);  opacity: 1;   }
}

/* ── CIRCULAR layout ─────────────────────────────────────────────────────── */
.cu-circular-row[b-52tfso7xay] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
}

.cu-ring-unit[b-52tfso7xay] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cu-ring-svg[b-52tfso7xay] {
    width: 90px;
    height: 90px;
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.4));
}

.cu-ring-fill[b-52tfso7xay] {
    transition: stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── MINIMAL layout ──────────────────────────────────────────────────────── */
.cu-minimal[b-52tfso7xay] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    letter-spacing: 3px;
    white-space: nowrap;
    width: 100%;
    height: 100%;
}

/* ── BOLD BLOCKS layout ──────────────────────────────────────────────────── */
.cu-blocks-row[b-52tfso7xay] {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(6px, 1cqw, 16px);
    flex-wrap: nowrap;
    width: 100%;
    height: 100%;
}

.cu-block-unit[b-52tfso7xay] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cu-block-box[b-52tfso7xay] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
    border-radius: 8px;
    padding: 0.15em 0.35em;
    min-width: 1.8em;
    box-shadow: 0 3px 8px rgba(0 0 0 / 0.35);
    white-space: nowrap;
}
/* /Components/Actors/HtmlActorView.razor.rz.scp.css */
.html-actor[b-f1z2gh1sh6] {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}
/* /Components/Actors/ImageActorView.razor.rz.scp.css */
.image-actor[b-shg9o4cz7l] {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}
/* /Components/Actors/RssCinemaActorView.razor.rz.scp.css */
/* RssCinemaActorView.razor.css — Module O-V3: RSS Full-Screen Cinema */

.rss-cinema-root[b-nelporpohc] {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #0f0f1a;
    color: #fff;
}

/* ── Cross-fade slide yuvaları ── */
.rss-cinema-slide[b-nelporpohc] {
    position: absolute;
    inset: 0;
    will-change: opacity;
    transform: translateZ(0);
    /* transition is NOT set here — applied conditionally via
       .rss-slide-animated to avoid compositor blocking on Tizen. */
}

.rss-slide-active[b-nelporpohc]  { opacity: 1;  z-index: 1; pointer-events: auto;  }
.rss-slide-inactive[b-nelporpohc] { opacity: 0; z-index: 0; pointer-events: none;  }

/* Slide fade — only on browsers that support container queries.
   On Tizen (Chromium 94) the @supports parser bug would break subsequent
   CSS rules, so we apply transition unconditionally but override it
   via the .rss-slide-animated class for non-Tizen browsers.               */
.rss-slide-animated[b-nelporpohc] { transition: opacity 0.9s ease-in-out; }

/* ── Blurred background ── */
.rss-cinema-bg[b-nelporpohc] {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(28px) brightness(0.35) saturate(1.4);
    transform: scale(1.08); /* prevent blur edge bleed */
    z-index: 0;
}

.rss-cinema-bg-plain[b-nelporpohc] {
    background: radial-gradient(ellipse at 30% 40%, #1a1040 0%, #0a0a18 100%);
    filter: none;
}

/* ── Loading ── */
.rss-cinema-loading[b-nelporpohc] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92vw;
    color: rgba(255,255,255,0.45);
    z-index: 2;
}

/* ── Content overlay ── */
.rss-cinema-overlay[b-nelporpohc] {
    position: absolute;
    inset: 0 0 72px 0;   /* leave space for ticker */
    display: flex;
    align-items: center;
    padding: 6% 7%;
    gap: 4%;
    z-index: 1;
}

/* ── Left 60% text ── */
.rss-cinema-text[b-nelporpohc] {
    flex: 0 0 56%;
    display: flex;
    flex-direction: column;
    gap: 2vh;
}

.rss-cinema-title[b-nelporpohc] {
    font-size: clamp(12px, 3.6vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

.rss-cinema-summary[b-nelporpohc] {
    font-size: clamp(8px, 1.45vw, 17px);
    line-height: 1.5;
    color: rgba(255,255,255,0.82);
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rss-cinema-date[b-nelporpohc] {
    font-size: clamp(7px, 1.05vw, 12px);
    color: var(--accent, #4f46e5);
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-top: 0.33vh;
}

/* ── Right 40% image ── */
.rss-cinema-image-panel[b-nelporpohc] {
    flex: 0 0 38%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rss-cinema-image[b-nelporpohc] {
    width: 100%;
    max-height: 36vh;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

/* ── Ticker bar ── */
.rss-cinema-ticker-bar[b-nelporpohc] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(10, 10, 30, 0.92);
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 10;   /* slide yuvaların üstünde her zaman */
    border-top: 2px solid var(--accent, #4f46e5);
    /* ══════════════════════════════════════════════════════════════════════
       GPU layer isolation (no backdrop-filter)
    
       backdrop-filter: blur(8px) KULLANILMIYOR — Tizen WebEngine'de slide
       opacity transisyonu sırasında arkaplan her kare değiştiği için
       backdrop-filter sürekli yeniden hesaplanır, GPU compositor'u bloke
       eder ve ticker-scroll animasyonunu durdurur.
    
       Çözüm: backdrop-filter'siz, sadece koyu rgba arkaplan (+2% opak).
       transform: translateZ(0) ile kendi GPU katmanına yükseltilir, slide
       compositing'inden tamamen izole olur.
       ══════════════════════════════════════════════════════════════════════ */
    transform: translateZ(0);
}

.rss-cinema-ticker-badge[b-nelporpohc] {
    flex-shrink: 0;
    background: var(--accent, #4f46e5);
    color: #fff;
    font-size: clamp(10px, 1.4vw, 15px);
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0 18px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    text-transform: uppercase;
}

.rss-cinema-ticker-track[b-nelporpohc] {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.rss-cinema-ticker-content[b-nelporpohc] {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    will-change: transform;
    backface-visibility: hidden;
    /* Ticker scroll is driven by JS (TroyBlinkRss.startTicker) using
       requestAnimationFrame — NOT CSS animation. CSS @keyframes would
       stall during slide opacity transitions on Tizen WebEngine.        */
}

.rss-ticker-item[b-nelporpohc] {
    /* font-size set via inline style from TickerFontSize property */
    font-weight: 500;
    padding: 0 24px 0 0;
    color: rgba(255,255,255,0.92);
}
/* /Components/Actors/RssTickerActorView.razor.rz.scp.css */
/* RssTickerActorView.razor.css — Standalone RSS Ticker Bar */

.rss-ticker-root[b-51zwymemlc] {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0f0f1a;
}

/* ── Loading ── */
.rss-ticker-loading[b-51zwymemlc] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4vw;
    color: rgba(255,255,255,0.45);
    z-index: 2;
}

/* ── Ticker bar ── */
.rss-ticker-bar[b-51zwymemlc] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(10, 10, 30, 0.92);
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 10;
    border-top: 2px solid var(--accent, #4f46e5);
    transform: translateZ(0);
}

.rss-ticker-badge[b-51zwymemlc] {
    flex-shrink: 0;
    background: var(--accent, #4f46e5);
    color: #fff;
    font-size: clamp(10px, 1.4vw, 15px);
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0 18px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    text-transform: uppercase;
}

.rss-ticker-track[b-51zwymemlc] {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.rss-ticker-content[b-51zwymemlc] {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    will-change: transform;
    backface-visibility: hidden;
}

.rss-ticker-item[b-51zwymemlc] {
    font-weight: 500;
    padding: 0 24px 0 0;
    color: rgba(255,255,255,0.92);
}
/* /Components/Actors/TextActorView.razor.rz.scp.css */
.text-actor[b-qy4973ubam] {
    box-sizing: border-box;
    padding: 4px;
    line-height: 1.2;
    white-space: pre-wrap;
}

/* ── Canlı veri değişim efektleri (DataChangeEffect) ─────────────────────────
   Animasyon yalnızca değer DEĞİŞTİĞİNDE eklenir; bileşen sınıfı süre sonunda
   kaldırır. DOM düğümü @key ile yeniden kurulduğu için animasyon baştan oynar. */

.tb-effect-fade-out[b-qy4973ubam] { animation: tbFadeOut-b-qy4973ubam .18s ease-out forwards; }
.tb-effect-fade-in[b-qy4973ubam]  { animation: tbFadeIn-b-qy4973ubam  .32s ease-out; }
.tb-effect-blink[b-qy4973ubam]    { animation: tbBlink-b-qy4973ubam   .25s steps(1, end) 4; }
.tb-effect-pulse[b-qy4973ubam]    { animation: tbPulse-b-qy4973ubam   .5s  ease-in-out; }
.tb-effect-slide-up[b-qy4973ubam] { animation: tbSlideUp-b-qy4973ubam .35s ease-out; }

@keyframes tbFadeOut-b-qy4973ubam {
    from { opacity: 1; }
    to   { opacity: 0; }
}

@keyframes tbFadeIn-b-qy4973ubam {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes tbBlink-b-qy4973ubam {
    0%, 100% { opacity: 1; }
    50%      { opacity: .15; }
}

@keyframes tbPulse-b-qy4973ubam {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.08); }
}

@keyframes tbSlideUp-b-qy4973ubam {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* "Bitişte: Kaybolsun" — içerik gizlenir (yerleşimi bozmaz, geçiş efektiyle uyumlu) */
.tb-effect-hidden[b-qy4973ubam] {
    opacity: 0;
    visibility: hidden;
}

/* Erişilebilirlik: hareket azaltma tercih edilmişse animasyon oynatma */
@media (prefers-reduced-motion: reduce) {
    .tb-effect-fade-out[b-qy4973ubam],
    .tb-effect-fade-in[b-qy4973ubam],
    .tb-effect-blink[b-qy4973ubam],
    .tb-effect-pulse[b-qy4973ubam],
    .tb-effect-slide-up[b-qy4973ubam] {
        animation: none;
    }
}
/* /Components/Actors/VideoActorView.razor.rz.scp.css */
.video-actor[b-tp8jhmlr2e] {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
}
/* /Components/Actors/WeatherActorModernView.razor.rz.scp.css */
/* ════════════════════════════════════════════════════════════════════════════
   WeatherActorModernView — Full-screen immersive weather display
   Module M-V4: Dynamic background, glassmorphism, 7-day forecast
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Root: fills actor container, no scroll ──────────────────────────────── */
.wxm-root[b-wcqzb19rdd] {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #fff;
}

/* ── Background layer stack ──────────────────────────────────────────────── */
.wxm-bg-layer[b-wcqzb19rdd] {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.wxm-bg-gradient[b-wcqzb19rdd] {
    position: absolute;
    inset: 0;
    transition: opacity 0.8s ease-in-out;
}

.wxm-bg-image[b-wcqzb19rdd] {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.8s ease-in-out;
}

.wxm-bg-overlay[b-wcqzb19rdd] {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

/* ── Condition-based fx overlays ─────────────────────────────────────────── */
.wxm-bg-condition-fx[b-wcqzb19rdd] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

/* ── Content layer: CSS Grid — tutarlı layout, tüm platformlarda aynı ──── */
.wxm-content[b-wcqzb19rdd] {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 4% 5% 2.5%;
    box-sizing: border-box;
    overflow: hidden;
    gap: clamp(0.3rem, 0.6vh, 0.75rem);
}

/* ── Sol üst: Konum ve başlık ───────────────────────────────────────────── */
.wxm-header[b-wcqzb19rdd] {
    /* row 1 — auto height */
}

.wxm-city[b-wcqzb19rdd] {
    font-size: clamp(1.2rem, 3vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
}

.wxm-subtitle[b-wcqzb19rdd] {
    font-size: clamp(0.55rem, 1vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    opacity: 0.65;
    margin-top: 0.25em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* ── Orta: Dev sıcaklık + metrikler (orta satır — tüm boşluğu doldurur) ── */
.wxm-main[b-wcqzb19rdd] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: flex-start;
    max-width: 65%;
    overflow: hidden;
    padding-top: clamp(0.5rem, 2vh, 2rem);
}

.wxm-temp-row[b-wcqzb19rdd] {
    display: flex;
    align-items: flex-start;
    gap: 0.05em;
    line-height: 1;
}

.wxm-temp[b-wcqzb19rdd] {
    font-size: clamp(3.5rem, 12vw, 12rem);
    font-weight: 200;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.wxm-temp-unit[b-wcqzb19rdd] {
    font-size: clamp(1.5rem, 4vw, 4rem);
    font-weight: 300;
    opacity: 0.75;
    margin-top: 0.15em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.wxm-condition[b-wcqzb19rdd] {
    font-size: clamp(0.8rem, 1.8vw, 1.8rem);
    font-weight: 500;
    opacity: 0.85;
    margin-top: 0.3em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

/* ── Metrikler grid ──────────────────────────────────────────────────────── */
.wxm-metrics[b-wcqzb19rdd] {
    display: flex;
    gap: clamp(0.8rem, 2vw, 2rem);
    margin-top: 0.8em;
    flex-wrap: wrap;
}

.wxm-metric[b-wcqzb19rdd] {
    display: flex;
    flex-direction: column;
    gap: 0.1em;
    min-width: clamp(50px, 7vw, 90px);
}

.wxm-metric-label[b-wcqzb19rdd] {
    font-size: clamp(0.45rem, 0.8vw, 0.8rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.5;
}

.wxm-metric-value[b-wcqzb19rdd] {
    font-size: clamp(0.65rem, 1.2vw, 1.3rem);
    font-weight: 600;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

/* ── Son güncelleme ──────────────────────────────────────────────────────── */
.wxm-updated[b-wcqzb19rdd] {
    font-size: clamp(0.4rem, 0.7vw, 0.75rem);
    opacity: 0.35;
    margin-top: 0.6em;
}

/* ── Alt: 7 günlük tahmin barı (alt satır — auto height) ────────────────── */
.wxm-forecast[b-wcqzb19rdd] {
    display: flex;
    gap: clamp(0.3rem, 0.6vw, 0.75rem);
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.wxm-forecast[b-wcqzb19rdd]::-webkit-scrollbar { display: none; }

.wxm-fc-card[b-wcqzb19rdd] {
    flex: 1;
    min-width: clamp(60px, 8vw, 110px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15em;
    padding: clamp(0.3rem, 0.5vw, 0.65rem) clamp(0.15rem, 0.3vw, 0.4rem);
    border-radius: clamp(6px, 0.6vw, 10px);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.wxm-fc-card:hover[b-wcqzb19rdd] {
    transform: translateY(-2px);
}

/* ── Glassmorphism panel ─────────────────────────────────────────────────── */
.glass-panel[b-wcqzb19rdd] {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

/* ── Forecast card içerik ────────────────────────────────────────────────── */
.wxm-fc-day[b-wcqzb19rdd] {
    font-size: clamp(0.45rem, 0.75vw, 0.8rem);
    font-weight: 700;
    opacity: 0.8;
    letter-spacing: 0.03em;
}

.wxm-fc-icon[b-wcqzb19rdd] {
    font-size: clamp(1rem, 2vw, 2.2rem);
    line-height: 1;
    margin: 0.1em 0;
}

.wxm-fc-temps[b-wcqzb19rdd] {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.15;
}

.wxm-fc-high[b-wcqzb19rdd] {
    font-size: clamp(0.55rem, 0.95vw, 1rem);
    font-weight: 700;
}

.wxm-fc-low[b-wcqzb19rdd] {
    font-size: clamp(0.45rem, 0.75vw, 0.8rem);
    font-weight: 500;
    opacity: 0.6;
}

.wxm-fc-desc[b-wcqzb19rdd] {
    font-size: clamp(0.38rem, 0.6vw, 0.65rem);
    opacity: 0.7;
    line-height: 1.15;
}

.wxm-fc-rain[b-wcqzb19rdd] {
    display: flex;
    align-items: center;
    gap: 0.15em;
    font-size: clamp(0.38rem, 0.6vw, 0.65rem);
    opacity: 0.55;
}
.wxm-fc-rain span:first-child[b-wcqzb19rdd] { font-size: 0.7em; }

/* ── Background condition variants (fallback gradient when no custom set) ── */

/* Clear Day */
.wxm-condition-clear-day .wxm-bg-gradient[b-wcqzb19rdd] {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}
/* Clear Night */
.wxm-condition-clear-night .wxm-bg-gradient[b-wcqzb19rdd] {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}
/* Partly Cloudy */
.wxm-condition-partly-cloudy .wxm-bg-gradient[b-wcqzb19rdd] {
    background: linear-gradient(135deg, #89ABE3, #667DB8);
}
/* Overcast */
.wxm-condition-overcast .wxm-bg-gradient[b-wcqzb19rdd] {
    background: linear-gradient(135deg, #616D86, #36454F);
}
/* Rain */
.wxm-condition-rain .wxm-bg-gradient[b-wcqzb19rdd] {
    background: linear-gradient(135deg, #4B5C7A, #1E2A3A);
}
/* Snow */
.wxm-condition-snow .wxm-bg-gradient[b-wcqzb19rdd] {
    background: linear-gradient(135deg, #E0EAF5, #B0C4DE);
}
/* Thunderstorm */
.wxm-condition-thunder .wxm-bg-gradient[b-wcqzb19rdd] {
    background: linear-gradient(135deg, #2C3E50, #1A1A2E);
}
/* Fog */
.wxm-condition-fog .wxm-bg-gradient[b-wcqzb19rdd] {
    background: linear-gradient(135deg, #8E9EAB, #5C6B7A);
}

/* ── Image background mode ───────────────────────────────────────────────── */
.wxm-bg-mode-image .wxm-bg-gradient[b-wcqzb19rdd] { display: none; }
.wxm-bg-mode-image .wxm-bg-overlay[b-wcqzb19rdd] { background: rgba(0, 0, 0, 0.35); }

/* ── Loading / Error states ──────────────────────────────────────────────── */
.wxm-loading[b-wcqzb19rdd],
.wxm-error[b-wcqzb19rdd] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: clamp(0.8rem, 1.5vw, 1.5rem);
    opacity: 0.6;
}

.wxm-loading-spinner[b-wcqzb19rdd] {
    width: clamp(24px, 3vw, 40px);
    height: clamp(24px, 3vw, 40px);
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: #fff;
    border-radius: 50%;
    animation: wxm-spin-b-wcqzb19rdd 0.8s linear infinite;
}

@keyframes wxm-spin-b-wcqzb19rdd {
    to { transform: rotate(360deg); }
}

.wxm-error-city[b-wcqzb19rdd] {
    font-size: 0.6em;
    opacity: 0.4;
}

/* ── Responsive adjustments for narrow/tall screens (e.g. browser PWA) ──── */
@media (max-aspect-ratio: 4/3) {
    .wxm-content[b-wcqzb19rdd] {
        padding: 3% 4% 2%;
    }
    .wxm-main[b-wcqzb19rdd] {
        max-width: 75%;
    }
    .wxm-metrics[b-wcqzb19rdd] {
        gap: 0.6rem;
    }
    .wxm-fc-card[b-wcqzb19rdd] {
        min-width: 50px;
        padding: 0.2rem 0.25rem;
    }
    .wxm-temp[b-wcqzb19rdd] {
        font-size: clamp(3rem, 10vw, 8rem);
    }
}

@media (max-aspect-ratio: 1/1) {
    .wxm-content[b-wcqzb19rdd] {
        padding: 2% 3% 1.5%;
    }
    .wxm-main[b-wcqzb19rdd] {
        max-width: 85%;
    }
    .wxm-temp[b-wcqzb19rdd] {
        font-size: clamp(2.5rem, 8vw, 6rem);
    }
    .wxm-metrics[b-wcqzb19rdd] {
        gap: 0.4rem;
    }
    .wxm-fc-card[b-wcqzb19rdd] {
        min-width: 42px;
    }
}
/* /Components/DeviceIdleScreen.razor.rz.scp.css */
/* ══════════════════════════════════════════════════════════════════════════════
   DeviceIdleScreen — TV-grade kurumsal bekleme ekranı
   Zemin: saf siyah. Vurgu: mavi/turkuaz. Tipografi: sistem sans-serif.
══════════════════════════════════════════════════════════════════════════════ */

/* ── Kök kapsayıcı ─────────────────────────────────────────────────────────── */
.idle-screen[b-22iczyeayj] {
    position: fixed;
    top: 0;
    left: 0;
    background: #000000;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #e0e8f0;
    overflow: hidden;
    display: grid;
    grid-template-rows: 3.6rem 1fr 2.4rem;
    grid-template-columns: 1fr;
    /* Android TV DPR telafisi — index.html inline script set eder (scene'ler etkilenmez) */
    width: var(--tbs-screen-w, 100vw);
    height: var(--tbs-screen-h, 100vh);
    transform: scale(var(--tbs-screen-scale, 1));
    transform-origin: top left;
}

/* ── Üst şerit ─────────────────────────────────────────────────────────────── */
.idle-topbar[b-22iczyeayj] {
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.idle-topbar-brand[b-22iczyeayj] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.idle-topbar-icon[b-22iczyeayj] {
    font-size: 0.9rem;
    color: #2563eb;
    background: #2563eb22;
    border: 1px solid #2563eb44;
    border-radius: 5px;
    padding: 0.15rem 0.35rem;
    line-height: 1;
}

.idle-topbar-name[b-22iczyeayj] {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #ffffff;
    text-transform: uppercase;
}

.idle-topbar-tagline[b-22iczyeayj] {
    font-size: 0.72rem;
    color: #3a4558;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-left: 0.6rem;
    border-left: 1px solid #1a2233;
    margin-left: 0.2rem;
}

.idle-topbar-right[b-22iczyeayj] {
    font-size: 0.78rem;
    color: #334155;
    letter-spacing: 0.04em;
    text-transform: capitalize;
}

/* ── Merkez alan ───────────────────────────────────────────────────────────── */
.idle-center[b-22iczyeayj] {
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    position: relative;
}

/* Logo bloğu */
.idle-logo-block[b-22iczyeayj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.idle-logo-icon-lg[b-22iczyeayj] {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #2563eb;
    border: 2px solid #2563eb33;
    border-radius: 16px;
    background: #2563eb0d;
    box-shadow: 0 0 32px #2563eb22;
    animation: idleLogoPulse-b-22iczyeayj 4s ease-in-out infinite;
}

@keyframes idleLogoPulse-b-22iczyeayj {
    0%, 100% { box-shadow: 0 0 24px #2563eb22; }
    50%       { box-shadow: 0 0 48px #2563eb44; }
}

.idle-logo-wordmark[b-22iczyeayj] {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffffff;
}

/* Tarayıcı çizgisi — TV efekti */
.idle-scan-line[b-22iczyeayj] {
    width: 160px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #2563eb 40%, #38bdf8 60%, transparent 100%);
    opacity: 0.6;
}

/* Dijital saat */
.idle-clock[b-22iczyeayj] {
    font-size: 5.5rem;
    font-weight: 100;
    letter-spacing: 0.08em;
    color: #f8fafc;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    text-shadow: 0 0 60px rgba(56, 189, 248, 0.18);
}

/* Durum satırı */
.idle-status-row[b-22iczyeayj] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.idle-dot[b-22iczyeayj] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e88;
    animation: idleDotPulse-b-22iczyeayj 2.5s ease-in-out infinite;
}

@keyframes idleDotPulse-b-22iczyeayj {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.35; }
}

.idle-status-text[b-22iczyeayj] {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #22c55e;
    font-weight: 500;
}

/* ── Sol alt panel: cihaz bilgileri ────────────────────────────────────────── */
.idle-device-panel[b-22iczyeayj] {
    position: absolute;
    bottom: 3.6rem;   /* bottombar yüksekliği kadar yukarı */
    left: 2.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 260px;
}

.idle-info-panel[b-22iczyeayj] {
    position: absolute;
    bottom: 3.6rem;
    right: 2.4rem;
    max-width: 280px;
    text-align: right;
}

.idle-panel-title[b-22iczyeayj] {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1e3a5f;
    font-weight: 700;
    margin-bottom: 0.3rem;
    border-bottom: 1px solid #0f1f33;
    padding-bottom: 0.25rem;
}

.idle-panel-row[b-22iczyeayj] {
    display: flex;
    gap: 0.8rem;
    align-items: baseline;
    font-size: 0.78rem;
}

.idle-panel-label[b-22iczyeayj] {
    color: #1e3a5f;
    font-weight: 600;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    min-width: 52px;
}

.idle-panel-value[b-22iczyeayj] {
    color: #334155;
    font-size: 0.78rem;
}

.idle-panel-value.mono[b-22iczyeayj] {
    font-family: 'Consolas', 'Cascadia Code', monospace;
    font-size: 0.72rem;
    color: #1e3a5f;
    word-break: break-all;
}

.idle-info-text[b-22iczyeayj] {
    font-size: 0.76rem;
    color: #1a2b3c;
    line-height: 1.6;
    margin: 0;
}

/* ── Alt şerit ─────────────────────────────────────────────────────────────── */
.idle-bottombar[b-22iczyeayj] {
    grid-row: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f1a27;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.01);
}

.idle-bottombar strong[b-22iczyeayj] {
    color: #162033;
    font-weight: 700;
}

.idle-bottombar-sep[b-22iczyeayj] {
    color: #0c1520;
}


/* ── Arka plan süsleme orbs ─────────────────────────────────────────────────── */

.idle-bg-orb[b-22iczyeayj] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    animation: idleOrbFloat-b-22iczyeayj 12s ease-in-out infinite alternate;
    pointer-events: none;
}

.idle-bg-orb--1[b-22iczyeayj] {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #1e90ff 0%, transparent 70%);
    top: -120px;
    left: -100px;
    animation-duration: 14s;
}

.idle-bg-orb--2[b-22iczyeayj] {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
    bottom: -100px;
    right: -80px;
    animation-duration: 10s;
    animation-direction: alternate-reverse;
}

.idle-bg-orb--3[b-22iczyeayj] {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #0ea5e9 0%, transparent 70%);
    top: 50%;
    left: 60%;
    animation-duration: 18s;
}

@keyframes idleOrbFloat-b-22iczyeayj {
    from { transform: translate(0, 0) scale(1);   }
    to   { transform: translate(30px, 20px) scale(1.08); }
}

/* ── Ana kart ────────────────────────────────────────────────────────────────── */

.idle-card[b-22iczyeayj] {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 3rem 3.5rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255,255,255,0.04);
    max-width: 520px;
    width: 88vw;
    text-align: center;
    animation: idleCardIn-b-22iczyeayj 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes idleCardIn-b-22iczyeayj {
    from { opacity: 0; transform: translateY(28px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* ── Logo ────────────────────────────────────────────────────────────────────── */

.idle-logo[b-22iczyeayj] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.idle-logo-icon[b-22iczyeayj] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    border-radius: 10px;
    font-size: 1rem;
    color: #fff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.45);
}

.idle-logo-text[b-22iczyeayj] {
    background: linear-gradient(90deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Saat ─────────────────────────────────────────────────────────────────────── */

.idle-clock[b-22iczyeayj] {
    font-size: 4rem;
    font-weight: 200;
    letter-spacing: 0.06em;
    color: #f0f4ff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    text-shadow: 0 0 40px rgba(96, 165, 250, 0.35);
}

.idle-date[b-22iczyeayj] {
    font-size: 0.95rem;
    color: #8892a4;
    text-transform: capitalize;
    letter-spacing: 0.04em;
}

/* ── Ayraç ───────────────────────────────────────────────────────────────────── */

.idle-divider[b-22iczyeayj] {
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

/* ── Durum rozeti ─────────────────────────────────────────────────────────────── */

.idle-status-badge[b-22iczyeayj] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 999px;
    font-size: 0.82rem;
    color: #4ade80;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.idle-status-dot[b-22iczyeayj] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px #4ade80;
    animation: idlePulse-b-22iczyeayj 2s ease-in-out infinite;
}

@keyframes idlePulse-b-22iczyeayj {
    0%, 100% { opacity: 1;   transform: scale(1);    }
    50%       { opacity: 0.5; transform: scale(0.75); }
}

/* ── Mesaj ───────────────────────────────────────────────────────────────────── */

.idle-message[b-22iczyeayj] {
    font-size: 0.9rem;
    color: #7c8594;
    line-height: 1.65;
    margin: 0;
}

/* ── Cihaz bilgi kutusu ──────────────────────────────────────────────────────── */

.idle-device-info[b-22iczyeayj] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin-top: 0.2rem;
}

.idle-device-row[b-22iczyeayj] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.82rem;
}

.idle-device-label[b-22iczyeayj] {
    color: #5a6475;
    font-weight: 500;
    white-space: nowrap;
}

.idle-device-value[b-22iczyeayj] {
    color: #94a3b8;
    font-family: 'Consolas', 'Cascadia Code', monospace;
    font-size: 0.8rem;
    word-break: break-all;
    text-align: right;
}

/* ── Alt bandı ───────────────────────────────────────────────────────────────── */

.idle-footer[b-22iczyeayj] {
    position: absolute;
    bottom: 1.4rem;
    font-size: 0.75rem;
    color: #2d3748;
    letter-spacing: 0.05em;
    z-index: 1;
}

.idle-footer strong[b-22iczyeayj] {
    color: #3d4a5c;
}
/* /Components/EmergencyOverlay.razor.rz.scp.css */
/* ════════════════════════════════════════════════════════════════════════
   Module S — Emergency Overlay styles
   The overlay sits at z-index 9999 and covers the entire viewport.
   ════════════════════════════════════════════════════════════════════════ */

.emergency-overlay[b-5tm9zn2bhr] {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #ffffff;
    overflow: hidden;
}

/* ── Flashing header ──────────────────────────────────────────────────── */
.emergency-flash-band[b-5tm9zn2bhr] {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.35);
    border: 4px solid rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 1rem 2rem;
    animation: emergency-flash-b-5tm9zn2bhr 1s step-start infinite;
    width: 100%;
    max-width: 900px;
    justify-content: center;
}

@keyframes emergency-flash-b-5tm9zn2bhr {
    0%   { opacity: 1; }
    50%  { opacity: 0.15; }
    100% { opacity: 1; }
}

.emergency-title[b-5tm9zn2bhr] {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    text-align: center;
}

.emergency-icon[b-5tm9zn2bhr] {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

/* ── Message body ─────────────────────────────────────────────────────── */
.emergency-body[b-5tm9zn2bhr] {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 1.5rem 2.5rem;
    max-width: 860px;
    width: 100%;
    text-align: center;
}

.emergency-message[b-5tm9zn2bhr] {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* ── Dismiss button ───────────────────────────────────────────────────── */
.emergency-dismiss-btn[b-5tm9zn2bhr] {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.6rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

    .emergency-dismiss-btn:hover[b-5tm9zn2bhr] {
        background: rgba(255, 255, 255, 0.45);
    }

/* ── Footer watermark ─────────────────────────────────────────────────── */
.emergency-footer[b-5tm9zn2bhr] {
    position: absolute;
    bottom: 1rem;
    font-size: 0.85rem;
    opacity: 0.6;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
/* /Components/ScenePlayer.razor.rz.scp.css */
/* ── Outer wrapper: fills the entire screen, centres the scene ── */
.scene-outer[b-8uvfbu403q] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    overflow: hidden;
}

/* ── Scaler: clip boundary sized by JS to fit the screen (letterbox/pillar) */
.scene-scaler[b-8uvfbu403q] {
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

/* ── Viewport: always native sceneW×sceneH px, scaled down by JS transform.
   This mirrors the Konva editor exactly — every actor's pixel values
   (font-size, padding, gap, border-radius…) scale uniformly so countdown
   and countup widgets render identically in editor and player.             */
.scene-viewport[b-8uvfbu403q] {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

/* ── Actors container: same native dimensions as viewport, reference for px */
.scene-actors[b-8uvfbu403q] {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ── Transition overlay: black fullscreen div for fade effects ──────────── */
/* Instead of changing viewport opacity (which destroys the compositor layer
   and causes white flash on Tizen Chromium 94), we use a persistent black
   overlay that fades in/out. The viewport always stays at opacity:1 with its
   proper background color, preserving the compositor layer at all times.

   ┌──────────────────────────────────────────────┐
   │  .scene-outer          background: #000      │
   │  ┌────────────────────────────────────────┐  │
   │  │  .scene-transition-overlay  (z-index)  │  │  ← fades 0↔1
   │  ├────────────────────────────────────────┤  │
   │  │  .scene-viewport   always opacity:1    │  │  ← never changes
   │  │  ┌──────────────────────────────────┐  │  │
   │  │  │  .scene-actors  (background)     │  │  │
   │  │  └──────────────────────────────────┘  │  │
   │  └────────────────────────────────────────┘  │
   └──────────────────────────────────────────────┘
*/
.scene-transition-overlay[b-8uvfbu403q] {
    position: absolute;
    inset: 0;
    background-color: #000;
    opacity: 0;
    pointer-events: none;
    z-index: 2147483647;   /* above all actors */
    will-change: opacity;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.scene-transition-overlay .transition-loading-text[b-8uvfbu403q] {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: rgba(20, 30, 50, 0.85);
    color: #7cc7ff;
    border: 1px solid #7cc7ff;
    border-radius: 4px;
    font-size: 11px;
    font-family: sans-serif;
}

/* ── Emergency / standby screen ─────────────────────────────────────────── */
.scene-emergency[b-8uvfbu403q] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    height: 100%;
    background-color: #0a0a0a;
    color: #c0c0c0;
    font-family: sans-serif;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
}

.emergency-logo[b-8uvfbu403q] {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.emergency-line[b-8uvfbu403q] {
    font-size: 1.1rem;
    color: #aaa;
    margin: 0;
}

.emergency-detail[b-8uvfbu403q] {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-uhautyyzn1] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-uhautyyzn1] {
    flex: 1;
}

.sidebar[b-uhautyyzn1] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-uhautyyzn1] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-uhautyyzn1]  a, .top-row[b-uhautyyzn1]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-uhautyyzn1]  a:hover, .top-row[b-uhautyyzn1]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-uhautyyzn1]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-uhautyyzn1] {
        justify-content: space-between;
    }

    .top-row[b-uhautyyzn1]  a, .top-row[b-uhautyyzn1]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-uhautyyzn1] {
        flex-direction: row;
    }

    .sidebar[b-uhautyyzn1] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-uhautyyzn1] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-uhautyyzn1]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-uhautyyzn1], article[b-uhautyyzn1] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ugb515alq3] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-ugb515alq3] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-ugb515alq3] {
    font-size: 1.1rem;
}

.bi[b-ugb515alq3] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-ugb515alq3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-ugb515alq3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-ugb515alq3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-ugb515alq3] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ugb515alq3] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ugb515alq3] {
        padding-bottom: 1rem;
    }

    .nav-item[b-ugb515alq3]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-ugb515alq3]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-ugb515alq3]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-ugb515alq3] {
        display: none;
    }

    .collapse[b-ugb515alq3] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-ugb515alq3] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Layout/PlayerLayout.razor.rz.scp.css */
/* Full-screen player canvas — no scrollbars, no chrome */
.player-root[b-fmg45mp0fh] {
    position: fixed;
    inset: 0;
    overflow: hidden;
    background-color: #000;
    margin: 0;
    padding: 0;
}
