/* Hnaya design system tokens (tokens.json, 2026-11-16): light by default, dark on html[data-theme="dark"]. */
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 300; font-display: swap; src: url(/fonts/plex-arabic-300.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 300; font-display: swap; src: url(/fonts/plex-latin-ext-300.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 300; font-display: swap; src: url(/fonts/plex-latin-300.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/plex-arabic-400.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/plex-latin-ext-400.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/plex-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/plex-arabic-500.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/plex-latin-ext-500.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/plex-latin-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/plex-arabic-700.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/plex-latin-ext-700.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/plex-latin-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #EEF3F9;
  --bg-sky: #DDEFFF;
  --bg-deep: #EEF2F7;
  --surface: #FFFFFF;
  --surface-2: #F4F7FB;
  --line: #E6EBF1;
  --line-strong: #C4CDD8;
  --ink: #0C1118;
  --ink-2: #4D5868;
  --muted: #5F6B7B;
  --primary: #1A72DD;
  --primary-hi: #1E74E0;
  --primary-lo: #1562CA;
  --on-primary: #FFFFFF;
  --primary-ink: #1A72DD;
  --primary-soft: #E3F0FF;
  --on-primary-soft: #1562CA;
  --on-blue-muted: #DCEBFF;
  --cyan: #2EA8FF;
  --on-cyan: #021523;
  --navy: #0B4F8A;
  --navy-deep: #082F5C;
  --ice: #CFE5FF;
  --gold: #F4B740;
  --on-gold: #261800;
  --price: #0F7A43;
  --whatsapp: #2FD27B;
  --on-whatsapp: #04200F;
  --danger: #B91C1C;
  --danger-soft: #FEE2E2;
  --count: #C0392B;
  --beta: #FBBF24;
  --on-beta: #0C1118;
  --st-new-bg: #E3F2FF;
  --st-new: #0E6BB3;
  --st-noanswer-bg: #FFF0DB;
  --st-noanswer: #A34A06;
  --st-confirmed-bg: #EEE9FF;
  --st-confirmed: #5B3FD1;
  --st-shipped-bg: #DCF5F6;
  --st-shipped: #0B7177;
  --st-delivered-bg: #DCFCE7;
  --st-delivered: #15803D;
  --st-cancelled-bg: #FEE2E2;
  --st-cancelled: #B91C1C;
  --cat-blue: #1A72DD;
  --cat-blue-soft: #8CC4FF;
  --cat-blue-tile: #E6F1FF;
  --cat-sky: #1497E0;
  --cat-sky-soft: #9ADBFF;
  --cat-sky-tile: #E2F5FF;
  --cat-teal: #0E9C98;
  --cat-teal-soft: #8FE3DC;
  --cat-teal-tile: #DFF7F4;
  --cat-violet: #6A4FDB;
  --cat-violet-soft: #C4B7FF;
  --cat-violet-tile: #EFEBFF;
  --cat-orange: #EC7417;
  --cat-orange-soft: #FFC48F;
  --cat-orange-tile: #FFF0E2;
  --cat-pink: #DE4380;
  --cat-pink-soft: #FFB2CE;
  --cat-pink-tile: #FFEBF2;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(12,17,24,.04), 0 10px 30px rgba(12,17,24,.05);
  --shadow-float: 0 12px 30px rgba(12,17,24,.12);
  --shadow-primary: 0 6px 16px rgba(26,114,221,.28);
  --font-sans: "IBM Plex Sans Arabic", Tahoma, system-ui, sans-serif;
  --grad: linear-gradient(225deg, var(--primary-hi), var(--primary-lo));
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0A0E14;
  --bg-sky: #0F2440;
  --bg-deep: #0A0E14;
  --surface: #12171F;
  --surface-2: #1A212B;
  --line: #222A35;
  --line-strong: #2F3946;
  --ink: #E8EEF5;
  --ink-2: #A3AFC0;
  --muted: #93A0B2;
  --primary-ink: #5AA6FF;
  --primary-soft: #132E4D;
  --on-primary-soft: #5AA6FF;
  --price: #4ADE80;
  --danger: #F87171;
  --danger-soft: #3A1619;
  --st-new-bg: #132E4D;
  --st-new: #6CB8FF;
  --st-noanswer-bg: #3A2812;
  --st-noanswer: #F7A75C;
  --st-confirmed-bg: #262046;
  --st-confirmed: #B3A3FF;
  --st-shipped-bg: #0F3335;
  --st-shipped: #5FD3D9;
  --st-delivered-bg: #0F2E1C;
  --st-delivered: #4ADE80;
  --st-cancelled-bg: #3A1619;
  --st-cancelled: #F87171;
  --cat-blue-tile: #14304F;
  --cat-sky-tile: #0F3346;
  --cat-teal-tile: #0E3634;
  --cat-violet-tile: #28224A;
  --cat-orange-tile: #43280F;
  --cat-pink-tile: #46182B;
  --shadow-card: 0 0 0 1px rgba(255,255,255,.06), 0 10px 28px rgba(0,0,0,.35);
  --shadow-float: 0 12px 30px rgba(0,0,0,.45);
  color-scheme: dark;
}

/* The Hnaya design system's components (bundle.css, 2026-11-16), unchanged but for the font import. */
/* Hnaya components. Every colour comes from tokens.css. RTL first. */
.hn{font-family:var(--font-sans);color:var(--ink);font-weight:400;-webkit-font-smoothing:antialiased}
.hn *,.hn *::before,.hn *::after{box-sizing:border-box}
.hn-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}
.hn-col{display:flex;flex-direction:column;gap:var(--space-3)}
.hn-ico{width:20px;height:20px;flex:none}
.hn-mu{color:var(--muted)}
/* Button */
.hn-btn{height:46px;padding:0 20px;border-radius:var(--radius-pill);border:0;font:inherit;font-weight:700;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;white-space:nowrap;text-decoration:none}
.hn-btn:focus-visible,.hn-seg button:focus-visible,.hn-chip:focus-visible,.hn-nav a:focus-visible{outline:2px solid var(--primary-ink);outline-offset:2px}
.hn-btn--primary{background:linear-gradient(225deg,var(--primary-hi),var(--primary-lo));color:var(--on-primary)}
.hn-btn--primary:hover{filter:brightness(1.06)}
.hn-btn--secondary{background:var(--surface);color:var(--ink);border:1px solid var(--line)}
.hn-btn--quiet{background:var(--surface-2);color:var(--ink)}
.hn-btn--soft{background:var(--primary-soft);color:var(--on-primary-soft)}
.hn-btn--gold{background:var(--gold);color:var(--on-gold)}
.hn-btn--whatsapp{background:var(--whatsapp);color:var(--on-whatsapp)}
.hn-btn--danger{background:var(--danger-soft);color:var(--danger)}
.hn-btn--lg{height:60px;font-size:18px;font-weight:800;padding:0 28px}
.hn-btn--sm{height:36px;font-size:13px;padding:0 14px}
.hn-btn--icon{width:46px;padding:0}
.hn-btn[disabled]{background:var(--surface-2);color:var(--muted);cursor:not-allowed;filter:none}
/* Badge / status */
.hn-badge{display:inline-flex;align-items:center;gap:5px;border-radius:var(--radius-pill);padding:2px 10px;font-size:12px;font-weight:700;line-height:18px}
.hn-badge::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.hn-badge--new{background:var(--st-new-bg);color:var(--st-new)}
.hn-badge--noanswer{background:var(--st-noanswer-bg);color:var(--st-noanswer)}
.hn-badge--confirmed{background:var(--st-confirmed-bg);color:var(--st-confirmed)}
.hn-badge--shipped{background:var(--st-shipped-bg);color:var(--st-shipped)}
.hn-badge--delivered{background:var(--st-delivered-bg);color:var(--st-delivered)}
.hn-badge--cancelled{background:var(--st-cancelled-bg);color:var(--st-cancelled)}
.hn-count{min-width:22px;height:22px;border-radius:var(--radius-pill);background:var(--count);color:#fff;font-size:12px;font-weight:800;display:inline-grid;place-items:center;padding:0 6px}
/* Segmented */
.hn-seg{display:inline-flex;background:var(--surface-2);border-radius:var(--radius-pill);padding:4px}
.hn-seg button{border:0;background:none;font:inherit;font-size:13px;font-weight:700;color:var(--muted);padding:8px 16px;border-radius:var(--radius-pill);cursor:pointer}
.hn-seg button[aria-pressed=true]{background:var(--surface);color:var(--primary-ink);box-shadow:0 1px 3px rgba(12,17,24,.1)}
.hn-seg--solid button[aria-pressed=true]{background:var(--primary-soft);color:var(--on-primary-soft);box-shadow:none}
/* Chips / tabs */
.hn-chip{height:40px;border-radius:var(--radius-pill);background:var(--surface);color:var(--ink);border:0;font:inherit;font-size:14px;font-weight:700;display:inline-flex;align-items:center;gap:6px;padding:0 16px;cursor:pointer}
.hn-chip small{font-size:12px;color:var(--muted);font-weight:700}
.hn-chip[aria-pressed=true]{background:var(--primary-soft);color:var(--on-primary-soft);box-shadow:inset 0 0 0 1.5px var(--on-primary-soft)}
.hn-chip[aria-pressed=true] small{color:var(--on-primary-soft)}
/* Inputs */
.hn-field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700}
.hn-input{height:46px;border-radius:var(--radius-pill);background:var(--surface);border:1.5px solid var(--line);padding:0 16px;font:inherit;font-size:15px;color:var(--ink);display:flex;align-items:center;gap:8px}
.hn-input:focus-within{border-color:var(--primary-ink)}
.hn-input input{border:0;outline:0;background:none;font:inherit;color:inherit;flex:1;min-width:0}
.hn-input--error{border-color:var(--danger)}
.hn-help{font-size:12px;font-weight:400;color:var(--muted)}
.hn-help--error{color:var(--danger)}
/* Search box (hnaya.me) */
.hn-search{background:var(--surface);border-radius:var(--radius-xl);padding:12px;display:flex;flex-direction:column;gap:10px;box-shadow:var(--shadow-card)}
.hn-drop{border-radius:26px;background:var(--surface-2);border:1.5px dashed var(--line-strong);padding:26px;display:flex;align-items:center;justify-content:center;gap:16px}
.hn-cam{width:56px;height:56px;border-radius:50%;background:linear-gradient(225deg,var(--primary-hi),var(--primary-lo));color:var(--on-primary);display:grid;place-items:center;flex:none;box-shadow:var(--shadow-primary)}
/* Toggle */
.hn-toggle{width:40px;height:24px;border-radius:var(--radius-pill);background:var(--line-strong);position:relative;border:0;cursor:pointer;flex:none}
.hn-toggle::after{content:"";position:absolute;top:3px;right:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:right .15s}
.hn-toggle[aria-checked=true]{background:linear-gradient(225deg,var(--primary-hi),var(--primary-lo))}
.hn-toggle[aria-checked=true]::after{right:19px}
/* Card */
.hn-card{background:var(--surface);border-radius:var(--radius-lg);padding:var(--space-5);box-shadow:var(--shadow-card)}
.hn-stat .k{font-size:13px;color:var(--muted)}.hn-stat .v{font-size:34px;line-height:40px;font-weight:800}.hn-stat .d{font-size:12px;font-weight:700;color:var(--price)}
/* Nav */
.hn-nav{display:flex;flex-direction:column;gap:2px}
.hn-nav a{display:flex;align-items:center;gap:12px;height:42px;padding:0 14px;border-radius:var(--radius-pill);color:var(--ink-2);font-size:15px;font-weight:700;text-decoration:none}
.hn-nav a[aria-current=page]{background:linear-gradient(225deg,var(--primary-hi),var(--primary-lo));color:var(--on-primary);box-shadow:var(--shadow-primary)}
.hn-nav a .hn-count{margin-inline-start:auto}
.hn-upgrade{background:linear-gradient(225deg,var(--navy),var(--navy-deep));color:var(--on-primary);border-radius:22px;padding:14px;display:flex;flex-direction:column;gap:7px}
.hn-upgrade small{font-size:12px;color:var(--on-blue-muted)}
.hn-crown{width:30px;height:30px;border-radius:50%;background:var(--gold);color:var(--on-gold);display:grid;place-items:center;flex:none}
.hn-bar{height:6px;border-radius:var(--radius-pill);background:rgba(255,255,255,.22);overflow:hidden}.hn-bar i{display:block;height:100%;border-radius:inherit;background:var(--gold)}
.hn-bottom{display:flex;background:var(--surface);border-radius:var(--radius-pill);padding:6px;box-shadow:var(--shadow-float)}
.hn-bottom a{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;font-weight:700;color:var(--ink-2);padding:8px 0;border-radius:var(--radius-pill);text-decoration:none}
.hn-bottom a[aria-current=page]{background:linear-gradient(225deg,var(--primary-hi),var(--primary-lo));color:var(--on-primary)}
/* Rows */
.hn-orow{display:flex;align-items:center;gap:12px;padding:12px 4px;border-bottom:1px solid var(--line)}
.hn-av{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-weight:800;background:var(--surface-2);flex:none}
.hn-call{width:40px;height:40px;border-radius:50%;background:var(--primary-soft);color:var(--on-primary-soft);display:grid;place-items:center;flex:none;border:0}
.hn-selected{background:var(--primary-soft);color:var(--ink);border-radius:22px;padding:14px 18px;box-shadow:inset 0 0 0 2px var(--primary-ink)}
.hn-selected .hn-call{background:var(--surface)}
.hn-ocard{background:var(--surface);border-radius:var(--radius-lg);padding:16px;display:flex;flex-direction:column;gap:12px}
/* Offer card (hnaya.me) */
.hn-offer{background:var(--surface);border-radius:var(--radius-lg);padding:8px;display:flex;flex-direction:column;gap:6px;box-shadow:var(--shadow-card);width:220px}
.hn-offer .ph{aspect-ratio:1;border-radius:var(--radius-md);background:var(--surface-2) center/cover;position:relative}
.hn-offer .tag{position:absolute;top:10px;right:10px;border-radius:var(--radius-pill);padding:3px 10px;font-size:11px;font-weight:700}
.hn-offer .tag--found{background:var(--st-delivered-bg);color:var(--st-delivered)}
.hn-offer .tag--similar{background:var(--surface);color:var(--ink-2)}
.hn-offer .nm{font-size:14px;font-weight:700;padding:4px 6px 0;line-height:1.45}
.hn-offer .pr{font-size:18px;font-weight:800;color:var(--price);padding:0 6px}
.hn-offer .mt{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);padding:0 6px}
.hn-lock{height:40px;border-radius:var(--radius-pill);background:var(--surface-2);display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px;font-weight:700;color:var(--ink);margin-top:4px}
/* POS tile */
.hn-tile{background:var(--surface);border-radius:22px;padding:8px;display:flex;flex-direction:column;gap:6px;position:relative;width:180px}
.hn-tile .ph{height:118px;border-radius:16px;background:var(--surface-2) center/cover}
.hn-tile .nm{font-size:14px;font-weight:700;padding:0 6px}.hn-tile .pr{font-size:16px;font-weight:800;padding:0 6px 4px}
.hn-tile .st{position:absolute;top:14px;right:14px;background:var(--surface);border-radius:var(--radius-pill);padding:1px 9px;font-size:11.5px;font-weight:700}
.hn-tile .q{position:absolute;top:14px;left:14px;width:26px;height:26px;border-radius:50%;background:var(--primary);color:var(--on-primary);font-size:12px;font-weight:800;display:grid;place-items:center}
.hn-tile.in{box-shadow:0 0 0 2px var(--primary)}
.hn-tile.out .ph{filter:grayscale(1);opacity:.5}
/* Numpad */
.hn-pad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:300px}
.hn-pad span{height:62px;border-radius:var(--radius-md);background:var(--surface-2);display:grid;place-items:center;font-size:24px;font-weight:800}
.hn-pad .clr{font-size:16px;color:var(--danger)}
.hn-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:300px}
.hn-quick span{height:44px;border-radius:var(--radius-pill);background:var(--primary-soft);color:var(--on-primary-soft);display:grid;place-items:center;font-size:14px;font-weight:700}
/* Banners */
.hn-beta{background:var(--beta);color:var(--on-beta);font-size:13px;font-weight:700;text-align:center;padding:7px 12px}
.hn-plan{display:flex;align-items:center;gap:14px;background:var(--surface);border-radius:var(--radius-lg);padding:14px 18px}
.hn-plan .track{height:8px;border-radius:var(--radius-pill);background:var(--surface-2);overflow:hidden}.hn-plan .track i{display:block;height:100%;background:var(--gold);border-radius:inherit}
.hn-pro{display:flex;align-items:center;gap:16px;background:linear-gradient(225deg,var(--navy),var(--navy-deep));color:#fff;border-radius:var(--radius-lg);padding:16px 22px}
.hn-pro small{color:var(--on-blue-muted);font-size:13px}
/* Sheet */
.hn-sheet{background:var(--surface);border-radius:30px;box-shadow:0 30px 80px rgba(12,17,24,.25);width:420px;overflow:hidden}
.hn-sheet header{display:flex;align-items:center;gap:12px;padding:18px 22px;border-bottom:1px solid var(--line)}
.hn-sheet .body{padding:18px 22px;display:flex;flex-direction:column;gap:12px}
.hn-x{width:38px;height:38px;border-radius:50%;background:var(--surface-2);display:grid;place-items:center;border:0;color:var(--ink);font:inherit}

/* Category tiles: one hue per category (assets/Categories) */
.hn-cat{--cat:var(--cat-blue);--cat-tile:var(--cat-blue-tile);width:56px;height:56px;border-radius:var(--radius-md);background:var(--cat-tile);display:grid;place-items:center;flex:none}
.hn-cat svg,.hn-cat img{width:58%;height:58%}
.hn-cat--sm{width:40px;height:40px;border-radius:12px}
.hn-cat--lg{width:76px;height:76px;border-radius:24px}
.hn-cat--blue,.hn-catcard--blue,.hn-catchip--blue{--cat:var(--cat-blue);--cat-tile:var(--cat-blue-tile)}
.hn-cat--sky,.hn-catcard--sky,.hn-catchip--sky{--cat:var(--cat-sky);--cat-tile:var(--cat-sky-tile)}
.hn-cat--teal,.hn-catcard--teal,.hn-catchip--teal{--cat:var(--cat-teal);--cat-tile:var(--cat-teal-tile)}
.hn-cat--violet,.hn-catcard--violet,.hn-catchip--violet{--cat:var(--cat-violet);--cat-tile:var(--cat-violet-tile)}
.hn-cat--orange,.hn-catcard--orange,.hn-catchip--orange{--cat:var(--cat-orange);--cat-tile:var(--cat-orange-tile)}
.hn-cat--pink,.hn-catcard--pink,.hn-catchip--pink{--cat:var(--cat-pink);--cat-tile:var(--cat-pink-tile)}
.hn-catcard{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 8px 14px;border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card);color:var(--ink);text-align:center;text-decoration:none}
.hn-catcard b{font-weight:700;font-size:14px;line-height:1.35}
.hn-catcard .n{font-size:12px;color:var(--muted)}
.hn-catcard .new{font-size:11.5px;font-weight:800;color:var(--cat);background:var(--cat-tile);border-radius:var(--radius-pill);padding:2px 9px}
.hn-catchip{display:inline-flex;align-items:center;gap:8px;height:44px;padding-inline:6px 16px;border-radius:var(--radius-pill);background:var(--surface);color:var(--ink);font:inherit;font-weight:700;font-size:14px;border:0;box-shadow:var(--shadow-card);white-space:nowrap}
.hn-catchip .hn-cat{width:32px;height:32px;border-radius:50%}
.hn-catchip[aria-pressed=true]{background:var(--cat-tile);color:var(--cat);box-shadow:inset 0 0 0 1.5px var(--cat)}

