/* MiYOSMART deneyim sayfası — telefon öncelikli */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--txt); font-family: var(--font); }
body { min-height: 100vh; padding-bottom: env(safe-area-inset-bottom); }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
a { color: inherit; }

.d-head { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: linear-gradient(180deg, #1b1327, #150f1f); border-bottom: 1px solid var(--line); }
.d-logo img { height: 34px; display: block; background: #fff; border-radius: 9px; padding: 4px 8px; }
.d-title { display: flex; flex-direction: column; line-height: 1.25; }
.d-title b { font-size: 17px; }
.d-title span { font-size: 12.5px; color: var(--mut); }

.d-main { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; padding: 14px 16px 24px; max-width: 1400px; margin: 0 auto; }
.d-sim { min-width: 0; }
.d-views { display: grid; grid-template-columns: 1fr; background: #000; border-radius: 16px; overflow: hidden; }
.d-view { position: relative; height: min(66vh, 600px); overflow: hidden; }
.d-chip { text-transform: none; letter-spacing: 0; font-size: 14px; padding: 7px 14px; }
.d-chip small { display: block; font-size: 11px; font-weight: 500; color: var(--mut); }
.caption { bottom: 18px; font-size: 14px; }

.d-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 12px; }
.d-seg, .d-ages { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 3px; border-radius: 13px; background: rgba(255,255,255,.06); }
.d-seg button, .d-ages button { padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--mut); }
.d-seg button.on, .d-ages button.on { background: var(--acc); color: #fff; }
.d-ages button { padding: 7px 11px; font-size: 13px; }
.d-sun { padding: 10px 16px; border-radius: 13px; font-weight: 700; background: rgba(245,166,35,.14); color: #ffd08a; border: 1px solid rgba(245,166,35,.4); }
.d-sun.on { background: #f5a623; color: #2a1a00; }

.d-row { margin-top: 10px; display: flex; justify-content: center; }
.d-sl { display: flex; align-items: center; gap: 12px; width: min(520px, 100%); padding: 10px 14px; border-radius: 13px; background: rgba(255,255,255,.05); }
.d-sl span { font-size: 12px; font-weight: 700; color: var(--mut); text-transform: uppercase; letter-spacing: .05em; }
.d-sl b { min-width: 54px; text-align: right; font-size: 16px; }
.d-sl input { flex: 1; accent-color: var(--acc); height: 28px; }
.d-hint { margin: 12px auto 0; max-width: 760px; text-align: center; font-size: 14px; line-height: 1.6; color: #ddd2e8; }
.d-hint b { color: #fff; }

.d-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.d-card { padding: 16px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.d-card h2 { margin: 0 0 10px; font-size: 17px; }
.d-card h2 small { font-size: 12px; color: var(--mut); font-weight: 500; }
.d-what ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.6; }
.d-what li { margin-bottom: 6px; }
.d-chart { width: 100%; height: 200px; display: block; margin-top: 10px; }
.d-note { font-size: 11.5px; color: var(--mut); line-height: 1.5; margin: 8px 0 0; }
.d-cta { background: linear-gradient(135deg, #3d1450 0%, #5b2470 100%); border: 0; }
.d-cta p { margin: 0 0 12px; font-size: 14px; line-height: 1.6; color: #f3e9f6; }
.d-wa { display: block; text-align: center; background: #25D366; color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; padding: 14px 18px; border-radius: 14px; box-shadow: 0 6px 18px rgba(37,211,102,.32); }
.d-tel { display: block; text-align: center; margin-top: 8px; padding: 11px; border-radius: 12px; background: rgba(255,255,255,.12); text-decoration: none; font-weight: 700; }
.d-more { display: block; margin-top: 10px; text-align: center; font-size: 13.5px; color: #f6b27a; text-decoration: none; font-weight: 600; }
.d-legal { padding: 0 4px; }

@media (max-width: 900px) {
  .d-main { grid-template-columns: 1fr; padding: 10px 10px 24px; }
  .d-view { height: 56vh; min-height: 300px; }
  .d-title b { font-size: 15px; }
}

.d-who { margin-left: auto; padding: 8px 12px; border-radius: 11px; background: rgba(255,255,255,.08); font-size: 12.5px; font-weight: 600; color: #ddd2e8; }
.d-gate { display: grid; place-items: start center; padding: 28px 16px 40px; min-height: calc(100vh - 60px); background: radial-gradient(900px 500px at 50% -10%, #3a1f45 0%, var(--bg) 60%); }
.d-form { width: min(560px, 100%); padding: 24px 22px; border-radius: 20px; background: #1d1528; border: 1px solid var(--line2); box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.d-form-k { font-size: 11.5px; letter-spacing: .14em; font-weight: 700; color: #f6b27a; }
.d-form h1 { margin: 6px 0 8px; font-size: 22px; }
.d-form p { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: #ddd2e8; }
.d-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.d-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color: var(--mut); letter-spacing: .03em; }
.d-grid select, .d-grid input { height: 48px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(0,0,0,.3); color: #fff; font: inherit; font-size: 16px; padding: 0 12px; outline: none; }
.d-grid select:focus, .d-grid input:focus { border-color: var(--acc); }
.d-grid select option { background: #1d1528; }
.d-err { margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(229,83,75,.16); color: #ffb3ad; font-size: 13px; }
.d-go { width: 100%; height: 54px; margin-top: 16px; border-radius: 14px; background: linear-gradient(135deg, var(--acc), #7d2d86); color: #fff; font-weight: 700; font-size: 17px; }
.d-small { margin: 12px 0 0 !important; font-size: 11.5px !important; color: var(--mut) !important; }
.d-wa-main { width: min(520px, 100%); margin: 12px auto 0; }
@media (max-width: 520px) { .d-grid { grid-template-columns: 1fr; } .d-who { font-size: 11px; padding: 6px 8px; } }
[hidden] { display: none !important; }

/* markaadasi.com içine gömülü: yükseklik vh'ye bağlı olmasın (sonsuz büyüme olmasın) */
.embed body { min-height: 0; }
.embed .d-gate { min-height: 0; padding-top: 22px; }
.embed .d-view { height: 560px; }
@media (max-width: 900px) { .embed .d-view { height: 440px; min-height: 0; } }

.d-cams { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin-bottom: 10px; border-radius: 16px; background: rgba(255,255,255,.06); }
.d-cams button { padding: 13px 10px; border-radius: 12px; font-size: 16px; font-weight: 600; color: var(--mut); letter-spacing: .01em; }
.d-cams button b { font-weight: 800; letter-spacing: .06em; margin-right: 4px; }
.d-cams button.on { background: linear-gradient(135deg, var(--acc), #7d2d86); color: #fff; box-shadow: 0 6px 18px rgba(180,79,184,.3); }

/* form alanları kartın dışına taşmasın; Safari'nin parlak yerel select görünümü yerine düz kutu */
.d-form { overflow: hidden; }
.d-grid label { min-width: 0; }
.d-grid select, .d-grid input { width: 100%; min-width: 0; max-width: 100%; -webkit-appearance: none; appearance: none; }
.d-grid select { padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a99bb8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.d-grid select:disabled { opacity: .45; }

/* reçete tablosu (sağ / sol · SPH · CYL · AKS) */
.d-rx { grid-column: 1 / -1; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.d-rx-t { font-size: 12px; font-weight: 700; color: var(--mut); letter-spacing: .03em; margin-bottom: 8px; }
.d-rx-t small { font-weight: 500; }
.d-rx-h, .d-rx-r { display: grid; grid-template-columns: 44px repeat(3, minmax(0, 1fr)); gap: 8px; align-items: center; }
.d-rx-h b { text-align: center; font-size: 12px; color: var(--mut); letter-spacing: .06em; }
.d-rx-r { margin-top: 8px; }
.d-rx-r > b { font-size: 15px; }
.d-rx-r select { width: 100%; min-width: 0; height: 50px; border-radius: 12px; border: 1px solid var(--line2); background: #0e0a16; color: #fff; font: inherit; font-size: 17px; font-weight: 700; text-align: center; text-align-last: center; padding: 0 6px; outline: none; -webkit-appearance: none; appearance: none; }
.d-rx-r select:focus { border-color: var(--acc); }
.d-rx-r select:disabled { opacity: .4; }
.d-rx-r select option { background: #1d1528; }
.d-rx-b { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.d-rx-b button, .d-rx-no { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 12px; background: rgba(255,255,255,.07); font-size: 14px; font-weight: 600; color: #fff; cursor: pointer; padding: 0 10px; text-align: center; }
.d-rx-no input { width: 18px; height: 18px; accent-color: var(--acc); }
.d-rx-n { margin: 8px 0 0 !important; font-size: 11.5px !important; color: var(--mut) !important; }
.d-eye { margin-right: 8px; }
.d-row { flex-wrap: wrap; gap: 8px; align-items: center; }
@media (max-width: 520px) { .d-rx-r select { font-size: 15px; height: 46px; } .d-rx-h, .d-rx-r { grid-template-columns: 34px repeat(3, minmax(0, 1fr)); gap: 6px; } }
.d-grid > label:first-child { grid-column: 1 / -1; }
.d-grid input[type=checkbox] { width: 20px; height: 20px; min-width: 20px; padding: 0; border-radius: 4px; -webkit-appearance: auto; appearance: auto; flex: 0 0 auto; accent-color: var(--acc); }
.d-grid .d-rx-no { flex-direction: row; letter-spacing: 0; font-size: 14px; color: #fff; }

/* ================= AÇIK TEMA (beyaz, yumuşak) ================= */
:root { --lt-bg: #f8f5fb; --lt-card: #ffffff; --lt-line: #e7dff0; --lt-line2: #d9cde6; --lt-txt: #2b2230; --lt-mut: #7b6c88; --lt-soft: #f2ecf7; --lt-acc: #8e2f8f; }
html, body { background: var(--lt-bg); color: var(--lt-txt); }
.d-head { background: #fff; border-bottom: 1px solid var(--lt-line); }
.d-logo img { box-shadow: 0 0 0 1px var(--lt-line); }
.d-title span { color: var(--lt-mut); }
.d-who { background: var(--lt-soft); color: var(--lt-txt); }
.d-gate { background: radial-gradient(900px 480px at 50% -10%, #efe1f3 0%, var(--lt-bg) 62%); }
.d-form { background: var(--lt-card); border: 1px solid var(--lt-line); box-shadow: 0 18px 50px rgba(90, 40, 110, .10); }
.d-form-k { color: #c26a1e; }
.d-form p { color: #4d4157; }
.d-grid label { color: var(--lt-mut); }
.d-grid select, .d-grid input { background-color: #fff; color: var(--lt-txt); border-color: var(--lt-line2); }
.d-grid input::placeholder { color: #a99bb6; }
.d-grid select option, .d-rx-r select option { background: #fff; color: var(--lt-txt); }
.d-grid select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237b6c88' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.d-rx { background: #fbf9fd; border-color: var(--lt-line); }
.d-rx-t, .d-rx-h b { color: var(--lt-mut); }
.d-rx-r > b { color: var(--lt-txt); }
.d-rx-r select { background: #fff; color: var(--lt-txt); border-color: var(--lt-line2); }
.d-rx-b button, .d-rx-no { background: var(--lt-soft); color: var(--lt-txt); }
.d-grid .d-rx-no { color: var(--lt-txt); }
.d-rx-n, .d-small { color: var(--lt-mut) !important; }
.d-err { background: #fdecea; color: #b3261e; }
.d-main { color: var(--lt-txt); }
.d-cams, .d-seg, .d-ages { background: var(--lt-soft); }
.d-cams button, .d-seg button, .d-ages button { color: var(--lt-mut); }
.d-cams button.on, .d-seg button.on, .d-ages button.on { color: #fff; }
.d-sun { background: #fff4e5; color: #a65c00; border-color: #f5c98a; }
.d-sun.on { background: #f5a623; color: #2a1a00; }
.d-sl { background: var(--lt-soft); }
.d-sl span { color: var(--lt-mut); }
.d-sl b { color: var(--lt-txt); }
.d-hint { color: #4d4157; }
.d-hint b { color: var(--lt-txt); }
.d-card { background: var(--lt-card); border-color: var(--lt-line); box-shadow: 0 6px 20px rgba(90, 40, 110, .05); }
.d-card h2 small, .d-note { color: var(--lt-mut); }
.d-what ul { color: #3a3044; }
.d-cta { background: linear-gradient(135deg, #3d1450 0%, #5b2470 100%); border: 0; color: #fff; }
.d-cta h2 { color: #fff; }
/* simülasyon üzerindeki koyu etiketler beyaz yazı kalsın */
.d-view, .d-view .lens-chip, .d-view .caption { color: #fff; }
.d-view .lens-chip small { color: rgba(255,255,255,.7); }
.d-view .caption b { color: #e9a6ea; }
