:root {
  --bg: #0d0b1f;
  --bg2: #15122c;
  --ink: #f6f2ea;
  --ink2: #bdb6cf;
  --ink3: #8a83a0;
  --card: rgba(255, 255, 255, 0.055);
  --card-b: rgba(255, 255, 255, 0.11);
  --o: #ffb547;
  --c: #ff5f6d;
  --p: #c084fc;
  --g: #4ade80;
  --y: #facc15;
  --r: #fb7185;
  --grad: linear-gradient(100deg, var(--o), var(--c) 50%, var(--p));
  --f: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rad: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2.5px solid var(--o); outline-offset: 3px; border-radius: 10px; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.muted { color: var(--ink2); }
.fine { color: var(--ink3); font-size: 13px; margin-top: 12px; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: 24px; margin-bottom: 6px; }
h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink3); margin: 26px 0 10px; }

/* arka plan */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: 0.35; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: #ff8a4c; left: -20vmax; top: -25vmax; }
.aurora i:nth-child(2) { background: #a855f7; right: -25vmax; top: 10vmax; animation-delay: -7s; }
.aurora i:nth-child(3) { background: #ff4d6d; left: 10vmax; bottom: -35vmax; opacity: 0.22; animation-delay: -14s; }
@keyframes drift { to { transform: translate(6vmax, 4vmax) scale(1.12); } }

/* üst bar */
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 8px; }
.logo { font-weight: 800; font-size: 19px; display: flex; align-items: center; gap: 8px; }
.logo-dice { display: inline-block; animation: wobble 4s ease-in-out infinite; }
@keyframes wobble { 0%, 85%, 100% { transform: rotate(0); } 90% { transform: rotate(-18deg); } 95% { transform: rotate(14deg); } }
.pill { background: var(--card); border: 1px solid var(--card-b); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.pill b { background: var(--grad); color: #1a0f1f; border-radius: 999px; padding: 0 7px; margin-left: 4px; }

/* butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 24px; font-weight: 700; font-size: 16px; transition: transform 0.12s, filter 0.2s, background 0.2s; white-space: nowrap; }
.btn:active { transform: scale(0.96); }
.btn.big { padding: 17px 30px; font-size: 18px; }
.btn.sm { padding: 9px 16px; font-size: 14px; margin-top: 14px; }
.btn.primary { background: var(--grad); color: #1d0b16; box-shadow: 0 10px 30px -8px rgba(255, 95, 109, 0.6); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.glass { background: rgba(255, 255, 255, 0.09); border: 1px solid var(--card-b); backdrop-filter: blur(10px); }
.btn.glass:hover { background: rgba(255, 255, 255, 0.14); }
.btn.ghost { color: var(--ink2); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.done { font-size: 12px; color: var(--g); font-weight: 600; }

/* kahraman */
.hero { padding-top: 40px; padding-bottom: 40px; position: relative; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink2); background: var(--card); border: 1px solid var(--card-b); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.kicker b { color: var(--ink); font-variant-numeric: tabular-nums; min-width: 1.5ch; display: inline-block; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); animation: ping 1.6s infinite; }
@keyframes ping { to { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } }
.hero h1 { font-size: clamp(42px, 9vw, 88px); font-weight: 800; letter-spacing: -0.035em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 620px; margin: 20px auto 30px; color: var(--ink2); font-size: clamp(17px, 2.2vw, 20px); }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hint { color: var(--ink3); font-size: 14px; margin-top: 14px; }
.globe { position: relative; width: 300px; height: 300px; margin: 44px auto 0; }
.globe span { position: absolute; left: 50%; top: 50%; font-size: 34px; transform: rotate(var(--a)) translateY(-130px) rotate(calc(-1 * var(--a))); animation: orbit 40s linear infinite; margin: -20px 0 0 -20px; }
@keyframes orbit { from { transform: rotate(var(--a)) translateY(-130px) rotate(calc(-1 * var(--a))); } to { transform: rotate(calc(var(--a) + 360deg)) translateY(-130px) rotate(calc(-1 * var(--a) - 360deg)); } }
.globe-core { position: absolute; inset: 70px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffcf8a, #ff5f6d 45%, #6d28d9 100%); display: grid; place-content: center; text-align: center; font-weight: 800; font-size: 44px; line-height: 1; box-shadow: 0 0 80px rgba(255, 95, 109, 0.45), inset -14px -18px 40px rgba(0, 0, 0, 0.35); color: #fff; }
.globe-core small { font-size: 14px; font-weight: 600; opacity: 0.9; margin-top: 4px; }

/* meydan okuma şeridi */
.ch-banner { display: flex; gap: 16px; text-align: left; background: linear-gradient(135deg, rgba(255, 181, 71, 0.16), rgba(192, 132, 252, 0.16)); border: 1px solid rgba(255, 181, 71, 0.45); border-radius: var(--rad); padding: 20px; margin: 0 auto 28px; max-width: 640px; animation: rise 0.5s ease-out; }
.ch-banner p { color: var(--ink2); margin: 6px 0 14px; }
.cb-e { font-size: 40px; line-height: 1; }

/* kartlar */
.card { background: var(--card); border: 1px solid var(--card-b); border-radius: var(--rad); padding: 24px; backdrop-filter: blur(14px); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.odds { list-style: none; margin-top: 16px; display: grid; gap: 9px; }
.odds li { display: grid; grid-template-columns: 28px 1fr 1.3fr 52px; align-items: center; gap: 10px; font-size: 15px; }
.o-f { font-size: 22px; }
.o-b { height: 9px; background: rgba(255, 255, 255, 0.08); border-radius: 9px; overflow: hidden; }
.o-b i { display: block; height: 100%; width: var(--w); background: var(--grad); border-radius: 9px; animation: grow 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes grow { from { width: 0; } }
.o-p { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink2); }
.odds-tr { margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 95, 109, 0.12); border: 1px solid rgba(255, 95, 109, 0.3); font-size: 15px; }
.odds-tr small { color: var(--ink3); }
.bday-form { display: flex; gap: 10px; margin-top: 16px; }
.bday-form input { flex: 1; min-width: 0; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--card-b); color: var(--ink); border-radius: 14px; padding: 12px 14px; font: inherit; color-scheme: dark; }
.bday-out { margin-top: 18px; animation: rise 0.4s ease-out; }
.bd-hero { display: flex; flex-direction: column; align-items: center; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); color: var(--ink2); font-size: 14px; }
.bd-hero b { font-size: 40px; color: var(--ink); line-height: 1.1; }
.bd-list { list-style: none; margin-top: 12px; display: grid; gap: 8px; font-size: 15px; color: var(--ink2); }
.bd-list b { color: var(--ink); }
.bd-list li::before { content: "→ "; color: var(--o); }

.pp-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.pp-stats div { background: rgba(255, 255, 255, 0.06); border-radius: 14px; padding: 10px 14px; display: flex; flex-direction: column; min-width: 110px; }
.pp-stats b { font-size: 22px; }
.pp-stats span { font-size: 13px; color: var(--ink3); }
.pp-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.stamp { font-size: 22px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, 0.04); filter: grayscale(1); opacity: 0.25; }
.stamp.on { filter: none; opacity: 1; background: rgba(255, 181, 71, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.4); }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px auto; }
.step { padding: 22px; border-radius: var(--rad); border: 1px dashed var(--card-b); }
.step b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #1d0b16; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; color: var(--ink); text-transform: none; letter-spacing: -0.01em; font-size: 19px; }
.step p { color: var(--ink2); font-size: 15px; }
.method summary { cursor: pointer; font-weight: 700; font-size: 18px; }
.method p { color: var(--ink2); font-size: 15px; margin-top: 12px; }

