/* SP-Picker – Lee Tiên · Some Media */
:root {
  --bg: #faf7f2; --surface: #ffffff; --surface2: #f3eee7; --line: #e7e0d6; --line2: #d9d0c4;
  --text: #1f1b16; --muted: #6f665b; --faint: #a39a8e;
  --accent: #e2502f; --accent-hover: #c9431f; --accent-soft: #fbe6df; --on-accent: #fff;
  --green: #2f9e6b; --green-soft: #e1f3ea; --amber: #b7791f; --amber-soft: #fbf0dc; --red: #d23b3b; --red-soft: #fbe3e3;
  --shadow: 0 1px 2px rgba(40, 30, 20, .06), 0 8px 24px rgba(40, 30, 20, .06);
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121110; --surface: #1b1a18; --surface2: #24221f; --line: #2f2c28; --line2: #3c3833;
    --text: #efeae3; --muted: #a59d92; --faint: #6f685f;
    --accent: #ff6a45; --accent-hover: #ff8463; --accent-soft: #3a2119; --on-accent: #1a0d08;
    --green: #4fd09a; --green-soft: #17302a; --amber: #f0b44f; --amber-soft: #352a19; --red: #ff6b6b; --red-soft: #3a1d1d;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121110; --surface: #1b1a18; --surface2: #24221f; --line: #2f2c28; --line2: #3c3833;
  --text: #efeae3; --muted: #a59d92; --faint: #6f685f;
  --accent: #ff6a45; --accent-hover: #ff8463; --accent-soft: #3a2119; --on-accent: #1a0d08;
  --green: #4fd09a; --green-soft: #17302a; --amber: #f0b44f; --amber-soft: #352a19; --red: #ff6b6b; --red-soft: #3a1d1d;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--sans); }
a { color: var(--accent); text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.grow { flex: 1; }
.serif { font-family: var(--serif); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 16px;
  border-radius: 10px; border: 1px solid var(--line2); background: var(--surface); cursor: pointer; font-weight: 600;
  white-space: nowrap; transition: background .15s, border-color .15s, transform .05s; text-decoration: none; color: var(--text); }
.btn:hover { background: var(--surface2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--surface2); }
.btn.danger { color: var(--red); }
.btn.sm { min-height: 32px; padding: 4px 12px; font-size: 13px; border-radius: 8px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.icon-btn { width: 40px; height: 40px; padding: 0; }

/* form */
label.field { display: block; margin-bottom: 14px; }
label.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.input, textarea.input, select.input { width: 100%; min-height: 42px; padding: 9px 12px; border-radius: 10px;
  border: 1px solid var(--line2); background: var(--surface); outline: none; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.input { resize: vertical; min-height: 80px; }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }

/* chips / tabs */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 34px; padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line2);
  background: var(--surface); cursor: pointer; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.chip b { color: var(--faint); font-weight: 600; margin-left: 4px; }
.chip.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.chip.on b { color: inherit; opacity: .7; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: var(--surface2); color: var(--muted); white-space: nowrap; }
.badge.green { background: var(--green-soft); color: var(--green); }
.badge.amber { background: var(--amber-soft); color: var(--amber); }
.badge.red { background: var(--red-soft); color: var(--red); }
.badge.accent { background: var(--accent-soft); color: var(--accent); }

/* card */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pad { padding: 20px; }

/* toast */
#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; pointer-events: none;
  background: var(--text); color: var(--bg); padding: 11px 18px; border-radius: 12px; font-weight: 600; z-index: 100;
  transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); text-align: center; box-shadow: var(--shadow); }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.err { background: var(--red); color: #fff; }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(20, 15, 10, .45); display: flex; align-items: center; justify-content: center;
  padding: 16px; z-index: 60; backdrop-filter: blur(2px); }
