/* ui-kit.css — one visual language for every page (direction C: soft colour blocks). Loaded last on each page.
   1 tokens · 2 base · 3 top bar and back · 4 buttons · 5 fields · 6 surfaces and lists · 7 disclosure ·
   8 dialogs, sheets, notices · 9 home, same-day, search · 10 page details · icons (generated)
   The older class names are mapped onto the same few parts, so a page never mixes two looks.
   Rules start with "html body.app-ui.app-ui" so they win over the older layers. */

/* ---------- 1. tokens ---------- */
:root{
--tk-bg:#F1F5EF;--tk-surface:#FFFFFF;--tk-ink:#1B2A22;--tk-muted:#51605A;--tk-faint:#8A978F;
--tk-line:#D5E2D5;--tk-line-soft:#E6EEE6;
--tk-primary:#2F6B4F;--tk-primary-press:#245640;--tk-on-primary:#FFFFFF;
--tk-tint:#DDEBDD;--tk-tint-press:#CBDFCB;--tk-tint-ink:#1F4D38;--tk-tint-soft:#E7F0E6;
--tk-honey:#FFE7A8;--tk-honey-press:#F9DA86;--tk-honey-ink:#4A3A00;
--tk-danger:#B3261E;--tk-danger-tint:#FBE6E3;--tk-danger-press:#F6D3CE;
--tk-scrim:rgba(27,42,34,.45);
--tk-r-tile:14px;--tk-r-field:16px;--tk-r-block:18px;--tk-r-btn:22px;--tk-r-card:24px;--tk-r-dialog:28px;--tk-gutter:16px;
--tk-shadow:0 10px 30px rgba(27,42,34,.18);--tk-shadow-float:0 6px 16px rgba(27,42,34,.24);--tk-focus:0 0 0 3px rgba(47,107,79,.24);
--tk-font:-apple-system,BlinkMacSystemFont,"PingFang TC","Noto Sans TC","Helvetica Neue",system-ui,sans-serif;
--app-bg:var(--tk-bg);--app-surface:var(--tk-surface);--app-ink:var(--tk-ink);--app-muted:var(--tk-muted);--app-line:var(--tk-line);--app-accent:var(--tk-primary);--app-secondary:var(--tk-tint);
--press-background:var(--tk-bg);--press-surface:var(--tk-surface);--press-text:var(--tk-ink);--press-secondary:var(--tk-muted);--press-blue:var(--tk-primary);--press-danger:var(--tk-danger);--press-divider:var(--tk-line);
}

