:root{--paper:#FAEFE4;--accent:#AE5136;--accent-deep:#873D28;--ink:#422C22;--body:#73665B;--gold:#9C7038;--line:#E7DACC;--card:#FFFDF8;--disc:#F1E5D3;--shadow:0 5px 22px #79542f08;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(ellipse at 20% 25%,#fffaf4b3,transparent 65%);transition:background-color .3s}body:has(dialog[open]){overflow:hidden}.paper-grain{position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.055;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%2376573a' filter='url(%23n)' opacity='.5' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:disabled{opacity:.5;cursor:wait}a{color:inherit}button svg,span svg{display:block;width:24px;height:24px;flex:none}button{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:5px}input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}[hidden]{display:none!important}.skip{position:fixed;top:-60px;left:10px;background:white;padding:12px;z-index:100}.skip:focus{top:10px}.site-header{max-width:1300px;margin:auto;padding:30px 48px;display:flex;justify-content:space-between;align-items:center}.brand{text-decoration:none;display:flex;align-items:center;gap:12px;font-family:Georgia,'Times New Roman',serif;font-size:26px;letter-spacing:-.7px}.brand-mark{color:var(--gold)}.brand-mark svg{width:30px;height:30px}.brand small{font:10px Arial,sans-serif;display:block;letter-spacing:1px;color:var(--body);margin-top:5px}.header-actions{display:flex;align-items:center;gap:24px}.text-button{border:0;background:none;padding:10px 0;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--body)}.text-button svg{width:19px;height:19px}.account-button{display:flex;gap:9px;align-items:center;justify-content:center;background:#fffaf580;border:1px solid #c8ac924f;border-radius:50px;padding:11px 20px;font-size:14px}.account-button svg{width:18px;height:18px}main{max-width:1160px;margin:auto;outline:0}.home-layout{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center;min-height:700px;padding:20px 40px 42px}.hero{text-align:center}.date-label{display:flex;align-items:center;justify-content:center;gap:9px;font-size:13px;color:var(--body)}.date-label svg{width:17px;height:17px}.date-dot{color:#b8a28b}.cup-wrap{margin:10px auto 0;max-width:335px;aspect-ratio:1}.cup{height:100%;width:100%;background-image:url('./assets/cups.png');background-size:400% 200%;background-position:100% 0%;background-repeat:no-repeat;filter:drop-shadow(0 12px 13px #5a382714)}.eyebrow{font-size:10px!important;letter-spacing:2.4px;color:var(--gold)!important;font-weight:600;margin:7px 0 15px;text-transform:uppercase}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-1.6px}h1{font-size:51px;line-height:1.07;margin:0 0 20px}h2{font-size:35px;line-height:1.15;margin:0 0 12px}.hero-caption{font-size:15px;line-height:1.75;color:var(--body);margin:0}.hero-note{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;color:#927A67;margin:28px 0 0}.hero-note svg{width:14px;height:14px;fill:var(--accent);stroke:var(--accent)}.choices-heading{margin-bottom:25px}.choices-heading h2{font-size:35px;margin-bottom:9px}.choices-heading p:not(.eyebrow){font-size:14px;color:var(--body);margin:0}.menu{display:grid;gap:11px}.menu-card{border:1px solid #eee2d4;background:linear-gradient(115deg,#fffefbd9,#fffaf4d9);box-shadow:var(--shadow);border-radius:17px;display:flex;align-items:center;gap:17px;padding:17px 19px;text-align:left;min-height:91px;width:100%;transition:transform .18s,border-color .18s,box-shadow .18s}.menu-card:hover{transform:translateY(-2px);border-color:#bca17e;box-shadow:0 8px 22px #684a2010}.icon-disc{width:54px;height:54px;background:var(--disc);border-radius:50%;display:grid;place-items:center;flex:none;color:var(--gold)}.icon-disc svg{width:31px;height:31px}.card-copy{display:flex;flex-direction:column;gap:6px;flex:1}.card-copy strong{font-size:17px;font-weight:500;letter-spacing:-.3px}.card-copy>span{font-size:12px;color:var(--body)}.menu-trailing{color:#97806b}.menu-trailing svg{width:17px;height:17px}.free-badge{font-size:9px;letter-spacing:.1px;background:#eee8d8;color:#726544;border-radius:6px;padding:5px 6px}.daily-card{border-color:#d4bf9c}.access-note{display:flex;align-items:flex-start;gap:7px;color:#948372;font-size:11px;line-height:1.6;margin:19px 5px 0}.access-note svg{width:13px;height:13px;margin-top:2px}footer{border-top:1px solid #dacbb760;max-width:1204px;margin:0 auto;padding:24px 36px;display:flex;align-items:center;justify-content:center;gap:14px;font-size:11px;color:#927f6e}.footer-dot{color:#b99870;font-size:10px}.prototype-label{margin-left:auto;color:#a28a78;font-size:10px}.daily-view{max-width:740px;min-height:700px;margin:0 auto;padding:22px 36px 56px}.back-button{border:0;background:transparent;display:flex;align-items:center;gap:8px;font-size:13px;color:var(--body);padding:10px 0}.back-button svg{width:18px;height:18px}.daily-content{text-align:center;max-width:560px;margin:auto}.large-disc{display:grid;place-items:center;width:86px;height:86px;border-radius:50%;background:var(--disc);color:var(--gold);margin:20px auto}.large-disc svg{width:43px;height:43px}.daily-content .date-label{margin-bottom:28px}.daily-content h1{font-size:43px;line-height:1.15;max-width:480px;margin:0 auto 28px}.daily-content .eyebrow{margin-bottom:13px}.message-paper{text-align:left;background:linear-gradient(140deg,#fffefc,#fffbf4);border:1px solid #eee2d4;border-radius:20px;padding:32px;box-shadow:0 7px 25px #6d431009;min-height:130px;position:relative}.message-paper:before{content:'“';font:55px Georgia;line-height:.5;color:#cbb797;position:absolute;left:29px;top:25px}.message-paper p{position:relative;font:21px/1.65 Georgia,serif;margin:14px 0 0;color:#5d4737}.tomorrow{font-size:12px;color:var(--body);margin:26px 0 20px}.primary-button,.secondary-button{width:100%;min-height:52px;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:15px;padding:14px 20px;border:1px solid transparent}.primary-button{background:var(--accent);color:white;box-shadow:0 3px 8px #713e1712;transition:filter .2s}.primary-button:hover{filter:brightness(.94)}.primary-button svg{width:19px;height:19px}.secondary-button{background:transparent;border-color:var(--line);color:var(--ink)}.share-button{max-width:350px;margin:auto}.demo-note{font-size:10px;color:#9c8977;margin:18px 0}.modal{border:1px solid #e8dccb;background:#fffbf5;color:var(--ink);border-radius:25px;padding:35px;width:min(440px,calc(100% - 30px));max-height:calc(100dvh - 36px);overflow:auto;box-shadow:0 25px 90px #3c281d30;text-align:center}.modal::backdrop{background:#392b2366;backdrop-filter:blur(4px)}.close-button{position:absolute;right:13px;top:13px;width:38px;height:38px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#9d8774}.close-button:hover{background:var(--disc)}.close-button svg{width:19px;height:19px}.large-disc.small{width:65px;height:65px;margin:10px auto 22px}.large-disc.small svg{width:32px;height:32px}.modal h2{font-size:35px;margin-bottom:17px}.modal>p{font-size:14px;line-height:1.7;color:var(--body);margin:0 0 22px}.modal label{display:block;text-align:left;font-size:12px;color:var(--body);margin:0 0 9px}.modal input{width:100%;height:52px;background:white;border:1px solid #dcccc0;border-radius:11px;font:16px Arial;padding:0 15px;color:var(--ink);margin-bottom:15px}.modal-footnote{font-size:11px!important;line-height:1.6!important;color:#9b8774!important;margin:20px 0 0!important}.error-message{font-size:12px!important;color:#a43f34!important;background:#fbebe5;padding:12px;border-radius:9px;margin:15px 0!important;line-height:1.6}.sent-card{background:var(--disc);padding:22px;border-radius:15px;margin:20px 0}.sent-card>span{display:flex;justify-content:center;color:#6b7d53;margin-bottom:10px}.sent-card strong{font-size:17px}.sent-card p{font-size:13px;line-height:1.65;overflow-wrap:anywhere}details{font-size:13px;color:var(--body);margin:20px 0}summary{cursor:pointer;margin-bottom:18px}.appearance-modal{width:min(530px,calc(100% - 30px))}.appearance-modal h2{font-size:32px}.theme-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.theme-option{padding:12px 10px;border:1px solid var(--line);background:white;border-radius:11px;display:flex;gap:9px;align-items:center;text-align:left;font-size:12px;min-height:45px}.theme-option[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.theme-option:first-child{grid-column:1/-1;justify-content:center}.theme-swatch{height:14px;width:14px;border-radius:50%;flex:none}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:30;background:#49382e;color:#fffaf1;padding:13px 22px;border-radius:13px;box-shadow:0 5px 20px #0002;max-width:90vw;text-align:center;font-size:13px;line-height:1.5}.loading{opacity:.5;animation:breathe 1.4s infinite alternate}@keyframes breathe{to{opacity:.85}}@media(min-width:1450px){.site-header{padding-top:42px}.home-layout{min-height:740px}}@media(max-width:1000px){.home-layout{gap:35px;padding-inline:30px}h1{font-size:44px}.menu-card{padding:14px;gap:12px}.free-badge{display:none}.site-header{padding:23px 30px}}@media(max-width:720px){.site-header{padding:19px 22px}.brand{font-size:23px;gap:8px}.brand small{display:none}.brand-mark svg{width:23px;height:23px}.header-actions{gap:15px}.appearance-button>span:last-child{display:none}.appearance-button{padding:9px}.account-button{padding:9px 14px;font-size:12px}.account-button svg{width:16px;height:16px}.home-layout{display:block;min-height:0;max-width:470px;margin:auto;padding:8px 24px 30px}.date-label{font-size:12px}.cup-wrap{max-width:224px;margin:8px auto 0}.hero .eyebrow{display:none}h1{font-size:39px;letter-spacing:-1.4px;margin-bottom:12px}.hero-caption{font-size:13px;line-height:1.6}.hero-caption br{display:none}.hero-note{display:none}.choices{margin-top:25px}.choices-heading{margin:0 0 13px;text-align:center}.choices-heading .eyebrow,.choices-heading h2{display:none}.choices-heading p:not(.eyebrow){font-size:12px}.menu{gap:9px}.menu-card{min-height:78px;border-radius:14px;padding:12px 14px;gap:14px}.icon-disc{width:46px;height:46px}.icon-disc svg{width:27px;height:27px}.card-copy strong{font-size:16px}.card-copy>span{font-size:11px}.free-badge{display:block;font-size:8px;padding:4px}.access-note{font-size:10px;margin-top:16px}footer{margin:0 24px;padding:19px 0 26px;flex-wrap:wrap;gap:8px;font-size:9px}.prototype-label{flex-basis:100%;text-align:center;margin:5px 0 0;font-size:9px}.daily-view{padding:8px 24px 35px;min-height:0}.daily-content h1{font-size:35px}.message-paper{padding:25px}.message-paper p{font-size:19px}.message-paper:before{left:22px}.large-disc{width:75px;height:75px}.daily-content .date-label{margin-bottom:25px}.modal{padding:28px 24px}.modal h2{font-size:31px}.modal>p{font-size:13px}}@media(max-width:370px){.home-layout{padding-inline:17px}.free-badge{display:none}.card-copy strong{font-size:15px}h1{font-size:35px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Inner ritual screens share the active seasonal palette. */
.flow-view{max-width:760px;padding:12px 32px 60px;margin:auto}.flow-heading{text-align:center;max-width:590px;margin:0 auto 25px}.flow-heading h1{font-size:42px;line-height:1.15}.flow-heading>p:not(.eyebrow){color:var(--body);line-height:1.7;font-size:15px}.test-pill{display:inline-block;font-size:11px;color:var(--accent-deep);border:1px solid var(--line);border-radius:30px;padding:8px 14px;background:var(--card)}.flow-paper{padding:32px;border:1px solid var(--line);border-radius:24px;background:var(--card);box-shadow:var(--shadow)}.flow-paper label{display:block;font-size:13px;color:var(--body);margin:16px 0 8px}.flow-paper select{width:100%;min-height:49px;border:1px solid var(--line);border-radius:11px;padding:10px;background:var(--paper);color:var(--ink);font:16px Arial;margin-bottom:18px}.flow-paper select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.photo-tips{padding-left:22px;color:var(--body);font-size:14px;line-height:1.8;margin:0 0 20px}.flow-paper .upload-zone{border:1px dashed var(--accent);border-radius:17px;background:var(--paper);text-align:center;padding:23px 16px;cursor:pointer;color:var(--ink);font-size:17px}.upload-zone small{display:block;font-size:11px;margin-top:8px;color:var(--body)}/* Keep the native picker operable while rendering only our themed upload card. */
.upload-zone{position:relative;isolation:isolate;overflow:hidden}.upload-zone input[type=file]{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;cursor:pointer;z-index:1;font-size:16px}.upload-zone:focus-within{outline:3px solid var(--accent);outline-offset:4px}.upload-zone:hover{border-style:solid}.upload-icon{display:grid;place-items:center;margin:0 auto 12px;width:48px;height:48px;border-radius:50%;background:var(--disc);color:var(--gold)}.upload-icon svg{width:28px;height:28px}#photo-preview{width:100%;max-height:240px;object-fit:contain;border-radius:12px;background:var(--paper)}.flow-caption{font-size:12px;line-height:1.7;color:var(--body)}.flow-paper>.primary-button{margin-top:20px}.people-grid{display:grid;grid-template-columns:1fr 24px 1fr;align-items:center;gap:12px}.people-grid fieldset{min-width:0;border:0;margin:0;padding:0}.people-grid legend{font:24px Georgia;color:var(--ink)}.pair-join{font:30px Georgia;color:var(--gold);text-align:center}.reading-prose{font:23px/1.7 Georgia;color:var(--ink)}.result-block{border-top:1px solid var(--line);padding:18px 0 0;margin-top:22px}.result-block h3{font-size:25px;letter-spacing:-.5px;margin:0 0 8px}.result-block p{font-size:15px;line-height:1.75;color:var(--body)}#flow-result h2{font-size:38px}#flow-result .text-button{display:flex;margin:auto}#number-value{font:45px Georgia}#number-input>p,#number-body{font-size:14px;line-height:1.7;color:var(--body)}#number-body{font-family:Georgia;font-size:20px}#number-calculation{font-size:13px;line-height:1.8;color:var(--body);overflow-wrap:anywhere}#guest-history{margin-top:12px}#number-dialog .modal-footnote{margin-bottom:18px!important}.modal{background:var(--card);border-color:var(--line)}.modal-footnote{color:var(--body)!important}.modal input{background:var(--paper);color:var(--ink);border-color:var(--line)}.flow-heading h1:focus{outline:0}
@media(max-width:720px){.flow-view{padding:8px 20px 35px}.flow-heading h1{font-size:34px}.flow-paper{padding:23px 20px;border-radius:19px}.flow-heading .large-disc{margin:15px auto}.flow-heading>p:not(.eyebrow){font-size:13px}.people-grid{gap:10px;grid-template-columns:1fr}.pair-join{font-size:23px}.people-grid legend{font-size:24px}.people-grid select{margin-bottom:5px}.reading-prose{font-size:21px}#flow-result h2{font-size:33px}.flow-paper .upload-zone{font-size:16px}}
.save-result-box{margin:24px 0;padding:16px;background:var(--paper);border:1px solid var(--line);border-radius:14px}.save-result-box .flow-caption{margin:0 0 12px}.save-result-box .text-button{margin-top:10px!important}#history-list .menu-card{line-height:1.6;font-size:14px;overflow-wrap:anywhere}
/* A warm cup and three quiet wisps of steam, shared by actual async requests. */
.ritual-loader{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:18px 12px;color:var(--accent-deep);text-align:center}.ritual-loader-art{display:block;width:104px;height:87px;overflow:visible}.ritual-loader-copy{font-size:13px;line-height:1.6;color:var(--body)}.loader-halo{fill:var(--disc);opacity:.6}.loader-cup{fill:var(--card);stroke:var(--accent-deep);stroke-width:2.3;stroke-linejoin:round}.loader-handle,.loader-saucer,.loader-rim{stroke:var(--accent-deep);stroke-width:2.3;stroke-linecap:round}.loader-rim{opacity:.35}.loader-steam path{stroke:var(--gold);stroke-width:2.1;stroke-linecap:round;animation:ritual-steam 2.4s ease-in-out infinite;transform-origin:center}.loader-steam path:nth-child(2){animation-delay:-.8s}.loader-steam path:nth-child(3){animation-delay:-1.6s}.loader-spark{fill:var(--gold);animation:ritual-glow 3s ease-in-out infinite;transform-origin:99px 31px}.message-paper:has(.ritual-loader:not([hidden])):before{display:none}.message-paper:has(.ritual-loader:not([hidden]))>#message-body{display:none}#history-dialog:has(.ritual-loader:not([hidden]))>#history-status{display:none}.save-result-box .ritual-loader{padding:8px}.save-result-box .ritual-loader-art{width:76px;height:64px}#number-dialog>.ritual-loader{padding:6px 0 16px}@keyframes ritual-steam{0%,100%{opacity:.35;transform:translateY(3px)}50%{opacity:.85;transform:translateY(-3px)}}@keyframes ritual-glow{0%,100%{opacity:.35;transform:scale(.88)}50%{opacity:.8;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.loader-steam path,.loader-spark{animation:none;transform:none;opacity:.7}}
.save-result-box:has(.ritual-loader:not([hidden]))>#flow-save-status{display:none}

/* CupSecret identity and profile settings */
.brand-mark{display:grid;place-items:center;width:40px;height:40px;background:var(--disc);border-radius:50%;flex:none}.brand-mark svg{width:31px;height:31px}
.profile-modal{text-align:left;width:min(480px,calc(100% - 30px))}.profile-modal>.large-disc,.profile-modal>.eyebrow,.profile-modal>h2,.profile-email{text-align:center}.profile-email{overflow-wrap:anywhere}.profile-row,.profile-setting summary{display:flex;align-items:center;gap:13px;width:100%;padding:17px 0;color:var(--ink);text-align:left}.profile-row{border:0;border-block:1px solid var(--line);background:none}.profile-row>span:nth-child(2),.profile-setting summary>span:last-child{flex:1}.profile-row strong,.profile-setting strong{display:block;font-size:14px;font-weight:500}.profile-row small,.profile-setting small{display:block;color:var(--body);font-size:12px;margin-top:5px}.profile-row svg,.profile-setting summary svg{width:22px;height:22px;color:var(--gold)}.profile-setting{margin:0;border-bottom:1px solid var(--line)}.profile-setting summary{list-style:none;margin:0;cursor:pointer}.profile-setting summary::-webkit-details-marker{display:none}.profile-setting summary:after{content:'+';font-size:20px;font-weight:300}.profile-setting[open] summary:after{content:'−'}.profile-setting p{font-size:12px;line-height:1.7;color:var(--body);margin:0 0 16px}.profile-setting .modal-footnote{margin:15px 0!important}.profile-setting select{width:100%;font:inherit;padding:13px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);margin-bottom:13px}.profile-signout{width:100%;margin-top:15px}.profile-modal>.modal-footnote{text-align:center}
@media(max-width:720px){.brand-mark{width:34px;height:34px}.brand-mark svg{width:27px;height:27px}}

/* Safari selects retain the shared form design. */
.flow-paper select,.profile-setting select{-webkit-appearance:none;appearance:none;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2373665b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;background-size:16px}

/* Wide-screen workspace. The original mobile DOM and modal behavior are restored below 1001px. */
@media(min-width:1001px){
 main.desktop-workspace{max-width:1240px;display:grid;grid-template-columns:minmax(0, .85fr) minmax(0, 1.15fr);gap:64px;align-items:start;padding:25px 40px 60px;min-height:calc(100vh - 180px)}
 .desktop-workspace>.hero{grid-column:1;grid-row:1;position:sticky;top:40px;align-self:start;padding-top:38px}
 .desktop-workspace>.hero .cup-wrap{width:100%;max-width:360px}
 .desktop-workspace>.home-layout,.desktop-workspace>.flow-view,.desktop-workspace>.daily-view{grid-column:2;grid-row:1;min-width:0;width:100%;max-width:none;margin:0;padding:0;min-height:0}
 .desktop-workspace>.home-layout{display:block}.desktop-workspace .choices{margin:0}
 .desktop-workspace:has(#home-view[hidden])>.hero h1,.desktop-workspace:has(dialog[open])>.hero h1{display:none}
 .desktop-workspace:has(#home-view[hidden])>.hero .hero-caption,.desktop-workspace:has(dialog[open])>.hero .hero-caption{max-width:290px;margin:0 auto;font:22px/1.5 Georgia,serif}
 .desktop-workspace .flow-heading{margin:0 0 24px}.desktop-workspace .flow-heading h1{font-size:36px}.desktop-workspace .flow-heading .large-disc{width:58px;height:58px;margin:14px auto}.desktop-workspace .flow-heading .large-disc svg{width:29px;height:29px}
 .desktop-workspace .flow-heading>p:not(.eyebrow){font-size:14px}.desktop-workspace .flow-paper{padding:28px}.desktop-workspace .reading-prose{font-size:21px}
 .desktop-workspace .daily-content{width:100%;max-width:none}.desktop-workspace .daily-content h1{font-size:36px}
 .desktop-workspace>dialog[open]{position:relative;inset:auto;grid-column:2;grid-row:1;width:100%;max-width:none;max-height:none;margin:0;overflow:visible;box-shadow:var(--shadow);padding:36px;border-radius:24px}
 .desktop-workspace:has(dialog[open])>.home-layout,.desktop-workspace:has(dialog[open])>.flow-view,.desktop-workspace:has(dialog[open])>.daily-view{display:none}
 body:has(.desktop-workspace dialog[open]){overflow:auto}
 .desktop-workspace .people-grid{grid-template-columns:1fr;gap:8px}.desktop-workspace .pair-join{font-size:22px}
}
@media(min-width:1001px) and (max-height:750px){.desktop-workspace>.hero{position:static;padding-top:20px}.desktop-workspace>.hero .cup-wrap{max-width:300px}}

/* The same photographic cookie in the menu and the four-piece ritual. */
.cookie-menu-icon img{display:block;width:44px;height:44px;object-fit:contain;filter:drop-shadow(0 2px 2px #653f2222)}
.fortune-cookie{display:block;width:min(310px,86%);aspect-ratio:1;margin:4px auto 20px;padding:0;border:0;background:none;touch-action:pan-y;user-select:none;-webkit-user-select:none;-webkit-appearance:none;appearance:none}
.fortune-cookie:disabled{opacity:1;cursor:default}.cookie-art{position:relative;display:block;width:100%;height:100%;filter:drop-shadow(0 12px 9px #653f221a)}
.cookie-half{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.cookie-left{clip-path:polygon(0 0,50% 0,49% 25%,51% 33%,49% 42%,41% 45%,37% 50%,29% 51%,25% 55%,17% 53%,8% 57%,0 57%)}
.cookie-left-bottom{clip-path:polygon(0 57%,8% 57%,17% 53%,25% 55%,29% 51%,37% 50%,41% 45%,49% 42%,51% 51%,49% 62%,50% 100%,0 100%)}
.cookie-right{clip-path:polygon(50% 0,100% 0,100% 56%,92% 56%,82% 52%,74% 50%,70% 44%,62% 43%,59% 36%,51% 33%,49% 25%)}
.cookie-right-bottom{clip-path:polygon(51% 33%,59% 36%,62% 43%,70% 44%,74% 50%,82% 52%,92% 56%,100% 56%,100% 100%,50% 100%,49% 62%,51% 51%,49% 42%)}
button .cookie-cracks{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;stroke:#713d1e;stroke-width:.8;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(.4px .6px 0 #fff0cc);transition:opacity .2s}
.cookie-cracks g{opacity:0;transition:opacity .2s}
.fortune-cookie[data-stage="2"] .crack-early,.fortune-cookie[data-stage="3"] .crack-early,.fortune-cookie[data-stage="4"] .crack-early,.fortune-cookie[data-stage="3"] .crack-middle,.fortune-cookie[data-stage="4"] .crack-middle,.fortune-cookie[data-stage="4"] .crack-late{opacity:.9}
.fortune-cookie[data-stage="4"] .cookie-cracks{stroke-width:1.1}
.cookie-crumb{position:absolute;width:7px;height:5px;background:#d4994e;border-radius:2px;opacity:0;left:47%;top:75%;pointer-events:none;transition:transform .7s,opacity .25s}.crumb-two{left:55%;width:4px}.crumb-three{left:40%;top:65%;width:9px}.crumb-four{left:61%;top:69%;width:6px}
.fortune-cookie[data-stage="2"] .crumb-one,.fortune-cookie[data-stage="3"] .cookie-crumb,.fortune-cookie[data-stage="4"] .cookie-crumb{opacity:.8;transform:translateY(12px) rotate(25deg)}
.is-shaking .cookie-art{animation:cookie-shake .3s ease-out}
.is-open .cookie-left{transform:translate(-12%,-3%) rotate(-16deg)}.is-open .cookie-right{transform:translate(12%,-2%) rotate(17deg)}
.is-open .cookie-left-bottom{transform:translate(-9%,8%) rotate(12deg)}.is-open .cookie-right-bottom{transform:translate(10%,9%) rotate(-13deg)}
.is-open .cookie-cracks{opacity:0}.is-open .cookie-crumb{opacity:.9;transform:translate(-12px,35px) rotate(95deg)}.is-open .crumb-two,.is-open .crumb-four{transform:translate(18px,27px) rotate(-65deg)}
.cookie-status{font-size:13px;line-height:1.6;color:var(--body);min-height:42px;margin:4px 0 14px}.cookie-message{animation:cookie-note .6s ease-out;margin-top:12px}.cookie-message p{font-size:23px;line-height:1.45}.daily-content #another-cookie{display:flex;margin:12px auto 0}.daily-content:has(.fortune-cookie) .date-label{margin-bottom:18px}
@keyframes cookie-shake{0%,100%{transform:rotate(0)}20%{transform:translateX(-4px) rotate(-3deg)}45%{transform:translateX(4px) rotate(3deg)}70%{transform:translateX(-2px) rotate(-1deg)}}
@keyframes cookie-note{from{opacity:0;transform:translateY(-14px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:720px){.fortune-cookie{width:min(260px,86%)}.cookie-message p{font-size:21px}.cookie-menu-icon img{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){.cookie-art,.cookie-message{animation:none}.cookie-half,.cookie-cracks,.cookie-cracks g,.cookie-crumb{transition:none}}
