/* מעגל 12 · חדר המצב
   אותה שפה של disneytributecircle.com: לילה סגול, זהב, זכוכית, Rubik + Playpen Sans Hebrew.
   שני מצבים בלבד: פתוח = זהב, סגור = שקט. עיצוב כהה בלבד, בכוונה, כמו אתר המעגל. */
:root {
  --night-950: #07031a; --night-900: #0e0629; --night-800: #1a0b3d; --violet: #7c4dff; --sky: #4fa8ff;
  --gold: #ffd700; --gold-deep: #d99a1e; --cream: #fff6c9; --pink: #ff7ac6;
  --text: #f4f0ff; --text-soft: #c9bff0; --text-mute: #9b8fc9;
  --glass: rgba(255,255,255,.07); --glass-border: rgba(255,255,255,.14);
  --glass-grad: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  --coin: radial-gradient(circle at 32% 30%, #fff5c2, var(--gold) 48%, var(--gold-deep));
  --font: 'Rubik', system-ui, sans-serif;
  --font-hand: 'Playpen Sans Hebrew', 'Varela Round', 'Rubik', cursive;
  --radius: 22px; --radius-s: 14px; --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text);
  background: radial-gradient(900px 600px at 85% -10%, rgba(124,77,255,.28), transparent 60%), radial-gradient(700px 500px at 0% 40%, rgba(79,168,255,.1), transparent 60%), var(--night-900);
  background-attachment: fixed;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--night-950); }
img { max-width: 100%; display: block; }
a { color: var(--gold); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--gold); color: var(--night-900); padding: 8px 14px; border-radius: 999px; z-index: 99; }
.skip:focus { inset-inline-start: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.gold { color: var(--gold); }
h1, h2, h3 { text-wrap: balance; margin: 0; }
h2 { font-family: var(--font-hand); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.15; }
.lead { color: var(--text-soft); font-size: clamp(1rem, 1.5vw, 1.12rem); max-width: 62ch; margin: 8px 0 0; }
.fine { color: var(--text-mute); font-size: .88rem; margin: 10px 0 0; }
.card { background: var(--glass-grad); border: 1px solid var(--glass-border); border-radius: var(--radius); }
.coin { width: 34px; height: 34px; border-radius: 50%; background: var(--coin); color: var(--night-900); display: grid; place-items: center; font-weight: 900; flex: none; box-shadow: 0 0 0 5px rgba(255,215,0,.14); }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; padding: 10px 0; }
.top__in { max-width: var(--max); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px));
  padding: 6px 10px 6px 16px; border-radius: 999px; background: rgba(14,6,41,.75); border: 1px solid var(--glass-border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
@media (min-width: 1281px) { .top__in { margin-inline: auto; } }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { height: 40px; width: auto; }
.brand__tag { background: var(--coin); color: var(--night-900); font-weight: 800; border-radius: 999px; padding: 3px 12px; font-size: .9rem; }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--text-soft); text-decoration: none; padding: 7px 14px; border-radius: 999px; font-weight: 500; font-size: .95rem; white-space: nowrap; }
.nav a:hover, .nav a.is-on { background: rgba(255,215,0,.14); color: var(--gold); }

/* hero */
.hero { position: relative; margin-top: -68px; padding: 116px 0 8px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: url(../assets/hero.webp) center 30% / cover no-repeat; opacity: .38; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,6,41,.5), rgba(14,6,41,.8) 50%, var(--night-900)); }
.hero__in { position: relative; }
.hero h1 { font-weight: 900; font-size: clamp(2.5rem, 7vw, 4.4rem); line-height: 1.05; }
.hero h1 .gold { font-family: var(--font-hand); font-weight: 800; text-shadow: 0 0 40px rgba(255,215,0,.3); }
.hero__venue { font-size: clamp(1.05rem, 2vw, 1.3rem); margin: 10px 0 24px; }
.hero__venue b { color: var(--cream); font-weight: 500; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.steps li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: .82rem; color: var(--text-mute); }
.steps li::before { content: ""; position: absolute; top: 14px; inset-inline-start: 50%; width: calc(100% + 6px); height: 2px; background: rgba(255,255,255,.12); z-index: 0; }
.steps li:last-child::before { display: none; }
.steps li.is-done::before { background: var(--gold); }
.steps i { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .9rem; background: var(--night-800); border: 2px solid rgba(255,255,255,.2); }
.steps .is-done i { background: var(--gold); border-color: var(--gold); color: var(--night-900); }
.steps .is-now i { background: var(--coin); border-color: var(--gold); color: var(--night-900); box-shadow: 0 0 0 6px rgba(255,215,0,.18); }
.steps .is-now span { color: var(--gold); font-weight: 600; }
.next-h { font-size: 1.4rem; margin: 34px 0 12px; color: var(--cream); }
.next { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.next li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-color: rgba(255,215,0,.35); }
.next h3 { font-size: 1.08rem; font-weight: 700; }
.next p { margin: 4px 0 0; color: var(--text-soft); font-size: .93rem; }

