#today { width:100%; }
#today * { box-sizing:border-box; }
#today [hidden] { display:none !important; }
#today .td-app { --td-bg:light-dark(#f4fbf7,#14221e); --td-surface:light-dark(#ffffff,#20332b); --td-ink:light-dark(#302c48,#f4f0ff); --td-muted:light-dark(#666477,#bcb8c9); --td-line:light-dark(#dedfe5,#405447); --td-accent:#b5ee8e; --td-button-ink:#27372a; --td-tint:light-dark(#e5f8dd,#2f4430); --td-peach:#ffb4a4; --td-shadow:light-dark(#dceadf,#0a1510); color-scheme:light dark; font-family:ui-rounded,'Microsoft YaHei','PingFang SC',system-ui,sans-serif; color:var(--td-ink); background:var(--td-bg); border-radius:26px; min-height:740px; position:relative; }
#today .td-shell { padding:25px 34px 22px; display:flex; flex-direction:column; min-height:740px; }
#today button { font:inherit; color:inherit; transition:transform .16s,background .16s,box-shadow .16s; }
#today button:focus-visible,#today input:focus-visible,#today textarea:focus-visible { outline:3px solid light-dark(#7757bb,#d6c7ff); outline-offset:4px; }
#today button:disabled { opacity:.6; cursor:wait; }
#today button:active:not(:disabled) { transform:translateY(2px); }
#today .td-header { display:flex; justify-content:space-between; align-items:center; gap:16px; }
#today .td-brand { font-family:ui-rounded,system-ui,sans-serif; font-size:32px; letter-spacing:-2px; font-weight:850; white-space:nowrap; }
#today .td-brand>span { color:light-dark(#499a52,#b5ee8e); }
#today .td-header-right { display:flex; align-items:center; gap:15px; flex-wrap:wrap; justify-content:flex-end; }
#today .td-sync { color:var(--td-muted); font-size:14px; }
#today .td-small { border:1px solid var(--td-line); border-radius:100px; padding:10px 17px; background:var(--td-surface); font-size:15px; font-weight:600; min-height:40px; }
#today .td-hero { display:grid; grid-template-columns:1fr 1.12fr; gap:25px; align-items:center; padding:38px 0 30px; }
#today .td-intro { padding:8px 0; }
#today .td-eyebrow { font-size:14px; color:var(--td-muted); letter-spacing:1px; }
#today h1,#today h2,#today p { margin:0; }
#today .td-intro h1 { font-size:clamp(32px,4.8vw,49px); line-height:1.32; letter-spacing:-1.8px; margin:17px 0; font-weight:800; }
#today .td-intro h1>span { position:relative; isolation:isolate; }
#today .td-intro h1>span:after { content:''; position:absolute; height:12px; background:var(--td-accent); bottom:4px; left:-3px; right:-3px; border-radius:8px; z-index:-1; transform:rotate(-2deg); }
#today .td-intro>p { font-size:16px; line-height:1.8; color:var(--td-muted); }
#today .td-tabs { display:inline-flex; padding:5px; border:1px solid var(--td-line); background:var(--td-surface); border-radius:100px; gap:4px; margin-top:26px; }
#today .td-tabs button { border:0; background:transparent; border-radius:100px; min-height:43px; padding:10px 23px; font-size:14px; font-weight:650; white-space:nowrap; }
#today .td-tabs button[aria-pressed=true] { background:var(--td-accent); color:var(--td-button-ink); }
#today .td-intro-note { display:flex; gap:7px; align-items:center; color:var(--td-muted); font-size:14px; margin-top:18px; }
#today .td-machine { border:2px solid var(--td-ink); border-radius:29px; background:var(--td-surface); box-shadow:6px 7px 0 var(--td-shadow); transform:rotate(1deg); overflow:hidden; }
#today .td-machine-label { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:15px 18px; border-bottom:1px solid var(--td-line); }
#today .td-category { font-size:14px; font-weight:700; }
#today .td-machine-mark { font-size:10px; color:var(--td-muted); letter-spacing:2px; }
#today .td-machine-stage { padding:18px 16px 13px; text-align:center; min-height:285px; display:flex; flex-direction:column; align-items:center; justify-content:center; background:radial-gradient(ellipse at 50% 32%,var(--td-tint),transparent 68%); }
#today .td-mascot { position:relative; height:143px; width:205px; flex-shrink:0; }
#today .td-rice { position:absolute; top:9px; left:25px; width:114px; height:115px; background:light-dark(#fffefa,#f9f5e9); border:2px solid #373c36; border-radius:49% 49% 28% 28%; transform:rotate(-9deg); box-shadow:inset -7px -6px 0 #e8eedb; }
#today .td-seaweed { position:absolute; width:38px; height:42px; background:#415f46; bottom:-1px; left:36px; border:2px solid #373c36; border-radius:8px 8px 3px 3px; }
#today .td-eye { position:absolute; width:5px; height:7px; background:#373c36; top:41px; border-radius:50%; }
#today .td-eye-left { left:35px; } #today .td-eye-right { right:29px; }
#today .td-cheek { position:absolute; width:12px; height:6px; background:#ffb4a4; top:53px; border-radius:50%; }
#today .td-cheek-left { left:20px; } #today .td-cheek-right { right:16px; }
#today .td-mouth { position:absolute; width:12px; height:7px; border-bottom:2px solid #373c36; border-radius:0 0 10px 10px; top:48px; left:50px; }
#today .td-cup { position:absolute; top:58px; right:16px; width:54px; height:68px; border:2px solid #373c36; background:linear-gradient(to top,#ffc797 70%,#fff5dd 70%); border-radius:6px 6px 13px 13px; transform:rotate(12deg); }
#today .td-cup:before { content:''; position:absolute; left:-5px; right:-5px; top:-5px; height:8px; background:#fff9ec; border:2px solid #373c36; border-radius:5px; }
#today .td-cup-face { font-size:15px; color:#373c36; padding-top:25px; white-space:nowrap; }
#today .td-straw { position:absolute; height:43px; width:6px; border:1px solid #373c36; background:#9dc9a5; top:-42px; left:31px; transform:rotate(13deg); }
#today .td-spark { position:absolute; font-size:24px; color:light-dark(#db8d46,#ffca9b); }
#today .td-spark-one { top:12px; right:27px; } #today .td-spark-two { left:2px; top:85px; font-size:17px; }
#today .td-result { width:100%; min-width:0; max-width:100%; text-align:center; }
#today .td-result-kicker { font-size:14px; color:var(--td-muted); }
#today .td-result-name { position:relative; display:block; width:100%; height:var(--td-slot-height,3em); overflow:hidden; font-size:clamp(21px,3vw,29px); font-weight:800; line-height:1.5; margin:5px 0 4px; overflow-wrap:anywhere; }
#today .td-result-track { display:block; width:100%; will-change:transform; }
#today .td-result-row { display:flex; align-items:center; justify-content:center; width:100%; height:var(--td-slot-height,3em); padding:0 4px; }
#today .td-result-measure { position:absolute; inset:0 0 auto; display:block; height:auto; padding:0 4px; visibility:hidden; }
#today .td-result-announcement { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
#today .td-result-note { color:var(--td-muted); font-size:14px; line-height:1.6; }
#today .td-machine-bottom { padding:14px 18px 18px; }
#today .td-draw { display:flex; align-items:center; justify-content:center; gap:9px; width:100%; min-height:51px; padding:13px 18px; background:var(--td-accent); border:1.5px solid var(--td-ink); border-radius:15px; color:var(--td-button-ink); font-weight:750; font-size:15px; box-shadow:0 3px 0 var(--td-ink); }
#today .td-candidates { padding:22px 0; border-top:1px solid var(--td-line); }
#today .td-section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
#today .td-section-head h2 { font-size:16px; font-weight:750; }
#today .td-count { display:block; margin-top:5px; font-size:14px; color:var(--td-muted); }
#today .td-text-button { display:inline-flex; align-items:center; gap:6px; padding:8px 2px; border:0; background:transparent; font-size:14px; font-weight:650; white-space:nowrap; }
#today .td-chips { display:flex; flex-wrap:wrap; gap:9px; margin-top:17px; }
#today .td-chip { background:var(--td-surface); border:1px solid var(--td-line); border-radius:100px; font-size:14px; padding:9px 13px; display:flex; align-items:center; gap:7px; overflow-wrap:anywhere; }
#today .td-chip[aria-disabled=true] { opacity:.45; text-decoration:line-through; }
#today .td-footer { margin-top:auto; padding-top:18px; display:flex; flex-wrap:wrap; gap:7px 14px; align-items:center; justify-content:space-between; color:var(--td-muted); font-size:10px; line-height:1.8; }
#today .td-toast { background:var(--td-ink); color:var(--td-surface); border-radius:12px; padding:11px 15px; margin-top:12px; font-size:14px; }
#today .td-dialog { width:min(100%,480px); background:var(--td-surface); color:var(--td-ink); border:1px solid var(--td-line); border-radius:24px; padding:24px; box-shadow:0 20px 60px light-dark(#263f2526,#0007); }
#today .td-dialog-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
#today .td-dialog-head h2 { font-size:23px; font-weight:750; }
#today .td-dialog-head p { font-size:14px; color:var(--td-muted); margin-top:7px; line-height:1.7; }
#today .td-close { width:34px; min-height:34px; border:1px solid var(--td-line); border-radius:50%; background:transparent; font-size:20px; }
#today .td-editor-rows { margin:20px 0 16px; display:grid; gap:9px; }
#today .td-editor-row { display:flex; gap:9px; align-items:center; }
#today input[type=checkbox] { accent-color:light-dark(#539657,#b5ee8e); width:18px; height:18px; flex-shrink:0; }
#today .td-editor-row input[type=text] { min-width:0; flex:1; font:inherit; font-size:14px; padding:10px 12px; border:1px solid var(--td-line); border-radius:10px; color:var(--td-ink); background:var(--td-bg); }
#today .td-delete { border:0; padding:8px; border-radius:7px; color:var(--td-muted); background:transparent; font-size:14px; }
#today .td-dialog-actions { display:flex; gap:10px; justify-content:space-between; flex-wrap:wrap; }
#today .td-secondary { background:var(--td-surface); border:1px solid var(--td-line); border-radius:11px; padding:10px 14px; font-size:15px; }
#today .td-confirm { background:var(--td-accent); color:var(--td-button-ink); border:1px solid var(--td-ink); border-radius:11px; padding:11px 18px; font-weight:700; font-size:15px; }
#today .td-dialog-footnote { margin-top:15px; font-size:14px; line-height:1.7; color:var(--td-muted); }
#today .td-batch { margin:15px 0; }
#today .td-batch label { display:block; font-size:14px; margin-bottom:7px; }
#today .td-batch textarea { width:100%; min-height:100px; padding:12px; font:inherit; font-size:14px; border:1px solid var(--td-line); border-radius:12px; color:var(--td-ink); background:var(--td-bg); resize:vertical; }
#today .td-login-icon { display:grid; place-items:center; height:50px; width:50px; margin-bottom:18px; background:var(--td-tint); border-radius:16px; }
#today .td-login-fields { display:grid; gap:15px; margin:24px 0 18px; }
#today .td-login-fields label { font-size:15px; display:grid; gap:8px; }
#today .td-login-fields input { width:100%; font:inherit; font-size:16px; border:1px solid var(--td-line); border-radius:12px; padding:12px; background:var(--td-bg); color:var(--td-ink); }
#today .td-login-bottom { display:flex; justify-content:space-between; gap:12px; margin-top:17px; font-size:14px; color:var(--td-muted); }
#today .td-login-bottom button { border:0; padding:2px; background:transparent; font-size:14px; text-decoration:underline; }
#today .td-field-error { color:light-dark(#b63e3e,#ffa6a6); font-size:14px; line-height:1.6; margin-bottom:12px; }
#today .td-list-note { font-size:14px; line-height:1.7; margin-top:14px; color:var(--td-muted); }
#today .td-app[data-kind=drink] { --td-accent:#ffc0a8; --td-button-ink:#4c342e; --td-tint:light-dark(#fff0e7,#4c3529); }
#today .td-app[data-kind=drink] .td-rice { transform:rotate(7deg) scale(.75); left:15px; top:29px; }
#today .td-app[data-kind=drink] .td-cup { transform:rotate(-7deg) scale(1.35); right:22px; top:47px; }
#today .td-machine-stage { position:relative; }
#today .td-mascot { isolation:isolate; }
#today .td-rice,#today .td-cup { z-index:1; transform-origin:50% 85%; }
#today .td-rice { background-image:radial-gradient(ellipse at 27% 25%,#eee9da 0 1px,transparent 2px),radial-gradient(ellipse at 70% 19%,#e8eddf 0 1px,transparent 2px),radial-gradient(ellipse at 58% 65%,#ece9dc 0 1px,transparent 2px); }
#today .td-ground-shadow { position:absolute; bottom:8px; height:7px; background:light-dark(#3f51491c,#0005); border-radius:50%; z-index:0; }
#today .td-rice-shadow { left:29px; width:110px; }
#today .td-cup-shadow { right:11px; width:59px; }
#today .td-rice-arm { position:absolute; top:61px; height:23px; width:13px; border:1.5px solid #373c36; background:#fffef7; border-radius:70%; z-index:-1; }
#today .td-arm-left { left:-9px; transform:rotate(28deg); transform-origin:90% 10%; }
#today .td-arm-right { right:-9px; transform:rotate(-28deg); transform-origin:10% 10%; }
#today .td-seaweed { background:repeating-linear-gradient(82deg,#415f46 0 5px,#4a6a4e 6px 7px); }
#today .td-eye { translate:var(--td-eye-x,0px) var(--td-eye-y,0px); transition:translate .15s ease-out; }
#today .td-cup { background:#fff5df; }
#today .td-cup:before { z-index:3; }
#today .td-liquid-window { position:absolute; inset:0; border-radius:inherit; overflow:hidden; }
#today .td-liquid { position:absolute; inset:28% -14% -14%; background:linear-gradient(#ffcf9f,#ffc08a); border-radius:40% 42% 0 0 / 8% 9% 0 0; transform-origin:50% 40%; }
#today .td-liquid:before { content:''; position:absolute; left:0; right:0; top:0; height:5px; border-radius:50%; background:#ffe0b6; }
#today .td-cup-face { position:relative; z-index:2; }
#today .td-straw { z-index:1; transform-origin:50% 100%; }
#today .td-bubble { position:absolute; border:1px solid #fff8d8; background:#fff4cc55; border-radius:50%; width:5px; height:5px; }
#today .td-bubble-one { left:10px; bottom:9px; }
#today .td-bubble-two { right:9px; bottom:20px; width:4px; height:4px; }
#today .td-bubble-three { left:20px; bottom:29px; width:3px; height:3px; }
#today .td-tabs { position:relative; isolation:isolate; }
#today .td-tabs:before { content:''; position:absolute; z-index:0; left:5px; top:5px; bottom:5px; width:calc(50% - 7px); border-radius:100px; background:var(--td-accent); transform:translateX(0); transition:transform .42s cubic-bezier(.22,1.3,.45,1),background .3s; }
#today .td-tabs button { position:relative; z-index:1; }
#today .td-tabs button[aria-pressed=true] { background:transparent; }
#today .td-app[data-kind=drink] .td-tabs:before { transform:translateX(calc(100% + 4px)); }
#today .td-draw { position:relative; overflow:hidden; background-image:linear-gradient(125deg,#ffffff30,transparent 65%); }
#today .td-draw:not(:disabled):hover { filter:brightness(1.035); }
#today .td-draw-progress { position:absolute; height:2px; left:18px; right:18px; bottom:5px; opacity:0; border-radius:2px; background:#30473315; pointer-events:none; }
#today .td-draw-progress>span { display:block; width:100%; height:100%; background:var(--td-button-ink); transform:scaleX(0); transform-origin:left; }
#today .td-is-drawing .td-draw-progress { opacity:.5; }
#today .td-app[data-phase=spin] .td-result-name,#today .td-app[data-phase=settle] .td-result-name { mask-image:linear-gradient(transparent,black 15%,black 85%,transparent); }
#today .td-effects { position:absolute; inset:0; pointer-events:none; z-index:2; overflow:hidden; }
#today .td-particle { position:absolute; left:50%; top:38%; display:block; width:6px; height:10px; border-radius:3px; background:var(--td-accent); }
#today .td-particle-star { width:auto; height:auto; background:none; color:light-dark(#b9853a,#f3c885); font-size:15px; }
#today .td-halo { position:absolute; top:16%; left:calc(50% - 70px); width:140px; height:140px; border:1px solid light-dark(#83bf6870,#c2f4a460); border-radius:50%; }
#today .td-chip { position:relative; transition:background-color .25s,border-color .25s,box-shadow .25s; }
#today .td-chip[data-picked=true] { background:var(--td-tint); border-color:light-dark(#76ac61,#b5ee8e); box-shadow:0 0 0 2px light-dark(#a8d99026,#b5ee8e22); }
#today .td-chip[data-picked=true]:after { content:'✓'; position:absolute; top:-5px; right:-3px; display:grid; place-items:center; width:15px; height:15px; border-radius:50%; color:#293c2b; background:#b5ee8e; font-size:10px; font-weight:700; }
#today .td-text-button:not(:disabled):hover { text-decoration:underline; text-underline-offset:4px; }

