*{box-sizing:border-box;}
:root{--kyyeu-accent:#7A4E1E; --kyyeu-heading-font:'Cormorant Garamond',serif; --kyyeu-heading-scale:1;}

body{margin:0; background:var(--kyyeu-bg,#F5EDE0); color:#3A2E1E; font-family:'Literata',serif; line-height:1.7;}
.wrap{max-width:640px; margin:0 auto;}

.cover{padding:50px 24px 20px; text-align:center;}
.eyebrow{font-size:12px; letter-spacing:.2em; color:#A8792E; margin-bottom:14px;}
.cover-photo{width:150px; height:150px; border-radius:50%; margin:0 auto 16px; box-shadow:0 14px 28px rgba(58,46,30,.2);}
.cover-photo img{width:100%; height:100%; object-fit:cover; border-radius:50%;}
.cover h1{font-family:var(--kyyeu-heading-font); font-weight:600; font-size:calc(38px * var(--kyyeu-heading-scale)); margin:0 0 6px; color:var(--kyyeu-accent);}
.cover p{margin:0; font-size:14px; color:#7A6647;}

.section{padding:40px 24px 8px;}
.section-head{text-align:center; margin-bottom:24px;}
.section h2{font-family:var(--kyyeu-heading-font); font-weight:600; font-size:calc(27px * var(--kyyeu-heading-scale)); color:var(--kyyeu-accent); margin:0 0 4px;}
.section .sub{font-size:13.5px; color:#8A7854;}

.hourglass-wrap{max-width:400px; margin:0 auto; text-align:center;}
.hourglass{width:60px; height:120px; margin:0 auto 16px; position:relative;}
.glass-top,.glass-bottom{width:60px; height:56px; border:2px solid #A8792E; position:relative; overflow:hidden;}
.glass-top{clip-path:polygon(0 0,100% 0,50% 100%);}
.glass-bottom{clip-path:polygon(50% 0,100% 100%,0 100%);}
.sand-top{position:absolute; bottom:0; left:0; right:0; background:#D9A441; transition:height .2s linear;}
.sand-bottom{position:absolute; bottom:0; left:0; right:0; background:#D9A441; transition:height .2s linear;}
.sand-stream{width:2px; height:8px; background:#D9A441; margin:0 auto;}

figure.slide-photo{position:relative; max-width:360px; margin:0 auto 16px; border-radius:10px; overflow:hidden; box-shadow:0 14px 30px rgba(58,46,30,.18); aspect-ratio:4/3; background:#fff;}
figure.slide-photo img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .35s ease;}
figure.slide-photo img.active{opacity:1;}
figure.slide-photo figcaption{position:absolute; left:0; right:0; bottom:0; padding:10px 14px; font-family:'Cormorant Garamond',serif; font-style:italic; color:#fff; background:linear-gradient(transparent,rgba(0,0,0,.6)); font-size:14px; text-align:left;}

#timeSlider{width:100%; max-width:360px; accent-color:#A8792E; margin:0 auto; display:block;}
.slider-label{font-size:12.5px; color:#8A7854; margin-top:8px;}

.see-full{text-align:center; margin:22px 0 0;}
.see-full a{font-family:'Cormorant Garamond',serif; font-size:15px; color:#7A4E1E; text-decoration:none; border-bottom:1px solid #A8792E;}

.notes{max-width:480px; margin:0 auto;}
.note{background:#fff; border-radius:10px; padding:16px 20px; margin-bottom:14px; box-shadow:0 8px 18px rgba(58,46,30,.08);}
.note p{margin:0 0 8px; font-size:14.5px;}
.note cite{font-family:'Cormorant Garamond',serif; font-style:italic; font-size:13.5px; color:#A8792E;}

.share{margin:44px 24px 30px; padding:34px 24px; text-align:center; border-radius:16px; background:#7A4E1E; color:#F5EDE0;}
.share h2{font-family:'Cormorant Garamond',serif; font-size:26px; margin:0 0 6px;}
.share p{font-size:13.5px; margin:0 0 18px; color:#E4C89A;}
#qrcode{background:#fff; display:inline-block; padding:8px; border-radius:8px; margin-bottom:14px;}
.link-row{display:flex; justify-content:center; gap:8px; flex-wrap:wrap; font-size:13px;}
.link-row code{background:rgba(245,237,224,.15); padding:6px 12px; border-radius:20px;}
.link-row button{background:#D9A441; color:#3A2E1E; border:none; padding:6px 14px; border-radius:20px; font-size:12.5px; font-weight:700; cursor:pointer;}

/* MỐC THỜI GIAN & HẠT CÁT */
.mini-timeline{max-width:480px; margin:0 auto;}
.mini-timeline-item{display:flex; justify-content:space-between; gap:14px; padding:10px 0; border-bottom:1px dashed rgba(122,78,30,.2);}
.mini-timeline-item:last-child{border-bottom:none;}
.mini-timeline-item strong{font-family:'Cormorant Garamond',serif; color:#7A4E1E; font-size:15px; flex-shrink:0;}
.mini-timeline-item span{font-size:13.5px; color:#5B4A32; text-align:right;}

.sand-tags{display:flex; flex-wrap:wrap; justify-content:center; gap:10px; max-width:520px; margin:0 auto;}
.sand-tag{background:#fff; border-radius:20px; padding:8px 16px; font-size:13px; color:#7A4E1E; box-shadow:0 4px 10px rgba(122,78,30,.1);}

.foot{text-align:center; font-size:12px; color:#8A7854; padding:0 20px 40px;}
