/* =========================================================
   APP SHELL: header, page area, bottom navigation
========================================================= */

.app { min-height: 100vh; min-height: 100dvh; }
.app[hidden] { display: none; }

/* ---------- header ---------- */
.app-header {
    position: sticky; top: 0; z-index: 50;
    padding-top: var(--safe-top);
    background: rgba(var(--ivory-rgb), 0.78); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.app-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(var(--plum-rgb), 0.06); }
.header-inner {
    height: var(--header-h); max-width: 1040px; margin: 0 auto; padding: 0 18px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; line-height: 1; text-decoration: none; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-main {
    font-family: var(--font-display); font-size: 22px; letter-spacing: 0.34em; padding-left: 0.34em; text-align: center;
    background: linear-gradient(100deg, var(--plum), var(--rose-deep));
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.brand-sub { display: flex; align-items: center; gap: 7px; margin-top: 5px; }
.brand-sub i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), 0.8)); }
.brand-sub i:last-child { background: linear-gradient(270deg, transparent, rgba(var(--gold-rgb), 0.8)); }
.brand-sub em { font-family: var(--font-display); font-style: italic; font-size: 11.5px; letter-spacing: 0.15em; color: var(--gold); white-space: nowrap; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button {
    position: relative; width: 44px; height: 44px; display: grid; place-items: center;
    border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--plum-2);
    box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.icon-button:active { transform: scale(0.94); }
.bell-dot {
    position: absolute; top: 10px; right: 11px; width: 9px; height: 9px; border-radius: 50%;
    background: var(--rose); border: 2px solid var(--card);
}
.avatar {
    width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--card);
    font-weight: 700; font-size: 15px; letter-spacing: 0.03em; color: #fff; cursor: pointer;
    background: linear-gradient(145deg, var(--plum-2), var(--rose));
    box-shadow: 0 0 0 1.5px var(--gold), var(--shadow-sm);
}

/* ---------- page ---------- */
.page {
    max-width: 1040px; margin: 0 auto;
    padding: 6px 18px calc(var(--nav-h) + var(--safe-bottom) + 28px);
}
.page-enter { animation: pageEnter 0.5s var(--ease) both; }
@keyframes pageEnter { from { opacity: 0; transform: translateY(14px); } }

/* ---------- bottom navigation ---------- */
.bottom-nav {
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    padding: 0 12px calc(var(--safe-bottom) + 10px);
    pointer-events: none;
}
.nav-bar {
    position: relative; pointer-events: auto; max-width: 560px; margin: 0 auto; height: 70px;
    display: grid; grid-template-columns: 1fr 1fr 84px 1fr 1fr; align-items: center;
    background: rgba(var(--card-rgb), 0.97); border: 1px solid var(--line); border-radius: 26px;
    box-shadow: 0 -2px 8px rgba(var(--plum-rgb), 0.04), 0 16px 40px rgba(var(--plum-rgb), 0.18);
}
.nav-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    height: 100%; border: 0; background: transparent; text-decoration: none;
    font-size: 10.5px; font-weight: 750; letter-spacing: 0.12em; color: var(--muted);
    transition: color 0.25s;
}
.nav-item .icon { transition: transform 0.35s var(--ease); }
.nav-item.active { color: var(--rose-deep); }
.nav-item.active .icon { transform: translateY(-1px) scale(1.1); }
.nav-item.active::after {
    content: ""; position: absolute; bottom: 7px; width: 18px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--rose));
}
.nav-item { position: relative; }
.nav-item.active::after { left: 50%; transform: translateX(-50%); }