.modal .box { background: var(--surface); border-radius: 18px; width: 100%; max-width: 560px; max-height: calc(100vh - 32px);
  overflow: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.modal .box.wide { max-width: 920px; }
.modal .head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--surface); z-index: 1; }
.modal .head h3 { margin: 0; font-size: 18px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modal .body { padding: 20px; }
.modal .foot { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 20px; border-top: 1px solid var(--line);
  position: sticky; bottom: 0; background: var(--surface); flex-wrap: wrap; }
@media (max-width: 560px) {
  .modal { padding: 0; align-items: flex-end; }
  .modal .box { border-radius: 18px 18px 0 0; max-height: 92vh; }
}

/* ====================================================== TRANG KHÁCH */
.hero { position: relative; min-height: 300px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #2a241e; }
.hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.02); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.72) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 28px; width: 100%; }
.hero .studio { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: .85; font-weight: 700; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 6vw, 52px); line-height: 1.1; margin: 8px 0 6px; }
.hero .meta { display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 14px; opacity: .92; }
.hero .msg { max-width: 640px; margin-top: 12px; font-size: 15px; opacity: .92; white-space: pre-line; }

.bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.bar .chips { flex: 1; min-width: 0; }
.counter { flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-size: 14px; }
.counter svg { width: 16px; height: 16px; }
.counter.full { background: var(--accent); color: var(--on-accent); }

.notice { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-weight: 600; }
.notice.green { background: var(--green-soft); color: var(--green); }
.notice.amber { background: var(--amber-soft); color: var(--amber); }
.notice .grow { min-width: 200px; }

