/* ==========================================================
   MẪU love-minimal — album tình yêu tối giản, ít chữ, có sticker
   Dùng: config.json -> "template": "love-minimal"
   Sticker: heart, heart2, star, sparkle, flower, paw, plane, camera, cloud, sun
   ========================================================== */
/* ==========================================================
   Album P & Q — tông hồng, nhũ vàng hồng, trái tim
   Ghi đè giao diện gốc (core/css/style.css)
   ========================================================== */
:root {
  --paper: #fbf1ee;
  --paper-edge: rgba(150, 90, 100, .18);
  --ink: #5b3940;
  --ink-soft: #9b6a74;
  --leather-1: #e3a3b4;
  --leather-2: #c97b92;
  --leather-3: #a65a74;
  --gold-1: #fff3ea;
  --gold-2: #c98f78;
  --gold-3: #f1c9b4;
}

body {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 220, 230, .12), transparent 55%),
    radial-gradient(ellipse at center, #3a2530 0%, #24161d 60%, #12090e 100%);
}

/* Bìa da hồng phấn */
.leather {
  background:
    radial-gradient(ellipse at 28% 18%, rgba(255, 255, 255, .22), transparent 55%),
    radial-gradient(ellipse at center, transparent 55%, rgba(90, 30, 50, .35) 100%),
    var(--noise),
    linear-gradient(135deg, var(--leather-1), var(--leather-2) 55%, var(--leather-3));
  color: var(--gold-3);
}
.cover-frame { border-color: rgba(255, 236, 226, .75); outline-color: rgba(255, 236, 226, .45); }
.cover-divider i { background: linear-gradient(90deg, transparent, rgba(255, 236, 226, .9), transparent); }
.foil { filter: drop-shadow(0 1px 0 rgba(120, 40, 60, .55)) drop-shadow(0 -1px 0 rgba(255, 255, 255, .25)); }
.cover-title { font-family: "Dancing Script", cursive; font-weight: 700; font-size: 66px; }
.cover-kicker { letter-spacing: .35em; }

