/* HUNTERIRAQI · design 30 (Classic Lords) for the public page. The admin panel keeps using app.css. */
:root {
  /* Layout: a sticky game-menu header (left ☰ drawer, contact buttons, safety bell) over a photo-banner hero with the three deal steps; a sticky search band, then a magazine grid where the featured account takes a double tile; details, contact, compare and alerts open as dialogs */
  --bg: #0F2C44;
  --bg2: #163E5E;
  --bg3: #0A2236;
  --surface: #1C4A6B;
  --surface2: #245A7E;
  --text: #F3FAFF;
  --muted: #B5D3E8;
  --accent: #F59E0B;
  --accent-hi: #FCD34D;
  --accent2: #4FD1FF;
  --ontext: #2B1600;
  --line: rgba(79, 209, 255, 0.3);
  --line2: rgba(79, 209, 255, 0.16);
  --veil: rgba(15, 44, 68, 0.92);
  --good: #34D399;
  --sold: #F26B6B;
  --warn: #FBBF24;
  --hot: #FB923C;
  --love: #FB7185;
  --c-wa: #0E7A6E;
  --c-dc: #5865F2;
  --c-ln: #067D3F;
  --c-tg: #1778B0;
  --c-wc: #0B7A3B;
  --fd: 'Lilita One', 'Baloo Bhaijaan 2', Tahoma, sans-serif;
  --fb: 'Baloo Bhaijaan 2', Tahoma, Arial, 'Leelawadee UI', 'Thonburi', 'Nirmala UI', 'Kohinoor Devanagari', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --fn: 'Lilita One', 'Baloo Bhaijaan 2', Tahoma, sans-serif;
  --hw: 400;
  --r: 12px;
  --btnr: 10px;
  --head-h: 70px;
  color-scheme: dark;
}
/* Lilita One has no Arabic, Cyrillic, Thai, Devanagari, Chinese or Korean letters: those languages use the body face at its heaviest weight for headings */
:root:is([lang="ar"], [lang="ru"], [lang="zh"], [lang="th"], [lang="hi"], [lang="ko"]) { --fd: var(--fb); --hw: 800; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--head-h) + 80px); }
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 85% -10%, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0) 45%),
    radial-gradient(circle at -10% 40%, rgba(79, 209, 255, 0.14) 0%, rgba(79, 209, 255, 0) 40%);
  background-repeat: no-repeat;
  color: var(--text);
  font: 16px/1.6 var(--fb);
  -webkit-tap-highlight-color: transparent;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bg); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1180px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { flex: none; }

/* buttons: game-menu bevel */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 18px; border-radius: var(--btnr); border: 2px solid transparent; font: 700 15px/1.2 var(--fb); text-decoration: none; text-align: center; transition: transform 0.15s ease, filter 0.15s ease; }
.btn svg { width: 18px; height: 18px; }
.btn-p { background: var(--accent); color: var(--ontext); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.28), 0 3px 0 rgba(0, 0, 0, 0.3); }
.btn-p:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-p:active { transform: translateY(2px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.28), 0 1px 0 rgba(0, 0, 0, 0.3); }
.btn-g { background: transparent; border-color: rgba(243, 250, 255, 0.42); color: var(--text); }
.btn-g:hover { border-color: var(--accent); }
.btn-s { background: var(--surface2); color: var(--text); border-color: var(--line); }
.btn-s:hover { border-color: var(--accent); }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: 14px; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.ib { width: 38px; height: 38px; flex: none; display: inline-grid; place-items: center; padding: 0; border-radius: var(--btnr); border: 1px solid var(--line); background: rgba(243, 250, 255, 0.06); color: var(--muted); transition: color 0.15s ease, border-color 0.15s ease; }
.ib svg { width: 20px; height: 20px; }
.ib:hover { color: var(--text); border-color: var(--accent); }
.ib.fav.on { color: var(--love); border-color: var(--love); background: rgba(251, 113, 133, 0.12); }
.ib.cmp.on { color: var(--accent2); border-color: var(--accent2); background: rgba(79, 209, 255, 0.14); }

/* install bar for phone visitors */
.ibar { background: linear-gradient(90deg, #1E5378, #163E5E); border-bottom: 1px solid rgba(245, 158, 11, 0.35); font-size: 14px; }
.ibar .wrap { display: flex; align-items: center; gap: 10px; padding-block: 8px; }
.ibar-ic { width: 34px; height: 34px; flex: none; border-radius: 9px; background: var(--bg); color: var(--accent); display: grid; place-items: center; border: 1px solid var(--line); }
.ibar-ic svg { width: 20px; height: 20px; }
.ibar .ibt { flex: 1; min-width: 0; line-height: 1.4; font-weight: 600; }
.ibar .x { width: 32px; height: 32px; flex: none; border: 0; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; padding: 0; }

/* sticky header (always laid out left to right: ☰ on the left as requested) */
.s-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--veil); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); direction: ltr; }
.s-head .wrap { display: flex; align-items: center; gap: 12px; min-height: var(--head-h); }
.hmb { width: 42px; height: 42px; flex: none; display: inline-grid; place-items: center; padding: 0; border-radius: var(--btnr); border: 1px solid var(--line); background: rgba(243, 250, 255, 0.08); color: var(--text); }
.hmb svg { width: 22px; height: 22px; }
.hmb:hover, .hmb[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--accent); text-decoration: none; font: 400 22px/1 var(--fn); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.logo svg { width: 28px; height: 28px; }
.logo span { overflow: hidden; text-overflow: clip; }
.hchs { margin-left: auto; display: flex; align-items: center; gap: 6px; flex: none; }
.hch { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; min-width: 38px; padding: 0 13px 0 11px; border-radius: var(--btnr); border: 0; background: var(--chc); color: #FFFFFF; text-decoration: none; font: 700 14px/1 var(--fb); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.22); transition: transform 0.15s ease; }
.hch:hover { transform: translateY(-1px); }
.hch svg { width: 19px; height: 19px; }
.ch-wa { --chc: var(--c-wa); }
.ch-dc { --chc: var(--c-dc); }
.ch-ln { --chc: var(--c-ln); }
.ch-tg { --chc: var(--c-tg); }
.ch-wc { --chc: var(--c-wc); }
.bell { position: relative; width: 38px; height: 38px; flex: none; display: inline-grid; place-items: center; padding: 0; border-radius: var(--btnr); border: 1px solid var(--line); background: rgba(243, 250, 255, 0.08); color: var(--warn); }
.bell svg { width: 20px; height: 20px; }
.bell:hover { border-color: var(--warn); }
.bell .dot { position: absolute; top: 5px; right: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--sold); box-shadow: 0 0 0 2px var(--bg); }
.hsep { width: 1px; height: 26px; background: var(--line); flex: none; }
@media (max-width: 1099px) {
  .hch { width: 38px; padding: 0; }
  .hch span { display: none; }
}

