/*
 * Locket Studio (/tuy-chinh) và Phòng chụp (/phong): bố cục 2 cột, thẻ trắng viền hồng nhạt, xem trước dính bên phải.
 * Dùng chung token với cute-theme.css. Mọi bộ chọn nằm trong .st-page để thắng style cũ của trang.
 */
.st-page {
    --st-ink: #4a2b3a; --st-ink-2: #6b4a5a; --st-muted: #a07f8e; --st-line: #f6d9e5; --st-line-2: #ffc9dc;
    --st-pink: #ff6fa3; --st-pink-d: #e0508a; --st-soft: #fff0f6; --st-card: #ffffff;
    --st-r: 24px; --st-shadow: 0 1px 2px rgba(74, 43, 58, .04), 0 12px 32px -18px rgba(201, 58, 114, .35);
    max-width: 1180px; margin: 0 auto; padding: 28px 16px 56px; color: var(--st-ink);
}
@media (min-width: 640px) { .st-page { padding: 40px 24px 72px; } }

/* ---------- Đầu trang ---------- */
.st-page .st-hero { text-align: center; max-width: 860px; margin: 0 auto 22px; }
.st-page .st-eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: var(--st-soft); border: 1px solid var(--st-line-2); color: var(--st-pink-d); font-size: 12px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.st-page .st-title { margin: 12px 0 8px; font-family: 'Fredoka', 'Nunito', sans-serif; font-weight: 700; font-size: clamp(28px, 4.6vw, 44px); line-height: 1.12; letter-spacing: -.02em; color: var(--st-ink); }
.st-page .st-lead { margin: 0 auto; max-width: 620px; font-size: clamp(14px, 1.6vw, 16px); line-height: 1.55; color: var(--st-ink-2); font-weight: 600; }

