/* "Gece Provası" tasarım sistemi (Kasım 2026).
   styles.css'ten SONRA yüklenir. Üç katman:
   1) Belirteçler: gece paleti, yazı, hareket. Stil kartı ekranı (.on-card) bilerek açık zeminde kalır.
   2) Yolculuk: ilk açılış, tanışma, bekleme, açılış anı.
   3) Eski bileşenlerin koyu zemine uyarlanması (stüdyo, sihirbaz, pencereler).
   Yazı tipi dosyaları henüz gömülmedi; cihazdaki yakın karşılıklar kullanılır, dış istek yoktur. */

/* ---------- 1 · Belirteçler ---------- */
:root {
  --night: #14110F;
  --night-2: #1F1B18;
  --night-3: #2A2420;
  --cream: #F3EBDD;
  --cream-muted: #B9AD9B;
  --champagne: #D9B77E;
  --champagne-hi: #E9CFA0;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur-fast: .12s;
  --dur: .25s;
  --dur-slow: .6s;
}
body { background: #0B0908; }
.app-shell { background: var(--bg); color: var(--ink); }
.app-shell:not(.on-card) {
  --bg: var(--night);
  --surface: var(--night-2);
  --surface-soft: var(--night-3);
  --border: #3A322B;
  --border-strong: #8C7F70;
  --ink: var(--cream);
  --ink-muted: var(--cream-muted);
  --gold: var(--champagne);
  --gold-text: var(--champagne-hi);
  --gold-ui: var(--champagne);
  --gold-soft: #2E261B;
  --charcoal: var(--champagne);
  --charcoal-hover: var(--champagne-hi);
  --stage: radial-gradient(120% 70% at 50% 34%, #3A3029 0%, #221C18 58%, #14110F 100%);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, .35);
  --shadow-md: 0 18px 44px rgba(0, 0, 0, .5);
  color-scheme: dark;
}
.app-shell:not(.on-card) :focus-visible { outline-color: var(--champagne-hi); }

/* ---------- 2 · Yolculuk ---------- */
.g-brand { font-size: 10.5px; letter-spacing: .28em; color: var(--champagne); text-transform: uppercase; }
.g-head { font: 400 clamp(32px, 5.2vw, 52px)/1.06 var(--font-serif); letter-spacing: -.01em; color: var(--cream); }
.g-head em { font-style: italic; color: var(--champagne-hi); }
.g-head.q { font-size: clamp(28px, 4vw, 40px); margin: 6px 0; }
.g-sub { font-size: 15px; color: var(--cream-muted); line-height: 1.5; max-width: 46ch; }
.g-fine { font-size: 12px; color: var(--cream-muted); letter-spacing: .04em; }
.g-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border: 1px solid var(--champagne); border-radius: 999px; font: inherit; font-size: 15px; color: var(--cream); background: none; cursor: pointer; touch-action: manipulation; transition: transform var(--dur-fast), background var(--dur); }
.g-btn:hover { background: rgba(217, 183, 126, .12); }
.g-btn:active { transform: scale(.97); }
.g-btn.solid { background: var(--champagne); color: var(--night); font-weight: 600; }
.g-btn.solid:hover { background: var(--champagne-hi); }
.g-link { min-height: 44px; padding: 0 2px; font: inherit; font-size: 13.5px; color: var(--cream-muted); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.g-link:hover { color: var(--cream); }

@keyframes g-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes g-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Sürükleyici ekranlar: üst çubuk görselin üzerinde yüzer, ekran kenardan kenara uzanır. */
.app-shell.immersive:not(.on-card) .topbar { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(20, 17, 15, .7), transparent); border-bottom-color: transparent; backdrop-filter: none; }
.app-shell.immersive .screen.active { max-width: none; padding: 0; }
.g-screen { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; overflow: hidden; background: var(--night); }
.g-inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; width: 100%; max-width: 560px; margin: 0 auto; padding: calc(var(--topbar-h, 64px) + 22px) 22px calc(30px + env(safe-area-inset-bottom)); }