/* Dark grounds: one ground, hero as a glow, no light bands */
.hn[data-theme=dark] .hn-hero,.hn[data-theme=dark].hn-hero{background:radial-gradient(120% 75% at 50% -12%,var(--bg-sky),transparent 70%),var(--bg)}
.hn[data-theme=dark] .hn-band{background:transparent!important;border-color:var(--line)!important}

/* Hnaya Source screens (new front end, 2026-11-16). Built on tokens.css + components.css (the design system).
   Layouts come from the canvas boards; every colour is a token. Web: 1200px column; phone: 16px gutters. */

/* ---------- ground ---------- */
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; }
body.at-home { background: linear-gradient(170deg, var(--bg-sky) 0, var(--surface-2) 520px, var(--bg-deep) 900px, var(--bg) 1100px) top / 100% 1100px no-repeat, var(--bg); }
:root[data-theme="dark"] body.at-home { background: radial-gradient(120% 700px at 50% -140px, var(--bg-sky), transparent 70%) top / 100% 900px no-repeat, var(--bg); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--primary-ink); text-decoration: none; }
img { max-width: 100%; }
[hidden] { display: none !important; }
bdi { unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--primary-ink); outline-offset: 2px; }
.ssr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
* { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }

/* ---------- top bar: logo · the sections in the true centre · actions ---------- */
/* the design: 1200 px of content, 32 px each side, logo · tabs in the true centre · actions (design system README, Layout) */
.topbar { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; gap: 14px; max-width: 1200px; box-sizing: content-box; margin: 0 auto; padding: 16px 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); justify-self: start; }
.brand img { width: 42px; height: 42px; object-fit: contain; flex: none; }
.brand .logo-d { display: none; }
:root[data-theme="dark"] .brand .logo-l { display: none; }
:root[data-theme="dark"] .brand .logo-d { display: inline; }
.brand span { font-size: 18px; font-weight: 300; color: var(--ink-2); white-space: nowrap; }
.brand b { font-weight: 700; color: var(--ink); }
.navpill { justify-self: center; display: flex; gap: 4px; background: var(--surface); border-radius: var(--radius-pill); padding: 5px; box-shadow: var(--shadow-card); }
.navpill button { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border: 0; background: none; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.navpill button svg { width: 18px; height: 18px; }
.navpill button[aria-current="page"] { background: var(--grad); color: var(--on-primary); box-shadow: var(--shadow-primary); }
.acts { display: flex; align-items: center; gap: 10px; justify-self: end; }
.acts .up { height: 44px; }
.acts .up .crown { width: 18px; height: 18px; }
.addch { height: 44px; background: var(--surface); color: var(--primary-ink); border: 1.5px solid var(--primary-ink); }
.addch svg { width: 18px; height: 18px; }
.addch .long { display: none; }
.roundb { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--ink); border: 0; display: grid; place-items: center; flex: none;
  box-shadow: var(--shadow-card); font-weight: 700; font-size: 16px; position: relative; padding: 0; }