.nav-plus-slot { position: relative; display: grid; place-items: center; height: 100%; }
.nav-plus {
    position: absolute; top: -26px; width: 68px; height: 68px; display: grid; place-items: center;
    border: 5px solid var(--ivory); border-radius: 50%; color: var(--btn-ink);
    background: linear-gradient(145deg, var(--btn-a) 0%, var(--rose-deep) 100%);
    box-shadow: 0 12px 26px rgba(var(--rose-deep-rgb), 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.nav-plus:active { transform: scale(0.92); }
.nav-plus:hover { box-shadow: 0 16px 32px rgba(var(--rose-deep-rgb), 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.35); }

.page-stub {
    margin-top: 40px; padding: 44px 24px; text-align: center; border-radius: var(--radius-lg);
    background: var(--card); border: 1px dashed var(--line-strong);
}
.page-stub .stub-icon { width: 64px; height: 64px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 20px; color: var(--plum-2); background: var(--tint); }
.page-stub h2 { font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.page-stub p { margin: 8px auto 0; max-width: 340px; color: var(--muted); }

@media (min-width: 900px) {
    .page { padding-left: 28px; padding-right: 28px; }
    .header-inner { padding: 0 28px; }
}

/* ---------- More page ---------- */
.page-title { font-family: var(--font-display); font-weight: 400; font-size: 30px; color: var(--ink); margin: 6px 4px 16px; }
.more-list { display: grid; gap: 10px; margin-top: 14px; }
.more-row {
    width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-align: left;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--ink);
    box-shadow: var(--shadow-sm); cursor: pointer; font: inherit; transition: transform .2s var(--ease), box-shadow .2s;
}
.more-row:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.more-icon { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 14px; color: var(--plum-2); background: var(--tint); }
.more-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.more-text strong { font-size: 16px; font-weight: 650; }
.more-text small { font-size: 13px; color: var(--muted); }
.more-live { border-color: rgba(var(--rose-rgb), 0.35); background: linear-gradient(160deg, var(--card), var(--card-end)); }
.more-live .more-icon { color: var(--btn-ink, #fff); background: linear-gradient(145deg, var(--btn-a), var(--rose-deep)); }
.more-swatch { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 3px var(--card), 0 0 0 4px var(--line-strong); }
.more-row .icon { color: var(--muted); }
.more-row .more-icon .icon { color: inherit; }

/* ---------- theme picker ---------- */
.theme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.theme-card {
    position: relative; display: grid; gap: 10px; padding: 10px; text-align: left; font: inherit; cursor: pointer;
    border: 2px solid var(--line); border-radius: 20px; background: var(--card); color: var(--ink);
    transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.theme-card:hover { transform: translateY(-2px); }
.theme-card.selected { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(var(--rose-rgb), 0.16); }
.theme-preview { display: grid; gap: 7px; padding: 8px; border-radius: 14px; border: 1px solid rgba(128,128,128,.18); }
.theme-hero { display: flex; flex-direction: column; justify-content: center; gap: 5px; height: 38px; padding: 0 9px; border-radius: 9px; }
.theme-hero b { display: block; width: 44px; height: 5px; border-radius: 3px; opacity: .9; }
.theme-dots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.theme-dots i { height: 16px; border-radius: 6px; }
.theme-btn { height: 10px; border-radius: 6px; }
.theme-meta { display: grid; gap: 1px; padding: 0 2px 2px; }
.theme-meta strong { font-size: 14.5px; font-weight: 650; }
.theme-meta small { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.theme-check { position: absolute; top: 14px; right: 14px; display: none; color: #fff; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.theme-card.selected .theme-check { display: block; }
.theme-foot { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* ---------- Bookings page ---------- */
.bookings { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.bookings > * { min-width: 0; }
.bk-sticky { position: sticky; top: calc(var(--header-h) + var(--safe-top)); z-index: 20; padding: 6px 0 8px; }
.bk-sticky::before { content: ""; position: absolute; inset: 0 -16px; z-index: -1; background: rgba(var(--ivory-rgb), 0.92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.bk-tabs {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 5px; border-radius: 999px;
    background: rgba(var(--card-rgb), var(--glass)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.bk-tabs::-webkit-scrollbar { display: none; }
.bk-tab {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 999px;
    background: transparent; color: var(--ink-soft); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer;
    transition: background .25s var(--ease), color .25s, box-shadow .25s, transform .2s;
}
.bk-tab:hover { color: var(--ink); }
.bk-tab:active { transform: scale(.97); }
.bk-tab.active { color: var(--btn-ink); background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); box-shadow: 0 6px 16px rgba(var(--rose-deep-rgb), .35); }
.bk-count { min-width: 22px; height: 22px; padding: 0 7px; display: inline-grid; place-items: center; border-radius: 999px; font-size: 12px; font-weight: 750; background: var(--tint); color: var(--plum-2); }
.bk-tab.active .bk-count { background: rgba(255,255,255,.25); color: inherit; }
.bk-search {
    display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border-radius: 16px;
    background: var(--card); border: 1px solid var(--line-strong); color: var(--muted);
    transition: border-color .2s, box-shadow .2s;
}
.bk-search:focus-within { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(var(--rose-rgb), .14); }
.bk-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 16px; }
.bk-clear { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--tint); color: var(--plum-2); cursor: pointer; }
.bk-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 1px; }
.bk-chips::-webkit-scrollbar { display: none; }
.bk-chip { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-soft); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s var(--ease); }
.bk-chip.active { color: var(--plum-2); background: var(--tint); border-color: rgba(var(--rose-rgb), .5); }
.bk-list { display: grid; gap: 16px; }
.bk-cancelled { opacity: .72; }
.bk-cancelled .appt-name { text-decoration: line-through; text-decoration-color: rgba(var(--rose-rgb), .5); }
.bk-left { opacity: .7; font-weight: 500; }
.sk-row { height: 92px; border-radius: var(--radius); }

/* Bookings: colourful hero, like Home */
.bk-hero {
    position: relative; overflow: hidden; padding: 18px 18px 16px; border-radius: var(--radius-lg); color: #fff;
    background:
        radial-gradient(380px 200px at 105% -20%, rgba(var(--glow1-rgb), 0.55), transparent 65%),
        radial-gradient(320px 180px at -10% 120%, rgba(var(--glow2-rgb), 0.35), transparent 65%),
        linear-gradient(135deg, var(--hero1) 0%, var(--hero2) 55%, var(--hero3) 100%);
    box-shadow: 0 18px 40px rgba(var(--plum-rgb), 0.24);
}
.bk-hero::before { content: ""; position: absolute; right: -70px; top: -90px; width: 240px; height: 240px; border-radius: 50%; pointer-events: none; background: repeating-radial-gradient(circle at center, transparent 0 14px, rgba(255,255,255,.07) 14px 15px); }
.bk-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; }
.bk-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.1; }
.bk-hero p { margin-top: 4px; font-size: 13.5px; color: rgba(255,255,255,.8); }
.bk-cal-btn { width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 16px; color: var(--hero-accent); cursor: pointer;
    background: linear-gradient(145deg, rgba(255,255,255,.2), rgba(255,255,255,.07)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transition: transform .2s var(--ease); }
.bk-cal-btn:active { transform: scale(.94); }
.bk-hero-stats { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.bk-hstat { display: grid; gap: 2px; padding: 9px 10px; border-radius: 14px; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font-size: 11.5px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--hero-accent); }
.bk-hstat b { font-family: var(--font-display); font-weight: 400; font-size: 24px; letter-spacing: 0; color: #fff; }

/* day strip under the tabs */
.bk-strip-wrap { min-width: 0; }
.bk-strip { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.bk-strip::-webkit-scrollbar { display: none; }
.bk-day {
    flex: 0 0 56px; display: grid; justify-items: center; gap: 3px; padding: 9px 0 8px; border-radius: 18px; scroll-snap-align: center;
    border: 1px solid var(--line); background: rgba(var(--card-rgb), var(--glass)); color: var(--ink-soft); font: inherit; cursor: pointer;
    transition: transform .2s var(--ease), background .25s, box-shadow .25s;
}
.bk-day span { font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bk-day b { font-family: var(--font-display); font-weight: 400; font-size: 21px; color: var(--ink); }
.bk-day i { width: 6px; height: 6px; border-radius: 50%; background: transparent; }
.bk-day i.has { background: var(--rose); }
.bk-day.today { border-color: rgba(var(--rose-rgb), .55); }
.bk-day:active { transform: scale(.95); }
.bk-day.active { background: linear-gradient(160deg, var(--btn-a), var(--rose-deep)); border-color: transparent; box-shadow: 0 8px 18px rgba(var(--rose-deep-rgb), .35); }
.bk-day.active span, .bk-day.active b { color: var(--btn-ink); }
.bk-day.active i.has { background: var(--btn-ink); }
.bk-day.any { flex-basis: 52px; }

/* colourful summary tile per tab */
.bk-summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); color: #fff; box-shadow: var(--shadow); }
.bk-summary > div { display: grid; gap: 1px; min-width: 0; }
.bk-summary strong { font-family: var(--font-display); font-weight: 400; font-size: 21px; }
.bk-summary span { font-size: 13px; opacity: .9; }
.bk-summary .bk-summary-icon { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 13px; background: rgba(255,255,255,.2); }
.tone-s1 { background: linear-gradient(145deg, var(--s1a), var(--s1b)); }
.tone-s2 { background: linear-gradient(145deg, var(--s2a), var(--s2b)); }
.tone-s3 { background: linear-gradient(145deg, var(--s3a), var(--s3b)); }
.tone-s4 { background: linear-gradient(145deg, var(--s4a), var(--s4b)); }
.bk-summary.tone-hero { background: linear-gradient(135deg, var(--hero1), var(--hero3)); }


/* calendar dialog */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head strong { font-family: var(--font-display); font-weight: 400; font-size: 20px; }
.cal-nav { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--tint); color: var(--plum-2); cursor: pointer; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-week span { text-align: center; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--muted); padding: 4px 0; }
.cal-cell { position: relative; aspect-ratio: 1; display: grid; place-items: center; border: 0; border-radius: 14px; background: transparent; color: var(--ink); font: inherit; cursor: pointer; transition: background .2s, transform .15s; }
.cal-cell b { font-weight: 600; font-size: 15px; }
.cal-cell:hover { background: var(--tint); }
.cal-cell:active { transform: scale(.92); }
.cal-cell.empty { pointer-events: none; }
.cal-cell.today { box-shadow: inset 0 0 0 2px rgba(var(--rose-rgb), .55); }
.cal-cell.selected { background: linear-gradient(145deg, var(--btn-a), var(--rose-deep)); color: var(--btn-ink); box-shadow: 0 6px 14px rgba(var(--rose-deep-rgb), .35); }
.cal-cell:disabled { opacity: .3; pointer-events: none; }
.cal-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }
.cal-cell .cal-dot { position: absolute; bottom: 5px; }
.cal-cell.selected .cal-dot { background: var(--btn-ink); }
.cal-legend { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }

/* never let a page scroll sideways */
.page { overflow-x: clip; }

/* Bookings v3: banner total, month label, colourful detail cards */
.bk-hero { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bk-banner-total { text-align: right; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--hero-accent); position: relative; line-height: 1.25; }
.bk-banner-total b { font-family: var(--font-display); font-weight: 400; font-size: 30px; letter-spacing: 0; color: #fff; margin-right: 4px; }
.bk-banner-total span { display: block; text-transform: none; letter-spacing: .02em; font-size: 13px; color: rgba(255,255,255,.85); }
.bk-cal-row { display: flex; }
.bk-month { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(var(--card-rgb), var(--glass)); color: var(--ink); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.bk-month .icon { color: var(--rose); }
.bk-strip { margin-top: -4px; }


/* Bookings v3 fixes: four tabs fit one phone width, softer sticky backdrop */
.bk-tabs { gap: 2px; padding: 4px; justify-content: space-between; }
.bk-tab { flex: 1 1 auto; justify-content: center; gap: 5px; padding: 9px 8px; font-size: 13px; }
.bk-count { min-width: 20px; height: 20px; padding: 0 5px; font-size: 11.5px; }
.bk-sticky::before { background: rgba(var(--ivory-rgb), 0.5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }

/* Bookings v3.1: tabs always fit, long names wrap */
.bk-tabs { overflow: hidden; gap: 0; }
.bk-tab { flex: 1 1 0; min-width: 0; padding: 9px 2px; gap: 4px; font-size: 12.5px; letter-spacing: -.005em; white-space: nowrap; }
.bk-count { min-width: 18px; height: 18px; padding: 0 4px; font-size: 11px; }
.bk-name { white-space: normal; overflow: visible; }
.bk-status { padding: 6px 9px; font-size: 11px; gap: 5px; }
@media (max-width: 430px) {
    .bk-count { display: none; }
    .bk-tab { font-size: 14px; padding: 11px 2px; }
}
@media (max-width: 380px) { .bk-tab { font-size: 13px; } .bk-tabs { padding: 3px; } }

/* Bookings rows: the familiar list, in full theme colour (status decides the colour) */
.bk-list { gap: 10px; }
.bk-row {
    --c1: var(--s2a); --c2: var(--s2b);
    position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 14px 14px 18px;
    text-align: left; font: inherit; color: var(--ink); cursor: pointer; border-radius: 20px;
    border: 1px solid color-mix(in srgb, var(--c2) 40%, transparent);
    background: linear-gradient(110deg, color-mix(in srgb, var(--c2) 24%, var(--card)) 0%, color-mix(in srgb, var(--c2) 8%, var(--card)) 60%, var(--card) 100%);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--c2) 18%, transparent);
    transition: transform .22s var(--ease), box-shadow .22s;
}
.bk-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--c1), var(--c2)); }
.bk-row:hover { transform: translateY(-2px); box-shadow: 0 12px 26px color-mix(in srgb, var(--c2) 28%, transparent); }
.bk-row:active { transform: scale(.985); }
.bk-row.is-completed { --c1: var(--s3a); --c2: var(--s3b); }
.bk-row.is-cancelled { --c1: var(--s4a); --c2: var(--s4b); }
.bk-row-avatar {
    width: 50px; height: 50px; flex: 0 0 50px; display: grid; place-items: center; border-radius: 17px; color: #fff; font-weight: 700; letter-spacing: .03em;
    background: linear-gradient(145deg, var(--c1), var(--c2)); box-shadow: 0 8px 16px color-mix(in srgb, var(--c2) 40%, transparent), inset 0 1px 0 rgba(255,255,255,.3);
}
.bk-row-main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.bk-row-name { font-weight: 700; font-size: 16.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-row-services { font-size: 13.5px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-row-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 3px; }
.bk-row-time { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--ink); }
.bk-row-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.bk-row-chip.warn { color: #a8420b; background: #fff; box-shadow: inset 0 0 0 1.5px #e8893a; animation: breathe 2.4s ease-in-out infinite; }
.bk-row-sub { font-size: 12.5px; color: var(--muted); }
.bk-row-side { display: grid; justify-items: end; gap: 6px; }
.bk-row-amount { font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.bk-row-side .chevron { color: var(--muted); display: grid; }
.bk-row.is-cancelled .bk-row-name { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--c2) 70%, transparent); }

/* Bookings list = the same rows as Home */
.bk-list .appt-list { display: grid; gap: 10px; }
.bk-list .appt-row.bk-cancelled { opacity: .78; }
.bk-list .appt-row.bk-cancelled .appt-name { text-decoration: line-through; text-decoration-color: rgba(var(--rose-rgb), .5); }
.bk-list .appt-row { border-left-width: 1px; box-shadow: var(--shadow-sm); }
.bk-list .appt-row:has(.chip-completed) { box-shadow: var(--shadow-sm), inset 5px 0 0 var(--success); }
.bk-list .appt-row:has(.chip-cancelled) { box-shadow: var(--shadow-sm), inset 5px 0 0 var(--danger); }
.bk-list .appt-row:has(.chip-booked) { box-shadow: var(--shadow-sm), inset 5px 0 0 var(--rose); }
.bk-list .appt-row:has(.chip-warn) { box-shadow: var(--shadow-sm), inset 5px 0 0 var(--warn-ink); }

/* brand mark */
.brand-mark { flex: 0 0 auto; filter: drop-shadow(0 4px 8px rgba(var(--rose-deep-rgb), .35)); }
.brand-mark .sp { transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.brand-mark .sp.b { animation-delay: 1.4s; }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .brand-mark .sp { animation: none; } }
.brand-main { letter-spacing: 0.3em; }
.theme-sec { margin: 20px 2px 10px; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--plum); }
.theme-auto { margin-left: 4px; padding: 7px 14px; border-radius: 999px; border: 0; font: inherit; font-weight: 700; font-size: 13px; color: var(--btn-ink); background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); cursor: pointer; }

/* More page: every row has its own breathing space */
.more-row.more-live { display: flex; width: 100%; margin-top: 12px; }
.more-list { gap: 12px; margin-top: 12px; }

/* ---------- Festival Themes page ---------- */
.fs-status { margin: 4px 0 16px; padding: 16px; border-radius: 22px; background: linear-gradient(160deg, var(--card), var(--card-end)); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.fs-now { display: flex; align-items: center; gap: 14px; }
.fs-now-sw { flex: 0 0 52px; height: 52px; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 6px 16px rgba(var(--rose-rgb), .25); }
.fs-now small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--muted); }
.fs-now b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.2; }
.fs-now em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--rose-deep); }
.fs-auto { width: 100%; margin-top: 14px; padding: 13px 16px; border-radius: 16px; border: 0; font: inherit; font-weight: 800; font-size: 15px; color: var(--btn-ink); background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); box-shadow: 0 8px 20px rgba(var(--rose-rgb), .3); }
.fs-auto.is-on { background: var(--tint); color: var(--plum-2); box-shadow: inset 0 0 0 1.5px rgba(var(--rose-rgb), .35); }
.fs-status p { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.fs-list { display: grid; gap: 14px; }
.fs-card { padding: 14px; border-radius: 22px; background: linear-gradient(160deg, var(--card), var(--card-end)); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.fs-card.using { border-color: rgba(var(--rose-rgb), .6); box-shadow: 0 0 0 3px rgba(var(--rose-rgb), .12), var(--shadow); }
.fs-top { display: flex; align-items: center; gap: 12px; }
.fs-sw { flex: 0 0 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.fs-name { flex: 1; min-width: 0; }
.fs-name b { display: block; font-size: 17px; line-height: 1.25; }
.fs-name small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.fs-chip { flex: 0 0 auto; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--plum-2); background: var(--tint); }
.fs-chip.live { color: #fff; background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); }
.fs-chip.using { color: var(--success); background: var(--success-soft); }
.fs-chip.done { opacity: .6; }
.fs-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.fs-btn { min-width: 0; padding: 12px 10px; border-radius: 14px; border: 1.5px solid var(--line-strong); font: inherit; font-weight: 700; font-size: 14.5px; color: var(--plum-2); background: transparent; }
.fs-btn.primary { border: 0; color: var(--btn-ink); background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); }
.fs-btn[disabled] { opacity: .55; }
.fs-card .sv-switch.fs-auto-sw { margin: 16px 0 0; }
.fs-status .sv-switch.fs-master { margin: 16px 0 0; }
.fs-actions { margin-top: 16px; }
.fs-dates { display: grid; gap: 12px; }
.fs-date { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 14px 16px; border-radius: 18px; text-align: left; background: var(--tint); border: 1.5px solid var(--line); color: var(--plum-2); }
.fs-date small { grid-column: 1; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--muted); }
.fs-date b { grid-column: 1; font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--ink); }
.fs-date .icon { grid-column: 2; grid-row: 1 / span 2; }
.fs-reset { padding: 10px; font: inherit; font-size: 13px; font-weight: 700; color: var(--rose-deep); background: transparent; border: 0; text-align: center; }

