/* V0.6 – tờ lịch một ngày, điều hướng 5 mục và tiện ích theo kiểu widget. */
body[data-view="sheet"] .hero,
body[data-view="info"] .hero,
body[data-view="day"] .hero {display:none}

/* Trên điện thoại giữ thanh điều hướng gọn, tờ lịch được nhô cao ở giữa. */
.bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding-top:8px}
.bottom-nav .tab{min-width:0;line-height:1.2;gap:5px}
.bottom-nav .tab>span:last-child{white-space:nowrap}
.bottom-nav .tab-sheet{position:relative;color:var(--wine);font-weight:850}
.bottom-nav .tab-sheet .tab-icon,
.bottom-nav .tab-sheet.active .tab-icon{display:grid;place-items:center;width:60px;height:60px;padding:0;margin-top:-29px;border:4px solid #faefd7;border-radius:50%;background:var(--wine);color:#fff5dc;font-weight:900;font-size:24px;line-height:1;box-shadow:0 3px 0 #d3b279,0 7px 16px #4c241c37}
.bottom-nav .tab-sheet.active .tab-icon{outline:2px solid var(--wine);outline-offset:2px}

.sheet-heading{margin-bottom:17px}
.almanac-sheet{overflow:hidden;margin:0 auto;width:min(100%,540px);background:#fffef9;border:1px solid #e8dbbb;border-radius:23px;box-shadow:0 20px 52px rgba(65,41,31,.13),0 3px 0 rgba(160,112,74,.06);text-align:center;touch-action:pan-y;user-select:none}
.sheet-banner{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:19px 23px;background:linear-gradient(115deg,var(--hero-a),var(--hero-b),var(--hero-c));color:#fff6e9}
.sheet-banner:after{content:"";position:absolute;bottom:0;left:0;right:0;height:5px;background:repeating-linear-gradient(90deg,#eac88b 0 13px,transparent 13px 22px);opacity:.65}
.sheet-banner>div{display:flex;flex-direction:column;gap:2px}
.sheet-banner-title{font-weight:900;letter-spacing:.11em;font-size:15px}
.sheet-banner-sub{font-size:9px;letter-spacing:.21em;color:#f5d9ad}
.sheet-time{font-variant-numeric:tabular-nums;font-size:18px;font-weight:750;flex:none}
.sheet-solar-zone{padding:27px 17px 32px;position:relative;background:radial-gradient(circle at 50% 62%,#fff 0,#fffdfa 62%,#fff4e5 100%)}
.sheet-month{font-size:15px;font-weight:850;letter-spacing:.18em;color:var(--wine)}
.sheet-solar-day{font-size:clamp(136px,32vw,238px);font-weight:900;letter-spacing:-.085em;color:#231c1b;line-height:1.07;margin:5px 0 2px;font-variant-numeric:tabular-nums;padding-right:.08em}
.sheet-weekday{font-size:clamp(25px,5vw,38px);font-weight:900;letter-spacing:.08em;color:var(--wine)}
.sheet-memorial{margin:21px auto 0;width:fit-content;max-width:100%;padding:9px 13px;border:1px solid #e7cfaa;border-radius:25px;color:#784c26;background:#fff7e8;font-size:12px;font-weight:750;line-height:1.6}
.sheet-lunar-zone{display:grid;grid-template-columns:148px minmax(0,1fr);gap:20px;text-align:left;padding:23px 28px;border-top:1px solid #eddfc7;background:linear-gradient(125deg,#fcf5e8,#fffdf8)}
.sheet-lunar-stamp{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:146px;padding:12px 8px;border-radius:18px;background:var(--wine);color:#fff5d7}
.sheet-lunar-stamp span{font-size:11px;letter-spacing:.13em;font-weight:800}
.sheet-lunar-stamp strong{font-size:75px;line-height:1.15;letter-spacing:-.055em;font-variant-numeric:tabular-nums}
.sheet-lunar-info{display:flex;flex-direction:column;justify-content:center;gap:6px;min-width:0}
.sheet-lunar-info>div{display:grid;grid-template-columns:56px minmax(0,1fr);gap:6px;border-bottom:1px solid #efdec8;padding:4px 0;font-size:12px}
.sheet-lunar-info>div:last-child{border-bottom:0}
.sheet-lunar-info span{color:#8f7c6b}.sheet-lunar-info strong{font-size:13px;color:#3d332b;overflow-wrap:anywhere}
.sheet-note{padding:12px 20px 17px;background:#fbf5e8;color:#8e5835;font-size:12px;font-weight:650}
.sheet-controls{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;margin:17px auto;width:min(100%,540px)}
.sheet-controls button{min-height:48px;border:1px solid #e8d5bd;background:var(--white);border-radius:13px;color:var(--wine);font-weight:800;font-size:17px;padding:8px 11px}
.sheet-controls button span{font-size:12px}.sheet-controls button:last-child{justify-self:stretch}
.sheet-controls #sheet-share{padding-inline:19px;font-size:13px}
.sheet-hint{text-align:center;color:var(--muted);font-size:12px;line-height:1.6;max-width:540px;margin:0 auto 20px}

/* Xem ngày. */
.date-lookup-card{background:var(--white);border:1px solid var(--line);border-radius:22px;padding:25px;box-shadow:var(--shadow)}
.date-lookup-card>label,.tool-field{display:flex;flex-direction:column;gap:7px;color:#66534a;font-weight:750;font-size:13px}
.date-lookup-card input,.tool-field input,.tool-field select,.tool-field textarea{width:100%;min-height:49px;padding:11px 13px;border:1px solid #d9c4ae;border-radius:12px;background:#fffefa;color:#322b27;font-size:16px;max-width:100%}
.day-lookup-result{margin:18px 0}.day-lookup-row{display:flex;justify-content:space-between;gap:17px;padding:13px 4px;border-bottom:1px solid var(--line);font-size:14px}.day-lookup-row span{color:var(--muted)}.day-lookup-row strong{text-align:right;max-width:65%}
.date-lookup-card>.primary-small{width:100%;min-height:47px}
.utility-caution{font-size:12px;line-height:1.7;color:#876f5d;background:#fff6e8;border:1px solid #efddbe;border-radius:13px;padding:13px 14px;margin:15px 0}

/* Tiện ích lấy cảm hứng từ ảnh mẫu, tile như widget có diện tích chạm rộng. */
.utility-group-heading{margin:26px 1px 13px;color:var(--wine);font-size:19px;font-weight:900;letter-spacing:-.02em}
.utility-group-heading:first-of-type{margin-top:6px}
.utility-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.utility-tile{min-width:0;min-height:160px;align-items:center;justify-content:flex-start;text-align:center;gap:7px;padding:15px 7px 12px;border:1px solid #ead9b9;border-radius:18px;box-shadow:0 4px 15px #6d42200a;transition:transform .12s,box-shadow .12s}
.utility-tile:hover{transform:translateY(-2px);box-shadow:0 9px 22px #6d422018}
.utility-tile:active{transform:scale(.98)}
.utility-tile>span{width:69px;height:65px;border:2px solid #e6d4a6;border-radius:21px;background:#fffdf7;font-size:31px}
.utility-tile strong{font-size:14px;line-height:1.3;color:#4d302b}
.utility-tile small{font-size:10px;color:#877a70;line-height:1.4}
.theme-panel{margin:27px 0 12px}

/* Cửa sổ tiện ích: thao tác đủ lớn ngay cả với người lớn tuổi. */
.tool-dialog{width:min(580px,calc(100vw - 22px));padding:23px;max-height:min(89dvh,830px)}
.tool-dialog .dialog-title{position:sticky;top:-23px;margin:-23px -23px 15px;padding:20px 23px 13px;background:var(--white);z-index:2;border-bottom:1px solid var(--line)}
.tool-dialog-body{display:flex;flex-direction:column;gap:13px}
.tool-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tool-field{margin:0;gap:8px}
.tool-dialog .primary-small{min-height:48px;font-size:14px}
.tool-output{white-space:pre-line;overflow-wrap:anywhere;background:#f9f5ec;border:1px solid #e6d9c6;border-radius:13px;padding:15px;font-size:14px;line-height:1.85;color:#42342f}
.tool-output:empty{display:none}
.utility-report{white-space:normal;display:grid;gap:10px;line-height:1.5}
.utility-report-heading{display:flex;flex-direction:column;gap:4px;padding:4px 2px 9px;border-bottom:1px solid #e6d5c0}
.utility-report-heading strong{font-size:21px;line-height:1.35;color:#8e1b27;font-weight:900}
.utility-report-heading span{font-size:12px;color:#836d5c}
.utility-verdict{font-weight:850;font-size:14px;line-height:1.6;border-radius:12px;padding:11px 12px;text-align:center}
.utility-verdict.is-clear{background:#e3f5e8;color:#17673b;border:1px solid #abd6b5}
.utility-verdict.is-caution{background:#fff1db;color:#90510d;border:1px solid #edcf9b}
.utility-result-card{border:1px solid #e5d7c5;border-radius:12px;padding:12px 13px;background:#fffdf8}
.utility-result-card.tone-good{border-color:#bddac6;background:#f1fbf4}
.utility-result-card.tone-caution{border-color:#ecd2aa;background:#fff9ef}
.utility-result-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;font-size:14px}
.utility-result-top strong{color:#392d29}.utility-result-top span{color:#7d3b2d;font-weight:850;text-align:right}
.utility-result-card.tone-good .utility-result-top span{color:#166a40}
.utility-result-card p{margin:7px 0 0;font-size:12px;color:#68584d;line-height:1.65}
.utility-result-footnote{margin:2px 0 0;padding:10px 12px;border-left:3px solid #bc9f75;background:#f7f0e6;border-radius:6px;font-size:12px;line-height:1.65;color:#756355}
.utility-years{display:grid;gap:8px;margin-top:5px}
.utility-years>strong,.utility-next-days>strong{color:#543a31;font-size:13px}
.utility-years>small{color:#87786c;line-height:1.5}
.utility-years-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.utility-year-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:61px;border:1px solid #ead5b7;background:#fff8ee;border-radius:10px;padding:6px 2px;color:#774c33}
.utility-year-button.is-clear{border-color:#a3d5b3;background:#e7f6eb;color:#196b42}
.utility-year-button b{font-size:14px}.utility-year-button small{font-size:9px;line-height:1.25;text-align:center}
.utility-year-button:focus-visible{outline:2px solid #8e1b27;outline-offset:2px}
.utility-next-days{padding:12px;background:#fffdf8;border-radius:12px;border:1px solid #e7d9c6}
.utility-next-days p{margin:5px 0 0;font-size:12px;color:#5b514c;line-height:1.85}
.utility-hours{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.utility-hour{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;min-width:0;min-height:83px;border:1px solid #e7d8ca;border-radius:12px;background:#fffefa;text-align:center}
.utility-hour.is-clear{background:#e1f3e7;border-color:#abd5bb}
.utility-hour b{font-size:16px}.utility-hour span{font-size:10px;white-space:nowrap}.utility-hour small{font-size:10px;color:#7b7069}
.utility-hour.is-clear small{color:#146c43;font-weight:850}
.tool-dialog .tool-copy{min-height:43px}
.tool-check{display:flex;gap:10px;align-items:center;font-weight:700;font-size:13px}
.tool-check input{width:20px;height:20px;accent-color:var(--wine)}
.compass-display{margin:3px auto 5px;width:190px;height:190px;border:7px double #c8a16b;box-shadow:inset 0 0 0 10px #fff5e5;border-radius:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:var(--wine)}
#compass-arrow{display:block;font-size:76px;line-height:1;transform-origin:center center;transition:transform .25s ease}
#compass-heading{font-size:19px;font-variant-numeric:tabular-nums}

@media(max-width:700px){
  .bottom-nav{padding-bottom:max(8px,env(safe-area-inset-bottom))}
  .bottom-nav .tab{font-size:11px}
}
@media(max-width:500px){
  .sheet-heading{margin-top:19px}
  .sheet-solar-zone{padding:25px 10px}
  .sheet-solar-day{font-size:clamp(135px,45vw,205px)}
  .sheet-lunar-zone{grid-template-columns:112px minmax(0,1fr);gap:11px;padding:17px 13px}
  .sheet-lunar-stamp{min-height:126px;border-radius:14px}
  .sheet-lunar-stamp strong{font-size:62px}
  .sheet-lunar-stamp span{font-size:9px}
  .sheet-lunar-info>div{grid-template-columns:49px minmax(0,1fr);gap:3px;font-size:11px}
  .sheet-lunar-info strong{font-size:12px}
  .sheet-controls{gap:5px}.sheet-controls button{padding:8px 6px}.sheet-controls button span{font-size:11px}.sheet-controls #sheet-share{padding-inline:10px}
  .utility-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .utility-tile{min-height:147px;padding:13px 5px 11px}
  .utility-tile>span{width:58px;height:57px;font-size:26px;border-radius:17px}
  .utility-tile strong{font-size:12px}.utility-tile small{font-size:10px}
  .bottom-nav .tab-sheet .tab-icon,.bottom-nav .tab-sheet.active .tab-icon{width:54px;height:54px;margin-top:-26px;font-size:22px}
  .bottom-nav .tab>span:last-child{font-size:10px}
  .bottom-nav .tab-icon{font-size:22px}
  .tool-dialog{padding:17px}.tool-dialog .dialog-title{top:-17px;margin:-17px -17px 15px;padding:16px 17px 13px}
}
@media(max-width:375px){.utility-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet-lunar-zone{grid-template-columns:104px 1fr}.sheet-lunar-info strong{font-size:11px}.bottom-nav .tab>span:last-child{font-size:9px}}
@media(min-width:701px){.bottom-nav .tab-sheet .tab-icon,.bottom-nav .tab-sheet.active .tab-icon{width:37px;height:37px;margin:0;border-width:2px;font-size:16px;box-shadow:none}.bottom-nav .tab-sheet{display:flex;flex-direction:row}.bottom-nav .tab{font-size:13px}.sheet-solar-day{font-size:235px}}

/* V0.7 – tờ lịch thủy mặc: hoa đào, tre, sen và sơn thủy Việt Nam. */
.almanac-sheet{
  position:relative;
  border:1px solid #ceab70;
  border-radius:21px;
  box-shadow:0 0 0 5px rgba(219,182,115,.12),0 23px 52px rgba(70,39,23,.18),0 2px 0 #b99458;
  background:#fffbf0;
}
.almanac-sheet:before{
  content:"";position:absolute;inset:5px;border:1px solid #c8a77288;border-radius:16px;pointer-events:none;z-index:2;
}
.sheet-banner{
  min-height:86px;
  padding:19px 26px;
  border-top:5px solid #e3c47d;
  background:linear-gradient(114deg,var(--hero-a),var(--hero-b) 70%,var(--hero-c));
}
.sheet-banner:before{
  content:"✺";position:absolute;left:50%;top:18px;transform:translateX(-50%);font-size:28px;color:#e9c47c;opacity:.65;
}
.sheet-banner:after{
  height:9px;
  background:repeating-linear-gradient(90deg,#eecb81 0 16px,#f6d996 16px 22px,transparent 22px 32px);
  opacity:.95;
}
.sheet-banner-title{font-size:17px;letter-spacing:.15em}
.sheet-banner-sub{font-size:10px;color:#ffe0a0}
.sheet-time{position:relative;padding:6px 9px;border:1px solid #efca8c77;border-radius:9px;background:#ffffff16}
.sheet-solar-zone{
  min-height:536px;
  padding:28px 19px 167px;
  background-image:linear-gradient(to bottom,rgba(255,252,239,.04) 0%,rgba(255,252,239,.05) 58%,rgba(255,252,239,.03) 100%),url('/almanac-watercolor.webp');
  background-size:100% 100%;
  background-position:center center;
  background-repeat:no-repeat;
  isolation:isolate;
}
.sheet-solar-zone:before{
  content:"";position:absolute;z-index:1;inset:20px 15px 14px;border:1px solid rgba(175,131,66,.26);border-radius:9px;pointer-events:none;
}
.sheet-floral-ornament{
  position:relative;color:#b37f3a;line-height:1;font-size:17px;letter-spacing:.15em;text-shadow:0 2px 5px #fffaf1;
}
.sheet-month{
  font-size:15px;
  margin-top:13px;
  letter-spacing:.18em;
  text-shadow:0 2px 9px #fffaf1;
}
.sheet-month:before,.sheet-month:after{content:"";display:inline-block;vertical-align:middle;width:40px;height:1px;margin:0 13px;background:linear-gradient(90deg,transparent,#af8548)}
.sheet-month:after{transform:rotate(180deg)}
.sheet-solar-day{
  margin:1px 0 -4px;
  color:#2d2422;
  text-shadow:0 3px 3px rgba(255,250,232,.78),0 7px 22px #fff9eb;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:900;
  letter-spacing:-.075em;
}
.sheet-weekday{
  position:relative;
  width:fit-content;max-width:100%;margin:0 auto;
  padding:2px 24px 8px;
  border-bottom:2px solid #caa36d;
  font-size:clamp(23px,4.6vw,35px);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-weight:900;
  background:linear-gradient(90deg,transparent,#fff9e8cc 18%,#fff9e8dc 82%,transparent);
  text-shadow:0 2px 7px #fff;
}
.sheet-weekday:before,.sheet-weekday:after{content:"❦";display:inline-block;vertical-align:middle;color:#a8864d;font-family:serif;font-size:15px;margin:0 12px}
.sheet-memorial{position:relative;z-index:1;max-width:90%;background:#fffaecd9;backdrop-filter:blur(5px);border-color:#c6a570;box-shadow:0 3px 12px #8256331e}
.sheet-landscape-signature{
  position:absolute;bottom:20px;left:0;right:0;z-index:1;
  color:#755a32;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:800;letter-spacing:.21em;font-size:10px;
  text-shadow:0 1px 2px #fff9e9,0 0 8px #fff;
}
.sheet-lunar-zone{
  position:relative;z-index:1;
  border-top:5px double #c29a61;
  background:linear-gradient(120deg,#fff3dce8,#fffaf0 70%,#f9ead4);
  padding-top:22px;padding-bottom:23px;
}
.sheet-lunar-stamp{
  background:linear-gradient(145deg,var(--hero-a),var(--wine) 72%,var(--wine-2));
  border:3px solid #d8b26e;
  box-shadow:inset 0 0 0 3px #fff5df55,0 7px 18px #6a432025;
  border-radius:15px;
  outline:1px solid #b18a49;
  outline-offset:2px;
}
.sheet-lunar-stamp strong{font-family:Georgia,"Times New Roman",serif;text-shadow:0 2px 1px #43281c36}
.sheet-lunar-info strong{color:#4a3024}
.sheet-note{
  position:relative;z-index:1;border-top:1px solid #e2c997;
  background:linear-gradient(90deg,#f5e7cc,#fffaed 47%,#f5e7cc);
  color:#885b32;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:14px;font-style:italic;
  padding:15px 20px 17px;
}
.sheet-note:before,.sheet-note:after{content:"✦";color:#a9844a;font-style:normal;margin:0 9px}
.sheet-controls button{box-shadow:0 3px 8px #80562713;transition:background .2s,transform .2s}
.sheet-controls button:hover{background:#fff2d9;transform:translateY(-1px)}
@media(max-width:500px){
  .almanac-sheet{border-radius:19px}
  .sheet-banner{min-height:75px;padding:14px 17px 17px}
  .sheet-banner-title{font-size:13px}.sheet-banner-sub{font-size:8px}
  .sheet-banner:before{font-size:19px;top:18px}.sheet-time{font-size:14px}
  .sheet-solar-zone{min-height:415px;padding:22px 8px 115px}
  .sheet-solar-day{font-size:clamp(139px,44vw,201px);margin:2px 0 -3px}
  .sheet-floral-ornament{font-size:15px}
  .sheet-month{font-size:12px;margin-top:8px}
  .sheet-month:before,.sheet-month:after{width:15px;margin:0 8px}
  .sheet-weekday{font-size:clamp(22px,6vw,30px);padding:0 5px 5px}
  .sheet-weekday:before,.sheet-weekday:after{margin:0 6px;font-size:12px}
  .sheet-landscape-signature{bottom:12px;font-size:8px}
  .sheet-lunar-zone{padding:16px 13px 18px}
  .sheet-note{font-size:12px}
  .sheet-note:before,.sheet-note:after{margin:0 5px}
}
@media(max-width:355px){.sheet-solar-zone{min-height:380px;padding-bottom:98px}.sheet-banner:before{display:none}.sheet-weekday:before,.sheet-weekday:after{display:none}}

/* V0.8 – lời mời gia đình dạng link trực tiếp, không mở bảng Share của Windows. */
.share-link-dialog{width:min(510px,calc(100vw - 24px));padding:24px;background:var(--white)}
.share-link-dialog .dialog-title h2{font-size:21px}
.share-link-role{display:inline-block;max-width:100%;padding:8px 12px;border-radius:10px;background:#eaf4e9;color:#27663f;font-size:12px;font-weight:800;line-height:1.5;overflow-wrap:anywhere}
.share-link-label{display:block;margin:18px 0 8px;font-size:14px;font-weight:800;color:var(--ink)}
.share-link-input{display:block;width:100%;min-width:0;padding:13px 12px;border:1px solid #cbbba5;border-radius:12px;background:#f8f4eb;color:#3c3029;font-size:14px;font-variant-numeric:tabular-nums}
.share-link-input:focus{border-color:var(--wine);outline:2px solid #b49c7344}
.share-link-copy{display:block;width:100%;min-height:51px;margin-top:12px;font-size:15px}
.share-link-copy-status{font-size:13px;font-weight:800;line-height:1.6;color:#17724d;margin:12px 0}
.share-link-message{font-size:13px;line-height:1.75;color:#786a5c;background:#f8f4ec;padding:12px 14px;border-radius:12px;margin:13px 0 0;border:1px solid #e7d6c2}
.share-link-message.owner-link-warning{color:#a63832;background:#fff0eb;border-color:#eab0a4;font-weight:700}
@media(max-width:500px){.share-link-dialog{padding:18px}.share-link-dialog .dialog-title h2{font-size:19px}.share-link-input{font-size:13px}}

/* V0.9 – hướng dẫn cài widget iPhone ngay trong Tiện ích. */
.iphone-widget-panel{margin:24px 0;padding:21px;border:1px solid #c6dfd1;border-radius:19px;background:linear-gradient(135deg,#f0faf4,#fffdf8);box-shadow:0 7px 24px #1d594913}
.iphone-widget-panel h3{margin:6px 0 9px;color:#155f4f;font-size:21px}
.iphone-widget-panel p,.iphone-widget-panel li{font-size:13px;line-height:1.8;color:#4b5952}
.iphone-widget-panel ol{padding-left:23px;margin:10px 0 18px}
.iphone-widget-panel li{padding-left:3px;margin:5px 0}
.iphone-widget-download{display:block;text-align:center;text-decoration:none;padding:13px 16px;font-size:14px;line-height:1.6}
.iphone-widget-panel button.iphone-widget-download{width:100%;cursor:pointer;border:0;margin-bottom:9px}
.iphone-widget-panel a.iphone-widget-download{background:transparent;color:#0b745d;border:1px solid #8ac6b1}
.iphone-widget-panel .iphone-widget-footnote{margin:13px 0 0;font-size:11px;color:#75847b}
@media(max-width:500px){.iphone-widget-panel{padding:17px 15px}.iphone-widget-panel h3{font-size:19px}}

/* V0.10 – chữ số cân giữa, nét gọn; ca dao Việt Nam trên nền sơn thủy. */
.sheet-solar-day{
  display:block;width:100%;box-sizing:border-box;padding:0;
  margin:12px auto 7px;line-height:1.04;text-align:center;
  font-family:ui-rounded,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
  font-size:clamp(152px,26vw,210px);font-weight:780;
  letter-spacing:-.035em;font-variant-numeric:lining-nums tabular-nums;
  font-feature-settings:"lnum" 1,"tnum" 1;
  color:#28352f;text-shadow:0 3px 0 #fff8e5,0 9px 24px rgba(255,247,220,.8);
}
.sheet-month{font-size:14px;font-weight:750;letter-spacing:.12em}
.sheet-weekday{
  box-sizing:border-box;width:fit-content;max-width:calc(100% - 24px);
  margin:6px auto 0;padding:5px 23px 7px;
  border:1px solid rgba(186,143,82,.43);border-radius:999px;
  background:rgba(255,250,237,.79);box-shadow:0 4px 18px rgba(112,75,33,.08);
  color:#146651;font-family:ui-rounded,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
  font-size:clamp(25px,3.4vw,32px);font-weight:750;letter-spacing:.015em;line-height:1.25;
  text-shadow:0 1px 1px #fff;
}
.sheet-weekday:before,.sheet-weekday:after{display:none}
.sheet-lunar-stamp strong{
  font-family:ui-rounded,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
  font-weight:780;letter-spacing:-.035em;font-variant-numeric:lining-nums tabular-nums;
}
button.sheet-landscape-signature{
  position:absolute;left:50%;right:auto;bottom:19px;z-index:3;
  transform:translateX(-50%);display:block;box-sizing:border-box;
  width:calc(100% - 52px);max-width:455px;min-height:36px;
  padding:9px 16px;border:1px solid rgba(172,133,75,.45);border-radius:14px;
  background:linear-gradient(110deg,rgba(255,250,235,.86),rgba(255,250,235,.94),rgba(255,250,235,.86));
  box-shadow:0 4px 19px rgba(99,75,36,.13);backdrop-filter:blur(4px);
  color:#654622;font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(12px,1.4vw,15px);font-weight:600;line-height:1.48;
  letter-spacing:0;text-align:center;text-shadow:none;
  white-space:normal;overflow-wrap:break-word;cursor:pointer;
}
button.sheet-landscape-signature:hover{background:rgba(255,250,235,.97)}
button.sheet-landscape-signature:focus-visible{outline:3px solid #08745d;outline-offset:3px}
@media(max-width:500px){
  .sheet-solar-day{font-size:clamp(140px,40vw,176px);margin:8px auto 4px;line-height:1.02}
  .sheet-month{font-size:12px;letter-spacing:.08em}
  .sheet-weekday{font-size:clamp(23px,6vw,28px);padding:5px 18px 6px;margin-top:4px}
  button.sheet-landscape-signature{bottom:13px;width:calc(100% - 27px);padding:8px 12px;font-size:12.5px;line-height:1.4}
  .sheet-lunar-stamp strong{font-size:61px}
}
