/* ---------- Dizaynlar (ranglar) ---------- */
:root {
  /* Vintaj: pergament, changli pushti, shalfey */
  --bg: #e9dcc6;
  --paper: #f7efe2;
  --ink: #4a3a30;
  --muted: #8b7766;
  --accent: #9a5a64;
  --accent-2: #7f8b68;
  --accent-ink: #fff9f1;
  --line: rgba(154, 90, 100, .28);
  --field: #fffaf2;
  --env-1: #e6d6bd;
  --env-2: #dcc8aa;
  --env-3: #d2bb99;
  --pattern: radial-gradient(1200px 600px at 50% -10%, rgba(255, 255, 255, .45), transparent 60%);
  --paper-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .34 0 0 0 0 .22 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --script: 'Great Vibes', 'Segoe Script', cursive;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', system-ui, -apple-system, sans-serif;
}

/* Sadaf: marvarid oq, xira pushti, evkalipt */
.theme-gul {
  --bg: #ece3df;
  --paper: #fcf8f6;
  --ink: #4c3b3d;
  --muted: #8f7d7f;
  --accent: #a86f7b;
  --accent-2: #8aa093;
  --line: rgba(168, 111, 123, .26);
  --field: #ffffff;
  --env-1: #eee4e0;
  --env-2: #e5d8d3;
  --env-3: #dccbc5;
}