.fs-photo { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px; border-radius: 18px; background: var(--tint); border: 1.5px dashed var(--line-strong); }
.fs-photo img, .fs-photo-empty { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--gold); }
.fs-photo-empty { display: grid; place-items: center; background: var(--card); color: var(--rose-deep); box-shadow: 0 0 0 1.5px var(--line-strong); }
.fs-photo > div { flex: 1; min-width: 0; }
.fs-photo b { display: block; font-size: 14.5px; }
.fs-photo small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.35; color: var(--muted); }
.fs-photo .fs-btn { flex: 0 0 auto; padding: 10px 14px; }
.fs-photo .fs-del { padding: 10px; }

.crop { display: grid; justify-items: center; gap: 14px; }
.crop-stage { position: relative; overflow: hidden; border-radius: 22px; background: #111; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.crop-stage img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; -webkit-user-drag: none; }
.crop-ring { position: absolute; inset: 0; pointer-events: none; border-radius: 50%; box-shadow: 0 0 0 200px rgba(0,0,0,.55), inset 0 0 0 2.5px rgba(255,255,255,.9); }
.crop-zoom { display: flex; align-items: center; gap: 12px; width: 100%; font-size: 13px; font-weight: 700; color: var(--muted); }
.crop-zoom input { flex: 1; accent-color: var(--rose-deep); height: 28px; }
.crop-tip { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }

/* website manager */
.wm-grid { display: grid; gap: 12px; margin-top: 4px; }
.wm-tile { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; text-align: left; border-radius: 22px; background: linear-gradient(160deg, var(--card), var(--card-end)); border: 1.5px solid rgba(var(--rose-rgb), .35); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.wm-tile:active { transform: scale(.985); }
.wm-tile.is-soon { border-color: var(--line); }
.wm-ic { flex: 0 0 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; color: var(--btn-ink, #fff); background: linear-gradient(145deg, var(--btn-a), var(--rose-deep)); box-shadow: 0 6px 16px rgba(var(--rose-rgb), .25); }
.wm-tile.is-soon .wm-ic { background: var(--tint); color: var(--rose-deep); box-shadow: none; }
.wm-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.wm-tx strong { font-size: 16.5px; }
.wm-tx small { font-size: 13px; color: var(--muted); line-height: 1.35; }
.wm-tile > .icon { color: var(--muted); }
.wt-list { display: grid; gap: 14px; }
.wt-card { overflow: hidden; border-radius: 22px; background: linear-gradient(160deg, var(--card), var(--card-end)); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.wt-card.on { border-color: rgba(var(--rose-rgb), .6); box-shadow: 0 0 0 3px rgba(var(--rose-rgb), .12), var(--shadow); }
.wt-mock { padding: 14px 14px 16px; display: grid; gap: 12px; }
.wt-bar { display: flex; align-items: center; gap: 8px; }
.wt-bar b { width: 34px; height: 8px; border-radius: 4px; margin-right: auto; }
.wt-bar i { width: 18px; height: 5px; border-radius: 3px; opacity: .55; }
.wt-hero { display: grid; gap: 7px; }
.wt-hero span { display: block; height: 11px; border-radius: 6px; width: 78%; }
.wt-hero em { display: block; width: 84px; height: 22px; border-radius: 12px; margin-top: 4px; }
.wt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wt-cards u { display: block; height: 38px; border-radius: 10px; }
.wt-info { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.wt-info strong { display: block; font-size: 17px; }
.wt-info small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.wt-info .fs-btn { flex: 0 0 auto; padding: 10px 22px; }
.wt-foot { margin: 16px 4px 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.wt-info .chip { white-space: nowrap; flex: 0 0 auto; }

/* ---------- OFFERS page + creator ---------- */
.of-new { margin: 14px 0 4px; }
.of-list { display: grid; gap: 12px; }
.of-card { border-radius: 22px; background: linear-gradient(160deg, var(--card), var(--card-end)); border: 1.5px solid rgba(var(--rose-rgb), .3); box-shadow: var(--shadow-sm); overflow: hidden; }
.of-card.st-ended { opacity: .66; }
.of-main { display: flex; gap: 14px; padding: 14px; align-items: center; }
.of-thumb { flex: 0 0 74px; height: 74px; border-radius: 18px; overflow: hidden; display: grid; place-items: center; color: var(--rose-deep); background: rgba(var(--rose-rgb), .12); }
.of-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.of-tx { min-width: 0; flex: 1; display: grid; gap: 3px; }
.of-tx small { color: var(--muted); font-size: 12.5px; }
.of-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.of-row b { font-size: 16.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.of-ben { font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--rose-deep); line-height: 1.1; }
.of-chip { flex: 0 0 auto; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; letter-spacing: .02em; }
.of-chip.live { color: var(--success); background: var(--success-soft); }
.of-chip.scheduled { color: var(--plum-2); background: var(--tint); }
.of-chip.paused { color: var(--warn-ink); background: var(--warn-soft); }
.of-chip.ended { color: var(--muted); background: rgba(128,128,128,.14); }
.of-acts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 14px; }
.of-acts button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 99px; font-weight: 650; font-size: 13.5px; color: var(--ink-soft); background: var(--glass, var(--card)); border: 1.5px solid var(--line); }
.of-acts button.warn { color: var(--danger); }
.of-acts button.on { color: var(--btn-ink); border-color: transparent; background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); }
.of-empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 38px 16px; color: var(--muted); }

.of-sheet { z-index: 890; }
.of-q { font-family: var(--font-display); font-weight: 400; font-size: 26px; margin: 4px 0 14px; }
.of-types { display: grid; gap: 12px; }
.of-type { display: flex; align-items: center; gap: 14px; padding: 16px; text-align: left; border-radius: 22px; background: var(--glass, var(--card)); border: 1.5px solid var(--line); transition: .2s; }
.of-type b { display: block; font-size: 17px; }
.of-type small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.of-type > span:nth-child(2) { flex: 1; }
.of-ic { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; color: var(--rose-deep); background: rgba(var(--rose-rgb), .14); }
.of-type.on { border-color: var(--rose); background: linear-gradient(135deg, rgba(var(--rose-rgb), .14), rgba(var(--gold-rgb), .12)); }
.of-type.soon { opacity: .6; }
.of-type em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--tint); color: var(--plum-2); }
.of-tick { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; color: transparent; border: 2px solid var(--line-strong); }
.of-type.on .of-tick { color: #fff; background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); border-color: transparent; }
.of-big { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 22px 16px; }
.of-big label { display: flex; align-items: baseline; gap: 6px; justify-content: center; }
.of-bigin { width: 110px; text-align: center; font-family: var(--font-display); font-size: 64px; line-height: 1; border: 0; background: transparent; color: var(--rose-deep); }
.of-bigin:focus { outline: none; }
.of-big label span { font-size: 18px; font-weight: 700; color: var(--ink-soft); }
.of-step { width: 54px; height: 54px; border-radius: 50%; font-size: 28px; line-height: 1; color: var(--rose-deep); background: rgba(var(--rose-rgb), .14); border: 1.5px solid rgba(var(--rose-rgb), .35); }
.of-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.of-chips button { padding: 10px 18px; border-radius: 99px; font-weight: 700; color: var(--ink-soft); background: var(--glass, var(--card)); border: 1.5px solid var(--line); }
.of-chips button.on { color: var(--btn-ink); border-color: transparent; background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); }
.of-note { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin: 12px 2px; }
.of-tier { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; }
.of-tier label small, .of-lab small { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 6px; }
.of-inw { display: flex; align-items: center; gap: 6px; padding: 0 14px; min-height: 52px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card); }
.of-inw input { width: 100%; border: 0; background: transparent; font-size: 20px; font-weight: 700; color: var(--ink); }
.of-inw input:focus { outline: none; }
.of-inw b { color: var(--muted); }
.of-x { position: absolute; top: -8px; right: -6px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1.5px solid var(--line); color: var(--muted); }
.of-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 18px; background: rgba(var(--rose-rgb), .12); margin-bottom: 14px; }
.of-seg button { min-height: 46px; border-radius: 14px; font-weight: 700; color: var(--ink-soft); }
.of-seg button.on { color: var(--btn-ink); background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); }
.of-all { display: flex; gap: 12px; align-items: center; color: var(--success); }
.of-all p { margin: 0; color: var(--ink-soft); line-height: 1.5; }
.of-selbar { display: flex; align-items: center; justify-content: space-between; margin: 2px 2px 4px; color: var(--ink-soft); }
.of-selbar button { font-weight: 700; color: var(--rose-deep); padding: 8px 4px; }
.of-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.of-date { display: grid; gap: 4px; text-align: left; padding: 14px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--card); color: var(--rose-deep); }
.of-date small { color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.of-date b { color: var(--ink); font-size: 17px; }
.of-date.empty { border-style: dashed; border-color: var(--rose); }
.of-lab { display: block; font-weight: 650; margin-bottom: 14px; }
.of-lab:last-child { margin-bottom: 0; }
.of-lab .input { margin-top: 6px; }
.of-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.of-ph { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: rgba(var(--rose-rgb), .1); border: 1.5px solid var(--line); }
.of-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.of-ph.cover { border-color: var(--rose); }
.of-ph em { position: absolute; left: 6px; bottom: 6px; font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; color: #fff; background: var(--rose-deep); }
.of-main-b { position: absolute; left: 6px; bottom: 6px; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 99px; color: #fff; background: rgba(0,0,0,.55); }
.of-del { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.55); }
.of-ph.add { display: grid; place-content: center; justify-items: center; gap: 4px; border-style: dashed; border-color: var(--rose); color: var(--rose-deep); font-weight: 650; font-size: 12.5px; cursor: pointer; }
.of-prev { border-radius: 26px; overflow: hidden; background: #1b1620; color: #fff; box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.of-pv-img { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--hero1), var(--hero3)); }
.of-pv-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.of-pv-badge { position: absolute; left: 14px; top: 14px; padding: 8px 16px; border-radius: 99px; font-weight: 800; font-size: 15px; color: #2a1a10; background: linear-gradient(135deg, #f5dca0, #d9a94f); }
.of-pv-tx { padding: 18px; display: grid; gap: 8px; }
.of-pv-tx small { letter-spacing: .18em; text-transform: uppercase; font-size: 11.5px; color: #d9b36a; }
.of-pv-tx h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.1; }
.of-pv-tx p { margin: 0; color: rgba(255,255,255,.78); }
.of-pv-tx ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; color: #f1d9a0; font-weight: 650; }
.of-pv-btn { margin-top: 8px; justify-self: start; padding: 12px 22px; border-radius: 99px; font-weight: 700; color: #2a1a10; background: linear-gradient(135deg, #f5dca0, #d9a94f); }
.of-sum { display: grid; gap: 12px; }
.of-sum small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.of-card .of-main { cursor: pointer; }
.of-gal { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px 14px; padding: 0 16px; scrollbar-width: none; }
.of-gal::-webkit-scrollbar { display: none; }
.of-gal img { flex: 0 0 82%; max-height: 300px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; scroll-snap-align: center; }
.of-dtx { margin: 0; color: var(--ink-soft); line-height: 1.5; }
.of-sum b { display: block; font-size: 15.5px; margin-top: 2px; }
.of-dfoot .btn { flex: 1; }
/* big percent number: always fits on a phone */
.of-big { gap: 6px; }
.of-big label { flex: 1; min-width: 0; }
.of-bigin { width: 96px; min-width: 0; padding: 0; font-size: 52px; }
.of-big label span { white-space: nowrap; font-size: 17px; }
.of-range { grid-column: 1 / -1; margin: 0; font-weight: 700; color: var(--rose-deep); }
.kb-done { position: fixed; right: 12px; top: 0; z-index: 3000; min-height: 42px; padding: 0 22px; border-radius: 99px; font-weight: 750; color: var(--btn-ink, #fff); background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); box-shadow: 0 8px 22px rgba(0,0,0,.28); }
.kb-done[hidden] { display: none; }
.of-tier .of-span { grid-column: 1 / -1; }
.of-tier .of-inw input::placeholder { color: var(--muted); font-weight: 500; font-size: 15px; }
.of-type-l { color: var(--muted); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.of-code { text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: 18px; }
.of-combo { display: grid; gap: 12px; }
.of-cmb-n { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: var(--ink-soft); }
.of-cmb-n b { font-size: 20px; color: var(--ink); }
.of-cmb-s { margin: 0; min-height: 20px; font-weight: 700; color: var(--success); }
.of-lab .of-inw { margin-top: 6px; }
.ac-free { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; padding: 2px 8px; border-radius: 99px; color: var(--success); background: var(--success-soft); vertical-align: middle; }
.na-offerpick { display: grid; gap: 8px; margin: 0 0 12px; }
.na-offerpick h4 { margin: 4px 2px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.na-offerpick .na-offer { width: 100%; text-align: left; margin: 0; }

.of-cats { margin-top: 14px; padding-bottom: 10px; }
.na-search + .of-cats { margin-top: 14px; }
.of-scope { list-style: none; margin: 6px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.of-scope li { padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 650; color: var(--ink); background: var(--glass, var(--card)); border: 1.5px solid var(--line); }
.of-scopenote { display: block; font-size: 13px; line-height: 1.45; color: var(--ink-soft); }
.of-pv-on { margin: 10px 0 14px; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,0.78); }
.of-pv-on b { color: #f0d9a0; font-weight: 700; }

/* ===== Home Photos + Home Reviews ===== */
.hm-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 99px; background: var(--glass, var(--card)); border: 1.5px solid var(--line); margin: 14px 0 6px; }
.hm-seg button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 99px; font-weight: 700; color: var(--ink-soft); }
.hm-seg button span { font-size: 12px; padding: 2px 9px; border-radius: 99px; background: rgba(var(--rose-rgb), .14); color: var(--rose-deep); }
.hm-seg button.on { color: var(--btn-ink); background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); box-shadow: var(--shadow-sm); }
.hm-seg button.on span { background: rgba(255,255,255,.25); color: inherit; }
.hm-note { margin: 8px 4px 12px; }
.hm-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: none; border-radius: 22px; scroll-snap-type: x proximity; }
.hm-strip::-webkit-scrollbar { display: none; }
.hm-strip img { flex: 0 0 132px; width: 132px; height: 165px; max-width: none; object-fit: cover; border-radius: 18px; scroll-snap-align: start; box-shadow: var(--shadow-sm); border: 1.5px solid rgba(var(--rose-rgb), .3); }
.hm-striplab { margin: 4px 6px 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hm-add { position: relative; cursor: pointer; }
.hm-add.busy { opacity: .75; pointer-events: none; }
.hm-count { margin: 14px 4px 10px; color: var(--ink-soft); }
.hm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-bottom: 24px; }
.hm-tile { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: rgba(var(--rose-rgb), .1); border: 1.5px solid rgba(var(--rose-rgb), .3); box-shadow: var(--shadow-sm); padding: 0; }
.hm-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.hm-tile:active img { transform: scale(1.04); }
.hm-tile.off img { filter: grayscale(.85) brightness(.7); }
.hm-no { position: absolute; left: 10px; top: 10px; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 99px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); }
.hm-flag { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 99px; color: #fff; background: rgba(0,0,0,.6); }
.hm-flag.first { color: #2a1a10; background: linear-gradient(135deg, #f5dca0, #d9a94f); }
.hm-flag.big { left: 14px; bottom: 14px; }
.hm-sheet .na-body { display: block; }
.hm-big { position: relative; border-radius: 26px; overflow: hidden; background: #14101a; box-shadow: var(--shadow-sm); }
.hm-big img { width: 100%; max-height: 62vh; object-fit: contain; display: block; margin: 0 auto; }
.hm-pos { text-align: center; margin: 12px 0; color: var(--ink-soft); }
.hm-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hm-acts button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 48px; border-radius: 99px; font-weight: 700; font-size: 14px; color: var(--rose-deep); background: var(--glass, var(--card)); border: 1.5px solid var(--line); }
.hm-acts button:disabled { opacity: .4; }
.hm-danger { color: var(--danger) !important; }
.hm-sum { display: flex; align-items: center; gap: 16px; margin: 14px 0 4px; padding: 18px; border-radius: 26px; color: #fff; background: linear-gradient(145deg, #1b1620, #2c2030); box-shadow: var(--shadow-sm); }
.hm-sum-n { font-family: var(--font-display); font-size: 56px; line-height: 1; color: #f1d9a0; }
.hm-sum-i { flex: 1; min-width: 0; }
.hm-sum-i p { margin: 4px 0 0; font-size: 13.5px; color: rgba(255,255,255,.78); }
.hm-sum-b { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 99px; font-weight: 700; font-size: 13.5px; color: #2a1a10; background: linear-gradient(135deg, #f5dca0, #d9a94f); }
.hm-stars { letter-spacing: .12em; color: #e0a23a; font-size: 16px; }
.hm-stars.big { font-size: 20px; }
.hm-rvs { display: grid; gap: 12px; padding-bottom: 24px; }
.hm-rv { padding: 16px; border-radius: 22px; background: linear-gradient(160deg, var(--card), var(--card-end)); border: 1.5px solid rgba(var(--rose-rgb), .3); box-shadow: var(--shadow-sm); display: grid; gap: 10px; }
.hm-rv.off .hm-rv-tx, .hm-rv.off .hm-rv-by { opacity: .55; }
.hm-rv-top { display: flex; align-items: center; justify-content: space-between; }
.hm-rv-tx { margin: 0; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.hm-rv-by { display: grid; }
.hm-rv-by small { color: var(--muted); }
.hm-rv .of-acts { padding: 0; }
.hm-rv .of-acts button:disabled { opacity: .4; }
.hm-r180 { display: inline-flex; transform: rotate(180deg); }
.hm-form .input { width: 100%; }
.hm-ta { min-height: 150px; resize: vertical; line-height: 1.5; font: inherit; }
.hm-cc { display: block; text-align: right; margin-top: 4px; color: var(--muted); }
.hm-pick { display: flex; gap: 6px; margin-top: 6px; }
.hm-pick button { flex: 1; min-height: 52px; border-radius: 16px; font-size: 26px; color: var(--muted); background: var(--glass, var(--card)); border: 1.5px solid var(--line); }
.hm-pick button.on { color: #e0a23a; border-color: #e0a23a; background: rgba(224,162,58,.12); }
.hm-real { display: flex; align-items: flex-start; gap: 12px; text-align: left; padding: 14px; border-radius: 18px; border: 1.5px dashed var(--rose); color: var(--ink); font-weight: 600; width: 100%; }
.hm-real.on { border-style: solid; background: rgba(var(--rose-rgb), .1); }
.hm-real .na-box { flex: 0 0 auto; }
.hm-real.on .na-box { background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); color: var(--btn-ink); border-color: transparent; }
.hm-save { width: 100%; }

/* ===== simpler Photos / Reviews (number buttons) ===== */
.hm-pick-l { margin: 14px 4px 8px; font-weight: 700; color: var(--ink-soft); }
.hm-nums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.hm-nums button { min-height: 50px; border-radius: 16px; font-size: 18px; font-weight: 800; color: var(--rose-deep); background: var(--glass, var(--card)); border: 1.5px solid var(--line); }
.hm-nums button.on { color: var(--btn-ink); border-color: transparent; background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); box-shadow: var(--shadow-sm); }
.hm-form .hm-pick-l:first-child { margin-top: 0; }
.hm-rvs { gap: 10px; }
button.hm-rv { display: flex; align-items: flex-start; gap: 14px; text-align: left; width: 100%; padding: 14px; }
.hm-rv-no { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--btn-ink); background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); }
.hm-rv-m { flex: 1; min-width: 0; display: grid; gap: 4px; }
.hm-rv-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hm-rv-top b { color: var(--ink); }
.hm-hid { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; color: var(--warn-ink); background: var(--warn-soft); }
.hm-rv-tx { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink-soft); line-height: 1.45; }
.hm-sheet .of-dfoot .btn { flex: 1; }
.hm-top { width: 100%; margin-top: 14px; }
.hm-type { display: flex; gap: 10px; }
.hm-type .input { flex: 1; min-width: 0; text-align: center; font-size: 22px; font-weight: 800; }
.hm-type .btn { flex: 0 0 auto; padding-inline: 26px; }

/* ===== press, hold and drag ===== */
.hm-note { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; color: var(--ink-soft); }
.hm-note .icon { flex: 0 0 auto; margin-top: 2px; color: var(--rose-deep); }
.hm-tile, .hm-rv { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.hm-tile img { pointer-events: none; -webkit-user-drag: none; }
.hm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hm-tile { border-radius: 16px; }
.hm-no { left: 6px; top: 6px; min-width: 24px; height: 24px; font-size: 12px; }
.hm-flag { left: 6px; bottom: 6px; font-size: 11px; padding: 4px 9px; }
.ds-ghost { opacity: .25; }
.ds-clone { position: fixed; left: 0; top: 0; z-index: 99999; margin: 0 !important; pointer-events: none; box-shadow: 0 18px 40px rgba(0,0,0,.35), 0 0 0 2px var(--rose); transition: box-shadow .2s; border-radius: 16px; }
.ds-dragging, .ds-dragging body { overscroll-behavior: none; }
.ds-dragging * { -webkit-user-select: none; user-select: none; }

/* ===== review form: calm, no sideways movement, clear stars ===== */
.na-body { overflow-x: hidden; }
.hm-sheet .input, .hm-sheet textarea { box-sizing: border-box; max-width: 100%; }
.hm-sheet { overscroll-behavior: contain; }
.hm-pick button { display: grid; place-items: center; min-height: 58px; padding: 0; transition: transform .16s ease, background .16s ease, box-shadow .16s ease, border-color .16s ease; }
.hm-pick button i { font-style: normal; font-size: 30px; line-height: 1; color: rgba(120, 100, 110, .45); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), color .16s; }
.hm-pick button.on { background: linear-gradient(150deg, #fff6dc, #f7e0a4); border-color: #d9a94f; box-shadow: 0 8px 18px -8px rgba(217, 148, 30, .9); }
.hm-pick button.on i { color: #d38a12; transform: scale(1.12); text-shadow: 0 2px 8px rgba(217, 148, 30, .5); }
.hm-pick button:active { transform: scale(.94); }
.hm-starlab { margin: 8px 2px 0; font-weight: 800; color: #b9760c; letter-spacing: .02em; }
html.dialog-open .fx-layer { display: none; }

/* Search row -> tabs: always a clear gap, everywhere */
.cl-tools, .na-search { margin-bottom: 0; }
.cl-tools + .na-cats, .na-search + .na-cats, .na-search + .of-cats { margin-top: 18px !important; }
.na-cats { padding-top: 2px; }

/* nail art in the corner of the big banner cards (still, very soft) */
.greeting::after, .bk-hero::after {
    background-image: var(--nail-art, none); background-repeat: no-repeat;
    background-position: right 10px bottom 6px; background-size: 118px auto; opacity: 1;
}
.greeting::after { z-index: 0; }
.greeting-top, .greeting-credit { position: relative; z-index: 1; }
.bk-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }
.theme-new { margin-left: 7px; padding: 2px 7px; border-radius: 999px; font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; color: var(--btn-ink); background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); }
.greeting-credit { justify-content: flex-start; }
.greeting::after, .bk-hero::after { background-position: right 6px bottom 2px; background-size: 112px auto; }
.greeting .greeting-credit { justify-content: flex-start; margin-right: 118px; }
.greeting::after, .bk-hero::after { background-position: right 8px bottom 4px; background-size: 128px auto; }

/* =========================================================
   PRESS-ON SHOP
========================================================= */
.po-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 12px; }
.po-stats span { display: grid; gap: 2px; justify-items: center; padding: 12px 6px; border-radius: 18px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: linear-gradient(160deg, var(--card), var(--card-end)); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.po-stats b { font-family: var(--font-display); font-weight: 400; font-size: 26px; letter-spacing: 0; color: var(--ink); line-height: 1.1; }
.po-new { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 20px; font-weight: 750; font-size: 16px; color: var(--btn-ink); background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); box-shadow: 0 12px 26px rgba(var(--rose-rgb), .32); -webkit-tap-highlight-color: transparent; }
.po-new:active { transform: scale(.985); }
.po-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-bottom: 28px; }
.po-card { display: block; text-align: left; padding: 0; overflow: hidden; border-radius: 24px; background: linear-gradient(170deg, var(--card), var(--card-end)); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); -webkit-tap-highlight-color: transparent; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.po-card:active { transform: scale(.985); }
.po-img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: rgba(var(--rose-rgb), .1); }
.po-img img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.po-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.po-no { position: absolute; left: 10px; top: 10px; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 99px; display: grid; place-items: center; font-weight: 800; font-size: 12.5px; color: #fff; background: rgba(20, 12, 24, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.po-count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 99px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(20, 12, 24, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.po-info { display: grid; gap: 3px; padding: 12px 13px 14px; }
.po-info b { font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.po-meta { font-size: 12.5px; color: var(--muted); min-height: 16px; }
.po-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.po-row strong { font-family: var(--font-display); font-weight: 400; font-size: 21px; color: var(--ink); }
.po-pill { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; padding: 5px 9px; border-radius: 99px; white-space: nowrap; color: var(--success); background: var(--success-soft); }
.po-pill.low { color: var(--warn-ink); background: var(--warn-soft); }
.po-pill.sold { color: var(--danger-ink); background: var(--danger-soft); }
.po-pill.hidden { color: var(--muted); background: rgba(var(--rose-rgb), .1); }
.po-card.st-hidden .po-img img { filter: grayscale(.8) brightness(.75); }
.po-card.st-sold .po-img img { filter: saturate(.6) brightness(.85); }
.po-empty { text-align: center; padding: 36px 18px 30px; margin-top: 16px; border-radius: 26px; background: linear-gradient(170deg, var(--card), var(--card-end)); border: 1.5px dashed var(--line-strong, var(--line)); }
.po-empty-ic { width: 72px; height: 72px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 24px; color: var(--btn-ink); background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); box-shadow: 0 12px 26px rgba(var(--rose-rgb), .3); }
.po-empty h3 { font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--ink); }
.po-empty p { margin: 6px auto 0; max-width: 270px; font-size: 14px; color: var(--muted); line-height: 1.45; }

/* editor */
.po-sec { margin: 0 0 16px; padding: 16px 16px 6px; border-radius: 24px; background: linear-gradient(170deg, var(--card), var(--card-end)); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.po-sec:last-child { padding: 12px 12px 0; background: none; border: 0; box-shadow: none; }
.po-sh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.po-sh h3 { font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--ink); }
.po-prog { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 750; color: var(--rose-deep); background: rgba(var(--rose-rgb), .13); }
.po-prog.ok { color: var(--success); background: var(--success-soft); }
.po-bar { height: 6px; border-radius: 6px; background: rgba(var(--rose-rgb), .14); overflow: hidden; }
.po-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--btn-a), var(--rose-deep)); transition: width .35s ease; }
.po-help { margin: 10px 2px 12px; font-size: 13px; line-height: 1.4; color: var(--muted); min-height: 18px; }
.po-phgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-bottom: 14px; border-radius: 18px; }
.po-phgrid.bad { outline: 2px solid var(--danger); outline-offset: 4px; }
.po-ph { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: rgba(var(--rose-rgb), .1); touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; box-shadow: var(--shadow-sm); }
.po-ph img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.po-ph .po-no { left: 6px; top: 6px; min-width: 22px; height: 22px; font-size: 11px; padding: 0 6px; }
.po-cover { position: absolute; left: 6px; bottom: 6px; padding: 3px 9px; border-radius: 99px; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--btn-ink); background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); }
.po-x { position: absolute; right: 5px; top: 5px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(20, 12, 24, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.po-addph { aspect-ratio: 1; display: grid; place-content: center; justify-items: center; gap: 4px; border-radius: 16px; cursor: pointer; font-size: 11.5px; font-weight: 700; text-align: center; color: var(--rose-deep); border: 1.8px dashed rgba(var(--rose-rgb), .5); background: rgba(var(--rose-rgb), .06); }
.po-addph:active { background: rgba(var(--rose-rgb), .14); }
.po-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.po-step { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 6px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); }
.po-step button { width: 40px; height: 40px; border-radius: 12px; font-size: 22px; font-weight: 600; color: var(--btn-ink); background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); }
.po-step b { font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--ink); }
.po-ta { resize: none; min-height: 110px; line-height: 1.45; font-family: inherit; }
.field.bad .input, .field.bad .po-step { border-color: var(--danger); }
.field.bad .field-label { color: var(--danger); }
.field.bad .po-chips button { border-color: var(--danger); }
.po-spin { display: inline-block; width: 15px; height: 15px; margin-right: 9px; vertical-align: -3px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: nbSpin2 .8s linear infinite; }
@keyframes nbSpin2 { to { transform: rotate(360deg); } }
.po-custom { margin-top: 10px; }
.po-custom[hidden] { display: none; }
.po-chips button svg { margin-right: 4px; vertical-align: -2px; }
.po-chips button { display: inline-flex; align-items: center; gap: 4px; }
.po-chips button svg { margin: 0; }
.po-pv { padding: 4px 0 6px; }
.po-pvc { display: block; width: 62%; max-width: 230px; margin: 0 auto; overflow: hidden; border-radius: 22px; background: linear-gradient(170deg, var(--card), var(--card-end)); border: 1.5px solid var(--line); box-shadow: var(--shadow); }
.po-pvi { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: rgba(var(--rose-rgb), .1); }
.po-pvi img { width: 100%; height: 100%; object-fit: cover; display: block; }
.po-pvt { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 99px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; color: #fff; background: rgba(20, 12, 24, .58); }
.po-pvt.low { color: var(--btn-ink); background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); }
.po-pvn { position: absolute; right: 10px; bottom: 9px; font-size: 11px; font-weight: 700; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.po-pvb { display: grid; gap: 3px; padding: 11px 13px 13px; }
.po-pvb b { font-family: var(--font-display); font-weight: 400; font-size: 18px; line-height: 1.15; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.po-pvm { font-size: 11px; letter-spacing: .06em; color: var(--muted); min-height: 14px; }
.po-pvr { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.po-pvr strong { font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--rose-deep); }
.po-pvr em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.po-pvc.sold .po-pvi img { filter: grayscale(.7) brightness(.8); }
.po-pv + .po-help { text-align: center; }

/* ---------- settings + notifications ---------- */
.bell-dot[hidden] { display: none; }
.avatar { overflow: hidden; padding: 0; }
.avatar img, .st-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stg .po-sec { padding-bottom: 14px; }
.stg .po-sec .sv-switch { margin: 0 0 10px; }
.st-me { display: flex; align-items: center; gap: 16px; }
.st-av { position: relative; flex: 0 0 76px; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; overflow: visible; color: #fff; font-weight: 700; font-size: 26px; background: linear-gradient(145deg, var(--btn-a), var(--rose-deep)); box-shadow: 0 0 0 2px var(--card), 0 0 0 3.5px var(--gold), var(--shadow-sm); }
.st-av img { border-radius: 50%; }
.st-av i { position: absolute; right: -2px; bottom: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--rose-deep); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.st-who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.st-who b { font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--ink); }
.st-who small { color: var(--muted); font-size: 13px; }
.st-link, .nt-link { align-self: flex-start; margin-top: 4px; padding: 6px 0; font-weight: 600; font-size: 14px; color: var(--rose-deep); }
.st-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; margin: 0 0 12px; border-radius: 16px; font-weight: 600; color: var(--btn-ink, #fff); background: linear-gradient(135deg, var(--btn-a), var(--rose-deep)); box-shadow: var(--shadow-sm); }
.st-list .st-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 0; text-align: left; color: var(--ink); border-top: 1px solid var(--line); }
.st-list .po-sh + .st-row { border-top: 0; }
.st-row > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.st-row b { font-weight: 600; font-size: 16px; }
.st-row small { color: var(--muted); font-size: 13px; }
.st-about { text-align: center; padding: 22px 16px; }
.st-brand { font-family: var(--font-display); font-size: 26px; color: var(--ink); }
.st-brand span { color: var(--rose-deep); font-style: italic; }
.st-about p { margin-top: 4px; font-size: 13px; color: var(--muted); }
.st-about .st-credit { margin-top: 10px; font-size: 14px; color: var(--rose-deep); font-weight: 600; letter-spacing: .02em; }
.st-out { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; margin: 4px 0 8px; border-radius: 18px; font-weight: 600; color: var(--danger, #b3261e); background: var(--card); border: 1.5px solid var(--line); }
.st-pw { position: relative; }
.st-pw .input { padding-right: 48px; }
.st-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; color: var(--muted); }
.nt-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px 6px; text-align: center; }
.nt-empty > span { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--rose-deep); background: var(--tint-2); margin-bottom: 6px; }
.nt-empty b { font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--ink); }
.nt-empty small { color: var(--muted); font-size: 14px; line-height: 1.45; max-width: 260px; }
.nt-list { display: flex; flex-direction: column; max-height: 52vh; overflow-y: auto; }
.nt-item { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.nt-item:first-child { border-top: 0; }
.nt-item.unread b::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: var(--rose); }
.nt-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--rose-deep); background: var(--tint-2); }
.nt-item b { display: block; font-weight: 600; font-size: 15px; color: var(--ink); }
.nt-item small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.nt-item time { font-size: 12px; color: var(--muted); white-space: nowrap; }
.st-row, .st-link, .nt-link, .st-eye { background: none; border: 0; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.st-cta { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.st-out { font: inherit; font-weight: 600; cursor: pointer; }
.st-list .st-row { border-top: 1px solid var(--line); }
.st-list .po-sh + .st-row { border-top: 0; }
.st-list .st-row:active { opacity: .7; }

/* bring the website's own photos into the app */
.hm-import { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 14px; padding: 16px; margin: 12px 0; border-radius: 20px; position: relative;
  background: linear-gradient(135deg, color-mix(in srgb, var(--rose, #d93473) 16%, var(--card, #fff)), var(--card, #fff)); border: 1.5px solid color-mix(in srgb, var(--rose, #d93473) 40%, transparent); }
.hm-imp-ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--rose, #d93473), var(--plum, #7a2a5a)); }
.hm-import b { display: block; font-size: 15px; color: var(--ink); }
.hm-import small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.hm-imp-go { grid-column: 1 / -1; appearance: none; border: 0; border-radius: 14px; padding: 13px; font-weight: 800; font-size: 14px; color: #fff; cursor: pointer; background: linear-gradient(135deg, var(--rose, #d93473), var(--plum, #7a2a5a)); box-shadow: 0 10px 22px color-mix(in srgb, var(--rose, #d93473) 32%, transparent); }
.hm-imp-x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.hm-addtile { aspect-ratio: 4 / 5; border-radius: 18px; border: 2px dashed color-mix(in srgb, var(--rose, #d93473) 55%, transparent); display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--rose, #d93473); font-weight: 800; font-size: 13px; cursor: pointer; background: color-mix(in srgb, var(--rose, #d93473) 8%, transparent); }
.hm-addtile.busy { opacity: .5; pointer-events: none; }

/* select many photos */
.hm-tools { display: flex; align-items: flex-start; gap: 12px; }
.hm-tools .hm-note { flex: 1; min-width: 0; }
.hm-selbtn { flex: none; appearance: none; border: 1.5px solid color-mix(in srgb, var(--rose, #d93473) 55%, transparent); background: color-mix(in srgb, var(--rose, #d93473) 10%, transparent); color: var(--rose, #d93473); border-radius: 999px; padding: 9px 18px; font-weight: 800; font-size: 13px; cursor: pointer; margin-top: 10px; }
.hm-selbtn.on { background: var(--rose, #d93473); color: #fff; border-color: transparent; }
.hm-check { position: absolute; top: 8px; left: 8px; z-index: 3; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.35); border: 2px solid #fff; color: #fff; transition: background .15s, transform .15s; }
.hm-check.on { background: var(--rose, #d93473); transform: scale(1.08); }
.hm-tile.picked { outline: 3px solid var(--rose, #d93473); outline-offset: -3px; }
.hm-tile.picked img { opacity: .78; }
.hm-grid.selecting .hm-no { display: none; }
.hm-selbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(104px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; gap: 10px; width: min(560px, calc(100% - 28px)); padding: 10px 12px; border-radius: 20px; background: var(--card, #fff); border: 1.5px solid var(--line-strong, rgba(0,0,0,.12)); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.hm-selbar span { flex: 1; text-align: center; color: var(--muted); font-size: 13px; }
.hm-selbar span b { color: var(--ink); font-size: 16px; }
.hm-selbar button { appearance: none; border: 0; border-radius: 13px; padding: 12px 14px; font-weight: 800; font-size: 13px; cursor: pointer; background: color-mix(in srgb, var(--rose, #d93473) 14%, transparent); color: var(--rose, #d93473); }
.hm-selbar button.danger { background: #d92d4b; color: #fff; }
.hm-selbar button:disabled { opacity: .4; cursor: default; }

/* photos manager: status, three actions, small thumbnails, website preview */
.hm-status { display: flex; align-items: center; gap: 10px; margin: 10px 2px 12px; padding: 12px 14px; border-radius: 16px; font-size: 13px; line-height: 1.4; color: var(--ink-soft); background: color-mix(in srgb, var(--ink) 6%, transparent); border: 1px solid var(--line); }
.hm-status i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 4px color-mix(in srgb, #2fbf71 25%, transparent); }
.hm-status.pending { background: color-mix(in srgb, var(--rose, #d93473) 12%, transparent); border-color: color-mix(in srgb, var(--rose, #d93473) 45%, transparent); }
.hm-status.pending i { background: var(--rose, #d93473); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rose, #d93473) 25%, transparent); }
.hm-status b { color: var(--ink); }
.hm-actions { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; margin-bottom: 6px; }
.hm-act { appearance: none; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 0 10px; border-radius: 15px; font-weight: 800; font-size: 13.5px; cursor: pointer; color: var(--rose, #d93473); background: color-mix(in srgb, var(--rose, #d93473) 10%, transparent); border: 1.5px solid color-mix(in srgb, var(--rose, #d93473) 45%, transparent); }
.hm-act.main { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--rose, #d93473), var(--plum, #7a2a5a)); box-shadow: 0 10px 22px color-mix(in srgb, var(--rose, #d93473) 30%, transparent); }
.hm-act.on { background: var(--rose, #d93473); color: #fff; border-color: transparent; }
.hm-act.busy { opacity: .5; pointer-events: none; }
.hm-grid.small { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hm-grid.small .hm-tile { border-radius: 14px; }
.hm-grid.small .hm-no { left: 6px; top: 6px; min-width: 22px; height: 22px; font-size: 11px; padding: 0 6px; }
.hm-grid.tiny { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.hm-grid.tiny .hm-tile { border-radius: 11px; }
.hm-grid.tiny .hm-no { min-width: 18px; height: 18px; font-size: 10px; padding: 0 4px; left: 4px; top: 4px; }
.hm-grid.small .hm-flag { left: 5px; bottom: 5px; font-size: 10px; padding: 3px 7px; }
.hm-grid.small .hm-check { top: 5px; left: 5px; width: 22px; height: 22px; }
.hm-selbar button.go { flex: 1; background: linear-gradient(135deg, var(--rose, #d93473), var(--plum, #7a2a5a)); color: #fff; padding: 13px 14px; }
.hm-selbar button svg { vertical-align: -3px; margin-right: 6px; }
.hmp { border-radius: 20px; overflow: hidden; background: #14101a; border: 1px solid rgba(255,255,255,.14); }
.hmp-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #221a2b; }
.hmp-bar i { width: 9px; height: 9px; border-radius: 50%; background: #5a4b68; }
.hmp-bar span { margin-left: 10px; font-size: 12px; color: #b9a8c9; }
.hmp-page { padding: 18px 14px 20px; color: #fff; }
.hmp-page small { letter-spacing: .3em; font-size: 10.5px; font-weight: 800; color: #e9b9a3; }
.hmp-page h2 { margin: 6px 0 4px; font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.hmp-page p { margin: 0 0 14px; font-size: 12.5px; color: #b9a8c9; }
.hmp-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
.hmp-strip figure { flex: none; width: 62%; max-width: 260px; margin: 0; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; scroll-snap-align: start; }
.hmp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hmp-grid figure { margin: 0; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; }
.hmp-strip img, .hmp-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-busy { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: rgba(10,6,16,.66); backdrop-filter: blur(6px); }
.hm-busy > div { display: grid; justify-items: center; gap: 10px; padding: 26px 30px; border-radius: 22px; background: var(--card, #fff); box-shadow: 0 24px 60px rgba(0,0,0,.45); text-align: center; }
.hm-busy b { color: var(--ink); font-size: 15px; }
.hm-busy small { color: var(--muted); }
.hm-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--rose, #d93473) 25%, transparent); border-top-color: var(--rose, #d93473); animation: hm-rot .8s linear infinite; }
@keyframes hm-rot { to { transform: rotate(360deg); } }

/* drag feel + smaller preview */
.hm-tile { cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.hm-tile img { pointer-events: none; -webkit-user-drag: none; user-select: none; }
.hm-grid.small { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
.hm-grid.tiny { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
.hm-grid.small .hm-tile, .hm-grid.tiny .hm-tile { border-radius: 9px; }
.hm-grid.small .hm-no, .hm-grid.tiny .hm-no { min-width: 15px; height: 15px; font-size: 9px; padding: 0 3px; left: 3px; top: 3px; }
.hm-grid.small .hm-flag, .hm-grid.tiny .hm-flag { display: none; }
.hm-grid.small .hm-check, .hm-grid.tiny .hm-check { top: 3px; left: 3px; width: 16px; height: 16px; }

/* reviews select */
.hm-actions.two { grid-template-columns: 1.5fr 1fr; }
.hm-act:disabled { opacity: .45; cursor: default; }
.hm-rv { position: relative; cursor: grab; }
.hm-rvcheck { top: 50%; left: auto; right: 12px; transform: translateY(-50%); }
.hm-rvcheck.on { transform: translateY(-50%) scale(1.08); }
.hm-rv.picked { border-color: var(--rose, #d93473); box-shadow: 0 0 0 2px color-mix(in srgb, var(--rose, #d93473) 45%, transparent); }

.hm-import { display: grid; gap: 8px; padding: 16px; margin-bottom: 12px; border-radius: 20px; border: 1.5px dashed color-mix(in srgb, var(--rose, #d93473) 60%, transparent); background: color-mix(in srgb, var(--rose, #d93473) 8%, transparent); }
.hm-import b { color: var(--ink); font-size: 15px; }
.hm-import p { margin: 0; color: var(--muted); font-size: 13px; }
.hm-import { display: grid !important; grid-template-columns: 1fr !important; align-items: stretch; }
.hm-import .hm-act { width: 100%; }

/* premium drag */
.ds-clone { box-shadow: 0 26px 50px rgba(0,0,0,.45), 0 0 0 2px var(--rose, #d93473); will-change: transform; transition: box-shadow .2s; opacity: .97; }
.ds-clone.ds-settle { transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s; box-shadow: 0 6px 14px rgba(0,0,0,.25), 0 0 0 2px var(--rose, #d93473); }
.ds-ghost { opacity: .18; transition: opacity .2s; }
.hm-tile, .hm-rv { will-change: transform; }
.ds-clone { position: fixed !important; left: 0 !important; top: 0 !important; z-index: 99999 !important; }
/* press-on sets: smaller thumbnails (about half) */
.po-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
@media (min-width: 700px) { .po-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; } }
.po-card { border-radius: 16px; }
.po-info { padding: 8px 9px 10px; gap: 2px; }
.po-info b { font-size: 12.5px; }
.po-meta { font-size: 10.5px; min-height: 13px; }
.po-row { margin-top: 3px; gap: 4px; }
.po-row strong { font-size: 16px; }
.po-pill { font-size: 8.5px; padding: 3px 6px; }
.po-no { left: 6px; top: 6px; min-width: 20px; height: 20px; font-size: 10.5px; padding: 0 5px; }
.po-count { right: 6px; bottom: 6px; height: 19px; padding: 0 6px; font-size: 10px; }
@media (min-width: 700px) { .po-info b { font-size: 14px; } .po-meta { font-size: 12px; } .po-row strong { font-size: 18px; } .po-pill { font-size: 9.5px; padding: 4px 7px; } }

/* festival note on Website Themes */
.wt-note { display: grid; gap: 4px; padding: 14px 16px; margin: 0 0 14px; border-radius: 18px; border: 1.5px solid color-mix(in srgb, var(--rose, #d93473) 55%, transparent); background: color-mix(in srgb, var(--rose, #d93473) 10%, transparent); }
.wt-note b { color: var(--ink); font-size: 14px; }
.wt-note span { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.wt-note.ok { border-color: color-mix(in srgb, var(--success, #1f9d62) 60%, transparent); background: color-mix(in srgb, var(--success, #1f9d62) 10%, transparent); }
