/* v1.9.51 شكل «آيفون» — بيشتغل بس لما <html data-look="ios"> (من زرار 🎨). الطباعة مالهاش دعوة بيه.
   الخلفية رمادى فاتح زى إعدادات الآيفون، الكروت بيضا بزوايا ناعمة، الأزرار بلون الثيم، القوايم زى آيفون، والرسايل زى «Dynamic Island». */
.igrab, #btnCC, .ihel, .ilock { display: none; }
@media print { .igrab, .icc { display: none !important; } }

html[data-look="ios"] body, html[data-look="ios"] .obody {
  --bg: #f2f2f7; --card: #ffffff; --ink: #000000; --muted: #8a8a8e; --line: #e2e2e7; --ifill: rgba(118,118,128,.12);
  --ibar: rgba(249,249,249,.82); --ok: #248a3d; --bad: #d70015; --warn: #c93400;
  font-family: "TbEmoji", -apple-system, "SF Pro Text", "SF Arabic", "Segoe UI Variable Text", "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
  background: var(--bg); color: var(--ink); }
html[data-look="ios"][data-theme="dark"] body, html[data-look="ios"][data-theme="dark"] .obody {
  color-scheme: dark; --bg: #000000; --card: #1c1c1e; --ink: #ffffff; --muted: #98989f; --line: #38383a; --ifill: rgba(118,118,128,.24);
  --ibar: rgba(22,22,24,.78); --ok: #30d158; --bad: #ff453a; --warn: #ff9f0a; --ok-bg: #0f2e1b; --bad-bg: #3a1414; --warn-bg: #3a2a0c; }
@media print { html[data-look="ios"] body, html[data-look="ios"] .obody { background: #fff !important; } }

/* ---------- the top bar = iOS navigation bar (translucent, hairline) */
html[data-look="ios"] .xhead { display: none; }
html[data-look="ios"] .xnav { position: sticky; top: 0; margin: 0; min-height: 52px; padding: 0 16px; gap: 4px; border: 0; border-bottom: .5px solid var(--line); border-radius: 0;
  background: var(--ibar); backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8); box-shadow: none; align-items: center; }
html[data-look="ios"] .xnav #btnSound, html[data-look="ios"] .xnav #btnFull, html[data-look="ios"] .xnav #btnLock, html[data-look="ios"] .xnav #btnMob, html[data-look="ios"] .xnav #btnOut, html[data-look="ios"] .xnav #btnTheme, html[data-look="ios"] .xnav #btnPal, html[data-look="ios"] .xnav .xwho { display: none; }
html[data-look="ios"] #btnCC { display: inline-flex; align-items: center; justify-content: center; }
html[data-look="ios"] .xtab { border: 0; color: var(--brand); font-weight: 600; border-radius: 9px; padding: 0 10px; height: 34px; align-self: center; }
html[data-look="ios"] .xtab:hover { background: var(--ifill); }
html[data-look="ios"] #tabApps.on { color: var(--ink); font-weight: 700; font-size: 17px; }
html[data-look="ios"] .xmid { align-self: center; background: var(--ifill); border-radius: 10px; padding: 2px; gap: 2px; margin-inline-start: 8px; }
html[data-look="ios"] .xmid:empty { display: none; }
html[data-look="ios"] .xmod { background: transparent !important; color: var(--ink); margin: 0; padding: 0 10px; font-weight: 700; height: 30px; }
html[data-look="ios"] .xmid .xtab { height: 30px; padding: 0 12px; font-size: 13.5px; color: var(--ink); font-weight: 500; border-radius: 8px; }
html[data-look="ios"] .xmid .xtab.on { background: var(--card); box-shadow: 0 3px 8px rgba(0,0,0,.12), 0 0 0 .5px rgba(0,0,0,.04); font-weight: 600; }
html[data-look="ios"] .xbtn { border-radius: 9px; height: 34px; align-self: center; color: var(--brand); }
html[data-look="ios"] .xbtn:hover { background: var(--ifill); }
html[data-look="ios"] .xclock { color: var(--ink); font-weight: 600; }
html[data-look="ios"] .crumb a { color: var(--brand); }

/* ---------- large titles + grouped lists (like iPhone Settings) */
html[data-look="ios"] .mhead b { font-size: 34px; font-weight: 700; letter-spacing: -.3px; }
html[data-look="ios"] .mhead small { font-size: 14px; }
html[data-look="ios"] .cards { gap: 0; background: var(--card); border-radius: 12px; overflow: hidden; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { html[data-look="ios"] .cards { grid-template-columns: 1fr; } }
html[data-look="ios"] .mcard { border: 0; border-radius: 0; background: transparent; min-height: 62px; padding: 10px 16px; box-shadow: none !important; transform: none !important;
  border-bottom: .5px solid var(--line); animation: iFade .3s ease-out both; animation-delay: calc(var(--i) * 25ms); }
html[data-look="ios"] .mcard:hover { background: var(--ifill); }
html[data-look="ios"] .mcard:active { background: color-mix(in srgb, var(--ink) 10%, transparent); }
html[data-look="ios"] .mcard::after { content: "‹"; margin-inline-start: auto; color: #c4c4c7; font-size: 24px; line-height: 1; }
html[data-look="ios"] .mcard .ci { flex: 0 0 34px; height: 34px; border-radius: 8px; font-size: 19px; background: linear-gradient(180deg, color-mix(in srgb, var(--ac) 72%, #fff), var(--ac)); }
html[data-look="ios"] .mcard b { font-weight: 500; font-size: 16px; }
html[data-look="ios"] .panel, html[data-look="ios"] .rcard, html[data-look="ios"] .stat, html[data-look="ios"] .kcard, html[data-look="ios"] .card { border: 0; border-radius: 12px; background: var(--card); box-shadow: none; }
html[data-look="ios"] .panel h3 { font-weight: 600; }
html[data-look="ios"] .grid th { background: var(--card); color: var(--muted); font-weight: 500; border-bottom: .5px solid var(--line); }
html[data-look="ios"] .grid td { border-bottom: .5px solid var(--line); }
html[data-look="ios"] .grid tbody tr:hover td { background: var(--ifill); }
html[data-look="ios"] .fin table.grid th { background: #24407A !important; color: #fff; }

/* ---------- buttons, fields, drop-down lists, switches */
html[data-look="ios"] .btn { border: 0; border-radius: 12px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); font-weight: 600; transition: transform .12s, filter .12s; }
html[data-look="ios"] .btn:hover { filter: brightness(.96); }
html[data-look="ios"] .btn:active { transform: scale(.97); }
html[data-look="ios"] .btn.primary, html[data-look="ios"] a.btn.primary { background: var(--brand); color: #fff; }
html[data-look="ios"] a.btn { color: var(--brand); }
html[data-look="ios"] input:not([type=checkbox]):not([type=radio]):not([type=range]), html[data-look="ios"] select, html[data-look="ios"] textarea { background: var(--ifill); border: 0; border-radius: 10px; color: var(--ink); }
html[data-look="ios"] input:focus, html[data-look="ios"] select:focus, html[data-look="ios"] textarea:focus { outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 35%, transparent); }
html[data-look="ios"] select { -webkit-appearance: none; appearance: none; padding-left: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5l4 3.5 4-3.5' fill='none' stroke='%238a8a8e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 12px center; }
html[data-look="ios"] select option { background: var(--card); color: var(--ink); }
/* a yes/no tick = iPhone switch */
html[data-look="ios"] .chk input[type=checkbox], html[data-look="ios"] input[type=checkbox].isw { -webkit-appearance: none; appearance: none; width: 51px; height: 31px; flex: none; border-radius: 31px; padding: 0; border: 0;
  background: rgba(120,120,128,.24); position: relative; cursor: pointer; transition: background .25s; }
html[data-look="ios"] .chk input[type=checkbox]::before, html[data-look="ios"] input[type=checkbox].isw::before { content: ""; position: absolute; top: 2px; right: 2px; width: 27px; height: 27px; border-radius: 50%;
  background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.15), 0 3px 1px rgba(0,0,0,.06); transition: right .25s cubic-bezier(.3,1.4,.6,1); }
html[data-look="ios"] .chk input[type=checkbox]:checked, html[data-look="ios"] input[type=checkbox].isw:checked { background: #34c759; }
html[data-look="ios"] .chk input[type=checkbox]:checked::before, html[data-look="ios"] input[type=checkbox].isw:checked::before { right: 22px; }
html[data-look="ios"] .chk input[type=checkbox]:focus { box-shadow: none; }
html[data-look="ios"] .seg { background: var(--ifill); border: 0; border-radius: 10px; padding: 2px; }
html[data-look="ios"] .seg button { border-radius: 8px; }
html[data-look="ios"] .seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 3px 8px rgba(0,0,0,.12); }
html[data-look="ios"] .chip, html[data-look="ios"] .recent a { border: 0; background: var(--ifill); }

/* ---------- alerts = iPhone alert, forms = sheet */
html[data-look="ios"] .modal { background: rgba(0,0,0,.32); }
html[data-look="ios"] .m-card { border-radius: 14px; background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(30px) saturate(1.8); -webkit-backdrop-filter: blur(30px) saturate(1.8);
  box-shadow: 0 20px 60px rgba(0,0,0,.25); animation: iAlert .28s cubic-bezier(.2,.9,.3,1.2) both; }
html[data-look="ios"] .m-card h3 { font-weight: 600; }
html[data-look="ios"] #ask .m-card { max-width: 300px; padding: 20px 16px 0; gap: 6px; text-align: center; overflow: visible; }
html[data-look="ios"] #ask h3 { font-size: 17px; }
html[data-look="ios"] #ask p { font-size: 14px; line-height: 1.6; }
html[data-look="ios"] #ask .m-btns { margin: 14px -16px 0; gap: 0; flex-wrap: nowrap; border-top: .5px solid var(--line); }
html[data-look="ios"] #ask .m-btns .btn { flex: 1; border-radius: 0; background: transparent; color: #007aff; font-size: 17px; font-weight: 400; padding: 12px 6px; }
html[data-look="ios"][data-palette]:not([data-palette="ios"]) #ask .m-btns .btn { color: var(--brand); }
html[data-look="ios"] #ask .m-btns .btn + .btn { border-inline-start: .5px solid var(--line); }
html[data-look="ios"] #ask .m-btns .btn.primary { font-weight: 700; }
html[data-look="ios"] #ask .m-btns .btn:hover { background: var(--ifill); }
html[data-look="ios"] #ask .m-btns:has(> :nth-child(3)) { flex-direction: column; }
html[data-look="ios"] #ask .m-btns:has(> :nth-child(3)) .btn + .btn { border-inline-start: 0; border-top: .5px solid var(--line); }
html[data-look="ios"] .fnote { border-radius: 12px; }

/* ---------- messages = Dynamic Island (black pill at the top) */
html[data-look="ios"] .toast { top: 10px; bottom: auto !important; left: 50%; right: auto; transform: translateX(-50%); width: max-content; max-width: min(560px, calc(100vw - 32px));
  background: #000; color: #fff; border-radius: 28px; padding: 12px 22px; box-shadow: 0 12px 30px rgba(0,0,0,.3); animation: iIsland .5s cubic-bezier(.2,1.2,.3,1) both; z-index: 99; }
html[data-look="ios"] .toast.ok { background: #000; box-shadow: inset 0 0 0 2px #30d158, 0 12px 30px rgba(0,0,0,.3); }
html[data-look="ios"] .toast.bad { background: #000; box-shadow: inset 0 0 0 2px #ff453a, 0 12px 30px rgba(0,0,0,.3); }

/* ---------- open screens at the bottom = tab bar */
html[data-look="ios"] .otabs { background: var(--ibar); backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8); border-top: .5px solid var(--line); box-shadow: none; padding-top: 4px; }
html[data-look="ios"] .otab { background: transparent; border-radius: 9px 9px 0 0; border: 0; }
html[data-look="ios"] .otab:hover { background: var(--ifill); }
html[data-look="ios"] .otab.on { background: var(--card); border-top: 0; color: var(--brand); }
html[data-look="ios"] .obody:has(.ihome) .otabs { display: none; }

/* ---------- the home = iPhone home screen */
html[data-look="ios"] .obody:has(.ihome) { background:
  radial-gradient(1100px 760px at 88% -10%, var(--g1), transparent 62%), radial-gradient(900px 720px at -5% 45%, var(--g2), transparent 60%),
  radial-gradient(1100px 800px at 55% 115%, color-mix(in srgb, var(--teal) 70%, transparent), transparent 62%),
  linear-gradient(155deg, var(--brand) 0%, var(--brand-d) 55%, color-mix(in srgb, var(--teal) 60%, var(--brand-d)) 100%) fixed; }
html[data-look="ios"][data-theme="dark"] .obody:has(.ihome) { background:
  radial-gradient(1100px 760px at 88% -10%, color-mix(in srgb, var(--g1) 30%, transparent), transparent 62%),
  radial-gradient(900px 720px at -5% 45%, color-mix(in srgb, var(--g2) 22%, transparent), transparent 60%),
  linear-gradient(155deg, color-mix(in srgb, var(--brand) 55%, #000), #05060a) fixed; }
html[data-look="ios"] .obody:has(.ihome) .xnav { background: rgba(255,255,255,.10); border-bottom-color: transparent; }
html[data-look="ios"] .obody:has(.ihome) .xnav .xtab, html[data-look="ios"] .obody:has(.ihome) .xnav .xbtn, html[data-look="ios"] .obody:has(.ihome) .xclock { color: #fff; }
html[data-look="ios"] .obody:has(.ihome) .xnav .xbtn:hover { background: rgba(255,255,255,.18); }
html[data-look="ios"] .obody:has(.ihome) .crumb { display: none; }
html[data-look="ios"] .view:has(.ihome) { max-width: none; padding: 0; animation: none; }
.ihome { min-height: calc(100vh - 52px); display: flex; flex-direction: column; }
.ipages { flex: 1; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.ipages::-webkit-scrollbar { display: none; }
.ipages.idrag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.ipages.idrag * { pointer-events: none; }
.ipage { flex: 0 0 100%; scroll-snap-align: start; padding: 34px 40px 10px; box-sizing: border-box; }
/* the «مطلوب منك» note stays on the left: the icons move away from it */
@media (min-width: 701px) { html[data-look="ios"] .obody:has(.snote:not(.min)) .ipage { padding-left: 300px; } }
.igrid { display: grid; grid-template-columns: repeat(auto-fill, 112px); grid-auto-rows: 116px; justify-content: center; gap: 22px 34px; max-width: 1100px; margin: 0 auto; }
.iapp { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: #fff; font-size: 13.5px; text-shadow: 0 1px 4px rgba(0,0,0,.35);
  animation: iZoom .55s cubic-bezier(.2,.9,.3,1.05) both; animation-delay: calc(var(--i, 0) * 28ms + 60ms); -webkit-user-drag: none; }
.iapp b { font-weight: 500; max-width: 110px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iico { position: relative; width: 82px; height: 82px; border-radius: 19px; display: flex; align-items: center; justify-content: center; font-size: 44px; text-shadow: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ac) 68%, #fff) 0%, var(--ac) 100%); box-shadow: 0 8px 18px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .18s cubic-bezier(.3,1.5,.6,1), filter .18s; }
.iapp:hover .iico { transform: scale(1.06); }
.iapp:active .iico { transform: scale(.88); filter: brightness(.8); }
.ibadge { position: absolute; top: -7px; inset-inline-end: -7px; min-width: 25px; height: 25px; padding: 0 7px; box-sizing: border-box; border-radius: 13px; background: #ff3b30;
  color: #fff; font: 600 14px/25px -apple-system, "Segoe UI", sans-serif; font-style: normal; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.iwg { border-radius: 24px; padding: 16px 18px; background: rgba(255,255,255,.74); color: #000; backdrop-filter: blur(30px) saturate(1.8); -webkit-backdrop-filter: blur(30px) saturate(1.8);
  box-shadow: 0 10px 30px rgba(0,0,0,.14); text-shadow: none; text-decoration: none; animation: iZoom .55s cubic-bezier(.2,.9,.3,1.05) both; box-sizing: border-box; }
html[data-look="ios"][data-theme="dark"] .iwg { background: rgba(30,30,32,.72); color: #fff; }
.iclockw { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; gap: 2px; }
.iwd { color: #ff3b30; font-weight: 700; font-size: 15px; }
.iwt { font-size: 66px; font-weight: 700; line-height: 1.05; direction: ltr; text-align: right; letter-spacing: -1px; }
.iwh { font-size: 16px; font-weight: 600; margin-top: 4px; }
.iwlogo { height: 34px; margin-top: auto; align-self: flex-start; opacity: .9; }
html[data-look="ios"][data-theme="dark"] .iwlogo { content: url("logo-white.png"); }
/* v1.9.93 «شغلك بالترتيب» = widget كبير (2×2) والقايمة بتتسحب جواه */
.iwork { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; padding: 14px 14px 10px; min-height: 0; overflow: hidden; }
.iwork h4 { display: flex; align-items: center; gap: 8px; margin: 0 2px 8px; font-size: 16px; }
.iwork h4 small { margin-inline-start: auto; min-width: 22px; height: 22px; border-radius: 11px; background: var(--brand); color: #fff; font-size: 12px; line-height: 22px; text-align: center; padding: 0 6px; box-sizing: border-box; }
.iwl { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; margin: 0 -4px; padding: 0 4px;
  -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.iwl::-webkit-scrollbar { display: none; }
.iwl a { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border-radius: 10px; color: inherit; text-decoration: none; font-size: 14px; }
.iwl a:hover { background: rgba(120,120,128,.14); }
.iwl a + a { border-top: .5px solid rgba(60,60,67,.16); }
.iwl em { flex: none; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); font: 700 12px/22px inherit; font-style: normal; text-align: center; }
html[data-look="ios"][data-theme="dark"] .iwl em { background: rgba(255,255,255,.14); color: #fff; }
.iwl span { flex: none; font-size: 17px; }
.iwl b { flex: 1; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iwl i { font-style: normal; opacity: .35; font-size: 18px; }
.iwgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; max-width: 1100px; margin: 0 auto; align-items: start; }
.iapw { display: flex; flex-direction: column; color: #000; }
.iapw b { font-size: 60px; line-height: 1.1; color: #34c759; }
.iapw span { font-weight: 700; } .iapw small { opacity: .6; }
.ilist h4 { margin: 0 0 6px; font-size: 16px; }
.ilist a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: .5px solid rgba(60,60,67,.22); color: inherit; text-decoration: none; }
.ilist a:last-child { border-bottom: 0; }
.ilist a i { font-style: normal; opacity: .4; font-size: 20px; }
.ilist a:hover { color: #007aff; }
.iwe, .itip { opacity: .75; font-size: 14px; line-height: 1.8; }
.idots { display: flex; justify-content: center; gap: 9px; padding: 8px; }
.idots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.42); cursor: pointer; transition: background .2s, transform .2s; }
.idots i.on { background: #fff; transform: scale(1.1); }
.isearch { align-self: center; margin: 2px auto 12px; border: 0; border-radius: 20px; padding: 7px 18px; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  background: rgba(255,255,255,.26); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.isearch:hover { background: rgba(255,255,255,.36); }
.idock { align-self: center; display: flex; gap: 28px; margin: 0 auto 18px; padding: 16px 26px; border-radius: 34px; background: rgba(255,255,255,.26);
  backdrop-filter: blur(30px) saturate(1.8); -webkit-backdrop-filter: blur(30px) saturate(1.8); border: .5px solid rgba(255,255,255,.3); }
.idock .iapp b { display: none; }
.idock .iapp { animation-delay: .35s; }
@media (max-width: 700px) {
  .ipage { padding: 22px 14px 8px; }
  .igrid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 96px; gap: 14px 10px; }
  .iico { width: 62px; height: 62px; border-radius: 15px; font-size: 32px; }
  .iapp { font-size: 11.5px; } .iapp b { max-width: 78px; }
  .iclockw { grid-column: span 4; grid-row: span 1; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
  .iwt { font-size: 44px; } .iwlogo { display: none; }
  .iwork { grid-column: span 4; grid-row: span 2; }
  .idock { gap: 18px; padding: 12px 18px; }
}

/* ---------- control center (pull down from the top) */
html[data-look="ios"] .igrab { display: block; position: fixed; top: 4px; left: 50%; transform: translateX(-50%); width: 46px; height: 5px; border-radius: 3px; z-index: 60;
  background: rgba(128,128,128,.45); cursor: pointer; transition: width .2s, background .2s; }
html[data-look="ios"] .igrab:hover { width: 80px; background: rgba(128,128,128,.75); }
.icc { position: fixed; inset: 0; z-index: 95; background: rgba(0,0,0,0); transition: background .25s, backdrop-filter .25s; }
.icc.open { background: rgba(0,0,0,.28); backdrop-filter: blur(26px) saturate(1.6); -webkit-backdrop-filter: blur(26px) saturate(1.6); }
.icc-in { position: absolute; top: 16px; right: 18px; width: 384px; max-width: calc(100vw - 36px); opacity: 0; transform: translateY(-40px) scale(.96); transition: transform .32s cubic-bezier(.2,1.1,.3,1), opacity .2s; }
.icc.open .icc-in { opacity: 1; transform: none; }
.icc-top { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.3); padding: 0 4px; }
.icc-top b { display: block; font-size: 46px; font-weight: 600; direction: ltr; text-align: right; line-height: 1.1; }
.icc-top span { font-weight: 600; } .icc-top em { display: block; font-style: normal; opacity: .8; font-size: 13px; margin-top: 2px; }
.icc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.icc-t { aspect-ratio: 1; border: 0; border-radius: 22px; background: rgba(40,40,44,.55); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; cursor: pointer; font: inherit; padding: 4px; transition: transform .15s, background .2s; }
.icc-t span { font-size: 26px; line-height: 1; }
.icc-t b { font-size: 10.5px; font-weight: 500; opacity: .9; line-height: 1.25; }
.icc-t:hover { background: rgba(70,70,76,.6); }
.icc-t:active { transform: scale(.92); }
.icc-t.on { background: #fff; color: #000; }
.icc-t.out { background: rgba(255,69,58,.85); }
.icc-sl { display: block; margin-top: 12px; padding: 12px 16px; border-radius: 22px; background: rgba(40,40,44,.55); color: #fff; font-size: 13px; }
.icc-sl input[type=range] { width: 100%; margin-top: 8px; padding: 0; border: 0; background: transparent; accent-color: #fff; box-shadow: none; }
.icc-bar { width: 130px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.75); margin: 16px auto 0; cursor: pointer; }

/* ---------- the welcome = black screen, the word written by hand */
html[data-look="ios"] .splash { background: #000; }
html[data-look="ios"] .splash .sp-box, html[data-look="ios"] .splash .sp-t1, html[data-look="ios"] .splash .sp-t2, html[data-look="ios"] .splash .sp-t3, html[data-look="ios"] .splash .nkSp { display: none !important; }
html[data-look="ios"] .ihel { display: block; text-align: center; }
.ihel svg { width: min(820px, 92vw); height: auto; overflow: visible; }
.ihw { font-family: "Aldhabi", "Diwani Letter", "Arabic Typesetting", "DecoType Thuluth", "Segoe Script", "Noto Nastaliq Urdu", cursive, serif; font-size: 190px;
  fill: transparent; stroke: url(#ihg); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1100; stroke-dashoffset: 1100;
  animation: ihDraw 1.9s cubic-bezier(.5,0,.3,1) .15s forwards, ihFill .9s 1.5s ease forwards; filter: drop-shadow(0 0 16px rgba(255,255,255,.22)); }
.ihn { color: rgba(255,255,255,.72); font-size: 22px; font-weight: 600; margin-top: 6px; opacity: 0; animation: ihUp .6s 1.7s ease-out forwards; }

/* ---------- login = lock screen (big clock) */
html[data-look="ios"] .login { background: radial-gradient(1100px 760px at 88% -10%, var(--g1), transparent 62%), radial-gradient(900px 720px at -5% 45%, var(--g2), transparent 60%),
  linear-gradient(155deg, var(--brand) 0%, var(--brand-d) 55%, color-mix(in srgb, var(--teal) 60%, var(--brand-d)) 100%); justify-content: flex-start; padding-top: 6vh; }
html[data-look="ios"] .ilock { display: block; text-align: center; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.25); margin-bottom: 18px; animation: iFade .6s ease-out both; }
.ilock-d { font-size: 22px; font-weight: 600; opacity: .95; }
.ilock-t { font-size: 108px; font-weight: 700; line-height: 1; direction: ltr; letter-spacing: -2px; }
html[data-look="ios"] .lg-top { margin-bottom: 14px; } html[data-look="ios"] .lg-logo { width: 130px; }
html[data-look="ios"] .lg-card { background: rgba(255,255,255,.72); backdrop-filter: blur(30px) saturate(1.8); -webkit-backdrop-filter: blur(30px) saturate(1.8); border-radius: 26px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
html[data-look="ios"][data-theme="dark"] .lg-card { background: rgba(28,28,30,.72); }
@media (max-width: 700px) { .ilock-t { font-size: 80px; } }

/* ---------- cashier / reception / kids bars */
html[data-look="ios"] .pbar { background: var(--ibar); color: var(--ink); border-bottom: .5px solid var(--line); backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8); box-shadow: none; }
html[data-look="ios"]:not([data-theme="dark"]) .pbar-logo { content: url("logo.png"); }
html[data-look="ios"] .pbar #btnFull, html[data-look="ios"] .pbar #btnTheme, html[data-look="ios"] .pbar #btnPal { display: none; }
html[data-look="ios"] .ibtn { background: var(--ifill); color: var(--brand); }
html[data-look="ios"] .ibtn:hover { background: color-mix(in srgb, var(--brand) 14%, transparent); }
html[data-look="ios"] .stores, html[data-look="ios"] .modes { background: var(--ifill); border-radius: 10px; padding: 2px; gap: 2px; border: 0; }
html[data-look="ios"] .stores button, html[data-look="ios"] .modes button { border: 0; border-radius: 8px; color: var(--ink); background: transparent; }
html[data-look="ios"] .stores button.on, html[data-look="ios"] .modes button.on { background: var(--card); color: var(--ink); box-shadow: 0 3px 8px rgba(0,0,0,.12); }
html[data-look="ios"] .navbtn { color: var(--brand); border: 0; background: var(--ifill); }
html[data-look="ios"] .shiftbtn:not(.closed) { color: var(--ink); border: 0; background: var(--ifill); }
html[data-look="ios"] .clock, html[data-look="ios"] .who { color: var(--ink); }
html[data-look="ios"] .top { background: var(--ibar); color: var(--ink); border-bottom: .5px solid var(--line); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }

@keyframes iZoom { from { opacity: 0; transform: scale(1.5); } to { opacity: 1; transform: none; } }
@keyframes iFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes iAlert { from { opacity: 0; transform: scale(1.15); } to { opacity: 1; transform: none; } }
@keyframes iIsland { from { opacity: 0; transform: translateX(-50%) scale(.4, .6); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes ihDraw { to { stroke-dashoffset: 0; } }
@keyframes ihFill { to { fill: #fff; } }
@keyframes ihUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* build 49: اسم التصنيف على أول تطبيق فيه */
.iapp { position: relative; } .iapp .mgcap { position: absolute; top: -17px; inset-inline-start: 0; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; white-space: nowrap; text-shadow: 0 1px 3px rgba(0,0,0,.5); }

/* audit 73 #15: فوق كان فيه ~15 زرار صغير حتى عند الكاشير، وعلى الشاشة الأضيق الهيدر بيبقى سطرين.
   تحت 1500px: الصوت وملء الشاشة والقفل والموبايل والليلى والألوان والمواقع بيتلمّوا فى زرار واحد 🎛 (مركز التحكم) */
@media (max-width: 1500px) {
  html:not([data-look="ios"]) #btnCC { display: inline-flex; align-items: center; justify-content: center; }
  html:not([data-look="ios"]) #btnSound, html:not([data-look="ios"]) #btnFull, html:not([data-look="ios"]) #btnLock, html:not([data-look="ios"]) #btnMob,
  html:not([data-look="ios"]) #btnTheme, html:not([data-look="ios"]) #btnPal, html:not([data-look="ios"]) #btnLinks { display: none !important; }
}