.roundb svg { width: 20px; height: 20px; }
#account-btn.in { background: var(--grad); color: var(--on-primary); box-shadow: var(--shadow-primary); }
.plan-pill { position: absolute; inset-block-end: -6px; inset-inline-start: 50%; transform: translateX(50%); background: var(--gold); color: var(--on-gold);
  font-size: 10px; line-height: 1; padding: 3px 6px; border-radius: 999px; font-weight: 700; }
[dir="ltr"] .plan-pill { transform: translateX(-50%); }
.langw { position: relative; }
.langmenu { position: absolute; inset-block-start: 52px; inset-inline-end: 0; z-index: 40; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-float);
  padding: 6px; min-width: 160px; display: flex; flex-direction: column; gap: 2px; }
.langmenu button { border: 0; background: none; text-align: start; padding: 10px 12px; border-radius: 12px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; }
.langmenu button:hover { background: var(--surface-2); }
.langmenu button[aria-checked="true"]::after { content: "✓"; color: var(--primary-ink); }
/* Tabs show their labels where they fit with the tabs in the true centre; otherwise icons only, the label kept for
   screen readers. French never fits in the design's 1200 px bar (tabs 548 px + buttons 414 px a side, measured), so
   French tabs are icons only. */
@media (max-width: 1239px) { .navpill button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .navpill button { padding: 0 14px; } }
[dir="ltr"] .navpill button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[dir="ltr"] .navpill button { padding: 0 14px; }
@media (max-width: 859px) {
  .topbar { grid-template-columns: 1fr auto; padding: 12px 16px; gap: 8px; }
  .navpill, #lang-btn, .langw, #admin-link { display: none; }
  .brand span { font-size: 15px; }
  .brand img { width: 34px; height: 34px; }
  .acts { gap: 8px; }
  .acts .up { width: 44px; padding: 0; }
  .acts .up span { display: none; }
  .addch { height: 40px; padding: 0 12px; font-size: 13px; }
  .roundb { width: 40px; height: 40px; }
}

/* ---------- page ---------- */
.page { max-width: 1264px; margin: 0 auto; padding: 8px 32px 64px; min-height: calc(100vh - 40px); }
.view { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 859px) { .page { padding: 4px 16px 110px; } }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 12px; }
.page-head h1 { font-size: 28px; line-height: 36px; }
.page-head .hn-mu { font-size: 13px; margin-top: 2px; }
.ph-acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
@media (max-width: 859px) { .page-head h1 { font-size: 22px; line-height: 30px; } }

/* ---------- the first screen: headline + the search box ---------- */
.hero { display: flex; flex-direction: column; align-items: center; gap: 22px; padding-top: clamp(16px, 6vh, 56px); text-align: center; }
.hero h1 { font-size: clamp(28px, 4.6vw, 46px); line-height: 1.32; font-weight: 300; }
.hero h1 span { display: block; }
.hero h1 .big { font-weight: 700; }
.today-pill { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--surface); color: var(--primary-ink); border-radius: 999px; padding: 6px 14px;
  font-size: 13px; font-weight: 700; box-shadow: var(--shadow-card); margin-bottom: -6px; }
.today-pill .live, i.live { width: 8px; height: 8px; border-radius: 50%; background: var(--price); display: inline-block; flex: none; }
.hn-search { width: 100%; max-width: 720px; text-align: start; }
.search-form { display: flex; flex-direction: column; gap: 10px; }
.hn-drop { cursor: pointer; }
.hn-drop .txt { display: flex; flex-direction: column; gap: 2px; text-align: start; }
.hn-drop strong { font-size: 17px; font-weight: 700; }
.hn-drop .hn-mu { font-size: 13px; }
.hn-drop:hover, .hn-search.over .hn-drop { border-color: var(--primary-ink); }
.hn-cam svg { width: 26px; height: 26px; }
.askrow { display: flex; align-items: center; gap: 10px; padding: 2px 8px 2px 2px; }
[dir="rtl"] .askrow { padding: 2px 8px 2px 2px; }
.askrow .mag { width: 18px; height: 18px; color: var(--muted); flex: none; }
.askrow .ask { flex: 1; min-width: 0; border: 0; background: none; outline: 0; font-size: 15px; padding: 10px 0; color: var(--ink); }
.askrow .ask::placeholder { color: var(--muted); }
.askrow .send { height: 46px; padding: 0 24px; }
.askrow .send svg, .askrow .other-photo svg { width: 18px; height: 18px; }
.askrow .other-photo { display: none; }
.thumb { position: relative; flex: none; display: block; }
.thumb img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block; background: var(--surface-2); }
.thumb .x { position: absolute; inset-block-start: -5px; inset-inline-end: -5px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--surface);
  background: var(--ink); color: var(--surface); display: grid; place-items: center; padding: 0; }
.thumb .x svg { width: 10px; height: 10px; }
.left-note { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--ink-2); margin: -8px 0 0; }
.left-note b { color: var(--ink); font-weight: 700; }
.left-note svg { width: 14px; height: 14px; flex: none; }
.left-note .up { border: 0; background: none; color: var(--primary-ink); font-weight: 700; padding: 0; }
.left-note.out { color: var(--danger); }
@media (max-width: 859px) {
  .hero { gap: 18px; padding-top: 12px; }
  .hn-drop { padding: 22px 14px; }
  .askrow .send { padding: 0 18px; }
}
/* after a search: one slim bar on top (photo thumbnail, words, «صورة أخرى», «بحث») */
#step1.compact { padding-top: 4px; gap: 8px; }
#step1.compact h1, #step1.compact .hn-drop, #step1.compact .today-pill { display: none; }
#step1.compact .hn-search { max-width: none; border-radius: var(--radius-pill); padding: 6px; }
#step1.compact .askrow { padding: 0 6px; }
#step1.compact .other-photo { display: inline-flex; }
#step1.compact .left-note { margin: 0; align-self: flex-start; }
@media (max-width: 859px) { #step1.compact .other-photo span { display: none; } #step1.compact .other-photo { width: 46px; padding: 0; } }

/* ---------- footer ---------- */
.foot { background: var(--surface); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
  padding: 18px max(32px, calc((100% - 1200px) / 2)); font-size: 13px; color: var(--muted); }
:root[data-theme="dark"] .foot { background: transparent; }
.foot-links { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.foot-links a { color: var(--primary-ink); }
.foot-theme { display: inline-flex; align-items: center; gap: 10px; }
.theme-row { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--surface-2); }
.theme-row button { border: 0; background: none; color: var(--muted); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; }
.theme-row button[aria-pressed="true"] { background: var(--surface); color: var(--primary-ink); box-shadow: 0 1px 3px rgba(12,17,24,.1); }
@media (max-width: 859px) { .foot { padding: 18px 16px 110px; flex-direction: column; align-items: flex-start; } }

/* ---------- phone bottom bar ---------- */
.phonebar { position: fixed; inset-inline: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 25; }
.phonebar button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--ink-2); padding: 8px 0;
  border-radius: var(--radius-pill); border: 0; background: none; }
.phonebar button svg { width: 21px; height: 21px; }
.phonebar button[aria-current="page"] { background: var(--grad); color: var(--on-primary); }
@media (min-width: 860px) { .phonebar { display: none; } }

/* ---------- toast, scrim ---------- */
.toast { position: fixed; inset-inline: 0; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); margin: 0 auto; width: max-content; max-width: calc(100% - 32px); z-index: 60;
  background: var(--ink); color: var(--surface); border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 700; box-shadow: var(--shadow-float); }
@media (min-width: 860px) { .toast { bottom: 32px; } }
.scrim { position: fixed; inset: 0; z-index: 30; background: rgba(8,13,20,.42); }
:root[data-theme="dark"] .scrim { background: rgba(0,0,0,.66); }
body.no-scroll { overflow: hidden; }

/* ---------- offer grid and card (OfferCard) ---------- */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1260px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 859px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 600px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hn-offer.card { width: auto; cursor: pointer; text-align: start; min-width: 0; }
.hn-offer.card:hover { box-shadow: var(--shadow-card), 0 0 0 1.5px var(--line-strong); }
.hn-offer .ph { overflow: hidden; display: grid; place-items: center; }
.hn-offer .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hn-offer .ph .nopic { color: var(--muted); }
.hn-offer .ph .nopic svg { width: 36px; height: 36px; }
.hn-offer .tag { z-index: 1; inset-inline-start: 10px; right: auto; }
[dir="rtl"] .hn-offer .tag { right: 10px; left: auto; }
[dir="ltr"] .hn-offer .tag { left: 10px; right: auto; }
.hn-offer .ob { position: absolute; z-index: 1; inset-inline-end: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink);
  display: grid; place-items: center; padding: 0; box-shadow: 0 2px 8px rgba(12,17,24,.14); }