/* Ọp góc vàng hồng */
.corner { background: linear-gradient(135deg, #fff1e8, #c48a72 50%, #f0c8b0 75%, #a8705c); }

/* Giấy lót bìa: họa tiết trái tim nhỏ */
.endpaper {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Cpath fill='%23c97b92' fill-opacity='.28' d='M17 24.5l-1-.9C12.3 20.3 10 18.2 10 15.6 10 13.5 11.6 12 13.6 12c1.2 0 2.4.6 3.4 1.5 1-.9 2.2-1.5 3.4-1.5 2 0 3.6 1.5 3.6 3.6 0 2.6-2.3 4.7-6 8z'/%3E%3C/svg%3E") 0 0 / 34px 34px,
    radial-gradient(ellipse at center, transparent 50%, rgba(150, 80, 100, .2) 100%),
    var(--noise),
    #f6dfe2;
}

/* Trang chữ tình yêu */
.verse-page blockquote { font-family: "Dancing Script", cursive; font-style: normal; font-size: 30px; line-height: 1.35; color: var(--ink); }
.verse-page .verse-ref { letter-spacing: .3em; }
.title-page h1 { font-family: "Dancing Script", cursive; font-size: 56px !important; }

/* Khung ảnh: góc dán hồng đậm thay vì đen */
.pc { background: linear-gradient(135deg, #8e4a5f, #b56b80); }
.photo { background: #fffaf8; }
.shot img { filter: saturate(.95) contrast(.98); }

/* Nút loa */
.music-btn { background: rgba(70, 35, 50, .5); border-color: rgba(255, 220, 230, .4); color: #ffe6ee; }

/* Chữ trên bìa hồng: nhũ vàng hồng đậm hơn để dễ đọc */
.cover-front .foil {
  background: linear-gradient(180deg, #fff6ef 0%, #f4d3c2 45%, #e2ab92 75%, #fff0e6 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 1px 0 rgba(110, 35, 55, .75)) drop-shadow(0 0 6px rgba(120, 40, 60, .35));
}
.cover-kicker { font-size: 15px; font-weight: 500; letter-spacing: .2em !important; white-space: nowrap; }
.cover-motto { font-size: 19px; }


/* ---------- Tối giản: bìa chỉ có tên + sticker ---------- */
.cover-frame { inset: 40px 34px 40px 56px; }
.cover-title { font-size: 84px !important; margin: 18px 0 0; letter-spacing: .02em; }
.cover-sticker { width: 84px; height: 84px; margin-bottom: 6px; transform: rotate(-8deg); }
.cover-back .cover-frame .cross-wrap { display: none; }

/* ---------- Sticker kiểu dán, cắt viền trắng ---------- */
.sticker {
  display: inline-block; width: 64px; height: 64px;
  background: center / contain no-repeat;
  filter: drop-shadow(0 2px 2px rgba(80, 30, 45, .25)) drop-shadow(0 6px 10px rgba(80, 30, 45, .15));
  pointer-events: none;
}
.sticker.deco { position: absolute; z-index: 4; width: 54px; height: 54px; }
.sticker.deco.at-tl { top: 10px;  left: 30px;  transform: rotate(-14deg); }
.sticker.deco.at-tr { top: 8px;   right: 12px; transform: rotate(12deg); }
.sticker.deco.at-br { bottom: 26px; right: 14px; transform: rotate(-10deg); }
.sticker.deco.at-bl { bottom: 26px; left: 30px;  transform: rotate(9deg); }
.face.back .sticker.deco.at-tl, .face.back .sticker.deco.at-bl { left: 14px; }

.sticker-page { align-items: center; justify-content: center; }
.sticker-page .sticker.big { position: absolute; width: 150px; height: 150px; }
.sticker-page .sticker.big.k0 { top: 50%; left: 50%; transform: translate(-50%, -55%) rotate(-6deg); }
.sticker-page .sticker.big.k1 { top: 22%; right: 16%; width: 74px; height: 74px; transform: rotate(14deg); }
.sticker-page .sticker.big.k2 { bottom: 22%; left: 18%; width: 64px; height: 64px; transform: rotate(-12deg); }
.sticker-page .sticker.big.k3 { top: 20%; left: 20%; width: 46px; height: 46px; transform: rotate(8deg); }
.sticker-note { position: absolute; bottom: 64px; left: 0; right: 0; text-align: center;
  font-family: "Dancing Script", cursive; font-size: 26px; color: var(--ink-soft); }
.sticker-page .folio { position: absolute; bottom: 30px; left: 0; right: 0; }

.s-heart { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 72 72'%3E%3Cpath stroke='white' stroke-width='5' stroke-linejoin='round' paint-order='stroke' fill='%23ff7a9c' d='M32 54 28.6 51C16 40 8 32.8 8 23.6 8 16.2 13.8 10.5 21.2 10.5c4.2 0 8.2 2 10.8 5 2.6-3 6.6-5 10.8-5 7.4 0 13.2 5.7 13.2 13.1 0 9.2-8 16.4-20.6 27.4z'/%3E%3Cpath fill='%23fff' fill-opacity='.55' d='M17 20c1.5-3 4-4.5 7-4.5' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.s-heart2 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 72 72'%3E%3Cpath stroke='white' stroke-width='5' stroke-linejoin='round' paint-order='stroke' fill='%23ffb3c6' d='M32 54 28.6 51C16 40 8 32.8 8 23.6 8 16.2 13.8 10.5 21.2 10.5c4.2 0 8.2 2 10.8 5 2.6-3 6.6-5 10.8-5 7.4 0 13.2 5.7 13.2 13.1 0 9.2-8 16.4-20.6 27.4z'/%3E%3C/svg%3E"); }
.s-star { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 72 72'%3E%3Cpath stroke='white' stroke-width='5' stroke-linejoin='round' paint-order='stroke' fill='%23ffd166' d='M32 7l7.3 15.6 17 2-12.6 11.7 3.4 16.8L32 44.7 16.9 53.1l3.4-16.8L7.7 24.6l17-2z'/%3E%3C/svg%3E"); }
.s-sparkle { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 72 72'%3E%3Cpath stroke='white' stroke-width='5' stroke-linejoin='round' paint-order='stroke' fill='%23ffe08a' d='M32 6c2 14 6 18 20 20-14 2-18 6-20 20-2-14-6-18-20-20 14-2 18-6 20-20z'/%3E%3Cpath stroke='white' stroke-width='5' stroke-linejoin='round' paint-order='stroke' fill='%23ffb3c6' d='M50 40c.9 5.5 2.5 7.1 8 8-5.5.9-7.1 2.5-8 8-.9-5.5-2.5-7.1-8-8 5.5-.9 7.1-2.5 8-8z'/%3E%3C/svg%3E"); }
.s-flower { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 72 72'%3E%3Cg stroke='white' stroke-width='5' stroke-linejoin='round' paint-order='stroke' fill='%23ffafcc'%3E%3Ccircle cx='32' cy='16' r='10'/%3E%3Ccircle cx='47' cy='27' r='10'/%3E%3Ccircle cx='41' cy='45' r='10'/%3E%3Ccircle cx='23' cy='45' r='10'/%3E%3Ccircle cx='17' cy='27' r='10'/%3E%3C/g%3E%3Cg fill='%23ffafcc'%3E%3Ccircle cx='32' cy='16' r='10'/%3E%3Ccircle cx='47' cy='27' r='10'/%3E%3Ccircle cx='41' cy='45' r='10'/%3E%3Ccircle cx='23' cy='45' r='10'/%3E%3Ccircle cx='17' cy='27' r='10'/%3E%3C/g%3E%3Ccircle cx='32' cy='32' r='8' fill='%23ffd166'/%3E%3C/svg%3E"); }
.s-paw { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 72 72'%3E%3Cg stroke='white' stroke-width='5' stroke-linejoin='round' paint-order='stroke' fill='%23b5835a'%3E%3Cellipse cx='32' cy='42' rx='13' ry='11'/%3E%3Cellipse cx='16' cy='27' rx='6' ry='7.5'/%3E%3Cellipse cx='26' cy='17' rx='6' ry='7.5'/%3E%3Cellipse cx='38' cy='17' rx='6' ry='7.5'/%3E%3Cellipse cx='48' cy='27' rx='6' ry='7.5'/%3E%3C/g%3E%3Cg fill='%23b5835a'%3E%3Cellipse cx='32' cy='42' rx='13' ry='11'/%3E%3Cellipse cx='16' cy='27' rx='6' ry='7.5'/%3E%3Cellipse cx='26' cy='17' rx='6' ry='7.5'/%3E%3Cellipse cx='38' cy='17' rx='6' ry='7.5'/%3E%3Cellipse cx='48' cy='27' rx='6' ry='7.5'/%3E%3C/g%3E%3C/svg%3E"); }
.s-plane { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 72 72'%3E%3Cpath stroke='white' stroke-width='5' stroke-linejoin='round' paint-order='stroke' fill='%238ecae6' d='M6 30 58 8 44 56 32 40 22 50 23 36z'/%3E%3Cpath fill='%235fa8d3' d='M23 36 58 8 32 40 22 50z'/%3E%3C/svg%3E"); }
.s-camera { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 72 72'%3E%3Cpath stroke='white' stroke-width='5' stroke-linejoin='round' paint-order='stroke' fill='%23f28482' d='M10 20h10l4-6h16l4 6h10a4 4 0 0 1 4 4v24a4 4 0 0 1-4 4H10a4 4 0 0 1-4-4V24a4 4 0 0 1 4-4z'/%3E%3Ccircle cx='32' cy='35' r='10' fill='%23fff'/%3E%3Ccircle cx='32' cy='35' r='6' fill='%235b3940'/%3E%3Ccircle cx='49' cy='27' r='2.5' fill='%23fff'/%3E%3C/svg%3E"); }
.s-cloud { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 72 72'%3E%3Cpath stroke='white' stroke-width='5' stroke-linejoin='round' paint-order='stroke' fill='%23eaf4ff' d='M18 48a11 11 0 0 1-1-22 15 15 0 0 1 29-3 11 11 0 0 1 1 25z'/%3E%3C/svg%3E"); }
.s-sun { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 72 72'%3E%3Cg stroke='white' stroke-width='9' stroke-linecap='round'%3E%3Cpath d='M32 4v8M32 52v8M4 32h8M52 32h8M12 12l6 6M46 46l6 6M12 52l6-6M46 18l6-6'/%3E%3C/g%3E%3Cg stroke='%23ffc94d' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M32 4v8M32 52v8M4 32h8M52 32h8M12 12l6 6M46 46l6 6M12 52l6-6M46 18l6-6'/%3E%3C/g%3E%3Ccircle stroke='white' stroke-width='5' stroke-linejoin='round' paint-order='stroke' cx='32' cy='32' r='13' fill='%23ffd166'/%3E%3C/svg%3E"); }

/* ---- riêng của album ---- */
/* Riêng album P & Q (ghi đè mẫu love-minimal nếu cần) */