.section { padding: clamp(52px, 7vw, 84px) 0 0; }
.sub { font-family: var(--font-hand); font-weight: 800; color: var(--cream); font-size: 1.3rem; margin: 30px 0 12px; }

/* open */
.owners { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; margin-top: 22px; align-items: start; }
.owner { padding: 18px 18px 8px; min-width: 0; }
.owner h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.owner h3 span { font-size: .85rem; font-weight: 700; color: var(--night-900); background: var(--gold); border-radius: 999px; padding: 1px 9px; }
.owner ul { list-style: none; margin: 0; padding: 0; }
.owner li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.07); }
.owner li:first-child { border-top: 0; }
.owner p { margin: 0; min-width: 0; }
.owner small { display: block; color: var(--text-mute); font-size: .82rem; }
.ring-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--gold); margin-top: 7px; }
details.card { margin-top: 14px; padding: 0 18px; }
details.card summary { cursor: pointer; padding: 14px 0; list-style: none; display: flex; align-items: center; gap: 10px; color: var(--text-soft); font-weight: 500; }
details.card summary::-webkit-details-marker { display: none; }
details.card summary::after { content: "▾"; margin-inline-start: auto; color: var(--text-mute); transition: transform .2s; }
details[open].card summary::after { transform: rotate(180deg); }
details.card > *:last-child { padding-bottom: 16px; }
.closed b { color: var(--text); }
.tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .75rem; background: rgba(255,255,255,.1); color: var(--text-soft); }
.closed ul { list-style: none; margin: 0; padding: 0 0 14px; columns: 2 280px; column-gap: 28px; }
.closed li { color: var(--text-mute); padding: 5px 0 5px 0; padding-inline-start: 22px; position: relative; break-inside: avoid; font-size: .95rem; }
.closed li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--text-mute); }

