:root {
  --blue: #0b71ed;
  --ink: #10223f;
  --muted: #667386;
  --line: #e9edf3;
  --soft: #f6f8fb;
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }

html { min-block-size: 100%; inline-size: 100%; background: #e8edf4; }

body {
  margin: 0;
  min-block-size: 100vh;
  min-block-size: 100dvh;
  inline-size: 100%;
  overflow-x: clip;
  background: #e8edf4;
  display: flex;
  justify-content: center;
  font-family: inherit;
}

button, input { font: inherit; }
button { cursor: pointer; }

.app-shell {
  position: relative;
  width: min(100%, 510px);
  max-width: 100%;
  min-block-size: 100vh;
  min-block-size: 100dvh;
  padding: 6px 16px 104px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 45px rgba(13, 33, 64, .16);
}

.status-bar { direction: ltr; height: 26px; display: flex; justify-content: space-between; align-items: center; padding: 0 5px; font-size: 12px; font-weight: 800; color: #162238; }
.status-icons { display: flex; gap: 6px; align-items: center; font-size: 11px; }

.top-header { height: 72px; position: relative; display: flex; direction: ltr; align-items: center; justify-content: space-between; }
.brand { position: absolute; z-index: 1; top: 2px; left: 50%; display: flex; height: 67px; align-items: center; justify-content: center; transform: translateX(-50%); text-decoration: none; }
.brand-logo { display: block; width: 166px; height: 64px; object-fit: contain; }
.icon-button { z-index: 2; width: 44px; height: 44px; position: relative; display: grid; place-items: center; flex: 0 0 44px; padding: 0; border: 0; color: var(--ink); background: transparent; font-size: 23px; pointer-events: auto; touch-action: manipulation; }.icon-button > i { pointer-events: none; }.menu-button { margin-left: -3px; font-size: 24px; }.notification-button { margin-right: -3px; }
.notification-dot, .nav-messages em { position: absolute; display: grid; place-items: center; font-style: normal; font-size: 9px; font-weight: 800; background: #f53a4d; color: white; border-radius: 999px; }
.notification-dot { left: 1px; top: 0; width: 19px; height: 19px; border: 2px solid white; }
.icon-button:focus-visible, .side-drawer-close:focus-visible, .side-drawer-links button:focus-visible, .side-drawer-account:focus-visible { outline: 3px solid rgba(11,113,237,.42); outline-offset: 2px; }

/* The drawer is absent from hit testing while hidden. When open, its backdrop
   is the only full-screen overlay and sits above the header and bottom nav. */
.side-drawer[hidden] { display: none; }
.side-drawer { position: fixed; z-index: 80; inset: 0; display: block; isolation: isolate; pointer-events: auto; }
.side-drawer-backdrop { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(7,19,38,.48); touch-action: manipulation; }
.side-drawer-panel { position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: min(82%, 340px); display: flex; flex-direction: column; overflow: auto; padding: 20px 14px 16px; color: var(--ink); background: #fff; box-shadow: 8px 0 24px rgba(5,20,44,.2); outline: 0; direction: rtl; }
.side-drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 3px 4px 17px; border-bottom: 1px solid var(--line); direction: ltr; }.side-drawer-header > div { display: grid; gap: 2px; }.side-drawer-header b { color: #0f2444; font-family: Arial, sans-serif; font-size: 17px; letter-spacing: .2px; }.side-drawer-header small { color: var(--muted); font-size: 9px; }.side-drawer-close { display: grid; width: 40px; height: 40px; place-items: center; flex: 0 0 40px; padding: 0; border: 0; border-radius: 10px; color: #40516a; background: #f1f5f9; font-size: 18px; touch-action: manipulation; }.side-drawer-close i, .side-drawer-links i, .side-drawer-account i { pointer-events: none; }
.side-drawer-links { display: grid; gap: 4px; padding: 14px 0; }.side-drawer-links button, .side-drawer-account { min-height: 45px; display: flex; align-items: center; gap: 12px; width: 100%; padding: 0 10px; border: 0; border-radius: 10px; color: #263a57; background: transparent; text-align: right; font-size: 12px; font-weight: 800; touch-action: manipulation; }.side-drawer-links button:hover, .side-drawer-links button:active, .side-drawer-account:hover, .side-drawer-account:active { color: var(--blue); background: #eff7ff; }.side-drawer-links i, .side-drawer-account i { width: 20px; color: var(--blue); font-size: 16px; text-align: center; }.side-drawer-account { margin-top: auto; border: 1px solid #dfeaf6; background: #f7fbff; }
.side-drawer-admin { display:grid; gap:5px; margin:0 0 12px; padding:11px 8px; border:1px solid #dbeafa; border-radius:11px; background:#f6faff; }.side-drawer-admin > span { color:#6b839d; font:800 8px/1 Arial,sans-serif; letter-spacing:.8px; direction:ltr; }.side-drawer-admin button { min-height:42px; display:flex; align-items:center; gap:12px; width:100%; padding:0 9px; border:0; border-radius:9px; color:#075ead; background:#e8f4ff; text-align:right; font-size:12px; font-weight:800; touch-action:manipulation; }.side-drawer-admin button:hover,.side-drawer-admin button:active { color:#fff; background:var(--blue); }.side-drawer-admin i { width:20px; color:inherit; font-size:16px; text-align:center; pointer-events:none; }
.language-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; direction: ltr; margin: 1px 0 13px; }.language-selector button { height: 39px; display: flex; direction: ltr; align-items: center; justify-content: center; gap: 7px; border: 1px solid #e2e8f0; border-radius: 10px; color: #1d2d47; background: #fff; box-shadow: 0 2px 7px rgba(18, 38, 67, .04); font-size: 11px; font-weight: 800; transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }.language-selector button:hover, .language-selector button:focus-visible { border-color: #a9d1ff; background: #f5faff; outline: none; }.language-selector button.active { border-color: #74b7ff; color: var(--blue); background: #f1f7ff; box-shadow: 0 3px 10px rgba(11, 113, 237, .11); }.flag { width: 21px; height: 15px; display: grid; place-items: center; overflow: hidden; border-radius: 2px; font-size: 17px; line-height: 1; box-shadow: 0 0 0 1px rgba(10, 30, 60, .12); }.flag-kurdish { position: relative; background: linear-gradient(#e7353d 0 33%, #fff 33% 66%, #159947 66% 100%); }.flag-kurdish i { position: relative; z-index: 1; width: 6px; height: 6px; border-radius: 50%; background: #f5bf17; box-shadow: 0 -3px #f5bf17, 0 3px #f5bf17, 3px 0 #f5bf17, -3px 0 #f5bf17, 2px 2px #f5bf17, -2px 2px #f5bf17, 2px -2px #f5bf17, -2px -2px #f5bf17; }

.search-row { display: flex; flex-direction: row; gap: 8px; direction: rtl; margin: 5px 0 12px; }
.search-field { flex: 1; height: 51px; display: flex; flex-direction: row; direction: rtl; align-items: center; gap: 12px; padding: 0 15px; border: 1px solid #dfe5ee; background: #f9fafc; border-radius: 12px; color: var(--ink); }.search-field i { font-size: 19px; }.search-field input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; direction: rtl; }.search-field input::placeholder { color: #8e98a7; opacity: 1; }
.filter-button { width: 53px; border: 1px solid #dfe5ee; border-radius: 12px; background: #f9fafc; color: var(--ink); font-size: 18px; }

.hero { height: 198px; position: relative; overflow: hidden; border-radius: 17px; color: white; isolation: isolate; direction: rtl; }.hero > .hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }.hero > .hero-image { object-fit: cover; object-position: center; }.hero-overlay { background: linear-gradient(90deg, rgba(3, 13, 30, .00) 25%, rgba(3, 12, 28, .66) 78%, rgba(3, 12, 28, .88) 100%); z-index: 1; }
.hero-copy { position: absolute; z-index: 2; top: 22px; right: 19px; text-align: right; }.hero-copy p { margin: 0 0 3px; font-weight: 600; font-size: 11px; color: #d9e5f5; }.hero h1 { font-size: 29px; line-height: 1.1; letter-spacing: -.9px; margin: 0 0 7px; font-weight: 800; }.hero-copy span { font-size: 11px; }
.hero-pill { position: absolute; z-index: 2; bottom: 17px; left: 15px; padding: 7px 10px; background: rgba(16, 30, 53, .66); border: 1px solid rgba(255,255,255,.24); border-radius: 9px; font-size: 10px; font-weight: 700; backdrop-filter: blur(6px); }.hero-pill i { color: #55a6ff; margin-left: 4px; }.slider-dots { position: absolute; z-index: 2; bottom: 8px; right: 50%; transform: translateX(50%); display: flex; direction: ltr; gap: 5px; align-items: center; }.slider-dots * { display: block; width: 6px; height: 6px; border-radius: 10px; background: rgba(255,255,255,.65); }.slider-dots b { background: var(--blue); width: 18px; }

.section-heading { direction: rtl; margin: 18px 1px 11px; display: flex; justify-content: space-between; align-items: center; }.section-heading h2 { font-size: 17px; margin: 0; font-weight: 800; }.section-heading p { font-size: 10px; color: var(--muted); margin: 2px 0 0; }.view-all { border: 0; background: none; color: var(--blue); font-size: 11px; padding: 8px 2px; font-weight: 700; }.view-all i { font-size: 9px; margin-right: 3px; }

.category-grid { direction: rtl; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }.category-card { position: relative; min-width: 0; height: 132px; overflow: hidden; border: 0; border-radius: 14px; color: #fff; text-align: right; background-image: linear-gradient(0deg, rgba(3,10,23,.92) 0%, rgba(3,10,23,.35) 48%, rgba(3,10,23,.02) 100%), var(--image); background-size: cover; background-position: center; box-shadow: 0 4px 12px rgba(23, 37, 60, .11); transition: box-shadow .2s ease; }.category-card:hover, .category-card:focus-visible { box-shadow: 0 8px 19px rgba(13, 45, 85, .22); outline: 2px solid #7db9ff; outline-offset: 2px; }.category-number { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: white; background: var(--blue); font-size: 14px; font-weight: 700; border: 1px solid rgba(255,255,255,.62); box-shadow: 0 2px 5px rgba(0,0,0,.22); }.card-arrow { position: absolute; bottom: 13px; left: 9px; color: rgba(255,255,255,.9); font-size: 13px; }.card-text { position: absolute; right: 9px; left: 27px; bottom: 10px; line-height: 1.22; }.card-text b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; font-weight: 800; }.card-text small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-top: 2px; color: rgba(255,255,255,.9); font-size: 8px; }

.shortcut-bar { display: grid; grid-template-columns: repeat(4, 1fr); direction: rtl; margin: 16px -16px 0; padding: 8px 12px 12px; border-top: 1px solid var(--line); background: #fff; }.shortcut-bar button { min-width: 0; color: var(--ink); border: 0; background: #f7f9fc; border-radius: 10px; padding: 9px 2px 7px; font-size: 9px; font-weight: 700; }.shortcut-bar button + button { margin-right: 5px; }.shortcut-bar i { display: block; color: #172845; margin-bottom: 4px; font-size: 21px; }.shortcut-bar .active-shortcut { color: var(--blue); background: #f1f7ff; }.shortcut-bar .active-shortcut i { color: var(--blue); }

.bottom-nav { height: 88px; position: absolute; bottom: 0; left: 0; right: 0; display: grid; direction: rtl; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; border-top: 1px solid #e8edf4; background: rgba(255,255,255,.97); z-index: 5; }.bottom-nav button { height: 76px; position: relative; padding: 9px 0 4px; border: 0; background: transparent; color: #57657a; font-size: 9px; font-weight: 700; }.bottom-nav i { display: block; font-size: 23px; margin-bottom: 5px; }.bottom-nav .active-nav { color: var(--blue); }.bottom-nav .post-button { color: var(--blue); overflow: visible; padding-top: 37px; }.post-button i { position: absolute; top: -13px; right: 50%; transform: translateX(50%); display: grid; place-items: center; width: 56px; height: 56px; margin: 0; color: #fff; background: var(--blue); border: 5px solid white; border-radius: 50%; box-shadow: 0 6px 13px rgba(11, 113, 237, .3); font-size: 26px; }.nav-messages em { top: 4px; right: calc(50% - 22px); width: 17px; height: 17px; border: 2px solid #fff; }

.toast { position: fixed; z-index: 30; left: 50%; bottom: 104px; width: max-content; max-width: calc(100vw - 32px); padding: 12px 16px; display: flex; gap: 9px; direction: rtl; align-items: center; border-radius: 12px; color: white; background: #132947; box-shadow: 0 9px 24px rgba(16,35,62,.28); font-size: 12px; transform: translate(-50%, 100px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }.toast.show { transform: translate(-50%, 0); opacity: 1; }.toast i { color: #5db0ff; }

@media (min-width: 600px) { body { padding: 28px 0; }.app-shell { min-height: 844px; border-radius: 28px; }.bottom-nav { border-radius: 0 0 28px 28px; } }
@media (max-width: 370px) { .app-shell { padding-right: 11px; padding-left: 11px; }.hero h1 { font-size: 25px; }.category-grid { gap: 6px; }.category-card { height: 116px; }.card-text b { font-size: 10px; }.shortcut-bar { margin-right: -11px; margin-left: -11px; } }

html[dir="ltr"] .search-row, html[dir="ltr"] .section-heading, html[dir="ltr"] .category-grid, html[dir="ltr"] .shortcut-bar, html[dir="ltr"] .bottom-nav { direction: ltr; }
html[dir="ltr"] .side-drawer-panel { direction: ltr; }
html[dir="ltr"] .hero-copy { right: auto; left: 19px; text-align: left; }
html[dir="ltr"] .hero-overlay { background: linear-gradient(90deg, rgba(3, 12, 28, .88) 0%, rgba(3, 12, 28, .66) 25%, rgba(3, 13, 30, .00) 75%); }
html[dir="ltr"] .hero-pill { right: 15px; left: auto; }
html[dir="ltr"] .card-text { right: 27px; left: 9px; text-align: left; }
html[dir="ltr"] .category-number { right: auto; left: 8px; }
html[dir="ltr"] .card-arrow { right: 9px; left: auto; }
html[dir="ltr"] .shortcut-bar button + button { margin-right: 0; margin-left: 5px; }

.side-drawer-admin[hidden] { display: none !important; }

.record-customer-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0;padding:12px;border-top:1px solid #e4e9e6}.record-customer-actions button,.record-customer-actions a{font:inherit;padding:9px 13px;border:1px solid #b9c9bf;border-radius:8px;color:#176447;background:white;text-decoration:none;cursor:pointer}

.section-listing-directory img{width:100%;max-height:380px;object-fit:contain;border-radius:10px}.section-public-cards{display:grid;gap:14px;margin-top:16px}.section-public-cards article>button{display:block;width:100%;text-align:start;padding:16px;border:1px solid #d6e1da;border-radius:12px;background:white}.section-public-cards img{height:180px;object-fit:cover}.section-listing-directory a{display:inline-block;margin:10px;padding:8px;color:#176447}

/* Logout stays visible outside the collapsed profile editor, for every account role. */
#myAccountLogout{display:block;width:100%;min-height:48px;margin-top:20px;padding:12px 18px;border:1px solid #e4ccd0;border-radius:12px;background:#fff6f6;color:#a12c3b;font:inherit;font-weight:700;cursor:pointer}
.side-drawer-account[hidden]{display:none!important}
#drawerLogout{margin-top:10px;color:#a12c3b;min-height:48px}#drawerLogout[hidden]{display:none}#drawerLogout i{color:inherit}

.location-map-dialog,.location-help-dialog{width:min(94vw,620px);max-height:90dvh;overflow:auto;border:0;border-radius:20px;padding:20px;color:#18304c;background:white;box-shadow:0 24px 70px #10213c50}.location-map-dialog::backdrop,.location-help-dialog::backdrop{background:#12233d88}.location-map-dialog button,.location-help-dialog button,[data-location-settings]{min-height:44px;padding:10px 16px;margin:8px 4px;border-radius:10px;border:1px solid #c8d6e8;background:#edf4ff;color:#174a86;font:inherit}.location-help-dialog p{line-height:1.7}

/* Home's responsive shell, safe-area header, and navigation live in
   assets/home-reference.css so this shared stylesheet cannot reintroduce
   an absolute Home header. */

#homeScreen:not([hidden]) .hero {
  width: calc(100% + 32px);
  height: 318px;
  margin: 0 -16px;
  border-radius: 0 0 18px 18px;
}
#homeScreen:not([hidden]) .hero-overlay {
  background: linear-gradient(90deg, rgba(3,13,30,.72) 0%, rgba(3,12,28,.34) 43%, rgba(3,13,30,.02) 76%);
}
#homeScreen:not([hidden]) .home-hero-brand {
  position: absolute;
  z-index: 3;
  top: 34px;
  left: 24px;
  display: block;
  width: 178px;
  height: 62px;
  overflow: hidden;
  filter: invert(1) grayscale(1) brightness(3.5) drop-shadow(0 2px 5px rgba(0,0,0,.35));
  mix-blend-mode: screen;
}
#homeScreen:not([hidden]) .home-hero-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#homeScreen:not([hidden]) .hero-copy {
  top: 126px;
  right: auto;
  left: 24px;
  text-align: left;
  direction: rtl;
}
#homeScreen:not([hidden]) .hero-copy p { color: #eef5ff; font-size: 10px; }
#homeScreen:not([hidden]) .hero h1 { max-width: 285px; font-size: 30px; line-height: 1.12; text-shadow: 0 2px 7px #061224; }
#homeScreen:not([hidden]) .hero-copy > span { font-size: 11px; color: #f4f7fc; }
#homeScreen:not([hidden]) .hero-pill { left: 24px; bottom: 22px; background: #10213c99; }
#homeScreen:not([hidden]) .slider-dots { bottom: 11px; }
#homeScreen:not([hidden]) .slider-dots b { background: #ef1e36; }
#homeScreen:not([hidden]) .section-heading { display: none; }
#homeScreen:not([hidden]) .category-grid {
  direction: ltr;
  gap: 9px;
  margin-top: 17px;
}
#homeScreen:not([hidden]) .category-card {
  height: 154px;
  color: var(--ink);
  text-align: right;
  background-image: linear-gradient(to bottom, transparent 0 66%, #fff 66% 100%), var(--image);
  background-size: 100% 100%, 100% 69%;
  background-position: 0 0, center top;
  background-repeat: no-repeat;
  border: 1px solid #e5eaf1;
  box-shadow: 0 3px 10px rgba(23,37,60,.13);
}
#homeScreen:not([hidden]) .category-card:hover,
#homeScreen:not([hidden]) .category-card:focus-visible { box-shadow: 0 7px 16px rgba(13,45,85,.18); }
#homeScreen:not([hidden]) .category-number {
  top: auto;
  right: 7px;
  bottom: 7px;
  width: 30px;
  height: 30px;
  border: 0;
  background: #ef233c;
  box-shadow: none;
  font-size: 0;
}
#homeScreen:not([hidden]) .category-number::before {
  color: #fff;
  font: 900 14px/1 "Font Awesome 6 Free";
}
#homeScreen:not([hidden]) .category-card:nth-child(2) .category-number { background: #53657a; }
#homeScreen:not([hidden]) .category-card:nth-child(3) .category-number { background: #16b85a; }
#homeScreen:not([hidden]) .category-card:nth-child(4) .category-number { background: #f28a16; }
#homeScreen:not([hidden]) .category-card:nth-child(5) .category-number { background: #1689e8; }
#homeScreen:not([hidden]) .category-card:nth-child(6) .category-number { background: #8a31c6; }
#homeScreen:not([hidden]) .category-card:nth-child(7) .category-number { background: #f4a516; }
#homeScreen:not([hidden]) .category-card:nth-child(8) .category-number { background: #16b8c1; }
#homeScreen:not([hidden]) .category-card:nth-child(9) .category-number { background: #ed2339; }
#homeScreen:not([hidden]) .category-card:nth-child(1) .category-number::before { content: "\f1b9"; }
#homeScreen:not([hidden]) .category-card:nth-child(2) .category-number::before { content: "\f54e"; }
#homeScreen:not([hidden]) .category-card:nth-child(3) .category-number::before { content: "\f084"; }
#homeScreen:not([hidden]) .category-card:nth-child(4) .category-number::before { content: "\f555"; }
#homeScreen:not([hidden]) .category-card:nth-child(5) .category-number::before { content: "\f207"; }
#homeScreen:not([hidden]) .category-card:nth-child(6) .category-number::before { content: "\f0d1"; }
#homeScreen:not([hidden]) .category-card:nth-child(7) .category-number::before { content: "\f085"; }
#homeScreen:not([hidden]) .category-card:nth-child(8) .category-number::before { content: "\f0ad"; }
#homeScreen:not([hidden]) .category-card:nth-child(9) .category-number::before { content: "\f0f9"; }
#homeScreen:not([hidden]) .card-text {
  right: 44px;
  left: 5px;
  bottom: 8px;
  color: var(--ink);
  direction: rtl;
}
#homeScreen:not([hidden]) .card-text b { font-size: 11px; }
#homeScreen:not([hidden]) .card-text small { margin-top: 2px; color: #657286; font-size: 9px; }
#homeScreen:not([hidden]) .card-arrow { bottom: 15px; left: 8px; color: #667589; font-size: 13px; }
#homeScreen:not([hidden]) .shortcut-bar,
#homeScreen:not([hidden]) .stats-strip,
#homeScreen:not([hidden]) .home-stats,
#homeScreen:not([hidden]) .statistics-strip { display: none !important; }

.home-gold-section { margin: 20px 0 0; }
.home-gold-section[hidden] { display: none; }
.home-gold-heading { display: flex; align-items: center; justify-content: space-between; direction: ltr; margin: 0 1px 9px; }
.home-gold-heading h2 { margin: 0; color: var(--ink); font-size: 19px; font-weight: 900; }
.home-gold-heading button { border: 0; color: #e41d35; background: transparent; font-size: 10px; font-weight: 800; }
.home-gold-heading button i { margin-left: 4px; }
.home-gold-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; direction: ltr; }
.home-gold-card { min-width: 0; overflow: hidden; border: 1px solid #e1e7ef; border-radius: 13px; background: #fff; box-shadow: 0 3px 10px rgba(23,37,60,.12); cursor: pointer; }
.home-gold-media { position: relative; height: 112px; overflow: hidden; }
.home-gold-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-gold-badge.listing-promotion-badge { position:absolute; z-index:1; top:6px; inset-inline-start:6px; inline-size:38px; block-size:43px; margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; color:transparent; font-size:0; }
.home-gold-badge.listing-promotion-badge .listing-promotion-logo { inline-size:100%; block-size:100%; }
.home-gold-favorite { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #e3e7ed; border-radius: 50%; color: #182338; background: #fffffff2; font-size: 15px; }
.home-gold-favorite[aria-pressed="true"] { color: #ec1c36; }
.home-gold-body { display: grid; gap: 4px; min-width: 0; padding: 9px 8px 10px; direction: ltr; }
.home-gold-body h3 { overflow: hidden; margin: 0; color: var(--ink); font: 800 13px/1.2 Arial,sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.home-gold-body > strong { color: #ec1c36; font: 900 16px/1.1 Arial,sans-serif; }
.home-gold-meta { display: grid; gap: 3px; min-width: 0; color: #53637a; font: 700 9px/1.25 Arial,sans-serif; }
.home-gold-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-gold-meta i { margin-right: 3px; color: #1c2e4b; }
.home-gold-meta small { overflow: hidden; color: #6e7c8e; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.home-gold-reference { direction: ltr; color: #738092; font: 700 9px/1 Arial,sans-serif; }
.home-gold-view { justify-self: end; min-height: 0; margin-top: 1px; padding: 0; border: 0; color: #e41d35; background: transparent; font: 800 10px/1 Arial,sans-serif; }
.home-gold-view::after { content: '›'; margin-left: 3px; font-size: 16px; vertical-align: -1px; }

.app-shell:has(#homeScreen:not([hidden])) .bottom-nav .active-nav,
.app-shell:has(#homeScreen:not([hidden])) .bottom-nav .post-button { color: #ed1b36; }
.app-shell:has(#homeScreen:not([hidden])) .post-button i { background: #ed1b36; box-shadow: 0 6px 13px rgba(237,27,54,.3); }

@media (max-width: 370px) {
  #homeScreen:not([hidden]) .hero { height: 270px; }
  #homeScreen:not([hidden]) .category-grid, .home-gold-grid { gap: 6px; }
  #homeScreen:not([hidden]) .category-card { height: 140px; }
  #homeScreen:not([hidden]) .card-text b { font-size: 10px; }
  #homeScreen:not([hidden]) .home-hero-brand { left: 18px; width: 156px; }
  .home-gold-media { height: 96px; }
  .home-gold-body { padding: 7px 6px 8px; }
  .home-gold-body h3 { font-size: 11px; }
  .home-gold-body > strong { font-size: 14px; }
}

/* Public saved-record dialog: the link fills the card; remove stays independent. */
.public-favorites .favorite-record{position:relative;margin:12px 0;border:1px solid #dce1e7;border-radius:14px;overflow:hidden}
.public-favorites .favorite-record>a{display:grid;gap:6px;padding:12px 90px 12px 12px;color:inherit;text-decoration:none}
.public-favorites .favorite-record img{width:100%;height:140px;object-fit:cover;border-radius:8px}
.public-favorites .favorite-record>button{position:absolute;inset-inline-end:8px;bottom:12px}
.public-favorites a:focus-visible{outline:3px solid #be941d;outline-offset:-3px}