/* doğum ekranı */
#birth { padding-top: 40px; padding-bottom: 60px; }
.r-flag { font-size: clamp(110px, 22vw, 170px); line-height: 1.1; margin-top: 10px; }
.r-flag.pop { animation: pop 0.18s ease-out; }
@keyframes pop { from { transform: scale(0.82); opacity: 0.4; } }
.r-name { font-size: clamp(44px, 10vw, 84px); font-weight: 800; margin-bottom: 24px; }
.birth-card { max-width: 540px; margin: 0 auto 24px; text-align: left; animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
.bc-head { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink3); padding-bottom: 12px; border-bottom: 1px solid var(--card-b); margin-bottom: 14px; }
.bc-name { font-size: 32px; }
.bc-text { color: var(--ink2); margin: 8px 0 14px; }
.bc-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.bc-grid div { background: rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 9px 12px; }
.bc-grid dt { font-size: 12px; color: var(--ink3); }
.bc-grid dd { font-weight: 700; }
#birthGo { animation: rise 0.6s 0.25s both; }

/* hayat ekranı */
#life { padding-bottom: 110px; }
.hud { position: sticky; top: 0; z-index: 5; background: linear-gradient(var(--bg) 80%, transparent); padding: 10px 0 14px; }
.hud-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.who-flag { font-size: 44px; line-height: 1; }
.who b { display: block; font-size: 20px; }
.who small { color: var(--ink3); font-size: 13px; display: block; }
.age { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.age b { font-size: 56px; line-height: 0.95; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.age small { color: var(--ink3); font-size: 13px; }
.stage { font-size: 12px; background: var(--card); border: 1px solid var(--card-b); padding: 2px 10px; border-radius: 999px; color: var(--ink2); margin-bottom: 4px; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.stat-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink2); }
.stat-top b { color: var(--ink); font-variant-numeric: tabular-nums; }
.bar { height: 7px; border-radius: 7px; background: rgba(255, 255, 255, 0.09); margin-top: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 7px; transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.stat[data-k="h"] i, #eStats .stat:nth-child(1) i { background: #f87171; }
.stat[data-k="j"] i, #eStats .stat:nth-child(2) i { background: var(--y); }
.stat[data-k="m"] i, #eStats .stat:nth-child(3) i { background: #60a5fa; }
.stat[data-k="b"] i, #eStats .stat:nth-child(4) i { background: var(--p); }
.stat[data-k="v"] i, #eStats .stat:nth-child(5) i { background: var(--g); }
.grid-life { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 12px; }
.cell { width: 11px; height: 11px; border-radius: 3px; display: inline-block; animation: pop 0.3s ease-out; }
.cell.g { background: var(--g); }
.cell.y { background: var(--y); }
.cell.r { background: var(--r); }
.grid-life.big { gap: 5px; }
.grid-life.big .cell { width: 20px; height: 20px; border-radius: 5px; }
.legend { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink3); margin-top: 10px; }

.feed { list-style: none; display: grid; gap: 8px; margin-top: 6px; }
.feed li { display: grid; grid-template-columns: 38px 30px 1fr; align-items: start; gap: 8px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid transparent; animation: rise 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.feed li.key { border-color: rgba(255, 181, 71, 0.4); background: linear-gradient(90deg, rgba(255, 181, 71, 0.1), rgba(255, 255, 255, 0.04)); }
.ev-age { font-size: 12px; font-weight: 700; color: var(--ink3); padding-top: 4px; font-variant-numeric: tabular-nums; }
.ev-e { font-size: 20px; line-height: 1.3; }
.feed p { font-size: 16px; }
.feed.mini li { padding: 9px 12px; }

.controls { position: fixed; bottom: max(14px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 6; display: flex; gap: 6px; align-items: center; background: rgba(21, 18, 44, 0.85); backdrop-filter: blur(16px); border: 1px solid var(--card-b); padding: 6px; border-radius: 999px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); max-width: calc(100vw - 24px); }
.cbtn { height: 42px; min-width: 42px; border-radius: 999px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); font-size: 16px; }
.cbtn.txt { padding: 0 14px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.cbtn[aria-pressed="true"] { background: var(--grad); color: #1d0b16; }
.seg { display: flex; background: rgba(255, 255, 255, 0.06); border-radius: 999px; padding: 3px; }
.spd { padding: 0 11px; height: 36px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink2); }
.spd[aria-pressed="true"] { background: #fff; color: #1d0b16; }

.choice { position: fixed; inset: 0; z-index: 20; background: rgba(5, 4, 14, 0.6); backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity 0.2s; }
.choice.open { opacity: 1; }
.sheet { width: 100%; max-width: 560px; background: var(--bg2); border: 1px solid var(--card-b); border-radius: 28px 28px 0 0; padding: 24px 20px calc(22px + env(safe-area-inset-bottom)); transform: translateY(30px); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.choice.open .sheet { transform: none; }
@media (min-width: 700px) { .choice { align-items: center; } .sheet { border-radius: 28px; } }
.ch-age { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sheet h2 { font-size: 28px; margin: 6px 0 6px; }
.opts { display: grid; gap: 10px; margin-top: 18px; }
.opt { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--card-b); transition: transform 0.12s, background 0.2s, border-color 0.2s; }
.opt:hover { background: rgba(255, 255, 255, 0.11); border-color: rgba(255, 181, 71, 0.5); }
.opt:active { transform: scale(0.98); }
.opt-e { font-size: 30px; }
.opt b { display: block; font-size: 17px; }
.opt small { color: var(--ink3); font-size: 14px; }
.ch-timer { height: 4px; background: rgba(255, 255, 255, 0.08); border-radius: 4px; margin-top: 18px; overflow: hidden; }
.ch-timer i { display: block; height: 100%; background: var(--grad); width: 100%; }

/* sonuç */
#end { padding-top: 10px; padding-bottom: 40px; display: grid; gap: 16px; max-width: 720px; }
.result { text-align: center; overflow: hidden; position: relative; }
.result::before { content: ""; position: absolute; inset: -40% -20% auto; height: 300px; background: radial-gradient(closest-side, rgba(255, 138, 76, 0.28), transparent); pointer-events: none; }
.result h3, .result .grid-life, .result .badges, .result .stats, .result .feed, .result .legend { text-align: left; }
.res-flag { font-size: 84px; line-height: 1; }
.res-head h1 { font-size: clamp(30px, 6vw, 44px); margin-top: 6px; }
.res-age { margin: 12px 0 4px; }
.res-age b { display: block; font-size: clamp(100px, 22vw, 150px); font-weight: 800; line-height: 0.9; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.res-age span { color: var(--ink2); font-weight: 600; }
.res-cause { color: var(--ink2); max-width: 440px; margin: 10px auto 0; }
.res-compare { font-size: 14px; color: var(--ink3); margin-top: 8px; }
.res-compare b { color: var(--ink); }
.up { color: var(--g); font-weight: 700; }
.down { color: var(--r); font-weight: 700; }
.res-score { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.res-score div { background: rgba(255, 255, 255, 0.06); border-radius: 16px; padding: 12px 8px; }
.res-score small { display: block; font-size: 12px; color: var(--ink3); text-transform: uppercase; letter-spacing: 0.06em; }
.res-score b { font-size: 18px; }
.res-pct { margin-top: 12px; font-weight: 600; color: var(--o); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { background: rgba(255, 181, 71, 0.12); border: 1px solid rgba(255, 181, 71, 0.35); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; }
.ch-result { background: var(--grad); color: #1d0b16; border-radius: 16px; padding: 12px; margin-bottom: 18px; font-size: 16px; }
.ch-result b { display: block; font-size: 22px; }
.share h2 { font-size: 26px; }
.nick { display: grid; gap: 6px; margin: 16px 0; font-size: 14px; color: var(--ink2); }
.nick input { background: rgba(255, 255, 255, 0.07); border: 1px solid var(--card-b); border-radius: 14px; padding: 12px 14px; color: var(--ink); font: inherit; }
.share-main { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-nets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.net { padding: 10px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--card-b); transition: transform 0.12s; }
.net:active { transform: scale(0.95); }
.net.wa { background: #25d366; color: #052e16; border: 0; }
.net.x { background: #fff; color: #000; border: 0; }
.net.tg { background: #2aabee; color: #04233a; border: 0; }
.net.fb { background: #1877f2; color: #fff; border: 0; }
.net.ok, .btn.ok { background: var(--g) !important; color: #052e16 !important; }
.end-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.foot { padding: 30px 16px 40px; color: var(--ink3); font-size: 13px; text-align: center; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: #fff; color: #1d0b16; padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 15px; opacity: 0; pointer-events: none; transition: 0.25s; z-index: 30; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
#fx { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
#fx i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translate(var(--dx), 105vh) rotate(var(--r)); } }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .kicker { font-size: 13px; text-align: left; }
  .grid2, .how { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; }
  .cta-row .btn { width: 100%; }
  .globe { transform: scale(0.8); margin-top: 20px; margin-bottom: -30px; }
  .stats { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .stat-top { font-size: 11px; flex-direction: column; }
  .stat-top span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .who-flag { font-size: 36px; }
  .who b { font-size: 17px; }
  .age b { font-size: 44px; }
  .bc-grid { grid-template-columns: 1fr 1fr; }
  .share-main { grid-template-columns: 1fr; }
  .cbtn.txt { padding: 0 10px; font-size: 13px; }
  .spd { padding: 0 9px; }
  .cell { width: 9px; height: 9px; }
  .grid-life.big .cell { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* dil seçici */
.top-r { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pill.lang { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; }
.pill.lang select { background: transparent; border: 0; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; max-width: 9.5em; cursor: pointer; }
.pill.lang select option { background: var(--bg2); color: var(--ink); }
.hint-lang { background: rgba(255, 181, 71, 0.14); border-color: rgba(255, 181, 71, 0.45); }

/* yapay zekâ hikâyesi */
.ai-box { margin-top: 18px; }
.ai-out { text-align: start; margin-top: 4px; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(192, 132, 252, 0.35); color: var(--ink); font-size: 16px; line-height: 1.65; animation: rise 0.5s ease-out; white-space: pre-line; }

/* sağdan sola diller */
[dir="rtl"] .result h3, [dir="rtl"] .result .grid-life, [dir="rtl"] .result .badges, [dir="rtl"] .result .stats, [dir="rtl"] .result .feed, [dir="rtl"] .result .legend { text-align: right; }
[dir="rtl"] .ch-banner, [dir="rtl"] .birth-card, [dir="rtl"] .opt { text-align: right; }
[dir="rtl"] .age { text-align: left; align-items: flex-start; }
[dir="rtl"] .o-p { text-align: left; }
[dir="rtl"] .bd-list li::before { content: "← "; }

@media (max-width: 760px) {
  .top { flex-wrap: wrap; gap: 8px; }
  .pill.lang select { max-width: 7em; }
}