/* hero: photo banner */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.h-bg { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.h-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(15, 44, 68, 0.9) 45%, rgba(15, 44, 68, 0.45) 100%); }
[dir="rtl"] .h-bg::after { background: linear-gradient(270deg, var(--bg) 0%, rgba(15, 44, 68, 0.9) 45%, rgba(15, 44, 68, 0.45) 100%); }
.h-in { position: relative; z-index: 1; padding-block: 64px 52px; }
.h-text { max-width: 660px; }
.h-eye { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 800; font-size: 13.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.h-eye svg { width: 18px; height: 18px; }
.h-title { margin: 10px 0 14px; font: var(--hw) clamp(32px, 5vw, 56px)/1.1 var(--fd); color: var(--text); text-wrap: balance; overflow-wrap: anywhere; }
.h-sub { margin: 0 0 22px; max-width: 56ch; color: var(--muted); font-size: 17px; }
.h-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 660px; }
.steps li { display: flex; align-items: center; gap: 10px; min-width: 0; background: rgba(28, 74, 107, 0.86); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.steps b { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ontext); font: 400 17px/1 var(--fn); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25); }
.h-stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 26px; }
.h-stats b { display: block; font: 400 34px/1.1 var(--fn); color: var(--accent); font-variant-numeric: tabular-nums; }
.h-stats span { color: var(--muted); font-size: 14px; font-weight: 600; }

/* search band (sticky under the header on wide screens) */
.fband { background: rgba(15, 44, 68, 0.95); border-bottom: 1px solid var(--line2); z-index: 20; transition: box-shadow 0.2s ease; }
.fband.stuck { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); border-bottom-color: var(--line); }
.fbar { display: flex; align-items: center; gap: 8px; padding-block: 10px; }
.srch { position: relative; flex: 1 1 260px; min-width: 0; }
.srch svg { position: absolute; top: 50%; inset-inline-start: 12px; width: 18px; height: 18px; margin-top: -9px; color: var(--muted); pointer-events: none; }
.fld { width: 100%; height: 44px; min-width: 0; border-radius: var(--btnr); border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 0 12px; font: 600 15px/1.2 var(--fb); }
.fld::placeholder { color: rgba(181, 211, 232, 0.75); }
.fld:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25); }
.srch .fld { padding-inline-start: 40px; }
select.fld { appearance: none; -webkit-appearance: none; padding-inline-end: 34px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23B5D3E8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 16px 16px; background-position: right 11px center; text-overflow: ellipsis; }
[dir="rtl"] select.fld { background-position: left 11px center; }
select.fld option { background: var(--bg2); color: var(--text); }
textarea.fld { height: auto; padding: 10px 12px; line-height: 1.5; resize: vertical; }

main.wrap { padding-block: 16px 30px; }
.moref { border: 1px solid var(--line); border-radius: var(--r); background: rgba(22, 62, 94, 0.62); }
.moref > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 11px 14px; cursor: pointer; font-weight: 700; user-select: none; }
.moref > summary::-webkit-details-marker { display: none; }
.moref > summary svg { width: 20px; height: 20px; color: var(--accent2); }
.moref > summary .cv { margin-inline-start: auto; width: 18px; height: 18px; color: var(--muted); transition: transform 0.2s ease; }
.moref[open] > summary { border-bottom: 1px solid var(--line2); }
.moref[open] > summary .cv { transform: rotate(180deg); }
.mf-in { display: flex; flex-direction: column; gap: 14px; padding: 14px; }
.mf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; align-items: center; }

