/* Uygulama ekranlarının HTML kopyası (website/appdemo/screens.py). 1 px = 1 nk (iPhone 18 Pro, 402 × 874); demo.js telefona sığdırır.
   Renkler uygulamadan (Theme.swift): turuncu #DE4A12, yazı #2A333E, ikincil #5E6670, kart #FFFCF8. */
.scr { position: absolute; left: 3.967%; top: 1.586%; width: 92.202%; height: 96.827%; border-radius: 13.7% / 6.3%; overflow: hidden; background: #F8F4EF; }
.a-scale { position: absolute; left: 0; top: 0; width: 402px; height: 874px; transform-origin: 0 0; transform: scale(var(--s, .688)); }
.a-screen {
  position: absolute; inset: 0; overflow: hidden; color: #2A333E; text-align: left; letter-spacing: 0;
  /* Harf aralığı eklenmez: macOS/iOS tarayıcısı SF'nin kendi izleme tablosunu uygular (ölçüldü: 17 nk satırlar simülatörle aynı genişlikte) */
  font: 17px/1.25 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(420px 420px at 30% 35%, rgba(222, 74, 18, .10), transparent 100%), #F8F4EF;
}
.a-screen * { box-sizing: border-box; }
.a-screen p, .a-screen h3, .a-screen h4, .a-screen h5 { margin: 0; color: inherit; font: inherit; }
.a-screen .i { display: block; flex: none; }

/* Durum çubuğu */
.a-screen .sb { position: absolute; z-index: 5; top: 21px; left: 0; right: 0; height: 22px; }
.a-screen .sb b { position: absolute; left: 34px; width: 96px; text-align: center; font-size: 17px; font-weight: 600; color: #000; }
.a-screen .sb-r { position: absolute; left: 277px; top: 5px; display: flex; gap: 7px; align-items: center; }

/* Cam düğme (☰, QR, geri, kapat) */
.a-screen .a-btn {
  position: absolute; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #DE4A12;
  background: rgba(255, 252, 248, .78); border: .5px solid rgba(158, 148, 140, .45); box-shadow: 0 2px 10px rgba(42, 51, 62, .08);
}
.a-screen .a-panel .a-btn { color: #2A333E; }

/* Logo (BrandLockup, işaret 37 nk; site .brand kurgusunun 37/44 ölçeği) */
/* Logo: BrandLockup(height: 38) ortada; tek satır NWS AUTH (style.css .brand ile aynı oranlar) */
.a-screen .a-logo { position: absolute; left: 50%; top: 65px; transform: translateX(-50%); display: flex; align-items: center; gap: 11.4px; white-space: nowrap; }
.a-screen .a-logo img { width: 38px; height: 38px; display: block; }
.a-screen .a-logo span { display: flex; font-size: 23.56px; line-height: 1; color: #2A333E; }
.a-screen .a-logo b { font-weight: 900; }
.a-screen .a-logo i { font-family: "NWS Logo", system-ui, sans-serif; font-weight: 200; font-style: italic; margin-left: .3em; }

/* Liste */
.a-screen .a-banner {
  position: absolute; left: 20px; top: 152px; width: 287px; height: 66px; border-radius: 26px; background: #fff;
  display: flex; align-items: center; gap: 14px; padding: 0 16px 0 13px; color: #DE4A12; font-size: 15px; font-weight: 500; line-height: 20px;
}
.a-screen .a-banner span { flex: 1; text-wrap: pretty; }
.a-screen .a-group { position: absolute; left: 41px; width: 245px; height: 32px; display: flex; align-items: center; color: #5E6670; }
.a-screen .a-group b { margin-left: 13px; font-size: 20px; font-weight: 700; color: #2A333E; }
.a-screen .a-group > span { margin-left: 8px; font-size: 15px; font-weight: 500; }
.a-screen .a-group .g-chev { position: absolute; left: 181px; }
.a-screen .a-group .g-dots { position: absolute; left: 215px; color: #2A333E; opacity: .75; }
.a-screen .a-card {
  position: absolute; left: 20px; width: 287px; padding: 8px 15px 12px 16px; border-radius: 22px;
  background: #FFFCF8; border: .5px solid rgba(158, 148, 140, .45);
}
.a-screen .a-row { display: flex; align-items: flex-start; gap: 10px; }
.a-screen .a-left { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.a-screen .a-title { font-size: 19px; line-height: 23px; font-weight: 600; color: #DE4A12; margin-bottom: 8px; }
.a-screen .a-rec { height: 20px; display: flex; align-items: center; gap: 6px; padding-right: 14px;   /* simülatörde yazı sütunun 14 nk önünde kısalıyor (tr/en/nl ölçüldü) */
  font-size: 13px; color: #2A333E; white-space: nowrap; min-width: 0; }
.a-screen .a-rec span { overflow: hidden; text-overflow: ellipsis; }
.a-screen .a-rec.has { color: #5E6670; }
.a-screen .a-rec.has .i { color: #DE4A12; }
.a-screen .a-code {
  flex: none; margin-top: 5px; padding: 5px 10px; border-radius: 13px; line-height: 31px; height: 41px;
  background: color-mix(in srgb, var(--tint) 17%, #FFFCF8); font-size: 26px; font-weight: 700; color: #2A333E;
  font-variant-numeric: tabular-nums; white-space: nowrap; transition: transform .25s ease;
}
.a-screen .a-name { display: block; margin-top: 6px; font-size: 13px; line-height: 16px; color: #5E6670; }
.a-screen .a-scroll { position: absolute; left: 318px; top: 228px; width: 2.5px; height: 457px; border-radius: 2px;
  background: linear-gradient(#FF8C45, #ED5C1C 60%, rgba(189, 51, 15, .15)); }

/* Ortak sayaç ve su */
.a-screen .a-timer {
  position: absolute; left: 331px; top: 174px; width: 52px; height: 602px; padding: 6px; border-radius: 26px;
  background: #FFFCF8; border: .5px solid rgba(158, 148, 140, .45); display: flex; flex-direction: column; gap: 8px;
}
.a-screen .t-sec { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(222, 74, 18, .12);
  font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.a-screen .t-cap { position: relative; flex: 1; border-radius: 20px; overflow: hidden; background: rgba(120, 120, 128, .08); }
.t-water, .a-screen .r-water { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--f, 0) * 100%); }
.a-screen .w-front, .a-screen .w-back { position: absolute; inset: 0; }
.a-screen .w-front { background: linear-gradient(#FF8C45, #ED5C1C 50%, #BD330F) bottom / 100% 542px no-repeat; }
.a-screen .w-back { top: -4px; background: rgba(222, 74, 18, .3); }
.a-screen .wv { position: absolute; bottom: 100%; left: 0; width: 400%; height: 8px; }
.a-screen .w-front .wv { fill: #F47533; margin-bottom: -1px; }
.a-screen .w-back .wv { fill: rgba(222, 74, 18, .3); }

.a-screen .a-search {
  position: absolute; left: 27px; top: 798px; width: 347px; height: 47px; border-radius: 24px; display: flex; align-items: center; gap: 12px;
  padding-left: 17px; color: #000; background: rgba(255, 252, 248, .8); border: .5px solid rgba(158, 148, 140, .45);
  box-shadow: 0 6px 20px rgba(42, 51, 62, .08);
}
.a-screen .a-search span { color: #8E8E93; font-size: 17px; }

/* Panel (menü sayfaları): arkada bulanık, kararmış liste */
.a-screen .a-list.behind { filter: blur(14px); transform: scale(1.04); }
.a-screen .a-list.behind .sb { display: none; }
.a-screen .a-backdrop { position: absolute; inset: 0; background: rgba(196, 190, 186, .62); }
.a-screen .a-panel {
  position: absolute; left: 25px; top: 84px; width: 352px; height: 744px; border-radius: 30px; overflow: hidden;
  background: radial-gradient(380px 300px at 45% 0%, rgba(222, 74, 18, .05), transparent 100%), linear-gradient(#F6EFEA, #F6F0EB 55%, #F8F4F0);
  box-shadow: 0 20px 60px rgba(42, 51, 62, .18);
}
.a-screen .a-panel .p-back { left: 24px; top: 26px; }
.a-screen .a-panel .p-close { left: 284px; top: 26px; }
.a-screen .a-panel h3 { position: absolute; left: 80px; right: 80px; top: 36px; text-align: center; font-size: 21px; line-height: 24px; font-weight: 700; text-wrap: balance; }
.a-screen .a-panel.two .a-btn { top: 28px; }
.a-screen .a-panel.two h3 { top: 26px; line-height: 23px; }
/* İki satırlık başlık içeriği 3–4 nk aşağı iter (nl Gizlilik ve güvenlik +3, tr/nl Yedekleme +4 ölçüldü) */
.a-screen .a-panel.two .p-body { top: 95.5px; }
.a-screen .p-body { position: absolute; left: 24px; right: 24px; top: 92px; }
.a-screen .p-body > * { position: relative; }
.a-screen .p-h { padding-left: 17px; font-size: 17px; line-height: 24px; font-weight: 600; color: #8E8984; }
.a-screen .p-card { width: 304px; background: #fff; border-radius: 26px; overflow: hidden; }
/* Satır yüksekliği içerikten (min-height en kısa hâl): metin başka dilde iki satıra düşerse satır uygulamadaki gibi uzar */
.a-screen .p-row { position: relative; display: flex; align-items: center; padding: 0 15px 0 14px; color: #DE4A12; }
.a-screen .p-row + .p-row::before { content: ""; position: absolute; top: 0; left: 57px; right: 16px; border-top: .5px solid rgba(60, 60, 67, .22); }
.a-screen .p-row .lab { margin-left: 15px; padding: 14.5px 0; flex: 1; min-width: 0; color: #2A333E; font-size: 17px; line-height: 22px; }
.a-screen .p-row .lab small { display: block; font-size: 17px; color: #8A8580; margin-top: 2px; }
.a-screen .p-row .val { color: #8A8580; font-size: 17px; margin-left: 8px; }
.a-screen .p-row .chev { color: #B9B6B3; margin-left: 9px; }
.a-screen .tg { flex: none; width: 52px; height: 31px; border-radius: 16px; background: #E9E9EA; position: relative; margin-left: 10px; }
.a-screen .tg i { position: absolute; left: 2px; top: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.a-screen .p-card.detail .lab { font-size: 15px; font-weight: 600; margin-left: 13px; }
.a-screen .tg.on { background: #DE4A12; }
.a-screen .tg.on i { left: 23px; }
.a-screen .p-card.detail.good .p-row { color: #34C759; }
/* Ayrıntılar satırı ekranın altında kesik: başlık satırın üstünden başlar (tek ya da iki satır) */
.a-screen .p-card.detail .p-row { align-items: flex-start; }
.a-screen .p-card.detail .lab { padding-top: 13px; }
.a-screen .p-card.detail .p-row > .i { margin-top: 13px; }
.a-screen .p-card.detail .chev { margin-top: 26px; }
/* Kontrol: sorun yok (Label .callout, yeşil) */
.a-screen .p-card.ok { display: flex; align-items: center; padding: 13.5px 16px 13.5px 18px; color: #34C759; }
.a-screen .p-card.ok p { margin-left: 15px; font-size: 16px; line-height: 21px; }
.a-screen .p-card.warn { display: flex; align-items: center; padding: 13.5px 16px 13.5px 18px; color: #B7791F; }
.a-screen .p-card.warn p { margin-left: 15px; font-size: 16px; line-height: 21px; }   /* Label .callout */
.a-screen .p-card.fields > div { position: relative; height: 52px; display: flex; align-items: center; padding: 0 16px 0 17px; font-size: 17px; }
.a-screen .p-card.fields > div + div::before { content: ""; position: absolute; top: 0; left: 17px; right: 16px; border-top: .5px solid rgba(60, 60, 67, .22); }
.a-screen .p-card.fields .ph { color: #C7C3BF; }
.a-screen .kv > div { justify-content: space-between; }
.a-screen .kv em { font-style: normal; color: #8A8580; }
.a-screen .p-card.kv > .code-row { height: 69px; gap: 12px; }
.a-screen .code-row > span:first-child { flex: 1; }
.a-screen .a-code.plain { margin: 0; padding: 0; height: auto; background: none; font: 600 20px/24px ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.a-screen .ring { position: relative; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; }
.a-screen .ring svg { position: absolute; inset: 0; }
.a-screen .ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #8A8580; font-variant-numeric: tabular-nums; }
.a-screen .ring.full b { color: #fff; }
.a-screen .ring .w-front { background: linear-gradient(#FF8C45, #ED5C1C 50%, #BD330F) bottom / 100% 40px no-repeat; }
.a-screen .ring .wv { height: 5px; }
.a-screen .p-foot { margin-left: 17px; width: 270px; font-size: 13px; line-height: 16px; color: #8A8580; }
.a-screen .p-foot.wide { width: 270px; }   /* en/nl simülatörle aynı kırılıyor; tr'de 1–2 px yazı farkı "ekle"yi alt satıra itiyor (bilinen fark) */
.a-screen .p-cta { position: absolute !important; left: 0; top: 585px; width: 304px; height: 55px; border-radius: 18px; background: #2A333E; color: #fff;
  display: grid; place-items: center; font-size: 17px; font-weight: 600; box-shadow: 0 8px 16px rgba(0, 0, 0, .12); }
.a-screen .p-card.p-pill { height: 51px; border-radius: 26px; }
.a-screen .p-card.p-pill .pill-chev { position: absolute; right: 18px; top: 16px; color: #5E6670; }
.a-screen .p-big { width: 320px; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -.2px; }
.a-screen .p-card.stats { min-height: 89px; padding: 10px 16px; display: flex; align-items: center; }
/* AcademyViews.summary: üç eşit sütun (maxWidth .infinity), aralarında çizgi; kart iç boşluğu 16 */
.a-screen .stats > div { flex: 1 1 0; text-align: center; position: relative; }
.a-screen .stats > div + div::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 6px; border-left: 1px solid rgba(60, 60, 67, .18); }
.a-screen .stats b { display: block; font-size: 20px; line-height: 24px; font-weight: 700; }
.a-screen .stats span { display: block; font-size: 12px; line-height: 16px; color: #5E6670; margin-top: 4px; }
.a-screen .p-card.today { min-height: 98px; padding: 14px 17px; }
.a-screen .today p { display: flex; align-items: center; gap: 12px; color: #DE4A12; font-size: 15px; font-weight: 600; }
.a-screen .today b { display: block; margin-top: 7px; font-size: 17px; line-height: 22px; font-weight: 600; }
.a-screen .today span { display: block; margin-top: 3px; font-size: 13px; color: #5E6670; }
.a-screen .p-sub { margin-top: 19px; font-size: 20px; line-height: 24px; font-weight: 600; }
/* AcademyViews.moduleCard: HStack(spacing 14) simge (34 genişlik) · metin · Spacer · halka (44); kart iç boşluğu 16.
   Metin sütunu simülatörde 152 nk genişlikte kırılıyor (tr/en/nl ölçüldü) */
.a-screen .p-card.module { padding: 14px 16px !important; display: flex; align-items: center; gap: 14px; color: #DE4A12; }
.a-screen .module .i { width: 34px; height: 26px; flex: none; }
.a-screen .module > div { flex: none; width: 152px; margin-right: auto; }
.a-screen .module b { display: block; color: #2A333E; font-size: 17px; line-height: 22px; font-weight: 600; }
.a-screen .module > div span, .a-screen .module > div small { display: block; color: #5E6670; font-size: 13px; line-height: 18px; margin-top: 1px; }
.a-screen .module > div small { font-size: 12px; line-height: 16px; margin-top: 1px; }
.a-screen .m-ring { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 4px solid #E5E5EA; display: grid; place-items: center;
  font-size: 11px; font-weight: 600; color: #5E6670; }

/* iOS kısa metinlerde (başlık, iki satırlık etiket) son satıra tek kelime bırakmaz (lineBreakStrategy pushOut);
   tarayıcıda en yakın karşılık text-wrap: pretty. Uzun gövde metninde iOS bunu yapmıyor, orada normal kırma */
.a-screen .module b, .a-screen .p-big, .a-screen .stats span, .a-screen .p-foot:not(.wide), .a-screen .p-row .lab { text-wrap: pretty; }
/* Panel başlığı iki satıra düşünce iOS satırları dengeler ("Yedekleme / ve aktarım") */
.a-screen .a-panel h3 { text-wrap: balance; }