.hn-offer .ob svg { width: 16px; height: 16px; }
.hn-offer .ob.star { top: 8px; }
.hn-offer .ob.look { top: 48px; }
.hn-offer .ob.star[aria-pressed="true"] { color: var(--gold); }
.hn-offer .nm { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.hn-offer .pr .u { font-size: 12px; font-weight: 400; color: var(--muted); }
.hn-offer .pr.ask { font-size: 14px; font-weight: 400; color: var(--muted); }
.hn-offer .alf { font-size: 12px; color: var(--muted); padding: 0 6px; margin-top: -4px; }
.hn-offer .flags { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 6px; }
.flag { border-radius: 999px; padding: 1px 10px; font-size: 11.5px; font-weight: 700; border: 1px solid var(--line-strong); color: var(--muted); }
.flag.new { border-color: var(--primary-ink); color: var(--primary-ink); }
.hn-offer .note { display: flex; align-items: center; gap: 6px; margin: 2px 4px 0; padding: 6px 10px; border-radius: 14px; background: var(--cat-orange-tile); color: var(--cat-orange);
  font-size: 12.5px; font-weight: 700; }
.hn-offer .note svg { width: 14px; height: 14px; flex: none; }
.hn-offer .note span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hn-offer .mt { padding-bottom: 4px; }
.hn-offer.past { opacity: .85; }
@media (max-width: 600px) { .hn-offer .nm { font-size: 13px; } .hn-offer .pr { font-size: 16px; } }

/* skeleton */
.grid.skel { min-height: 260px; }
.sk { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 8px; }
.sk .p { aspect-ratio: 1; border-radius: var(--radius-md); }
.sk .p, .sk i { display: block; background: linear-gradient(90deg, var(--surface-2), var(--line), var(--surface-2)); background-size: 200% 100%; animation: sk 1.4s ease-in-out infinite; }
.sk i { height: 12px; border-radius: 6px; margin: 10px 6px 0; }
.sk i.s { width: 50%; }
@keyframes sk { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .sk .p, .sk i { animation: none; } }
.sk i.p { height: auto; aspect-ratio: 1; margin: 0; border-radius: var(--radius-md); }
.sk i.l2 { width: 60%; } .sk i.l3 { width: 40%; margin-bottom: 6px; }

/* ---------- sections (home, Discover, Saved) ---------- */
.home-feed { display: flex; flex-direction: column; gap: 36px; margin-top: 36px; }
.sec { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; }
.sec-t h2 { font-size: 22px; line-height: 30px; }
.sec-t .hn-mu { font-size: 13px; }
.sec-links { display: flex; align-items: center; gap: 16px; font-size: 13px; }
.sec-links .link, .link { border: 0; background: none; padding: 0; color: var(--primary-ink); font-weight: 700; font-size: 13.5px; }
/* a white band across the page in light; in dark the ground stays and the band is two lines */
.sec.band { position: relative; padding-block: 28px; isolation: isolate; }
.sec.band::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); background: var(--surface); z-index: -1; }
:root[data-theme="dark"] .sec.band::before { background: transparent; border-block: 1px solid var(--line); }
/* category chips */
.catchips { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
.catchips::-webkit-scrollbar { display: none; }
.hn-catchip { flex: none; cursor: pointer; }
.hn-catchip.all { padding-inline: 18px; }
.hn-catchip small { font-size: 12px; color: var(--muted); font-weight: 700; }
.hn-catchip.all[aria-pressed="true"] { background: var(--primary-soft); color: var(--on-primary-soft); box-shadow: inset 0 0 0 1.5px var(--on-primary-soft); }
.hn-catchip.all[aria-pressed="true"] small { color: var(--on-primary-soft); }
.hn-cat--chip { width: 32px !important; height: 32px !important; border-radius: 50% !important; }
.hn-cat--xs { width: 24px; height: 24px; border-radius: 50%; }
.hn-cat svg { display: block; }
/* one row of six on a computer, a sideways strip on a phone */
.grid.row6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid.row6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .grid.row6 { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .grid.row6 > * { scroll-snap-align: start; }
}

/* add a channel */
.join { display: flex; align-items: center; gap: 32px; padding: 28px 32px; }
.join-t { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.join .kicker { color: var(--primary-ink); font-size: 13px; font-weight: 700; }
.join h2 { font-size: 26px; line-height: 36px; }
.join ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--ink-2); }
.join li { display: flex; align-items: center; gap: 6px; }
.join li svg { width: 15px; height: 15px; color: var(--primary-ink); }
.join .hn-btn { margin-top: 6px; }
.join .hn-btn svg { width: 18px; height: 18px; }
.join-art { flex: 0 0 340px; background: var(--cat-sky-tile); border-radius: var(--radius-lg); padding: 26px 30px; }
.join-card { background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-card); padding: 14px; display: flex; flex-direction: column; gap: 10px; transform: rotate(-2deg); }
.jc-top { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.jc-top b { flex: 1; }
.jc-plane { color: var(--cat-sky); }
.jc-plane svg { width: 20px; height: 20px; }
.jc-pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.jc-pics img, .jc-pics i { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--surface-2); display: block; }
.jc-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; }
@media (max-width: 859px) { .join { flex-direction: column; align-items: stretch; padding: 20px; gap: 20px; } .join-art { flex: none; padding: 18px; } .join h2 { font-size: 20px; line-height: 28px; } }

/* the categories grid (CategoryTile cards) */
.catgrid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1260px) { .catgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 859px) { .catgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
.hn-catcard { border: 0; cursor: pointer; min-width: 0; }
.hn-catcard:hover { box-shadow: var(--shadow-card), 0 0 0 1.5px var(--line-strong); }
.hn-catcard b { font-size: 14px; }
.hn-catcard .hn-cat--lg { width: 64px; height: 64px; border-radius: 22px; }
@media (max-width: 600px) { .hn-catcard b { font-size: 13px; } .hn-catcard .hn-cat--lg { width: 52px; height: 52px; border-radius: 18px; } }

/* new on the market */
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1080px) { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pcards { grid-template-columns: 1fr; } }
.pcard { display: flex; align-items: center; gap: 14px; padding: 10px; border: 0; cursor: pointer; text-align: start; color: var(--ink); min-width: 0; }
.pcard img { width: 96px; height: 96px; border-radius: var(--radius-md); object-fit: cover; background: var(--surface-2); flex: none; margin-inline-start: auto; }
.pc-b { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pc-b b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-b .pr { font-size: 16px; font-weight: 700; color: var(--price); }
.pc-b .pr.ask { font-size: 13px; font-weight: 400; color: var(--muted); }
.pc-b .hn-mu { font-size: 12px; }
.pc-cat { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 700; }

/* trending */
.hot { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 859px) { .hot { grid-template-columns: minmax(0, 1fr); } .hot-top { order: -1; } }
.hot-list { list-style: none; margin: 0; padding: 6px 16px; min-width: 0; }   /* a long name ends in … instead of widening the page */
.hot-list li + li { border-top: 1px solid var(--line); }
.hot-list button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 0; background: none; border: 0; color: var(--ink); text-align: start; }
.hot-list .rk { width: 22px; font-weight: 700; font-size: 18px; color: var(--muted); text-align: center; flex: none; }
.hot-list img { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; background: var(--surface-2); flex: none; }
.hot-list .hb { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.hot-list .hb b { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hot-list .hb .hn-mu { font-size: 12px; }
.hot-top { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; text-align: start; border: 0; padding: 12px; color: var(--ink); cursor: pointer; }
.hot-top img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); background: var(--surface-2); }
.hot-top b { font-size: 18px; }
.hot-top .hn-mu { font-size: 13px; }
.hot-k { font-size: 13px; font-weight: 700; color: var(--primary-ink); }

/* a visitor: how it works, the numbers */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 859px) { .how { grid-template-columns: 1fr; } }
.how-step { display: flex; flex-direction: column; gap: 6px; padding: 20px; }
.how-n { width: 36px; height: 36px; border-radius: 50%; background: var(--primary-soft); color: var(--on-primary-soft); display: grid; place-items: center; font-weight: 700; }
.how-step b { font-size: 16px; }
.how-step .hn-mu { font-size: 13.5px; }
.nums { justify-content: space-around; flex-wrap: wrap; padding: 26px; gap: 20px; }
.nums div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.nums b { font-size: 32px; font-weight: 700; }
.nums .hn-btn--secondary { background: #fff; color: #1562CA; border: 0; }

/* ---------- buttons the logic writes as .btn (kept as names; drawn as the design system's buttons) ---------- */
.btn { height: 46px; padding: 0 20px; border-radius: var(--radius-pill); border: 0; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; white-space: nowrap; background: var(--grad); color: var(--on-primary); text-decoration: none; }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: var(--surface-2); color: var(--ink); }
.btn.small { height: 36px; font-size: 13px; padding: 0 14px; }
.btn.wa { background: var(--whatsapp); color: var(--on-whatsapp); }
.btn svg, .hn-btn svg { width: 18px; height: 18px; flex: none; }
.hn-btn[disabled], .btn[disabled] { background: var(--surface-2); color: var(--muted); cursor: not-allowed; filter: none; }
.gjoin svg, .gbtn-own svg { width: 20px; height: 20px; }