:root { color-scheme:light dark; font-size:16px; background:light-dark(#f4fbf7,#14221e); }
body { margin:0; }
#today .td-app { max-width:1040px; margin:0 auto; min-height:100svh; border-radius:0; }
#today .td-shell { min-height:inherit; }
#today button:not(:disabled) { cursor:pointer; }
#today button:disabled { cursor:default; }
#today .td-header-right { min-width:0; }
#today .td-sync { overflow-wrap:anywhere; }
#today .td-hero { grid-template-columns:minmax(0,1fr) minmax(0,1.12fr); }
#today .td-intro-note,#today .td-tabs button,#today .td-section-head h2,#today .td-chip,
#today .td-list-note,#today .td-result-note,#today .td-draw,#today .td-editor-row input[type=text],
#today .td-dialog-head p,#today .td-login-fields label,#today .td-batch label,
#today .td-batch textarea,#today .td-confirm { font-size:16px; }
#today .td-intro-note svg,#today .td-text-button svg,#today .td-draw svg { width:17px; height:17px; flex-shrink:0; }
#today .td-result-note { min-height:3.2em; }
#today .td-draw:focus:not(:active) { transform:none; }
#today .td-draw[aria-disabled=true] { cursor:default; }
#today .td-draw-progress>span { will-change:transform; }
#today .td-chips { padding:0; margin-bottom:0; list-style:none; }
#today .td-chip { min-width:0; max-width:100%; }
#today .td-chip-name { min-width:0; overflow-wrap:anywhere; }
#today .td-chip[aria-disabled=true] { opacity:1; color:var(--td-muted); }
#today .td-chip[data-picked=true]:after { width:17px; height:17px; font-size:11px; }
#today .td-hidden-text { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
#today .td-cloud { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:17px; }
#today .td-cloud:has(.td-cloud-note:empty):has(.td-cloud-actions > button:not([hidden])) { justify-content:flex-end; }
#today .td-cloud:has(.td-cloud-note:empty):not(:has(.td-cloud-actions > button:not([hidden]))) { display:none; }
#today .td-cloud-note { min-width:0; overflow-wrap:anywhere; color:var(--td-muted); line-height:1.6; }
#today .td-cloud-actions { display:flex; flex-wrap:wrap; gap:8px; flex-shrink:0; }
#today .td-toast { margin:4px 0 13px; font-size:16px; line-height:1.5; }
#today .td-toast:empty { padding:0; margin:0; }
#today .td-footer { font-size:13px; }
#today .td-dialog { width:min(calc(100% - 28px),540px); max-width:none; max-height:calc(100dvh - 28px); overscroll-behavior:contain; }
#today .td-dialog::backdrop { background:light-dark(#e7efe9d9,#0c1713df); backdrop-filter:blur(7px); }
#today .td-dialog-head h2 { line-height:1.35; }
#today .td-close { flex-shrink:0; width:40px; min-height:40px; }
#today .td-editor-rows { max-height:min(45dvh,440px); overflow:auto; overscroll-behavior:contain; padding:4px; }
#today .td-editor-rows:empty { display:none; }
#today .td-editor-row { min-width:0; }
#today .td-editor-row input[type=text] { min-height:42px; }
#today .td-delete { flex-shrink:0; }
#today .td-batch textarea { display:block; }
#today .td-dialog-actions>div { display:flex; flex-wrap:wrap; gap:8px; }
#today .td-dialog-actions:not(.td-choice-buttons) { margin-top:14px; }
#today .td-dialog-footnote,#today .td-field-error,.td-form-status { font-size:14px; overflow-wrap:anywhere; }
#today .td-field-error:empty,#today .td-form-status:empty { margin:0; }
#today .td-login-bottom { flex-wrap:wrap; }
#today .td-login-bottom button { min-height:33px; font-size:14px; }
#today .td-login-fields small,#today .td-form-status { color:var(--td-muted); line-height:1.6; }
#today .td-form-status { margin:0 0 14px; }
#today .td-preview { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:16px 0; }
#today .td-preview-list { min-width:0; background:var(--td-bg); border:1px solid var(--td-line); border-radius:12px; padding:12px; }
#today .td-preview-list h3 { font-size:16px; margin:0 0 8px; }
#today .td-preview-list ul { margin:0; padding-left:18px; max-height:155px; overflow:auto; line-height:1.6; }
#today .td-preview-list li { overflow-wrap:anywhere; }
#today .td-preview-list .td-preview-disabled { color:var(--td-muted); }
#today .td-merge-preview { margin-bottom:14px; }
#today .td-merge-preview summary { cursor:pointer; padding:6px; }
#today .td-merge-preview .td-preview-list { margin-top:8px; }
#today .td-choice-buttons { justify-content:flex-start; }

@media (max-width:650px) {
  #today .td-shell { padding:20px; }
  #today .td-hero { grid-template-columns:minmax(0,1fr); gap:23px; padding:26px 0; }
  #today .td-intro { text-align:center; }
  #today .td-intro h1 { font-size:35px; margin:12px 0; }
  #today .td-intro>p { display:none; }
  #today .td-intro-note { justify-content:center; margin-top:12px; }
  #today .td-tabs { margin-top:15px; }
  #today .td-machine { width:min(100%,400px); justify-self:center; }
  #today .td-machine-stage { min-height:265px; }
  #today .td-footer { justify-content:center; text-align:center; padding-top:15px; }
  #today .td-dialog { padding:20px; }
  #today .td-dialog-head h2 { font-size:21px; }
  #today .td-cloud { flex-wrap:wrap; }
}

@media (max-width:370px) {
  #today .td-shell { padding:17px 14px; }
  #today .td-brand { font-size:29px; }
  #today .td-intro h1 { font-size:29px; }
  #today .td-header-right { gap:7px; }
  #today .td-small { padding:9px 12px; }
  #today .td-dialog { padding:16px; }
  #today .td-preview-list { padding:8px; }
  #today .td-editor-row { gap:6px; }
  #today .td-delete { padding:5px; }
}

@media (pointer:coarse) {
  #today .td-small,#today .td-tabs button,#today .td-text-button,#today .td-delete,
  #today .td-confirm,#today .td-secondary,#today .td-editor-row input[type=text] { min-height:44px; }
  #today .td-close { width:44px; min-height:44px; }
}

@media (prefers-reduced-motion:reduce) {
  #today *,#today *::before,#today *::after { animation:none !important; transition:none !important; }
}