.section-title { margin: 26px 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--tile, 180px), 1fr)); gap: 6px; padding: 14px 0 120px; }
body.dense .gallery { --tile: 120px; gap: 4px; }
@media (max-width: 560px) { .gallery { --tile: 108px; gap: 3px; } body.dense .gallery { --tile: 78px; gap: 2px; } }
.tile { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface2); border-radius: 6px; cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .3s, transform .3s; }
.tile img.ok { opacity: 1; }
.tile:hover img { transform: scale(1.03); }
.tile .name { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font-size: 11px; color: #fff; font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,.55)); opacity: 0; transition: opacity .2s; pointer-events: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 44px; }
.tile:hover .name { opacity: 1; }
.heart { position: absolute; right: 6px; bottom: 6px; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(0,0,0,.28); color: #fff; backdrop-filter: blur(4px); transition: transform .15s, background .15s; }
.heart svg { width: 21px; height: 21px; }
.heart:hover { transform: scale(1.08); }
.tile.sel { outline: 3px solid var(--accent); outline-offset: -3px; }
.tile.sel .heart { background: var(--accent); }
.tile.sel .heart svg path { fill: currentColor; }
.tile .notedot { position: absolute; left: 6px; top: 6px; background: rgba(255,255,255,.92); color: #333; border-radius: 6px; padding: 1px 6px; font-size: 11px; font-weight: 700; }
.tile.pop .heart { animation: pop .35s; }
@keyframes pop { 40% { transform: scale(1.3); } }
body.locked .heart { display: none; }
body.locked .tile.sel .heart { display: grid; cursor: default; }
@media (hover: none) { .tile .name { display: none; } }

.empty { text-align: center; padding: 60px 16px; color: var(--muted); }
.empty svg { width: 46px; height: 46px; color: var(--faint); }

.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.dock .wrap { display: flex; align-items: center; gap: 10px; padding: 0; }
.dock .sum { flex: 1; min-width: 0; font-weight: 700; }
.dock .sum small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 50; background: #0b0a09; color: #fff; display: flex; flex-direction: column; touch-action: pan-y; }
.lb .top { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.lb .top .title { flex: 1; min-width: 0; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb .top .title small { color: #aaa; font-weight: 500; margin-left: 8px; }
.lb .ib { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb .ib:hover { background: rgba(255,255,255,.16); }
.lb .ib svg { width: 22px; height: 22px; }
.lb .stage { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; overflow: hidden; }
.lb .stage img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: opacity .2s; }
.lb .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lb .nav.prev { left: 12px; } .lb .nav.next { right: 12px; }
@media (max-width: 700px) { .lb .nav { display: none; } }
.lb .bottom { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; justify-content: center; }
.lb .love { min-width: 170px; height: 50px; border-radius: 999px; border: 2px solid rgba(255,255,255,.5); background: transparent; color: #fff;
  font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.lb .love svg { width: 22px; height: 22px; }
.lb .love.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.lb .love.on svg path { fill: currentColor; }
.lb .note { flex: 1 1 320px; max-width: 520px; }
.lb .note textarea { width: 100%; min-height: 50px; max-height: 120px; border-radius: 14px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06); color: #fff; padding: 12px 14px; resize: none; outline: none; }
.lb .note textarea:focus { border-color: var(--accent); }
.lb .spinner { position: absolute; width: 34px; height: 34px; border: 3px solid rgba(255,255,255,.2); border-top-color: #fff; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.gate { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.gate .card { width: 100%; max-width: 380px; text-align: center; }
.gate h1 { font-family: var(--serif); font-weight: 500; margin: 6px 0 4px; font-size: 28px; }

.foot-brand { text-align: center; color: var(--faint); font-size: 12px; padding: 20px 0 110px; }

/* ====================================================== TRANG STUDIO */
.topnav { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topnav .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.brand .mark { width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.brand small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); line-height: 1.1; }
.page-head { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; padding: 26px 0 16px; }
.page-head h1 { margin: 0; font-size: 26px; flex: 1; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { padding: 14px 16px; }
.stat b { display: block; font-size: 26px; line-height: 1.2; }
.stat span { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; padding-bottom: 40px; }
.album { overflow: hidden; display: flex; flex-direction: column; }
.album .cov { aspect-ratio: 16/10; background: var(--surface2) center/cover; position: relative; cursor: pointer; }
.album .cov .badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.album .cov .badges .badge { box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.album .info { padding: 14px 16px 6px; flex: 1; }
.album h3 { margin: 0; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.album .sub { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.progress { height: 6px; border-radius: 3px; background: var(--surface2); overflow: hidden; margin: 10px 0 4px; }
.progress i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.album .acts { display: flex; gap: 6px; padding: 10px 12px 12px; flex-wrap: wrap; }
.album .acts .btn { flex: 1; }

.browser { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.browser .crumbs { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; padding: 10px 12px; background: var(--surface2); font-size: 13px; }
.browser .crumbs button { border: 0; background: none; padding: 2px 4px; cursor: pointer; color: var(--accent); font-weight: 600; }
.browser .list { max-height: 260px; overflow: auto; }
.browser .item { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--line); cursor: pointer; }
.browser .item:hover { background: var(--surface2); }
.browser .item svg { width: 18px; height: 18px; color: var(--amber); flex: none; }
.browser .foot2 { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--surface2); flex-wrap: wrap; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); padding: 0 20px; overflow-x: auto; position: sticky; top: 61px; background: var(--surface); z-index: 1; }
.tabs button { border: 0; background: none; padding: 12px 12px; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button.on { color: var(--accent); border-color: var(--accent); }
.sel-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.sel-item { font-size: 12px; }
.sel-item .ph { aspect-ratio: 1; border-radius: 8px; background: var(--surface2) center/cover; }
.sel-item .nm { font-weight: 700; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sel-item .nt { color: var(--accent); white-space: pre-line; }
pre.list { background: var(--surface2); border-radius: 10px; padding: 12px; max-height: 220px; overflow: auto; font-size: 13px; margin: 10px 0; white-space: pre-wrap; }
.qr { width: 220px; height: 220px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.qr svg { width: 100%; height: 100%; display: block; }
.linkbox { display: flex; gap: 8px; }
.linkbox .input { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.bar-progress { height: 8px; border-radius: 4px; background: var(--surface2); overflow: hidden; }
.bar-progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
@media (max-width: 560px) { .hide-sm { display: none; } }
.browser svg { width: 18px; height: 18px; vertical-align: -3px; color: var(--amber); flex: none; }
.dock .sum { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock .sum small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .dock .wrap { gap: 8px; } .dock .btn { padding: 8px 12px; } .bar .wrap { gap: 6px; } }
/* chọn nguồn ảnh */
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface2); flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; font-weight: 700; color: var(--muted); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.seg button svg { width: 18px; height: 18px; }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.gd { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .03em; padding: 2px 5px; border-radius: 5px; background: #e8f0fe; color: #1a5fd0; line-height: 1.3; }
.browser .item.pick { cursor: default; }
.browser .item.pick input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; cursor: pointer; }
.browser .item svg { color: var(--amber); }
.browser .item.pick svg[viewBox] { flex: none; }
.srcs { display: flex; flex-wrap: wrap; gap: 8px; }
.src { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 6px 5px 10px; border-radius: 10px; background: var(--accent-soft); font-size: 13px; font-weight: 600; }
.src svg { width: 16px; height: 16px; color: var(--amber); flex: none; }
.src span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.src em { font-style: normal; color: var(--muted); font-weight: 500; }
.src em.warn { color: var(--amber); }
.src button { border: 0; background: transparent; cursor: pointer; font-size: 18px; line-height: 1; padding: 0 4px; color: var(--muted); }
.src button:hover { color: var(--red); }
/* trang giao ảnh */
.seg button small { display: block; font-weight: 500; font-size: 11px; color: var(--faint); }
#q { display: flex; width: 100%; margin-bottom: 6px; }
#q button { flex: 1; flex-direction: column; gap: 0; }
.dl-sec { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-top: 14px; }
.dl-sec h4 { margin: 0 0 4px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.dl-sec h4 svg { width: 20px; height: 20px; color: var(--accent); }
.dl-sec p { margin: 0 0 10px; }
.batches { display: grid; gap: 6px; max-height: 46vh; overflow: auto; }
.batch { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--surface2); font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.batch.done { opacity: .6; }
.batch .st { font-weight: 500; }
.lb a.love { text-decoration: none; }
.badge.blue { background: #e8f0fe; color: #1a5fd0; }
/* dàn trang kiểu tạp chí */
.gallery.just { display: block; position: relative; padding: 0; margin: 14px 0 0; }
.gallery.just .tile { position: absolute; aspect-ratio: auto; border-radius: 4px; }
.gallery.just .tile img { transition: opacity .3s; }
.gallery.just .tile:hover img { transform: none; filter: brightness(1.04); }
.gallery.just:last-child { margin-bottom: 130px; }
/* trang giao ảnh: bìa lớn + hiệu ứng */
.hero.big { min-height: 82vh; align-items: center; text-align: center; }
.hero.big .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; align-items: center; }
.hero.big h1 { font-size: clamp(36px, 8vw, 76px); letter-spacing: -.01em; margin: 14px 0 10px; }
.hero.big .meta { justify-content: center; }
.hero.big .msg { margin: 16px auto 0; font-size: 16px; }
.hero.big::after { background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,.65) 100%); }
.hero.big .bg { animation: kb 18s ease-out both; }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.scroll-cue { margin-top: 34px; border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.08); color: #fff; border-radius: 999px;
  padding: 10px 20px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; backdrop-filter: blur(4px); }
.scroll-cue span { display: inline-block; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }
.gallery.reveal .tile { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.gallery.reveal .tile.in { opacity: 1; transform: none; }
.gallery[data-layout="magazine"] .tile { border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { .hero.big .bg, .scroll-cue span { animation: none; } .gallery.reveal .tile { opacity: 1; transform: none; transition: none; } }
@media (max-width: 560px) { .hero.big { min-height: 72vh; } }