/* ---------- "this needs a plan / an account": the card over faded offers ---------- */
.teaser { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.teaser .ghosts { grid-area: 1 / 1; opacity: .9; -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 92%); mask-image: linear-gradient(180deg, #000 0, transparent 92%); pointer-events: none; }
.hn-offer.ghost .ph { background-size: cover; background-position: center; filter: blur(10px); transform: scale(1.02); }
.hn-offer.ghost i { display: block; height: 12px; border-radius: 6px; background: var(--surface-2); margin: 6px; }
.hn-offer.ghost i.s { width: 50%; }
.teaser > .cta { grid-area: 1 / 1; align-self: center; justify-self: center; z-index: 1; padding: 16px; width: 100%; max-width: 492px; }
.teaser.bare > .cta { padding: 0; }
.ctacard { width: 100%; max-width: 460px; margin-inline: auto; border-radius: var(--radius-lg); padding: 26px 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  background: linear-gradient(225deg, var(--navy), var(--navy-deep)); color: #fff; box-shadow: 0 24px 60px rgba(8,47,92,.35); }
.ctacard .cta-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); margin-bottom: 4px; }
.ctacard .cta-ic svg { width: 26px; height: 26px; }
.ctacard strong { font-size: 19px; line-height: 1.45; }
.ctacard .cta-sub { font-size: 13.5px; color: var(--on-blue-muted); line-height: 1.6; }
.ctacard .hn-btn, .ctacard .btn { margin-top: 10px; background: #fff; color: #1562CA; height: 48px; padding: 0 26px; }
.ctacard.user { background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px rgba(12,17,24,.16); }
.ctacard.user .cta-ic { background: var(--primary-soft); color: var(--on-primary-soft); }
.ctacard.user .cta-sub { color: var(--muted); }
.ctacard.user .hn-btn, .ctacard.user .btn { background: var(--grad); color: var(--on-primary); }
.ctacard.user .gjoin { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }
.ctacard.clock .cta-ic { background: var(--primary-soft); color: var(--on-primary-soft); }
#limit-wall .ctacard { margin: 8px auto; }

.grid > .hn-offer, .hn-offer.ghost { width: auto; min-width: 0; }

/* ---------- results: one row (count · sort · colour · with a price only) ---------- */
#step2 { margin-top: 18px; }
#results { display: flex; flex-direction: column; gap: 14px; }
.res-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; }
.res-count { display: flex; align-items: baseline; gap: 8px; }
.res-count b { font-size: 22px; font-weight: 700; }
.res-count .hn-mu { font-size: 13px; }
.res-filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.searching-line { text-align: center; color: var(--muted); font-size: 14px; margin: 6px 0 14px; }
.more-row { display: flex; justify-content: center; padding: 6px 0 4px; }
@media (max-width: 859px) {
  .res-head { gap: 8px; }
  .res-filters { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .res-filters::-webkit-scrollbar { display: none; }
  .res-filters > * { flex: none; }
}

/* a dropdown chip (the picker's button) */
.pk-src { display: none !important; }
.pk-btn { height: 40px; border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); border: 0; box-shadow: var(--shadow-card); padding: 0 14px;
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; white-space: nowrap; max-width: 100%; }
.pk-btn .pk-v { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; min-width: 0; }
.pk-btn .pk-v span { overflow: hidden; text-overflow: ellipsis; }
.pk-btn .pk-pre { font-size: 14px; font-weight: 400; color: var(--ink-2); }
.pk-btn .dd-chev svg { width: 14px; height: 14px; transform: rotate(-90deg); color: var(--muted); display: block; }
.pk-btn[disabled] { opacity: .5; }
.sw { width: 14px; height: 14px; border-radius: 50%; display: inline-block; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.sw-stack { display: inline-flex; }
.sw-stack .sw { width: 12px; height: 12px; box-shadow: 0 0 0 1.5px var(--surface); }
.sw-stack .sw + .sw { margin-inline-start: -5px; }
select.field { height: 40px; border-radius: var(--radius-pill); background: var(--surface); border: 0; box-shadow: var(--shadow-card); padding: 0 14px; font-weight: 700; color: var(--ink); }

/* the switch «بالسعر فقط» (Toggle) */
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.switch input { appearance: none; -webkit-appearance: none; width: 40px; height: 24px; border-radius: var(--radius-pill); background: var(--line-strong); position: relative; margin: 0; cursor: pointer; flex: none; }
.switch input::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: inset-inline-start .15s; }
.switch input:checked { background: var(--grad); }
.switch input:checked::after { inset-inline-start: 19px; }

/* ---------- the picker: a bottom sheet on a phone, a centred window on a computer (Sheet) ---------- */
html.pk-on, html.pk-on body { overflow: hidden; }
.pk-back { position: fixed; inset: 0; z-index: 70; background: rgba(8,13,20,.42); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .16s; }
.pk-back.in { opacity: 1; }
:root[data-theme="dark"] .pk-back { background: rgba(0,0,0,.66); }
.pk-box { background: var(--surface); color: var(--ink); width: 100%; max-height: 78vh; border-radius: 30px 30px 0 0; display: flex; flex-direction: column; overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateY(24px); transition: transform .18s; }
.pk-back.in .pk-box { transform: none; }
.pk-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.pk-head b { flex: 1; font-size: 17px; }
.pk-x { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); border: 0; display: grid; place-items: center; color: var(--ink); padding: 0; }
.pk-x svg { width: 16px; height: 16px; }
.pk-findrow { padding: 12px 18px 0; }
.pk-findrow:has(.pk-find[hidden]) { display: none; }
.pk-find { width: 100%; height: 44px; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: var(--surface); padding: 0 16px; }
.pk-list { overflow-y: auto; padding: 8px 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.pk-list.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dd-opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 16px; border: 0; background: none; text-align: start; color: var(--ink); font-weight: 700; font-size: 15px; }
.dd-opt:hover { background: var(--surface-2); }
.dd-opt[aria-selected="true"] { background: var(--primary-soft); color: var(--on-primary-soft); }
.dd-opt .pk-l { flex: 1; min-width: 0; margin-inline-end: auto; }
.dd-opt .n { color: var(--muted); font-size: 13px; font-weight: 700; }
.dd-opt .tick svg { width: 16px; height: 16px; display: block; }
@media (min-width: 860px) {
  .pk-back { align-items: center; }
  .pk-box { width: 420px; max-height: min(640px, 80vh); border-radius: 30px; box-shadow: 0 30px 80px rgba(12,17,24,.25); transform: scale(.98); }
}

/* ---------- the offer window ---------- */
.sheet { position: fixed; z-index: 31; background: var(--surface); color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
  inset: auto 0 0 0; max-height: calc(100% - 36px); border-radius: 28px 28px 0 0; padding: 10px 16px 0; }
.sheet::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 9px; background: var(--line-strong); margin: 0 auto 10px; }
.ow { display: flex; flex-direction: column; gap: 16px; }
.ow-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ow-head { display: flex; align-items: flex-start; gap: 8px; }
.ow-t { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ow-t h2 { font-size: 20px; line-height: 1.4; }
.hn-badge.sim { background: var(--surface-2); color: var(--ink-2); }
.ow-acts { display: flex; gap: 8px; flex: none; }
.ow-ib { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--ink); display: grid; place-items: center; padding: 0; }
.ow-ib svg { width: 17px; height: 17px; }
.ow-ib[aria-pressed="true"] { background: var(--grad); color: var(--on-primary); }
.ow-meta { font-size: 13px; color: var(--muted); }
.ow-sec { font-size: 15px; font-weight: 700; }
.ow-sec.small { font-size: 12.5px; display: block; color: var(--ink); }
.ow-warn { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.ow-warn svg { width: 14px; height: 14px; flex: none; }
.plist { display: flex; flex-direction: column; }
.pline { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.pline b { font-size: 17px; font-weight: 700; color: var(--price); }
.plist .pline:first-of-type b { font-size: 24px; }
.pline .alf { font-size: 12px; color: var(--muted); }
.pline .pl-u { margin-inline-start: auto; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.pline b.ask-price { font-size: 15px !important; font-weight: 400; color: var(--muted); }
.ow-plans { align-self: center; border: 0; background: none; color: var(--primary-ink); font-weight: 700; font-size: 13.5px; padding: 0; }
.ow-hint { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-md); background: var(--cat-sky-tile); border: 0; color: var(--ink); text-align: start; font-size: 13px; line-height: 1.5; }
.ow-hint .hn-cat { width: 36px; height: 36px; border-radius: 11px; color: var(--cat-sky); flex: none; }
.ow-hint .hn-cat svg { width: 18px; height: 18px; }
.ow-hint > span:nth-child(2) { flex: 1; }
.ow-hint .chev { width: 18px; height: 18px; color: var(--cat-sky); flex: none; }
.sell-it { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--primary-soft); color: var(--ink); }
.sell-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--primary); color: #fff; display: grid; place-items: center; flex: none; }
.sell-ic svg { width: 20px; height: 20px; }
.sell-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sell-txt b { font-size: 15px; }
.sell-txt span { font-size: 12.5px; color: var(--muted); }
.sell-it .beta { font-size: 10.5px; font-weight: 700; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 1px 7px; }
.sell-go { color: var(--primary-ink); }
.sell-go svg { width: 18px; height: 18px; display: block; }
.cap-box { background: var(--surface-2); border-radius: var(--radius-md); padding: 12px 14px; }
.cap { font-size: 13.5px; line-height: 1.7; color: var(--ink-2); white-space: pre-line; margin-top: 2px; }
.note-box { display: flex; flex-direction: column; gap: 6px; }
.note-box textarea { border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface); padding: 10px 14px; resize: vertical; }
.rep-zone .report { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.rep-zone .report svg { width: 15px; height: 15px; }
.newer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: var(--radius-md); background: var(--primary-soft);
  color: var(--on-primary-soft); font-size: 13px; font-weight: 700; flex-wrap: wrap; }

