/* ==========================================================
   Bộ màu dùng chung cho mọi mẫu: album.palette = "<tên>" (xem thử: ?palette=<tên>)
   blush · peach · lavender · mint · rose-night · linen · classic · navy · forest · ivory · kraft · sky · noir
   tet · xmas · ocean · sunset · sepia · candy
   ========================================================== */
html[data-palette="blush"] {
  --bg-1: #fdf0f2; --bg-2: #f6dde3; --bg-3: #ecc6d0; --bg-glow: rgba(255,255,255,.7); --bg-grain: .12;
  --leather-1: #e8aabb; --leather-2: #d0869c; --leather-3: #b06a82;
  --gold-1: #fff7f1; --gold-2: #c48a72; --gold-3: #e4b098;
  --foil: linear-gradient(180deg, #fff7f1 0%, #f6d9c9 45%, #e4b098 75%, #fff2ea 100%);
  --foil-shadow: rgba(120,45,65,.6);
  --corner: linear-gradient(135deg, #fff1e8, #c48a72 50%, #f0c8b0 75%, #a8705c);
  --paper: #fffaf8; --paper-edge: rgba(190,120,135,.16); --ink: #5b3940; --ink-soft: #a5747e;
  --endpaper: 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='%23d0869c' 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(120, 80, 90, .14) 100%), var(--noise), #f8e3e6;
  --pc: linear-gradient(135deg, #c97b92, #e3a3b4);
  --btn-bg: rgba(255,255,255,.6); --btn-border: rgba(176,106,130,.35); --btn-color: #b06a82;
}
html[data-palette="peach"] {
  --bg-1: #fff6ef; --bg-2: #fde6d6; --bg-3: #f5cdb3; --bg-glow: rgba(255,255,255,.7); --bg-grain: .12;
  --leather-1: #f7b99a; --leather-2: #ec9a78; --leather-3: #d27a5a;
  --gold-1: #fffaf0; --gold-2: #c79a52; --gold-3: #e9bd7c;
  --foil: linear-gradient(180deg, #fffaf0 0%, #fbe3b8 45%, #e9bd7c 75%, #fff4dc 100%);
  --foil-shadow: rgba(130,60,30,.55);
  --corner: linear-gradient(135deg, #fff6df, #c79a52 50%, #f3d495 75%, #a67a38);
  --paper: #fffbf6; --paper-edge: rgba(200,140,100,.16); --ink: #5e4033; --ink-soft: #a97c66;
  --endpaper: 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='%23ec9a78' 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(120, 80, 90, .14) 100%), var(--noise), #fdebdd;
  --pc: linear-gradient(135deg, #d9805e, #f2a985);
  --btn-bg: rgba(255,255,255,.6); --btn-border: rgba(210,122,90,.35); --btn-color: #c2704f;
}
html[data-palette="lavender"] {
  --bg-1: #f7f3fc; --bg-2: #ebe3f6; --bg-3: #d9cdee; --bg-glow: rgba(255,255,255,.7); --bg-grain: .12;
  --leather-1: #c7b5e3; --leather-2: #a993d1; --leather-3: #8a74b6;
  --gold-1: #ffffff; --gold-2: #a8a2b8; --gold-3: #d6c3e4;
  --foil: linear-gradient(180deg, #ffffff 0%, #efe6f5 45%, #d6c3e4 75%, #fbf6ff 100%);
  --foil-shadow: rgba(70,45,110,.55);
  --corner: linear-gradient(135deg, #ffffff, #a8a2b8 50%, #e4dfee 75%, #8c86a0);
  --paper: #fdfbff; --paper-edge: rgba(150,130,190,.16); --ink: #463a5c; --ink-soft: #8a7aa6;
  --endpaper: 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='%23a993d1' 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(120, 80, 90, .14) 100%), var(--noise), #efe8f8;
  --pc: linear-gradient(135deg, #9a84c4, #c7b5e3);
  --btn-bg: rgba(255,255,255,.6); --btn-border: rgba(138,116,182,.35); --btn-color: #7f69ab;
}
html[data-palette="mint"] {
  --bg-1: #f1faf6; --bg-2: #dff1e9; --bg-3: #c6e4d6; --bg-glow: rgba(255,255,255,.7); --bg-grain: .12;
  --leather-1: #a9d3be; --leather-2: #86bca2; --leather-3: #649c83;
  --gold-1: #fffaf0; --gold-2: #c4a25e; --gold-3: #e2c58a;
  --foil: linear-gradient(180deg, #fffaf0 0%, #f6e7c1 45%, #e2c58a 75%, #fff6e0 100%);
  --foil-shadow: rgba(40,80,60,.55);
  --corner: linear-gradient(135deg, #fff6df, #c4a25e 50%, #efd9a0 75%, #a68440);
  --paper: #fbfefc; --paper-edge: rgba(110,160,135,.16); --ink: #34493f; --ink-soft: #6f9483;
  --endpaper: 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='%2386bca2' 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(120, 80, 90, .14) 100%), var(--noise), #e6f4ee;
  --pc: linear-gradient(135deg, #6fa88d, #a9d3be);
  --btn-bg: rgba(255,255,255,.6); --btn-border: rgba(100,156,131,.35); --btn-color: #5a8f77;
}
html[data-palette="rose-night"] {
  --bg-1: #3a2530; --bg-2: #24161d; --bg-3: #12090e; --bg-glow: rgba(255,220,230,.12); --bg-grain: .35;
  --leather-1: #e3a3b4; --leather-2: #c97b92; --leather-3: #a65a74;
  --gold-1: #fff6ef; --gold-2: #c48a72; --gold-3: #e2ab92;
  --foil: linear-gradient(180deg, #fff6ef 0%, #f4d3c2 45%, #e2ab92 75%, #fff0e6 100%);
  --foil-shadow: rgba(110,35,55,.75);
  --corner: linear-gradient(135deg, #fff1e8, #c48a72 50%, #f0c8b0 75%, #a8705c);
  --paper: #fbf1ee; --paper-edge: rgba(150,90,100,.18); --ink: #5b3940; --ink-soft: #9b6a74;
  --endpaper: 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(120, 80, 90, .14) 100%), var(--noise), #f6dfe2;
  --pc: linear-gradient(135deg, #8e4a5f, #b56b80);
  --btn-bg: rgba(70,35,50,.5); --btn-border: rgba(255,220,230,.4); --btn-color: #ffe6ee;
}


html[data-palette="linen"] {
  --bg-1: #faf5f0; --bg-2: #f1e6dc; --bg-3: #e4d3c4; --bg-glow: rgba(255,255,255,.7); --bg-grain: .1;
  --leather-1: #efe2d6; --leather-2: #e2cfbf; --leather-3: #cdb4a1;
  --gold-1: #fff7ef; --gold-2: #b77b64; --gold-3: #e6b79f;
  --foil: linear-gradient(180deg, #e9b9a0 0%, #c48a72 45%, #b77b64 75%, #e6b79f 100%);
  --foil-shadow: rgba(255,255,255,.6);
  --corner: linear-gradient(135deg, #fff1e8, #c48a72 50%, #f0c8b0 75%, #a8705c);
  --paper: #fffbf6; --paper-edge: rgba(170,130,105,.16); --ink: #5e4438; --ink-soft: #a7806e;
  --endpaper: 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='%23b9877c' fill-opacity='.22' 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(120,90,70,.12) 100%), var(--noise), #f3e8de;
  --pc: linear-gradient(135deg, #b99282, #d8b9a8);
  --btn-bg: rgba(255,255,255,.65); --btn-border: rgba(167,102,92,.3); --btn-color: #a7665c;
  --cover-small: #9a6a5a;
}


html[data-palette="classic"] {
  --bg-1: #2b2230; --bg-2: #151018; --bg-3: #070508; --bg-glow: rgba(255,244,225,.09); --bg-grain: 0.35;
  --leather-1: #5b3a72; --leather-2: #432a57; --leather-3: #271834;
  --gold-1: #f7f7f5; --gold-2: #8f9198; --gold-3: #d3d5d9;
  --foil: linear-gradient(180deg, #f7f7f5 0%, #d3d5d9 45%, #8f9198 75%, #f7f7f5 100%);
  --foil-shadow: rgba(40,25,20,.55);
  --corner: linear-gradient(135deg, #f7f7f5, #8f9198 50%, #d3d5d9 75%, #8f9198);
  --paper: #eeebe3; --paper-edge: rgba(90,70,60,.16); --ink: #2c2a28; --ink-soft: #5c5853;
  --endpaper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='6.5' cy='6.5' r='2' fill='%238f9198' fill-opacity='0.3'/%3E%3Ccircle cx='19.5' cy='19.5' r='2' fill='%238f9198' fill-opacity='0.3'/%3E%3C/svg%3E");
  --pc: linear-gradient(135deg, #8f9198, #d3d5d9);
  --btn-bg: rgba(30,22,38,.55); --btn-border: rgba(200,202,207,.35); --btn-color: #d3d5d9;
}
html[data-palette="navy"] {
  --bg-1: #24324a; --bg-2: #141d2e; --bg-3: #080c15; --bg-glow: rgba(230,215,180,.1); --bg-grain: 0.3;
  --leather-1: #2f4a73; --leather-2: #22385a; --leather-3: #14233d;
  --gold-1: #fff8e7; --gold-2: #b8975a; --gold-3: #e6cc8f;
  --foil: linear-gradient(180deg, #fff8e7 0%, #e6cc8f 45%, #b8975a 75%, #fff8e7 100%);
  --foil-shadow: rgba(40,25,20,.55);
  --corner: linear-gradient(135deg, #fff8e7, #b8975a 50%, #e6cc8f 75%, #b8975a);
  --paper: #f6f2ea; --paper-edge: rgba(90,70,60,.16); --ink: #24324a; --ink-soft: #5f6f86;
  --endpaper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='6.5' cy='6.5' r='2' fill='%23b8975a' fill-opacity='0.3'/%3E%3Ccircle cx='19.5' cy='19.5' r='2' fill='%23b8975a' fill-opacity='0.3'/%3E%3C/svg%3E");
  --pc: linear-gradient(135deg, #b8975a, #e6cc8f);
  --btn-bg: rgba(20,30,50,.55); --btn-border: rgba(230,204,143,.4); --btn-color: #f0dcaa;
}
html[data-palette="forest"] {
  --bg-1: #eef3ea; --bg-2: #dbe6d3; --bg-3: #c3d4b8; --bg-glow: rgba(255,255,255,.7); --bg-grain: 0.12;
  --leather-1: #5f7f5a; --leather-2: #4b6a47; --leather-3: #344d32;
  --gold-1: #fffbea; --gold-2: #b8975a; --gold-3: #e6cc8f;
  --foil: linear-gradient(180deg, #fffbea 0%, #e6cc8f 45%, #b8975a 75%, #fffbea 100%);
  --foil-shadow: rgba(40,25,20,.55);
  --corner: linear-gradient(135deg, #fffbea, #b8975a 50%, #e6cc8f 75%, #b8975a);
  --paper: #fbfaf3; --paper-edge: rgba(90,70,60,.16); --ink: #2f3d2c; --ink-soft: #6b7f63;
  --endpaper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='6.5' cy='6.5' r='2' fill='%237d9a72' fill-opacity='0.3'/%3E%3Ccircle cx='19.5' cy='19.5' r='2' fill='%237d9a72' fill-opacity='0.3'/%3E%3C/svg%3E");
  --pc: linear-gradient(135deg, #7d9a72, #b5c9a8);
  --btn-bg: rgba(255,255,255,.6); --btn-border: rgba(75,106,71,.35); --btn-color: #4b6a47;
}
html[data-palette="ivory"] {
  --bg-1: #fbf8f1; --bg-2: #f2ebdd; --bg-3: #e6dbc5; --bg-glow: rgba(255,255,255,.7); --bg-grain: 0.08;
  --leather-1: #f6f0e3; --leather-2: #eadfca; --leather-3: #d9c9ab;
  --gold-1: #fff9e8; --gold-2: #b38b4d; --gold-3: #e3c27f;
  --foil: linear-gradient(180deg, #fff9e8 0%, #e3c27f 45%, #b38b4d 75%, #fff9e8 100%);
  --foil-shadow: rgba(255,255,255,.7);
  --corner: linear-gradient(135deg, #fff9e8, #b38b4d 50%, #e3c27f 75%, #b38b4d);
  --paper: #fffdf8; --paper-edge: rgba(90,70,60,.16); --ink: #4a4032; --ink-soft: #9a8a6e;
  --endpaper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='6.5' cy='6.5' r='2' fill='%23c9a764' fill-opacity='0.3'/%3E%3Ccircle cx='19.5' cy='19.5' r='2' fill='%23c9a764' fill-opacity='0.3'/%3E%3C/svg%3E");
  --pc: linear-gradient(135deg, #c9a764, #e9d6a6);
  --btn-bg: rgba(255,255,255,.7); --btn-border: rgba(179,139,77,.35); --btn-color: #a07b40;
  --foil: linear-gradient(180deg, #d9b46a 0%, #b38b4d 50%, #8c6a33 80%, #c9a35a 100%); --cover-small: #9a7638; --foil-shadow: rgba(255,255,255,.8);
}
html[data-palette="kraft"] {
  --bg-1: #efe4d2; --bg-2: #e0cfb4; --bg-3: #cdb592; --bg-glow: rgba(255,255,255,.7); --bg-grain: 0.25;
  --leather-1: #b48a5e; --leather-2: #9c744a; --leather-3: #7d5a36;
  --gold-1: #fff6e6; --gold-2: #6b4e33; --gold-3: #a98257;
  --foil: linear-gradient(180deg, #fff6e6 0%, #a98257 45%, #6b4e33 75%, #fff6e6 100%);
  --foil-shadow: rgba(40,25,20,.55);
  --corner: linear-gradient(135deg, #fff6e6, #6b4e33 50%, #a98257 75%, #6b4e33);
  --paper: #f3e8d4; --paper-edge: rgba(90,70,60,.16); --ink: #4a3624; --ink-soft: #8a6a4b;
  --endpaper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='6.5' cy='6.5' r='2' fill='%23c96f53' fill-opacity='0.3'/%3E%3Ccircle cx='19.5' cy='19.5' r='2' fill='%23c96f53' fill-opacity='0.3'/%3E%3C/svg%3E");
  --pc: linear-gradient(135deg, #c96f53, #e0a185);
  --btn-bg: rgba(255,250,240,.6); --btn-border: rgba(125,90,54,.35); --btn-color: #7d5a36;
}
html[data-palette="sky"] {
  --bg-1: #f0f7fd; --bg-2: #dcecf9; --bg-3: #c3ddf2; --bg-glow: rgba(255,255,255,.7); --bg-grain: 0.12;
  --leather-1: #8ec3ea; --leather-2: #6aaadb; --leather-3: #4b8cc0;
  --gold-1: #ffffff; --gold-2: #f2b84b; --gold-3: #ffd98a;
  --foil: linear-gradient(180deg, #ffffff 0%, #ffd98a 45%, #f2b84b 75%, #ffffff 100%);
  --foil-shadow: rgba(30,70,110,.5);
  --corner: linear-gradient(135deg, #ffffff, #f2b84b 50%, #ffd98a 75%, #f2b84b);
  --paper: #fdfeff; --paper-edge: rgba(90,70,60,.16); --ink: #2d4660; --ink-soft: #6f8aa3;
  --endpaper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='6.5' cy='6.5' r='2' fill='%23f2b84b' fill-opacity='0.3'/%3E%3Ccircle cx='19.5' cy='19.5' r='2' fill='%23f2b84b' fill-opacity='0.3'/%3E%3C/svg%3E");
  --pc: linear-gradient(135deg, #f2b84b, #ffd98a);
  --btn-bg: rgba(255,255,255,.65); --btn-border: rgba(75,140,192,.35); --btn-color: #3f7fb3;
  --cover-small: #ffffff;
}
html[data-palette="noir"] {
  --bg-1: #1f1f22; --bg-2: #121214; --bg-3: #060607; --bg-glow: rgba(255,255,255,.06); --bg-grain: 0.3;
  --leather-1: #2b2b2f; --leather-2: #1d1d20; --leather-3: #101012;
  --gold-1: #ffffff; --gold-2: #a8a8ad; --gold-3: #e4e4e8;
  --foil: linear-gradient(180deg, #ffffff 0%, #e4e4e8 45%, #a8a8ad 75%, #ffffff 100%);
  --foil-shadow: rgba(40,25,20,.55);
  --corner: linear-gradient(135deg, #ffffff, #a8a8ad 50%, #e4e4e8 75%, #a8a8ad);
  --paper: #f7f6f3; --paper-edge: rgba(90,70,60,.16); --ink: #1d1d20; --ink-soft: #77777d;
  --endpaper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='6.5' cy='6.5' r='2' fill='%233a3a3f' fill-opacity='0.3'/%3E%3Ccircle cx='19.5' cy='19.5' r='2' fill='%233a3a3f' fill-opacity='0.3'/%3E%3C/svg%3E");
  --pc: linear-gradient(135deg, #3a3a3f, #77777d);
  --btn-bg: rgba(20,20,22,.55); --btn-border: rgba(255,255,255,.3); --btn-color: #f2f2f2;
}

html[data-palette="tet"] {
  --bg-1: #fff4e6; --bg-2: #fde2c8; --bg-3: #f6c79c; --bg-glow: rgba(255,255,255,.7); --bg-grain: 0.12;
  --leather-1: #d62828; --leather-2: #b51f2c; --leather-3: #7d1420;
  --gold-1: #fff6d5; --gold-2: #c9962c; --gold-3: #f3cf6b;
  --foil: linear-gradient(180deg, #fff6d5 0%, #f3cf6b 45%, #c9962c 75%, #fff6d5 100%);
  --foil-shadow: rgba(90,10,10,.6);
  --corner: linear-gradient(135deg, #fff6d5, #c9962c 50%, #f3cf6b 75%, #c9962c);
  --paper: #fffaf2; --paper-edge: rgba(90,70,60,.16); --ink: #6b1d1d; --ink-soft: #a8572e;
  --endpaper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='6.5' cy='6.5' r='2' fill='%23d62828' fill-opacity='0.3'/%3E%3Ccircle cx='19.5' cy='19.5' r='2' fill='%23d62828' fill-opacity='0.3'/%3E%3C/svg%3E");
  --pc: linear-gradient(135deg, #d62828, #f3cf6b);
  --btn-bg: rgba(255,250,240,.7); --btn-border: rgba(181,31,44,.35); --btn-color: #b51f2c;
}
html[data-palette="xmas"] {
  --bg-1: #1f3b2d; --bg-2: #142a20; --bg-3: #0a1711; --bg-glow: rgba(255,230,180,.1); --bg-grain: 0.3;
  --leather-1: #2f6b45; --leather-2: #24563a; --leather-3: #163a27;
  --gold-1: #fff6e0; --gold-2: #c9962c; --gold-3: #f3cf6b;
  --foil: linear-gradient(180deg, #fff6e0 0%, #f3cf6b 45%, #c9962c 75%, #fff6e0 100%);
  --foil-shadow: rgba(40,25,20,.55);
  --corner: linear-gradient(135deg, #fff6e0, #c9962c 50%, #f3cf6b 75%, #c9962c);
  --paper: #fbf8f0; --paper-edge: rgba(90,70,60,.16); --ink: #2a3b2f; --ink-soft: #7a6b55;
  --endpaper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='6.5' cy='6.5' r='2' fill='%23c0392b' fill-opacity='0.3'/%3E%3Ccircle cx='19.5' cy='19.5' r='2' fill='%23c0392b' fill-opacity='0.3'/%3E%3C/svg%3E");
  --pc: linear-gradient(135deg, #c0392b, #e57368);
  --btn-bg: rgba(20,40,30,.55); --btn-border: rgba(243,207,107,.45); --btn-color: #f7e3a8;
}
html[data-palette="ocean"] {
  --bg-1: #eef8f8; --bg-2: #d5eeef; --bg-3: #b7e0e2; --bg-glow: rgba(255,255,255,.7); --bg-grain: 0.12;
  --leather-1: #3aa7b0; --leather-2: #2b8c95; --leather-3: #1d6c74;
  --gold-1: #ffffff; --gold-2: #e0b878; --gold-3: #f6dcac;
  --foil: linear-gradient(180deg, #ffffff 0%, #f6dcac 45%, #e0b878 75%, #ffffff 100%);
  --foil-shadow: rgba(10,60,70,.5);
  --corner: linear-gradient(135deg, #ffffff, #e0b878 50%, #f6dcac 75%, #e0b878);
  --paper: #fffdf8; --paper-edge: rgba(90,70,60,.16); --ink: #1f4d55; --ink-soft: #5f8b91;
  --endpaper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='6.5' cy='6.5' r='2' fill='%23f2a65a' fill-opacity='0.3'/%3E%3Ccircle cx='19.5' cy='19.5' r='2' fill='%23f2a65a' fill-opacity='0.3'/%3E%3C/svg%3E");
  --pc: linear-gradient(135deg, #f2a65a, #f6c48e);
  --btn-bg: rgba(255,255,255,.65); --btn-border: rgba(43,140,149,.35); --btn-color: #237f88; --cover-small: #ffffff;
}
html[data-palette="sunset"] {
  --bg-1: #fff1ea; --bg-2: #fbd9cc; --bg-3: #f2b8a6; --bg-glow: rgba(255,255,255,.7); --bg-grain: 0.12;
  --leather-1: #f08a6c; --leather-2: #d96a55; --leather-3: #9c4b6e;
  --gold-1: #fff7ea; --gold-2: #c97b4f; --gold-3: #f2b48b;
  --foil: linear-gradient(180deg, #fff7ea 0%, #f2b48b 45%, #c97b4f 75%, #fff7ea 100%);
  --foil-shadow: rgba(40,25,20,.55);
  --corner: linear-gradient(135deg, #fff7ea, #c97b4f 50%, #f2b48b 75%, #c97b4f);
  --paper: #fffaf6; --paper-edge: rgba(90,70,60,.16); --ink: #5a2f3c; --ink-soft: #a0646f;
  --endpaper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='6.5' cy='6.5' r='2' fill='%23f08a6c' fill-opacity='0.3'/%3E%3Ccircle cx='19.5' cy='19.5' r='2' fill='%23f08a6c' fill-opacity='0.3'/%3E%3C/svg%3E");
  --pc: linear-gradient(135deg, #f08a6c, #f7b79a);
  --btn-bg: rgba(255,255,255,.65); --btn-border: rgba(217,106,85,.35); --btn-color: #c0563f;
}
html[data-palette="sepia"] {
  --bg-1: #3a2c22; --bg-2: #241a13; --bg-3: #120c08; --bg-glow: rgba(255,220,170,.1); --bg-grain: 0.4;
  --leather-1: #8a6a4a; --leather-2: #6e5238; --leather-3: #4a3624;
  --gold-1: #fff3dc; --gold-2: #b08c5a; --gold-3: #e2c48f;
  --foil: linear-gradient(180deg, #fff3dc 0%, #e2c48f 45%, #b08c5a 75%, #fff3dc 100%);
  --foil-shadow: rgba(40,25,20,.55);
  --corner: linear-gradient(135deg, #fff3dc, #b08c5a 50%, #e2c48f 75%, #b08c5a);
  --paper: #efe3cc; --paper-edge: rgba(90,70,60,.16); --ink: #3e2f22; --ink-soft: #7c6650;
  --endpaper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='6.5' cy='6.5' r='2' fill='%237a5c3e' fill-opacity='0.3'/%3E%3Ccircle cx='19.5' cy='19.5' r='2' fill='%237a5c3e' fill-opacity='0.3'/%3E%3C/svg%3E");
  --pc: linear-gradient(135deg, #7a5c3e, #b08c6a);
  --btn-bg: rgba(40,28,20,.55); --btn-border: rgba(226,196,143,.4); --btn-color: #ecd7b0;
}
html[data-palette="candy"] {
  --bg-1: #fff7fb; --bg-2: #fde6f1; --bg-3: #f9cfe3; --bg-glow: rgba(255,255,255,.7); --bg-grain: 0.12;
  --leather-1: #ffb3d1; --leather-2: #ff8fbd; --leather-3: #e86aa0;
  --gold-1: #ffffff; --gold-2: #f2b84b; --gold-3: #ffd98a;
  --foil: linear-gradient(180deg, #ffffff 0%, #ffd98a 45%, #f2b84b 75%, #ffffff 100%);
  --foil-shadow: rgba(120,30,80,.45);
  --corner: linear-gradient(135deg, #ffffff, #f2b84b 50%, #ffd98a 75%, #f2b84b);
  --paper: #fffdfe; --paper-edge: rgba(90,70,60,.16); --ink: #5a3350; --ink-soft: #a36b93;
  --endpaper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='6.5' cy='6.5' r='2' fill='%237fc8f8' fill-opacity='0.3'/%3E%3Ccircle cx='19.5' cy='19.5' r='2' fill='%237fc8f8' fill-opacity='0.3'/%3E%3C/svg%3E");
  --pc: linear-gradient(135deg, #7fc8f8, #ffd166);
  --btn-bg: rgba(255,255,255,.7); --btn-border: rgba(232,106,160,.35); --btn-color: #d2558c; --cover-small: #ffffff;
}
