/* ΦΛΕΡΤ — UI πάνω από τη σκηνή 3D. Νυχτερινό σαλόνι: μωβ-μαύρο, ροζ νέον, χρυσό, τιρκουάζ για την «άνεση». */
:root {
  --bg: #0b0710;
  --panel: rgba(20, 11, 26, 0.74);
  --panel-solid: #160c1d;
  --line: rgba(255, 255, 255, 0.12);
  --pink: #ff4fa3;
  --pink2: #ff2d7a;
  --gold: #ffcf6b;
  --teal: #3fe0d0;
  --text: #f7eef9;
  --muted: #bca9c6;
  --good: #52e394;
  --bad: #ff5f6f;
  --meh: #ffcf6b;
  --display: 'Comfortaa', 'Commissioner', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: 'Commissioner', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--body); overflow: hidden;
  touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-text-size-adjust: 100%; }
#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; display: block; outline: none; }
#ui { position: fixed; inset: 0; pointer-events: none; z-index: 2; }
#ui > * { pointer-events: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
.hidden { display: none !important; }

/* ---------------------------------------------------------------- κουμπιά */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: 0 26px;
  border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .02em;
  background: linear-gradient(135deg, var(--pink), var(--pink2)); color: #fff;
  box-shadow: 0 6px 24px rgba(255, 45, 122, .38), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .12s ease, box-shadow .2s ease, filter .2s; }