/* Chọn công cụ: 3 thẻ ngang */
.st-page .st-tabs { margin: 22px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 760px; }
.st-page .studio-tab-btn { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; background: var(--st-card); border: 1.5px solid var(--st-line); text-align: left; color: var(--st-ink); box-shadow: var(--st-shadow); transition: border-color .2s, transform .15s, box-shadow .2s; font-weight: 700; }
.st-page .studio-tab-btn:hover { border-color: var(--st-line-2); transform: translateY(-1px); }
.st-page .studio-tab-btn.active { border-color: var(--st-pink); background: linear-gradient(180deg, #fff, #fff4f8); box-shadow: 0 0 0 3px rgba(255, 111, 163, .16), var(--st-shadow); color: var(--st-ink); font-weight: 700; }
.st-page .st-tab-ic { width: 40px; height: 40px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--st-soft); color: var(--st-pink); font-size: 17px; transition: background .2s, color .2s; }
.st-page .studio-tab-btn.active .st-tab-ic { background: linear-gradient(180deg, #ffa3c6, #ff6fa3); color: #fff; box-shadow: 0 6px 14px -6px rgba(255, 111, 163, .8); }
.st-page .st-tab-txt { display: flex; flex-direction: column; min-width: 0; }
.st-page .st-tab-txt b { font-size: 15px; font-weight: 900; line-height: 1.2; }
.st-page .st-tab-txt small { font-size: 12px; color: var(--st-muted); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) {
    .st-page .st-tabs { gap: 6px; }
    .st-page .studio-tab-btn { flex-direction: column; text-align: center; gap: 6px; padding: 10px 6px; border-radius: 18px; }
    .st-page .st-tab-ic { width: 36px; height: 36px; font-size: 15px; }
    .st-page .st-tab-txt b { font-size: 13.5px; }
    .st-page .st-tab-txt small { font-size: 10.5px; white-space: normal; }
}

/* ---------- Thanh tài khoản dùng chung ---------- */
.st-page .st-account { display: flex; align-items: flex-start; gap: 14px; max-width: 760px; margin: 0 auto 22px; padding: 14px 16px; border-radius: var(--st-r); background: var(--st-card); border: 1.5px solid var(--st-line); box-shadow: var(--st-shadow); }
.st-page .st-account-ic { width: 42px; height: 42px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--st-soft); color: var(--st-pink); font-size: 16px; margin-top: 18px; }
.st-page .st-account-body { flex: 1; min-width: 0; }
.st-page .st-account-row { display: flex; gap: 8px; margin-top: 6px; }
.st-page .st-input-wrap { flex: 1; min-width: 0; display: flex; align-items: center; height: 46px; padding: 0 14px; border-radius: 15px; background: #fffafc; border: 1.5px solid var(--st-line); transition: border-color .2s, box-shadow .2s; }
.st-page .st-input-wrap:focus-within { border-color: var(--st-pink); box-shadow: 0 0 0 4px rgba(255, 111, 163, .14); }
.st-page .st-at { color: var(--st-pink); font-weight: 900; margin-right: 4px; }
.st-page .st-input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; font-size: 15px; font-weight: 700; color: var(--st-ink); }
.st-page .st-status { margin-top: 8px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--st-muted); }
@media (max-width: 640px) { .st-page .st-account-ic { display: none; } }

/* ---------- Chữ & nhãn ---------- */
.st-page .st-label { display: block; font-size: 12.5px; font-weight: 900; color: var(--st-ink-2); letter-spacing: .01em; }
.st-page .st-label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.st-page .st-label-row .st-label { margin: 0; }
.st-page .st-h2 { font-family: 'Fredoka', 'Nunito', sans-serif; font-size: 21px; font-weight: 700; color: var(--st-ink); letter-spacing: -.01em; line-height: 1.2; }
.st-page .st-h3 { font-family: 'Fredoka', 'Nunito', sans-serif; font-size: 17px; font-weight: 700; color: var(--st-ink); }
.st-page .st-sub { margin-top: 2px; font-size: 13px; color: var(--st-muted); font-weight: 600; }
.st-page .st-overline { font-size: 11.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--st-muted); text-align: center; }
.st-page .st-note { font-size: 12px; color: var(--st-muted); font-weight: 600; text-align: center; line-height: 1.5; }
.st-page .st-count { flex-shrink: 0; padding: 4px 11px; border-radius: 999px; background: var(--st-soft); border: 1px solid var(--st-line-2); color: var(--st-pink-d); font-size: 12px; font-weight: 900; white-space: nowrap; }
.st-page .st-link { color: var(--st-pink-d); font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 5px; }
.st-page .st-link:hover { color: var(--st-pink); }