/* the gallery */
.pgal { position: relative; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-2); min-width: 0; }
.pgal.empty { aspect-ratio: 1; display: grid; place-items: center; color: var(--muted); }
.pgal.empty svg { width: 48px; height: 48px; }
.pgal-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 1; max-height: 62vh; }
.pgal-main::-webkit-scrollbar { display: none; }
.pgal-main img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; cursor: zoom-in; background: var(--surface-2); }
.pgal-n { position: absolute; top: 10px; inset-inline-end: 10px; background: rgba(12,17,24,.6); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; direction: ltr; }
.pgal-dots { position: absolute; bottom: 12px; inset-inline: 0; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.pgal-dots i { width: 6px; height: 6px; border-radius: 9px; background: #fff; opacity: .6; transition: width .15s; }
.pgal-dots i.on { width: 18px; opacity: 1; }
.pgal-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-card); display: none; place-items: center; padding: 0; }
.pgal-arrow svg { width: 18px; height: 18px; }
.pgal-arrow.prev { inset-inline-start: 10px; } .pgal-arrow.next { inset-inline-end: 10px; }
[dir="rtl"] .pgal-arrow svg { transform: scaleX(-1); }
.pgal-thumbs { display: none; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.pgal-thumbs button { flex: 0 0 76px; height: 76px; border-radius: 18px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--surface-2); }
.pgal-thumbs button[aria-current="true"] { border-color: var(--primary-ink); box-shadow: 0 0 0 2px var(--surface) inset; }
.pgal-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* the contact bar: on a phone pinned to the bottom of the sheet */
.cbar { display: flex; flex-direction: column; gap: 8px; }
.cbar-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cbar-btns.one { grid-template-columns: 1fr; }
.cbar-btns .hn-btn { height: 52px; font-size: 15px; }
.cbar-btns .hn-btn svg { width: 20px; height: 20px; }
.cbar-lock { display: flex; align-items: center; gap: 12px; }
.cbar-lock .who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cbar-lock .who b { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.cbar-lock .who b svg { width: 15px; height: 15px; }
.cbar-lock .who span { font-size: 12px; color: var(--muted); }
.cbar-note { font-size: 13px; color: var(--ink-2); text-align: center; }
.cbar-note.out { color: var(--danger); }
.cbar-note .link { margin-inline-start: 6px; }
.cbar.off .cbar-btns .hn-btn { opacity: .45; pointer-events: none; }
@media (max-width: 859px) {
  .ow-gal { margin: 0 -2px; }
  .ow-info .cbar { order: 99; position: sticky; bottom: 0; z-index: 3; margin: 4px -16px 0; padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px rgba(0,0,0,.07); }
  .ow-info .rep-zone { padding-bottom: 4px; }
}
@media (min-width: 860px) {
  .sheet { inset: 0; margin: auto; width: min(920px, calc(100vw - 48px)); height: fit-content; max-height: min(880px, calc(100vh - 48px)); border-radius: 30px;
    padding: 24px; box-shadow: 0 30px 80px rgba(12,17,24,.25); }
  .sheet::before { display: none; }
  .ow { flex-direction: row-reverse; align-items: flex-start; gap: 24px; }
  .ow-info { flex: 1; }
  .ow-gal { flex: 0 0 46%; max-width: 46%; min-width: 0; position: sticky; top: 0; }
  .ow-info { min-width: 0; }
  .pgal-main { aspect-ratio: auto; height: min(520px, 58vh); }
  .pgal-arrow { display: grid; }
  .pgal-thumbs { display: flex; }
  .pgal-dots { display: none; }
  .ow-info .cbar { order: 0; }
}

/* ---------- Categories ---------- */
#cat-home { display: flex; flex-direction: column; gap: 18px; }
#cat-home .page-head { align-items: baseline; }
.catgrid.six { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1080px) { .catgrid.six { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .catgrid.six { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
.catgrid.six .hn-catcard { padding: 18px 8px 16px; }
.hn-catcard.sk { height: 168px; box-shadow: var(--shadow-card); background: var(--surface); }
.all-ic { background: var(--primary-soft); color: var(--on-primary-soft); }
.all-ic svg { width: 46%; height: 46%; }
.cat-head { align-items: center; justify-content: flex-start; gap: 16px; }
#cat-art .hn-cat--lg { width: 64px; height: 64px; border-radius: 22px; }
.crumb { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.crumb .link { font-size: 13px; font-weight: 400; color: var(--muted); }
#cat-title { font-size: 28px; line-height: 1.25; }
#cat-sub { font-size: 13px; color: var(--muted); }
.today-n { color: var(--primary-ink); }
.cat-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#dd-cat { display: none; }
.cat-filters { display: contents; }
.bar-end { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 12px; }
.cat-count { font-size: 13px; }
.range { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--surface); box-shadow: var(--shadow-card); font-weight: 700; font-size: 14px; }
.range .rl { color: var(--ink-2); font-weight: 400; }
.range input { width: 64px; border: 0; background: none; outline: 0; font-weight: 700; text-align: center; padding: 0; }
.range input::placeholder { color: var(--muted); font-weight: 400; }
.range:focus-within { box-shadow: var(--shadow-card), 0 0 0 2px var(--primary-ink); }
.chips-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip.act { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: var(--radius-pill); border: 0; background: var(--primary-soft); color: var(--on-primary-soft); font-weight: 700; font-size: 13px; }
.chip.act .x svg { width: 12px; height: 12px; display: block; }
.clear-all { font-size: 13px; }
.filter-btn { display: none; }
#cat-filter-n { min-width: 20px; height: 20px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 11px; display: inline-grid; place-items: center; }
#cat-list { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 859px) {
  .cat-head { gap: 12px; }
  #cat-art .hn-cat--lg { width: 52px; height: 52px; border-radius: 18px; }
  #cat-title { font-size: 22px; }
  .filter-btn { display: inline-flex; height: 40px; }
  .cat-filters { display: none; }
  .cat-filters.open { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; padding: 12px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); }
  .cat-count-m { display: none; }
}
@media (min-width: 860px) { .cat-count-m { display: none; } }

/* ---------- Discover ---------- */
#disc-list { display: flex; flex-direction: column; gap: 16px; }
.disc-head { align-items: center; min-height: 64px; }
.disc-head .ph-acts { flex-wrap: nowrap; }
#disc-sub { display: flex; align-items: center; gap: 5px; height: 20px; line-height: 20px; white-space: nowrap; }
.disc-head .ph-t h1 { height: 36px; }
#disc-sub svg { width: 14px; height: 14px; color: var(--price); }
.hn-seg button { white-space: nowrap; }
.hn-offer .rank { position: absolute; z-index: 1; top: 10px; inset-inline-start: 10px; background: rgba(12,17,24,.72); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 700; direction: ltr; }
.hn-offer.prod .mt { justify-content: flex-start; }
.vend-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 12px 14px; }
.vend-head img { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; background: var(--surface-2); }
.vend-head .who { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.vend-head .who strong { font-size: 17px; }
.vend-head .who .hn-mu { font-size: 13px; }
#disc-vendors { display: flex; flex-direction: column; gap: 16px; }
.today-note { font-size: 13px; color: var(--ink-2); }
@media (max-width: 859px) { .disc-head .ph-acts { width: 100%; justify-content: flex-start; } .disc-head #disc-seg { order: -1; } .disc-head #disc-days { margin-inline-start: auto; } }

/* ---------- Saved ---------- */
#view-saved .catchips .hn-chip { box-shadow: var(--shadow-card); flex: none; }
#view-saved .catchips .hn-chip[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--on-primary-soft); }

/* ---------- empty states ---------- */
#find-empty, #saved-empty, #cat-empty, #dt-empty, #dp-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 16px; text-align: center; color: var(--ink-2); }
.blank-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-card); display: grid; place-items: center; color: var(--muted); }
.blank-ic svg { width: 30px; height: 30px; }

/* ---------- account («حسابي»), one column ---------- */
.acc { width: 100%; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.acc .hn-card { display: flex; flex-direction: column; gap: 12px; }
.acc-who { flex-direction: row !important; align-items: center; }
.acc-who .av { width: 52px; height: 52px; border-radius: 50%; background: var(--primary-soft); color: var(--on-primary-soft); display: grid; place-items: center; font-weight: 700; font-size: 20px; flex: none; }
.acc-who .who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.acc-who .who b { font-size: 18px; }
.acc-who .who .hn-mu { font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.plan-chip { border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 700; background: var(--surface-2); color: var(--ink); white-space: nowrap; }
.plan-chip.pro, .plan-chip.vip { background: var(--gold); color: var(--on-gold); }
.plan-chip.starter { background: var(--primary-soft); color: var(--on-primary-soft); }
.m-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.m-head b { font-size: 16px; }
.small { font-size: 12.5px; }
.meter { display: flex; flex-direction: column; gap: 6px; }
.m-row { display: flex; justify-content: space-between; font-size: 14px; }
.m-row b { font-weight: 700; }
.m-bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.m-bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); }
.m-bar.low i { background: var(--danger); }
.acc-line { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--surface-2); font-size: 14px; }
.acc-line svg { width: 16px; height: 16px; }
.acc-line b { flex: 1; font-weight: 700; }
.acc-line span { font-weight: 700; }
.acc-up { gap: 14px; flex-wrap: wrap; }
.acc-up div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.acc-up b { font-size: 15px; }
.acc-up .hn-crown svg { width: 16px; height: 16px; }
.acc-up .hn-btn--secondary { background: #fff; color: #1562CA; border: 0; }
.my-sug { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.my-sug li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.my-sug li:last-child { border-bottom: 0; }
.my-sug .h { display: flex; flex-direction: column; }
.my-sug .h bdi { font-weight: 700; }
.sug-st { border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; background: var(--st-noanswer-bg); color: var(--st-noanswer); white-space: nowrap; }
.sug-st.added, .sug-st.approved { background: var(--st-delivered-bg); color: var(--st-delivered); }
.sug-st.rejected { background: var(--danger-soft); color: var(--danger); }
.sug-st.followed { background: var(--surface-2); color: var(--ink-2); }
.acc-set .set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; flex-wrap: wrap; }
.set-acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.set-acts .del { color: var(--danger); font-weight: 700; font-size: 14px; margin-inline-start: 8px; }
.acc .sell-it { box-shadow: var(--shadow-card); }

/* the local sign-in forms (the PC; online the seller signs in on accounts.hnaya.me) */
.acc h1 { font-size: 26px; }
.auth { display: flex; flex-direction: column; gap: 12px; }
.auth label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.auth .field, .auth input { height: 46px; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: var(--surface); padding: 0 16px; font-size: 15px; }
.auth-err { color: var(--danger); font-size: 13px; }
.auth-links { display: flex; gap: 16px; }

/* ---------- pricing ---------- */
#view-pricing { gap: 18px; padding-top: 8px; }
.pricing-head { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.pricing-head h1 { font-size: 34px; line-height: 1.3; margin-top: 10px; }
.pricing-head > .hn-mu { font-size: 15px; }
.sale-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 999px; padding: 7px 16px; box-shadow: var(--shadow-card); font-size: 14px; }
.sale-pill svg { width: 16px; height: 16px; color: var(--primary-ink); }
.pricing-switches { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.pricing-switches .hn-seg { background: var(--surface); box-shadow: var(--shadow-card); }
.pricing-switches .hn-seg button { display: inline-flex; align-items: center; gap: 6px; }
.pricing-switches .hn-seg button[aria-pressed="true"] { background: var(--primary-soft); color: var(--on-primary-soft); box-shadow: none; }
.hn-sale { background: var(--gold); color: var(--on-gold); border-radius: var(--radius-pill); padding: 3px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.plans3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; margin-top: 8px; }
@media (max-width: 959px) { .plans3 { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; width: 100%; } }
.hn-plancard { position: relative; background: var(--surface); border-radius: var(--radius-lg); padding: 24px 22px 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-card); }
.hn-plancard.pro { background: linear-gradient(225deg, var(--navy), var(--navy-deep)); color: #fff; }
.pc-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pc-name b { font-size: 20px; font-weight: 700; }
.pc-name .rec { background: rgba(255,255,255,.16); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.pc-price { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 108px; }
.pc-price .was { color: var(--muted); font-size: 14px; }
.hn-plancard.pro .pc-price .was, .hn-plancard.pro .per { color: var(--on-blue-muted); }
.pc-price .big { font-size: 34px; line-height: 1.15; font-weight: 700; }
.pc-price .per { font-size: 13px; color: var(--ink-2); font-weight: 700; }
.pc-price .save { font-size: 13px; font-weight: 700; color: var(--gold); }
.hn-plancard:not(.pro) .pc-price .save { color: var(--price); }
.hn-lockblk { background: var(--surface-2); }
.hn-lockblk svg { width: 16px; height: 16px; flex: none; }
.hn-plancard ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.hn-plancard li { display: flex; align-items: flex-start; gap: 8px; }
.hn-plancard li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--price); }
.hn-plancard.pro li svg { color: #fff; }
.hn-plancard li .q-month { display: block; font-size: 12px; color: var(--muted); }
.hn-plancard.pro li .q-month { color: var(--on-blue-muted); }
.pc-acts { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.plan-go { width: 100%; height: 50px; }
.hn-plancard.pro .plan-go { background: #fff; color: #1562CA; border: 0; }
.plan-now { font-size: 12.5px; font-weight: 700; color: var(--ink-2); text-align: center; }
.hn-plancard.pro .plan-now { color: var(--on-blue-muted); }
.best-tab { position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(50%); display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: var(--on-gold);
  border-radius: 999px; padding: 4px 14px; font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 6px 16px rgba(244,183,64,.35); }
[dir="ltr"] .best-tab { transform: translateX(-50%); }
.best-tab svg { width: 14px; height: 14px; }
.pricing-notes { display: flex; justify-content: center; gap: 8px 24px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.pricing-notes span { display: inline-flex; align-items: center; gap: 6px; }
.pricing-notes svg { width: 15px; height: 15px; }
.faq { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.faq h2 { font-size: 22px; }
.faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 959px) { .faq-grid { grid-template-columns: 1fr; } }
.faq .hn-card { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; }
.faq .hn-card b { font-size: 15px; }
.faq .hn-card p { font-size: 13.5px; line-height: 1.7; }
#coupon-box:empty { display: none; }
.coupon-line { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; }
@media (max-width: 859px) { .pricing-head h1 { font-size: 26px; } .plans3 .hn-plancard.free { order: 3; } }
/* the plan-order test (2026-11-18): Starter's card first for half the phones (Pro first otherwise) */
@media (max-width: 859px) { .plans3.starter-first .hn-plancard.starter { order: -1; } }

/* ---------- the pay page (the plan, the amount, WhatsApp) ---------- */
#pay-box { max-width: 560px; }
#pay-box .page-card, #pay-box > div { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 22px; }

.hn-lockblk { border-radius: var(--radius-md); padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }

/* ---------- «أضف قناة» window (board «Add a Telegram channel»): a centred window, a bottom sheet on a phone ---------- */
.sg-box { position: relative; padding: 26px 22px 22px; gap: 14px; overflow-y: auto; }
.sg-x { position: absolute; top: 14px; inset-inline-end: 14px; }
.sg-body { display: flex; flex-direction: column; gap: 12px; align-items: stretch; text-align: center; }
.sg-ic { width: 56px; height: 56px; border-radius: 18px; background: var(--cat-sky-tile); color: var(--cat-sky); display: grid; place-items: center; margin: 0 auto 2px; }
.sg-ic svg { width: 26px; height: 26px; }
.sg-ic.ok { background: var(--st-delivered-bg); color: var(--st-delivered); }
.sg-body h2 { font-size: 21px; }
.sg-lead { font-size: 14px; color: var(--muted); }
.sg-form { display: flex; flex-direction: column; gap: 12px; text-align: start; }
.sg-who { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--radius-md); background: var(--surface-2); }
.sg-who label { cursor: pointer; }
.sg-who input { position: absolute; opacity: 0; pointer-events: none; }
.sg-who span { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 8px; border-radius: 16px; text-align: center; color: var(--muted); }
.sg-who b { font-size: 14px; }
.sg-who small { font-size: 11.5px; }
.sg-who input:checked + span { background: var(--surface); color: var(--primary-ink); box-shadow: 0 1px 3px rgba(12,17,24,.1); }
.sg-who input:focus-visible + span { outline: 2px solid var(--primary-ink); outline-offset: 2px; }
.sg-field { display: flex; align-items: center; gap: 8px; height: 52px; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: var(--surface); padding: 0 6px 0 16px; }
.sg-field:focus-within { border-color: var(--primary-ink); }
.sg-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 15px; }
.sg-paste { height: 38px; padding: 0 14px; border-radius: var(--radius-pill); border: 0; background: var(--primary-soft); color: var(--on-primary-soft); font-weight: 700; font-size: 13px; }
.sg-err { color: var(--danger); font-size: 13px; }
.sg-go { height: 50px; width: 100%; }
.sg-gift { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--found, var(--st-delivered)); font-weight: 700; }
.sg-gift svg { width: 15px; height: 15px; }
.sg-acts { display: flex; flex-direction: column; gap: 8px; }
.sg-box #my-suggest .my-sug { text-align: start; border-top: 1px solid var(--line); margin-top: 6px; }

/* ---------- a photo full screen ---------- */
.viewer { position: fixed; inset: 0; z-index: 80; background: #000; }
.vw-strip { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.vw-strip::-webkit-scrollbar { display: none; }
.vw-cell { flex: 0 0 100%; height: 100%; display: grid; place-items: center; scroll-snap-align: center; }
.vw-cell img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vw-n { top: calc(16px + env(safe-area-inset-top, 0px)); }
.vw-x { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); inset-inline-start: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; }
.vw-x svg { width: 18px; height: 18px; }
.viewer .pgal-arrow { display: grid; background: rgba(255,255,255,.14); color: #fff; box-shadow: none; }
@media (pointer: coarse) { .viewer .pgal-arrow { display: none; } }

/* ---------- the in-app-browser screen (Facebook / Instagram) ---------- */
.inapp .pk-box { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.inapp-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px 6px; }
.inapp-body p { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.inapp-body .btn, .inapp-body .hn-btn { width: 100%; height: 50px; }
.linkish { border: 0; background: none; color: var(--primary-ink); font-weight: 700; padding: 8px; }

/* ---------- the pay page ---------- */
.pay { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 22px; }
#pay-box h1 { font-size: 26px; margin-bottom: 4px; }
.pay-amount { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pay-amount span { font-weight: 700; }
.pay-amount b { font-size: 26px; font-weight: 700; display: flex; align-items: baseline; gap: 8px; }
.pay-amount .was { font-size: 14px; color: var(--muted); font-weight: 400; }
.pay-chat { height: 52px; width: 100%; background: var(--whatsapp); color: var(--on-whatsapp); }
.pay-way { display: flex; align-items: center; gap: 10px; justify-content: space-between; background: var(--surface-2); border-radius: var(--radius-md); padding: 12px 14px; }
.pay-way b { font-weight: 700; }
.pay-ref { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; }
#pay-box > .link { align-self: center; margin-top: 4px; }
@media (max-width: 420px) { .brand .src { display: none; } .addch { padding: 0 10px; font-size: 12.5px; } }

/* ---------- nothing jumps while the page fills in ---------- */
/* the headline is two lines from the start (the counts arrive a moment later); the today pill keeps its place */
.hero h1 { min-height: 2.64em; display: flex; flex-direction: column; justify-content: flex-start; }
#step1:not(.compact) .today-pill[hidden] { display: inline-flex !important; visibility: hidden; }
.hn-offer.card { height: 100%; }
.hn-offer .mt { margin-top: auto; }
/* text links and the logo: a comfortable place to tap on a phone */
.brand { min-height: 40px; }
.sec-links .link, .link, .crumb .link, .ow-plans { min-height: 36px; display: inline-flex; align-items: center; padding-inline: 4px; }
.pgal-main .nopic { flex: 0 0 100%; display: grid; place-items: center; color: var(--muted); scroll-snap-align: center; }
.pgal-main .nopic svg, .hn-offer .ph .nopic svg { width: 40px; height: 40px; }
/* one quiet hover for every pressable surface (a pointer only; phones keep no sticky hover) */
@media (hover: hover) {
  .pk-btn:hover, .roundb:not(.in):hover, .hn-catchip:not([aria-pressed="true"]):hover, .hn-chip:not([aria-pressed="true"]):hover,
  .navpill button:not([aria-current]):hover, .ow-ib:not([aria-pressed="true"]):hover, .langmenu button:hover { background-color: var(--surface-2); color: var(--ink); }
  .hn-seg button:not([aria-pressed="true"]):hover, .theme-row button:not([aria-pressed="true"]):hover { color: var(--ink); }
  .hn-offer .ob:hover { background: var(--surface-2); }
  .link:hover { text-decoration: underline; text-underline-offset: 3px; }
}
.hn-btn, .btn, .pk-btn, .roundb, .hn-chip, .hn-catchip, .navpill button, .hn-seg button, .ow-ib, .hn-offer.card { transition: background-color .15s, color .15s, box-shadow .15s, filter .15s; }
/* pages that depend on the account and the prices wait for them (no sign-in form flashing before «حسابي») */
body:not([data-ready]) #view-pricing > *, body:not([data-ready]) #view-account > *, body:not([data-ready]) #view-pay > * { visibility: hidden; }
.today-pill { height: 32px; box-sizing: border-box; }
.hero h1 span { line-height: inherit; }
#cat-title { min-height: 35px; } #cat-sub { min-height: 21px; }
.cat-head { min-height: 84px; }
.pricing-switches { min-height: 46px; }
/* the offer window arrives like the dropdowns: slides up on a phone, settles in on a computer */
@media (prefers-reduced-motion: no-preference) {
  .scrim:not([hidden]) { animation: fade-in .18s ease-out; }
  .sheet:not([hidden]) { animation: sheet-up .22s cubic-bezier(.2, .8, .2, 1); }
  @media (min-width: 860px) { .sheet:not([hidden]) { animation: sheet-in .18s ease-out; } }
}
@keyframes fade-in { from { opacity: 0; } }
@keyframes sheet-up { from { transform: translateY(40px); opacity: .6; } }
@keyframes sheet-in { from { transform: scale(.98); opacity: 0; } }
.set-acts .del { min-height: 40px; display: inline-flex; align-items: center; }
.sg-field input { align-self: stretch; height: auto; }
@media (max-width: 859px) {
  .disc-head .ph-acts { flex-wrap: wrap; row-gap: 8px; }
  .disc-head #disc-days { margin-inline-start: 0; }
}
/* French needs three lines for the headline on a phone: they are kept from the start */
@media (max-width: 600px) { html[lang="fr"] .hero h1 { min-height: 3.96em; } }
#disc-days-m { display: none; }
@media (max-width: 859px) { .disc-head #disc-days { display: none; } #disc-days-m { display: inline-flex; } }

/* Few results: the add-channel card in the grid's next free cell (board «Add channel · few results», 2026-11-17) */
.grid > .few-card { min-width: 0; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  padding: 22px 20px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; }
.few-top { display: flex; align-items: flex-start; gap: 12px; }
.few-top strong { font-size: 16px; line-height: 1.45; text-wrap: balance; }
.few-sub { margin: 0; font-size: 13px; line-height: 1.6; color: var(--ink-2, var(--muted)); }
.few-card.one .few-top { flex-direction: column; gap: 8px; }
.few-reward::before { display: none; }
.few-btn { margin-top: 4px; }
.few-btn svg { width: 18px; height: 18px; }
@media (max-width: 859px) {
  .grid > .few-card { padding: 14px 12px; gap: 8px; justify-content: space-between; }
  .few-top { flex-direction: column; gap: 8px; }
  .few-top strong { font-size: 14px; }
  .few-sub { font-size: 12px; }
  .few-btn { width: 100%; height: 44px; justify-content: center; }
}

/* One plan at launch (board «One plan · pricing», 2026-11-19): what the plan opens in one line, two duration cards
   (3 months first on phones), what it costs after the launch price, the seller's current plan. */
.one-feats { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.one-feats li { display: inline-flex; align-items: center; gap: 7px; }
.one-feats svg { width: 16px; height: 16px; flex: none; color: var(--price); }
.plans3.one { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; width: 100%; }
@media (max-width: 859px) { .plans3.one { grid-template-columns: 1fr; max-width: 520px; } }   /* 1 month first on phones too */
.pc-was { display: inline-flex; align-items: center; gap: 8px; }
.plans3.one .pc-feats { margin: 2px 0 4px; }
.plans3.one .pc-price { min-height: 0; }
.best-tag { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: var(--on-gold); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 800; }
.best-tag svg { width: 14px; height: 14px; flex: none; }
.one-under { flex-basis: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
@media (max-width: 600px) { .one-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; font-size: 13px; text-align: start; } }
.pricing-head:has(.one-feats) .sale-pill svg { color: var(--gold); }

/* ---------- app 1.1 launch pieces (2026-11-20, boards «Launch day»; 16b-app.js) ---------- */
.app-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.app-badges a { display: inline-flex; line-height: 0; border-radius: 8px; }
.app-badges .b-apple { height: 44px; width: auto; }
.app-badges .b-play { height: 64px; width: auto; margin: -10px -9px; }      /* Google's file carries its own margin */
.app-qr { display: none; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.app-qr img { width: 72px; height: 72px; padding: 6px; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
@media (min-width: 860px) { .app-qr { display: inline-flex; } }
.app-ic { border-radius: 22%; flex: none; box-shadow: 0 2px 8px rgba(12,17,24,.12); }

/* the home banner: the image (a hand holding the phone) on the left third, the words on the right */
.app-banner { position: relative; overflow: hidden; border-radius: 28px; min-height: 400px; display: flex; align-items: center;
  background: #EAF3FE url(/launch/banner-light.webp) left center / cover no-repeat; margin-block: 8px 4px; direction: rtl; }
:root[data-theme="dark"] .app-banner { background-color: #0D1A2E; background-image: url(/launch/banner-dark.webp); }
.app-banner .ab-t { width: min(520px, 56%); margin-inline-start: 56px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
html[dir="ltr"] .app-banner .ab-t { direction: ltr; }
.app-banner .ab-new { background: var(--primary); color: var(--on-primary); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; }
.app-banner h2 { margin: 0; font-size: 38px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.app-banner p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
:root[data-theme="dark"] .app-banner h2 { color: #EAF0F7; }
:root[data-theme="dark"] .app-banner p { color: #B4C0D0; }
.app-banner .ab-short { display: none; }
.app-banner .ab-acts { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
.app-banner .ab-art { display: none; }
@media (max-width: 859px) {
  /* phone: words on top, then the left part of the image (the hand), 240 px high */
  .app-banner { flex-direction: column; align-items: stretch; min-height: 0; border-radius: 24px; background: #EAF3FE; direction: inherit; }
  :root[data-theme="dark"] .app-banner { background: #0D1A2E; }
  .app-banner .ab-t { width: auto; margin: 0; padding: 22px 20px 6px; gap: 10px; }
  html[dir="ltr"] .app-banner .ab-t { direction: inherit; }
  .app-banner h2 { font-size: 23px; }
  .app-banner .ab-long { display: none; }
  .app-banner .ab-short { display: block; font-size: 15px; }
  .app-banner .ab-art { display: block; height: 240px; background: url(/launch/banner-light.webp) left center / auto 100% no-repeat; }
  :root[data-theme="dark"] .app-banner .ab-art { background-image: url(/launch/banner-dark.webp); }
}

/* under the searches-left strip: one small card (phone: «حمّل»; computer: the two badges, 560 px, centred) */
.app-line { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 560px; margin: 2px auto 0; padding: 10px 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.app-line[hidden] { display: none; }
.app-line .al-t { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.4; }
.app-line .al-t b { font-size: 14px; color: var(--ink); }
.app-line .al-t small { font-size: 12.5px; color: var(--muted); }
.app-line .app-badges { display: none; }
.app-line .app-badges .b-apple { height: 36px; }
.app-line .app-badges .b-play { height: 52px; margin: -8px -7px; }
@media (min-width: 860px) { .app-line .al-get { display: none; } .app-line .app-badges { display: flex; } }

/* the account page, between the plan card and «قنواتك» */
.acc .hn-card.app-acc, .hn-card.app-acc { display: flex; flex-direction: row; align-items: center; gap: 14px; flex-wrap: wrap; }
.app-acc .aa-t { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 200px; }
.app-acc .aa-t b { font-size: 16px; }
.app-acc .app-badges { margin-top: 4px; }

/* the day's search limit: the app is where an account goes on */
.app-limit { width: 100%; max-width: 520px; margin: 8px auto; padding: 26px 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.app-limit strong { font-size: 20px; line-height: 1.45; color: var(--ink); }
.app-limit .al-sub { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.app-limit .al-row { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.app-limit .app-badges { justify-content: center; }
.app-limit .al-later { font-size: 13px; }
.app-acc .app-badges { gap: 8px; }
.app-acc .app-badges .b-apple { height: 38px; }
.app-acc .app-badges .b-play { height: 55px; margin: -8px -8px; }

/* ---------- a paid partner's card (16c-partner.js, 2026-11-21) ---------- */
.pn { display: flex; align-items: center; gap: 16px; }
.pn-k { display: inline-block; background: var(--gold); color: var(--on-gold); border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; line-height: 1.6; }
.pn .hn-btn--whatsapp svg { width: 18px; height: 18px; }
.pn--big { padding: 28px 32px; gap: 32px; overflow: hidden; }
.pn--big .pn-t { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pn--big h2 { margin: 0; font-size: 28px; font-weight: 800; line-height: 1.3; text-wrap: balance; }
.pn--big p { margin: 0; font-size: 16px; line-height: 1.6; }
.pn-facts { list-style: none; margin: 2px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pn-facts li { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.pn-facts svg { width: 18px; height: 18px; color: var(--price); flex: none; }
.pn-fine { font-size: 12px; }
.pn-art { flex: 0 1 400px; min-width: 0; align-self: stretch; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 16px;
  background: var(--primary-soft); border-radius: 20px; padding: 20px; }
.pn-pics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pn-pics img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; background: var(--surface); }
.pn-what { margin: 0; font-weight: 700; color: var(--primary-ink); }
.pn--big .pn-what { font-size: 17px; }
.pn-mini { display: flex; gap: 4px; flex: none; }
.pn-mini img { width: 40px; height: 52px; object-fit: cover; border-radius: 8px; }
.pn-mini img:nth-child(n+3) { display: none; }
@media (min-width: 761px) { .pn-mini img:nth-child(n+3) { display: block; } }
.pn--slim .pn-what { font-size: 14px; }
.pn-route { display: flex; align-items: center; gap: 8px; width: 100%; color: var(--primary); font-weight: 700; font-size: 15px; }
.pn-route span { background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 14px; flex: none; box-shadow: 0 1px 2px rgb(12 17 24 / .08); }
.pn-route i { flex: 1 1 0; min-width: 12px; border-top: 2px dashed currentColor; opacity: .55; }
.pn-route .pn-plane { width: 34px; height: 34px; flex: none; }
.pn-plane { transform: none; }
html[dir="rtl"] .pn-plane { transform: scaleX(-1); }
.pn--slim { padding: 12px 16px; margin-block-end: 16px; }
.pn-ic { width: 44px; height: 44px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.pn-ic .pn-plane { width: 24px; height: 24px; }
.pn--slim .pn-t { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pn-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pn-line b { font-size: 16px; font-weight: 700; }
.pn--slim .hn-mu { font-size: 14px; }
.pn--slim .pn-btn { flex: none; }
#results:has(#find-grid:empty) .pn-host, #dt:has(#dt-grid:empty) .pn-host, #cat-list:has(#cat-grid:empty) .pn-host { display: none; }
.pn-fact { font-weight: 800; color: var(--ink); }
.pn--big .pn-facts li { font-size: 17px; }
.pn--big .pn-fact bdi { font-size: 19px; }
@media (max-width: 760px) {
  .pn--big { flex-direction: column; align-items: stretch; padding: 20px; gap: 18px; }
  .pn--big h2 { font-size: 22px; }
  .pn--big .pn-btn { width: 100%; justify-content: center; }
  .pn-art { flex: none; padding: 18px; }
  .pn--slim { flex-wrap: wrap; gap: 12px; }
  .pn--slim .pn-btn { width: 100%; justify-content: center; }
}

.app-banner .ab-paid { font-size: 14px; color: var(--muted); margin-top: -4px; }
@media (max-width: 760px) { .app-banner .ab-paid { font-size: 13px; } }