.btn:hover { filter: brightness(1.08); box-shadow: 0 8px 30px rgba(255, 45, 122, .5); }
.btn:active { transform: scale(.97); }
.btn.ghost { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.btn.gold { background: linear-gradient(135deg, #ffd97f, #e9a93a); color: #2a1606; box-shadow: 0 6px 24px rgba(233, 169, 58, .35); }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------------------------------------------------------------- φόρτωμα */
.veil { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; background: radial-gradient(ellipse at 50% 40%, #2a1030 0%, #0b0710 70%); transition: opacity .6s ease; }
.veil.out { opacity: 0; pointer-events: none; }
.veil .bar { width: min(320px, 70vw); height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.veil .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--pink), var(--gold)); transition: width .25s ease; }
.veil .what { font-size: 13px; color: var(--muted); min-height: 1.2em; text-align: center; padding: 0 20px; }

/* ---------------------------------------------------------------- λογότυπο */
.logo { font-family: var(--display); font-weight: 700; font-size: clamp(64px, 16vw, 150px); line-height: .95; letter-spacing: .04em;
  color: #ffe3f1; text-shadow: 0 0 6px #fff, 0 0 18px var(--pink), 0 0 42px var(--pink), 0 0 90px var(--pink2);
  animation: neon 6s infinite; position: relative; }
.logo .arrow { position: absolute; left: -6%; right: -6%; top: 52%; height: 3px; background: linear-gradient(90deg, transparent, var(--gold) 12%, var(--gold) 88%, transparent);
  box-shadow: 0 0 12px var(--gold); transform: rotate(-8deg); border-radius: 3px; opacity: .9; }
.logo .arrow::after { content: ''; position: absolute; right: 6%; top: -6px; border: 7px solid transparent; border-left: 12px solid var(--gold); filter: drop-shadow(0 0 6px var(--gold)); }
@keyframes neon { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; } 20%, 24%, 55% { opacity: .55; } }
.tagline { font-family: var(--display); font-size: clamp(14px, 3.6vw, 19px); color: var(--gold); letter-spacing: .06em; text-align: center; text-shadow: 0 0 12px rgba(255, 207, 107, .5); }
.badge18 { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 3px 8px; border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .35); color: var(--muted); }

/* ---------------------------------------------------------------- οθόνες (μενού, ρυθμίσεις, μυστικά, τέλος) */
.screen { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(24px + var(--sat)) calc(18px + var(--sar)) calc(24px + var(--sab)) calc(18px + var(--sal));
  background: linear-gradient(180deg, rgba(11, 7, 16, .25) 0%, rgba(11, 7, 16, .55) 55%, rgba(11, 7, 16, .9) 100%);
  overflow-y: auto; animation: fadeIn .45s ease; }
.screen.dim { background: rgba(8, 5, 12, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.screen .col { display: flex; flex-direction: column; align-items: center; gap: 14px; width: min(440px, 100%); }
.screen .col.wide { width: min(760px, 100%); align-items: stretch; }
.screen h2 { font-family: var(--display); font-size: clamp(24px, 6vw, 34px); margin: 0 0 6px; text-align: center; color: #ffe6f3;
  text-shadow: 0 0 18px rgba(255, 79, 163, .55); }
.screen p { margin: 0; color: var(--muted); line-height: 1.5; text-align: center; }
.menu-btns { display: flex; flex-direction: column; gap: 12px; width: min(320px, 100%); margin-top: 18px; }
.menu-btns .btn { width: 100%; }
.menu-foot { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.6; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.field { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.field input[type=text] { width: 100%; height: 52px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06);
  color: var(--text); font: 600 19px var(--body); padding: 0 16px; outline: none; -webkit-user-select: text; user-select: text; }
.field input[type=text]:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 79, 163, .25); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.row span { font-size: 15px; }
.row input[type=range] { width: 52%; accent-color: var(--pink); }
.seg { display: inline-flex; border-radius: 999px; background: rgba(255, 255, 255, .06); padding: 3px; }
.seg button { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); }
.seg button.on { background: var(--pink); color: #fff; }

/* ΣΗΜΕΙΑ: πλέγμα με κάρτες κεφαλαίων */
.spots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; width: 100%; }
.spot { text-align: left; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.spot b { display: block; font-family: var(--display); font-size: 15px; margin-bottom: 4px; }
.spot small { color: var(--muted); font-size: 12px; }
.spot .stars { margin-top: 8px; color: var(--gold); font-size: 13px; letter-spacing: 2px; }
.spot:hover { background: rgba(255, 79, 163, .12); }

/* ---------------------------------------------------------------- HUD */
.hud { position: fixed; left: 0; right: 0; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: calc(10px + var(--sat)) calc(14px + var(--sar)) 10px calc(14px + var(--sal));
  background: linear-gradient(180deg, rgba(8, 4, 12, .75), rgba(8, 4, 12, 0)); pointer-events: none; }
.hud > * { pointer-events: auto; }
.hud .chap { display: flex; flex-direction: column; min-width: 0; }
.hud .chap b { font-family: var(--display); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud .chap small { font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.hud .right { display: flex; align-items: center; gap: 10px; }
.arrows { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; color: var(--gold); padding: 6px 12px;
  border-radius: 999px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(255, 207, 107, .3); }
.arrows svg { width: 20px; height: 20px; }
.arrows.pop { animation: pop .6s ease; }
@keyframes pop { 30% { transform: scale(1.25); } }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px var(--line); }
.icon-btn svg { width: 20px; height: 20px; }

/* η καρδιά: αριστερό μισό = άνεση, δεξί μισό = σπίθα */
.heart { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 6px; border-radius: 999px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px var(--line); }
.heart svg { width: 40px; height: 36px; overflow: visible; }
.heart .lbl { display: flex; flex-direction: column; font-size: 10px; line-height: 1.25; letter-spacing: .05em; }
.heart .lbl .c { color: var(--teal); }
.heart .lbl .s { color: var(--pink); }
.heart.beat svg { animation: beat .5s ease; }
@keyframes beat { 30% { transform: scale(1.18); } 60% { transform: scale(.96); } }

/* ---------------------------------------------------------------- υπότιτλοι */
.sub { position: fixed; left: 50%; transform: translateX(-50%); z-index: 9; width: min(760px, calc(100% - 24px));
  bottom: var(--sub-bottom, 220px); padding: 12px 18px; border-radius: 16px; background: rgba(10, 5, 14, .66);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line);
  font-size: clamp(16px, 2.2vw, 20px); line-height: 1.45; text-align: center; transition: opacity .25s ease, bottom .3s ease; }
.sub .who { display: block; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 3px; }
.sub.her .who { color: var(--pink); }
.sub.me .who { color: var(--teal); }
.sub.me .line { color: #dff9f6; }
.sub.narr { font-style: italic; color: var(--muted); }
.sub.narr .who { color: var(--gold); }
.sub .hook { color: #ffe08a; text-decoration: underline dotted rgba(255, 224, 138, .8); text-underline-offset: 4px; cursor: pointer;
  padding: 0 2px; border-radius: 6px; text-shadow: 0 0 10px rgba(255, 207, 107, .55); transition: background .2s; }
.sub .hook:hover { background: rgba(255, 207, 107, .18); }
.sub.hooks-pulse .hook { animation: hookPulse 1.4s ease infinite; }
@keyframes hookPulse { 50% { background: rgba(255, 207, 107, .3); } }
.sub.off { opacity: 0; pointer-events: none; }

/* ---------------------------------------------------------------- επιλογές */
.choices { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + var(--sab)); z-index: 9;
  width: min(760px, calc(100% - 20px)); display: flex; flex-direction: column; gap: 8px; animation: rise .3s ease; }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }
.choices .ask { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
  text-align: center; text-shadow: 0 1px 8px #000; margin-bottom: 2px; }
.choice { display: flex; align-items: flex-start; gap: 12px; text-align: left; width: 100%; padding: 12px 14px; border-radius: 16px;
  background: var(--panel); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line);
  font-size: clamp(15px, 1.9vw, 17px); line-height: 1.4; transition: background .15s ease, transform .1s ease, box-shadow .15s; }
.choice:hover { background: rgba(60, 22, 58, .85); box-shadow: inset 0 0 0 1px rgba(255, 79, 163, .55); }
.choice:active { transform: scale(.99); }
.choice .k { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-family: var(--display);
  font-weight: 700; font-size: 14px; background: rgba(255, 79, 163, .18); color: var(--pink); box-shadow: inset 0 0 0 1px rgba(255, 79, 163, .4); }
.choice .t { padding-top: 3px; }
.choice.act .t { font-style: italic; color: #f1dcff; }
.choice.picked { box-shadow: inset 0 0 0 2px var(--pink); background: rgba(70, 20, 60, .9); }
.choice.fade { opacity: .35; }
.choices.wait .choice { pointer-events: none; }
.choices .hint { text-align: center; font-size: 12px; color: var(--muted); }

/* ---------------------------------------------------------------- ο Έρως (προπονητής) */
.coach { position: fixed; z-index: 11; left: calc(12px + var(--sal)); top: calc(66px + var(--sat)); width: min(430px, calc(100% - 24px));
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 18px; background: rgba(22, 12, 28, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, .45), inset 0 0 0 1px var(--line);
  animation: slideIn .35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes slideIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
.coach.good { box-shadow: 0 10px 30px rgba(0, 0, 0, .45), inset 0 0 0 1.5px rgba(82, 227, 148, .7); }
.coach.bad { box-shadow: 0 10px 30px rgba(0, 0, 0, .45), inset 0 0 0 1.5px rgba(255, 95, 111, .75); }
.coach.meh { box-shadow: 0 10px 30px rgba(0, 0, 0, .45), inset 0 0 0 1.5px rgba(255, 207, 107, .6); }
.coach .eros { flex: none; width: 46px; height: 46px; }
.coach .body { flex: 1; min-width: 0; }
.coach .head { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .06em; margin-bottom: 4px; }
.coach.good .head .mk { color: var(--good); }
.coach.bad .head .mk { color: var(--bad); }
.coach.meh .head .mk { color: var(--meh); }
.coach .tx { font-size: 14.5px; line-height: 1.45; color: #f3e8f6; }
.coach .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.coach .acts .btn { min-height: 36px; font-size: 13px; padding: 0 14px; }
.coach .x { position: absolute; right: 8px; top: 6px; font-size: 18px; color: var(--muted); padding: 4px 8px; }
.coach .unlock { margin-top: 8px; font-size: 12px; color: var(--gold); }

/* ---------------------------------------------------------------- κάρτες (εισαγωγή στάσης, αποτέλεσμα) */
.cardwrap { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: 18px;
  background: rgba(6, 3, 9, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .35s ease; }
.card { width: min(520px, 100%); max-height: calc(100% - 20px); overflow-y: auto; padding: 24px 22px 20px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(40, 16, 44, .95), rgba(18, 9, 22, .97)); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .1);
  animation: cardIn .45s cubic-bezier(.2, .9, .3, 1.15); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.card .kicker { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.card h3 { font-family: var(--display); font-size: clamp(22px, 5vw, 28px); margin: 6px 0 4px; color: #fff; }
.card .place { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.card p { line-height: 1.55; margin: 0 0 12px; color: #eadcf0; }
.card ul { margin: 0 0 14px; padding-left: 0; list-style: none; }
.card li { position: relative; padding: 7px 0 7px 28px; line-height: 1.45; color: #eadcf0; border-top: 1px solid rgba(255, 255, 255, .06); }
.card li::before { content: ''; position: absolute; left: 4px; top: 13px; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle, var(--pink) 0 35%, transparent 40%); box-shadow: 0 0 10px var(--pink); }
.card li.good::before { background: radial-gradient(circle, var(--good) 0 35%, transparent 40%); box-shadow: 0 0 10px var(--good); }
.card li.bad::before { background: radial-gradient(circle, var(--bad) 0 35%, transparent 40%); box-shadow: 0 0 10px var(--bad); }
.card .btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.card .eros-line { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .05); margin-bottom: 14px; }
.card .eros-line svg { flex: none; width: 44px; height: 44px; }
.card .eros-line div { font-size: 14.5px; line-height: 1.5; color: #f3e6f7; }
.big-arrows { display: flex; justify-content: center; gap: 14px; margin: 8px 0 14px; }
.big-arrows svg { width: 54px; height: 54px; opacity: .2; transform: scale(.8); transition: all .45s cubic-bezier(.2, .9, .3, 1.4); }
.big-arrows svg.on { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 10px rgba(255, 207, 107, .8)); }
.gotnum { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; padding: 10px; border-radius: 14px; margin-bottom: 12px; }
.gotnum.yes { background: rgba(82, 227, 148, .12); color: var(--good); }
.gotnum.no { background: rgba(255, 255, 255, .06); color: var(--muted); }

/* ---------------------------------------------------------------- ο δρόμος: κάρτα «πού γνωρίζεις κόσμο» */
.tip { position: fixed; z-index: 12; right: calc(12px + var(--sar)); bottom: calc(14px + var(--sab)); width: min(420px, calc(100% - 24px));
  padding: 16px 16px 14px; border-radius: 20px; background: rgba(20, 10, 26, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .1); animation: tipIn .4s cubic-bezier(.2, .9, .3, 1.15); }
@keyframes tipIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.tip .sign { font-family: var(--display); font-weight: 700; font-size: 20px; color: #fff; margin-bottom: 2px; }
.tip .sign small { display: block; font-family: var(--body); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.tip .q { margin: 10px 0 12px; font-size: 15.5px; line-height: 1.5; }
.tip .q b { color: var(--gold); font-weight: 700; }
.tip .tf { display: flex; gap: 10px; }
.tip .tf .btn { flex: 1; }
.tip .ans { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: #f1e6f6; }
.tip .ans .mk { font-weight: 800; }
.tip .ans .mk.good { color: var(--good); }
.tip .ans .mk.bad { color: var(--bad); }
.tip .next { margin-top: 12px; display: flex; justify-content: flex-end; }

/* ---------------------------------------------------------------- κινητό (μηνύματα) */
.phone-wrap { position: fixed; inset: 0; z-index: 25; display: flex; align-items: center; justify-content: center; padding: calc(10px + var(--sat)) 10px calc(10px + var(--sab));
  background: radial-gradient(ellipse at 50% 30%, rgba(60, 20, 70, .55), rgba(6, 3, 9, .88)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fadeIn .4s ease; }
.phone { position: relative; width: min(400px, 100%); height: min(820px, 100%); border-radius: 44px; padding: 12px; background: #050307;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .7), inset 0 0 0 2px #2a2230, inset 0 0 0 6px #0d0a10; display: flex; flex-direction: column; }
.phone .screen-in { position: relative; flex: 1; border-radius: 34px; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #170d1c 0%, #0f0a14 100%); }
.phone .notch { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); width: 110px; height: 28px; border-radius: 20px; background: #000; z-index: 3; }
.phone .status { display: flex; justify-content: space-between; padding: 12px 26px 4px; font-size: 13px; font-weight: 700; color: #fff; }
.phone .chathead { display: flex; align-items: center; gap: 10px; padding: 10px 16px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.phone .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700;
  color: #fff; background: linear-gradient(135deg, var(--pink), #8a3cff); box-shadow: 0 0 0 2px rgba(255, 255, 255, .15); flex: none; }
.phone .chathead b { display: block; font-size: 16px; }
.phone .chathead small { color: var(--muted); font-size: 12px; }
.phone .msgs { flex: 1; overflow-y: auto; padding: 14px 12px 8px; display: flex; flex-direction: column; gap: 6px; scroll-behavior: smooth; }
.bub { max-width: 80%; padding: 9px 13px; border-radius: 20px; font-size: 15px; line-height: 1.4; animation: bubIn .25s ease; word-wrap: break-word; }
@keyframes bubIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.bub.me { align-self: flex-end; background: linear-gradient(135deg, #ff4fa3, #e8307d); color: #fff; border-bottom-right-radius: 6px; }
.bub.her { align-self: flex-start; background: #2a2131; color: #f4ecf7; border-bottom-left-radius: 6px; }
.bub.long { font-size: 13px; }
.bub .seen { display: block; font-size: 10px; opacity: .7; text-align: right; margin-top: 2px; }
.msgs .stamp { align-self: center; font-size: 11px; color: var(--muted); padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); margin: 6px 0; }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 20px; background: #2a2131; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #bba9c6; animation: dot 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.phone .opts { padding: 8px 10px 12px; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid rgba(255, 255, 255, .06); background: rgba(0, 0, 0, .2); }
.phone .opts .ask { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); text-align: center; font-weight: 700; }
.phone .opt { text-align: left; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: 14px; line-height: 1.35;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.phone .opt:hover { background: rgba(255, 79, 163, .16); }
.phone .opt.act { font-style: italic; color: #f0d9ff; }
.phone .contacts { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.phone .contact { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .05); text-align: left; }
.phone .contact:hover { background: rgba(255, 79, 163, .14); }
.phone .contact small { display: block; color: var(--muted); font-size: 12px; }
.phone .apphead { padding: 8px 16px 4px; font-family: var(--display); font-weight: 700; font-size: 26px; }
.phone .apphint { padding: 0 16px 8px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.phone .coachline { margin: 4px 10px 8px; padding: 10px 12px; border-radius: 14px; font-size: 13px; line-height: 1.45; background: rgba(255, 207, 107, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 207, 107, .25); color: #f6ecd2; display: flex; gap: 10px; align-items: flex-start; }
.phone .coachline svg { width: 28px; height: 28px; flex: none; }
.phone .coachline.good { background: rgba(82, 227, 148, .08); box-shadow: inset 0 0 0 1px rgba(82, 227, 148, .35); color: #dff7e9; }
.phone .coachline.bad { background: rgba(255, 95, 111, .08); box-shadow: inset 0 0 0 1px rgba(255, 95, 111, .35); color: #ffe1e4; }

/* σχέδιο ραντεβού (μέσα στο κινητό) */
.plan { padding: 8px 12px 12px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.plan h4 { margin: 4px 2px 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.plan .opts2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plan .pc { text-align: left; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); font-size: 13.5px; line-height: 1.3; }
.plan .pc b { display: block; font-size: 14px; margin-bottom: 2px; }
.plan .pc small { color: var(--muted); font-size: 11.5px; }
.plan .pc.on { background: rgba(255, 79, 163, .2); box-shadow: inset 0 0 0 2px var(--pink); }
.plan .pc.star::after { content: '★'; float: right; color: var(--gold); }

/* ---------------------------------------------------------------- πριν το ραντεβού: στοίβα καρτών */
.prep-wrap { position: fixed; inset: 0; z-index: 25; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: calc(70px + var(--sat)) 16px calc(20px + var(--sab)); background: radial-gradient(ellipse at 50% 30%, rgba(60, 20, 70, .5), rgba(6, 3, 9, .9));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fadeIn .4s ease; }
.prep-top { text-align: center; }
.prep-top .clock { font-family: var(--display); font-weight: 700; font-size: 38px; color: var(--gold); text-shadow: 0 0 16px rgba(255, 207, 107, .45); }
.prep-top small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.prep-stack { position: relative; width: min(360px, 88vw); height: min(300px, 46vh); }
.pcard { position: absolute; inset: 0; border-radius: 26px; padding: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center; background: linear-gradient(180deg, #2c1534, #170b1c); box-shadow: 0 20px 60px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .1);
  font-size: 19px; line-height: 1.4; touch-action: none; transition: transform .35s cubic-bezier(.2, .9, .3, 1.1), opacity .35s; }
.pcard .ico { font-size: 54px; line-height: 1; }
.pcard.back { transform: translateY(12px) scale(.95); opacity: .6; }
.pcard.goL { transform: translateX(-130%) rotate(-18deg); opacity: 0; }
.pcard.goR { transform: translateX(130%) rotate(18deg); opacity: 0; }
.pcard .stampL, .pcard .stampR { position: absolute; top: 18px; font-family: var(--display); font-weight: 700; font-size: 20px; padding: 4px 12px; border-radius: 10px; opacity: 0; transition: opacity .15s; }
.pcard .stampL { left: 18px; color: var(--bad); border: 2px solid var(--bad); transform: rotate(-10deg); }
.pcard .stampR { right: 18px; color: var(--good); border: 2px solid var(--good); transform: rotate(10deg); }
.prep-btns { display: flex; gap: 18px; }
.prep-btns .btn { min-width: 130px; }
.prep-fb { min-height: 60px; width: min(420px, 92vw); text-align: center; font-size: 14.5px; line-height: 1.5; color: #f1e6f6; }
.prep-fb .mk.good { color: var(--good); font-weight: 800; }
.prep-fb .mk.bad { color: var(--bad); font-weight: 800; }

/* ---------------------------------------------------------------- μικρές ειδοποιήσεις */
.toasts { position: fixed; z-index: 40; left: 50%; transform: translateX(-50%); top: calc(64px + var(--sat)); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { padding: 10px 16px; border-radius: 999px; background: rgba(20, 10, 26, .92); box-shadow: 0 10px 30px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 207, 107, .4);
  font-weight: 700; font-size: 14px; color: var(--gold); animation: toastIn .4s ease, toastOut .5s ease 2.6s forwards; white-space: nowrap; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-8px); } }

/* ---------------------------------------------------------------- τα μυστικά του Έρωτα */
.codex { width: min(760px, 100%); display: flex; flex-direction: column; gap: 18px; }
.codex .cat h4 { font-family: var(--display); font-size: 15px; letter-spacing: .06em; color: var(--gold); margin: 0 0 8px; }
.codex .items { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.codex .it { padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); text-align: left; }
.codex .it b { display: block; font-size: 15px; margin-bottom: 6px; color: #fff; }
.codex .it span { font-size: 13.5px; line-height: 1.5; color: #e5d6ec; }
.codex .it.locked { opacity: .5; }
.codex .it.locked b { color: var(--muted); }
.codex .count { text-align: center; color: var(--gold); font-weight: 700; }

/* ---------------------------------------------------------------- τέλος */
.rank { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 7vw, 44px); text-align: center; color: #fff;
  text-shadow: 0 0 20px var(--pink), 0 0 50px var(--pink2); margin: 4px 0; }
.score-line { font-size: 18px; font-weight: 800; color: var(--gold); display: flex; align-items: center; gap: 8px; justify-content: center; }
.score-line svg { width: 26px; height: 26px; }
.recap { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); font-size: 14.5px; }
.recap .st { color: var(--gold); letter-spacing: 2px; }

/* fade για αλλαγή χώρου */
.fade { position: fixed; inset: 0; z-index: 45; background: #000; opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.fade.on { opacity: 1; }

/* debug */
.dbg { position: fixed; left: 8px; bottom: 8px; z-index: 60; font: 11px/1.4 ui-monospace, Menlo, monospace; color: #9f9; background: rgba(0, 0, 0, .6); padding: 6px 8px; border-radius: 8px; pointer-events: none; white-space: pre; }

/* ---------------------------------------------------------------- κινητό όρθιο */
@media (max-width: 640px) {
  .hud { padding-top: calc(8px + var(--sat)); }
  .hud .chap small { display: none; }
  .heart .lbl { display: none; }
  .heart { padding: 4px 8px; }
  .coach { top: calc(58px + var(--sat)); padding: 10px 12px; }
  .coach .eros { width: 38px; height: 38px; }
  .coach .tx { font-size: 13.5px; }
  .choice { padding: 10px 12px; font-size: 14.5px; }
  .choice .k { width: 24px; height: 24px; font-size: 12px; border-radius: 7px; }
  .sub { font-size: 15.5px; padding: 10px 14px; }
  .tip { left: 10px; right: 10px; width: auto; }
}
@media (max-height: 480px) and (orientation: landscape) {
  .choices { width: min(560px, 60vw); left: auto; right: calc(10px + var(--sar)); transform: none; animation: none; gap: 6px; }
  .choice { padding: 8px 10px; font-size: 13.5px; }
  .sub { left: calc(10px + var(--sal)); transform: none; width: min(420px, 38vw); bottom: calc(12px + var(--sab)) !important; font-size: 14px; }
  .coach { width: min(360px, 40vw); }
}

/* μικρά βέλη (σκορ ανά στάση) */
.ai { display: inline-block; width: 18px; height: 18px; vertical-align: middle; opacity: .22; }
.ai.on { opacity: 1; filter: drop-shadow(0 0 4px rgba(255, 207, 107, .6)); }
.ai svg { width: 100%; height: 100%; }

/* ---------------------------------------------------------------- περιπλάνηση */
.btn.teal { background: linear-gradient(135deg, #3fe0d0, #2a8adf); color: #04161c; box-shadow: 0 6px 24px rgba(63, 224, 208, .3); }
.btn.teal small { font-size: 12px; font-weight: 600; opacity: .8; }
.spot.here { box-shadow: inset 0 0 0 2px var(--teal); }
.joy { position: fixed; z-index: 12; width: 120px; height: 120px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, .1) 60%, rgba(255, 79, 163, .25) 61%, rgba(255, 79, 163, 0) 64%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); }
.joy .knob { position: absolute; left: 36px; top: 36px; width: 48px; height: 48px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ffd1e8, #ff4fa3); box-shadow: 0 4px 16px rgba(255, 79, 163, .5); }
.roam-act { position: fixed; z-index: 12; right: calc(18px + var(--sar)); bottom: calc(22px + var(--sab)); max-width: min(78vw, 360px);
  min-height: 56px; padding: 0 22px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 16px; color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--pink2)); box-shadow: 0 8px 28px rgba(255, 45, 122, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
  animation: actIn .25s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.roam-act:active { transform: scale(.97); }
@keyframes actIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.roam-hint { position: fixed; z-index: 11; left: 50%; transform: translateX(-50%); bottom: calc(92px + var(--sab)); padding: 9px 16px; border-radius: 999px;
  background: rgba(20, 10, 26, .78); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--muted); white-space: nowrap; pointer-events: none;
  animation: actIn .4s ease; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; }
.roam-hint b { color: var(--text); }
@media (max-width: 560px) { .roam-hint { white-space: normal; text-align: center; border-radius: 16px; } }
@media (max-width: 560px) { .roam-act { font-size: 15px; min-height: 50px; padding: 0 18px; right: calc(12px + var(--sar)); bottom: calc(16px + var(--sab)); } }
