/* Extensions for real data and newly requested features; approved.css is verbatim. */
/* A staged, silent little coronation: anticipation, entrance, bilateral launch, settle. */
.ceremony-overlay{background:#382b23aa}.sheet.ceremony{width:460px;padding:23px 26px 18px;min-height:min(820px,93dvh);max-height:94dvh;background:radial-gradient(ellipse at 50% 38%,#fff6d8 0,#f5e5b5 42%,#f7f0df 75%);border:2px solid #f8e4a5;position:relative;isolation:isolate;overflow-x:hidden;text-align:center}.ceremony-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:.4px;color:#806c4b}.ceremony-top button{border:0;background:none;font-size:11px;padding:5px;color:#705a3b}.ceremony-kicker{font-size:9px;letter-spacing:3px;color:#9a723e;margin:22px 0 14px}.ceremony-title{position:relative;z-index:2}.ceremony-title>span{display:block;font-size:13px;color:#8a6543;letter-spacing:1px}.ceremony-title strong{display:block;font-size:clamp(30px,7vw,46px);line-height:1.2;color:#663722;letter-spacing:-1px;margin:9px 0;overflow-wrap:anywhere}.ceremony-title .ceremony-cheer{font-size:24px;font-weight:850;color:#d75932;letter-spacing:-.5px}.ceremony-stage{height:285px;position:relative;margin:4px -26px 0;display:flex;align-items:center;justify-content:center;isolation:isolate}.ceremony-rays{position:absolute;left:50%;top:49%;width:410px;height:410px;transform:translate(-50%,-50%);background:repeating-conic-gradient(from -10deg,#edc56c33 0deg 10deg,transparent 10deg 24deg);border-radius:50%;mask-image:radial-gradient(circle,#000 22%,transparent 69%);z-index:-2}.ceremony-orbit{position:absolute;width:245px;height:245px;border:1px solid #ca964653;border-radius:50%;top:20px;left:calc(50% - 122px);z-index:-1}.orbit-two{width:274px;height:274px;left:calc(50% - 137px);top:5px;border-style:dashed;border-color:#ca96462a}.ceremony-avatar{position:relative;z-index:2;transform:translateY(-7px)}.coronation-mascot{width:242px;height:242px;object-fit:contain;filter:drop-shadow(0 15px 10px #895c2028)}.ceremony-plinth{position:absolute;bottom:31px;width:220px;height:38px;background:linear-gradient(#f6d88c,#dfac54);border:1px solid #c18c3c66;border-radius:50%;box-shadow:0 8px 0 #d5a25355,0 13px 18px #a66b1620;z-index:0}.ceremony-banner{position:absolute;bottom:3px;z-index:3;padding:9px 25px;background:#b95332;color:#fff6dd;border:1px solid #d77948;box-shadow:0 4px 0 #833d2522;border-radius:3px;font-size:12px;letter-spacing:1px;clip-path:polygon(0 0,100% 0,97% 50%,100% 100%,0 100%,3% 50%)}.ceremony-stars span{position:absolute;color:#c99a39;font-size:31px;left:12%;top:55px}.ceremony-stars span:nth-child(2){left:auto;right:12%;top:96px;font-size:40px;color:#c56a3e}.ceremony-stars span:nth-child(3){left:23%;top:12px;font-size:17px}.ceremony-stars span:nth-child(4){left:auto;right:23%;top:28px;font-size:21px}.ceremony-earned{font-size:12px;color:#8b5c25;margin:14px auto 0;border-bottom:1px solid #d9b96866;padding:5px 12px;max-width:90%}.ceremony-message h3{font-size:20px;color:#613923;margin:20px 0 6px}.ceremony-message p{font-size:12px;line-height:1.85;margin:0;color:#886d50}.ceremony-actions{margin-top:22px}.ceremony-actions .primary{font-size:16px;background:#d85e36;border-radius:15px;box-shadow:0 5px 0 #b64c2822}.ceremony-actions>button+button{border:0;background:none;font-size:12px;color:#8a6543;margin-top:6px;padding:9px}.ceremony-note{font-size:9px!important;letter-spacing:.2px;margin:8px 0 0!important;color:#9a896f!important}.ceremony-confetti,.ceremony-bursts{position:absolute;inset:0;pointer-events:none;z-index:4;overflow:visible}.ceremony-piece{position:absolute;left:var(--side);top:77%;width:7px;height:13px;background:var(--color);opacity:0;border-radius:1px}.ceremony-piece.kind-1{width:5px;height:24px;border-radius:4px}.ceremony-piece.kind-2{width:11px;height:11px;clip-path:polygon(50% 0,60% 36%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}.ceremony-piece.kind-3{width:6px;height:6px;border-radius:50%}.ceremony-bursts i{position:absolute;width:100px;height:100px;left:8%;top:12%;border-radius:50%;border:3px dotted #dca749;opacity:0}.ceremony-bursts i:nth-child(2){left:auto;right:8%;top:28%;border-color:#d87847}.ceremony-bursts i:nth-child(3){left:28%;top:-9%;width:80px;height:80px;border-color:#b398c5}.ceremony-bursts i:nth-child(4){left:auto;right:20%;top:9%;width:60px;height:60px;border-color:#dfb952}.is-playing .ceremony-title{animation:ceremony-text 1.05s both}.is-playing .ceremony-avatar{animation:ceremony-entrance 1.25s cubic-bezier(.18,.8,.25,1.15) both}.is-playing .ceremony-rays{animation:ceremony-rays 3.8s ease-out both}.is-playing .ceremony-banner{animation:ceremony-banner .65s .7s both}.is-playing .ceremony-piece{animation:ceremony-launch 2.6s var(--delay) cubic-bezier(.16,.65,.35,1) both}.is-playing .ceremony-bursts i{animation:ceremony-burst 1.3s .9s ease-out both}.is-playing .ceremony-bursts i:nth-child(2){animation-delay:1.3s}.is-playing .ceremony-bursts i:nth-child(3){animation-delay:1.1s}.is-playing .ceremony-bursts i:nth-child(4){animation-delay:1.6s}.is-playing .ceremony-stars{animation:ceremony-text 1.2s .4s both}@keyframes ceremony-text{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes ceremony-entrance{0%{opacity:0;transform:translateY(55px) scale(.65)}45%{opacity:1;transform:translateY(-15px) scale(1.06)}72%{transform:translateY(-4px) scale(.98)}100%{transform:translateY(-7px) scale(1)}}@keyframes ceremony-rays{from{opacity:0;transform:translate(-50%,-50%) rotate(-18deg) scale(.65)}30%{opacity:1}to{opacity:1;transform:translate(-50%,-50%) rotate(12deg) scale(1)}}@keyframes ceremony-banner{from{opacity:0;transform:scaleX(.6) translateY(16px)}to{opacity:1;transform:scaleX(1) translateY(0)}}@keyframes ceremony-launch{0%{opacity:0;transform:translate(0,0) rotate(0)}8%{opacity:1}48%{opacity:1;transform:translate(var(--travel),var(--rise)) rotate(var(--turn))}100%{opacity:0;transform:translate(calc(var(--travel)*1.2),85px) rotate(calc(var(--turn) + 160deg))}}@keyframes ceremony-burst{0%{opacity:0;transform:scale(.2)}20%{opacity:.85}100%{opacity:0;transform:scale(1.6)}}@media(max-width:760px){.ceremony-overlay{padding:0;background:#f7f0df}.sheet.ceremony{width:100%;min-height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:calc(18px + env(safe-area-inset-top)) 24px calc(16px + env(safe-area-inset-bottom));display:flex;flex-direction:column}.ceremony-stage{flex:1;min-height:260px;max-height:330px;margin-left:-24px;margin-right:-24px}.ceremony-top{flex-shrink:0}.ceremony-message h3{margin-top:17px}.ceremony-actions{margin-top:18px}}@media(max-height:740px){.ceremony-kicker{margin:12px 0 8px}.ceremony-title strong{font-size:32px;margin:5px 0}.ceremony-title .ceremony-cheer{font-size:21px}.ceremony-stage{height:235px!important;min-height:235px!important}.coronation-mascot{width:205px;height:205px}.ceremony-orbit{width:210px;height:210px;left:calc(50% - 105px);top:4px}.orbit-two{width:235px;height:235px;left:calc(50% - 117px);top:-8px}.ceremony-message h3{font-size:18px;margin-top:12px}.ceremony-actions{margin-top:12px}.ceremony-message p{font-size:11px}}
/* Narrow native-functional additions: no replacement of approved page geometry. */
.day[data-day]{background:none;padding:0;border:0;cursor:pointer}.record-actions{display:flex;justify-content:flex-end;gap:18px;margin-top:10px}.record-actions .text-button{font-size:10px}.range-switch{display:flex;gap:8px;margin:18px 0 -9px}.range-switch .selected{background:#eee4ce;border-color:#bda570}.bars.thirty-days{gap:2px}.bars.thirty-days .bar{width:auto;flex:1;min-width:0;font-size:7px}.bars.thirty-days .bar i{width:70%;min-width:3px}.record-datetime{display:flex;gap:10px;margin-top:15px}.record-datetime label{flex:1;min-width:0;font-size:10px;color:var(--muted)}.record-datetime input{display:block;width:100%;margin-top:5px;padding:9px 7px;border:1px solid var(--line);border-radius:10px;background:#fffdf7;color:var(--ink);font-size:12px}.consent{display:block;font-size:10px;line-height:1.8;color:var(--muted);margin-top:20px}.consent input{vertical-align:middle;margin:0 6px 0 0}.error{font-size:11px;color:#ac3c24;line-height:1.7}.row{display:flex;align-items:center;justify-content:space-between;gap:8px}.wrap{flex-wrap:wrap}.small{font-size:11px;line-height:1.8}.muted{color:var(--muted)}.center{text-align:center}.badge{display:inline-block;font-size:10px;padding:5px 8px;border-radius:20px;background:#e9e2d2}.card{border:1px solid var(--line);border-radius:17px;padding:16px;margin:16px 0;font-size:12px;line-height:1.8}.card h3{font-size:14px}.card p{color:var(--muted)}.card.butter{background:var(--butter)}.sheet>.text-button{display:block;margin-top:15px}.sheet>label{display:block;font-size:12px;line-height:1.8;margin:18px 0;color:var(--muted)}.sheet>button:not(.primary):not(.text-button){background:#eae3d6;border-radius:10px;padding:9px 12px;font-size:11px}.sheet input[type=checkbox]{width:auto}.sheet .sub{margin-top:10px}.sheet details{font-size:11px;line-height:1.8}.sheet details summary{cursor:pointer}.sheet .row button{font-size:10px;padding:8px 10px;border-radius:12px;background:#eae3d6}.footer-caption a{color:inherit;display:inline-block;margin-top:12px;text-underline-offset:4px}.footer-caption .text-button{font-size:10px}.banner{padding:6px 15px;font-size:10px;line-height:1.5;background:#f3dfb0;color:#775e37}#banner{position:absolute;top:0;left:0;right:0;z-index:4}#banner:not(:empty)+.app{padding-top:65px}.reduced *,.reduced *:before,.reduced *:after{animation:none!important;transition:none!important}.sheet .hero{display:block;object-fit:contain;width:165px;height:165px;margin:12px auto}.profile-preview .hero{width:105px;height:105px}.avatar-choice img{width:70px;height:70px;object-fit:contain}.hero-art>img{width:200px;height:200px;object-fit:contain;position:relative}.safety-copy p,.sheet>p{font-size:12px;line-height:1.9;color:#796e62}.option .caca-glyph{width:49px;height:34px}.toast{position:absolute;left:18px;right:18px;bottom:95px;z-index:30;padding:13px 15px;border-radius:13px;background:var(--ink);color:var(--paper);font-size:12px;text-align:center}.daily-overlay{background:var(--butter);backdrop-filter:none;z-index:8}.sheet.daily-full{inset:0;border-radius:0;max-height:100%;height:100%;width:100%;min-height:0;padding:29px 24px;display:flex;flex-direction:column;box-shadow:none}.daily-top .eyebrow{font-size:9px;margin:0}.daily-full .issue span{font-size:14px;letter-spacing:0;margin-left:8px}.daily-full .daily-intro{max-width:290px}.daily-art>span{font-size:36px;transform:rotate(12deg);color:var(--orange)}.daily-art .entry-mascot{width:160px;height:160px;object-fit:contain;transform:rotate(-8deg)}.word-card .eyebrow{font-size:8px;margin:0}.daily-full .primary{margin-top:0;flex-shrink:0}.daily-footer{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:10px;color:#87734c;font-size:10px}.daily-footer button{border:0;background:none;font-size:10px;color:inherit;padding:4px}.daily-full .daily-details{margin:8px 0 0;padding:8px 0 0;border-top:1px solid #bda25b33}.daily-details summary{font-size:9px;color:#786440;text-align:center}.daily-details h3{font-size:12px}.daily-details p{font-size:10px}.daily-full .error{max-width:none}.ceremony-overlay{z-index:9;padding:0;align-items:stretch;backdrop-filter:none}.sheet.ceremony{width:100%;min-height:100%;max-height:100%;height:100%;border:0;border-radius:0;padding:23px 24px 18px;display:block}.ceremony-stage{height:270px;min-height:0;max-height:none;margin-left:-24px;margin-right:-24px}.sheet.ceremony .primary{margin-top:0}.ceremony .ceremony-note{max-width:none}.ceremony .ceremony-top button{font-size:10px}.ceremony .coronation-mascot{width:242px;height:242px}.ceremony .ceremony-actions>button+button{background:none;border:0;color:#8a6543}.ceremony .ceremony-title strong{overflow-wrap:anywhere}.ceremony .ceremony-message p{font-size:12px;line-height:1.85}.ceremony .ceremony-avatar{line-height:0}@media(max-width:780px){.sheet.daily-full{padding:32px 24px 24px}.sheet.ceremony{min-height:100%;max-height:100%;height:100%;padding:calc(18px + env(safe-area-inset-top)) 24px calc(16px + env(safe-area-inset-bottom))}.ceremony-stage{height:280px;min-height:0!important;flex:none}.daily-full .issue{font-size:85px;margin:22px 0 13px}.daily-full .daily-art{min-height:155px}}@media(max-height:740px){.sheet.ceremony .ceremony-stage{height:235px}.ceremony .coronation-mascot{width:205px;height:205px}.daily-full .issue{font-size:68px;margin:15px 0 10px}.daily-full .daily-art{min-height:115px}.daily-art .entry-mascot{width:135px;height:135px}.daily-full h2{font-size:31px}.daily-full .word-card{margin-bottom:18px;padding:15px}}
/* Toast stays inside the approved phone viewport and wraps long storage errors. */
.toast{transform:none;white-space:normal}
/* User-approved color-only opening variation: identical fixed layout and assets. */
.daily-overlay{background:var(--opening-bg,var(--butter))}.sheet.daily-full{background:var(--opening-bg,var(--butter));color:var(--opening-ink,var(--ink))}.daily-full p,.daily-full .issue,.daily-full .daily-footer,.daily-full .daily-details summary,.daily-full .daily-details a{color:var(--opening-ink,#554333)}.daily-full .word-card{color:var(--opening-ink,#554333)}

/* 3009: opening is a finished editorial card, not a square full-bleed sheet.
   WebView safe-area insets can be zero after native content inset adjustment. */
.phone #modal>.daily-overlay{box-sizing:border-box;padding:12px 12px calc(12px + env(safe-area-inset-bottom));align-items:stretch;justify-content:center;background:var(--paper,#f7f4e9)}
.phone #modal .sheet.daily-full{box-sizing:border-box;position:relative;inset:auto;width:100%!important;height:auto;max-height:100%!important;min-height:0;border:1px solid #8b789529;border-radius:24px;padding:18px 18px calc(20px + env(safe-area-inset-bottom))!important;overflow:auto;overscroll-behavior:contain;box-shadow:0 3px 0 #493b3608}
.phone #modal .daily-full .daily-top{gap:12px;align-items:center;flex-shrink:0}
.phone #modal .daily-full .daily-top .eyebrow{letter-spacing:.08em;line-height:1.5}
.phone #modal .daily-full .daily-top button{min-height:44px;min-width:44px;padding:8px 0;font-size:13px;text-underline-offset:4px}
@media(max-width:350px){.phone #modal>.daily-overlay{padding-left:8px;padding-right:8px}.phone #modal .sheet.daily-full{border-radius:20px;padding-left:16px!important;padding-right:16px!important}}

@media(max-width:350px){html[lang^="zh"] .phone .today-hero .hello{font-size:22px}}
