/* Sexy-Dates – Kontobereich (ergänzt admin.css). Handy zuerst. */

body.site { min-height: 100vh; display: flex; flex-direction: column; }
.site-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-top .spacer { width: 44px; }
.icon-btn.plain { border: none; background: none; }
.site-main { width: 100%; max-width: 620px; margin: 0 auto; padding: 18px 16px 48px; flex: 1; }
.site-title { font: 600 32px/1.12 var(--serif); margin: 6px 0 14px; }
.lead { font-size: 16px; color: #5E5962; line-height: 1.5; }
.center { text-align: center; }
.small-print { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Auswahl & Häkchen */
fieldset.choice { border: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
fieldset.choice legend { font-size: 14px; font-weight: 600; color: #4E4952; margin-bottom: 8px; }
.form label.choice-item { flex-direction: row; align-items: flex-start; gap: 12px; padding: 14px; margin: 0; border: 1px solid var(--line-strong); border-radius: 14px; cursor: pointer; font-weight: 400; }
.choice-item:has(input:checked) { border-color: var(--primary); background: var(--blush); }
.choice-item input { width: 22px; height: 22px; accent-color: var(--primary); margin-top: 1px; flex: none; }
.choice-item span { display: flex; flex-direction: column; gap: 2px; color: var(--text); }
.choice-item small { font-size: 13px; }
.form label.check { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 400; color: var(--text); line-height: 1.45; }
.check input { width: 22px; height: 22px; flex: none; accent-color: var(--primary); margin-top: 1px; }

/* Assistent */
.wizard-progress { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.wizard-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--muted); }
.wizard-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.wizard-bar span { height: 6px; border-radius: 3px; background: #EADFDA; }
.wizard-bar span.on { background: var(--primary); }

.photo-frame { position: relative; height: 230px; border-radius: 18px; background: #3A3740; overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.photo-guide { width: 78%; aspect-ratio: 1.58; border: 3px dashed rgba(255,255,255,.85); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9); font-size: 14px; text-align: center; padding: 8px; }
.photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #3A3740; }
.file-btn { position: relative; overflow: hidden; width: 100%; margin-bottom: 10px; }
.file-btn input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 14px; color: #5E5962; }
.ticks li { display: flex; gap: 8px; align-items: center; }

.code-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px 20px; display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 4px 0 16px; text-align: center; }
.code-card .label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.code-card .code { font: 700 58px/1.1 var(--serif); letter-spacing: .06em; color: var(--primary); }
.code-card .rule { height: 1px; width: 100%; background: var(--line); margin: 12px 0; }
.code-card .gesture { font-size: 20px; font-weight: 600; }
.howto { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: #5E5962; margin: 8px 0 24px; }
.howto strong { color: var(--text); }
.sticky-actions { position: sticky; bottom: 0; padding: 12px 0 16px; background: linear-gradient(transparent, var(--bg) 30%); }
.sticky-actions .btn { width: 100%; }

/* Konto-Übersicht */
.hero-box { background: var(--blush); border-radius: 20px; padding: 24px 20px; margin-bottom: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hero-box p { margin: 0 0 10px; color: #4E4952; line-height: 1.5; }
.hero-icon { width: 60px; height: 60px; border-radius: 30px; background: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; }
.progress-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.progress-list li { display: flex; gap: 12px; align-items: center; }
.progress-list li > span:last-child { display: flex; flex-direction: column; }
.progress-list small { font-size: 13px; color: var(--muted); }
.dot { flex: none; width: 30px; height: 30px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.dot.ok { background: var(--ok-bg); color: var(--ok-text); }
.dot.gold { background: var(--gold-bg); color: var(--gold-text); }
.dot.todo { background: #F1ECE9; color: var(--muted); }

/* Video-Aufnahme */
body.site-dark { background: #2B2A2E; color: #FFFFFF; }
body.site-dark .site-top { background: #2B2A2E; border-color: #3E3B43; }
body.site-dark .site-top .brand, body.site-dark .icon-btn { color: #FFFFFF; }
body.site-dark .wizard-label { color: #CFC8D0; }
body.site-dark .wizard-bar span { background: #4A4650; }
body.site-dark .wizard-bar span.on { background: #D9849A; }
body.site-dark .site-main { padding-top: 12px; }
.recorder { display: flex; flex-direction: column; gap: 12px; }
.rec-stage { position: relative; height: min(62vh, 560px); border-radius: 22px; background: #47434C; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.rec-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.rec-live { transform: scaleX(-1); }
.rec-guide { position: relative; width: 52%; aspect-ratio: .77; border: 3px dashed rgba(255,255,255,.7); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 14px; color: rgba(255,255,255,.9); padding: 20px; pointer-events: none; }
.rec-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; }
.rec-time { display: inline-flex; align-items: center; gap: 6px; background: rgba(43,42,46,.75); padding: 6px 12px; border-radius: 14px; font-size: 14px; font-weight: 600; }
.rec-dot { width: 10px; height: 10px; border-radius: 5px; background: #E5484D; }
.rec-card { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255,255,255,.95); color: var(--text); border-radius: 16px; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rec-card span { display: flex; flex-direction: column; }
.rec-card .right { text-align: right; }
.rec-card small { font-size: 12px; color: var(--muted); font-weight: 600; }
.rec-card b { font: 700 28px/1 var(--serif); color: var(--primary); letter-spacing: .04em; }
.rec-card strong { font-size: 15px; }
.rec-stage.reviewing .rec-guide, .rec-stage.reviewing .rec-card { display: none; }
.rec-msg { min-height: 22px; margin: 0; text-align: center; font-size: 15px; color: #E9E2EA; }
.rec-msg.err { color: #FFB4B4; }
.rec-progress { height: 8px; border-radius: 4px; background: #4A4650; overflow: hidden; }
.rec-progress span { display: block; height: 100%; width: 0; background: #D9849A; transition: width .2s; }
.rec-controls { display: flex; justify-content: center; padding: 6px 0 12px; }
.rec-controls.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rec-btn { width: 76px; height: 76px; border-radius: 38px; border: 4px solid #FFFFFF; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.rec-btn span { width: 56px; height: 56px; border-radius: 28px; background: #E5484D; transition: all .15s; }
.rec-btn.recording span { width: 30px; height: 30px; border-radius: 6px; }
.rec-fallback p { color: #E9E2EA; }
body.site-dark .btn.secondary { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,.4); }
body.site-dark .alert { color: var(--text); }

/* Ausgeblendete Elemente bleiben ausgeblendet, auch wenn eine Klasse display setzt */
[hidden] { display: none !important; }
/* Datei-Knöpfe in Formularen: Symbol neben dem Text, Farben wie Buttons */
.form label.btn { flex-direction: row; align-items: center; justify-content: center; gap: 8px; color: #FFFFFF; font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.form label.btn.secondary { color: var(--primary); }

/* ---------- Update 4: Inserat-Editor ---------- */
.editor-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin: -4px 0 8px; }
.meter { height: 8px; border-radius: 4px; background: #EADFDA; overflow: hidden; margin-bottom: 16px; }
.meter span { display: block; height: 100%; background: var(--primary); }
.section-list { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 16px; }
.section-list a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; text-decoration: none; color: var(--text); border-bottom: 1px solid #F3ECE8; }
.section-list a:last-child { border-bottom: none; }
.section-list a:hover { background: var(--bg); color: var(--text); }
.section-list .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.section-list .txt small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-actions.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sticky-actions.two form, .sticky-actions.two form .btn { width: 100%; }
.chip-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.form .chip-checks label { flex-direction: row; margin: 0; font-weight: 500; color: var(--text); }
.chip-checks input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-checks span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; font-size: 15px; }
.chip-checks input:checked + span { background: var(--blush); border-color: var(--primary); color: var(--primary-dark); font-weight: 600; }
.chip-checks input:checked + span::before { content: "✓ "; white-space: pre; }
.chip-checks input:focus-visible + span { outline: 3px solid rgba(168, 76, 96, .35); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span, .chips button { font: 500 14px var(--sans); padding: 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-strong); color: var(--text); }
.chips.clickable button { min-height: 40px; border-radius: 20px; cursor: pointer; }
.price-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #F3ECE8; font-size: 15px; }
.price-row:last-of-type { border-bottom: none; }
.price-edit { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.price-line { display: grid; grid-template-columns: minmax(0, 1fr) 110px 44px; gap: 8px; align-items: center; }
.price-line .chf { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 0 8px; min-height: 48px; background: var(--surface); }
.price-line .chf small { color: var(--muted); }
.price-line .chf input { border: none; min-height: 44px; padding: 0; text-align: right; font-weight: 600; outline: none; }
.day-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid #F3ECE8; }
.day-row .times { display: flex; align-items: center; gap: 6px; }
.day-row input[type=time] { width: 112px; min-height: 44px; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) { .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.photo-tile { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #EDE6E1; border: 1px solid var(--line); }
.photo-tile.cover { border: 2px solid var(--primary); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tag-cover { position: absolute; top: 8px; left: 8px; background: #FFFFFF; color: var(--primary-dark); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 8px; }
.tag-status { position: absolute; bottom: 8px; left: 8px; }
.photo-menu { position: absolute; top: 4px; right: 4px; }
.photo-menu summary { list-style: none; width: 40px; height: 40px; border-radius: 20px; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.photo-menu summary::-webkit-details-marker { display: none; }
.photo-menu form { position: absolute; right: 0; top: 44px; z-index: 5; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 160px; overflow: hidden; }
.photo-menu form button { min-height: 44px; border: none; background: none; text-align: left; padding: 0 14px; font: 500 15px var(--sans); color: var(--text); cursor: pointer; border-bottom: 1px solid #F3ECE8; }
.photo-menu form button:hover { background: var(--bg); }
.photo-menu form button.danger { color: var(--err-text); }
.photo-add label { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; border: 2px dashed #D9C9C2; background: #FFFFFF; color: var(--primary); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-weight: 600; cursor: pointer; }
.photo-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pv-gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 18px; }
.pv-gallery img { flex: none; width: 82%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; scroll-snap-align: start; }
.placeholder-media { padding: 40px 16px; text-align: center; color: var(--muted); background: #F1ECE9; border-radius: 12px; width: 100%; }

/* ---------- Guthaben & Sichtbarkeit (Update 6) ---------- */
.balance-box { background: var(--blush); border-radius: 20px; padding: 20px; margin-bottom: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.balance-label { font-size: 14px; color: var(--muted); }
.balance-value { font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1.1; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.amount-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.form label.amount-chip { margin: 0; position: relative; display: block; }
.amount-chip input { position: absolute; opacity: 0; pointer-events: none; }
.amount-chip span { display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); cursor: pointer; }
.amount-chip strong { font-size: 17px; }
.amount-chip small { color: var(--ok-text); font-weight: 600; font-size: 13px; }
.amount-chip input:checked + span { border-color: var(--primary); background: var(--blush); box-shadow: 0 0 0 1px var(--primary) inset; }
.amount-chip input:focus-visible + span { outline: 3px solid rgba(168, 76, 96, .3); outline-offset: 2px; }
.invoice.is-new { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary) inset; }
.invoice-amount { font-size: 22px; font-weight: 600; margin: 4px 0 6px; }
.invoice-amount small { font-size: 14px; color: var(--ok-text); }
.pay-manual { margin: 12px 0 4px; }
.pay-manual summary { cursor: pointer; color: var(--primary); font-weight: 600; min-height: 40px; display: flex; align-items: center; }
.link-btn { background: none; border: 0; padding: 8px 0; color: var(--muted); text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; }
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F3ECE8; }
.ledger li:last-child { border-bottom: 0; }
.ledger li > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.ledger small { color: var(--muted); font-size: 13px; }
.ledger .amt { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ledger .amt.plus { color: var(--ok-text); }
.product .card-head { margin-bottom: 2px; }
.product-status { font-size: 14px; font-weight: 600; color: var(--ok-text); margin: 0 0 10px; }
.product-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.product-option { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.product-option .btn { width: 100%; justify-content: space-between; gap: 10px; }
.product-option .btn.is-short { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; min-height: 56px; }
.product-option .btn.is-short small { font-size: 12px; font-weight: 600; }
.hour-pick { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.home-cards { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 16px; }
.home-card { display: flex; flex-direction: column; gap: 2px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--text); min-height: 88px; }
.home-card small { color: var(--muted); font-size: 13px; }
.home-card strong { font-size: 18px; }

.product-option .btn { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; width: 100%; padding: 10px 8px; line-height: 1.25; white-space: normal; text-align: center; }
.product-option .btn span { font-size: 14px; font-weight: 500; opacity: .9; }
.product-option .btn strong { font-size: 17px; white-space: nowrap; }
.hour-pick { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; margin: 0 0 12px; font-size: 15px; text-align: left; width: 100%; }
.hour-pick select { width: auto; min-width: 130px; flex: none; }

/* Unternavigation der Studio-Verwaltung */
.subnav { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; margin: 0 0 6px; -webkit-overflow-scrolling: touch; }
.subnav a { flex: none; min-height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--line-strong, #D9C9C2); background: var(--surface, #fff); color: var(--text, #2B2A2E); display: inline-flex; align-items: center; text-decoration: none; font: 500 15px var(--sans); }
.subnav a[aria-current="page"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.row-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #F3ECE8; flex-wrap: wrap; }
.row-item:last-child { border-bottom: none; }
.row-item .meta { min-width: 0; flex: 1 1 180px; }
.row-item .meta small { display: block; color: var(--muted, #6B6670); }
.row-item form { display: inline; }
.hours-row { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 8px; align-items: end; margin-bottom: 8px; }
.hours-row > span { padding-bottom: 12px; font-weight: 500; }
.hours-row label { margin: 0; font-size: 12px; }
.pkg-grid { display: grid; gap: 12px; }
.pkg-card { border: 1px solid var(--line, #EADFD9); border-radius: 16px; padding: 14px; background: #fff; }
.pkg-card.current { border: 2px solid var(--primary); }
.pkg-card h3 { margin: 0 0 2px; font: 600 20px var(--serif); }
.pkg-card p { margin: 0 0 10px; color: var(--muted, #6B6670); font-size: 14px; }
.pkg-card .btn { width: 100%; }

/* Bewertungen (Konto) */
.rv-stars{color:#C9921E;letter-spacing:1px}
.rv-item .rv-head{margin:0 0 6px}
.rv-reply{background:#FBF6F3;border-radius:10px;padding:10px 12px;margin:8px 0}
.rv-reply p{margin:4px 0 0}

/* Statistik */
.stat-bars{display:flex;align-items:flex-end;gap:3px;height:120px;padding-top:6px}
.stat-bars span{flex:1;min-width:3px;background:#A84C60;border-radius:3px 3px 0 0;opacity:.85}

/* Wie weit reicht mein Guthaben? */
.reach-row { padding: 10px 0; border-top: 1px solid var(--line); }
.reach-row:first-of-type { border-top: 0; }
.reach-title { margin: 0 0 4px; }
.reach-row ul { margin: 0; padding-left: 20px; display: grid; gap: 2px; }

/* V21.1 Medien */
.photo-tile { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.photo-tile.dragging { opacity: .75; transform: scale(1.04); box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 4; }
.photo-grid[data-sortable] .photo-tile { cursor: grab; }
.up-bar { height: 6px; background: #EDE6E1; border-radius: 3px; overflow: hidden; margin-top: 8px; }
.up-bar i { display: block; height: 100%; width: 0; background: var(--primary); transition: width .2s; }
.draft-note .linkish { background: none; border: 0; padding: 0 0 0 6px; font: inherit; text-decoration: underline; color: inherit; cursor: pointer; min-height: 44px; }
.photo-menu form button { min-height: 48px; }
.photo-tile img { -webkit-user-drag: none; pointer-events: none; }
