/* ownvirtual.land: living globe, fly-to-your-home and the title reveal. */
:root {
  --gold-1: #ffe7a6;
  --gold-2: #e9b85a;
  --gold-3: #a8741f;
  --navy-0: #050914;
  --navy-1: #0a1428;
  --navy-2: #13254a;
  --ruby: #8f1d2c;
  --parchment: #f3e6c4;
  --ink: #1b2a4f;
  --glass: rgba(14, 18, 34, 0.56);
  --glass-line: rgba(255, 236, 190, 0.22);
}

/* ---------- Title reveal (/crown) ---------- */
html:has(.crown-page) { background: #050914; }
body:has(.crown-page) { background: radial-gradient(ellipse 120% 900px at 50% -10%, #1b2f5e 0%, #0b1530 45%, #050914 100%) no-repeat #050914; }
body:has(.crown-page) .sky { opacity: .55; }
.crown-page { position: relative; z-index: 2; width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 0.5rem 0 3rem; }
.crown-glow { position: absolute; inset: -4rem -10% auto; height: 520px; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side at 30% 55%, rgba(242, 193, 78, .16), transparent), radial-gradient(closest-side at 78% 50%, rgba(140, 120, 255, .14), transparent); }
.crown-head { text-align: center; margin: 0.2rem 0 1.1rem; }
.crown-mark { width: 54px; margin: 0 auto 0.2rem; filter: drop-shadow(0 6px 18px rgba(242, 193, 78, .5)); }
.crown-head h1 { margin: 0; font-family: var(--serif); font-weight: 520; letter-spacing: -0.035em; font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1;
  background: linear-gradient(180deg, #fff3cf 10%, #e9b85a 60%, #b8842c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.crown-sub { margin: 0.55rem 0 0; color: #d9d1e8; font-size: 0.98rem; }
.crown-sub strong { color: #fff; font-weight: 600; }

.crown-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; margin: 0 auto 0.9rem; }
.crown-chip { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 46px; padding: 0.5rem 1.25rem; border-radius: 12px;
  border: 1px solid rgba(233, 184, 90, .55); background: rgba(8, 14, 32, .72); color: #f4ead2; font-family: var(--serif); font-size: 1.08rem; letter-spacing: -0.01em;
  transition: transform .18s ease, background .25s ease, box-shadow .25s ease, border-color .25s ease; }
.crown-chip svg { width: 18px; height: 18px; color: var(--gold-2); }
.crown-chip:hover { transform: translateY(-1px); border-color: var(--gold-1); }
.crown-chip[aria-checked="true"] { background: linear-gradient(100deg, #f6c98c 0%, #e9a3a8 50%, #b79cf2 100%); color: #1c1230; border-color: transparent;
  box-shadow: 0 10px 34px rgba(233, 163, 168, .35), inset 0 1px 0 rgba(255,255,255,.6); }
.crown-chip[aria-checked="true"] svg { color: #5b2a14; }

.crown-tune { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0.7rem 1.1rem; margin: 0 auto 1.1rem; }
.crown-name { display: flex; align-items: center; gap: 0.6rem; padding: 0.3rem 0.4rem 0.3rem 0.95rem; border-radius: 999px; border: 1px solid var(--glass-line); background: rgba(8, 14, 32, .66); }
.crown-name span { color: #cbbfa3; font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.crown-name input { width: 12rem; border: 0; outline: 0; background: rgba(255,255,255,.07); border-radius: 999px; padding: 0.5rem 0.9rem; font-family: var(--serif); font-size: 1.05rem; color: #fff; }
.crown-name input:focus { background: rgba(255,255,255,.12); box-shadow: 0 0 0 1px var(--gold-2); }
.crown-styles, .crown-flags { display: inline-flex; gap: 0.3rem; padding: 0.25rem; border-radius: 999px; border: 1px solid var(--glass-line); background: rgba(8, 14, 32, .66); }
.crown-style { border: 0; background: transparent; color: #d9d1e8; border-radius: 999px; padding: 0.42rem 0.85rem; font-size: 0.9rem; }
.crown-style[aria-checked="true"] { background: rgba(242, 193, 78, .18); color: #ffe7a6; box-shadow: inset 0 0 0 1px rgba(242,193,78,.55); }
.crown-flag-chip { width: 40px; height: 30px; border: 0; padding: 3px; border-radius: 999px; background: transparent; }
.crown-flag-chip svg { width: 100%; height: 100%; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.crown-flag-chip[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--gold-2); }

.crown-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: center; gap: 0; margin: 0 auto; max-width: 1020px; }
.deed-sheet { position: relative; z-index: 2; padding: 14px; transform: rotate(-1.2deg);
  background:
    radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(120, 72, 18, .28) 100%),
    radial-gradient(circle at 12% 18%, rgba(160, 110, 40, .18), transparent 30%),
    radial-gradient(circle at 86% 80%, rgba(160, 110, 40, .2), transparent 32%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%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 .3 0 0 0 0 .1 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(170deg, #f8edd2, #efdcb0 60%, #e6cc96);
  clip-path: polygon(0.6% 1.2%, 7% 0.2%, 15% 1%, 24% 0%, 37% 0.8%, 49% 0.1%, 61% 0.9%, 73% 0.2%, 84% 1%, 93% 0.1%, 99.5% 1.4%, 99% 12%, 100% 26%, 99.2% 41%, 100% 57%, 99.1% 72%, 99.9% 86%, 99.2% 98.8%, 91% 99.6%, 79% 98.9%, 66% 100%, 52% 99.1%, 39% 99.9%, 26% 99%, 13% 99.8%, 3% 99.1%, 0.3% 97.6%, 1% 84%, 0% 69%, 0.8% 53%, 0.1% 38%, 0.9% 23%, 0% 10%);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)); }
.deed-inner { position: relative; padding: 1.8rem 2.4rem 1.2rem; border: 2px solid rgba(169, 122, 42, .75); outline: 1px solid rgba(169, 122, 42, .45); outline-offset: -8px; text-align: center; color: var(--ink); }
.deed-corner { position: absolute; width: 46px; height: 46px; }
.deed-corner.tl { top: 6px; left: 6px; } .deed-corner.tr { top: 6px; right: 6px; transform: scaleX(-1); }
.deed-corner.bl { bottom: 6px; left: 6px; transform: scaleY(-1); } .deed-corner.br { bottom: 6px; right: 6px; transform: scale(-1, -1); }
.deed-by { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin: 0 0 0.2rem; font-family: var(--serif); letter-spacing: .32em; text-transform: uppercase; font-size: 0.82rem; color: #6d4e1e; }
.deed-by span { width: 54px; height: 1px; background: linear-gradient(90deg, transparent, #a87a2a, transparent); }
.deed-name { margin: 0; font-family: var(--serif); font-weight: 640; font-size: clamp(2.1rem, 4.4vw, 3.5rem); letter-spacing: 0.02em; line-height: 1.02; text-transform: uppercase; color: #162a57;
  text-shadow: 0 1px 0 rgba(255,255,255,.5); overflow-wrap: anywhere; }
.deed-name.is-long { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.deed-name.is-xlong { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.deed-proclaimed { margin: 0.15rem 0 0.1rem; font-family: var(--serif); letter-spacing: .3em; font-size: .8rem; text-transform: uppercase; color: #6d4e1e; }
.deed-title { margin: 0 0 0.6rem; font-family: var(--serif); font-weight: 600; font-size: clamp(1.25rem, 2.6vw, 2rem); letter-spacing: .04em; color: #8a1a28; overflow-wrap: anywhere; }
.deed-art { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 0.6rem; min-height: 210px; }
.deed-crest { width: 200px; max-width: 100%; justify-self: end; filter: drop-shadow(0 6px 8px rgba(90, 60, 10, .3)); }
.crest-motto { font-family: var(--serif); font-size: 10.5px; letter-spacing: .12em; fill: #6d4e1e; }
.deed-flag { position: relative; width: 120px; height: 200px; justify-self: center; }
.deed-pole { position: absolute; left: 10px; bottom: 0; width: 5px; height: 196px; border-radius: 3px; background: linear-gradient(90deg, #5a3c12, #e0b45c 45%, #6b4716); box-shadow: 2px 2px 3px rgba(0,0,0,.25); }
.deed-pole::before { content: ""; position: absolute; top: -9px; left: -4px; width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff3c8, #c8902e 60%, #7a5214); }
.deed-cloth { position: absolute; left: 15px; top: 8px; width: 104px; height: 70px; transform-origin: left center; animation: cloth 3.6s ease-in-out infinite; filter: drop-shadow(0 4px 4px rgba(40, 25, 5, .35)); }
.deed-cloth svg { width: 100%; height: 100%; border-radius: 1px 4px 4px 1px; }
.deed-cloth::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(255,255,255,.18) 30%, rgba(0,0,0,.12) 55%, rgba(255,255,255,.15) 80%, rgba(0,0,0,.18)); mix-blend-mode: soft-light; border-radius: inherit; }
.deed-cloth.is-raising { animation: raise .9s cubic-bezier(.2, .8, .2, 1), cloth 3.6s ease-in-out .9s infinite; }
@keyframes cloth { 0%, 100% { transform: skewY(0deg) scaleX(1); } 50% { transform: skewY(-3deg) scaleX(.97); } }
@keyframes raise { from { transform: translateY(110px) scaleX(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.seal-zone { position: relative; width: 150px; height: 200px; justify-self: start; }
.wax-seal { position: absolute; left: 0; bottom: 6px; width: 118px; height: 118px; overflow: visible; transform-origin: 50% 50%; }
.wax-seal-deed { flex: none; width: 108px; height: 108px; overflow: visible; }
.brass-stamp { position: absolute; left: 33px; bottom: 140px; width: 52px; height: 120px; opacity: 0; transform-origin: 50% 100%; }
.brass-stamp .stamp-knob { position: absolute; left: 10px; top: 0; width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff1c2, #d4a245 45%, #6e4a12); }
.brass-stamp .stamp-neck { position: absolute; left: 19px; top: 26px; width: 14px; height: 64px; border-radius: 6px; background: linear-gradient(90deg, #6e4a12, #f0cd7a 45%, #7a5214); }
.brass-stamp .stamp-base { position: absolute; left: 4px; top: 86px; width: 44px; height: 30px; border-radius: 8px 8px 12px 12px; background: linear-gradient(90deg, #6e4a12, #f3d688 40%, #9a6a1c 75%, #5a3c10); box-shadow: 0 6px 10px rgba(0,0,0,.35); }
.deed-sheet.is-stamping .brass-stamp { animation: stamp-press 1.4s cubic-bezier(.3, .1, .2, 1) forwards; }
.deed-sheet.is-stamping .wax-seal { animation: seal-pop 1.4s ease forwards; }
.deed-sheet.is-sealed .wax-seal { opacity: 1; transform: none; }
@keyframes stamp-press {
  0% { opacity: 0; transform: translateY(-60px) rotate(-8deg); }
  20% { opacity: 1; transform: translateY(-40px) rotate(-4deg); }
  45% { opacity: 1; transform: translateY(84px) rotate(0); }
  58% { opacity: 1; transform: translateY(80px); }
  85% { opacity: 1; transform: translateY(-30px) rotate(6deg); }
  100% { opacity: 0; transform: translateY(-70px) rotate(10deg); }
}
@keyframes seal-pop {
  0%, 44% { opacity: 0; transform: scale(.4); }
  50% { opacity: 1; transform: scale(1.18, .86); }
  62% { transform: scale(.95, 1.05); }
  100% { opacity: 1; transform: none; }
}
.deed-foot { margin: 0.5rem 0 0; font-size: 0.72rem; letter-spacing: .06em; color: #7a5a2a; }

.passport-book { position: relative; z-index: 3; margin-left: -46px; transform: rotate(3.5deg); width: 270px; height: 360px; }
.passport-cover { position: absolute; inset: 0 0 0 24px; border-radius: 10px 18px 18px 10px; background: linear-gradient(135deg, #1f3566, #0e1b3b 60%, #0a142d);
  box-shadow: 0 30px 60px rgba(0,0,0,.55), inset 0 0 0 2px rgba(226, 184, 90, .35), inset 6px 0 12px rgba(0,0,0,.4); text-align: center; padding-top: 1.3rem; }
.passport-cover::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='l'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23l)'/%3E%3C/svg%3E"); }
.passport-cover svg { width: 40px; margin: 0 auto; }
.passport-cover p { margin: 0.3rem 0 0; font-family: var(--serif); color: #e7c378; letter-spacing: .2em; text-transform: uppercase; font-size: 1.05rem; line-height: 1.15; }
.passport-page { position: absolute; left: 0; right: 30px; top: 118px; bottom: 16px; border-radius: 6px; padding: 1rem 1rem 0.7rem; text-align: center; color: #2a2116;
  background: linear-gradient(160deg, #fbf3df, #efe1bf); box-shadow: 0 18px 40px rgba(0,0,0,.45), inset 0 0 0 1px rgba(150, 110, 40, .3);
  background-image: repeating-linear-gradient(0deg, rgba(120, 90, 40, .05) 0 1px, transparent 1px 7px), linear-gradient(160deg, #fbf3df, #efe1bf); }
.pp-kicker { margin: 0; font-size: 0.62rem; letter-spacing: .22em; text-transform: uppercase; color: #8b6a2f; }
.pp-name { margin: 0.2rem 0 0; font-family: var(--serif); font-weight: 650; font-size: 1.25rem; color: #162a57; text-transform: uppercase; overflow-wrap: anywhere; line-height: 1.1; }
.pp-title { margin: 0.1rem 0 0.35rem; font-family: var(--serif); font-size: 0.86rem; color: #8a1a28; text-transform: uppercase; letter-spacing: .04em; }
.pp-stamp { width: 118px; margin: 0 auto; color: #6f5a2c; transform: rotate(-9deg); opacity: .85; mix-blend-mode: multiply; }
.pp-ring-text { font-family: var(--serif); font-size: 15px; letter-spacing: .14em; fill: currentColor; }
.pp-note { margin: 0.25rem 0 0; font-size: 0.6rem; color: #8b6a2f; letter-spacing: .05em; }
.passport-ribbon { position: absolute; right: 64px; bottom: -26px; width: 12px; height: 54px; background: linear-gradient(90deg, #13254a, #2b4a8a); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); }

.email-preview { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.9rem; max-width: 760px; margin: 1.4rem auto 0.9rem; padding: 0.8rem 1rem;
  border-radius: 14px; border: 1px solid rgba(233, 184, 90, .4); background: rgba(8, 14, 32, .74); backdrop-filter: blur(12px); }
.email-preview > svg { width: 30px; height: 30px; color: var(--gold-2); }
.ep-kicker { margin: 0; font-size: 0.66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.ep-line { margin: 0.1rem 0 0; font-family: var(--serif); font-size: 1.08rem; color: #f6f0e2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-line span { color: #b9b2c8; font-family: var(--sans); font-size: .92rem; }
.ep-full summary { white-space: nowrap; cursor: pointer; color: #e4dcef; font-size: 0.9rem; list-style: none; padding: 0.3rem 0.6rem; border-radius: 999px; }
.ep-full summary::before { content: "◉ "; color: var(--gold-2); }
.ep-full[open] { grid-column: 1 / -1; }
.ep-full pre { white-space: pre-wrap; margin: 0.6rem 0 0; padding: 0.9rem 1rem; border-radius: 10px; background: #f6efdc; color: #2a2116; font: 0.92rem/1.55 var(--sans); }

.crown-checkout { max-width: 760px; margin: 0 auto; padding: 0.4rem 1.1rem 0.6rem; border-radius: 16px; }
.crown-checkout .gift-only { display: grid; grid-template-columns: 1fr 1fr; gap: 0 0.9rem; }
.crown-checkout .gift-only .field:nth-child(3) { grid-column: 1 / -1; }
.crown-checkout .field textarea { min-height: 64px; font-family: var(--sans); }
.crown-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.8rem; margin: 1rem 0 0.4rem; }
.crown-go { min-width: 250px; min-height: 56px; border-radius: 12px; font-family: var(--serif); font-size: 1.25rem; font-weight: 560; gap: 0.6rem;
  background: linear-gradient(100deg, #f6c98c 0%, #e9a3a8 50%, #b79cf2 100%); box-shadow: 0 14px 40px rgba(233, 163, 168, .32), inset 0 1px 0 rgba(255,255,255,.6); }
.crown-go svg { width: 22px; height: 22px; color: #6a3b12; }
.crown-go[disabled] { filter: grayscale(.6) brightness(.8); cursor: not-allowed; }
.crown-print { min-width: 250px; min-height: 56px; border-radius: 12px; gap: 0.55rem; font-family: var(--serif); font-size: 1.1rem; border-color: rgba(233, 184, 90, .5); background: rgba(8, 14, 32, .7); }
.crown-print[disabled] { cursor: not-allowed; opacity: 1; }
.crown-print svg { width: 22px; height: 22px; color: var(--gold-2); }
.crown-print .soon { font-family: var(--sans); font-size: 0.66rem; letter-spacing: .12em; text-transform: uppercase; color: #1c1230; background: var(--gold-2); border-radius: 999px; padding: 0.12rem 0.5rem; }
.crown-price { text-align: center; margin: 0.3rem 0 0; color: #cfc6de; font-size: 0.9rem; }
.crown-price strong { color: #fff; }
.crown-foot { display: flex; align-items: center; justify-content: center; gap: 0.45rem; margin: 0.6rem 0 0; color: #e8cf93; font-family: var(--serif); font-style: italic; }
.crown-foot svg { width: 16px; height: 16px; color: var(--gold-2); }

@media (max-width: 960px) {
  .crown-stage { grid-template-columns: 1fr; justify-items: center; }
  .passport-book { margin: -40px 0 0; transform: rotate(2deg) scale(.9); }
}
@media (max-width: 620px) {
  .crown-page { width: calc(100% - 1rem); }
  .crown-chip { padding: 0.45rem 0.85rem; font-size: 0.98rem; min-height: 42px; }
  .crown-name { width: 100%; }
  .crown-name input { width: 100%; }
  .deed-sheet { padding: 8px; transform: none; width: 100%; }
  .deed-inner { padding: 1.2rem 0.8rem 0.8rem; }
  .deed-art { grid-template-columns: 1fr 74px 1fr; min-height: 150px; }
  .deed-crest { width: 130px; }
  .deed-flag { width: 74px; height: 140px; }
  .deed-pole { height: 136px; }
  .deed-cloth { width: 62px; height: 42px; }
  .seal-zone { width: 96px; height: 140px; }
  .wax-seal { width: 84px; height: 84px; }
  .brass-stamp { left: 18px; bottom: 96px; transform: scale(.72); }
  .passport-book { width: 240px; height: 320px; }
  .email-preview { grid-template-columns: auto 1fr; }
  .ep-full { grid-column: 1 / -1; }
  .ep-line { white-space: normal; }
  .crown-checkout .gift-only { grid-template-columns: 1fr; }
  .crown-go, .crown-print { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .deed-cloth, .deed-sheet.is-stamping .brass-stamp, .deed-sheet.is-stamping .wax-seal { animation: none !important; }
}

/* ---------- Living globe (home) ---------- */
body:has(.globe-full) { background: radial-gradient(ellipse at 68% 45%, #0e1d3f 0%, #070d1f 45%, #04060e 80%); }
body:has(.globe-full) .sky { background-color: transparent; opacity: .9; }
.globe-full { background: radial-gradient(circle at 62% 48%, rgba(70, 120, 255, .10), transparent 46%); }
.globe-mount.is-pointing { cursor: pointer; }
.demo-badge { border: 1px dashed rgba(255, 214, 120, .7); color: #ffd77a; border-radius: 999px; padding: 0.2rem 0.6rem; font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; }

.live-toasts { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.live-toast { position: absolute; left: 50%; top: 5.2rem; display: inline-flex; align-items: center; gap: 0.6rem; max-width: min(360px, calc(100vw - 2rem));
  padding: 0.7rem 0.95rem; border-radius: 14px; color: #f6f1e6; text-decoration: none; font-size: 0.95rem; line-height: 1.3; pointer-events: auto;
  background: linear-gradient(180deg, rgba(30, 34, 58, .78), rgba(14, 16, 30, .78)); border: 1px solid rgba(255, 236, 190, .22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .12); backdrop-filter: blur(14px) saturate(1.3);
  transform: translateX(-50%); animation: toast-in .55s cubic-bezier(.2, .8, .2, 1); transition: transform .35s ease; }
.live-toast.is-pinned { left: 0; top: 0; transition: none; }
.live-toast.is-pinned::after { content: ""; position: absolute; left: 50%; bottom: -26px; width: 1px; height: 26px; background: linear-gradient(rgba(255, 214, 120, .8), rgba(255, 214, 120, 0)); }
.live-toast.is-leaving { opacity: 0; transition: opacity .5s ease; }
.toast-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #ffd77a; box-shadow: 0 0 0 4px rgba(255, 215, 122, .18), 0 0 14px #ffc85a; animation: beat 1.6s ease-in-out infinite; }
.toast-when { color: #b9b1c9; }
.live-toast.is-empty { color: #e8e1f2; }
.toast-crown { flex: none; width: 16px; height: 11px; background: linear-gradient(#ffe7a6, #c8902e); clip-path: polygon(0 30%, 25% 60%, 50% 0, 75% 60%, 100% 30%, 90% 100%, 10% 100%); }
@keyframes toast-in { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@keyframes beat { 50% { box-shadow: 0 0 0 7px rgba(255, 215, 122, 0), 0 0 18px #ffc85a; } }

.find-home { position: relative; max-width: 560px; padding: 0.4rem; background: rgba(10, 12, 24, .62); border-color: rgba(255, 236, 190, .24); }
.find-home input { font-size: 1.02rem; padding: 0.85rem 1.1rem; }
.find-home .btn { min-height: 50px; padding: 0.6rem 1.4rem; font-size: 1rem; }
.find-home input::-webkit-search-cancel-button { filter: invert(1) opacity(.6); }
.find-list { position: absolute; left: 0; right: 0; bottom: calc(100% + 0.45rem); margin: 0; padding: 0.35rem; list-style: none; z-index: 8; max-height: 320px; overflow: auto;
  border-radius: 18px; background: rgba(12, 14, 28, .94); border: 1px solid rgba(255, 236, 190, .22); box-shadow: 0 24px 60px rgba(0,0,0,.5); backdrop-filter: blur(16px); }
.find-item { display: grid; grid-template-columns: 1fr auto; gap: 0 0.6rem; padding: 0.55rem 0.75rem; border-radius: 12px; cursor: pointer; }
.find-item[aria-selected="true"], .find-item:hover { background: rgba(255, 214, 120, .12); }
.find-name { font-family: var(--serif); font-size: 1.05rem; }
.find-meta { grid-column: 1; color: #b9b1c9; font-size: 0.8rem; }
.find-tag { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 0.68rem; letter-spacing: .1em; text-transform: uppercase; color: #ffd77a; border: 1px solid rgba(255, 215, 122, .45); border-radius: 999px; padding: 0.15rem 0.5rem; }
.find-tag.is-owned { color: #d7c6ff; border-color: rgba(200, 170, 255, .45); }

.place-card { position: absolute; z-index: 6; right: 2.2vw; top: 50%; width: min(380px, calc(100vw - 2rem)); transform: translateY(-50%);
  padding: 1.3rem 1.4rem 1.1rem; border-radius: 22px; color: #f6f1e6;
  background: linear-gradient(180deg, rgba(40, 46, 78, .62), rgba(16, 18, 34, .70)); border: 1px solid rgba(255, 236, 190, .26);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .16); backdrop-filter: blur(22px) saturate(1.35); }
.place-card.is-in { animation: card-in .6s cubic-bezier(.2, .8, .2, 1); }
@keyframes card-in { from { opacity: 0; transform: translateY(-46%) scale(.97); } to { opacity: 1; transform: translateY(-50%); } }
.pc-close { position: absolute; top: 0.6rem; right: 0.7rem; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #ddd5ea; font-size: 1.1rem; line-height: 1; }
.pc-crown { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin-bottom: 0.65rem; }
.pc-rule { width: 70px; height: 1px; background: linear-gradient(90deg, transparent, #e9b85a); }
.pc-rule:last-child { background: linear-gradient(90deg, #e9b85a, transparent); }
.pc-crown-icon { width: 30px; height: 20px; background: linear-gradient(#ffe7a6, #c8902e); clip-path: polygon(0 30%, 25% 60%, 50% 0, 75% 60%, 100% 30%, 90% 100%, 10% 100%); filter: drop-shadow(0 0 8px rgba(255, 200, 90, .6)); }
.pc-title { margin: 0; text-align: center; font-family: var(--serif); font-weight: 520; font-size: 1.75rem; line-height: 1.08; letter-spacing: -0.02em; }
.pc-sub { margin: 0.35rem 0 0.9rem; text-align: center; color: #d9b8ff; font-size: 1.08rem; }
.pc-price { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.pc-price span { color: #d5cde2; }
.pc-price strong { font-family: var(--serif); font-weight: 520; font-size: 2.3rem; line-height: 1; color: #ffe2a0; letter-spacing: -0.02em; }
.pc-fill { margin: 0.85rem 0 0.2rem; }
.pc-fill-head { display: flex; justify-content: space-between; gap: 0.6rem; margin: 0 0 0.45rem; font-size: 0.86rem; color: #d5cde2; }
.pc-fill-head strong { color: #ffd77a; font-weight: 500; white-space: nowrap; }
.pc-bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.pc-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f6c98c, #e9a3a8 55%, #b79cf2); box-shadow: 0 0 12px rgba(246, 201, 140, .6); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.pc-fill-note { margin: 0.4rem 0 0; color: #a9a1b8; font-size: 0.78rem; }
.pc-actions { display: grid; gap: 0.6rem; margin-top: 1rem; }
.pc-claim, .pc-gift { display: flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 54px; border-radius: 14px; text-decoration: none; font-family: var(--serif); font-size: 1.2rem; }
.pc-claim { color: #1c1230; background: linear-gradient(100deg, #f6c98c 0%, #e9a3a8 50%, #b79cf2 100%); box-shadow: 0 14px 34px rgba(233, 163, 168, .3), inset 0 1px 0 rgba(255,255,255,.6); }
.pc-claim:hover, .pc-gift:hover { filter: brightness(1.06); }
.pc-claim-crown { width: 20px; height: 14px; background: linear-gradient(#a8741f, #6a3b12); clip-path: polygon(0 30%, 25% 60%, 50% 0, 75% 60%, 100% 30%, 90% 100%, 10% 100%); }
.pc-gift { color: #f6f1e6; font-size: 1.05rem; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .22); }
.pc-gift-icon { width: 18px; height: 18px; border: 1.6px solid #e9b85a; border-radius: 3px; position: relative; }
.pc-gift-icon::before { content: ""; position: absolute; left: 50%; top: -1px; bottom: -1px; width: 1.6px; background: #e9b85a; transform: translateX(-50%); }
.pc-gift-icon::after { content: ""; position: absolute; left: -1px; right: -1px; top: 5px; height: 1.6px; background: #e9b85a; }
.pc-more { display: block; margin: 0.75rem 0 0; text-align: center; color: #d5cde2; font-size: 0.86rem; }
.pc-fine { margin: 0.4rem 0 0; text-align: center; color: #948ca6; font-size: 0.74rem; }
.pc-owned { margin: 0.6rem 0; color: #d5cde2; text-align: center; }
.pc-flag { display: flex; align-items: center; justify-content: center; gap: 0.7rem; margin: 0.4rem 0; color: #ffd77a; font-size: .9rem; }
.pc-flag canvas { width: 60px; height: 40px; border-radius: 3px; box-shadow: 0 4px 12px rgba(0,0,0,.4); }

.fly-status { position: absolute; z-index: 6; left: 50%; bottom: 4.6rem; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 1rem 0.55rem 0.6rem; border-radius: 999px; color: #f0eaf7; font-size: 0.95rem; background: rgba(12, 14, 28, .72); border: 1px solid rgba(255, 236, 190, .22); backdrop-filter: blur(14px); }
.fly-compass { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255, 214, 120, .6); position: relative; }
.fly-compass::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3px; height: 14px; margin: -7px 0 0 -1.5px; border-radius: 2px; background: linear-gradient(#ffd77a 50%, #ddd 50%); animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.zoom-ctl { position: absolute; z-index: 5; right: 1.4rem; top: 50%; display: grid; gap: 1px; transform: translateY(-50%); border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 236, 190, .2); background: rgba(255, 236, 190, .2); }
.zoom-ctl button { width: 40px; height: 40px; border: 0; background: rgba(12, 14, 28, .72); color: #f0eaf7; font-size: 1.25rem; backdrop-filter: blur(12px); }
.zoom-ctl button:hover { background: rgba(40, 44, 70, .8); }
body:has(.place-card:not([hidden])) .zoom-ctl { display: none; }

@media (max-width: 860px) {
  .live-toast { top: 4.4rem; font-size: 0.86rem; }
  .live-toast.is-pinned { left: 50%; top: 4.4rem; transform: translateX(-50%) !important; }
  .live-toast.is-pinned::after { display: none; }
  .place-card { left: 0.6rem; right: 0.6rem; top: auto; bottom: 0.6rem; width: auto; transform: none; padding: 1rem 1.1rem 0.9rem; max-height: 78vh; overflow: auto; }
  .place-card.is-in { animation: sheet-in .5s cubic-bezier(.2, .8, .2, 1); }
  @keyframes sheet-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
  .pc-title { font-size: 1.45rem; }
  .pc-price strong { font-size: 1.9rem; }
  body:has(.place-card:not([hidden])) .hero-copy, body:has(.place-card:not([hidden])) .ticker { visibility: hidden; }
  .zoom-ctl { display: none; }
  .fly-status { bottom: 45vh; }
  .find-home .btn { padding: 0.6rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .live-toast, .place-card.is-in, .toast-dot, .fly-compass::after { animation: none !important; }
}
.ticker-empty { margin: 0; }

/* Place view on wide screens: the headline steps aside so the chosen place has room; the search and legal line stay. */
.hero-copy h1 { transition: opacity .45s ease, transform .45s ease; }
@media (min-width: 861px) {
  body:has(.place-card:not([hidden])) .hero-copy h1 { opacity: 0; transform: translateY(-12px); pointer-events: none; }
  body:has(.place-card:not([hidden])) .gift-card { display: none; }
}
body:has(.place-card:not([hidden])) .live-toasts { display: none; }
.claim.claim-inline { position: relative; top: auto; right: auto; width: auto; }
.crown-cta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.6rem 0 0.3rem; }
.crown-cta-note { font-size: 0.85rem; opacity: .75; margin: 0 0 1rem; }
@media (max-width: 860px) {
  body:has(.globe-full) .gift-card { display: none; }
}
@media (max-width: 620px) {
  .top .pill { display: none; }
}
/* Land page: keep the globe one screen tall and in view while the claim column scrolls. */
@media (min-width: 861px) {
  .land-layout { align-items: start; }
  .land-globe { position: sticky; top: 1rem; height: calc(100vh - 2rem); max-height: 860px; }
}
