/* Dessi: a rooftop at night after a wedding. Deep teal, marigold, rani pink; Young Serif over Figtree, soft pill
   shapes and arches. Laid over the engine's tokens, then the home page and pages (ds-*). */
:root {
  --bg: #0b2f33;
  --bg-2: #0f3a3f;
  --card: #10393e;
  --card-2: #15464b;
  --ink: #fff4e3;
  --ink-2: #d6c9b4;
  --ink-3: #9fb3ac;
  --line: #1f5257;
  --line-2: #2c666b;
  --brand: #f4a51c;
  --brand-2: #c2185b;
  --grad: linear-gradient(135deg, #f7b733 0%, #f4a51c 45%, #e0661b 100%);
  --grad-soft: linear-gradient(135deg, rgba(244, 165, 28, .16), rgba(194, 24, 91, .14));
  --violet: #f07aa8;
  --violet-soft: rgba(194, 24, 91, .2);
  --green: #6ad19a;
  --danger: #ff6b6b;
  --glass: rgba(11, 47, 51, .88);
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 28px;
  --r-xl: 36px;
  --sh-brand: 0 10px 28px rgba(244, 165, 28, .3);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Young Serif", Georgia, serif;
  color-scheme: dark;
}
h1, h2, h3, .logo-word { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.btn-primary { color: #2b1500; }
.msg.me .bubble { color: #2b1500; }
.thread { background-color: #0a2a2e; background-image: radial-gradient(circle at 15% 20%, rgba(244, 165, 28, .07) 0 2px, transparent 3px), radial-gradient(circle at 65% 70%, rgba(194, 24, 91, .07) 0 2px, transparent 3px); }
.gallery-main .photo-bars { display: none; }
.pstats { grid-template-columns: repeat(3, 1fr); }
.hw-portrait { width: auto; height: 76%; top: 12%; right: 6%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 999px 999px 18px 18px; }
.hw-bg { opacity: .35; }

/* ---- home ---- */
.ds-home { max-width: 1060px; margin: 0 auto; padding: 26px 18px 50px; }
.ds-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center; }
.ds-pill { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--grad-soft); color: var(--brand); font-weight: 700; font-size: 13px; }
.ds-hero h1 { font-size: clamp(32px, 4.8vw, 56px); line-height: 1.08; margin: 16px 0; }
.ds-intro { color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.ds-go { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.ds-link { color: var(--violet); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.ds-phone { background: var(--card); border: 1px solid var(--line); border-radius: 34px; padding: 18px 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.ds-phone-head { text-align: center; font-weight: 800; color: var(--ink-3); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.ds-bubble { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 18px; }
.ds-bubble:hover { background: var(--card-2); }
.ds-bubble img { width: 40px; height: 40px; flex: none; }
.ds-bubble span { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.ds-bubble b { color: var(--ink); }
.ds-bubble i { color: var(--ink-3); font-style: normal; font-size: 12px; }
.ds-facts { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ds-facts li { background: var(--bg-2); border-radius: 22px; padding: 16px; color: var(--ink-2); font-size: 14px; }
.ds-facts span { display: block; font-family: var(--serif); font-size: 30px; color: var(--brand); }
.ds-block { margin-top: 50px; }
.ds-block h2, .ds-end h2, .ds-nav h2 { font-size: clamp(25px, 3vw, 34px); margin-bottom: 12px; }
.ds-block > p { color: var(--ink-2); max-width: 70ch; line-height: 1.7; }
.ds-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.ds-cards article { background: var(--card); border-radius: 26px; padding: 20px; border-top: 4px solid var(--brand); }
.ds-cards article:nth-child(2) { border-top-color: var(--brand-2); }
.ds-cards article:nth-child(3) { border-top-color: var(--green); }
.ds-cards h3 { font-size: 20px; margin-bottom: 8px; }
.ds-cards p { color: var(--ink-2); line-height: 1.6; }
.ds-know ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ds-know li { padding: 14px 18px; border-radius: 999px; background: var(--card-2); color: var(--ink); }
.ds-steps { list-style: none; counter-reset: d; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ds-steps li { counter-increment: d; background: var(--card); border-radius: 22px; padding: 18px; color: var(--ink-2); }
.ds-steps li::before { content: counter(d); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-2); color: #fff; font-weight: 800; margin-bottom: 10px; }
.ds-steps b { color: var(--ink); display: block; }
.ds-faq details { background: var(--card); border-radius: 20px; padding: 14px 18px; margin-bottom: 8px; }
.ds-faq summary { font-weight: 800; cursor: pointer; }
.ds-faq details p { margin-top: 8px; color: var(--ink-2); line-height: 1.6; }
.ds-end { margin-top: 50px; text-align: center; padding: 42px 22px; border-radius: 999px 999px 36px 36px; background: var(--grad); color: #2b1500; }
.ds-end h2 { color: #2b1500; }
.ds-end p { margin: 0 auto 20px; max-width: 44ch; }
.ds-end .btn-primary { background: #2b1500; color: #ffd98a; box-shadow: none; }
.ds-nav { margin-top: 42px; }
.ds-nav p { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-nav a { padding: 8px 14px; border-radius: 999px; background: var(--card); color: var(--ink-2); font-size: 14px; }
.ds-nav a:hover { color: var(--brand); }
.ds-foot { margin-top: 30px; color: var(--ink-3); font-size: 13px; text-align: center; line-height: 1.9; }
.ds-foot a { color: var(--ink-2); }

/* ---- pages ---- */
.ds-paper { max-width: 720px; margin: 0 auto; padding: 32px 18px 56px; }
.ds-paper h1 { font-size: clamp(32px, 4.4vw, 46px); margin-bottom: 12px; color: var(--brand); }
.ds-paper h2 { font-size: 22px; margin: 26px 0 8px; }
.ds-paper p, .ds-paper li { color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.ds-paper a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.ds-paper-lead { font-size: 18px !important; color: var(--ink) !important; }
.ds-paper-date { font-size: 13px !important; color: var(--ink-3) !important; }
.ds-adab li { margin-bottom: 10px; }
.ds-news { margin-top: 22px; padding: 18px 20px; background: var(--card); border-radius: 24px; }
.ds-news h2 { margin-top: 2px; }

@media (max-width: 820px) {
  .ds-hero { grid-template-columns: 1fr; }
  .ds-facts { grid-template-columns: repeat(2, 1fr); }
  .ds-cards, .ds-know ul { grid-template-columns: 1fr; }
  .ds-steps { grid-template-columns: repeat(2, 1fr); }
  .ds-end { border-radius: 36px; }
}

/* ---- the frame: a slim bar, a marigold garland, a floating dock on every size (partials/shell.php) ---- */
:root { --ds-top: 62px; --ds-dock: 66px; }
.ds-app { overflow-x: clip; }
.ds-app .main { margin-left: 0; padding: 18px 24px calc(var(--ds-dock) + 48px); }
.ds-app .rail { display: none; }
.has-rail .ds-app .main { margin-right: 0; }
.ds-top { position: sticky; top: 0; z-index: 40; height: var(--ds-top); display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 0 max(20px, calc((100% - 1120px) / 2)); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ds-brand { display: flex; align-items: center; gap: 10px; font-size: 24px; }
.ds-diya { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--grad); color: #2b1500; box-shadow: 0 0 18px rgba(244, 165, 28, .45); }
.ds-you { display: flex; align-items: center; gap: 8px; }
.ds-round { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); }
.ds-round:hover, .ds-round.on { background: var(--card-2); color: var(--ink); }
.ds-round i { position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand-2); }
.ds-signin { font-weight: 700; color: var(--ink-2); padding: 8px 10px; }
/* marigolds and a few rani-pink beads on a string */
.ds-garland { position: sticky; top: var(--ds-top); z-index: 39; height: 14px; pointer-events: none;
  background: radial-gradient(circle at 9px 3px, #f7b733 0 5px, transparent 5.5px) 0 0 / 36px 14px repeat-x,
    radial-gradient(circle at 27px 4px, #c2185b 0 3px, transparent 3.5px) 0 0 / 36px 14px repeat-x,
    linear-gradient(rgba(244, 165, 28, .5), rgba(244, 165, 28, .5)) 0 2px / 100% 1px no-repeat; }
.ds-dock { display: grid !important; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 40; left: 50%; transform: translateX(-50%);
  bottom: calc(14px + env(safe-area-inset-bottom)); width: min(520px, calc(100% - 24px)); height: var(--ds-dock); padding: 0 6px;
  border-radius: 999px; background: rgba(16, 57, 62, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.ds-dock .tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11.5px; font-weight: 700; color: var(--ink-3); position: relative; border-radius: 999px; margin: 7px 0; }
.ds-dock .tab.active { color: #2b1500; background: var(--grad); }
.ds-dock .tab .dot { position: absolute; top: 6px; left: calc(50% + 9px); width: 9px; height: 9px; border-radius: 50%; background: var(--brand-2); }
.chat-page .ds-app .main { height: calc(100vh - var(--ds-top) - 14px); height: calc(100dvh - var(--ds-top) - 14px); padding: 12px 24px calc(var(--ds-dock) + 26px); }
@media (max-width: 900px) {
  :root { --ds-top: 56px; }
  .ds-brand { font-size: 21px; }
  .ds-signin { display: none; }
  .ds-app .main { padding: 12px 14px calc(var(--ds-dock) + 40px + env(safe-area-inset-bottom)); }
  .chat-page .ds-app .main { padding: 0; height: auto; }
  .immersive .ds-top, .immersive .ds-garland, .immersive .ds-dock { display: none !important; }
  .immersive .ds-app .main { padding: 0; }
}

/* ---- the adults-only gate: an arched doorway with marigolds (partials/age_gate.php) ---- */
.ds-gate { background: radial-gradient(circle at 50% 35%, rgba(194, 24, 91, .35), rgba(5, 25, 28, .92)); }
.ds-arch { position: relative; width: min(400px, calc(100vw - 32px)); padding: 0 28px 24px; text-align: center; overflow: hidden;
  background: var(--card); border: 2px solid var(--brand); border-radius: 200px 200px 26px 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), inset 0 0 0 6px var(--card), inset 0 0 0 7px rgba(244, 165, 28, .35); }
.ds-arch .ds-garland { position: static; margin: 0 -28px 30px; height: 16px; }
.ds-diya-lg { width: 58px; height: 58px; margin: 0 auto 14px; }
.ds-arch h2 { font-size: 32px; margin-bottom: 10px; }
.ds-arch > p:not(.ds-arch-small) { color: var(--ink-2); line-height: 1.6; margin-bottom: 20px; }
.ds-arch-leave { display: block; margin-top: 12px; color: var(--ink-3); font-size: 14px; }
.ds-arch-small { margin: 14px 0 0; font-size: 12px; color: var(--ink-3); }
.ds-arch-small a { text-decoration: underline; }

/* ---- inside: lists, her page, gupshup (partials/pcard.php and the engine's pages, after the wedding) ---- */
/* a woman in a list: an arched window with a marigold edge */
.ds-pc { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 10px 16px; text-align: center; border-radius: 26px; transition: background .2s; }
.ds-pc:hover { background: var(--card); }
.ds-pc-win { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 999px 999px 22px 22px; overflow: hidden; background: var(--card-2);
  border: 3px solid var(--brand); box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px rgba(244, 165, 28, .35), 0 16px 34px rgba(0, 0, 0, .35); margin-bottom: 10px; }
.ds-pc-win img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.ds-pc-win .badge-ai { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: rgba(11, 47, 51, .85); color: var(--violet); }
.ds-pc-on { position: absolute; top: 22%; right: 12%; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--bg); }
.ds-pc-name { font-family: var(--serif); font-size: 20px; color: var(--ink); }
.ds-pc-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.ds-pc-tags span { display: inline-flex; align-items: center; gap: 3px; padding: 2px 9px; border-radius: 99px; background: var(--card-2); color: var(--ink-2); font-size: 11.5px; font-weight: 700; }
.ds-pc-tags .ds-pc-lang { background: rgba(194, 24, 91, .25); color: #ffd0e2; }
.ds-pc-sub { color: var(--ink-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.row-scroll .ds-pc { height: 100%; }
.ds-app .grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px 8px; }
@media (max-width: 600px) { .ds-app .grid { gap: 6px; } .ds-pc { padding: 6px 4px 12px; } .ds-pc-name { font-size: 17px; } .ds-pc-sub { display: none; } }
/* the list's head and filters */
.ds-app .page-head h1 { font-family: var(--serif); font-size: clamp(32px, 4vw, 46px); }
.ds-app .chip { border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); font-weight: 700; }
.ds-app .chip.on { background: var(--grad); color: #2b1500; border-color: transparent; }
.ds-app .frows { border-radius: 26px; background: var(--card); border: 1px solid var(--line); }
.ds-app .search { border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); }
/* her page: the arch again, bigger, and her details on cards with a pink edge */
.ds-app .gallery-main { border-radius: 999px 999px 28px 28px; border: 4px solid var(--brand); box-shadow: 0 0 0 8px var(--bg), 0 0 0 9px rgba(244, 165, 28, .35), 0 30px 70px rgba(0, 0, 0, .45); }
.ds-app .p-gal { padding: 12px; }
.ds-app .pinfo .card { border-radius: 26px; border: 1px solid var(--line); border-top: 3px solid var(--brand-2); box-shadow: none; }
.ds-app .pinfo h1 { font-family: var(--serif); font-size: 38px; }
/* gupshup: round bubbles, hers teal-green, yours marigold */
.ds-app .chat-shell { border-radius: 30px; border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .3); grid-template-columns: 300px 1fr; }
.ds-app .chat-list { background: #0d3337; }
.ds-app .chat-list-head h1, .ds-app .chat-list-head h2 { font-family: var(--serif); }
.ds-app .conv { border-radius: 20px; margin: 2px 8px; }
.ds-app .msg.her .bubble { background: var(--card-2); border-radius: 22px 22px 22px 8px !important; border: 1px solid var(--line-2); }
.ds-app .msg.me .bubble { border-radius: 22px 22px 8px 22px !important; }
.ds-app .composer { margin: 0 12px 12px; border-radius: 999px; border: 1px solid var(--line-2); padding: 6px 6px 6px 14px; }
@media (max-width: 900px) { .ds-app .chat-shell { border-radius: 0; border: 0; box-shadow: none; } .ds-app .composer { margin: 0 8px 8px; } }
