/* ————— Sidera ————— */
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-latin-500-italic.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('fonts/instrument-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; src: url('fonts/instrument-sans-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; src: url('fonts/instrument-sans-latin-ext-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; src: url('fonts/instrument-sans-latin-ext-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg0: #020309;
  --bg1: #070b1a;
  --ink: rgba(244, 247, 255, .94);
  --dim: rgba(198, 212, 248, .55);
  --faint: rgba(198, 212, 248, .32);
  --gold: #f3d9a4;
  --gold-deep: #d9b06a;
  --blue: #8fa8ff;
  --hair: rgba(255, 255, 255, .1);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .28, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 800px at 78% 12%, rgba(64, 84, 160, .16), transparent 60%),
    radial-gradient(900px 700px at 12% 85%, rgba(120, 90, 160, .1), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1) 55%, #04060f);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
#cosmos { position: fixed; inset: 0; width: 100%; height: 100%; opacity: .8; }

.stage {
  position: relative;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 6vw, 110px);
  padding: 24px;
}

/* ————— intro panel ————— */
#intro { width: min(440px, 36vw); display: none; flex-direction: column; }
@media (min-width: 1040px) { #intro { display: flex; } }

.in-badge {
  display: inline-flex; align-items: center; gap: 9px;
  align-self: flex-start;
  font-size: 11px; letter-spacing: .22em; font-weight: 500;
  color: var(--dim);
  border: 1px solid var(--hair);
  padding: 8px 15px; border-radius: 100px;
  background: rgba(255, 255, 255, .03);
  margin-bottom: 34px;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #7ce7b1; box-shadow: 0 0 0 0 rgba(124, 231, 177, .5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(124, 231, 177, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 231, 177, 0); } }

.in-mark { margin-bottom: 18px; filter: drop-shadow(0 0 18px rgba(243, 217, 164, .35)); }
.in-title {
  font-family: var(--serif); font-weight: 600; font-size: 54px; line-height: 1.05;
  letter-spacing: .04em;
  background: linear-gradient(100deg, #fff 20%, var(--gold) 55%, var(--blue) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 10px;
}
.in-tag { font-size: 17px; font-weight: 300; letter-spacing: .04em; color: var(--ink); margin-bottom: 18px; }
.in-lead { font-size: 14.5px; font-weight: 300; line-height: 1.75; color: var(--dim); margin-bottom: 34px; }
.in-lead em { color: var(--gold); font-style: italic; font-family: var(--serif); font-size: 16px; }

.in-feats { list-style: none; display: flex; flex-direction: column; gap: 19px; margin-bottom: 38px; }
.in-feats li { display: flex; gap: 15px; align-items: flex-start; }
.in-feats svg { width: 19px; height: 19px; flex: none; margin-top: 2px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.in-feats b { display: block; font-size: 14px; font-weight: 500; letter-spacing: .02em; margin-bottom: 3px; }
.in-feats span { font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--dim); }

.in-cta { font-size: 14px; font-weight: 500; letter-spacing: .06em; color: var(--gold); margin-bottom: 12px; }
.in-note { font-size: 11.5px; font-weight: 300; color: var(--faint); }

/* ————— phone ————— */
.phone {
  position: relative;
  width: 393px; height: 830px;
  max-height: calc(100dvh - 44px);
  border-radius: 58px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2f42, #10131f 30%, #0a0c15 70%, #232838);
  box-shadow:
    0 50px 120px rgba(0, 0, 0, .7),
    0 12px 40px rgba(0, 0, 0, .5),
    inset 0 1px 1px rgba(255, 255, 255, .18);
  flex: none;
}
.phone-island {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  width: 112px; height: 30px; border-radius: 100px; background: #000;
  z-index: 40; box-shadow: inset 0 0 4px rgba(255,255,255,.06);
}
.screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 48px; overflow: hidden;
  background: radial-gradient(140% 90% at 50% -10%, #101a3a 0%, #060a1c 45%, #02040c 100%);
}
#sky { position: absolute; inset: 0; width: 100%; height: 100%; }
#ambient { position: absolute; inset: 0; pointer-events: none; }
.amb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; }
.amb.a1 { opacity: .34; animation: ambDrift 60s ease-in-out infinite alternate; }
.amb.a2 { opacity: .26; animation: ambDrift 80s ease-in-out infinite alternate-reverse; }
@keyframes ambDrift { from { transform: scale(1.06) translateY(-1.5%); } to { transform: scale(1.12) translateY(1.5%); } }

/* screens */
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 74px 26px 110px; overflow: hidden; }
.scr[hidden] { display: none; }

/* onboarding */
#scr-onboard { align-items: center; justify-content: center; text-align: center; }
.ob-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .5; mix-blend-mode: screen; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 40%, transparent 92%);
}
.ob-inner { position: relative; z-index: 1; }
.ob-inner { display: flex; flex-direction: column; align-items: center; animation: obIn 1.4s var(--ease) both; }
@keyframes obIn { from { opacity: 0; transform: translateY(18px); } }
.ob-mark { filter: drop-shadow(0 0 22px rgba(243, 217, 164, .45)); margin-bottom: 26px; animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { filter: drop-shadow(0 0 34px rgba(243, 217, 164, .7)); transform: scale(1.04); } }
.ob-word { font-size: 13px; font-weight: 500; letter-spacing: .58em; text-indent: .58em; color: var(--ink); margin-bottom: 44px; }
.ob-ety { display: flex; flex-direction: column; align-items: center; margin-bottom: 30px; }
.ob-lat { font-family: var(--serif); font-style: italic; font-size: 33px; font-weight: 500; color: var(--gold); text-shadow: 0 0 30px rgba(243, 217, 164, .35); }
.ob-sep { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--hair), transparent); margin: 20px 0; }
.ob-def { font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--dim); }
.ob-def em { color: var(--ink); font-family: var(--serif); font-style: italic; font-size: 17px; }
.ob-line { font-family: var(--serif); font-style: italic; font-size: 16.5px; line-height: 1.55; color: var(--faint); margin-bottom: 46px; }