/* ---------- Nút ---------- */
.st-page .st-btn { height: 44px; padding: 0 16px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 13.5px; font-weight: 800; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .1s; flex-shrink: 0; }
.st-page .st-btn:active { transform: scale(.97); }
.st-page .st-btn:disabled { opacity: .55; }
.st-page .st-btn-soft { background: var(--st-soft); border: 1.5px solid var(--st-line-2); color: var(--st-pink-d); }
.st-page .st-btn-soft:hover { background: #ffe4ee; }
.st-page .st-btn-ghost { background: transparent; border: 1.5px solid var(--st-line); color: var(--st-ink-2); }
.st-page .st-btn-ghost:hover { border-color: var(--st-line-2); color: var(--st-pink-d); }
.st-page .st-btn-lg { height: 52px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 15.5px; font-weight: 900; }
.st-page .w-full.st-btn-lg { width: 100%; }

/* ---------- Bố cục 2 cột ---------- */
.st-page .st-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
@media (min-width: 1024px) { .st-page .st-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 22px; } }
.st-page .st-card { background: var(--st-card); border: 1.5px solid var(--st-line); border-radius: var(--st-r); box-shadow: var(--st-shadow); padding: 18px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .st-page .st-card { padding: 24px; } }
@media (min-width: 1024px) { .st-page .st-sticky { position: sticky; top: 96px; } }
.st-page .st-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.st-page .st-divider { height: 1px; background: var(--st-line); margin: 2px 0; }
.st-page .st-row-center { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* ---------- Thư viện khung widget ---------- */
.st-page .st-toolbar { display: flex; gap: 8px; }
.st-page .st-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 14px; border-radius: 14px; background: #fffafc; border: 1.5px solid var(--st-line); color: var(--st-muted); font-size: 13px; transition: border-color .2s; }
.st-page .st-search:focus-within { border-color: var(--st-pink); }
.st-page .st-search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font-size: 14px; font-weight: 700; color: var(--st-ink); }
@media (max-width: 480px) { .st-page .st-hide-sm { display: none; } }
.st-page .st-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.st-page .st-chips { display: flex; gap: 6px; }
.st-page .st-chip { height: 34px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--st-line); color: var(--st-ink-2); font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; transition: all .15s; }
.st-page .st-chip i { color: #f43f5e; font-size: 11px; }
.st-page .st-chip.is-on { background: var(--st-ink); border-color: var(--st-ink); color: #fff; }
.st-page .st-chip.is-on i { color: #fda4af; }

.st-page .st-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-height: min(62vh, 640px); overflow-y: auto; padding: 4px 4px 4px 2px; margin: -4px -4px -4px -2px; scrollbar-width: thin; }
@media (min-width: 560px) { .st-page .st-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .st-page .st-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.st-page .fc { position: relative; border-radius: 18px; background: #fff; border: 1.5px solid var(--st-line); padding: 6px; cursor: pointer; user-select: none; transition: border-color .15s, box-shadow .2s, transform .15s; }
.st-page .fc:hover { border-color: var(--st-line-2); transform: translateY(-2px); box-shadow: 0 12px 22px -16px rgba(201, 58, 114, .6); }
.st-page .fc.is-selected { border-color: var(--st-pink); box-shadow: 0 0 0 3px rgba(255, 111, 163, .2); }
.st-page .fc.is-selected::after { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 12px; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--st-pink); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px -4px rgba(255, 111, 163, .9); }
.st-page .fc-img { aspect-ratio: 1; border-radius: 13px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 6px; }
.st-page .fc-img img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.st-page .fc-name { margin: 7px 4px 2px; font-size: 12.5px; font-weight: 800; color: var(--st-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.st-page .fc .fav-btn { position: absolute; right: 12px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .92); border: 1px solid var(--st-line); box-shadow: 0 2px 6px rgba(74, 43, 58, .12); display: flex; align-items: center; justify-content: center; font-size: 12px; transition: transform .15s, color .15s; }
.st-page .fc .fav-btn:hover { transform: scale(1.1); color: #f43f5e; }
.st-page .st-gallery-empty { grid-column: 1 / -1; padding: 36px 16px; text-align: center; color: var(--st-muted); font-size: 13.5px; font-weight: 700; }

.st-page .st-upload { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; border: 1.5px dashed var(--st-line-2); background: #fffafc; transition: border-color .2s, background .2s; }
.st-page .st-upload.is-click { cursor: pointer; }
.st-page .st-upload:hover { border-color: var(--st-pink); background: var(--st-soft); }
.st-page .st-upload-ic { width: 42px; height: 42px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--st-line); color: var(--st-pink); font-size: 16px; }
.st-page .st-upload-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.st-page .st-upload-txt b { font-size: 14px; font-weight: 900; color: var(--st-ink); }
.st-page .st-upload-txt small { font-size: 12px; color: var(--st-muted); font-weight: 600; }
.st-page .st-check { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--st-ink-2); cursor: pointer; }
.st-page .st-check input { width: 17px; height: 17px; accent-color: var(--st-pink); }

/* ---------- Xem trước widget ---------- */
.st-page .st-phone { margin: 0 auto; padding: 22px; border-radius: 30px; background: radial-gradient(120% 90% at 30% 10%, #fff 0%, #ffeef5 60%, #ffe0ec 100%); border: 1px solid var(--st-line); width: 100%; display: flex; justify-content: center; }
.st-page .st-widget { width: min(240px, 70vw); aspect-ratio: 1; border-radius: 42px; padding: 8px; background: #fff; box-shadow: 0 24px 40px -22px rgba(74, 43, 58, .5), 0 0 0 1px rgba(74, 43, 58, .06); }
.st-page .st-preview-meta { text-align: center; }
.st-page .st-preview-meta h3 { font-family: 'Fredoka', 'Nunito', sans-serif; font-size: 18px; font-weight: 700; color: var(--st-ink); }
.st-page .st-preview-meta p { margin-top: 2px; font-size: 13px; color: var(--st-muted); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-page .st-swatches { display: flex; justify-content: center; gap: 10px; }
.st-page .swatch-btn { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(74, 43, 58, .15); transition: transform .15s, box-shadow .15s; }
.st-page .swatch-btn.active { box-shadow: 0 0 0 2.5px var(--st-pink); transform: scale(1.12); --tw-ring-shadow: 0 0 #0000; }
.st-page .st-actions { display: flex; flex-direction: column; gap: 8px; }
.st-page .st-actions .btn-gold { width: 100%; }

/* ---------- Photobooth ---------- */
.st-page .st-banner { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff4e5; border: 1px solid #fcd9a8; color: #8a4b0f; font-size: 13px; font-weight: 700; }
.st-page .st-banner.hidden { display: none; }
.st-page .st-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.st-page .st-field-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 640px) { .st-page .st-field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.st-page .st-input-plain { width: 100%; height: 46px; padding: 0 14px; border-radius: 14px; background: #fffafc; border: 1.5px solid var(--st-line); font-size: 14.5px; font-weight: 700; color: var(--st-ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.st-page .st-input-plain:focus { border-color: var(--st-pink); box-shadow: 0 0 0 4px rgba(255, 111, 163, .14); }
.st-page .st-layouts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.st-page .layout-opt { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 15px; background: #fff; border: 1.5px solid var(--st-line); font-size: 12px; font-weight: 800; color: var(--st-ink-2); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.st-page .layout-opt:hover { border-color: var(--st-line-2); }
.st-page .layout-opt.sel { border-color: var(--st-pink); background: var(--st-soft); color: var(--st-pink-d); box-shadow: none; }
.st-page .st-lay { width: 28px; height: 28px; border-radius: 7px; border: 2px solid currentColor; display: grid; gap: 2px; padding: 2px; opacity: .85; }
.st-page .st-lay::before, .st-page .st-lay::after { content: ''; border-radius: 2px; background: currentColor; opacity: .35; }
.st-page .st-lay.l-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; background: linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat, linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
.st-page .st-lay.l-grid::before, .st-page .st-lay.l-grid::after { display: none; }
.st-page .st-lay.l-4 { width: 18px; background: repeating-linear-gradient(180deg, transparent 0 4px, currentColor 4px 6px); opacity: .7; }
.st-page .st-lay.l-3 { width: 18px; background: repeating-linear-gradient(180deg, transparent 0 6px, currentColor 6px 8px); opacity: .7; }
.st-page .st-lay.l-2 { width: 18px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; opacity: .7; }
.st-page .st-lay.l-4::before, .st-page .st-lay.l-4::after, .st-page .st-lay.l-3::before, .st-page .st-lay.l-3::after, .st-page .st-lay.l-2::before, .st-page .st-lay.l-2::after, .st-page .st-lay.l-1::before, .st-page .st-lay.l-1::after { display: none; }
@media (max-width: 480px) { .st-page .st-layouts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.st-page .st-details { border-radius: 16px; border: 1.5px solid var(--st-line); background: #fffafc; }
.st-page .st-details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; font-size: 13px; font-weight: 800; color: var(--st-ink-2); }
.st-page .st-details summary::-webkit-details-marker { display: none; }
.st-page .st-details[open] summary i { transform: rotate(180deg); }
.st-page .st-details-body { padding: 4px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.st-page .pb-adjust-row { font-size: 12.5px; }

.st-page .pb-canvas-box { width: 100%; max-width: 360px; margin: 0 auto; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 40px -24px rgba(74, 43, 58, .55), 0 0 0 1px rgba(74, 43, 58, .06); }
.st-page .pb-slot-btn.active { background: var(--st-pink); border-color: var(--st-pink); color: #fff; }

.st-page .pb-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 640px) { .st-page .pb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.st-page .pb-card { border-radius: 18px; border: 1.5px solid var(--st-line); background: #fff; padding: 10px; gap: 12px; transition: border-color .15s, box-shadow .2s; }
.st-page .pb-card:hover { border-color: var(--st-line-2); box-shadow: 0 10px 22px -16px rgba(201, 58, 114, .6); }
.st-page .pb-thumb { border-radius: 12px; }

/* ---------- Caption ---------- */
.st-page .st-cap-stage { padding: 26px 16px; border-radius: 20px; background: linear-gradient(160deg, #3b2a33, #1f171c); display: flex; justify-content: center; position: relative; overflow: hidden; }
.st-page .st-cap-stage::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 30% 20%, rgba(255, 143, 184, .35), transparent 70%), radial-gradient(50% 70% at 80% 90%, rgba(167, 139, 250, .3), transparent 70%); }
.st-page .st-cap-stage .cap-locket-mockup { position: relative; background: none; border: 0; box-shadow: none; padding: 0; min-height: 0; }
.st-page .cap-pill-preview { font-size: 16px; }
.st-page .cap-emoji-picker { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; flex-wrap: nowrap; }
.st-page .cap-emoji-picker::-webkit-scrollbar { display: none; }
.st-page .cap-emoji-btn, .st-page .st-emoji-input { flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; background: #fffafc; border: 1.5px solid var(--st-line); font-size: 20px; display: flex; align-items: center; justify-content: center; text-align: center; transition: border-color .15s, background .15s, transform .15s; }
.st-page .cap-emoji-btn.active { border-color: var(--st-pink); background: var(--st-soft); transform: translateY(-2px); box-shadow: none; }
.st-page .st-emoji-input { outline: none; color: var(--st-ink); font-weight: 700; }
.st-page .st-emoji-input:focus { border-color: var(--st-pink); }
.st-page .st-colors-custom { display: inline-flex; align-items: center; gap: 6px; padding: 3px 6px; border-radius: 12px; border: 1.5px solid var(--st-line); color: var(--st-muted); font-size: 10px; }
.st-page .st-colors-custom input { width: 26px; height: 26px; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 8px; }
.st-page .cap-gradient-presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 0; }
@media (max-width: 480px) { .st-page .cap-gradient-presets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.st-page .cap-gradient-chip { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 14px; background: #fff; border: 1.5px solid var(--st-line); font-size: 12.5px; font-weight: 800; color: var(--st-ink-2); cursor: pointer; transition: border-color .15s; }
.st-page .cap-gradient-chip.active-grad { border-color: var(--st-pink); background: var(--st-soft); color: var(--st-pink-d); box-shadow: none; }
.st-page .cap-gradient-dot { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(74, 43, 58, .08); }
.st-page .cap-grid { display: flex; flex-direction: column; gap: 8px; }
.st-page .cap-card { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 8px 10px; border-radius: 16px; border: 1.5px solid var(--st-line); background: #fff; }

.st-page .st-empty { padding: 26px 16px; border-radius: 18px; border: 1.5px dashed var(--st-line-2); background: #fffafc; text-align: center; color: var(--st-muted); font-size: 13.5px; font-weight: 700; line-height: 1.5; }
.st-page .st-empty i { display: block; font-size: 26px; margin-bottom: 8px; color: var(--st-line-2); }
.st-page .st-empty b { color: var(--st-ink-2); }

/* Class "hidden" (JS bật/tắt) phải thắng display của các khối st-* */
.st-page .hidden { display: none !important; }

/* Ô photobooth đang chọn + nút chọn ô: hồng thay vàng */
.st-page .pb-slot-item.active-slot { outline: 3px solid var(--st-pink); box-shadow: 0 0 16px rgba(255, 111, 163, .55); }
.st-page .pb-slot-btn { border: 1.5px solid var(--st-line); background: #fff; color: var(--st-ink-2); border-radius: 12px; }
.st-page .pb-slot-btn:hover { border-color: var(--st-line-2); }
.st-page .pb-slot-selector { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }

/* ================= Phòng chụp cùng bạn (/phong) ================= */
.st-page .st-steps { margin-top: 16px; display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.st-page .st-steps > span:not(.st-steps-sep) { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1.5px solid var(--st-line); font-size: 13px; font-weight: 800; color: var(--st-ink-2); box-shadow: var(--st-shadow); }
.st-page .st-steps i { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #ffa3c6, #ff6fa3); color: #fff; font-style: normal; font-size: 12px; font-weight: 900; }
.st-page .st-steps .st-steps-sep { color: var(--st-line-2); font-size: 11px; }
.st-page .st-steps .st-steps-sep i { background: none; color: inherit; width: auto; height: auto; }
.st-page .st-step-no { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-right: 6px; border-radius: 9px; background: var(--st-soft); color: var(--st-pink-d); font-size: 14px; font-weight: 900; vertical-align: 2px; font-family: 'Nunito', sans-serif; }
.st-page .st-chips-wrap { flex-wrap: wrap; }
.st-page .phong-tab.st-chip { margin: 0; }

.st-page .st-pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-height: min(62vh, 620px); overflow-y: auto; padding: 4px; margin: -4px; scrollbar-width: thin; }
@media (min-width: 560px) { .st-page .st-pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .st-page .st-pf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.st-page .pf { position: relative; display: block; padding: 6px; border-radius: 18px; background: #fff; border: 1.5px solid var(--st-line); cursor: pointer; transition: border-color .15s, box-shadow .2s, transform .15s; }
.st-page .pf:hover { border-color: var(--st-line-2); transform: translateY(-2px); box-shadow: 0 12px 22px -16px rgba(201, 58, 114, .6); }
.st-page .pf.sel { border-color: var(--st-pink); box-shadow: 0 0 0 3px rgba(255, 111, 163, .2); background: #fff; }
.st-page .pf.sel::after { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: 12px; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--st-pink); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px -4px rgba(255, 111, 163, .9); }
.st-page .pf-img { aspect-ratio: 1; border-radius: 13px; overflow: hidden; background: #2a1f25; }
.st-page .pf-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-page .pf-name { margin: 8px 4px 2px; font-size: 13px; font-weight: 800; color: var(--st-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-page .pf-badge { display: inline-flex; align-items: center; gap: 4px; margin: 0 4px 4px; padding: 2px 8px; border-radius: 999px; background: var(--st-soft); color: var(--st-pink-d); font-size: 11px; font-weight: 800; }
.st-page .pf-badge i { font-size: 9px; }

.st-page .phong-picked { border-radius: 16px; background: #fffafc; border: 1.5px solid var(--st-line); padding: 8px; gap: 12px; }
.st-page .phong-picked img { border-radius: 12px; }
.st-page .phong-field { border-radius: 15px; border: 1.5px solid var(--st-line); background: #fffafc; min-height: 50px; }
.st-page .phong-field:focus-within { border-color: var(--st-pink); box-shadow: 0 0 0 4px rgba(255, 111, 163, .14); }
.st-page .phong-field input { font-size: 15px; font-weight: 700; color: var(--st-ink); }
.st-page .st-you { flex-shrink: 0; padding: 3px 10px; border-radius: 999px; background: var(--st-soft); color: var(--st-pink-d); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.st-page .st-hint { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 14px; background: #fffafc; border: 1px solid var(--st-line); font-size: 12.5px; font-weight: 700; color: var(--st-ink-2); line-height: 1.45; }
.st-page .st-hint i { color: var(--st-pink); margin-top: 2px; }
.st-page .phong-err { border-radius: 12px; }

.st-page .st-count.is-live { background: #e8f8ef; border-color: #a7e3c2; color: #15803d; }
.st-page .st-room { display: flex; flex-direction: column; gap: 14px; }
.st-page .st-room.hidden { display: none; }
.st-page .st-roomhead { text-align: center; padding: 18px 14px; border-radius: 20px; background: linear-gradient(160deg, #fff, #ffeef5); border: 1.5px solid var(--st-line); }
.st-page .phong-code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 34px; font-weight: 900; letter-spacing: .14em; color: var(--st-ink); margin: 4px 0; }
.st-page .st-result { text-align: center; display: flex; flex-direction: column; gap: 10px; }
.st-page .st-result.hidden { display: none; }
.st-page .st-result-img { aspect-ratio: 3 / 4; max-width: 240px; width: 100%; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #1f171c; box-shadow: var(--st-shadow); }
.st-page .st-result-img img { width: 100%; height: 100%; object-fit: contain; }
.st-page .st-members { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.st-page .st-code-input { text-align: center; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.st-page .st-how { margin: 0; padding: 4px 16px 14px 34px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--st-ink-2); line-height: 1.5; }
.st-page .st-how b { color: var(--st-ink); }
.st-page .st-center { justify-content: center; }

/* =========== Kawaii 3D (đất nặn) cho các trang studio =========== */
.st-page .st-card, .st-page .st-account, .st-page .studio-tab-btn, .cg-me {
    border-color: #ffd9e6;
    box-shadow: 0 2px 0 #fff inset, 0 -8px 16px -6px rgba(255, 182, 210, .45) inset, 0 18px 34px -18px rgba(201, 58, 114, .45), 0 2px 6px -2px rgba(201, 58, 114, .12);
}
.st-page .studio-tab-btn.active { box-shadow: 0 0 0 3px rgba(255, 111, 163, .2), 0 2px 0 #fff inset, 0 -6px 14px -6px rgba(255, 160, 200, .5) inset, 0 16px 28px -16px rgba(201, 58, 114, .5); }
.st-page .st-tab-ic { box-shadow: 0 2px 0 #fff inset, 0 -3px 0 rgba(255, 160, 200, .35) inset; }
.st-page .st-btn-soft, .st-page .st-chip, .st-page .layout-opt, .st-page .cap-gradient-chip, .st-page .fc, .st-page .pf, .st-page .cap-card, .st-page .pb-card {
    box-shadow: 0 2px 0 #fff inset, 0 -3px 0 rgba(255, 200, 222, .45) inset, 0 4px 0 #ffe0ec;
}
.st-page .st-btn-soft:active, .st-page .st-chip:active { transform: translateY(2px); }
.st-page .st-input-wrap, .st-page .st-input-plain, .st-page .st-search, .st-page .phong-field { box-shadow: 0 3px 6px -2px rgba(201, 58, 114, .18) inset, 0 1px 0 #fff; }
.st-page .st-eyebrow { position: relative; padding-left: 40px; background: #fff; border: 2px solid #ffd3e2; box-shadow: 0 4px 0 #ffd3e2, 0 10px 18px -10px rgba(201, 58, 114, .5); transform: rotate(-2deg); }
.st-page .st-eyebrow::before { content: ""; position: absolute; left: 8px; top: 50%; width: 26px; height: 17px; margin-top: -9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 34'%3E%3Cpath d='M26 17C19 3 2 3 2 17s17 14 24 0z' fill='%23ff7fb0' stroke='%235a3445' stroke-width='2.4' stroke-linejoin='round'/%3E%3Cpath d='M26 17c7-14 24-14 24 0S33 31 26 17z' fill='%23ff7fb0' stroke='%235a3445' stroke-width='2.4' stroke-linejoin='round'/%3E%3Ccircle cx='13' cy='13' r='2.4' fill='%23fff'/%3E%3Ccircle cx='39' cy='13' r='2.4' fill='%23fff'/%3E%3Cellipse cx='26' cy='17' rx='5.5' ry='6.5' fill='%23ff4f8f' stroke='%235a3445' stroke-width='2.4'/%3E%3C/svg%3E") center / contain no-repeat; }
.st-page .st-eyebrow i { display: none; }
.st-page .st-h2 { text-shadow: 0 2px 0 #fff, 0 4px 0 #ffe0ec; }
.st-page .st-title { text-shadow: 0 2px 0 #fff, 0 4px 0 #ffd3e2, 0 10px 18px rgba(201, 58, 114, .18); }