/* recently viewed + similar (mini cards) */
.recent { margin-top: 20px; }
.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.sec-h h2, .sec-h h3 { margin: 0; font: var(--hw) 21px/1.25 var(--fd); }
.recl { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.mini { flex: none; width: 132px; scroll-snap-align: start; display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-align: start; }
.mini:hover { border-color: var(--accent); }
.mini img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; display: block; background: var(--bg2); }
.mini .mt { display: flex; flex-direction: column; padding: 6px 8px 8px; line-height: 1.3; }
.mini small { color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini b { font: 400 16px/1.2 var(--fn); color: var(--accent); }

/* list + cards */
.l-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 16px; margin: 28px 0 12px; }
.l-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 18px; }
.tycs { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.tyc { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; border: 1px solid var(--line); background: rgba(15, 44, 68, 0.6); color: var(--text); border-radius: var(--btnr); padding: 6px 14px; font: 700 14.5px/1.3 var(--fb); transition: border-color 0.15s ease; }
.tyc small { font-size: 12.5px; font-weight: 800; opacity: 0.7; font-variant-numeric: tabular-nums; }
.tyc:hover { border-color: var(--accent); }
.tyc[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ontext); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.28), 0 3px 0 rgba(0, 0, 0, 0.3); }
.tyc[aria-pressed="true"] small { opacity: 0.8; }
.favpill { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; border: 1px solid var(--love); background: rgba(251, 113, 133, 0.14); color: #FFD5DD; border-radius: var(--btnr); padding: 6px 12px; font: 700 14.5px/1.3 var(--fb); }
.favpill svg { width: 17px; height: 17px; color: var(--love); }
.favpill span { font-size: 19px; line-height: 1; opacity: 0.8; }
.sortw { position: relative; display: block; flex: none; }
.sortw svg { position: absolute; top: 50%; inset-inline-start: 12px; width: 18px; height: 18px; margin-top: -9px; color: var(--accent2); pointer-events: none; }
.sortw select.fld { height: 42px; min-width: 200px; padding-inline-start: 40px; font-size: 14.5px; }
.sortw.on select.fld { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.sortw.on svg { color: var(--accent); }
.l-head h2 { margin: 0; font: var(--hw) clamp(26px, 3.4vw, 36px)/1.15 var(--fd); }
.l-count { color: var(--muted); font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; grid-auto-flow: dense; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); font-weight: 700; padding: 44px 16px; border: 1px dashed var(--line); border-radius: var(--r); }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.grid.enter .card { animation: cardIn 0.45s ease both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes cardIn { from { transform: translateY(12px); } to { transform: none; } }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32); }
.card.hl { box-shadow: 0 0 0 3px var(--accent), 0 18px 36px rgba(0, 0, 0, 0.32); }
.c-photo { position: relative; display: block; width: 100%; max-width: 100%; aspect-ratio: 1 / 1; padding: 0; border: 0; background: var(--bg2); cursor: zoom-in; overflow: hidden; flex: none; }
.c-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s ease; }
.card:hover .c-photo img { transform: scale(1.04); }
.card.sold .c-photo img { filter: grayscale(0.85) brightness(0.62); }
.card.rsv .c-photo img { filter: saturate(0.55) brightness(0.8); }
.wm { position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='150'%3E%3Ctext x='130' y='80' text-anchor='middle' transform='rotate(-24 130 75)' font-family='Arial,sans-serif' font-weight='800' font-size='22' fill='%23ffffff' fill-opacity='0.11' letter-spacing='2'%3Ehunteriraqi%3C/text%3E%3C/svg%3E"); background-size: 260px 150px; }
.c-pc { position: absolute; inset-inline-start: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; background: rgba(6, 18, 30, 0.78); color: #F5F9FC; border-radius: 999px; padding: 1px 10px; font: 700 12.5px/1.7 var(--fb); }
.c-pc svg { width: 14px; height: 14px; }
.flag { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 2px 11px; font: 800 12.5px/1.5 var(--fb); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); pointer-events: none; }
.flag svg { width: 14px; height: 14px; }
.rib { top: 10px; inset-inline-start: 10px; background: linear-gradient(180deg, var(--accent-hi), var(--accent)); color: var(--ontext); }
.newb { top: 10px; inset-inline-end: 10px; background: var(--accent2); color: #03263A; }
.newb.rpb { background: #C4B5FD; color: #24124D; }
.dsc { top: 42px; inset-inline-end: 10px; background: #E03131; color: #FFFFFF; }
.stamp { position: absolute; z-index: 3; top: 42%; left: 50%; transform: translate(-50%, -50%) rotate(-12deg); border: 4px solid var(--sold); color: var(--sold); background: rgba(10, 34, 54, 0.88); font: var(--hw) 30px/1.25 var(--fd); letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 18px; border-radius: 8px; white-space: nowrap; pointer-events: none; }
.stamp.rv { border-color: var(--warn); color: var(--warn); }
.c-tile { display: grid; place-items: center; background: linear-gradient(160deg, var(--surface2), var(--bg3)); color: var(--accent); cursor: pointer; }
.c-tile span { display: flex; flex-direction: column; align-items: center; gap: 6px; font: var(--hw) 26px/1.1 var(--fd); }
.c-tile svg { width: 64px; height: 64px; }
.c-tile small { font: 700 14px/1 var(--fb); color: var(--muted); }
.c-body { display: flex; flex-direction: column; gap: 9px; padding: 14px 16px 16px; flex: 1; min-width: 0; }
.c-top { display: flex; align-items: flex-start; gap: 8px; }
.c-title { flex: 1; min-width: 0; margin: 0; font: var(--hw) 21px/1.25 var(--fd); overflow-wrap: anywhere; text-wrap: balance; }
.c-ibs { display: flex; gap: 6px; flex: none; }
.c-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; }
.c-num { font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.tag { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 0 9px; font-weight: 800; font-size: 12px; line-height: 1.8; background: rgba(243, 250, 255, 0.12); color: var(--text); }
.tag svg { width: 13px; height: 13px; }
.tag.ty-emp { background: var(--accent); color: var(--ontext); }
.tag.ty-tit { background: rgba(79, 209, 255, 0.24); color: #D5F5FF; }
.tag.pdb { background: rgba(52, 211, 153, 0.18); color: #B4F5DA; }
.tag.trb { background: rgba(251, 146, 60, 0.2); color: #FFD9B8; }
.tag.rpt { background: rgba(196, 181, 253, 0.2); color: #E4DCFF; }
.bdg { background: rgba(243, 250, 255, 0.08); border-radius: 6px; padding: 0 8px; font-weight: 600; line-height: 1.8; color: #DDEEF8; }
.lks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; }
.lks small { color: var(--muted); font-weight: 700; font-size: 12.5px; }
.lk { display: inline-block; border: 1px solid; border-radius: 6px; padding: 0 7px; font-weight: 800; font-size: 12px; line-height: 1.7; }
.lk-igg { color: #FDBA74; border-color: rgba(253, 186, 116, 0.55); }
.lk-gc { color: #D8B4FE; border-color: rgba(216, 180, 254, 0.55); }
.lk-fb { color: #93C5FD; border-color: rgba(147, 197, 253, 0.55); }
.lk-gm { color: #FCA5A5; border-color: rgba(252, 165, 165, 0.55); }
.lk-re { color: var(--muted); border-color: rgba(181, 211, 232, 0.5); }
.c-ex { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.c-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; color: var(--accent2); padding: 0; font: 700 14px/1.4 var(--fb); }
.c-more svg { width: 16px; height: 16px; }
[dir="rtl"] .c-more svg, [dir="rtl"] .go { transform: scaleX(-1); }
.c-buy { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-top: 12px; border-top: 1px dashed rgba(243, 250, 255, 0.22); }
.c-price { font: 400 27px/1 var(--fn); color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.c-price s { margin-inline-end: 6px; font: 600 15px/1 var(--fb); color: var(--muted); }
.c-price small { margin-inline-start: 4px; font: 700 12px/1 var(--fb); color: var(--muted); }
.ngb { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 0 9px; font-size: 12.5px; font-weight: 700; line-height: 1.9; color: #BDF7DC; background: rgba(52, 211, 153, 0.15); }
.ngb svg { width: 14px; height: 14px; }
.c-buy .ib { margin-inline-start: auto; }
.c-req { width: 100%; }
.c-na { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: var(--btnr); border: 1px dashed rgba(243, 250, 255, 0.3); color: var(--muted); font-weight: 700; font-size: 14.5px; }
.c-na.rv { border-color: var(--warn); color: var(--warn); }

/* magazine: the featured account takes a double tile */
.card.big { grid-column: span 2; min-height: 600px; justify-content: flex-end; border: 0; box-shadow: 0 0 0 1px var(--accent), 0 18px 40px rgba(0, 0, 0, 0.4); }
.card.big .c-photo { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.card.big .c-pc { bottom: auto; top: 44px; }
.card.big .c-body { position: relative; z-index: 4; flex: none; padding: 110px 24px 22px; background: linear-gradient(to top, rgba(6, 18, 30, 0.97) 0%, rgba(6, 18, 30, 0.88) 58%, rgba(6, 18, 30, 0) 100%); }
.card.big .c-title { font-size: 34px; }
.card.big .c-price { font-size: 38px; color: var(--accent-hi); }
.card.big .c-ex { -webkit-line-clamp: 4; color: #D7E8F4; }
.card.big .bdg { background: rgba(255, 255, 255, 0.14); }
.card.big .ib { background: rgba(6, 18, 30, 0.6); }
.card.big:hover { transform: none; }

/* proofs + reviews */
.sec { margin-top: 48px; }
.sec-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 14px; }
.sec-top h2 { margin: 0; font: var(--hw) clamp(24px, 3vw, 32px)/1.2 var(--fd); }
.sec-top p { margin: 4px 0 0; color: var(--muted); max-width: 62ch; }
.rev-empty { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px dashed var(--line); border-radius: var(--r); background: rgba(22, 62, 94, 0.5); color: var(--muted); }
.rev-empty svg { width: 34px; height: 34px; color: var(--accent); }
.rev-empty p { margin: 0; }
.revsum { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.revsum b { font: 400 30px/1 var(--fn); color: var(--accent); }
.revsum span { color: var(--muted); font-weight: 600; }
.revl { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.rev { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.rev p { margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
.rev small { color: var(--muted); }
.revh { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.revv { font-size: 12.5px; font-weight: 700; color: var(--good); }
.stars { display: inline-flex; gap: 1px; color: rgba(243, 250, 255, 0.25); letter-spacing: 0; }
.stars i { font-style: normal; font-size: 17px; line-height: 1; }
.stars i.on { color: var(--accent); }
.stars.lg i { font-size: 24px; }

/* footer */
.foot { margin-top: 56px; background: var(--bg3); border-top: 1px solid var(--line); padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.fgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 40px; padding-block: 34px 22px; }
.flogo { display: flex; align-items: center; gap: 10px; color: var(--accent); font: 400 24px/1 var(--fn); letter-spacing: 0.04em; }
.flogo svg { width: 28px; height: 28px; }
.since { margin: 10px 0 6px; color: var(--text); font-weight: 700; }
.fnote { display: flex; gap: 8px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 56ch; }
.fnote svg { width: 18px; height: 18px; margin-top: 3px; color: var(--warn); }
.fbot { border-top: 1px solid var(--line2); padding-block: 14px; color: var(--muted); font-size: 13.5px; }

/* floating: dock, compare bar, back to top, toast, safety notice */
.dock { position: fixed; z-index: 25; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); left: max(16px, env(safe-area-inset-left, 0px)); display: flex; gap: 8px; }
[dir="rtl"] .dock { left: auto; right: max(16px, env(safe-area-inset-right, 0px)); }
.dock .btn { box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.28), 0 8px 20px rgba(0, 0, 0, 0.4); }
.dock .btn-s { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); background: var(--bg2); }
.cmpbar { position: fixed; z-index: 26; left: 0; right: 0; bottom: calc(78px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.cmpbar .btn { pointer-events: auto; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5); }
.cmpbar .btn-p { background: var(--accent2); color: #03263A; }
.cmpbar .ib { pointer-events: auto; width: 44px; height: 44px; background: var(--bg2); color: var(--text); }
.totop { position: fixed; z-index: 24; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--bg2); color: var(--accent); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); }
[dir="rtl"] .totop { right: auto; left: max(16px, env(safe-area-inset-left, 0px)); }
.totop svg { width: 22px; height: 22px; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); background: var(--bg3); color: var(--text); border: 1px solid var(--accent); border-radius: 14px; padding: 9px 18px; font-weight: 700; font-size: 14.5px; line-height: 1.45; text-align: center; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); overflow-wrap: anywhere; }
.ntf { position: fixed; z-index: 45; top: calc(env(safe-area-inset-top, 0px) + var(--head-h) + 10px); right: max(16px, env(safe-area-inset-right, 0px)); width: min(380px, calc(100% - 32px)); display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); border-inline-start: 5px solid var(--warn); background: var(--bg2); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); opacity: 0; transform: translateY(-12px) scale(0.98); transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2); }
.ntf.in { opacity: 1; transform: none; }
.ntf-ic { color: var(--warn); margin-top: 2px; }
.ntf-ic svg { width: 22px; height: 22px; }
.ntf b { display: block; margin-bottom: 2px; }
.ntf p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.ntf .x { margin-inline-start: auto; border: 0; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; padding: 0 2px; }

/* dialogs */
dialog.dlg { padding: 0; width: min(980px, calc(100% - 24px)); max-height: calc(100% - 24px); border: 2px solid var(--accent); border-radius: calc(var(--r) + 6px); background: var(--surface); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); overscroll-behavior: contain; }
dialog.dlg::backdrop, dialog.drawer::backdrop { background: rgba(3, 12, 22, 0.78); }
dialog.dlg.sm { width: min(540px, calc(100% - 24px)); }
dialog.dlg.md { width: min(760px, calc(100% - 24px)); }
dialog[open] { animation: dlgIn 0.2s ease-out; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
.d-in { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.d-in h2 { margin: 0; font: var(--hw) 26px/1.2 var(--fd); text-wrap: balance; }
.sub { margin: 0; color: var(--muted); line-height: 1.55; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.row.end { justify-content: flex-end; }
.msg { min-height: 1.5em; margin: 0; font-size: 14.5px; font-weight: 700; color: var(--warn); }
.msg.ok { color: var(--good); }
.msg.info { color: var(--accent2); }
.fl { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14.5px; }
.hint { margin: -4px 0 0; color: var(--muted); font-size: 13px; }

/* details dialog */
.dt { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.dt-g { position: relative; min-width: 0; background: #06121E; display: flex; flex-direction: column; }
.dt-main { position: relative; aspect-ratio: 1 / 1; max-width: 100%; overflow: hidden; }
.dt-main img { width: 100%; height: 100%; object-fit: contain; display: block; cursor: zoom-in; }
.gnav { position: absolute; top: 50%; z-index: 3; width: 42px; height: 42px; margin-top: -21px; border-radius: 50%; border: 0; background: rgba(6, 18, 30, 0.72); color: #FFFFFF; display: grid; place-items: center; padding: 0; }
.gnav svg { width: 22px; height: 22px; }
.gnav.p { left: 10px; }
.gnav.n { right: 10px; }
.gcnt { position: absolute; z-index: 3; bottom: 10px; right: 10px; background: rgba(6, 18, 30, 0.78); color: #FFFFFF; border-radius: 999px; padding: 1px 10px; font: 700 13px/1.7 var(--fb); }
.thb { display: flex; gap: 6px; overflow-x: auto; padding: 8px; scrollbar-width: thin; }
.thb button { flex: none; width: 62px; height: 62px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: var(--bg2); opacity: 0.7; }
.thb button.on { border-color: var(--accent); opacity: 1; }
.thb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dt-i { display: flex; flex-direction: column; gap: 12px; padding: 22px; min-width: 0; }
.dt-i h2 { margin: 0; font: var(--hw) 28px/1.2 var(--fd); overflow-wrap: anywhere; text-wrap: balance; }
.desc { margin: 0; white-space: pre-line; overflow-wrap: anywhere; background: rgba(243, 250, 255, 0.06); border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; font-size: 14.5px; line-height: 1.6; }
.dt-top { display: flex; align-items: flex-start; gap: 10px; }
.dt-top h2 { flex: 1; min-width: 0; }
.sim h3 { margin: 4px 0 8px; font: var(--hw) 19px/1.2 var(--fd); }
.dtf { position: sticky; bottom: 0; z-index: 5; grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--bg2); border-top: 1px solid var(--line); }
.dtf .prw { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.dtf .c-na { padding: 0 14px; }
.dtf-ic .xi { display: none; font-size: 24px; line-height: 1; }
.dtx { position: absolute; z-index: 6; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(243, 250, 255, 0.85); background: rgba(6, 18, 30, 0.72); color: #FFFFFF; font: 700 22px/1 var(--fb); display: grid; place-items: center; padding: 0; }

/* full-screen photo viewer */
#fv { margin: 0; padding: 0; width: 100%; height: 100%; max-width: none; max-height: none; border: 0; background: #02080F; color: #FFFFFF; overflow: hidden; }
#fv[open] { display: grid; place-items: center; animation: none; }
#fv::backdrop { background: #02080F; }
#fvi { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; user-select: none; }
#fv .wm { position: fixed; background-size: 340px 200px; }
.fvx { position: fixed; z-index: 3; top: calc(12px + env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.85); background: rgba(0, 0, 0, 0.55); color: #FFFFFF; font: 700 24px/1 var(--fb); display: grid; place-items: center; padding: 0; }
.fvn { position: fixed; z-index: 3; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.55); color: #FFFFFF; display: grid; place-items: center; padding: 0; }
.fvn svg { width: 24px; height: 24px; }
.fvn.p { left: max(12px, env(safe-area-inset-left, 0px)); }
.fvn.n { right: max(12px, env(safe-area-inset-right, 0px)); }
.fvc { position: fixed; z-index: 3; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.6); border-radius: 999px; padding: 2px 12px; font: 700 14px/1.7 var(--fb); }
#fv.one .fvn { display: none; }

/* contact dialog */
.cbtns { display: flex; flex-direction: column; gap: 8px; }
.cbtn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 10px 14px; border-radius: var(--btnr); border: 0; background: var(--chc); color: #FFFFFF; text-decoration: none; text-align: start; font: 700 15.5px/1.3 var(--fb); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.22); }
.cbtn svg { width: 22px; height: 22px; }
.cbtn span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cbtn small { display: block; font-size: 13px; font-weight: 600; opacity: 0.88; }
.cbtn:hover { filter: brightness(1.08); }
.cbtn .go { width: 18px; height: 18px; opacity: 0.85; }
.qrw { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 4px; }
.qrw p { margin: 0; color: var(--muted); font-size: 14px; }
.qr { width: 180px; height: 180px; border-radius: 12px; background: #FFFFFF; padding: 8px; display: block; }
.sell { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(243, 250, 255, 0.05); font-size: 14.5px; }
.sell p { margin: 0; }
.sell .sh { font-weight: 800; }
.sell ol { margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 2px; color: #DDEEF8; }
.sell .sn { color: var(--warn); font-weight: 700; }
.sell .ss { color: var(--good); font-weight: 700; }
.sell .st2 { color: var(--muted); }

/* compare */
.cmph { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.cmph h2 { margin: 0; font: var(--hw) 24px/1.2 var(--fd); }
.cmpw { overflow-x: auto; padding: 12px 18px 18px; }
.cmpt { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14px; }
.cmpt th, .cmpt td { padding: 9px 10px; border-bottom: 1px solid var(--line2); text-align: start; vertical-align: top; }
.cmpt th { color: var(--muted); font-weight: 700; white-space: nowrap; width: 1%; }
.cmpt td { min-width: 150px; }
.cmpimg { display: block; width: 100%; max-width: 180px; aspect-ratio: 1 / 1; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg2); margin-bottom: 6px; }
.cmpimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cst { font-weight: 800; }
.cst.av { color: var(--good); }
.cst.rsv { color: var(--warn); }
.cst.sold { color: var(--sold); }
.cmpt .btn { margin: 0 6px 6px 0; }
.cmpt .cmpp { font-size: 22px; }
.revmore { margin-top: 14px; }

/* chips (alerts, review stars) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { border: 1px solid var(--line); background: rgba(15, 44, 68, 0.6); color: var(--text); border-radius: 999px; padding: 6px 14px; font: 700 14px/1.35 var(--fb); }
.chips button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ontext); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.22); }
.starpick { display: flex; gap: 4px; direction: ltr; }
.starpick button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: rgba(15, 44, 68, 0.6); color: rgba(243, 250, 255, 0.3); font-size: 24px; line-height: 1; padding: 0; }
.starpick button.on { color: var(--accent); border-color: var(--accent); }

/* ☰ drawer: always slides in from the left */
dialog.drawer { margin: 0; padding: env(safe-area-inset-top, 0px) 0 0 env(safe-area-inset-left, 0px); inset: 0 auto 0 0; width: min(400px, 90vw); max-width: none; height: 100%; max-height: none; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: var(--bg2); color: var(--text); box-shadow: 0 0 60px rgba(0, 0, 0, 0.5); overflow: hidden; }
dialog.drawer[open] { display: flex; flex-direction: column; animation: drIn 0.24s ease-out; }
@keyframes drIn { from { transform: translateX(-100%); } to { transform: none; } }
.dr-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--bg); direction: ltr; }
.dr-head .logo { font-size: 20px; }
.dr-head .logo svg { width: 24px; height: 24px; }
.dr-x { width: 40px; height: 40px; flex: none; display: grid; place-items: center; padding: 0; border-radius: var(--btnr); border: 1px solid var(--line); background: transparent; color: var(--text); font: 700 22px/1 var(--fb); }
.dr-x:hover { border-color: var(--accent); }
.dr-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.dr-in { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px calc(28px + env(safe-area-inset-bottom, 0px)); }
.dr-lang { display: flex; align-items: center; gap: 10px; padding: 2px 12px; border-radius: var(--btnr); border: 1px solid var(--line); background: var(--surface); }
.dr-lang svg { width: 20px; height: 20px; color: var(--accent2); }
.dr-lang select { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: 700 15px/1.4 var(--fb); padding: 10px 0; outline: none; cursor: pointer; }
.dr-lang select option { background: var(--bg2); color: var(--text); }
.dr-lang:focus-within { border-color: var(--accent); }
.dr-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 14px; border-radius: var(--btnr); border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; text-align: start; font: 700 15.5px/1.3 var(--fb); list-style: none; cursor: pointer; user-select: none; }
.dr-row::-webkit-details-marker { display: none; }
.dr-row > svg:first-child { width: 20px; height: 20px; color: var(--accent); }
.dr-row .lbl { flex: 1; min-width: 0; }
.dr-row .cnt { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--love); color: #FFFFFF; font: 800 13px/24px var(--fb); text-align: center; }
.dr-row .cv { width: 18px; height: 18px; color: var(--muted); transition: transform 0.2s ease; }
.dr-row:hover { border-color: var(--accent); }
.dr-acc[open] > .dr-row { border-color: var(--accent); border-end-start-radius: 0; border-end-end-radius: 0; background: rgba(245, 158, 11, 0.12); }
.dr-acc[open] > .dr-row .cv { transform: rotate(180deg); color: var(--accent); }
.dr-acc-b { display: flex; flex-direction: column; gap: 12px; padding: 14px; border: 1px solid var(--accent); border-top: 0; border-radius: 0 0 var(--btnr) var(--btnr); background: var(--surface); }
.dr-p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.dr-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: var(--btnr); background: rgba(15, 44, 68, 0.7); }
.dr-tab { border: 0; background: transparent; color: var(--muted); font: 700 13.5px/1.25 var(--fb); padding: 9px 4px; border-radius: 7px; overflow-wrap: anywhere; }
.dr-tab:hover { color: var(--text); }
.dr-tab[aria-selected="true"] { background: var(--accent); color: var(--ontext); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25); }
.dr-yd { margin: 0; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--accent2); }
.dr-yd::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent2); }
.dr-steps { margin: 0; padding: 0; list-style: none; counter-reset: st; display: flex; flex-direction: column; gap: 10px; }
.dr-steps li { counter-increment: st; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14.5px; line-height: 1.55; }
.dr-steps li::before { content: counter(st); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(245, 158, 11, 0.22); color: var(--accent); font: 400 15px/1 var(--fn); }
.dr-steps .ico { display: inline-grid; place-items: center; vertical-align: -6px; width: 24px; height: 24px; margin-inline: 2px; border-radius: 6px; background: rgba(243, 250, 255, 0.13); }
.dr-steps .ico svg { width: 15px; height: 15px; }
.dr-vid { position: relative; display: block; height: 300px; border-radius: 10px; overflow: hidden; background: #050D16; border: 1px solid var(--line); }
.dr-vid.wide { height: auto; aspect-ratio: 16 / 9; }
.dr-vid img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dr-vid .pl { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: var(--accent); color: var(--ontext); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45), inset 0 -3px 0 rgba(0, 0, 0, 0.25); transition: transform 0.15s ease; }
.dr-vid .pl svg { width: 26px; height: 26px; margin-left: 3px; }
.dr-vid:hover .pl { transform: scale(1.06); }
.dr-note { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.dr-ch { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--btnr); border: 1px solid var(--line); background: rgba(15, 44, 68, 0.55); color: var(--text); text-decoration: none; text-align: start; width: 100%; }
a.dr-ch:hover { border-color: var(--accent); }
.dr-ch.off { border-style: dashed; opacity: 0.85; }
.dr-ch .chi { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--chc); color: #FFFFFF; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.22); }
.dr-ch .chi svg { width: 22px; height: 22px; }
.dr-ch > span { flex: 1; min-width: 0; }
.dr-ch b { display: block; font-size: 15.5px; line-height: 1.3; }
.dr-ch small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.dr-ch .go { width: 18px; height: 18px; color: var(--muted); }
.dr-ch .need { flex: none; border-radius: 999px; padding: 0 8px; font-size: 11.5px; font-weight: 800; line-height: 1.8; background: rgba(251, 191, 36, 0.18); color: var(--warn); }
.dr-safe { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* admin preview bar, suggestion replies, proofs, loading placeholders, install video */
.prevbar { background: rgba(245, 158, 11, 0.16); border-bottom: 1px solid var(--accent); font-size: 14px; }
.prevbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; padding-block: 8px; }
.prevbar a { color: var(--accent); font-weight: 800; }
.repq { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(243, 250, 255, 0.06); color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.repa { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--accent); background: rgba(245, 158, 11, 0.1); white-space: pre-line; overflow-wrap: anywhere; line-height: 1.6; }
.repo { margin: 0; color: var(--muted); font-size: 13.5px; white-space: pre-line; overflow-wrap: anywhere; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.pf { display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--text); text-align: start; cursor: zoom-in; }
.pf img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; display: block; background: var(--bg2); }
.pf span { padding: 8px 10px; font-size: 13.5px; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; }
.sk { min-height: 300px; border-radius: var(--r); border: 1px solid var(--line2); background: linear-gradient(100deg, var(--surface) 30%, var(--surface2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: skel 1.4s ease-in-out infinite; }
@keyframes skel { from { background-position: 100% 0; } to { background-position: 0 0; } }
.dr-video { display: block; width: 100%; height: 300px; object-fit: contain; background: #050D16; border-radius: 10px; border: 1px solid var(--line); }
.dr-video.wide { height: auto; aspect-ratio: 16 / 9; }
img[data-img]:not([src]) { visibility: hidden; }

/* simple interface (default): fewer things on screen, every feature still reachable */
.mfbtn, .fcta { display: none; }
body.simple .mfbtn { display: inline-grid; position: relative; width: 44px; height: 44px; color: var(--accent2); background: var(--surface); }
body.simple .mfbtn[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.mfdot { position: absolute; top: 7px; right: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--surface); }
body.simple #moref > summary { display: none; }
body.simple #moref:not([open]) { display: none; }
body.simple .bell, body.simple .hsep { display: none; }
body.simple .h-sub, body.simple .steps { display: none; }
body.simple .h-in { padding-block: 54px 46px; }
body.simple .h-title { margin-bottom: 22px; }
body.simple .dock { display: none; }
body.simple .fcta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
body.simple .foot { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
body.simple .totop { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
body.simple .cmpbar { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
body.simple .toast { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
body.simple .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.sc .c-photo { cursor: pointer; }
.sc-hit { position: absolute; inset: 0; z-index: 4; display: block; width: 100%; margin: 0; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.sc-hit:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.sc-favw { position: absolute; z-index: 5; bottom: 8px; inset-inline-end: 8px; }
.sc-favw .ib { width: 36px; height: 36px; background: rgba(6, 18, 30, 0.72); border-color: rgba(255, 255, 255, 0.28); color: #FFFFFF; }
.sc-favw .ib.on { color: var(--love); border-color: var(--love); }
.sc-b { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; padding: 10px 12px 12px; }
.sc-t { margin: 0; font: 700 15px/1.35 var(--fb); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc-m { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.sc-m .em { color: var(--accent); }
.sc-m svg { width: 14px; height: 14px; color: var(--hot); vertical-align: -2px; }
.sc-m .pd svg { color: var(--good); }
.sc .c-price { margin-top: auto; padding-top: 6px; font-size: 23px; }
.sc .c-price s { font-size: 13px; }
.sc .ngb { align-self: flex-start; padding: 0 8px; font-size: 11.5px; }
.sc .stamp { padding: 1px 12px; border-width: 3px; font-size: 22px; }
.sc.wide { grid-column: span 2; border-color: transparent; box-shadow: 0 0 0 1px var(--accent), 0 14px 32px rgba(0, 0, 0, 0.35); }
.sc.wide .c-photo { aspect-ratio: 16 / 9; }
.sc.wide .sc-t { font-size: 17px; }
.sc.wide .c-price { font-size: 30px; }
@media (min-width: 761px) { [dir="ltr"] .dt-top { padding-right: 44px; } }

/* tablet and phone */
@media (min-width: 761px) {
  .fband { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--head-h)); }
}
@media (max-width: 760px) {
  :root { --head-h: 60px; }
  .s-head .wrap { gap: 8px; }
  .hmb { width: 38px; height: 38px; }
  .logo { font-size: 20px; gap: 8px; letter-spacing: 0.03em; }
  .logo svg { width: 24px; height: 24px; }
  .hchs { gap: 5px; }
  .hch, .bell { width: 34px; height: 34px; min-width: 34px; }
  .hch svg { width: 18px; height: 18px; }
  .hsep { display: none; }
  .h-bg { grid-template-columns: repeat(2, 1fr); }
  .h-bg::after, [dir="rtl"] .h-bg::after { background: rgba(15, 44, 68, 0.87); }
  .h-in { padding-block: 38px 32px; }
  .h-sub { font-size: 16px; }
  .steps { gap: 6px; margin-top: 22px; }
  .steps li { flex-direction: column; justify-content: flex-start; gap: 6px; padding: 10px 6px; text-align: center; font-size: 13px; }
  .h-stats b { font-size: 30px; }
  .fbar { gap: 6px; padding-block: 8px; }
  .fbar .srch { flex: 1 1 auto; }
  .l-bar { justify-content: flex-start; gap: 8px; }
  .tycs { display: contents; }
  .sortw { margin-inline-start: auto; }
  .tyc { min-height: 38px; padding: 5px 12px; font-size: 14px; }
  .mf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mf-grid #clrF { grid-column: 1 / -1; }
  .ibar { font-size: 13.5px; }
  .ibar .wrap { gap: 8px; }
  .ibar-ic { width: 30px; height: 30px; }
  .ibar .btn-sm { min-height: 34px; padding: 4px 10px; font-size: 13px; }
  .sortw select.fld { min-width: 150px; }
  .card.big { grid-column: auto; grid-row: auto; min-height: 520px; }
  .card.big .c-body { padding: 96px 16px 16px; }
  .card.big .c-title { font-size: 28px; }
  .card.big .c-price { font-size: 32px; }
  .dt { grid-template-columns: minmax(0, 1fr); }
  body.simple .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sc-b { padding: 8px 10px 10px; }
  .sc-t { font-size: 14px; }
  .sc .c-price { font-size: 20px; }
  .sc.wide .c-price { font-size: 26px; }
  .sc .flag { padding: 1px 8px; font-size: 11px; }
  .sc .c-pc { inset-inline-start: 8px; bottom: 8px; padding: 0 8px; font-size: 11.5px; }
  .sc-favw .ib { width: 32px; height: 32px; }
  .sc .stamp { font-size: 18px; }
  body.simple .h-in { padding-block: 30px 26px; }
  .dt-i { padding: 16px; }
  .dtf { padding-inline: 12px; gap: 8px; }
  .dtf-acts { flex: 1 1 100%; flex-wrap: nowrap; }
  .dtf-acts > .btn-p, .dtf-acts > .c-na { flex: 1 1 auto; }
  .dtf-ic { width: 44px; min-height: 44px; padding: 0; flex: none; }
  .dtf-ic .lb { display: none; }
  .dtf-ic .xi { display: inline; }
  .d-in { padding: 18px 16px; }
  .fgrid { grid-template-columns: 1fr; }
  .dock { left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); padding: 6px; border-radius: 14px; background: rgba(10, 34, 54, 0.92); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  [dir="rtl"] .dock { left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); }
  .dock .btn { flex: 1 1 0; min-height: 44px; padding-inline: 10px; font-size: 14.5px; }
  .totop, [dir="rtl"] .totop { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .cmpbar { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 479px) {
  .s-head .wrap { gap: 6px; }
  .hmb { width: 36px; height: 36px; }
  .logo { font-size: 19px; letter-spacing: 0.02em; }
  .logo svg { display: none; }
  .hch, .bell { width: 32px; height: 32px; min-width: 32px; }
  .hch svg { width: 17px; height: 17px; }
  .hchs { gap: 4px; }
}
@media (max-width: 389px) {
  .s-head .wrap { gap: 5px; }
  .hmb { width: 34px; height: 34px; }
  .logo { font-size: 17px; letter-spacing: 0.01em; }
  .hch, .bell { width: 30px; height: 30px; min-width: 30px; }
  .hch svg { width: 16px; height: 16px; }
  .hchs { gap: 3px; }
}
@media (max-width: 354px) {
  .s-head .wrap { gap: 4px; }
  .hmb { width: 32px; height: 32px; }
  .logo { font-size: 15px; letter-spacing: 0; }
  .hch, .bell { width: 28px; height: 28px; min-width: 28px; }
  .hch svg, .bell svg { width: 15px; height: 15px; }
}
/* ---------- تحسينات الموبايل (من تقييم سهولة الاستخدام) ---------- */
.hcon { display: none; }
@media (max-width: 760px) {
  /* أزرار التواصل فوق: زر «تواصل» واحد كبير (44) بدل الأربعة الصغيرة، يفتح نافذة التواصل بكل الطرق */
  .hchs .hch { display: none; }
  .hchs .hcon { display: inline-flex; height: 44px; min-height: 44px; padding: 0 14px; gap: 7px; font-size: 15px; white-space: nowrap; }
  .hchs .hcon svg { width: 20px; height: 20px; }
  .hmb { width: 44px; height: 44px; }
  /* أول شاشة: عنوان أصغر حتى يبين أول صف حسابات */
  body.simple .h-in { padding-block: 16px; }
  .h-eye { display: none; }
  .h-title, body.simple .h-title { font-size: 25px; line-height: 1.2; margin: 0 0 12px; }
  .h-stats { margin-top: 12px; gap: 4px 22px; }
  .h-stats > div { display: flex; align-items: baseline; gap: 6px; }
  .h-stats b { display: inline; font-size: 22px; }
  .l-head { margin: 16px 0 10px; }
  /* أنواع الحسابات بسطر واحد يتمرر بالإصبع، والترتيب ثابت بآخره */
  .l-bar { flex-wrap: nowrap; margin-bottom: 14px; }
  .tycs { display: flex; flex-wrap: nowrap; overflow-x: auto; flex: 1 1 auto; min-width: 0; gap: 6px; padding-block: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tycs::-webkit-scrollbar { display: none; }
  .tyc { flex: none; white-space: nowrap; }
  .sortw { flex: none; margin-inline-start: 0; }
  .sortw select.fld { min-width: 0; width: 132px; }
  /* فلتر الممالك والمانا بعرض كامل حتى ما ينقطع الكلام */
  .mf-grid select.fld { grid-column: 1 / -1; }
}
@media (max-width: 389px) {
  .hchs .hcon { padding: 0 11px; font-size: 14px; }
  .h-title, body.simple .h-title { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card:hover, .card:hover .c-photo img, .btn:hover { transform: none; }
}