/* Zumrad: to'q yashil va oltin */
.theme-tun {
  --bg: #08201b;
  --paper: #0f2e27;
  --ink: #f1e8d6;
  --muted: #b3ab97;
  --accent: #d6b77a;
  --accent-2: #a8b58f;
  --accent-ink: #0b231e;
  --line: rgba(214, 183, 122, .3);
  --field: #133a32;
  --env-1: #123a31;
  --env-2: #0e3129;
  --env-3: #0b2922;
  --pattern: radial-gradient(900px 500px at 50% -10%, rgba(214, 183, 122, .12), transparent 60%);
  --paper-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 .9 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Rishton: kobalt, oq sopol, anor */
.theme-milliy {
  --bg: #dfe7f0;
  --paper: #fbfaf6;
  --ink: #1e3350;
  --muted: #5d6d84;
  --accent: #1f4f8f;
  --accent-2: #b0402f;
  --line: rgba(31, 79, 143, .24);
  --field: #ffffff;
  --env-1: #e7edf4;
  --env-2: #dbe3ee;
  --env-3: #cfd9e6;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%231f4f8f' stroke-opacity='.12' stroke-width='1.2'%3E%3Cpath d='M32 6l7 19 19 7-19 7-7 19-7-19-19-7 19-7z'/%3E%3Ccircle cx='32' cy='32' r='3'/%3E%3Ccircle cx='0' cy='0' r='6'/%3E%3Ccircle cx='64' cy='0' r='6'/%3E%3Ccircle cx='0' cy='64' r='6'/%3E%3Ccircle cx='64' cy='64' r='6'/%3E%3C/g%3E%3C/svg%3E");
}

/* Minimal: oq fon, gullarsiz, tipografik */
.theme-minimal {
  --bg: #f2f3f1;
  --paper: #ffffff;
  --ink: #20262a;
  --muted: #76807c;
  --accent: #6a7b6e;
  --accent-2: #9aa79c;
  --line: rgba(32, 38, 42, .16);
  --field: #fbfcfb;
  --env-1: #eceeec;
  --env-2: #e3e6e3;
  --env-3: #d8dcd9;
  --pattern: linear-gradient(180deg, #f5f6f4, #eceeeb);
  --paper-tex: none;
}

/* Zarhal: fil suyagi va to'q oltin */
.theme-zarhal {
  --bg: #e9e0cf;
  --paper: #f7f1e4;
  --ink: #3a3026;
  --muted: #887a63;
  --accent: #9c7430;
  --accent-2: #b9a271;
  --line: rgba(156, 116, 48, .3);
  --field: #fffbf2;
  --env-1: #e7dcc4;
  --env-2: #ddd0b4;
  --env-3: #d2c3a3;
}

/* ---------- Asos ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--pattern), var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  padding: 24px 16px 40px;
}
body.locked { overflow: hidden; }
a { color: inherit; }

.card {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
  background: var(--paper-tex), var(--paper);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 30px 70px -20px rgba(50, 30, 20, .3);
  padding: 12px 0 8px;
  text-align: center;
}
.card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--line);
  pointer-events: none;
}

section { position: relative; z-index: 1; padding: 34px 34px; }
section + section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 36px; height: 1px;
  background: var(--accent);
  opacity: .45;
  transform: translateX(-50%);
}

.eyebrow, .label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

/* Akvarel gullar */
.fl-img { position: absolute; z-index: 2; pointer-events: none; user-select: none; width: 64%; max-width: 330px; height: auto; }
.fl-tl { top: -8px; left: -10px; }
.fl-br { bottom: -8px; right: -10px; transform: rotate(180deg); width: 48%; }
.fl-sprig { display: block; width: 78%; max-width: 330px; height: auto; margin: 16px auto 0; }

/* Bosh qism */
.hero { padding-top: 200px; }
.couple {
  display: block;
  width: 62%;
  max-width: 280px;
  height: auto;
  margin: 0 auto 6px;
  filter: drop-shadow(0 12px 18px rgba(60, 40, 30, .12));
}
.monogram {
  font-family: var(--script);
  color: var(--accent);
  font-size: 42px;
  line-height: 1;
  white-space: nowrap;
  width: 140px; height: 140px;
  margin: 8px auto 18px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line);
}
.photo {
  width: 220px; height: 280px;
  margin: 6px auto 22px;
  border-radius: 110px 110px 6px 6px;
  overflow: hidden;
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line), 0 20px 30px -16px rgba(0, 0, 0, .3);
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.names {
  font-family: var(--script);
  font-weight: 400;
  color: var(--accent);
  font-size: clamp(46px, 12vw, 66px);
  line-height: 1.1;
  margin: 6px 0 0;
  overflow-wrap: anywhere;
}

.message p { margin: 0; font-size: 21px; font-style: italic; white-space: pre-line; }

/* Sana va taqvim */
.month { margin: 0 0 16px; font-size: 34px; font-weight: 500; text-transform: capitalize; line-height: 1; }
.month span { color: var(--accent); font-variant-numeric: lining-nums; }
.cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px 0;
  max-width: 330px;
  margin: 0 auto;
  font-family: var(--sans);
  font-size: 13px;
  font-variant-numeric: lining-nums tabular-nums;
}
.cal em { font-style: normal; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.cal span { position: relative; display: grid; place-items: center; height: 34px; color: var(--ink); opacity: .8; }
.cal span.on { opacity: 1; font-weight: 700; }
.cal span.on svg { position: absolute; width: 38px; height: 36px; fill: var(--accent); opacity: .92; }
.cal span.on b { position: relative; color: var(--accent-ink); font-size: 13px; margin-top: -2px; }
.when { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px 0 22px; font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.when i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 360px; margin: 0 auto; }
.countdown div { border: 1px solid var(--line); border-radius: 4px; padding: 10px 4px 8px; background: rgba(255, 255, 255, .06); }
.countdown b { display: block; font-size: 30px; font-weight: 500; line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
.countdown span { font-family: var(--sans); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.countdown-done { font-size: 24px; color: var(--accent); margin: 0; }

/* Manzil */
.venue h2, .rsvp h2 { font-weight: 600; font-size: 28px; margin: 0 0 6px; }
.venue p { margin: 0 0 20px; color: var(--muted); }

/* Tugmalar */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 13px 26px;
  cursor: pointer;
  transition: transform .15s, opacity .15s;
}
.btn:hover { opacity: .9; }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--accent); }