/* dates */
.thu-list { margin-top: 22px; padding: 18px; border-color: rgba(255,215,0,.45); }
.thu-list h3 { font-family: var(--font-hand); font-weight: 800; color: var(--gold); font-size: 1.25rem; margin-bottom: 12px; }
.thu-list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.thu-list button { width: 100%; display: grid; text-align: center; gap: 1px; padding: 10px 6px; border-radius: var(--radius-s); background: rgba(255,215,0,.1); border: 1px solid rgba(255,215,0,.3); cursor: pointer; transition: background .2s, border-color .2s; }
.thu-list button:hover { background: rgba(255,215,0,.2); border-color: rgba(255,215,0,.7); }
.thu-list b { font-size: 1.3rem; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.thu-list span { font-size: .76rem; color: var(--text-mute); }
.thu-list em { font-style: normal; font-size: .78rem; color: var(--text-soft); min-height: 1.2em; }
.thu-list em.has { color: var(--cream); font-weight: 600; }
.cal { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 14px; margin-top: 14px; }
.month { padding: 16px; }
.month h3 { font-family: var(--font-hand); font-weight: 800; font-size: 1.2rem; color: var(--cream); margin-bottom: 10px; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.dow { text-align: center; font-size: .75rem; color: var(--text-mute); }
.day { min-height: 58px; border-radius: 10px; padding: 4px 5px; background: rgba(255,255,255,.04); display: flex; flex-direction: column; align-items: stretch; text-align: start; font-size: .8rem; line-height: 1.2; min-width: 0; border: 0; }
.day b { font-weight: 700; font-variant-numeric: tabular-nums; }
.day .ss { color: var(--text-mute); font-size: .64rem; margin-top: auto; font-variant-numeric: tabular-nums; }
.day .hol { color: var(--pink); font-size: .62rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.day .cnt { font-size: .62rem; color: var(--cream); font-weight: 600; }
.day.is-wkend { opacity: .35; }
.day.is-hol { background: rgba(255,122,198,.1); outline: 1px solid rgba(255,122,198,.3); }
.day.is-blank { background: none; }
.day.is-thu { background: rgba(255,215,0,.16); outline: 2px solid rgba(255,215,0,.75); cursor: pointer; }
.day.is-thu b { color: var(--gold); }
.day.is-thu:hover { background: rgba(255,215,0,.28); }
.cal-key { display: flex; flex-wrap: wrap; gap: 16px; color: var(--text-mute); font-size: .85rem; margin-top: 12px; }
.key { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; margin-inline-end: 4px; }
.key--thu { background: rgba(255,215,0,.3); outline: 2px solid rgba(255,215,0,.75); }
.key--hol { background: rgba(255,122,198,.2); outline: 1px solid rgba(255,122,198,.5); }

/* availability dialog */
.avail { border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 0; background: var(--night-800); color: var(--text); width: min(440px, calc(100vw - 32px)); }
.avail::backdrop { background: rgba(7,3,26,.7); backdrop-filter: blur(4px); }
.avail__in { padding: 22px; position: relative; }
.avail h3 { font-family: var(--font-hand); font-weight: 800; color: var(--gold); font-size: 1.4rem; }
.avail__x { position: absolute; top: 12px; inset-inline-end: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--glass-border); background: var(--glass); cursor: pointer; }
.chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips .empty { color: var(--text-mute); font-size: .92rem; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border-radius: 999px; background: rgba(255,215,0,.16); border: 1px solid rgba(255,215,0,.5); color: var(--cream); font-weight: 500; }
.chip button { width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); cursor: pointer; font-size: .7rem; }
.chip--add { background: var(--glass); border-color: var(--glass-border); color: var(--text-soft); cursor: pointer; padding: 6px 12px; }
.avail__lbl { display: block; margin-top: 18px; font-weight: 600; font-size: .92rem; }
.avail__row { display: flex; gap: 8px; margin-top: 6px; }
.avail__row input { flex: 1; min-width: 0; font: inherit; color: var(--text); background: rgba(255,255,255,.06); border: 1px solid var(--glass-border); border-radius: 12px; padding: 10px 12px; }
.btn { border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 700; background: var(--coin); color: var(--night-900); cursor: pointer; }

/* place */
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; margin-top: 22px; }
.opt { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; text-align: start; cursor: pointer; border-color: rgba(255,215,0,.35); }
.opt:hover { border-color: rgba(255,215,0,.75); }
.opt__id { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--coin); color: var(--night-900); font-weight: 900; font-size: 1.2rem; flex: none; }
.opt h3 { font-size: 1.08rem; font-weight: 700; }
.opt p { margin: 4px 0 0; color: var(--text-soft); font-size: .93rem; }
.place { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
@media (max-width: 860px) { .place { grid-template-columns: 1fr; } }
.map { height: clamp(320px, 50vh, 480px); overflow: hidden; z-index: 0; }
.arrive { padding: 18px; align-self: start; }
.arrive h3 { font-family: var(--font-hand); font-weight: 800; color: var(--cream); font-size: 1.15rem; margin-bottom: 6px; }
.arrive ul { margin: 0; padding-inline-start: 18px; color: var(--text-soft); font-size: .95rem; }
.arrive li + li { margin-top: 8px; }
.arrive b { color: var(--text); font-weight: 600; }
.sitemap { margin: 12px 0 0; padding: 12px; }
.sitemap img { border-radius: var(--radius-s); width: 100%; height: auto; }
.sitemap figcaption { color: var(--text-mute); font-size: .85rem; margin-top: 8px; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 220px); gap: 10px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.shot { scroll-snap-align: start; display: grid; gap: 6px; text-decoration: none; color: var(--text-soft); font-size: .85rem; }
.shot img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-s); border: 1px solid var(--glass-border); width: 100%; }
.mk { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 800 13px/1 var(--font); color: #0e0629; background: var(--c, #ffd700); border: 2px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.5); }
.mk--opt { width: 40px; height: 40px; font-size: 19px; background: radial-gradient(circle at 32% 30%, #fff5c2, #ffd700 48%, #d99a1e); box-shadow: 0 0 0 8px rgba(255,215,0,.28), 0 4px 14px rgba(0,0,0,.5); }
.leaflet-container { background: #1a0b3d; font-family: var(--font); }
.leaflet-tile-pane { filter: invert(1) hue-rotate(205deg) brightness(.85) contrast(.9) saturate(.7); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: #1a0b3d; color: var(--text); border: 1px solid var(--glass-border); }
.leaflet-popup-content { margin: 12px 14px; direction: rtl; text-align: right; }
.leaflet-container a.leaflet-popup-close-button { color: var(--text-soft); }
.leaflet-control-attribution { background: rgba(14,6,41,.8) !important; color: var(--text-mute) !important; }
.leaflet-control-attribution a { color: var(--text-soft) !important; }

/* money */
.money { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 40px; padding: 20px; margin-top: 22px; }
.money b { display: block; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.1; }
.money__big b { font-size: 2.4rem; color: var(--gold); }
.money__fund b { font-size: 1.6rem; }
.money span { color: var(--text-soft); font-size: .92rem; }
.money .fine { flex-basis: 100%; margin: 0; }
.tablewrap { overflow-x: auto; }
.budget { width: 100%; border-collapse: collapse; min-width: 440px; font-variant-numeric: tabular-nums; }
.budget th { text-align: start; font-weight: 500; color: var(--text-mute); font-size: .85rem; padding: 8px 10px; }
.budget td { padding: 9px 10px; border-top: 1px solid rgba(255,255,255,.07); color: var(--text-soft); }

/* more */
.people { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; color: var(--text-soft); font-size: .95rem; }
.people b { color: var(--text); }
.side { font-family: var(--font-hand); color: var(--cream); font-size: .85rem; }
.log { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; color: var(--text-soft); font-size: .92rem; }
.log time { color: var(--cream); font-family: var(--font-hand); font-size: .85rem; margin-inline-end: 6px; }

.foot { padding: 56px 0 calc(40px + env(safe-area-inset-bottom, 0px)); color: var(--text-mute); font-size: .86rem; }
.foot p { margin: 4px 0; }

@media (max-width: 640px) {
  .nav a { padding: 7px 10px; font-size: .9rem; }
  .brand img { height: 32px; }
  .hero { padding-top: 100px; }
  .steps span { font-size: .7rem; }
  .day { min-height: 50px; }
  .day .ss { display: none; }
}