/* buttons */
.btn-gold {
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .1em;
  color: #241a08;
  background: linear-gradient(160deg, #ffedc4, var(--gold) 45%, var(--gold-deep));
  border: none; border-radius: 100px; padding: 15px 34px;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(243, 217, 164, .3), inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .2s;
}
.btn-gold:active { transform: scale(.96); }
.btn-gold:disabled { opacity: .35; cursor: default; }
.btn-arr { display: inline-block; transition: transform .3s var(--ease); }
.btn-gold:not(:disabled):hover .btn-arr { transform: translate(2px, -2px); }
.btn-ghost {
  font-family: var(--sans); font-size: 13.5px; font-weight: 400; letter-spacing: .08em;
  color: var(--dim); background: rgba(255, 255, 255, .05);
  border: 1px solid var(--hair); border-radius: 100px; padding: 13px 28px;
  cursor: pointer; transition: all .25s var(--ease);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { color: var(--ink); border-color: rgba(255, 255, 255, .22); }
.btn-ghost:active { transform: scale(.97); }

/* glass */
.glass {
  background: linear-gradient(150deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .028));
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .13);
}

/* home */
.h-head { text-align: center; animation: obIn 1s var(--ease) both; }
.h-date { font-size: 11px; font-weight: 500; letter-spacing: .3em; text-indent: .3em; color: var(--faint); margin-bottom: 10px; text-transform: uppercase; }
.h-greet { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--dim); }
.h-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }

.wish-orb {
  position: relative; width: 168px; height: 168px; border: none; background: none; cursor: pointer;
  animation: orbFloat 7s ease-in-out infinite;
}
#orb-video {
  position: absolute; left: 50%; top: 50%; width: 300%; height: 300%;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle, #000 12%, transparent 28%);
  mask-image: radial-gradient(circle, #000 12%, transparent 28%);
}
.wish-orb.video-on .orb-core { opacity: 0; }
#orb-video.off { display: none; }
@keyframes orbFloat { 50% { transform: translateY(-9px); } }
.orb-core {
  position: absolute; inset: 22px; border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, #fffdf4 0%, #ffe9b8 22%, rgba(243, 205, 130, .85) 45%, rgba(210, 160, 90, .25) 68%, transparent 75%);
  box-shadow:
    0 0 45px rgba(250, 220, 160, .55),
    0 0 130px rgba(243, 217, 164, .28),
    0 0 260px rgba(243, 217, 164, .14);
  animation: coreGlow 4.5s ease-in-out infinite;
  transition: transform .3s var(--ease);
}
@keyframes coreGlow { 50% { box-shadow: 0 0 60px rgba(250, 220, 160, .75), 0 0 160px rgba(243, 217, 164, .4), 0 0 300px rgba(243, 217, 164, .2); } }
.wish-orb:active .orb-core { transform: scale(.93); }
.orb-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(243, 217, 164, .28);
  animation: ringOut 4.5s var(--ease) infinite;
}
.orb-ring.r2 { animation-delay: 2.25s; }
@keyframes ringOut { from { transform: scale(.62); opacity: 0; } 30% { opacity: .8; } to { transform: scale(1.18); opacity: 0; } }
.orb-label { font-family: var(--serif); font-weight: 600; font-size: 25px; letter-spacing: .02em; margin-top: 30px; text-shadow: 0 0 30px rgba(243, 217, 164, .25); }
.orb-sub { font-size: 13px; font-weight: 300; letter-spacing: .06em; color: var(--faint); margin-top: 8px; }