/* ---------- 2. base ---------- */
html{background:var(--tk-bg);-webkit-text-size-adjust:100%}
html body.app-ui.app-ui:not(.account-entry-auth){
--color-background:var(--tk-bg);--color-surface:var(--tk-surface);--color-text:var(--tk-ink);--color-text-muted:var(--tk-muted);--color-text-light:var(--tk-muted);--color-border:var(--tk-line);
--ui-ink:var(--tk-ink);--ui-muted:var(--tk-muted);--ui-accent:var(--tk-primary);--ui-line:var(--tk-line);--ui-surface:var(--tk-surface);--ui-secondary:var(--tk-tint);--ui-field:var(--tk-surface);
--ink:var(--tk-ink);--accent:var(--tk-primary);--paper:var(--tk-bg);--line:var(--tk-line);
background:var(--tk-bg);color:var(--tk-ink);font-family:var(--tk-font);-webkit-tap-highlight-color:transparent}
body.app-ui :is(button,input,select,textarea){font-family:inherit}
body.app-ui :is(h1,h2,h3,h4){font-family:inherit;color:var(--tk-ink);letter-spacing:0}
body.app-ui h1{font-size:26px;line-height:32px;font-weight:700}
body.app-ui h2{font-size:20px;line-height:28px;font-weight:700}
body.app-ui h3{font-size:17px;line-height:24px;font-weight:700}
body.app-ui a{color:var(--tk-tint-ink)}
html body.app-ui.app-ui :focus-visible{outline:3px solid var(--tk-primary);outline-offset:2px}
body.app-ui ::selection{background:#CFE3D8}
body.app-ui :is(.app-note,.muted,.storybook-note,.service-notice,small){color:var(--tk-muted)}
/* text that only screen readers read (labels of round icon buttons) */
html body.app-ui.app-ui :is(.tk-sr,.tk-back>span,.tk-icon-btn .btn-label){position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- 3. top bar: round back button, then the page title on the same line ---------- */
html body.app-ui.app-ui .tk-bar{position:sticky;top:0;z-index:40;display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:10px;min-height:56px;margin:0 calc(var(--tk-gutter) * -1) 4px;padding:6px var(--tk-gutter);border:0;background:var(--tk-bg);box-shadow:none}
html body.app-ui.app-ui .tk-bar-space{flex:1 1 auto;min-width:0}
html body.app-ui.app-ui .tk-back{position:relative;display:inline-grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;max-width:none;margin:0;padding:0;border:0;border-radius:22px;background:var(--tk-tint);box-shadow:none;color:var(--tk-tint-ink)!important;text-decoration:none!important;-webkit-tap-highlight-color:transparent}
html body.app-ui.app-ui .tk-back>.ti{--ti:var(--tk-i-arrow-left);width:22px;height:22px;margin:0}
html body.app-ui.app-ui .tk-back:active{background:var(--tk-tint-press)}
html body.app-ui.app-ui .tk-title{display:-webkit-box;flex:1 1 auto;min-width:0;margin:0;padding:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--tk-ink);font-size:22px;line-height:28px;font-weight:700;letter-spacing:0;overflow-wrap:anywhere}
@media(max-width:380px){html body.app-ui.app-ui .tk-title{font-size:20px;line-height:26px}}
/* edge-swipe hint (created by ui-kit.js) */
.tk-swipe{position:fixed;left:0;top:50%;z-index:2147483600;display:grid;place-items:center;width:44px;height:44px;margin-top:-22px;border-radius:22px;background:var(--tk-ink);color:#fff;opacity:0;transform:translateX(-52px);pointer-events:none}
.tk-swipe .ti{width:24px;height:24px}
/* what stays of the old title block under the bar: the subtitle */
html body.app-ui.app-ui :is(.app-header,.settings-header,.golden-heading,.intro){margin:0 0 16px;padding:0;border:0;background:none;box-shadow:none}
html body.app-ui.app-ui :is(.app-header,.settings-header,.golden-heading,.intro) h1{margin:4px 0 6px;font-size:26px;line-height:32px;font-weight:700;color:var(--tk-ink)}
html body.app-ui.app-ui :is(.app-subtitle,.transfer-subtitle,.intro p,.golden-heading>p){margin:0;font-size:15px;line-height:22px;color:var(--tk-muted)}
/* page shells share one gutter */
html body.app-ui.app-ui:not(.account-entry-auth) :is(.app-shell,.account-shell,.memory-shell),html body.app-ui.app-ui.line-page main,html body.app-ui.app-ui.transfer-page main.settings-container{box-sizing:border-box;max-width:720px;margin:0 auto;padding:0 var(--tk-gutter) calc(32px + env(safe-area-inset-bottom,0px))!important}

/* ---------- 4. buttons: pills; the usual second choice is a soft green block ---------- */
html body.app-ui.app-ui :is(.tk-btn,.btn,.btn-tag,.btn-primary,.btn-secondary,.btn-danger,.action-btn,.action-link,.upload-btn,.reload-btn,.coffee-buy,.save-settings,.entry-primary,button.secondary,a.secondary,button.danger,button.primary,.modal-download-btn,.golden-entry-link),
html body.app-ui.app-ui :is(main,dialog,form,fieldset,.timehut-dialog,.modal-card,.upload-modal-content,.modal-info) button:not([class]){
display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;width:auto;min-width:0;min-height:44px;height:auto;margin:0;padding:10px 18px;border:0;border-radius:var(--tk-r-btn);box-shadow:none;font-size:15px;line-height:22px;font-weight:700;letter-spacing:0;text-align:center;text-decoration:none;text-shadow:none;white-space:normal;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .12s,opacity .12s,transform .12s}
html body.app-ui.app-ui :is(.tk-btn,.btn,.btn-tag,.btn-primary,.btn-secondary,.btn-danger,.action-btn,.action-link,.upload-btn,.reload-btn,.coffee-buy,.save-settings,.entry-primary,button.secondary,a.secondary,button.danger,button.primary,.modal-download-btn):active{transform:scale(.98)}
html body.app-ui.app-ui :is(button,.tk-btn):disabled,html body.app-ui.app-ui :is(button,.tk-btn)[aria-disabled=true]{opacity:.45;cursor:default;transform:none}
html body.app-ui.app-ui :is(.tk-btn,.action-btn,.btn-danger,.btn-secondary,.btn-tag,.modal-download-btn,button)>.ti{flex:none}
/* primary */
html body.app-ui.app-ui :is(.tk-btn--primary,.btn-tag,.btn-primary,.upload-btn,.coffee-buy,.save-settings,.entry-primary,.action-link,button.primary),
html body.app-ui.app-ui :is(main,dialog,form,fieldset,.timehut-dialog,.modal-card,.upload-modal-content,.modal-info) button[type=submit]:not([class]),
html body.app-ui.app-ui #golden-save{background:var(--tk-primary);color:var(--tk-on-primary)}
html body.app-ui.app-ui :is(.tk-btn--primary,.btn-tag,.btn-primary,.upload-btn,.coffee-buy,.save-settings,.entry-primary,.action-link,button.primary):active{background:var(--tk-primary-press)}
/* tonal: older "secondary" buttons land here too */
html body.app-ui.app-ui :is(.tk-btn--secondary,.tk-btn--tonal,.btn-secondary,.action-btn,.reload-btn,button.secondary,a.secondary,.modal-download-btn,.golden-entry-link),
html body.app-ui.app-ui :is(main,dialog,form,fieldset,.timehut-dialog,.modal-card,.upload-modal-content,.modal-info) button:not([class]):not([type=submit]){background:var(--tk-tint);color:var(--tk-tint-ink)}
html body.app-ui.app-ui :is(.tk-btn--secondary,.tk-btn--tonal,.btn-secondary,.action-btn,.reload-btn,button.secondary,a.secondary,.modal-download-btn,.golden-entry-link):active{background:var(--tk-tint-press)}
/* text, honey, danger */
html body.app-ui.app-ui :is(.tk-btn--text,.app-text-link){min-height:44px;padding:10px 8px;background:transparent;color:var(--tk-tint-ink);font-size:15px;font-weight:700;text-decoration:none}
html body.app-ui.app-ui .tk-btn--honey{background:var(--tk-honey);color:var(--tk-honey-ink)}
html body.app-ui.app-ui .tk-btn--honey:active{background:var(--tk-honey-press)}
html body.app-ui.app-ui :is(.tk-btn--danger,.btn-danger,button.danger){background:var(--tk-danger-tint);color:var(--tk-danger)}
html body.app-ui.app-ui :is(.tk-btn--danger,.btn-danger,button.danger):active{background:var(--tk-danger-press)}
html body.app-ui.app-ui :is(.tk-btn--danger-solid,.timehut-dialog.danger-dialog .btn-danger){background:var(--tk-danger);color:#fff}
html body.app-ui.app-ui .danger-text{color:var(--tk-danger)!important}
/* sizes */
html body.app-ui.app-ui .tk-btn--lg{min-height:48px;border-radius:24px;font-size:16px}
html body.app-ui.app-ui .tk-btn--block{display:flex;width:100%}
/* round icon button */
html body.app-ui.app-ui .tk-icon-btn{position:relative;display:inline-grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:22px;background:var(--tk-tint);box-shadow:none;color:var(--tk-tint-ink);cursor:pointer;list-style:none;-webkit-tap-highlight-color:transparent}
html body.app-ui.app-ui .tk-icon-btn>.ti{width:22px;height:22px}
html body.app-ui.app-ui :is(.tk-icon-btn:active,.tk-icon-btn.active,.tk-icon-btn[aria-pressed=true]){background:var(--tk-tint-press)}
/* icon in front of a label that scripts rewrite as plain text: class="tk-ib ti-download" */
html body.app-ui.app-ui .tk-ib::before{content:"";display:inline-block;flex:none;width:1.25em;height:1.25em;margin-right:.35em;vertical-align:-.24em;background-color:currentColor;-webkit-mask:var(--ti) center/contain no-repeat;mask:var(--ti) center/contain no-repeat}
html body.app-ui.app-ui :is(button,a).tk-ib{display:inline-flex;align-items:center;justify-content:center}
html body.app-ui.app-ui :is(button,a).tk-ib::before{margin-right:6px;vertical-align:0}

/* ---------- 5. fields ---------- */
html body.app-ui.app-ui :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea){box-sizing:border-box;min-height:48px;padding:10px 14px;border:1px solid var(--tk-line);border-radius:var(--tk-r-field);background:var(--tk-surface);box-shadow:none;color:var(--tk-ink);font-size:17px;line-height:24px;outline:0}
html body.app-ui.app-ui :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus{border-color:var(--tk-primary);box-shadow:var(--tk-focus)}
html body.app-ui.app-ui :is(input,textarea)::placeholder{color:var(--tk-faint);opacity:1}
html body.app-ui.app-ui select{appearance:none;-webkit-appearance:none;padding-right:40px!important;background-color:var(--tk-surface);background-image:var(--tk-i-chevron-down-muted)!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:20px!important}
html body.app-ui.app-ui :is(input[type=checkbox],input[type=radio]){width:22px;height:22px;min-height:0;margin:0 8px 0 0;accent-color:var(--tk-primary);flex:none;vertical-align:-4px}
html body.app-ui.app-ui label{color:var(--tk-ink)}
/* search pill */
html body.app-ui.app-ui .tk-search{display:flex;align-items:center;gap:8px;box-sizing:border-box;width:100%;max-width:none;min-height:54px;margin:0;padding:0 5px 0 18px;border:0;border-radius:27px;background:var(--tk-surface);box-shadow:none;color:var(--tk-muted)}
html body.app-ui.app-ui .tk-search:focus-within{box-shadow:var(--tk-focus)}
html body.app-ui.app-ui .tk-search>.ti{width:20px;height:20px;flex:none}
html body.app-ui.app-ui .tk-search>input{flex:1 1 auto;min-width:0;min-height:44px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:16px;line-height:22px;color:var(--tk-ink)}
html body.app-ui.app-ui .tk-search-go{flex:none;min-height:44px;margin:0;padding:0 14px;border:0;border-radius:22px;background:var(--tk-tint);box-shadow:none;color:var(--tk-tint-ink);font-size:15px;line-height:20px;font-weight:700}
html body.app-ui.app-ui .tk-search-go:active{background:var(--tk-tint-press)}
html body.app-ui.app-ui .tk-search>input:placeholder-shown~.tk-search-go{display:none}
/* On phone home, submit search through the keyboard action. */
@media(max-width:760px){
  html body.app-ui.app-ui.timeline-page .tk-search-go{display:none}
}

html body.app-ui.app-ui .tk-search>.tk-btn{flex:none;min-height:44px;padding:0 14px;border-radius:22px}
html body.app-ui.app-ui .tk-search-clear{display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:22px;background:transparent;box-shadow:none;color:var(--tk-muted)}
html body.app-ui.app-ui .tk-search-clear>.ti{width:18px;height:18px}

/* ---------- 6. surfaces and lists: white cards without borders on the soft green page ---------- */
html body.app-ui.app-ui :is(.app-card,.app-list,.card,.panel,.settings-section,.line-card,.line-status-card,.transfer-card,.tk-card){border:0;border-radius:var(--tk-r-card);background:var(--tk-surface);box-shadow:none}
html body.app-ui.app-ui :is(.app-card,.card,.panel,.settings-section,.line-card,.line-status-card,.tk-card){padding:16px}
html body.app-ui.app-ui .app-list{overflow:hidden;margin:6px 0 20px;padding:4px 0}
html body.app-ui.app-ui .app-row{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;margin:0;padding:10px 16px;border:0;border-radius:0;background:var(--tk-surface);box-shadow:none;color:var(--tk-ink)!important;font-size:16px;line-height:22px;font-weight:700;text-align:left;text-decoration:none}
html body.app-ui.app-ui .app-row+.app-row{border-top:0}
html body.app-ui.app-ui .app-row:active{background:var(--tk-tint-soft)}
html body.app-ui.app-ui .app-row>:is(.app-row-copy,span:not([aria-hidden])){flex:1 1 auto;min-width:0}
html body.app-ui.app-ui .app-row-copy strong{display:block;font-size:16px;line-height:22px;font-weight:700}
html body.app-ui.app-ui .app-row-copy small{display:block;margin-top:2px;font-size:13px;line-height:18px;font-weight:400;color:var(--tk-muted)}
html body.app-ui.app-ui .app-row>.ti:last-child{flex:none;width:18px;height:18px;margin-left:auto;color:var(--tk-muted)}
html body.app-ui.app-ui .app-row.danger-text{color:var(--tk-danger)!important}
html body.app-ui.app-ui .app-row.app-list{border-radius:var(--tk-r-card);padding:10px 16px}
html body.app-ui.app-ui .tk-tile{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:20px;background:var(--tk-tint);color:var(--tk-tint-ink)}
html body.app-ui.app-ui .tk-tile::before{content:"";width:20px;height:20px;background-color:currentColor;-webkit-mask:var(--ti) center/contain no-repeat;mask:var(--ti) center/contain no-repeat}
html body.app-ui.app-ui .tk-tile--honey{background:var(--tk-honey);color:var(--tk-honey-ink)}
html body.app-ui.app-ui .tk-tile--danger{background:var(--tk-danger-tint);color:var(--tk-danger)}
html body.app-ui.app-ui :is(.settings-group>h2,.tk-group-title){margin:18px 6px 6px;font-size:13px;line-height:18px;font-weight:700;color:var(--tk-muted);letter-spacing:0}
/* chips: soft green inside white cards, white on the page, honey for 拾光-related labels */
html body.app-ui.app-ui :is(.tk-chip,.moment-tag,.viewer-tag){display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border:0;border-radius:16px;background:var(--tk-tint);box-shadow:none;color:var(--tk-tint-ink);font-size:13px;line-height:18px;font-weight:600}
html body.app-ui.app-ui .golden-badge{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border:0;border-radius:16px;background:var(--tk-honey);box-shadow:none;color:var(--tk-honey-ink);font-size:13px;line-height:18px;font-weight:700}
/* notes */
html body.app-ui.app-ui :is(.status-note,.notice,.tk-note){padding:12px 16px;border:0;border-radius:var(--tk-r-block);background:var(--tk-tint-soft);color:var(--tk-ink);font-size:15px;line-height:22px}

/* ---------- 7. disclosure ---------- */
html body.app-ui.app-ui details>summary{display:flex;align-items:center;gap:8px;min-height:48px;list-style:none;cursor:pointer;font-size:16px;line-height:22px;font-weight:700;color:var(--tk-ink);-webkit-tap-highlight-color:transparent}
html body.app-ui.app-ui details>summary::-webkit-details-marker{display:none}
html body.app-ui.app-ui details>summary::marker{content:""}
html body.app-ui.app-ui details>summary::after{content:"";flex:none;width:20px;height:20px;margin-left:auto;background-color:var(--tk-muted);-webkit-mask:var(--tk-i-chevron-down) center/contain no-repeat;mask:var(--tk-i-chevron-down) center/contain no-repeat;transition:transform .15s}
html body.app-ui.app-ui details[open]>summary::after{transform:rotate(180deg)}
html body.app-ui.app-ui details:is(.card,.panel,.line-card){padding:4px 16px}
html body.app-ui.app-ui details:is(.card,.panel,.line-card)[open]{padding-bottom:16px}

/* ---------- 8. dialogs, sheets, notices ---------- */
html body.app-ui.app-ui :is(.modal-overlay.timehut-dialog,.tk-layer){position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:16px;background:var(--tk-scrim)}
html body.app-ui.app-ui :is(.timehut-dialog:not(.line-group-dialog) .modal-card,.tk-dialog,dialog:not(.device-photo-picker)){box-sizing:border-box;width:min(100%,420px);max-height:calc(100vh - 48px);padding:0;border:0;border-radius:var(--tk-r-dialog);background:var(--tk-surface);box-shadow:var(--tk-shadow);color:var(--tk-ink);overflow:hidden}
html body.app-ui.app-ui dialog::backdrop{background:var(--tk-scrim)}
html body.app-ui.app-ui .tk-dialog{display:flex;flex-direction:column}
html body.app-ui.app-ui .tk-dialog-body{padding:22px 22px 4px;overflow:auto}
html body.app-ui.app-ui .tk-dialog-body h2{margin:0 0 8px;font-size:19px;line-height:26px;font-weight:700}
html body.app-ui.app-ui .tk-dialog-body p{margin:0;font-size:16px;line-height:24px;color:var(--tk-ink);white-space:pre-line;overflow-wrap:anywhere}
html body.app-ui.app-ui .tk-dialog-actions{display:flex;gap:8px;padding:16px 20px 20px}
html body.app-ui.app-ui .tk-dialog-actions>.tk-btn{flex:1 1 auto;text-wrap:balance;min-height:48px;border-radius:24px;font-size:16px}
html body.app-ui.app-ui .dialog-close{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:22px;box-shadow:none}
html body.app-ui.app-ui .dialog-close>.ti{width:20px;height:20px}
/* toast */
html body.app-ui.app-ui .toast-container:not(.viewer-toast),.tk-toasts{position:fixed;left:16px;right:16px;bottom:calc(20px + env(safe-area-inset-bottom,0px));top:auto;z-index:2147483200;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none;transform:none}
html body.app-ui.app-ui .toast,.tk-toast{display:flex;align-items:flex-start;gap:10px;box-sizing:border-box;max-width:min(100%,460px);margin:0;padding:12px 18px;border:0;border-radius:var(--tk-r-block);background:var(--tk-ink);box-shadow:var(--tk-shadow);color:#fff;font-size:15px;line-height:22px;font-weight:500;white-space:pre-line;overflow-wrap:anywhere;pointer-events:auto}
html body.app-ui.app-ui .toast>.ti,.tk-toast>.ti{flex:none;width:20px;height:20px;margin-top:1px;color:#BFE3CF}
html body.app-ui.app-ui .toast.error>.ti,.tk-toast.is-error>.ti{color:#FFB4AB}
html body.app-ui.app-ui .toast.warning>.ti,.tk-toast.is-warning>.ti{color:#FFE7A8}
.tk-toast{opacity:0;transform:translateY(8px);transition:opacity .16s,transform .16s}
.tk-toast.is-in{opacity:1;transform:none}
html body.app-ui.app-ui .toast.hide{opacity:0}
@media(prefers-reduced-motion:reduce){.tk-toast{transition:none}}

/* ---------- 9. home, same-day, search ---------- */
html body.app-ui.app-ui .header.tk-top{position:sticky;top:0;z-index:100;display:flex;flex-direction:column;align-items:stretch;gap:8px;width:auto;height:auto;min-height:0;margin:0;padding:6px var(--tk-gutter) 6px;border:0;background:var(--tk-bg);box-shadow:none;overflow:visible}
html body.app-ui.app-ui .tk-top-row{display:flex;align-items:center;gap:8px;min-height:48px}
html body.app-ui.app-ui .tk-top-title{flex:1 1 auto;min-width:0;overflow:hidden;padding-left:4px;color:var(--tk-ink)!important;font-size:22px;line-height:28px;font-weight:700;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:359px){html body.app-ui.app-ui .tk-top-title{font-size:19px;letter-spacing:-0.2px}}
html body.app-ui.app-ui .tk-top-search{display:flex;flex-direction:column;gap:12px;padding:6px var(--tk-gutter) 14px;background:var(--tk-bg)}
html body.app-ui.app-ui .tk-top-chips{display:flex;align-items:center;gap:8px;min-width:0}
html body.app-ui.app-ui .tk-top-chips>.tk-btn{flex:none;padding:10px 16px;white-space:nowrap}
html body.app-ui.app-ui .tk-top-chips>.tk-btn>.ti{width:18px;height:18px}
html body.app-ui.app-ui .tk-top-chips>.tk-btn.active{background:var(--tk-primary);color:#fff}
html body.app-ui.app-ui .tk-top-status{flex:1 1 auto;min-width:0;overflow:hidden;color:var(--tk-muted);font-size:13px;line-height:18px;text-align:right;text-overflow:ellipsis;white-space:nowrap}
html body.app-ui.app-ui.timeline-page:is(.select-mode,.moment-select-mode) .tk-top-chips{display:none}
/* upload: the floating button */
html body.app-ui.app-ui .tk-fab{position:fixed;right:max(16px,env(safe-area-inset-right,0px));bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:90;display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:56px;margin:0;padding:0 22px;border:0;border-radius:28px;background:var(--tk-primary);box-shadow:var(--tk-shadow-float);color:#fff;font-size:16px;line-height:22px;font-weight:700;cursor:pointer;-webkit-tap-highlight-color:transparent}
html body.app-ui.app-ui .tk-fab>.ti{width:20px;height:20px}
html body.app-ui.app-ui .tk-fab:active{background:var(--tk-primary-press);transform:scale(.98)}
html body.app-ui.app-ui:is(.select-mode,.moment-select-mode) .tk-fab{display:none}
html body.app-ui.app-ui.tk-fab-away .tk-fab{opacity:0;transform:translateY(24px);pointer-events:none}
html body.app-ui.app-ui.timeline-page .main-content{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
/* notes and the "內容已更新" offer sit above the floating button */
html body.app-ui.app-ui.timeline-page:not(.select-mode):not(.moment-select-mode) :is(.tk-toasts,.toast-container:not(.viewer-toast)){bottom:calc(96px + env(safe-area-inset-bottom,0px))}
html body.app-ui.app-ui.timeline-page .app-refresh-offer{bottom:calc(96px + env(safe-area-inset-bottom,0px))!important}
/* wide screens keep the top area in a readable column */
@media(min-width:800px){html body.app-ui.app-ui .tk-top-row,html body.app-ui.app-ui .tk-top-search>*,html body.app-ui.app-ui .header.tk-top>.tk-search{box-sizing:border-box;width:100%;max-width:720px;margin-left:auto;margin-right:auto}}
/* the 選取 menu (a round button in the top row) */
html body.app-ui.app-ui .timeline-actions{position:relative;min-width:0;flex:none}
html body.app-ui.app-ui .timeline-actions>summary::after{display:none}
html body.app-ui.app-ui .timeline-action-menu{position:absolute;right:0;left:auto;top:52px;z-index:1200;display:grid;gap:2px;box-sizing:border-box;min-width:220px;max-width:calc(100vw - 32px);padding:8px;border:0;border-radius:var(--tk-r-card);background:var(--tk-surface);box-shadow:var(--tk-shadow)}
html body.app-ui.app-ui .tk-menu-item{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;margin:0;padding:0 12px;border:0;border-radius:var(--tk-r-field);background:transparent;box-shadow:none;color:var(--tk-ink);font-size:16px;line-height:22px;font-weight:700;text-align:left;text-decoration:none}
html body.app-ui.app-ui .tk-menu-item>.ti{width:22px;height:22px;color:var(--tk-tint-ink)}
html body.app-ui.app-ui :is(.tk-menu-item:active,.tk-menu-item.active){background:var(--tk-tint)}
/* same-day page: the date is the title; age and counts are chips */
html body.app-ui.app-ui.album-detail-page .album-header{display:block;min-height:0;margin:0 0 12px;padding:0!important;border:0;border-radius:0;background:none!important;box-shadow:none}
html body.app-ui.app-ui.album-detail-page .album-cover-frame{display:none}
html body.app-ui.app-ui.album-detail-page .album-heading-copy{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
html body.app-ui.app-ui.album-detail-page .album-heading-copy h2{display:none}
html body.app-ui.app-ui.album-detail-page :is(#momentAge,#momentInfo){display:inline-flex;align-items:center;min-height:32px;margin:0;padding:0 12px;border-radius:16px;background:var(--tk-surface);color:var(--tk-ink);font-size:13px;line-height:18px;font-weight:600}
html body.app-ui.app-ui.album-detail-page #momentAge:empty{display:none}
html body.app-ui.app-ui.album-detail-page .album-photo-card{border:0;border-radius:18px;background:var(--tk-tint-soft);overflow:hidden}

/* ---------- 10. page details ---------- */
/* bars that sit outside the page column (memories, subjects) and the account page's bar */
html body.app-ui.app-ui .tk-bar--page{margin:0;padding:6px max(var(--tk-gutter),calc((100% - 720px) / 2 + var(--tk-gutter)));border:0;box-shadow:none;background:var(--tk-bg)}
html body.app-ui.app-ui .tk-bar--account{display:none}
html body.app-ui.app-ui.is-authenticated:not(.account-entry-auth):not(.account-entry-pending) .tk-bar--account{display:flex}
html body.app-ui.app-ui .tk-bar--account .tk-title{display:none}
html body.app-ui.app-ui.account-security-mode .tk-bar--account .tk-title{display:-webkit-box}
html body.app-ui.app-ui .account-connection-state{margin:12px var(--tk-gutter)}
html body.app-ui.app-ui input[type=search]{-webkit-appearance:none;appearance:none}
html body.app-ui.app-ui input[type=search]::-webkit-search-cancel-button,html body.app-ui.app-ui input[type=search]::-webkit-search-decoration{-webkit-appearance:none;display:none}
/* a text link that leads somewhere, with its chevron */
html body.app-ui.app-ui .tk-link-row{display:flex;align-items:center;gap:8px;min-height:44px;color:var(--tk-tint-ink);font-size:16px;line-height:22px;font-weight:700;text-decoration:none}
html body.app-ui.app-ui .tk-link-row>span{flex:1 1 auto;min-width:0}
html body.app-ui.app-ui .tk-link-row>.ti{width:18px;height:18px;color:var(--tk-muted)}
html body.app-ui.app-ui .tk-chip-x{position:relative;min-height:32px}
html body.app-ui.app-ui .tk-chip-x::before{content:"";position:absolute;inset:-6px -2px}
html body.app-ui.app-ui .tk-chip-x::after{content:"";width:14px;height:14px;margin-left:6px;background-color:currentColor;-webkit-mask:var(--tk-i-x) center/contain no-repeat;mask:var(--tk-i-x) center/contain no-repeat;opacity:.7}
/* close buttons, also those written by older scripts as a "✕" character: a round soft green button */
html body.app-ui.app-ui :is(.dialog-close,.upload-modal .modal-close,.sidebar-close,.batch-view-close,.queue-remove){display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:22px;background:var(--tk-tint)!important;box-shadow:none;color:var(--tk-tint-ink)!important;font-size:0!important;line-height:0!important}
html body.app-ui.app-ui :is(.dialog-close,.upload-modal .modal-close,.sidebar-close,.batch-view-close,.queue-remove)>.ti{width:20px;height:20px}
html body.app-ui.app-ui :is(.dialog-close:empty,.dialog-close:not(:has(.ti)))::before{content:"";width:20px;height:20px;background-color:currentColor;-webkit-mask:var(--tk-i-x) center/contain no-repeat;mask:var(--tk-i-x) center/contain no-repeat}
/* legal and footer cross-links: white pills on the page */
html body.app-ui.app-ui :is(.legal-nav,.service-links){display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px;padding:0;border:0}
html body.app-ui.app-ui :is(.legal-nav,.service-links) a{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:18px;background:var(--tk-surface);color:var(--tk-tint-ink);font-size:14px;line-height:20px;font-weight:700;text-decoration:none}
html body.app-ui.app-ui :is(.legal-nav,.service-links) a::after{content:none}
/* photo selection marks (shown only while selecting; the older layer places them) */
html body.app-ui.app-ui :is(.timeline-photo-select,.select-checkbox){padding:0;border:2px solid #fff;border-radius:50%;background:rgba(27,42,34,.32);box-shadow:0 1px 3px rgba(0,0,0,.28);color:#fff;font-size:0}
html body.app-ui.app-ui :is(.timeline-photo-select[aria-pressed=true],.album-photo-card.selected .select-checkbox){border-color:#fff;background:var(--tk-primary)}
html body.app-ui.app-ui .timeline-photo-select[aria-pressed=true]::before,html body.app-ui.app-ui .album-photo-card.selected .select-checkbox::after{content:"";display:block;width:16px;height:16px;margin:auto;background-color:#fff;-webkit-mask:var(--tk-i-check) center/contain no-repeat;mask:var(--tk-i-check) center/contain no-repeat}
html body.app-ui.app-ui.select-mode .album-photo-card .select-checkbox{display:grid;place-items:center;width:28px;height:28px;min-height:28px}
html body.app-ui.app-ui.select-mode :is(.moment-photo-container.selected,.album-photo-card.selected){outline:3px solid var(--tk-primary);outline-offset:-3px;border-color:var(--tk-primary)}
/* icon holders that used to hold an emoji */
html body.app-ui.app-ui :is(.empty-icon,.dropzone-icon,.confirm-icon){display:grid;place-items:center;color:var(--tk-tint-ink);font-size:40px;line-height:1}
html body.app-ui.app-ui :is(.empty-icon,.dropzone-icon,.confirm-icon)>.ti{width:40px;height:40px}
html body.app-ui.app-ui .album-card-emoji{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:22px;background:var(--tk-tint);color:var(--tk-tint-ink);font-size:22px;overflow:hidden}
html body.app-ui.app-ui .album-card-emoji img{width:100%;height:100%;object-fit:cover}
html body.app-ui.app-ui :is(.uploader-icon,.tab-icon)>.ti{width:20px;height:20px}
html body.app-ui.app-ui .video-badge{display:grid;place-items:center;color:#fff}
html body.app-ui.app-ui .video-badge>.ti{width:16px;height:16px}
/* photo viewer controls */
html body.app-ui.app-ui .photo-modal :is(.modal-close,.modal-nav){display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:22px;background:rgba(255,255,255,.14);box-shadow:none;color:#fff;font-size:0}
html body.app-ui.app-ui .photo-modal :is(.modal-close,.modal-nav)>.ti{width:24px;height:24px}
html body.app-ui.app-ui .photo-modal :is(.modal-close,.modal-nav):active{background:rgba(255,255,255,.26)}
html body.app-ui.app-ui .photo-viewer-tools button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 14px;border:1px solid rgba(255,255,255,.28);border-radius:22px;background:rgba(255,255,255,.1);box-shadow:none;color:#fff;font-size:15px;line-height:20px;font-weight:700}
html body.app-ui.app-ui .photo-modal.viewer-immersive .photo-viewer-tools button{background:#26312de6}
html body.app-ui.app-ui .photo-viewer-tools button:empty::before{margin-right:0}
@media(max-width:768px){html body.app-ui.app-ui .photo-modal:not(.viewer-immersive) :is(.modal-prev,.modal-next){top:calc(80px + 14dvh)}}
/* home: album card */
html body.app-ui.app-ui.timeline-page .timeline-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;min-height:0;margin:0 0 16px;padding:18px;border:0;border-radius:var(--tk-r-card);background:var(--tk-surface);box-shadow:none;text-align:left;overflow:visible}
html body.app-ui.app-ui.timeline-page .timeline-header::before,html body.app-ui.app-ui.timeline-page .timeline-header::after{display:none}
html body.app-ui.app-ui.timeline-page .timeline-header>*{margin:0;max-width:none}
html body.app-ui.app-ui.timeline-page .timeline-header :is(.timeline-eyebrow,.timeline-hint){display:none}
html body.app-ui.app-ui.timeline-page .timeline-header .current-child-name{grid-column:1;display:block;margin:0;font-size:24px;line-height:30px;font-weight:700;color:var(--tk-ink)}
html body.app-ui.app-ui.timeline-page .timeline-header .current-child-age{grid-column:1;grid-row:2;display:block;margin:0;font-size:14px;line-height:20px;font-weight:400;color:var(--tk-muted);opacity:1}
html body.app-ui.app-ui.timeline-page .timeline-header .album-create-entry{grid-column:2;grid-row:1 / span 2;align-self:center;justify-self:end;margin:0}
html body.app-ui.app-ui.timeline-page:is(.select-mode,.moment-select-mode) .timeline-header .album-create-entry{display:none}
html body.app-ui.app-ui .album-create-entry{display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;min-height:44px;padding:10px 16px;border:0;border-radius:22px;background:var(--tk-tint);box-shadow:none;color:var(--tk-tint-ink);font-size:15px;line-height:22px;font-weight:700;text-decoration:none}
html body.app-ui.app-ui .album-create-entry:active{background:var(--tk-tint-press)}
html body.app-ui.app-ui .album-create-entry>.ti{width:18px;height:18px}
/* home: age sections and day cards */
html body.app-ui.app-ui.timeline-page .age-group-header{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:0;padding:8px 4px 6px;border:0}
html body.app-ui.app-ui.timeline-page .age-group-header :is(h2,h3,.age-group-title){margin:0;font-size:18px;line-height:26px;font-weight:700;color:var(--tk-ink)}
html body.app-ui.app-ui.timeline-page .age-group-summary{font-size:13px;line-height:18px;color:var(--tk-muted)}
html body.app-ui.app-ui.timeline-page .moment-item{padding:16px;border:0;border-radius:var(--tk-r-card);background:var(--tk-surface);box-shadow:none}
html body.app-ui.app-ui.timeline-page .moment-header{margin:0 0 12px}
html body.app-ui.app-ui.timeline-page .moment-full-date{font-size:16px;line-height:22px;font-weight:700;color:var(--tk-ink)}
html body.app-ui.app-ui.timeline-page .moment-age{font-size:13px;line-height:18px;color:var(--tk-muted)}
html body.app-ui.app-ui.timeline-page .moment-title{margin:12px 0 0;font-size:15px;line-height:22px;font-weight:600;color:var(--tk-ink)}
html body.app-ui.app-ui.timeline-page .moment-footer{padding:8px 0 0}
html body.app-ui.app-ui.timeline-page .moment-stats-right{display:flex;flex-direction:row-reverse;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:8px;font-size:13px;line-height:18px;color:var(--tk-muted)}
html body.app-ui.app-ui .moment-album-link{display:inline-flex;align-items:center;gap:4px;flex:none;min-height:44px;margin:0;padding:0 16px;border:0;border-radius:22px;background:var(--tk-tint);color:var(--tk-tint-ink);font-size:15px;line-height:22px;font-weight:700;cursor:pointer}
html body.app-ui.app-ui .moment-album-link>.ti{width:18px;height:18px}
html body.app-ui.app-ui .moment-album-link:active{background:var(--tk-tint-press)}
html body.app-ui.app-ui .moment-grid :is(.moment-photo-container,img){border-radius:var(--tk-r-tile)}
html body.app-ui.app-ui.storybook-page:not(.moment-select-mode) .moment-grid[data-count="2"]{height:auto}
html body.app-ui.app-ui .moment-overlay{border-radius:var(--tk-r-tile);background:rgba(47,107,79,.82);color:#fff;font-weight:700}
/* selection sheet: a floating white card; actions three across, icon above label */
html body.app-ui.app-ui :is(.selection-bar,.moment-selection-bar){box-sizing:border-box;max-height:none;overflow:visible;padding:12px;border:0;border-radius:var(--tk-r-dialog);background:var(--tk-surface);box-shadow:0 8px 28px rgba(27,42,34,.2);color:var(--tk-ink)}
html body.app-ui.app-ui :is(.selection-bar,.moment-selection-bar) .selection-info{margin:0 0 8px;font-size:15px;line-height:22px;font-weight:700;color:var(--tk-ink);text-align:center}
html body.app-ui.app-ui :is(.selection-bar,.moment-selection-bar) .selection-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}
html body.app-ui.app-ui :is(.selection-bar,.moment-selection-bar) .selection-actions>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:56px;padding:6px 4px;border:0;border-radius:var(--tk-r-block);background:var(--tk-tint);color:var(--tk-tint-ink);font-size:13px;line-height:18px;font-weight:700;white-space:nowrap}
html body.app-ui.app-ui :is(.selection-bar,.moment-selection-bar) .selection-actions>button::before{width:20px;height:20px;margin:0}
html body.app-ui.app-ui :is(.selection-bar,.moment-selection-bar) .selection-actions>.btn-danger{background:var(--tk-danger-tint);color:var(--tk-danger)}
html body.app-ui.app-ui :is(.selection-bar,.moment-selection-bar) .selection-actions>button:active{background:var(--tk-tint-press)}
@media(max-width:340px){html body.app-ui.app-ui :is(.selection-bar,.moment-selection-bar) .selection-actions>button{font-size:12px;letter-spacing:-.2px}html body.app-ui.app-ui :is(.selection-bar,.moment-selection-bar) .selection-actions{gap:6px}}
/* album chooser (side panel) and time travel sheet */
html body.app-ui.app-ui .album-sidebar{border-radius:0 var(--tk-r-dialog) var(--tk-r-dialog) 0;background:var(--tk-bg);box-shadow:none}
html body.app-ui.app-ui .album-sidebar.open{box-shadow:var(--tk-shadow)}
html body.app-ui.app-ui .sidebar-header{min-height:60px;padding:8px 10px 8px 20px;background:var(--tk-bg);color:var(--tk-ink)}
html body.app-ui.app-ui .sidebar-title{font-size:22px;line-height:28px;font-weight:700}
html body.app-ui.app-ui .sidebar-albums{padding:4px 16px 16px}
html body.app-ui.app-ui .sidebar-album-card{display:flex;align-items:center;gap:12px;width:100%;min-height:68px;margin:0 0 8px;padding:10px 12px;border:0;border-radius:20px;background:var(--tk-surface);box-shadow:none;color:var(--tk-ink);text-align:left;transform:none}
html body.app-ui.app-ui .sidebar-album-card.active{background:var(--tk-tint);box-shadow:inset 0 0 0 2px var(--tk-primary)}
html body.app-ui.app-ui .album-card-name{display:block;font-size:16px;line-height:22px;font-weight:700;color:var(--tk-ink)}
html body.app-ui.app-ui .album-card-subtitle{display:block;font-size:13px;line-height:18px;color:var(--tk-muted)}
html body.app-ui.app-ui .album-create-sidebar-entry{display:flex;margin:0 16px calc(16px + env(safe-area-inset-bottom,0px))}
html body.app-ui.app-ui .time-travel-menu{border:0;border-radius:var(--tk-r-dialog) var(--tk-r-dialog) 0 0;background:var(--tk-surface);box-shadow:0 -6px 24px rgba(27,42,34,.14)}
html body.app-ui.app-ui .time-travel-header{display:flex;align-items:center;justify-content:space-between;min-height:60px;padding:8px 10px 4px 18px;border-bottom:0}
html body.app-ui.app-ui .time-travel-header h3{margin:0;font-size:19px;line-height:26px;font-weight:700}
html body.app-ui.app-ui .time-travel-item{min-height:48px;border:0;border-radius:var(--tk-r-field);background:var(--tk-bg);color:var(--tk-ink);font-size:16px;font-weight:700}
/* transfer page */
html body.app-ui.app-ui.transfer-page .storybook-install{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
html body.app-ui.app-ui.transfer-page .storybook-install>button{flex:1 1 auto}
html body.app-ui.app-ui.transfer-page .transfer-filters{display:flex;flex-wrap:nowrap;gap:2px;margin:0 0 14px;padding:4px;border:0;border-radius:26px;background:var(--tk-tint)}
html body.app-ui.app-ui.transfer-page .transfer-filters button{flex:1 1 0;min-width:0;min-height:44px;padding:0 2px;border:0;border-radius:22px;background:transparent;box-shadow:none;color:var(--tk-tint-ink);font-size:13px;line-height:18px;font-weight:700;white-space:nowrap}
html body.app-ui.app-ui.transfer-page .transfer-filters [aria-pressed=true]{background:var(--tk-surface);color:var(--tk-ink);box-shadow:0 1px 3px rgba(27,42,34,.14)}
html body.app-ui.app-ui.transfer-page .queue-batch-actions{display:flex;gap:8px}
html body.app-ui.app-ui.transfer-page .queue-batch-actions>button{flex:1 1 0}
/* in-app dialogs written by the older dialog helper */
html body.app-ui.app-ui .timehut-dialog:not(.line-group-dialog) .dialog-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px 12px 4px 22px;border:0;background:none}
html body.app-ui.app-ui .timehut-dialog:not(.line-group-dialog) .dialog-header h3{margin:0;font-size:19px;line-height:26px;font-weight:700}
html body.app-ui.app-ui .timehut-dialog:not(.line-group-dialog) .dialog-body{padding:4px 22px 8px}
html body.app-ui.app-ui .timehut-dialog .dialog-art{display:none}
html body.app-ui.app-ui .timehut-dialog:not(.line-group-dialog) .modal-actions{display:flex;gap:8px;margin:0;padding:12px 20px 20px;border:0;background:none}
html body.app-ui.app-ui .timehut-dialog .modal-actions>.btn{flex:1 1 auto;text-wrap:balance;min-height:48px;border-radius:24px;font-size:16px}
html body.app-ui.app-ui .timehut-dialog .btn-secondary{background:var(--tk-tint)!important;color:var(--tk-tint-ink)!important}
html body.app-ui.app-ui .timehut-dialog .btn-primary{background:var(--tk-primary)!important;color:#fff!important}
html body.app-ui.app-ui .timehut-dialog .btn-danger{background:var(--tk-danger)!important;color:#fff!important}
html body.app-ui.app-ui .timehut-dialog{background:var(--tk-scrim)!important}
html body.app-ui.app-ui .line-group-dialog .dialog-close{position:absolute;right:12px;top:12px}
html body.app-ui.app-ui .timehut-dialog .dialog-album-option{min-height:56px;border:0;border-radius:var(--tk-r-block);background:var(--tk-bg)}
/* memories: chips, progress, notes */
html body.app-ui.app-ui :is(.memory-shell,#memory-viewer) :is(.tag,.ai-tag){display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border:0;border-radius:14px;background:var(--tk-tint);box-shadow:none;color:var(--tk-tint-ink);font-size:13px;line-height:18px;font-weight:600}
html body.app-ui.app-ui :is(.memory-shell,#memory-viewer) button.tag{min-height:32px;font-weight:700}
html body.app-ui.app-ui progress{accent-color:var(--tk-primary)}
html body.app-ui.app-ui .memory-shell progress{width:100%;height:8px;border:0;border-radius:4px;background:var(--tk-tint);overflow:hidden;-webkit-appearance:none;appearance:none}
html body.app-ui.app-ui .memory-shell progress::-webkit-progress-bar{background:var(--tk-tint);border-radius:4px}
html body.app-ui.app-ui .memory-shell progress::-webkit-progress-value{background:var(--tk-primary);border-radius:4px}
html body.app-ui.app-ui :is(.reading-recovery-note,.consent-card){padding:12px 16px;border:0;border-radius:var(--tk-r-block);background:var(--tk-tint-soft);box-shadow:none;color:var(--tk-ink);font-size:15px;line-height:22px}
/* golden: its badge sits with the heading */
html body.app-ui.app-ui .golden-heading .golden-badge{margin:0 0 10px}
/* move-to-another-day and tag sheets */
html body.app-ui.app-ui :is(#moveCollectionModal,#tagModal) .confirm-card{box-sizing:border-box;width:min(100%,420px);padding:22px;border:0;border-radius:var(--tk-r-dialog);background:var(--tk-surface);box-shadow:var(--tk-shadow);color:var(--tk-ink)}
html body.app-ui.app-ui :is(#moveCollectionModal,#tagModal) .confirm-title{margin:0 0 6px;font-size:19px;line-height:26px;font-weight:700;color:var(--tk-ink);text-align:left}
html body.app-ui.app-ui :is(#moveCollectionModal,#tagModal) .confirm-message{margin:0;font-size:15px;line-height:22px;color:var(--tk-muted);text-align:left}
html body.app-ui.app-ui :is(#moveCollectionModal,#tagModal) .confirm-actions{display:flex;gap:8px;margin-top:16px}
html body.app-ui.app-ui :is(#moveCollectionModal,#tagModal) .confirm-actions>button{flex:1 1 auto;text-wrap:balance;min-height:48px;border-radius:24px;font-size:16px}
html body.app-ui.app-ui #collectionListContainer{align-self:stretch;width:auto;text-align:left}
html body.app-ui.app-ui .collection-item{display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;width:100%;min-height:68px;margin:0 0 8px;padding:8px 12px;border:0;border-radius:var(--tk-r-block);background:var(--tk-bg);box-shadow:none;color:var(--tk-ink);font-size:16px;line-height:22px;text-align:left}
html body.app-ui.app-ui .collection-item.selected{border-color:var(--tk-primary)!important;background:var(--tk-tint)!important;box-shadow:inset 0 0 0 2px var(--tk-primary)}
html body.app-ui.app-ui .collection-item .collection-thumb{flex:none;background:var(--tk-tint)}
html body.app-ui.app-ui .collection-item>div:first-child{min-width:0;background:none}
html body.app-ui.app-ui .collection-title{display:block;font-size:16px;line-height:22px;font-weight:700;color:var(--tk-ink)}
html body.app-ui.app-ui :is(.collection-age,.collection-detail){display:block;font-size:13px;line-height:18px;font-weight:400;color:var(--tk-muted)}
html body.app-ui.app-ui .collection-check{flex:none;color:var(--tk-primary)}
html body.app-ui.app-ui .collection-check>.ti{width:22px;height:22px}

/* ---------- icons (generated by harness/build-icons.py; do not edit below) ---------- */
/* direction C, review fixes (11/11) */
html body.app-ui.app-ui #create-album-title:focus:not(:focus-visible),html body.app-ui.app-ui .golden-photo:focus-within{outline:none}
html body.app-ui.app-ui #create-album-title:focus-visible,html body.app-ui.app-ui .golden-photo:has(:focus-visible){outline:3px solid var(--tk-primary);outline-offset:2px}
html body.app-ui.app-ui .coffee-card .coffee-buy:focus-visible{outline-color:var(--tk-primary)}
html body.app-ui.app-ui a#account-security-back.tk-back{width:44px;height:44px;padding:0;border-radius:22px;background:var(--tk-tint);color:var(--tk-tint-ink)}
html body.app-ui.app-ui input[type=date]{display:block;width:100%;min-width:0;max-width:100%}
@supports (-webkit-touch-callout:none){html body.app-ui.app-ui input[type=date]{-webkit-appearance:none;appearance:none;text-align:left}html body.app-ui.app-ui input[type=date]::-webkit-date-and-time-value{text-align:left}}
@media (max-width:360px){html body.app-ui.app-ui :is(.tk-dialog-actions>.tk-btn,.timehut-dialog .modal-actions>.btn,#moveCollectionModal .confirm-actions>button,#tagModal .confirm-actions>button){padding-left:12px;padding-right:12px;font-size:15px}}
html body.app-ui.app-ui.line-page fieldset{min-width:0;margin:16px 0 0;padding:16px;border:0;border-radius:var(--tk-r-card);background:var(--tk-surface);box-shadow:none}
html body.app-ui.app-ui.line-page fieldset>legend{float:left;width:100%;margin:0 0 10px;padding:0;font-size:18px;font-weight:700;color:var(--tk-ink)}
html body.app-ui.app-ui.line-page fieldset>legend+*{clear:both}
html body.app-ui.app-ui .line-item{border:0;border-radius:var(--tk-r-block);background:var(--tk-tint-soft);padding:14px 16px}
html body.app-ui.app-ui .line-item[data-stage="uploaded"]{background:var(--tk-tint)}
html body.app-ui.app-ui .line-item-kind{background:var(--tk-surface);color:var(--tk-tint-ink)}
html body.app-ui.app-ui :is(.line-item time,.line-updated,.line-item .line-item-detail,#line-items small,.golden-explanation,.golden-save-bar span){color:var(--tk-muted)}
html body.app-ui.app-ui .golden-page .golden-photo,html body.app-ui.app-ui .golden-missing{background:var(--tk-tint-soft)}
html body.app-ui.app-ui .golden-photo:has(input:checked){border-color:var(--tk-primary);box-shadow:0 0 0 1px var(--tk-primary)}
html body.app-ui.app-ui .golden-selected .golden-selected-item>button:not([class]){min-height:44px;margin-top:6px;padding:6px 8px;font-size:13px;white-space:nowrap;border-radius:22px}
html body.app-ui.app-ui .golden-save-bar{background:var(--tk-surface);border-top:1px solid var(--tk-line);box-shadow:0 -4px 16px rgba(27,42,34,.06)}
/* 拾光 section inside the shared photo viewer (js/photo-ai-insight.js) */
html body.app-ui.app-ui .photo-ai-insight{margin:14px 0 4px;padding:14px 0 0;border-top:1px solid var(--tk-line);text-align:left}
html body.app-ui.app-ui .photo-ai-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 6px}
html body.app-ui.app-ui .photo-ai-head h4{margin:0;font-size:16px;line-height:22px;font-weight:700;color:var(--tk-ink)}
html body.app-ui.app-ui .photo-ai-head .photo-ai-edit{min-height:44px;padding:0 10px}
html body.app-ui.app-ui .photo-ai-insight .photo-ai-desc{margin:0 0 10px;font-size:15px;line-height:1.6;color:var(--tk-ink);white-space:pre-wrap;overflow-wrap:anywhere;opacity:1}
html body.app-ui.app-ui .photo-ai-insight .ai-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}
html body.app-ui.app-ui .photo-ai-insight .ai-tag{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:14px;background:var(--tk-tint);color:var(--tk-tint-ink);font-size:13px;line-height:18px;font-weight:600}
html body.app-ui.app-ui .photo-ai-insight .photo-ai-scene{margin:0;font-size:13px;line-height:18px;color:var(--tk-muted);opacity:1}
html body.app-ui.app-ui .photo-ai-insight .photo-ai-status{margin:8px 0 0;font-size:13px;line-height:18px;color:var(--tk-tint-ink);opacity:1}
html body.app-ui.app-ui .photo-ai-form{display:grid;gap:10px;margin:0}
html body.app-ui.app-ui .photo-ai-field{display:grid;gap:6px;margin:0;font-size:13px;line-height:18px;font-weight:600;color:var(--tk-muted)}
html body.app-ui.app-ui .photo-ai-field textarea{width:100%;min-height:88px;resize:vertical}
html body.app-ui.app-ui .photo-ai-field input{width:100%}
html body.app-ui.app-ui .photo-ai-actions{display:flex;flex-wrap:wrap;gap:8px}
html body.app-ui.app-ui .photo-ai-actions>.tk-btn{flex:1 1 auto;min-height:44px}
html body.app-ui.app-ui #photoModal .modal-info:has(#photoAiInsight:not([hidden])) #modalSmartTags{display:none}
html body.app-ui.app-ui .viewer-download-status:empty{display:none}
/* an empty album already shows its own 上傳照片或影片 in the middle: no second, overlapping upload button */
html body.app-ui.app-ui:has(#emptyState:not([style*="none"])) .tk-fab{display:none}
/*icons:begin*/
/* stroke 2, 68 icons */
:root{--tk-i-alert:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l9 16H3zM12 10v4.5M12 17.5h0'/%3E%3C/svg%3E");--tk-i-arrow-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E");--tk-i-arrow-left:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E");--tk-i-arrow-right:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");--tk-i-arrow-up:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E");--tk-i-bell:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16v-5a6 6 0 1112 0v5l2 2H4zM10 20a2 2 0 004 0'/%3E%3C/svg%3E");--tk-i-book:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h11a3 3 0 013 3v13H8a3 3 0 01-3-3z'/%3E%3Cpath d='M5 17a3 3 0 013-3h11'/%3E%3C/svg%3E");--tk-i-calendar:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M4 10h16M8 3v4M16 3v4'/%3E%3C/svg%3E");--tk-i-calendar-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M4 10h16M8 3v4M16 3v4'/%3E%3Cpath d='M9 15l2 2 4-4'/%3E%3C/svg%3E");--tk-i-camera:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E");--tk-i-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");--tk-i-check-circle:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l3 3 5-6'/%3E%3C/svg%3E");--tk-i-check-square:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='3'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5'/%3E%3C/svg%3E");--tk-i-chevron-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");--tk-i-chevron-left:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");--tk-i-chevron-right:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");--tk-i-chevron-up:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%3E%3C/svg%3E");--tk-i-circle:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3C/svg%3E");--tk-i-clock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");--tk-i-coffee:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9h11v5a5 5 0 01-5 5h-1a5 5 0 01-5-5zM16 10h2a2.5 2.5 0 010 5h-2M8 3v2M12 3v2'/%3E%3C/svg%3E");--tk-i-copy:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='12' height='12' rx='2'/%3E%3Cpath d='M16 8V5a1 1 0 00-1-1H5a1 1 0 00-1 1v10a1 1 0 001 1h3'/%3E%3C/svg%3E");--tk-i-download:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v12M7 11l5 5 5-5M4 20h16'/%3E%3C/svg%3E");--tk-i-edit:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4l10-10-4-4L4 16zM13 7l4 4'/%3E%3C/svg%3E");--tk-i-external:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 5h5v5M19 5l-8 8M18 14v5H5V6h5'/%3E%3C/svg%3E");--tk-i-eye:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");--tk-i-flag:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4h11l-1.5 4L16 12H5'/%3E%3C/svg%3E");--tk-i-folder:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 012-2h4l2 2h8a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2z'/%3E%3C/svg%3E");--tk-i-folder-move:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 012-2h4l2 2h8a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2z'/%3E%3Cpath d='M10 13h5M13 11l2 2-2 2'/%3E%3C/svg%3E");--tk-i-grid:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='4' y='13' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='13' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");--tk-i-heart:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 017-2.6A4 4 0 0119 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E");--tk-i-help:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 115 0c0 1.5-2.5 2-2.5 3.5M12 17h0'/%3E%3C/svg%3E");--tk-i-home:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11l8-7 8 7M6 10v10h12V10M10 20v-6h4v6'/%3E%3C/svg%3E");--tk-i-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E");--tk-i-images:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='3' width='14' height='12' rx='2'/%3E%3Cpath d='M3 8v11a2 2 0 002 2h12M21 12l-3.5-3.5L11 15'/%3E%3C/svg%3E");--tk-i-info:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5h0'/%3E%3C/svg%3E");--tk-i-key:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M11 12l9-9M17 6l3 3M14 9l2 2'/%3E%3C/svg%3E");--tk-i-leaf:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19c0-8.5 5.5-13.5 14-14 0 9-5.500 14-14 14zM5 19l8-8'/%3E%3C/svg%3E");--tk-i-link:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a4 4 0 005.7 0l3-3a4 4 0 00-5.7-5.7l-1 1M14 10a4 4 0 00-5.7 0l-3 3a4 4 0 005.7 5.7l1-1'/%3E%3C/svg%3E");--tk-i-lock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 018 0v3'/%3E%3C/svg%3E");--tk-i-logout:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4H5v16h5M14 8l4 4-4 4M18 12H9'/%3E%3C/svg%3E");--tk-i-maximize:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3C/svg%3E");--tk-i-menu:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E");--tk-i-message:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E");--tk-i-minimize:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4v5H4M15 4v5h5M9 20v-5H4M15 20v-5h5'/%3E%3C/svg%3E");--tk-i-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");--tk-i-more:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5' cy='12' r='1.3' fill='%23000'/%3E%3Ccircle cx='12' cy='12' r='1.3' fill='%23000'/%3E%3Ccircle cx='19' cy='12' r='1.3' fill='%23000'/%3E%3C/svg%3E");--tk-i-phone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='3' width='10' height='18' rx='2'/%3E%3Cpath d='M11 17.5h2'/%3E%3C/svg%3E");--tk-i-play:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 5l11 7-11 7z'/%3E%3C/svg%3E");--tk-i-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");--tk-i-refresh:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 01-14.3 4.9M4 12a8 8 0 0114.3-4.9M18 3v4.5h-4.5M6 21v-4.5h4.5'/%3E%3C/svg%3E");--tk-i-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E");--tk-i-settings:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h8M18 6h2M4 12h2M12 12h8M4 18h10M20 18h0'/%3E%3Ccircle cx='15' cy='6' r='2.2'/%3E%3Ccircle cx='9' cy='12' r='2.2'/%3E%3Ccircle cx='17' cy='18' r='2.2'/%3E%3C/svg%3E");--tk-i-share:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V4M8 8l4-4 4 4M5 12v7h14v-7'/%3E%3C/svg%3E");--tk-i-shield:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.7-7 9-4-1.3-7-4.5-7-9V6z'/%3E%3C/svg%3E");--tk-i-sparkle:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 3l1.8 5.2L18 10l-5.2 1.8L11 17l-1.8-5.2L4 10l5.2-1.8zM18.5 15l.8 1.9 1.9.8-1.9.8-.8 1.9-.8-1.9-1.9-.8 1.9-.8z'/%3E%3C/svg%3E");--tk-i-star:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l2.5 5.2 5.7.8-4.1 4 1 5.6L12 17l-5.1 2.6 1-5.6-4.1-4 5.7-.8z'/%3E%3C/svg%3E");--tk-i-tag:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l8-8h8v8l-8 8z'/%3E%3Ccircle cx='15.5' cy='8.5' r='1.2'/%3E%3C/svg%3E");--tk-i-transfer:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4v16M7 20l-3-3M7 20l3-3M17 20V4M17 4l-3 3M17 4l3 3'/%3E%3C/svg%3E");--tk-i-trash:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13M10 11v5M14 11v5'/%3E%3C/svg%3E");--tk-i-upload:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M4 20h16'/%3E%3C/svg%3E");--tk-i-user:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-4 5-5 8-5s6.5 1 8 5'/%3E%3C/svg%3E");--tk-i-user-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='8' r='4'/%3E%3Cpath d='M2.5 20c1.3-4 4.5-5 7.5-5 1.6 0 3.2.3 4.6 1M16 18l2 2 4-4'/%3E%3C/svg%3E");--tk-i-users:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c1-3.5 3.8-4.5 6.5-4.5s5.5 1 6.5 4.5M16 4.6a3.5 3.5 0 010 6.8M18.5 15.8c1.6.6 2.6 1.9 3 4.2'/%3E%3C/svg%3E");--tk-i-video:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='13' height='12' rx='2'/%3E%3Cpath d='M16 10l5-3v10l-5-3'/%3E%3C/svg%3E");--tk-i-x:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");--tk-i-x-circle:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9 9l6 6M15 9l-6 6'/%3E%3C/svg%3E");--tk-i-zoom-in:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3C/svg%3E");--tk-i-zoom-out:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3Cpath d='M8 11h6'/%3E%3C/svg%3E");--tk-i-chevron-down-muted:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2351605A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")}
.ti{display:inline-block;flex:none;width:1.25em;height:1.25em;vertical-align:-.24em;background-color:currentColor;-webkit-mask:var(--ti) center/contain no-repeat;mask:var(--ti) center/contain no-repeat}
.ti--sm{width:1em;height:1em;vertical-align:-.14em}.ti--lg{width:1.5em;height:1.5em;vertical-align:-.36em}
.ti-alert{--ti:var(--tk-i-alert)}.ti-arrow-down{--ti:var(--tk-i-arrow-down)}.ti-arrow-left{--ti:var(--tk-i-arrow-left)}.ti-arrow-right{--ti:var(--tk-i-arrow-right)}.ti-arrow-up{--ti:var(--tk-i-arrow-up)}.ti-bell{--ti:var(--tk-i-bell)}.ti-book{--ti:var(--tk-i-book)}.ti-calendar{--ti:var(--tk-i-calendar)}.ti-calendar-check{--ti:var(--tk-i-calendar-check)}.ti-camera{--ti:var(--tk-i-camera)}.ti-check{--ti:var(--tk-i-check)}.ti-check-circle{--ti:var(--tk-i-check-circle)}.ti-check-square{--ti:var(--tk-i-check-square)}.ti-chevron-down{--ti:var(--tk-i-chevron-down)}.ti-chevron-left{--ti:var(--tk-i-chevron-left)}.ti-chevron-right{--ti:var(--tk-i-chevron-right)}.ti-chevron-up{--ti:var(--tk-i-chevron-up)}.ti-circle{--ti:var(--tk-i-circle)}.ti-clock{--ti:var(--tk-i-clock)}.ti-coffee{--ti:var(--tk-i-coffee)}.ti-copy{--ti:var(--tk-i-copy)}.ti-download{--ti:var(--tk-i-download)}.ti-edit{--ti:var(--tk-i-edit)}.ti-external{--ti:var(--tk-i-external)}.ti-eye{--ti:var(--tk-i-eye)}.ti-flag{--ti:var(--tk-i-flag)}.ti-folder{--ti:var(--tk-i-folder)}.ti-folder-move{--ti:var(--tk-i-folder-move)}.ti-grid{--ti:var(--tk-i-grid)}.ti-heart{--ti:var(--tk-i-heart)}.ti-help{--ti:var(--tk-i-help)}.ti-home{--ti:var(--tk-i-home)}.ti-image{--ti:var(--tk-i-image)}.ti-images{--ti:var(--tk-i-images)}.ti-info{--ti:var(--tk-i-info)}.ti-key{--ti:var(--tk-i-key)}.ti-leaf{--ti:var(--tk-i-leaf)}.ti-link{--ti:var(--tk-i-link)}.ti-lock{--ti:var(--tk-i-lock)}.ti-logout{--ti:var(--tk-i-logout)}.ti-maximize{--ti:var(--tk-i-maximize)}.ti-menu{--ti:var(--tk-i-menu)}.ti-message{--ti:var(--tk-i-message)}.ti-minimize{--ti:var(--tk-i-minimize)}.ti-minus{--ti:var(--tk-i-minus)}.ti-more{--ti:var(--tk-i-more)}.ti-phone{--ti:var(--tk-i-phone)}.ti-play{--ti:var(--tk-i-play)}.ti-plus{--ti:var(--tk-i-plus)}.ti-refresh{--ti:var(--tk-i-refresh)}.ti-search{--ti:var(--tk-i-search)}.ti-settings{--ti:var(--tk-i-settings)}.ti-share{--ti:var(--tk-i-share)}.ti-shield{--ti:var(--tk-i-shield)}.ti-sparkle{--ti:var(--tk-i-sparkle)}.ti-star{--ti:var(--tk-i-star)}.ti-tag{--ti:var(--tk-i-tag)}.ti-transfer{--ti:var(--tk-i-transfer)}.ti-trash{--ti:var(--tk-i-trash)}.ti-upload{--ti:var(--tk-i-upload)}.ti-user{--ti:var(--tk-i-user)}.ti-user-check{--ti:var(--tk-i-user-check)}.ti-users{--ti:var(--tk-i-users)}.ti-video{--ti:var(--tk-i-video)}.ti-x{--ti:var(--tk-i-x)}.ti-x-circle{--ti:var(--tk-i-x-circle)}.ti-zoom-in{--ti:var(--tk-i-zoom-in)}.ti-zoom-out{--ti:var(--tk-i-zoom-out)}
/*icons:end*/
/* People the LINE matching put this photo in, inside the 拾光 section (js/photo-ai-insight.js; Hank 2026-11-11) */
html body.app-ui.app-ui .photo-ai-people{display:flex;flex-wrap:wrap;align-items:center;gap:0 2px;margin:0 0 8px;font-size:15px;line-height:22px;color:var(--tk-ink);opacity:1}
html body.app-ui.app-ui .photo-ai-people-label{font-weight:700;color:var(--tk-ink)}
html body.app-ui.app-ui .photo-ai-person{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:0;padding:0 10px;border:0;border-radius:22px;background:var(--tk-tint-soft);box-shadow:none;color:var(--tk-tint-ink);font:inherit;font-size:15px;line-height:20px;font-weight:700;cursor:pointer}
html body.app-ui.app-ui .photo-ai-person:active,html body.app-ui.app-ui .photo-ai-person[aria-expanded="true"]{background:var(--tk-tint-press)}
html body.app-ui.app-ui .photo-ai-people-sep{padding:0 2px;color:var(--tk-faint)}
html body.app-ui.app-ui .photo-ai-people-source{margin-left:2px;font-size:13px;line-height:18px;color:var(--tk-muted)}
html body.app-ui.app-ui .photo-ai-person-menu{display:grid;gap:2px;margin:-2px 0 10px;padding:6px;border-radius:var(--tk-r-block);background:var(--tk-surface);box-shadow:var(--tk-shadow)}
html body.app-ui.app-ui .photo-ai-person-item{display:flex;align-items:center;width:100%;min-height:44px;margin:0;padding:0 14px;border:0;border-radius:14px;background:transparent;box-shadow:none;color:var(--tk-ink);font:inherit;font-size:15px;line-height:20px;font-weight:600;text-align:left}
html body.app-ui.app-ui .photo-ai-person-item:active{background:var(--tk-tint-soft)}
html body.app-ui.app-ui .photo-ai-person-item.is-danger{color:var(--tk-danger)}
html body.app-ui.app-ui .photo-ai-person-item.is-danger:active{background:var(--tk-danger-tint)}
html body.app-ui.app-ui .photo-ai-undo{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 8px;padding:2px 4px 2px 16px;border-radius:22px;background:var(--tk-ink);color:#fff;font-size:14px;line-height:20px}
html body.app-ui.app-ui .photo-ai-undo>span{flex:1 1 auto;min-width:0}
html body.app-ui.app-ui .photo-ai-insight .photo-ai-people-status{margin:0 0 8px}
html body.app-ui.app-ui .photo-ai-undo .photo-ai-undo-btn{flex:none;min-height:44px;padding:0 14px;color:var(--tk-honey);font-weight:700}
html body.app-ui.app-ui .tk-search-hint{margin:8px 6px 0;font-size:13px;line-height:18px;color:var(--tk-muted)}
html body.app-ui.app-ui .tk-search-hint a{margin:0 2px;color:var(--tk-primary);font-weight:700;text-decoration:underline;text-underline-offset:3px}
/* 2026-11-14 Hank「相簿名稱應放到頂部取代APP 名稱」: the home bar names the album being read, its age on a small line under it. */
html body.app-ui.app-ui .header.tk-top{flex-wrap:nowrap}html body.app-ui.app-ui .tk-top-row{min-width:0}/* a long album name is cut with …, it never widens the page */
html body.app-ui.app-ui h1.tk-top-album{display:flex;flex-direction:column;justify-content:center;margin:0;white-space:normal;letter-spacing:0}
html body.app-ui.app-ui .tk-top-album-name{display:block;overflow:hidden;font-size:22px;line-height:28px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
html body.app-ui.app-ui .tk-top-album-age{display:block;overflow:hidden;color:var(--tk-muted);font-size:13px;line-height:18px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}
html body.app-ui.app-ui .tk-top-album-age:empty{display:none}
@media(max-width:359px){html body.app-ui.app-ui .tk-top-album-name{font-size:19px;letter-spacing:-0.2px}}

/* Claude R3415 batch05-05: a long placeholder ends with … instead of being cut through a character; the home queue status may use two lines. */
html body.app-ui.app-ui input:placeholder-shown{text-overflow:ellipsis}
html body.app-ui.app-ui input::placeholder{text-overflow:ellipsis}
html body.app-ui.app-ui .tk-top-status{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:16px}
@media (max-width:359px){html body.app-ui.app-ui .tk-top-chips{flex-wrap:wrap;row-gap:2px}html body.app-ui.app-ui .tk-top-status{flex:1 0 100%;text-align:left;font-size:12px;line-height:16px}}
/* Claude R3415 batch05-06: headings and short labels wrap at a balanced phrase boundary instead of leaving one character of a word alone. */
html body.app-ui.app-ui :is(h1,h2,h3,.np-tab){text-wrap:balance}
html body.app-ui.app-ui .app-row-copy>strong{word-break:keep-all;overflow-wrap:anywhere}

/* Claude R3415 batch05-10: while selecting dates the day link stays hidden (as the selection mode intends) and the count keeps one line. */
html body.app-ui.app-ui.moment-select-mode .moment-album-link{display:none}
html body.app-ui.app-ui.moment-select-mode .moment-stats-right>span{white-space:nowrap}

/* Claude R3427 batch07-03: timeline header at large text: the album age is never cut (it may wrap: 「6歲10個月13天」) and the
   album name uses up to 2 lines before …. Scoped to the timeline ids; a short name at normal size stays one line as before. */
html body.app-ui.app-ui h1.tk-top-album>#currentChildName{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;overflow-wrap:anywhere}
html body.app-ui.app-ui h1.tk-top-album>#currentChildAge{overflow:visible;white-space:normal;text-overflow:clip}
html body.app-ui.app-ui h1.tk-top-album>#currentChildAge>span{display:inline-block}

/* Hank 2026-11-25: day card without the 「看這一天」 row — the date is a tappable chip, the counts sit at the top right, and a
   tap anywhere in the card opens the day (js/timeline.js). */
html body.app-ui.app-ui.timeline-page:not(.moment-select-mode) .moment-item .moment-header{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;column-gap:8px;row-gap:2px}
html body.app-ui.app-ui.timeline-page:not(.moment-select-mode) .moment-item .moment-header .moment-info{order:3;flex:1 0 100%;margin:0}
html body.app-ui.app-ui.timeline-page .moment-item .moment-stats{order:2;margin-left:auto;font-size:13px;line-height:18px;color:var(--tk-muted);white-space:nowrap}
html body.app-ui.app-ui.timeline-page .moment-item .moment-date-link{display:inline-flex;align-items:center;gap:2px;min-height:36px;margin:0 0 2px -2px;padding:6px 10px 6px 12px;border:0;border-radius:18px;background:var(--tk-tint);color:var(--tk-tint-ink);font:inherit;font-size:16px;line-height:22px;font-weight:700;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
html body.app-ui.app-ui.timeline-page .moment-item .moment-date-link>.ti{width:18px;height:18px;flex:none}
/* Claude next25: the 「更多」 tile of a day still being read opens that day (style.css makes overlays ignore taps) */
html body.app-ui.app-ui.timeline-page .moment-item .moment-overlay.moment-overlay--more{pointer-events:auto;cursor:pointer}
html body.app-ui.app-ui.timeline-page .moment-item .moment-date-link:active{background:var(--tk-tint-press)}
html body.app-ui.app-ui.timeline-page .moment-item .moment-date-link:focus-visible{outline:2px solid var(--tk-tint-ink);outline-offset:2px}
html body.app-ui.app-ui.timeline-page:not(.select-mode):not(.moment-select-mode) .moment-item.moment-opens-day{cursor:pointer}
html body.app-ui.app-ui.timeline-page:is(.select-mode,.moment-select-mode) .moment-item .moment-date-link{min-height:0;padding:0;margin:0;background:none;color:inherit;pointer-events:none}
html body.app-ui.app-ui.timeline-page:is(.select-mode,.moment-select-mode) .moment-item .moment-date-link>.ti{display:none}
/* QA R3430: the batch confirm keeps its content 20 px from the edge (the generic dialog rule above sets padding:0). */
/* Claude next25: (0,6,3) so it beats the generic dialog rule above, (0,5,2), whose padding:0 kept text 1px from the edge */
html body.app-ui.app-ui dialog.queue-confirm.queue-confirm.queue-confirm.queue-confirm{padding:20px}

/* Claude next29: the action on a message (復原), a full-size touch target beside the text */
.tk-toast-action{flex:none;align-self:center;margin:-8px -8px -8px auto;padding:8px 12px;min-height:40px;border:0;border-radius:8px;background:transparent;color:#BFE3CF;font:inherit;font-weight:700;cursor:pointer}.tk-toast-action:focus-visible{outline:2px solid #BFE3CF;outline-offset:1px}