/* İlk açılış */
.g-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.g-photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g-open .g-photo { filter: brightness(.92); animation: g-wake 2.8s ease-out both; }
@keyframes g-wake { from { filter: brightness(.04) saturate(.5); transform: scale(1.07); } to { filter: brightness(.92); transform: none; } }
.g-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,17,15,.35) 0%, rgba(20,17,15,0) 30%, rgba(20,17,15,.88) 74%, var(--night) 100%); }
.g-foot { margin-top: auto; display: grid; gap: 14px; justify-items: start; }
.g-foot > * { animation: g-rise .8s var(--ease) both; }
.g-foot > :nth-child(2) { animation-delay: .5s; } .g-foot > :nth-child(3) { animation-delay: .7s; } .g-foot > :nth-child(4) { animation-delay: .9s; } .g-foot > :nth-child(5) { animation-delay: 1.05s; } .g-foot > :nth-child(6) { animation-delay: 1.15s; }
.g-pause { position: absolute; z-index: 3; right: 14px; top: calc(var(--topbar-h, 64px) + 4px); min-width: 44px; min-height: 44px; padding: 0 10px; font: inherit; font-size: 11px; letter-spacing: .06em; color: var(--cream-muted); background: none; border: 0; cursor: pointer; }
.g-quiet { display: flex; flex-wrap: wrap; gap: 0 22px; }
@media (min-width: 900px) {
  /* Geniş ekranda görsel sağ yarıda durur, metin solda nefes alır. */
  .g-open .g-photo { left: 42%; }
  .g-open .g-shade { background: linear-gradient(90deg, var(--night) 0%, var(--night) 40%, rgba(20,17,15,.55) 58%, rgba(20,17,15,0) 80%); }
  .g-open .g-inner { max-width: 1180px; justify-content: center; padding-left: 56px; }
  .g-open .g-foot { margin-top: 0; max-width: 480px; }
}

/* Tanışma */
.g-progress { position: absolute; z-index: 5; top: calc(var(--topbar-h, 64px) + 6px); left: 22px; right: 22px; max-width: 516px; margin: 0 auto; height: 2px; background: rgba(243, 235, 221, .14); border-radius: 2px; }
.g-progress i { display: block; height: 100%; width: 0; background: var(--champagne); border-radius: 2px; transition: width .5s var(--ease); }
.g-qhead { animation: g-rise .6s var(--ease) both; }
.g-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: auto 0; padding: 18px 0 36px; }
.g-tile { position: relative; aspect-ratio: 4 / 5.6; border: 0; border-radius: 20px; overflow: hidden; text-align: left; font: inherit; color: var(--cream); background: var(--night-2); cursor: pointer; touch-action: manipulation; animation: g-rise .6s var(--ease) both; transition: transform var(--dur) var(--ease), box-shadow var(--dur), opacity var(--dur); }
.g-tile:nth-child(2) { animation-delay: .06s; } .g-tile:nth-child(3) { animation-delay: .12s; } .g-tile:nth-child(4) { animation-delay: .18s; } .g-tile:nth-child(5) { animation-delay: .24s; }
.g-tile .g-art { position: absolute; inset: 0; background-size: cover; background-position: center 14%; }
.g-tile .g-art.scene { background-position: center; }
.g-tile .g-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20,17,15,.85)); }
.g-tile .g-lbl { position: absolute; left: 14px; right: 12px; bottom: 12px; }
.g-tile .g-lbl b { display: block; font: 400 21px/1.1 var(--font-serif); }
.g-tile .g-lbl span { font-size: 11.5px; color: var(--cream-muted); }
.g-tile:hover { box-shadow: 0 0 0 1px rgba(217, 183, 126, .55); }
.g-tile:active { transform: scale(.97); }
.g-tile.picked { box-shadow: 0 0 0 2px var(--champagne), 0 18px 40px rgba(0,0,0,.55); transform: scale(1.03); }
.g-tiles.chosen .g-tile:not(.picked) { opacity: .28; transform: scale(.96); }
.g-tiles.duo .g-tile { aspect-ratio: 3 / 5.6; }
.g-tiles.duo .g-tile:first-child { transform: rotate(-2deg); } .g-tiles.duo .g-tile:last-child { transform: rotate(2deg) translateY(16px); }
.g-tiles.duo .g-tile.picked { transform: scale(1.05); }
.g-tiles.trio { grid-template-columns: 1fr; gap: 10px; } .g-tiles.trio .g-tile { aspect-ratio: auto; min-height: 92px; }
.g-tiles.five { grid-template-columns: repeat(3, 1fr); gap: 10px; } .g-tiles.five .g-tile { aspect-ratio: 3 / 5; border-radius: 16px; }
.g-tiles.five .g-tile svg { position: absolute; inset: 6% 4% 22%; width: 92%; height: 72%; }
.g-tiles.five .g-lbl b { font-size: 15px; }
.g-art.keep { background: var(--night-3); }
.g-skin { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 10px; margin: auto 0; padding: 18px 0 36px; }
.g-skin button { display: grid; justify-items: center; gap: 8px; min-height: 96px; font: inherit; font-size: 12px; color: var(--cream-muted); background: none; border: 0; cursor: pointer; animation: g-rise .5s var(--ease) both; }
.g-skin .dot { width: 76px; height: 76px; border-radius: 50%; box-shadow: inset -8px -10px 18px rgba(0,0,0,.28), 0 0 0 1px rgba(243,235,221,.12); transition: transform .2s var(--ease), box-shadow .2s; }
.g-skin .picked .dot { transform: scale(1.12); box-shadow: inset -8px -10px 18px rgba(0,0,0,.28), 0 0 0 2px var(--champagne); }
.g-skin .picked { color: var(--cream); }