/* Javob formasi */
.rsvp-form { text-align: left; display: grid; gap: 16px; margin-top: 18px; }
.field { display: grid; gap: 6px; }
.field > span { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--muted); }
.field em { font-style: normal; opacity: .75; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 18px;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field[hidden] { display: none; }
.choice { display: grid; gap: 8px; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: block;
  text-align: center;
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--field);
  transition: background .15s, color .15s;
}
.choice input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.rsvp-form .btn { justify-self: center; margin-top: 4px; }
.form-msg { font-family: var(--sans); font-size: 14px; color: #b3261e; margin: 6px 0 0; }
.thanks-icon { width: 42px; height: 42px; color: var(--accent); }
.thanks h2 { margin: 6px 0; }
.thanks p { margin: 0; color: var(--muted); }

.hosts .fl-sprig { margin: 0 auto; width: 64%; }
.hosts p { margin: 14px 0 0; font-style: italic; font-size: 21px; }

.share { padding-bottom: 170px; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.share-row .btn { padding: 11px 18px; font-size: 11px; }

.credit { position: relative; z-index: 3; font-family: var(--sans); font-size: 11px; color: var(--muted); padding: 18px 0 16px; letter-spacing: .05em; }

/* ---------- Kirish ekrani: konvert va mum muhr ---------- */
.intro { display: none; }
.js .intro {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: var(--paper-tex), var(--pattern), var(--bg);
  transition: opacity .8s ease .55s, visibility .8s .55s;
}
.intro.opened { opacity: 0; visibility: hidden; }
.intro-inner { text-align: center; width: min(100%, 400px); }
.intro-names { font-family: var(--script); color: var(--accent); font-size: clamp(40px, 11vw, 54px); line-height: 1.1; margin: 0 0 34px; }
.intro-hint { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 30px 0 0; animation: pulse 2.4s ease-in-out infinite; }

.env { position: relative; width: 100%; aspect-ratio: 1.45; perspective: 900px; filter: drop-shadow(0 26px 30px rgba(40, 25, 15, .28)); }
.env-back, .env-front, .env-flap, .env-letter { position: absolute; inset: 0; }
.env-back { background: var(--env-3); border-radius: 6px; }
.env-letter {
  inset: 8% 7% 12%;
  background: var(--paper-tex), var(--paper);
  border-radius: 3px;
  display: grid;
  place-items: start center;
  padding-top: 8%;
  transition: transform .9s cubic-bezier(.2, .8, .2, 1) .35s;
}
.env-sprig { width: 70%; height: auto; }
.env-front {
  background: var(--paper-tex), linear-gradient(170deg, var(--env-1), var(--env-2));
  clip-path: polygon(0 0, 50% 60%, 100% 0, 100% 100%, 0 100%);
  border-radius: 6px;
}
.env-flap {
  background: var(--paper-tex), linear-gradient(180deg, var(--env-2), var(--env-1));
  clip-path: polygon(0 0, 100% 0, 50% 66%);
  transform-origin: 50% 0;
  transition: transform .7s cubic-bezier(.5, 0, .3, 1);
  z-index: 2;
  border-radius: 6px 6px 0 0;
}
.seal {
  position: absolute;
  z-index: 3;
  left: 50%; top: 66%;
  width: 34%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 50%;
  transition: transform .45s ease, opacity .45s ease;
  filter: drop-shadow(0 6px 8px rgba(60, 10, 20, .35));
}
.seal:hover { transform: translate(-50%, -50%) scale(1.05); }
.seal:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.seal img { display: block; width: 100%; height: 100%; }
.seal span {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--script); font-size: clamp(22px, 6.4vw, 30px); color: #f3d9c4; white-space: nowrap;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .45), 0 1px 0 rgba(255, 220, 200, .3);
}
.intro.opened .seal { transform: translate(-50%, -50%) scale(.6); opacity: 0; }
.intro.opened .env-flap { transform: rotateX(180deg); z-index: 0; }
.intro.opened .env-letter { transform: translateY(-38%); }
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* Paydo bo'lish effekti */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .intro, .env-flap, .env-letter, .seal { transition: none; transform: none; }
  .intro-hint { animation: none; }
  html { scroll-behavior: auto; }
}