.h-stats { display: flex; align-items: center; justify-content: space-around; padding: 17px 10px; animation: obIn .8s var(--ease) both; }
.hs { text-align: center; min-width: 74px; }
.hs b { display: block; font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--gold); }
.hs span { font-size: 10.5px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.hs-div { width: 1px; height: 30px; background: var(--hair); }

/* page heads */
.p-head { margin-bottom: 22px; animation: obIn .7s var(--ease) both; }
.p-head h2 { font-family: var(--serif); font-weight: 600; font-size: 29px; letter-spacing: .01em; }
.p-head p { font-size: 13px; font-weight: 300; color: var(--faint); margin-top: 5px; letter-spacing: .03em; }

/* wish list */
.wish-list { display: flex; flex-direction: column; gap: 12px; overflow-y: auto; margin: 0 -6px; padding: 0 6px 12px; scrollbar-width: none; }
.wish-list::-webkit-scrollbar { display: none; }
.wish-card {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 17px; border-radius: 22px; cursor: pointer;
  background: linear-gradient(150deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--hair);
  backdrop-filter: blur(18px);
  transition: transform .25s var(--ease), border-color .25s;
  animation: obIn .5s var(--ease) both;
}
.wish-card:active { transform: scale(.98); }
.wc-star { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; }
.wc-star::before { content: ''; position: absolute; inset: 11px; border-radius: 50%; background: var(--sc, #fff); box-shadow: 0 0 12px var(--sc, #fff), 0 0 30px color-mix(in srgb, var(--sc, #fff) 45%, transparent); }
.wc-star::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .09); }
.wc-main { flex: 1; min-width: 0; }
.wc-text { font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.wc-meta { font-size: 11px; font-weight: 400; letter-spacing: .08em; color: var(--faint); margin-top: 4px; }
.wc-meta b { color: var(--dim); font-weight: 500; }
.wc-status { font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 100px; flex: none; }
.wc-status.traveling { color: #a8c0ff; background: rgba(140, 165, 255, .12); }
.wc-status.granted { color: #f7dfa8; background: rgba(243, 217, 164, .13); }
.wc-status.released { color: var(--faint); background: rgba(255, 255, 255, .05); }

/* empty states */
.empty { flex: 1; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding-bottom: 40px; }
.empty.show { display: flex; }
.empty-star { font-size: 30px; color: var(--gold); opacity: .5; animation: breathe 4s ease-in-out infinite; }
.empty p { font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.6; color: var(--faint); }

/* lucky stars */
#const-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.star-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; overflow-y: auto; padding-bottom: 12px; scrollbar-width: none; }
.star-grid::-webkit-scrollbar { display: none; }
.lucky {
  position: relative; border-radius: 24px; padding: 20px 16px 17px; text-align: center; cursor: pointer;
  background:
    linear-gradient(180deg, transparent 40%, rgba(3, 5, 14, .52) 78%),
    var(--glow, none) center 26% / 170% no-repeat,
    linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  background-blend-mode: normal, screen, normal;
  border: 1px solid var(--hair); backdrop-filter: blur(16px);
  transition: transform .25s var(--ease);
  animation: obIn .5s var(--ease) both;
}
.lucky:active { transform: scale(.97); }
.lk-orb { position: relative; width: 52px; height: 52px; margin: 0 auto 13px; }
.lk-orb::before { content: ''; position: absolute; inset: 14px; border-radius: 50%; background: var(--sc, #fff); box-shadow: 0 0 16px var(--sc, #fff), 0 0 44px color-mix(in srgb, var(--sc, #fff) 50%, transparent); animation: breathe 4s ease-in-out infinite; }
.lk-name { font-family: var(--serif); font-weight: 600; font-size: 17px; text-shadow: 0 1px 10px rgba(2, 4, 12, .8); }
.lk-const { font-size: 10.5px; font-weight: 400; letter-spacing: .1em; color: var(--faint); margin-top: 3px; }

/* sheets */
.sheet-wrap { position: absolute; inset: 0; z-index: 60; display: flex; align-items: flex-end; }
.sheet-wrap[hidden] { display: none; }
.sheet-veil { position: absolute; inset: 0; background: rgba(2, 4, 12, .55); backdrop-filter: blur(6px); animation: fadeIn .3s both; }
@keyframes fadeIn { from { opacity: 0; } }
.sheet {
  position: relative; width: 100%; margin: 10px; padding: 20px 22px 26px;
  border-radius: 34px;
  animation: sheetUp .45s var(--ease) both;
}
@keyframes sheetUp { from { transform: translateY(60%); opacity: 0; } }
.sheet-grip { width: 40px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .18); margin: 0 auto 18px; }
.c-title { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--dim); text-align: center; margin-bottom: 16px; }
#wish-input {
  width: 100%; resize: none; border: none; outline: none; background: none;
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 21px; line-height: 1.45;
  color: var(--ink); caret-color: var(--gold); text-align: center;
  padding: 6px 2px 14px;
}
#wish-input::placeholder { color: rgba(198, 212, 248, .28); }
.c-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.c-count { font-size: 11px; letter-spacing: .1em; color: var(--faint); }

/* voyage */
#voyage { position: absolute; inset: 0; z-index: 80; background: radial-gradient(140% 90% at 50% -10%, #0d1530 0%, #05091a 45%, #02040c 100%); transition: opacity .8s ease; }
#voyage.fade { opacity: 0; pointer-events: none; }
#voyage[hidden] { display: none; }
#voy-a, #voy-b {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .5s ease;
}
#voy-a.live, #voy-b.live { opacity: 1; }
#voyage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#voyage-word {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  text-align: center; font-family: var(--serif); font-style: italic; font-size: 24px;
  color: var(--ink); padding: 0 40px; line-height: 1.4;
  text-shadow: 0 0 24px rgba(243, 217, 164, .4);
  transition: opacity .6s, transform 1.2s var(--ease), filter 1.2s;
}

/* reveal */
#scr-reveal { padding: 0; z-index: 70; background: radial-gradient(140% 90% at 50% -10%, #0c142e 0%, #060a1c 45%, #02040c 100%); }
.rv-scroll { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: none; }
.rv-scroll::-webkit-scrollbar { display: none; }
.rv-imgwrap { position: relative; height: 340px; }
#rv-img { width: 100%; height: 100%; object-fit: cover; animation: imgIn 2s var(--ease) both; }
@keyframes imgIn { from { opacity: 0; transform: scale(1.12); } }
/* videodaki parlamadan doğuş: yıldız aşağıdan-küçükten yükselip yerine oturur */
#scr-reveal.enter #rv-img { animation: starRise 1.8s cubic-bezier(.2, .65, .22, 1) both; }
@keyframes starRise {
  from { transform: translateY(118px) scale(.42); opacity: 0; }
  22% { opacity: 1; }
  to { transform: none; opacity: 1; }
}
#rv-img.pulsar { filter: hue-rotate(115deg) saturate(.8); }
.rv-imgfade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 7, 18, .55) 0%, transparent 26%, transparent 55%, #05081527 75%, #060a1c 98%); }
.rv-body { position: relative; padding: 0 28px 40px; margin-top: -34px; text-align: center; }
.rv-kicker { font-size: 10.5px; font-weight: 500; letter-spacing: .34em; text-indent: .34em; color: var(--gold); margin-bottom: 12px; }
.rv-name { font-family: var(--serif); font-weight: 600; font-size: 38px; line-height: 1.05; text-shadow: 0 0 40px rgba(243, 217, 164, .3); margin-bottom: 12px; }
.rv-meaning { font-family: var(--serif); font-style: italic; font-size: 16.5px; line-height: 1.5; color: var(--dim); margin-bottom: 20px; }
.rv-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
.chip {
  font-size: 11px; font-weight: 400; letter-spacing: .07em; color: var(--dim);
  border: 1px solid var(--hair); border-radius: 100px; padding: 7px 13px;
  background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px);
}
.chip b { color: var(--ink); font-weight: 500; }
.chip .sc-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; background: var(--sc); box-shadow: 0 0 8px var(--sc); vertical-align: 1px; }
.rv-planets { font-size: 13px; font-weight: 300; line-height: 1.65; color: var(--dim); margin-bottom: 20px; }
.rv-planets b { color: var(--gold); font-weight: 500; }