/* Bekleme */
.g-wait .g-inner { align-items: center; justify-content: center; text-align: center; gap: 18px; }
.g-words { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; max-width: 320px; min-height: 90px; }
.g-words span { font: italic 400 22px var(--font-serif); color: var(--champagne-hi); opacity: 0; animation: g-word 2.6s ease-in-out both; }
@keyframes g-word { 0% { opacity: 0; transform: translateY(10px); filter: blur(4px); } 30%, 70% { opacity: 1; transform: none; filter: none; } 100% { opacity: .25; } }
.g-glow { width: 6px; height: 6px; border-radius: 50%; background: var(--champagne); box-shadow: 0 0 24px 10px rgba(217,183,126,.35); animation: g-pulse 1.4s ease-in-out infinite; }
@keyframes g-pulse { 50% { transform: scale(1.8); opacity: .6; } }

/* Açılış anı */
@property --g-r { syntax: '<percentage>'; inherits: false; initial-value: 130%; }
.g-hero { position: absolute; inset: 0; }
.g-reveal .g-photo { background-position: center 16%; }
.g-reveal .g-photo, .g-reveal .g-croquis { -webkit-mask-image: radial-gradient(circle at 50% 36%, #000 var(--g-r), transparent calc(var(--g-r) + 24%)); mask-image: radial-gradient(circle at 50% 36%, #000 var(--g-r), transparent calc(var(--g-r) + 24%)); animation: g-lit 3s cubic-bezier(.3, .6, .2, 1) both; }
@keyframes g-lit { 0% { --g-r: 0%; filter: brightness(.04); transform: scale(1.08); } 60% { filter: brightness(.55); } 100% { --g-r: 130%; filter: brightness(1); transform: none; } }
.g-reveal.quick .g-photo, .g-reveal.quick .g-croquis { animation-duration: .9s; }
.g-croquis { position: absolute; inset: 10% 6% 36%; display: grid; place-items: center; }
.g-croquis svg { width: 100%; height: 100%; filter: drop-shadow(0 0 34px rgba(233, 207, 160, .28)); }
.g-croquis::before { content: ""; position: absolute; inset: -10% -20%; background: radial-gradient(50% 45% at 50% 42%, rgba(233,207,160,.16), transparent 70%); }
.g-reveal .g-shade { background: linear-gradient(180deg, rgba(20,17,15,.3) 0%, rgba(20,17,15,0) 38%, rgba(20,17,15,.9) 74%, var(--night) 100%); }
.g-reveal .g-foot > * { animation-delay: 1.9s; } .g-reveal .g-foot > :nth-child(2) { animation-delay: 2.1s; } .g-reveal .g-foot > :nth-child(3) { animation-delay: 2.3s; } .g-reveal .g-foot > :nth-child(4) { animation-delay: 2.5s; } .g-reveal .g-foot > :nth-child(5) { animation-delay: 2.6s; } .g-reveal .g-foot > :nth-child(6) { animation-delay: 2.7s; }
.g-reveal.quick .g-foot > * { animation-delay: .25s !important; }
.g-reasons { display: grid; gap: 4px; font-size: 13.5px; color: var(--cream-muted); list-style: none; }
.g-reasons li::before { content: "· "; color: var(--champagne); }
.g-row { display: flex; gap: 10px; width: 100%; align-items: center; }
.g-row .g-btn.solid { flex: 1; }

.g-dots { display: flex; gap: 6px; } .g-dots i { width: 18px; height: 2px; background: rgba(243,235,221,.2); } .g-dots i.on { background: var(--champagne); }
.g-sample { font-size: 10.5px; letter-spacing: .2em; color: var(--cream-muted); text-transform: uppercase; }
@media (min-width: 900px) {
  .g-reveal .g-hero { left: 50%; width: min(46vw, 620px); transform: translateX(-10%); }
  .g-reveal .g-shade { background: linear-gradient(90deg, var(--night) 0%, var(--night) 34%, rgba(20,17,15,0) 62%, rgba(20,17,15,0) 86%, var(--night) 100%); }
  .g-reveal .g-inner { max-width: 1180px; justify-content: center; padding-left: 56px; }
  .g-reveal .g-foot { margin-top: 0; max-width: 440px; }
}

/* Azaltılmış hareket: "hiç" değil, sakin bir geçiş */
@media (prefers-reduced-motion: reduce) {
  .g-open .g-photo, .g-reveal .g-photo, .g-reveal .g-croquis { animation: g-fade .4s both; filter: none; -webkit-mask-image: none; mask-image: none; }
  .g-foot > *, .g-tile, .g-qhead, .g-skin button { animation: g-fade .3s both !important; animation-delay: 0s !important; }
  .g-words span { animation: g-fade .4s both; opacity: 1; }
  .g-glow { animation: none; }
  .g-tile, .g-tiles.duo .g-tile { transform: none !important; }
}

/* ---------- 3 · Eski bileşenlerin koyu zemine uyarlanması ---------- */
.app-shell:not(.on-card) .topbar { background: rgba(20, 17, 15, .82); }

.app-shell:not(.on-card) :is(.btn-primary, .skip-link, .m-cta-btn) { color: var(--night); }
/* Seçili durum: koyu altın dolgu + şampanya çizgi + krem metin (styles.css'teki tek "seçili" dili, gece paletiyle). */
.app-shell:not(.on-card) :is(.chip.selected, .pill-btn.active, .circle-btn.active) { background: var(--gold-soft); color: var(--cream); }
.app-shell:not(.on-card) :is(.stage-pill, .stage-metrics, .match-badge, .circle-btn, .api-mode-chip) { background: rgba(31, 27, 24, .82); color: var(--cream); border-color: rgba(243, 235, 221, .16); }

.app-shell:not(.on-card) .toast { background: var(--cream); color: var(--night); }
.app-shell:not(.on-card) .l-step.done { border-color: #4B5A44; background: #1E261B; color: #BFD3B6; }
.app-shell:not(.on-card) .shimmer-overlay { background: linear-gradient(110deg, transparent 30%, rgba(233,207,160,.18) 50%, transparent 70%); }
.app-shell:not(.on-card) .swatch-circle { box-shadow: inset 0 0 0 2px rgba(20,17,15,.45); }
.app-shell:not(.on-card) input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--gold-ui) var(--fill, 50%), #4A4038 var(--fill, 50%)); }
.app-shell:not(.on-card) input[type="range"]::-moz-range-track { background: #4A4038; }
.app-shell:not(.on-card) .modal-backdrop { background: rgba(0, 0, 0, .62); }
.app-shell:not(.on-card) :is(.stage-frame, .studio-stage) { box-shadow: var(--shadow-md), inset 0 -80px 80px -60px rgba(0, 0, 0, .35); }

/* Sahne ışıkları: gelinlik hep en parlak öğe; ışık seçimi zeminin sıcaklığını değiştirir. */
.app-shell:not(.on-card) .light-daylight { background: var(--stage); color: var(--cream); }
.app-shell:not(.on-card) .light-sunset { background: radial-gradient(120% 70% at 50% 34%, #5A3D2A 0%, #2C1E16 58%, #14110F 100%); color: var(--cream); }
.app-shell:not(.on-card) .light-ballroom { background: radial-gradient(70% 50% at 50% 22%, #4A3A22 0%, #1C1612 55%, #0B0908 100%); color: var(--cream); }
.app-shell:not(.on-card) :is(.light-daylight, .light-sunset) .dress-title-wrap span { color: var(--cream-muted); }
.app-shell:not(.on-card) .mannequin-mount svg { filter: drop-shadow(0 0 30px rgba(233, 207, 160, .18)); }
.app-shell:not(.on-card) .screen-title, .app-shell:not(.on-card) .dress-title-wrap h1 { font-weight: 400; }

/* ---------- 4 · "Benim gelinliğim": kaydetme anı ---------- */
.app-shell .modal-backdrop.mine-backdrop { align-items: stretch; justify-content: center; padding: 0; background: var(--night); overflow-y: auto; }
.mine-card { position: relative; width: 100%; max-width: 480px; margin: auto; padding: calc(28px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom)); display: grid; justify-items: center; gap: 14px; text-align: center; color: var(--cream); }
.mine-card > * { animation: g-rise .7s var(--ease) both; }
.mine-card > :nth-child(3) { animation-delay: .25s; } .mine-card > :nth-child(4) { animation-delay: .35s; } .mine-card > :nth-child(n+5) { animation-delay: .5s; }
.mine-close { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 12px; animation: none !important; color: var(--cream-muted); }
.mine-frame { position: relative; width: min(62%, 250px); aspect-ratio: 3 / 4.4; border-radius: 200px 200px 14px 14px; overflow: hidden; background: radial-gradient(70% 50% at 50% 26%, #4A3A22 0%, #1C1612 60%, #0B0908 100%); box-shadow: 0 0 0 1px var(--champagne), 0 0 0 9px var(--night), 0 0 0 10px rgba(217,183,126,.45), 0 30px 70px rgba(0,0,0,.6); animation: g-frame 1.1s var(--ease) both; }
@keyframes g-frame { from { opacity: 0; transform: scale(.86) translateY(20px); } to { opacity: 1; transform: none; } }
.mine-frame .mannequin-mount { position: absolute; inset: 9% 6% 4%; width: auto; height: auto; max-width: none; }
.mine-frame .mannequin-mount::after { display: none; }
.mine-name { width: 100%; max-width: 300px; min-height: 52px; padding: 0 18px; background: transparent; border: 0; border-bottom: 1px solid rgba(243,235,221,.3); border-radius: 0; color: var(--cream); font: italic 400 22px var(--font-serif); text-align: center; }
.mine-name::placeholder { color: rgba(185,173,155,.75); }
.mine-actions { display: grid; justify-items: center; gap: 4px; width: 100%; max-width: 320px; }
.mine-actions .g-btn { width: 100%; }
.mine-card .g-head.q { font-size: clamp(28px, 7vw, 38px); overflow-wrap: anywhere; }

/* ---------- 5 · Stüdyo (dik telefon): sahne yerinde kalır, seçenekler başparmak hizasında tepsi olur ---------- */
@media screen and (max-width: 980px) and (min-height: 600px) {
  .studio-stage-wrap { position: sticky; top: var(--topbar-h, 62px); z-index: 25; margin: 0 -16px; padding: 0 16px 8px; background: var(--bg); }
  .studio-stage { min-height: 0; height: clamp(300px, 46vh, 470px); height: clamp(300px, 46dvh, 470px); padding: 12px 14px; }
  /* Rozet ve düğmeler sahnenin üstünde yüzer; gelinlik sahnenin tamamını kullanır. */
  .studio-stage .stage-top-bar { position: absolute; top: 10px; left: 12px; right: 12px; align-items: flex-start; flex-wrap: nowrap; }
  .studio-stage .stage-top-actions { flex-direction: column; align-items: flex-end; gap: 6px; }
  .studio-stage .stage-bottom-meta { position: absolute; left: 14px; right: 14px; bottom: 10px; pointer-events: none; }
  .studio-stage .match-badge { white-space: nowrap; font-size: 12px; padding: 7px 12px; min-width: 0; }
  .studio-stage .match-badge strong { font-size: 12px; }
  .studio-stage .stage-canvas-area { min-height: 0; height: 100%; padding: 48px 0 46px; }
  .studio-stage .mannequin-mount { height: 100%; }
  .studio-stage .dress-title-wrap h1 { font-size: 22px; }
  .studio-stage .api-mode-chip { display: none; }
  /* Panele gidildiğinde üstü sabit sahnenin altında kalmasın. */
  .studio-inspector { display: block; padding-top: 4px; scroll-margin-top: calc(var(--topbar-h, 62px) + clamp(300px, 46vh, 470px) + 16px); scroll-margin-top: calc(var(--topbar-h, 62px) + clamp(300px, 46dvh, 470px) + 16px); }
  .studio-inspector > .inspector-tabs { display: none; } /* aynı sekmeler alttaki sabit çubukta */
  .studio-inspector .control-mini { gap: 8px; }
  .studio-inspector :is(.chip-row.compact, .swatch-row.compact) { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; padding: 4px 2px 8px; scrollbar-width: none; }
  .studio-inspector :is(.chip-row.compact, .swatch-row.compact)::-webkit-scrollbar { display: none; }
  .studio-inspector :is(.chip-row.compact, .swatch-row.compact) > * { flex: 0 0 auto; scroll-snap-align: start; }
}

/* ---------- 6 · Stil kartı: dergi kapağı (açık zemin) ---------- */
.briefing-visual { position: relative; gap: 10px; }
.cover-masthead { font: 400 clamp(22px, 3vw, 34px)/1 var(--font-serif); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); text-align: center; padding-bottom: 10px; border-bottom: 1px solid var(--border-strong); width: 100%; }
.briefing-top h2 { font-style: italic; font-weight: 400; overflow-wrap: anywhere; }
.cover-sub { font-size: 12px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-top: 8px !important; }
.briefing-top #card-stylist-quote { font-family: var(--font-serif); font-size: 17px; line-height: 1.45; color: var(--ink); margin-top: 16px; padding-left: 14px; border-left: 2px solid var(--gold); }

/* ---------- 7 · Paylaşılan tasarım: aile için açık, sıcak sayfa ---------- */
.shared-wrap { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px; align-items: start; }
.shared-visual { position: sticky; top: calc(var(--topbar-h, 62px) + 16px); background: var(--stage); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px 16px; display: grid; justify-items: center; gap: 10px; }
.shared-visual .mannequin-mount { height: clamp(320px, 56vh, 520px); height: clamp(320px, 56dvh, 520px); }
.shared-caption { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); text-align: center; }
.shared-body { display: grid; gap: 14px; }
.shared-body .screen-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 400; }
.shared-dress { font-family: var(--font-serif); font-size: 20px; font-style: italic; }
.shared-specs { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.shared-specs li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.shared-specs span { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.shared-specs strong { font-family: var(--font-serif); font-size: 17px; font-weight: 400; }
.shared-react { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 20px; display: grid; gap: 12px; margin-top: 8px; min-width: 0; }
.shared-react legend { font-family: var(--font-serif); font-size: 22px; padding: 0 8px; }
.react-row { display: flex; flex-wrap: wrap; gap: 8px; }
.react-row > button { min-height: 48px; padding: 0 18px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; transition: transform var(--dur-fast), background var(--dur); }
.react-row > button:active { transform: scale(.97); }
.react-row > button.selected { background: var(--gold-soft); border-color: var(--charcoal); box-shadow: inset 0 0 0 1px var(--charcoal); font-weight: 600; }
.shared-react textarea { width: 100%; min-height: 64px; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; resize: vertical; }
.shared-react .btn-primary:disabled { opacity: .45; cursor: not-allowed; }
.shared-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
@media (max-width: 820px) {
  .shared-wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .shared-visual { position: static; }
  .shared-visual .mannequin-mount { height: clamp(260px, 42vh, 380px); height: clamp(260px, 42dvh, 380px); }
  .shared-specs { grid-template-columns: minmax(0, 1fr); }
  .react-row > button { flex: 1 1 auto; }
}
@media print { .cover-masthead { font-size: 20pt; } }

/* ---------- 8 · İlk kişisel fotoğraf ---------- */

/* "Banyo": çizim bulanır, fotoğraf bulanıktan netliğe gelir. */

@keyframes g-develop { from { filter: blur(18px) brightness(.5); transform: scale(1.06); } to { filter: none; transform: none; } }
@keyframes g-breathe { 50% { opacity: .55; } }
.photo-form { display: grid; justify-items: center; gap: 10px; width: 100%; max-width: 320px; }
.photo-form .g-btn { width: 100%; }
.photo-form .group-label { color: var(--cream-muted); }
.photo-input { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid rgba(243,235,221,.3); border-radius: 14px; background: var(--night-2); color: var(--cream); font: inherit; font-size: 16px; text-align: center; }

@media print { body { background: #fff; } }

/* ---------- 9. Hesabım ---------- */
.icon-btn.signed { position: relative; }
.icon-btn.signed::after { content: ''; position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--night); }
.account-body { display: grid; gap: 14px; }
.account-body .photo-form { margin: 4px auto 0; }
.account-signed { display: grid; gap: 14px; }
.account-facts { display: grid; gap: 0; margin: 0; border-top: 1px solid rgba(243,235,221,.14); }
.account-facts > div { display: grid; grid-template-columns: 116px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(243,235,221,.14); }
.account-facts dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-muted); }
.account-facts dd { margin: 0; color: var(--cream); overflow-wrap: anywhere; }
.account-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.account-actions .btn-outline { flex: 1 1 140px; min-height: 44px; }
.account-danger { justify-self: start; color: #E7A79B; }
.account-danger:hover { color: #F3C4BB; }

/* Ekran okuyucuya özel metin (görsel olarak gizli). */
.gizli-metin { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Rehbere dönüş bağlantısı: üst çubukta diğer düğmelerle aynı boyda. */
#btn-rehber { text-decoration: none; }

/* Görünürlük güvencesi (journey.js hareketGuvencesi): animasyon ilerlemezse giriş efektleri kapanır, içerik görünür. */
.hareket-bitti :is(.screen, .g-foot > *, .g-qhead, .g-tile, .g-skin button, .g-open .g-photo, .g-reveal .g-photo, .g-reveal .g-croquis, .mine-card > *, .mine-frame) { animation: none !important; }

/* Rehberle ortak bağ: marka yanında araç adı, açık "Rehbere dön", simgeler etiketli. */

#btn-api-settings svg { flex: none; }
#btn-rehber { white-space: nowrap; }
/* Dar ekranda yazılı etiket yalnız "Rehbere dön" ve "Panom"da kalır; ayar simgesinin adı ekran okuyucuya ve ipucuna gider. */
@media (max-width: 480px) { #btn-open-board > span:not(.badge-count) { display: inline; } #btn-api-settings > span { display: none; } #btn-api-settings { padding: 0; width: 44px; justify-content: center; } }
@media (max-width: 370px) { #btn-open-board > span:not(.badge-count) { display: none; } }