/* Egasi va namuna paneli */
.owner-bar, .demo-bar {
  position: relative;
  z-index: 60;
  max-width: 540px;
  margin: 0 auto 14px;
  font-family: var(--sans);
  font-size: 13px;
  background: #2b211d;
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: center;
}
.owner-bar a { color: #f0cf8a; font-weight: 600; text-decoration: none; }
.demo-bar { position: sticky; top: 10px; }
.demo-bar a { color: #ddd; text-decoration: none; padding: 3px 9px; border-radius: 999px; }
.demo-bar a.on { background: #fff; color: #2b211d; }
.demo-bar .demo-cta { color: #f0cf8a; font-weight: 600; }

/* iPhone ichida ko'rsatish (bosh sahifadagi namuna) */
body.embed { padding: 54px 12px 30px; background-attachment: scroll; scrollbar-width: none; }
body.embed::-webkit-scrollbar { display: none; }
html:has(body.embed) { scrollbar-width: none; }

@media (max-width: 420px) {
  body { padding: 12px 10px 28px; font-size: 18px; }
  section { padding: 30px 22px; }
  .hero { padding-top: 170px; }
  .countdown b { font-size: 24px; }
  .month { font-size: 30px; }
}

/* ---------- Galereya ---------- */
.gal { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.gal-item { position: relative; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: 4px; aspect-ratio: 3 / 4; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.gal-item:hover img { transform: scale(1.04); }
.gal-1 { grid-template-columns: 1fr; }
.gal-1 .gal-item { aspect-ratio: 4 / 5; }
.gal-3 .gal-item:first-child, .gal-5 .gal-item:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(10, 8, 6, .92); display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Musiqa tugmasi ---------- */
.music-btn {
  position: fixed; z-index: 40; right: 18px; bottom: 18px;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--paper); color: var(--accent);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35); cursor: pointer;
}
.music-btn .m-on { display: none; }
.music-btn.playing .m-on { display: block; }
.music-btn.playing .m-off { display: none; }
.music-btn.playing { animation: spin 5s linear infinite; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.music-btn.playing::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--accent);
  animation: ring 2s ease-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ring { from { opacity: .7; transform: scale(.9); } to { opacity: 0; transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) { .music-btn.playing, .music-btn.playing::after { animation: none; } }

/* ================= HAR BIR DIZAYNNING O'Z TUZILISHI ================= */

/* Sadaf — zamonaviy, havodor: ramkasiz, yumaloq rasm, ingichka tipografika */
.theme-gul .card { border-radius: 28px; }
.theme-gul .card::before { display: none; }
.theme-gul .fl-tl { left: auto; right: -10px; transform: scaleX(-1); }
.theme-gul .fl-br { right: auto; left: -10px; transform: rotate(180deg) scaleX(-1); }
.theme-gul .photo { width: 230px; height: 230px; border-radius: 50%; }
.theme-gul .names { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(42px, 11vw, 58px); letter-spacing: -.01em; }
.theme-gul .eyebrow, .theme-gul .label { letter-spacing: .32em; font-weight: 500; }
.theme-gul .countdown div { border-radius: 16px; }
.theme-gul .btn { border-radius: 14px; }
.theme-gul .cal span.on svg { display: none; }
.theme-gul .cal span.on::before { content: ""; position: absolute; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); }

/* Zumrad — art-deko: qo'sh oltin ramka, Cinzel bosh harflari, baland ark */
.theme-tun .card { border-radius: 0; }
.theme-tun .card::before { inset: 10px; border-color: rgba(214, 183, 122, .55); }
.theme-tun .card::after { content: ""; position: absolute; inset: 17px; border: 1px solid rgba(214, 183, 122, .25); pointer-events: none; }
.theme-tun .eyebrow, .theme-tun .label, .theme-tun .month { font-family: 'Cinzel', var(--serif); letter-spacing: .2em; }
.theme-tun .month { font-size: 26px; letter-spacing: .12em; }
.theme-tun .photo { width: 210px; height: 300px; border-radius: 105px 105px 0 0; box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px rgba(214, 183, 122, .7); }
.theme-tun .names { text-shadow: 0 2px 14px rgba(214, 183, 122, .25); }
.theme-tun .countdown div { border-radius: 0; border-color: rgba(214, 183, 122, .45); }
.theme-tun .btn { border-radius: 0; letter-spacing: .22em; }
.theme-tun section + section::before { width: 70px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .8; }

/* Minimal — gullarsiz, keng bo'shliq, sans sarlavhalar */
.theme-minimal .card { border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 18px 40px -22px rgba(30, 40, 35, .3); }
.theme-minimal .card::before { inset: 0; border: 0; border-top: 3px solid var(--accent); }
.theme-minimal .fl-img { display: none; }
.theme-minimal .fl-sprig { width: 120px; opacity: .55; }
.theme-minimal .hero { padding-top: 56px; }
.theme-minimal .names { font-family: var(--sans); font-weight: 500; font-size: clamp(30px, 8vw, 42px);
  letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.theme-minimal .eyebrow, .theme-minimal .label { letter-spacing: .3em; color: var(--muted); }
.theme-minimal .photo { border-radius: 4px; width: 230px; height: 290px; box-shadow: none; }
.theme-minimal .monogram { border-radius: 4px; font-family: var(--sans); font-size: 30px; letter-spacing: .06em; box-shadow: none; }
.theme-minimal .countdown div { border-radius: 2px; }
.theme-minimal .btn { border-radius: 2px; }
.theme-minimal section + section::before { width: 100%; max-width: 100%; left: 0; transform: none; opacity: .18; }

/* Zarhal — nozik oltin ramka va kichik bosh harflar */
.theme-zarhal .card::before { inset: 10px; border-width: 2px; border-style: double; }
.theme-zarhal .fl-br { display: none; }
.theme-zarhal .hero { padding-top: 185px; }
.theme-zarhal .eyebrow, .theme-zarhal .label { letter-spacing: .3em; }
.theme-zarhal .photo { border-radius: 6px; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--accent); }
.theme-zarhal .btn { border-radius: 2px; letter-spacing: .2em; }

/* Rishton — milliy: naqshli yuqori va pastki hoshiya, mehrob shaklidagi rasm */
.theme-milliy .card { border-radius: 2px; padding-top: 30px; padding-bottom: 26px; }
.theme-milliy .card::before { inset: 30px 12px 26px; }
.theme-milliy .card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='18' viewBox='0 0 36 18'%3E%3Crect width='36' height='18' fill='%231f4f8f'/%3E%3Cpath d='M18 2l4 7-4 7-4-7z' fill='%23fbfaf6'/%3E%3Ccircle cx='0' cy='9' r='3' fill='%23b0402f'/%3E%3Ccircle cx='36' cy='9' r='3' fill='%23b0402f'/%3E%3Ccircle cx='18' cy='9' r='1.4' fill='%23b0402f'/%3E%3C/svg%3E") repeat-x;
  box-shadow: 0 0 0 0 transparent;
}
.theme-milliy main.card { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='14' viewBox='0 0 36 14'%3E%3Crect width='36' height='14' fill='%231f4f8f'/%3E%3Cpath d='M18 2l3 5-3 5-3-5z' fill='%23fbfaf6'/%3E%3C/svg%3E") bottom left / 36px 14px repeat-x,
  var(--paper-tex), var(--paper); }
.theme-milliy .photo {
  width: 220px; height: 290px; border-radius: 0;
  clip-path: path('M0 290 V120 C0 60 62 30 110 0 C158 30 220 60 220 120 V290 Z');
  box-shadow: none;
}
.theme-milliy .names { font-size: clamp(44px, 11.5vw, 62px); }
.theme-milliy .countdown div { border-radius: 10px 10px 2px 2px; }
.theme-milliy .cal em { color: var(--accent); }

/* Tadbir dasturi */
.prg { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 330px; margin-inline: auto; text-align: left; }
.prg li { display: grid; grid-template-columns: 62px 18px 1fr; align-items: start; gap: 10px; }
.prg b { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .04em; padding-top: 3px;
  font-variant-numeric: lining-nums tabular-nums; color: var(--accent); }
.prg span { position: relative; height: 100%; min-height: 42px; }
.prg span::before { content: ""; position: absolute; left: 50%; top: 7px; width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%; border: 1px solid var(--accent); background: var(--paper); }
.prg span::after { content: ""; position: absolute; left: 50%; top: 18px; bottom: -4px; width: 1px; background: var(--line); }
.prg li:last-child span::after { display: none; }
.prg p { margin: 0 0 14px; font-size: 18px; }

/* Mehmonlar tilaklari */
.wsh { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; text-align: left; }
.wsh li { border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; background: rgba(255, 255, 255, .07); }
.wsh p { margin: 0 0 6px; font-style: italic; font-size: 17px; }
.wsh b { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