/* ışık yolculuğu çizgisi */
.rv-journey {
  position: relative; margin: 4px 2px 28px; padding: 18px 18px 20px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(243, 217, 164, .05), rgba(255, 255, 255, .015));
  border: 1px solid rgba(243, 217, 164, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 16px 40px rgba(0, 0, 0, .35);
  backdrop-filter: blur(18px);
}
.rj-cap { font-size: 9.5px; font-weight: 500; letter-spacing: .3em; text-indent: .3em; color: rgba(243, 217, 164, .6); margin-bottom: 17px; }
.rj-line { display: flex; align-items: flex-start; gap: 10px; }
.rj-node { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 64px; }
.rj-node b { font-family: var(--serif); font-weight: 500; font-size: 14.5px; color: var(--ink); line-height: 1.1; }
.rj-node small { font-size: 10px; font-weight: 400; letter-spacing: .1em; color: var(--faint); }
.rj-node.end small { color: var(--gold); font-weight: 500; letter-spacing: .08em; }
.rj-dot { width: 9px; height: 9px; border-radius: 50%; margin-bottom: 4px; }
.rj-dot.earth { background: #9fc2ff; box-shadow: 0 0 10px rgba(159, 194, 255, .8); }
.rj-dot.star { background: var(--sc, var(--gold)); box-shadow: 0 0 12px var(--sc, var(--gold)), 0 0 30px color-mix(in srgb, var(--sc, var(--gold)) 55%, transparent); }
.rj-track {
  position: relative; flex: 1; height: 9px; margin-top: 0;
  background-image: linear-gradient(90deg, rgba(243, 217, 164, .5) 55%, transparent 0);
  background-size: 9px 1px; background-repeat: repeat-x; background-position: 0 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.rj-spark {
  position: absolute; top: 4.5px; left: 0; width: 5px; height: 5px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #ffeec9; box-shadow: 0 0 8px #ffe9b8, 0 0 20px rgba(243, 217, 164, .6);
  animation: sparkTravel 3.6s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes sparkTravel {
  0% { left: 4%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 96%; opacity: 0; }
}
.rj-dist {
  display: block; text-align: center; margin-top: 9px;
  font-style: normal; font-size: 10.5px; font-weight: 400; letter-spacing: .14em; color: var(--dim);
}
.rj-dist b { color: var(--gold); font-weight: 500; }

.rise { animation: rise .9s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.d1 { animation-delay: .9s; } .d2 { animation-delay: 1.05s; } .d3 { animation-delay: 1.25s; }
.d4 { animation-delay: 1.45s; } .d5 { animation-delay: 1.65s; } .d6 { animation-delay: 1.9s; }

/* detail sheet */
#detail-sheet { text-align: center; }
.dt-orb { position: relative; width: 64px; height: 64px; margin: 4px auto 12px; }
.dt-orb::before { content: ''; position: absolute; inset: 16px; border-radius: 50%; background: var(--sc, #fff); box-shadow: 0 0 18px var(--sc, #fff), 0 0 50px color-mix(in srgb, var(--sc, #fff) 50%, transparent); }
.dt-wish { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.4; margin-bottom: 10px; }
.dt-star { font-size: 12px; font-weight: 400; letter-spacing: .1em; color: var(--dim); margin-bottom: 4px; }
.dt-star b { color: var(--gold); font-weight: 500; }
.dt-sub { font-size: 11.5px; font-weight: 300; color: var(--faint); margin-bottom: 20px; }
.dt-row { display: flex; gap: 10px; }
.dt-row .btn-gold, .dt-row .btn-ghost { flex: 1; padding: 14px 10px; font-size: 13px; }
.dt-note { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--faint); line-height: 1.55; margin-bottom: 6px; }

/* tabbar */
#tabbar {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 50; display: flex; gap: 6px; padding: 8px; border-radius: 100px;
}
#tabbar[hidden] { display: none; }
#tabbar button {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  width: 74px; padding: 9px 0 7px; border: none; border-radius: 100px;
  background: none; cursor: pointer; color: var(--faint);
  transition: all .3s var(--ease);
}
#tabbar button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
#tabbar button .dotfill { fill: currentColor; stroke: none; }
#tabbar button span { font-size: 10px; font-weight: 500; letter-spacing: .08em; }
#tabbar button.on { color: var(--gold); background: rgba(243, 217, 164, .1); box-shadow: inset 0 0 0 1px rgba(243, 217, 164, .16); }

/* toast */
#toast {
  position: absolute; left: 50%; bottom: 104px; transform: translateX(-50%);
  z-index: 90; white-space: nowrap;
  font-size: 13px; font-weight: 400; letter-spacing: .04em; color: var(--ink);
  background: rgba(20, 26, 48, .85); backdrop-filter: blur(16px);
  border: 1px solid var(--hair); border-radius: 100px; padding: 12px 22px;
  animation: toastIn .4s var(--ease) both;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .5);
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } }
#toast[hidden] { display: none; }

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; transition-duration: .01s !important; }
}
