/* AA先生 © 2026 AllenXiu. All rights reserved. 保留所有權利，未經同意請勿重製或改作（見 /COPYRIGHT.txt） */
@font-face {
font-family: 'Twemoji';
src: url('../fonts/twemoji.woff2') format('woff2');
font-display: swap;
unicode-range: U+00A9, U+00AE, U+203C, U+2049, U+2122, U+2139, U+2194-21AA, U+231A-23FF, U+24C2, U+25AA-25FE,
U+2600-27BF, U+2934-2935, U+2B05-2B55, U+3030, U+303D, U+3297, U+3299, U+FE0F, U+200D, U+20E3,
U+1F000-1FAFF, U+E0020-E007F;
}
:root {
--bg: #f6efe2;
--card: #fffaf0;
--soft: #ecdfc8;
--text: #2c2320;
--muted: #8a7a6c;
--line: #e3d5bd;
--brand: #c8372d;
--brand-2: #e2603a;
--brand-ink: #b02a22;
--on-brand: #fff8ec;
--gold: #b8922e;
--good: #3f7a57;
--good-bg: #dfeadb;
--warn: #b02a22;
--warn-bg: #f6dcd4;
--notice: #f6e7b8;
--shadow: 0 4px 16px rgb(90 50 30 / 0.1);
--spring: cubic-bezier(0.34, 1.56, 0.64, 1);
--smooth: cubic-bezier(0.22, 1, 0.36, 1);
--serif: 'Twemoji', 'Hiragino Mincho ProN', 'Songti TC', 'Noto Serif TC', 'Yu Mincho', serif;
--pattern:
radial-gradient(circle at 50% 100%, transparent 13px, rgb(255 255 255 / 0.1) 14px, transparent 15px) 0 0 / 32px 16px,
radial-gradient(circle at 50% 100%, transparent 13px, rgb(255 255 255 / 0.1) 14px, transparent 15px) 16px 8px / 32px 16px;
color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #17120f;
--card: #231b17;
--soft: #33271f;
--text: #f3e9da;
--muted: #a8978a;
--line: #3a2c24;
--brand: #d9483b;
--brand-2: #e8743f;
--brand-ink: #f08a6c;
--on-brand: #fff3e6;
--gold: #d6b25a;
--good: #8fcfa2;
--good-bg: #1e3327;
--warn: #f09a8a;
--warn-bg: #40201b;
--notice: #3a3018;
--shadow: 0 4px 16px rgb(0 0 0 / 0.35);
}
}
:root[data-theme='euro'] {
--bg: #f7f2e8;
--card: #fffdf8;
--soft: #e4ebf2;
--text: #1f2a37;
--muted: #6f7b88;
--line: #dfe3e2;
--brand: #1f4e8c;
--brand-2: #2f79b8;
--brand-ink: #1b4479;
--on-brand: #fffaf0;
--gold: #e0a93b;
--good: #4a7c3a;
--good-bg: #e3edd9;
--warn: #c0502f;
--warn-bg: #f8e1d6;
--notice: #fbeab8;
--shadow: 0 4px 16px rgb(30 60 100 / 0.1);
--serif: 'Twemoji', 'Didot', 'Bodoni 72', Georgia, 'Songti TC', 'Noto Serif TC', serif;
--pattern:
radial-gradient(circle, rgb(255 255 255 / 0.16) 0 2.5px, transparent 3.5px) 0 0 / 28px 28px,
linear-gradient(45deg, transparent 47%, rgb(255 255 255 / 0.1) 48% 52%, transparent 53%) 14px 14px / 28px 28px,
linear-gradient(-45deg, transparent 47%, rgb(255 255 255 / 0.1) 48% 52%, transparent 53%) 14px 14px / 28px 28px;
}
@media (prefers-color-scheme: dark) {
:root[data-theme='euro'] {
--bg: #101722;
--card: #19222f;
--soft: #243245;
--text: #eef2f6;
--muted: #98a6b5;
--line: #2a384b;
--brand: #3f86d0;
--brand-2: #5aa0df;
--brand-ink: #8fc0f0;
--on-brand: #fffaf0;
--gold: #f0c05a;
--good: #a6d38f;
--good-bg: #20331c;
--warn: #f0a080;
--warn-bg: #43241a;
--notice: #3b3319;
--shadow: 0 4px 16px rgb(0 0 0 / 0.35);
}
}
:root[data-theme='home'] {
--bg: #f4efe6;
--card: #fbf8f2;
--soft: #e6e4d6;
--text: #3b3a32;
--muted: #8a8778;
--line: #e3dfd2;
--brand: #6b8169;
--brand-2: #93a98f;
--brand-ink: #55694f;
--on-brand: #fbf8f2;
--gold: #c9b88a;
--good: #5b8a5a;
--good-bg: #e2ecd9;
--warn: #b8604a;
--warn-bg: #f5e0d8;
--notice: #f3ead0;
--shadow: 0 4px 16px rgb(70 80 60 / 0.1);
--serif: 'Twemoji', ui-rounded, 'SF Pro Rounded', 'Hiragino Maru Gothic ProN', 'Yuanti TC', 'PingFang TC', sans-serif;
--pattern: repeating-linear-gradient(135deg, rgb(255 255 255 / 0.08) 0 2px, transparent 2px 12px);
}
@media (prefers-color-scheme: dark) {
:root[data-theme='home'] {
--bg: #171915;
--card: #21241e;
--soft: #2e3329;
--text: #eeece2;
--muted: #a3a595;
--line: #343a2f;
--brand: #7f987c;
--brand-2: #9db59a;
--brand-ink: #b5cbb1;
--on-brand: #141a13;
--gold: #c9b88a;
--good: #a3cf92;
--good-bg: #22331c;
--warn: #f0a08c;
--warn-bg: #43241c;
--notice: #33301c;
--shadow: 0 4px 16px rgb(0 0 0 / 0.35);
}
}
:root[data-theme='nordic'] {
--bg: #f2f6f7;
--card: #ffffff;
--soft: #dfeaee;
--text: #1d2b33;
--muted: #6b7f89;
--line: #dbe5e8;
--brand: #2a6f8f;
--brand-2: #4fa3a5;
--brand-ink: #215d79;
--on-brand: #f7fdff;
--gold: #b9ccd3;
--good: #3d8168;
--good-bg: #dcefe6;
--warn: #b9553f;
--warn-bg: #f6e0da;
--notice: #e8f0dc;
--shadow: 0 4px 16px rgb(30 70 90 / 0.1);
--serif: 'Twemoji', 'Avenir Next', 'Helvetica Neue', 'PingFang TC', 'Noto Sans TC', sans-serif;
--pattern:
radial-gradient(circle, rgb(255 255 255 / 0.22) 0 1.5px, transparent 2.5px) 0 0 / 34px 34px,
radial-gradient(circle, rgb(255 255 255 / 0.14) 0 2.5px, transparent 3.5px) 17px 17px / 34px 34px;
}
@media (prefers-color-scheme: dark) {
:root[data-theme='nordic'] {
--bg: #0d1519;
--card: #162127;
--soft: #213038;
--text: #e9f2f5;
--muted: #8fa5ae;
--line: #263740;
--brand: #3f93b5;
--brand-2: #5fc0b8;
--brand-ink: #8fd3e6;
--on-brand: #f7fdff;
--gold: #9fb6c0;
--good: #86d3b0;
--good-bg: #17332a;
--warn: #f0a08c;
--warn-bg: #41231c;
--notice: #2b3520;
--shadow: 0 4px 16px rgb(0 0 0 / 0.35);
}
}
:root[data-theme='island'] {
--bg: #f3faf7;
--card: #ffffff;
--soft: #d9f0ea;
--text: #173a3a;
--muted: #5f8583;
--line: #d5ebe5;
--brand: #0e8a8a;
--brand-2: #2bb8a6;
--brand-ink: #0b7272;
--on-brand: #f5fffd;
--gold: #ff9f6b;
--good: #2f8f5b;
--good-bg: #dcf3e3;
--warn: #d9534a;
--warn-bg: #fde2df;
--notice: #fff0c9;
--shadow: 0 4px 16px rgb(10 100 100 / 0.1);
--serif: 'Twemoji', ui-rounded, 'SF Pro Rounded', 'Yuanti TC', 'PingFang TC', sans-serif;
--pattern:
radial-gradient(circle at 50% 0, transparent 15px, rgb(255 255 255 / 0.12) 16px, transparent 17px) 0 0 / 36px 18px,
radial-gradient(circle at 50% 0, transparent 15px, rgb(255 255 255 / 0.12) 16px, transparent 17px) 18px 9px / 36px 18px;
}
@media (prefers-color-scheme: dark) {
:root[data-theme='island'] {
--bg: #0b1a1b;
--card: #122628;
--soft: #1b3638;
--text: #e6f6f3;
--muted: #88b0ac;
--line: #1f3d3f;
--brand: #1aa7a0;
--brand-2: #45cdb6;
--brand-ink: #7fe0d2;
--on-brand: #f5fffd;
--gold: #ffb38a;
--good: #7fdba3;
--good-bg: #163626;
--warn: #ff9d94;
--warn-bg: #45211e;
--notice: #3a3218;
--shadow: 0 4px 16px rgb(0 0 0 / 0.35);
}
}
:root[data-theme='city'] {
--bg: #f4f4f7;
--card: #ffffff;
--soft: #e6e6f0;
--text: #1b1b2a;
--muted: #73738a;
--line: #e0e0ea;
--brand: #4b3fd1;
--brand-2: #c247c9;
--brand-ink: #4035b8;
--on-brand: #ffffff;
--gold: #ffd23f;
--good: #1e8f6a;
--good-bg: #dcf2ea;
--warn: #d43d6a;
--warn-bg: #fde0e9;
--notice: #fff3c4;
--shadow: 0 4px 16px rgb(60 50 160 / 0.1);
--serif: 'Twemoji', 'Futura', 'Avenir Next Condensed', 'Avenir Next', 'PingFang TC', 'Noto Sans TC', sans-serif;
--pattern:
linear-gradient(rgb(255 255 255 / 0.09) 1px, transparent 1px) 0 0 / 22px 22px,
linear-gradient(90deg, rgb(255 255 255 / 0.09) 1px, transparent 1px) 0 0 / 22px 22px;
}
@media (prefers-color-scheme: dark) {
:root[data-theme='city'] {
--bg: #0e0e17;
--card: #181826;
--soft: #24243a;
--text: #f0f0fa;
--muted: #9a9ab5;
--line: #2a2a42;
--brand: #6f62f0;
--brand-2: #e05ce0;
--brand-ink: #a9a1ff;
--on-brand: #ffffff;
--gold: #ffe066;
--good: #6fe0b8;
--good-bg: #14332a;
--warn: #ff86a8;
--warn-bg: #45192a;
--notice: #38321a;
--shadow: 0 4px 16px rgb(0 0 0 / 0.4);
}
}
:root[data-theme='sakura'] {
--bg: #fbf3f1;
--card: #fffaf8;
--soft: #f3dfdc;
--text: #3a2a2c;
--muted: #876b70;
--line: #edd9d6;
--brand: #b64a6e;
--brand-2: #d4728e;
--brand-ink: #a23c5f;
--on-brand: #fffafa;
--gold: #c9a36a;
--good: #3f7a57;
--good-bg: #dfeadb;
--warn: #b3402f;
--warn-bg: #f8ddd6;
--notice: #f6e7c8;
--shadow: 0 4px 16px rgb(120 50 70 / 0.1);
--pattern:
radial-gradient(ellipse 5px 3px at 50% 50%, rgb(255 255 255 / 0.2) 0 99%, transparent) 0 0 / 30px 26px,
radial-gradient(ellipse 3px 5px at 50% 50%, rgb(255 255 255 / 0.13) 0 99%, transparent) 15px 13px / 30px 26px;
}
@media (prefers-color-scheme: dark) {
:root[data-theme='sakura'] {
--bg: #1a1214;
--card: #261a1d;
--soft: #36262a;
--text: #f5e9ea;
--muted: #b29a9e;
--line: #3d2b30;
--brand: #b84d70;
--brand-2: #d0708d;
--brand-ink: #f4a7bb;
--on-brand: #fff5f7;
--gold: #d9b784;
--good: #8fcfa2;
--good-bg: #1e3327;
--warn: #f09a8a;
--warn-bg: #40201b;
--notice: #3a3018;
--shadow: 0 4px 16px rgb(0 0 0 / 0.35);
}
}
:root[data-theme='forest'] {
--bg: #f1f3ea;
--card: #fbfcf6;
--soft: #dfe5d3;
--text: #1f2a20;
--muted: #667261;
--line: #dbe1cf;
--brand: #2f5d3a;
--brand-2: #5c8a4a;
--brand-ink: #2a5234;
--on-brand: #f7fbf0;
--gold: #b08d4a;
--good: #2f7a52;
--good-bg: #d9ecd9;
--warn: #b0492f;
--warn-bg: #f5dfd5;
--notice: #f0ebc8;
--shadow: 0 4px 16px rgb(30 60 35 / 0.1);
--serif: 'Twemoji', 'Avenir Next', 'Helvetica Neue', 'PingFang TC', 'Noto Sans TC', sans-serif;
--pattern:
linear-gradient(135deg, transparent 46%, rgb(255 255 255 / 0.1) 47% 53%, transparent 54%) 0 0 / 26px 26px,
linear-gradient(225deg, transparent 46%, rgb(255 255 255 / 0.1) 47% 53%, transparent 54%) 0 0 / 26px 26px;
}
@media (prefers-color-scheme: dark) {
:root[data-theme='forest'] {
--bg: #10150f;
--card: #19211a;
--soft: #263126;
--text: #eaf1e6;
--muted: #98a692;
--line: #2b382b;
--brand: #3f7a4c;
--brand-2: #5f9150;
--brand-ink: #a5d39a;
--on-brand: #f7fbf0;
--gold: #c9a866;
--good: #86d3a0;
--good-bg: #17332a;
--warn: #f0a08c;
--warn-bg: #41231c;
--notice: #2f3320;
--shadow: 0 4px 16px rgb(0 0 0 / 0.35);
}
}
:root[data-theme='desert'] {
--bg: #f5ead8;
--card: #fff9ee;
--soft: #ecd9bb;
--text: #33241b;
--muted: #7c6654;
--line: #e6d3b6;
--brand: #a8542a;
--brand-2: #c47f2c;
--brand-ink: #93461f;
--on-brand: #fff8ec;
--gold: #c79a3a;
--good: #4f7a45;
--good-bg: #e2ebd5;
--warn: #b0352b;
--warn-bg: #f6dcd4;
--notice: #f6e3b0;
--shadow: 0 4px 16px rgb(110 70 30 / 0.12);
--pattern:
radial-gradient(ellipse 60px 14px at 50% 100%, transparent 96%, rgb(255 255 255 / 0.12) 97% 100%, transparent) 0 0 / 80px 20px,
radial-gradient(ellipse 60px 14px at 50% 100%, transparent 96%, rgb(255 255 255 / 0.08) 97% 100%, transparent) 40px 10px / 80px 20px;
}
@media (prefers-color-scheme: dark) {
:root[data-theme='desert'] {
--bg: #16131c;
--card: #211c29;
--soft: #302838;
--text: #f3e9df;
--muted: #a99aa6;
--line: #382f42;
--brand: #b85c34;
--brand-2: #bd7a30;
--brand-ink: #f0a878;
--on-brand: #fff6ea;
--gold: #e0b860;
--good: #9ccf8f;
--good-bg: #1f3324;
--warn: #f29a8a;
--warn-bg: #40201b;
--notice: #3a3018;
--shadow: 0 4px 16px rgb(0 0 0 / 0.4);
}
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
:root.theme-fade body { transition: background 0.2s ease, color 0.2s ease; }
html, body { margin: 0; }
html { touch-action: pan-x pan-y; -webkit-text-size-adjust: 100%; }
body {
background: var(--bg);
color: var(--text);
font: 16px/1.6 'Twemoji', 'Hiragino Sans', 'PingFang TC', 'Noto Sans TC', -apple-system, 'Segoe UI', sans-serif;
-webkit-text-size-adjust: 100%;
}
#app { max-width: 560px; margin: 0 auto; min-height: 100dvh; }
main { padding: 16px 16px calc(104px + env(safe-area-inset-bottom)); }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: 0.08em; margin: 0; }
h1 { font-size: 22px; }
h2 { font-size: 20px; }
h3 {
font-family: var(--serif); font-size: 14px; color: var(--muted); font-weight: 700; letter-spacing: 0.1em;
margin: 28px 2px 10px; display: flex; align-items: center; gap: 8px;
}
h3::before { content: ''; width: 4px; height: 14px; background: var(--brand); border-radius: 1px; flex: none; }
a { color: var(--brand-ink); }
code { font-family: ui-monospace, Menlo, monospace; }
button, input, select, textarea { font-family: inherit; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.good { color: var(--good); }
.warn { color: var(--warn); }
.grow { flex: 1; min-width: 0; }
.right { text-align: right; white-space: nowrap; }
.title { font-weight: 700; }
.loading { color: var(--muted); text-align: center; padding: 48px 0; animation: breathe 1.2s ease-in-out infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
@keyframes breathe { 50% { opacity: 0.45; } }
@keyframes wiggle { 0%, 100% { transform: rotate(-12deg) scale(1.1); } 50% { transform: rotate(12deg) scale(1.1); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheet-down { to { transform: translateY(100%); } }
@keyframes fab-in { from { opacity: 0; transform: translateY(24px) scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes stamp { from { opacity: 0; transform: scale(1.8) rotate(-14deg); } to { opacity: 1; transform: rotate(-6deg); } }
@keyframes fall {
0%   { transform: translate3d(0, -10vh, 0) rotate(0deg); }
25%  { transform: translate3d(calc(var(--sway) * 1), 22vh, 0) rotate(130deg); }
50%  { transform: translate3d(calc(var(--sway) * -0.6), 54vh, 0) rotate(250deg); }
75%  { transform: translate3d(calc(var(--sway) * 1.2), 86vh, 0) rotate(400deg); }
100% { transform: translate3d(calc(var(--sway) * 0.2), 118vh, 0) rotate(540deg); }
}
.page-in { animation: rise 0.38s var(--smooth) backwards; }
.page-in.still, .seg.tabbar.still { animation: none; }
.pop { animation: pop 0.42s var(--spring) both; animation-delay: calc(var(--d, 0) * 45ms); }
.leaves { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 4; }
.leaves i {
position: absolute; top: 0; font-style: normal; opacity: 0.5; will-change: transform;
animation: fall linear infinite;
}
.leaves i:nth-child(1) { left: 6%;  font-size: 16px; --sway: 30px; animation-duration: 17s; animation-delay: -2s; }
.leaves i:nth-child(2) { left: 22%; font-size: 12px; --sway: 46px; animation-duration: 23s; animation-delay: -11s; }
.leaves i:nth-child(3) { left: 41%; font-size: 18px; --sway: 24px; animation-duration: 19s; animation-delay: -7s; }
.leaves i:nth-child(4) { left: 58%; font-size: 13px; --sway: 52px; animation-duration: 26s; animation-delay: -18s; }
.leaves i:nth-child(5) { left: 73%; font-size: 17px; --sway: 34px; animation-duration: 21s; animation-delay: -4s; }
.leaves i:nth-child(6) { left: 88%; font-size: 12px; --sway: 40px; animation-duration: 28s; animation-delay: -14s; }
.leaves i:nth-child(7) { left: 33%; font-size: 14px; --sway: 58px; animation-duration: 31s; animation-delay: -24s; }
.bar {
position: sticky; top: 0; z-index: 5;
display: flex; align-items: center; gap: 10px;
padding: calc(14px + env(safe-area-inset-top)) 16px 12px;
background: color-mix(in srgb, var(--bg) 88%, transparent);
backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.bar h1 { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.back {
width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--card);
border: 1px solid var(--line); display: grid; place-items: center; font-size: 26px; line-height: 1;
padding-bottom: 4px; text-decoration: none; transition: transform 0.25s var(--spring);
}
.back:active { transform: scale(0.85); }
.trip-emoji { font-size: 24px; }
.chip {
font-family: var(--serif); font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
padding: 2px 7px; border-radius: 4px; border: 1.5px solid var(--brand); color: var(--brand-ink);
white-space: nowrap; transform: rotate(-3deg);
}
.seg {
position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr);
background: var(--soft); border-radius: 12px; padding: 4px;
}
.seg.tabs { margin: 0 16px; }
.seg .thumb {
position: absolute; top: 4px; bottom: 4px; left: 4px;
width: calc((100% - 8px) / var(--n)); border-radius: 9px;
background: var(--brand); box-shadow: 0 2px 8px color-mix(in srgb, var(--brand) 35%, transparent);
transform: translateX(calc(var(--i) * 100%));
transition: transform 0.45s var(--spring);
}
.seg button {
position: relative; border: 0; background: none; padding: 9px 4px; border-radius: 9px;
color: var(--muted); font-family: var(--serif); font-weight: 700; font-size: 15px; letter-spacing: 0.1em;
transition: color 0.25s; box-shadow: none;
}
.seg button.on { color: var(--on-brand); }
.list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.item {
display: flex; align-items: center; gap: 12px; padding: 12px 14px;
background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
cursor: pointer; transition: transform 0.25s var(--spring);
}
.item:active { transform: scale(0.97); }
.item.static { cursor: default; }
.item.static:active { transform: none; }
.item .title { overflow: hidden; text-overflow: ellipsis; }
.item.menu-item { align-items: flex-start; }
.note { margin-top: 4px; }
.chev { color: var(--brand); font-size: 22px; line-height: 1; }
.date { margin: 26px 2px 10px; gap: 10px; letter-spacing: 0; }
.date::before { display: none; }
.date .day { font-size: 30px; line-height: 1; color: var(--brand); font-weight: 700; }
.date .md { font-size: 11px; line-height: 1.35; color: var(--muted); letter-spacing: 0.08em; }
.date .rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
input.list-search { margin-top: 12px; }
.list-none { text-align: center; margin: 28px 0; }
.day-head { display: flex; align-items: baseline; gap: 8px; margin: 22px 2px 8px; }
.day-head b { font-family: var(--serif); font-size: 17px; }
.day-head span { margin-left: auto; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.list.day-card { gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.day-card .item { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 11px 14px; }
.day-card .item + .item { border-top: 1px solid var(--line); }
.day-card .item:active { transform: none; background: var(--soft); }
.day-card .right .title { font-variant-numeric: tabular-nums; }
.row-sub { display: flex; min-width: 0; white-space: nowrap; overflow: hidden; }
.row-sub .row-payer { overflow: hidden; text-overflow: ellipsis; min-width: 1.5em; }
.row-sub span + span { flex: none; white-space: pre; }
.one-line, .move-row .title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.todo-row { border-color: var(--brand); }
.todo-amount { font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.net-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 14px 10px; }
.net-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin: 0 calc(var(--vw, 74px) + 8px) 4px 80px; }
button.net-row {
display: grid; grid-template-columns: 72px minmax(0, 1fr) var(--vw, 74px); align-items: center; gap: 8px; width: 100%;
padding: 8px 0; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
color: var(--text); font: inherit; font-size: 14px; text-align: left; letter-spacing: 0;
}
.net-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.net-track { position: relative; height: 18px; }
.net-track::before { content: ''; position: absolute; left: 50%; top: -5px; bottom: -5px; width: 1px; background: var(--muted); opacity: 0.45; }
.net-track i { position: absolute; top: 2px; height: 14px; transition: width 0.5s var(--smooth); }
.net-track i.good { left: calc(50% + 1px); background: var(--good); border-radius: 0 4px 4px 0; }
.net-track i.warn { right: calc(50% + 1px); background: var(--warn); border-radius: 4px 0 0 4px; }
.net-value { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); }
.net-value.good { color: var(--good); }
.net-value.warn { color: var(--warn); }
.net-detail { padding: 0 0 8px; line-height: 1.6; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 14px -16px 0; padding: 2px 16px 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips.wrap { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
.cat {
display: inline-flex; align-items: center; gap: 6px; flex: none;
padding: 7px 12px; border-radius: 9px; border: 1.5px solid var(--line); background: var(--card);
color: var(--text); font-size: 14px; font-weight: 700; box-shadow: none;
transition: transform 0.25s var(--spring), background 0.2s, color 0.2s, border-color 0.2s;
}
.cat small { font-weight: 400; font-size: 12px; color: var(--muted); transition: color 0.2s; }
.cat.on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.cat.on small { color: var(--on-brand); opacity: 0.85; }
.cat.add { border-style: dashed; border-color: var(--brand); color: var(--brand-ink); background: none; }
.cat.icon { font-size: 22px; padding: 6px 10px; }
.cat.icon.on { background: var(--soft); border-color: var(--brand); transform: scale(1.1); }
.cat.static { cursor: default; }
.cat .cat-name { display: inline-flex; align-items: center; gap: 6px; padding: 0; background: none; box-shadow: none; color: inherit; font: inherit; }
.cat .x { padding: 0 2px 0 4px; background: none; color: var(--warn); font-size: 18px; line-height: 1; }
.new-cat { margin-top: 10px; align-items: center; }
input.emoji-input { width: 56px; flex: none; text-align: center; padding-left: 4px; padding-right: 4px; font-size: 20px; }
.bubble {
width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--soft);
display: grid; place-items: center; font-size: 22px;
}
.bubble.big { width: 52px; height: 52px; font-size: 28px; }
.avatar {
width: 40px; height: 40px; flex: none; border-radius: 50%;
display: grid; place-items: center; font-family: var(--serif); font-weight: 700; color: #2c2320;
border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--line);
}
.avatar.small { width: 30px; height: 30px; font-size: 13px; }
.avatar.large { width: 72px; height: 72px; font-size: 30px; border-width: 3px; }
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pill {
font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 8px;
background: var(--soft); color: var(--muted); white-space: nowrap;
}
.pill.good { background: var(--good-bg); color: var(--good); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.hero {
position: relative; text-align: center; padding: 26px 16px; border-radius: 16px; color: var(--on-brand);
background:
var(--pattern),
linear-gradient(160deg, var(--brand-2), var(--brand));
box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 28%, transparent);
min-height: 154px; display: flex; flex-direction: column; justify-content: center;
}
.hero-mood { font-size: 20px; letter-spacing: 0; margin-right: 4px; vertical-align: -2px; }
.hero::after {
content: ''; position: absolute; inset: 6px; border-radius: 11px; pointer-events: none;
border: 1px solid color-mix(in srgb, var(--gold) 80%, white);
opacity: 0.75;
}
.hero-label { font-family: var(--serif); font-size: 14px; font-weight: 700; letter-spacing: 0.2em; opacity: 0.95; }
.hero-amount {
font-family: var(--serif); font-size: 34px; font-weight: 700; letter-spacing: 0.02em;
font-variant-numeric: tabular-nums; margin: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-sub { font-size: 13px; opacity: 0.92; }
.hero.good {
background:
var(--pattern),
linear-gradient(160deg, #5c9a72, #2f6447);
box-shadow: 0 10px 24px rgb(47 100 71 / 0.28);
}
.hero.even { background: var(--card); color: var(--text); box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero .big-emoji { font-size: 44px; margin-bottom: 2px; }
.empty { text-align: center; padding: 44px 0 16px; }
.empty p { margin: 4px 0; font-family: var(--serif); font-weight: 700; letter-spacing: 0.08em; }
.empty p.muted { font-family: inherit; font-weight: 400; letter-spacing: 0; }
.empty button { margin-top: 14px; }
.big-emoji { font-size: 60px; line-height: 1.2; display: inline-block; animation: float 3s ease-in-out infinite; }
.big-emoji.still { animation: pop 0.6s var(--spring) both; }
.pair { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.arrow { color: var(--brand); font-weight: 700; }
button.compact { padding: 8px 14px; font-size: 14px; }
button.wide { display: block; width: 100%; margin-top: 8px; }
.stamp-card {
display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px;
background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.stamp-card p { margin: 0; font-weight: 700; }
.stamp {
flex: none; font-family: var(--serif); font-size: 18px; font-weight: 700; letter-spacing: 0.1em;
color: var(--brand); border: 2.5px solid var(--brand); border-radius: 8px; padding: 4px 8px;
transform: rotate(-6deg); animation: stamp 0.5s var(--spring) both 0.2s;
}
.card-form {
background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
padding: 2px 14px 14px;
}
.card-form input, .card-form select { background-color: var(--bg); }
.card-form .row { margin-top: 4px; }
.card-form .primary { padding: 12px; }
.leaves[hidden] { display: none; }
select.wide-select { width: 100%; }
button, input, select { font: inherit; color: inherit; }
button {
border: 0; background: var(--card); border-radius: 10px; padding: 11px 18px;
cursor: pointer; white-space: nowrap; font-weight: 700;
transition: transform 0.25s var(--spring), opacity 0.2s;
}
button:active { transform: scale(0.93); }
button:disabled { opacity: 0.55; cursor: default; }
button.primary {
background: linear-gradient(160deg, var(--brand-2), var(--brand)); color: var(--on-brand);
box-shadow: 0 5px 12px color-mix(in srgb, var(--brand) 30%, transparent); letter-spacing: 0.08em;
}
button.ghost { background: none; color: var(--brand-ink); padding: 8px 10px; }
button.danger { color: var(--warn); background: var(--warn-bg); }
input, select {
width: 100%; min-width: 0; padding: 11px 14px; border-radius: 10px;
border: 1.5px solid var(--line); background: var(--card); outline: none;
transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
textarea {
display: block; width: 100%; min-width: 0; box-sizing: border-box; padding: 11px 14px; border-radius: 10px;
border: 1.5px solid var(--line); background: var(--card); color: var(--text); outline: none;
font: inherit; font-size: 16px; line-height: 1.6; resize: vertical;
transition: border-color 0.2s, box-shadow 0.2s;
}
textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
textarea::placeholder { color: var(--muted); opacity: 0.8; }
select {
width: auto; appearance: none; -webkit-appearance: none; cursor: pointer;
font-family: var(--serif); font-weight: 700; letter-spacing: 0.08em;
padding-right: 36px;
background-image:
linear-gradient(45deg, transparent 50%, var(--brand) 50%),
linear-gradient(135deg, var(--brand) 50%, transparent 50%);
background-repeat: no-repeat; background-size: 6px 6px;
background-position: right 18px center, right 12px center;
}
input.narrow { width: 104px; flex: none; text-align: right; }
input.narrow.grow { flex: 1; width: auto; }
input[type='checkbox'] {
appearance: none; -webkit-appearance: none; width: 26px; height: 26px; flex: none; padding: 0;
border-radius: 7px; border: 2px solid var(--brand); background: var(--card);
display: grid; place-content: center; cursor: pointer; transition: background 0.2s, transform 0.3s var(--spring);
}
input[type='checkbox']::after {
content: '✓'; color: var(--on-brand); font-size: 15px; font-weight: 900;
transform: scale(0); transition: transform 0.3s var(--spring);
}
input[type='checkbox']:checked { background: var(--brand); transform: scale(1.06); }
input[type='checkbox']:checked::after { transform: scale(1); }
label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 14px; }
label input, label select { display: block; margin-top: 5px; font-size: 16px; font-weight: 400; color: var(--text); }
label select { width: 100%; font-weight: 700; }
.date-field {
position: relative; display: block; margin-top: 5px; padding: 11px 14px; white-space: nowrap; overflow: hidden;
border: 1.5px solid var(--line); border-radius: 10px; background: var(--card);
font-family: var(--serif); font-size: 16px; font-weight: 700; letter-spacing: 0.06em; color: var(--text);
transition: border-color 0.2s, box-shadow 0.2s;
}
.date-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.date-field input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
label small { display: block; margin-top: 4px; font-weight: 400; }
.row { display: flex; gap: 10px; align-items: flex-end; }
.field-title { font-size: 13px; font-weight: 700; color: var(--muted); margin: 18px 0 6px; }
.split-list { margin-top: 10px; animation: rise 0.3s var(--smooth) both; }
.split-row {
display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 0;
font-size: 16px; font-weight: 400; color: var(--text); border-bottom: 1px dashed var(--line);
}
.split-row input { margin-top: 0; }
.split-row.check { cursor: pointer; }
.split-row .muted { font-size: 13px; }
.notice { background: var(--notice); border-left: 4px solid var(--gold); border-radius: 8px; padding: 10px 14px; font-size: 14px; margin: 0 0 12px; }
.error { color: var(--warn); background: var(--warn-bg); border-radius: 8px; padding: 8px 12px; font-size: 14px; margin: 12px 0 0; }
.code {
background: var(--card); border: 1.5px dashed var(--brand); border-radius: 10px;
padding: 9px 14px; letter-spacing: 1px; overflow: hidden; text-overflow: ellipsis;
}
.scan {
display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px;
padding: 12px; border-radius: 12px; border: 1.5px dashed var(--brand); background: var(--soft);
color: var(--brand-ink); font-size: 15px; font-weight: 700; cursor: pointer;
transition: transform 0.25s var(--spring);
}
.scan:active { transform: scale(0.97); }
.scan.big { margin-top: 0; padding: 18px; font-size: 17px; border-radius: 14px; }
.scan-emoji { font-size: 22px; display: inline-block; }
.scan input { display: none; }
.scan.busy { cursor: default; animation: breathe 1.2s ease-in-out infinite; }
.scan.busy .scan-emoji { animation: wiggle 0.7s ease-in-out infinite; }
.form-sect { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 14px 14px; margin-top: 12px; }
.form-sect-title { display: flex; align-items: center; gap: 7px; font-family: var(--serif); font-weight: 700; font-size: 16px; }
.form-sect-title i {
width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; font-style: normal;
background: var(--brand); color: var(--on-brand); font: 700 12px/1 -apple-system, BlinkMacSystemFont, sans-serif;
}
.form-sect-note { margin-left: auto; font-family: var(--sans, inherit); font-weight: 400; letter-spacing: 0; }
.form-sect input:not([type='checkbox']):not([type='file']), .form-sect select, .form-sect textarea, .form-sect .date-field { background: var(--bg); }
.form-sect .photo-grid { margin-top: 10px; }
button.split-toggle {
display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 12px; padding: 11px 12px;
background: var(--bg); color: var(--text); border: 1.5px solid var(--line); border-radius: 12px; box-shadow: none;
font: inherit; font-size: 14px; text-align: left; letter-spacing: 0;
}
.split-toggle b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.split-toggle .grow { color: var(--muted); font-weight: 700; font-size: 13px; flex: none; margin-right: auto; }
.split-chev { color: var(--muted); font-size: 18px; line-height: 1; transition: transform 0.2s var(--smooth); }
.split-toggle.open .split-chev { transform: rotate(90deg); }
.split-toggle + .seg { margin-top: 10px; }
.form-sect > label:first-of-type, .form-sect > .row:first-of-type > label { margin-top: 10px; }
.fab {
position: fixed; z-index: 6;
right: max(16px, calc(50vw - 264px)); bottom: calc(22px + env(safe-area-inset-bottom));
background: linear-gradient(160deg, var(--brand-2), var(--brand)); color: var(--on-brand);
padding: 15px 22px; font-family: var(--serif); font-size: 17px; font-weight: 700; letter-spacing: 0.12em;
border-radius: 14px; outline: 1px solid color-mix(in srgb, var(--gold) 80%, white); outline-offset: -5px;
box-shadow: 0 10px 22px color-mix(in srgb, var(--brand) 40%, transparent);
animation: fab-in 0.5s var(--spring) both 0.15s;
}
.fab .plus { display: inline-block; transition: transform 0.4s var(--spring); }
.fab:active .plus { transform: rotate(90deg); }
.sheet-backdrop {
position: fixed; inset: 0; z-index: 10; background: rgb(30 15 10 / 0.5);
display: flex; align-items: flex-end; justify-content: center;
animation: fade-in 0.25s ease both;
}
.sheet {
width: 100%; max-width: 560px; max-height: 94dvh; overscroll-behavior: contain;
overflow-y: auto; overflow-x: hidden; touch-action: pan-y;
background: var(--bg); border-radius: 20px 20px 0 0; border-top: 4px solid var(--brand);
padding: 10px 18px calc(18px + env(safe-area-inset-bottom));
animation: sheet-up 0.45s var(--smooth) backwards;
}
.sheet-backdrop.closing { animation: fade-out 0.22s ease both; }
.sheet-backdrop.closing .sheet { animation: sheet-down 0.22s ease-in both; }
.grabber { width: 44px; height: 5px; border-radius: 999px; background: var(--muted); opacity: 0.45; margin: 0 auto 10px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; }
.sheet-actions { display: flex; gap: 10px; margin-top: 20px; }
.sheet-actions .primary { padding: 14px; font-size: 16px; }
.seg.tabbar {
position: fixed; z-index: 6; left: 0; right: 0; margin: 0 auto;
bottom: calc(14px + env(safe-area-inset-bottom)); width: min(calc(100% - 32px), 420px);
border-radius: 20px; padding: 5px; background: var(--card); border: 1px solid var(--line);
box-shadow: 0 10px 30px rgb(0 0 0 / 0.14);
animation: fab-in 0.5s var(--spring) both 0.1s;
}
.seg.tabbar .thumb { top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / var(--n)); border-radius: 15px; }
.seg.tabbar button { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 4px 6px; font-size: 12px; letter-spacing: 0.06em; }
.tab-icon { font-size: 20px; line-height: 1.2; transition: transform 0.35s var(--spring); }
.seg.tabbar button.on .tab-icon { transform: translateY(-1px) scale(1.15); }
.profile { margin-top: 4px; align-items: center; }
button.avatar-button { padding: 0; background: none; box-shadow: none; border-radius: 50%; flex: none; }
button.avatar-button:disabled { opacity: 1; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
.ghost-link {
margin: 0; padding: 2px 0; background: none; box-shadow: none; border-radius: 0; cursor: pointer;
color: var(--brand-ink); font-size: 14px; font-weight: 700;
}
.ghost-link input { display: none; }
.ghost-link.busy { color: var(--muted); }
.lightbox img.round { border-radius: 50%; width: min(78vw, 78vh, 420px); height: min(78vw, 78vh, 420px); object-fit: cover; border: 4px solid #fff; }
.credits { margin-top: 28px; text-align: center; }
.icon-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.icon-row-label { flex: none; width: 2.6em; font-size: 14px; font-weight: 700; color: var(--muted); }
.icon-row .chips { flex: 1; min-width: 0; margin: 0 -16px 0 0; padding: 4px 16px 6px 2px; }
small.hint { display: block; margin-top: 12px; }
.menu-trip { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 12px 0 0; }
select.mini { width: auto; max-width: calc(100% - 5em); text-overflow: ellipsis; margin: 0; padding: 6px 30px 6px 10px; font-size: 13px; background-position: right 15px center, right 9px center; }
.scan-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.scan-pair .scan { margin-top: 0; padding: 10px 6px; font-size: 14px; }
.scan-pair .scan.big { padding: 18px 6px; font-size: 16px; flex-direction: column; gap: 4px; }
.scan-pair .scan.big .scan-emoji { font-size: 30px; }
.scan-pair.trio { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.scan-pair.trio .scan { flex-direction: column; gap: 2px; padding: 10px 4px; font-size: 13px; white-space: nowrap; }
.paste-box { margin-top: 10px; }
.paste-box textarea {
display: block; width: 100%; padding: 11px 14px; border: 1.5px dashed var(--brand); border-radius: 12px;
background: var(--card); color: var(--text); font: inherit; font-size: 16px; resize: vertical;
}
.paste-box .row { margin-top: 8px; align-items: stretch; }
.nights-row { align-items: center; margin-top: 5px; }
.nights-row input.narrow { width: 76px; margin: 0; text-align: center; }
.nights-row .small { font-weight: 400; line-height: 1.5; }
.reading {
display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin-bottom: 12px;
background: var(--card); border: 1.5px dashed var(--brand); border-radius: 14px;
}
.reading-shot { position: relative; flex: none; width: 54px; height: 54px; border-radius: 10px; overflow: hidden; }
.reading img { display: block; width: 100%; height: 100%; object-fit: cover; }
.menu-head {
display: flex; align-items: center; gap: 12px; padding: 10px 6px 10px 12px;
background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.menu-head .title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
button.menu-head-main {
display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0; text-align: left;
background: none; box-shadow: none; border-radius: 10px; font-weight: 400; color: var(--text);
}
.menu-head-main .grow { display: flex; flex-direction: column; min-width: 0; }
.menu-head-main .title { font-weight: 700; }
.menu-head-main .small { overflow-wrap: anywhere; }
.reviews-address { margin-top: 2px; }
.menu-photos {
position: fixed; inset: 0; z-index: 30; background: #111; color: #fff; overflow: auto;
touch-action: pan-x pan-y; padding: 0 0 calc(24px + env(safe-area-inset-bottom));
animation: fade-in 0.2s ease both;
}
.menu-photos-bar {
position: sticky; top: 0; left: 0; z-index: 1; display: flex; align-items: center; gap: 10px;
padding: calc(12px + env(safe-area-inset-top)) 14px 12px; background: rgb(17 17 17 / 0.9); font-size: 14px;
}
.menu-photos-bar button { background: #fff; color: #111; padding: 8px 16px; box-shadow: none; }
.menu-photos figure { margin: 0 0 18px; }
.menu-photos figcaption { padding: 6px 14px; font-size: 13px; color: #aaa; position: sticky; left: 0; }
.menu-photo-frame img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.menu-photo-frame:not(.zoomed) { max-width: 720px; margin: 0 auto; }
.menu-photo-frame.zoomed img { width: 250%; max-width: none; cursor: zoom-out; }
.menu-photos .loading { color: #aaa; }
.pages { display: flex; flex: none; }
.pages img {
width: 40px; height: 40px; object-fit: cover; border-radius: 9px; border: 2px solid var(--card);
box-shadow: 0 0 0 1px var(--line);
}
.pages img + img { margin-left: -16px; }
.rate-note { margin: 10px 2px 0; }
.seg.menu-filter { margin-top: 12px; }
.seg.menu-filter + p { margin: 8px 2px 10px; }
.item.menu-item { align-items: flex-start; }
.item.menu-item.picked { border-color: var(--brand); box-shadow: 0 0 0 1.5px var(--brand), var(--shadow); }
.menu-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.stepper { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
button.step {
width: 40px; height: 40px; padding: 0; border-radius: 50%; font-size: 20px; line-height: 1;
display: grid; place-items: center; background: var(--soft); color: var(--text); box-shadow: none;
}
button.step.add { background: var(--brand); color: var(--on-brand); }
.qty { min-width: 22px; text-align: center; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.order-spacer { height: 70px; }
.order-bar {
position: fixed; z-index: 6; left: 0; right: 0; margin: 0 auto;
bottom: calc(92px + env(safe-area-inset-bottom)); width: min(calc(100% - 32px), 528px);
padding: 6px 6px 6px 8px;
background: var(--card); border: 1.5px solid var(--brand); border-radius: 16px;
box-shadow: 0 8px 24px rgb(0 0 0 / 0.16);
animation: fade-in 0.25s ease both;
}
.order-summary { display: flex; align-items: center; gap: 6px; }
button.order-toggle {
display: flex; align-items: baseline; gap: 8px; min-width: 0; padding: 8px 6px; text-align: left;
background: none; box-shadow: none; color: var(--text); font-weight: 400;
}
.order-toggle .title { white-space: nowrap; }
.order-toggle .small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-toggle .caret { color: var(--brand); font-size: 12px; margin-left: auto; }
.order-actions { display: flex; gap: 8px; margin: 6px 2px 2px; }
.order-actions button { flex: 1; padding: 10px 8px; }
.order-hint { margin: 6px 6px 2px; }
.rate-row { gap: 10px; }
.rate-row .title { flex: none; white-space: nowrap; }
.rate-row input { text-align: right; min-width: 0; }
.rate-add { margin-top: 12px; }
.rate-add label { margin-top: 0; }
.rate-add .rate-row { margin-top: 10px; }
.rate-add small { display: block; margin: 6px 2px 0; }
.waiter {
position: fixed; inset: 0; z-index: 30; background: #fff; color: #111;
overflow-y: auto; overflow-x: hidden; touch-action: pan-y;
display: flex; flex-direction: column; padding: calc(24px + env(safe-area-inset-top)) 22px calc(20px + env(safe-area-inset-bottom));
font-family: 'Twemoji', -apple-system, 'Hiragino Sans', 'Noto Sans', 'PingFang TC', sans-serif;
animation: fade-in 0.2s ease both;
}
.waiter-inner { flex: 1; max-width: 560px; width: 100%; margin: 0 auto; }
.waiter-phrase { font-size: 22px; line-height: 1.4; margin: 0 0 18px; padding-bottom: 16px; border-bottom: 2px solid #111; }
.waiter ul { list-style: none; margin: 0; padding: 0; }
.waiter li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid #ddd; }
.waiter-qty { font-size: 30px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.waiter-name { display: block; font-size: 28px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.waiter-mine { display: block; font-size: 14px; color: #777; margin-top: 2px; }
.waiter-note { margin-top: 18px; padding: 14px 16px; border: 2px solid #111; border-radius: 12px; }
.waiter-note .waiter-name { font-size: 24px; }
.waiter-total { font-size: 22px; font-weight: 700; text-align: right; margin: 18px 0 0; }
.waiter-total span { display: block; font-size: 14px; font-weight: 400; color: #777; }
.waiter-actions { display: flex; gap: 10px; max-width: 560px; width: 100%; margin: 20px auto 0; }
.waiter-actions button { flex: 1; padding: 14px; font-size: 16px; border-radius: 14px; box-shadow: none; }
button.waiter-close { flex: 2; background: #111; color: #fff; }
button.waiter-alt { background: #eee; color: #111; }
.rate-line { display: flex !important; align-items: center; gap: 8px; }
button.mini { padding: 4px 8px; font-size: 13px; }
.seg.tool-switch { margin-bottom: 14px; }
.fx {
position: relative; display: grid; grid-template-rows: 1fr 1fr; overflow: hidden;
background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
}
.fx-side { display: flex; align-items: center; gap: 10px; margin: 0; padding: 6px 18px 0; height: 96px; color: var(--text); font-weight: 400; }
.fx-side.out {
background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 76%, #1a0d08));
color: var(--on-brand);
}
.fx-flag { flex: none; font-size: 32px; line-height: 1; }
.fx-who { flex: none; display: grid; gap: 1px; }
.fx-who b, .fx .fx-who select {
font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: 0.06em; line-height: 1.2; color: inherit;
}
.fx .fx-who select {
display: block; width: auto; margin: 0; padding: 0 22px 0 0; border: 0; border-radius: 0; box-shadow: none;
background-color: transparent; background-position: right 8px center, right 2px center;
}
.fx-side.out .fx-who select {
background-image:
linear-gradient(45deg, transparent 50%, var(--on-brand) 50%),
linear-gradient(135deg, var(--on-brand) 50%, transparent 50%);
}
.fx-who small { margin: 0; font-size: 12px; font-weight: 400; letter-spacing: 0.08em; opacity: 0.72; }
.fx-num {
flex: 1; min-width: 0; text-align: right; font-family: var(--serif); font-size: 34px; font-weight: 700;
font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fx input.fx-num {
display: block; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
color: var(--text); font-size: 34px; font-weight: 700; -moz-appearance: textfield;
}
.fx input.fx-num::-webkit-outer-spin-button, .fx input.fx-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fx input.fx-num::placeholder { color: var(--muted); opacity: 0.45; }
.fx-side.in:focus-within { background: color-mix(in srgb, var(--brand) 5%, var(--card)); }
button.fx-swap {
position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 46px; height: 46px; padding: 0;
display: grid; place-items: center; border-radius: 50%; border: 3px solid var(--card);
background: var(--soft); color: var(--brand-ink); font-size: 21px; font-weight: 700; line-height: 1;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.16); transition: rotate 0.5s var(--spring), scale 0.2s;
}
button.fx-swap.flip { rotate: 180deg; }
button.fx-swap:active { scale: 0.9; }
.fx-rate { margin: 12px 2px 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--text); }
.fx-rate .muted { font-weight: 400; }
.fx-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--good); vertical-align: 1px; }
.fx-dot.fixed { background: var(--brand); }
.chips.quick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 14px 0 0; padding: 0; overflow: visible; }
.chips.quick .cat { padding: 8px 2px; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; justify-content: center; text-align: center; }
.fx-into { margin: 6px 2px 0; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
button.fx-clear {
position: absolute; top: 8px; right: 10px; width: 22px; height: 22px; padding: 0; display: grid; place-items: center;
border-radius: 50%; background: var(--soft); color: var(--muted); font-size: 11px; line-height: 1; box-shadow: none;
}
button.fx-ledger { margin-top: 16px; }
label.fx-trip { margin-top: 18px; }
.fx-foot { margin: 14px 2px 0; text-align: center; }
@media (prefers-reduced-motion: reduce) { button.fx-swap { transition: none; } }
.translate-summary {
display: flex; gap: 12px; align-items: center; margin-top: 12px; padding: 12px;
background: var(--card); border: 1.5px solid var(--brand); border-radius: 14px;
}
.translate-summary img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.points { list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 8px;
background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.points li { display: flex; gap: 8px; font-weight: 700; }
.points li::before { content: '•'; color: var(--brand); flex: none; }
.full-text {
background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
padding: 14px; white-space: pre-wrap; line-height: 1.75; overflow-wrap: anywhere;
}
.full-text.original { color: var(--muted); font-size: 14px; margin-top: 10px; }
.bars { list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 10px;
background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.bar-row { display: grid; grid-template-columns: 8.2em 1fr auto; align-items: center; gap: 10px; font-size: 14px; }
.bar-label { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-value { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 13px; }
.bar-track { height: 10px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.bar-track.big { height: 14px; margin: 10px 0 6px; }
.bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand-2), var(--brand)); transition: width 0.6s var(--smooth); }
.bar-fill.near { background: var(--gold); }
.bar-fill.over { background: var(--warn); }
.item .bar-track { margin-top: 6px; }
.budget { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 10px 8px 12px 14px; }
.budget .row { align-items: center; }
.share-settle { margin-top: 14px; }
.home-actions { margin-top: 16px; }
.home-actions button { padding: 13px 14px; }
.settings-end { display: flex; justify-content: flex-end; margin-top: 28px; }
.invite-rotate { margin-top: 8px; }
button.danger-link { color: var(--warn); font-size: 13px; font-weight: 400; padding: 6px 4px; }
.member-row { gap: 8px; }
.member-row .title { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.member-row .ghost.mini { padding: 6px 5px; }
.recap-open { margin-top: 12px; }
.recap {
position: fixed; inset: 0; z-index: 15; background: var(--bg); display: flex; flex-direction: column;
overflow-y: auto; overflow-x: hidden; touch-action: pan-y;
padding: calc(18px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
animation: fade-in 0.25s ease both;
}
.recap-inner { flex: 1; width: 100%; max-width: 528px; margin: 0 auto; }
.recap-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.diary { list-style: none; margin: 20px 0 14px; padding: 0 0 0 22px; position: relative; }
.diary::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.diary-day { position: relative; margin-bottom: 18px; }
.diary-day:last-child { margin-bottom: 0; }
.diary-day::before {
content: ''; position: absolute; left: -21px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
box-sizing: border-box; background: var(--bg); border: 2.5px solid var(--brand);
}
.diary-day.top::before { background: var(--brand); }
.diary-head { display: flex; align-items: baseline; gap: 8px; }
.diary-head b { font-family: var(--serif); font-size: 16px; white-space: nowrap; }
.diary-head em {
font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 99px; white-space: nowrap;
background: color-mix(in srgb, var(--brand) 16%, var(--card)); color: var(--brand-ink);
}
.diary-sum { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.diary-items { margin: 3px 0 0; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.diary-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.diary-strip .photo { width: 100%; border-radius: 10px; }
.diary-strip .photo:active { transform: scale(0.97); }
button.diary-more { font-weight: 700; font-size: 15px; color: var(--muted); cursor: pointer; }
button.recap-card {
display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; padding: 12px 14px; text-align: left;
background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.recap-card b { display: block; font-size: 16px; font-family: var(--serif); }
.recap-card small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.recap-card-icon { font-size: 28px; width: 44px; text-align: center; flex: none; }
.recap-card-chev { color: var(--muted); font-size: 20px; flex: none; }
.recap-stack { position: relative; flex: none; width: 66px; height: 50px; }
.recap-stack.n2 { width: 56px; }
.recap-stack.n1 { width: 46px; }
.recap-stack img {
position: absolute; top: 3px; width: 44px; height: 44px; object-fit: cover; border-radius: 9px;
border: 2px solid var(--card); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.recap-stack img:nth-child(1) { left: 0; transform: rotate(-7deg); }
.recap-stack img:nth-child(2) { left: 10px; transform: rotate(2deg); }
.recap-stack img:nth-child(3) { left: 20px; transform: rotate(8deg); }
.recap-stack.n1 img { transform: none; }
.recap-actions { display: flex; gap: 10px; width: 100%; max-width: 528px; margin: 18px auto 0; }
.recap-actions button { flex: 1; padding: 13px; }
.me-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 14px 12px 2px; }
.me-hero-name { font-size: 21px; margin-top: 8px; }
.me-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.me-chip, button.me-chip {
display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 99px; cursor: pointer;
background: var(--soft); color: var(--text); font-size: 13px; font-weight: 600; line-height: 1; box-shadow: none;
}
.me-chip input { display: none; }
label.me-chip { margin: 0; color: var(--text); }
.me-chip.busy { color: var(--muted); }
.me-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.me-card > * + * { border-top: 1px solid var(--line); }
.me-row-head, button.me-row-head {
display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; margin: 0;
background: none; border: 0; border-radius: 0; box-shadow: none; text-align: left; text-decoration: none;
color: var(--text); font-size: 15px; font-weight: 600; cursor: pointer;
}
.me-row-icon { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--soft); font-size: 18px; }
.me-row-title { min-width: 0; }
.me-row-status { flex: none; max-width: 46%; font-size: 13px; font-weight: 400; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-row-status.good { color: var(--good); font-weight: 600; }
.me-row-chev { flex: none; color: var(--muted); font-size: 20px; line-height: 1; transition: transform 0.2s var(--smooth); }
.me-row.open .me-row-chev { transform: rotate(90deg); }
.me-row-body { padding: 2px 14px 14px; }
.me-desc { margin: 0 0 12px; line-height: 1.7; }
.me-about { margin-bottom: 0; }
.me-points { list-style: none; margin: 0 0 12px; padding: 0; line-height: 1.7; }
.me-points li + li { margin-top: 8px; }
.me-points b { display: block; color: var(--text); font-size: 13px; }
.me-points a { color: var(--brand-ink); overflow-wrap: anywhere; }
.me-about a { color: inherit; }
button.me-signout .me-row-title { color: var(--warn); }
.info-btn.help-btn {
width: 24px; height: 24px; margin-left: 6px; border: 0; letter-spacing: 0;
background: color-mix(in srgb, var(--brand) 15%, var(--card)); color: var(--brand-ink);
font: 700 13px/1 -apple-system, BlinkMacSystemFont, sans-serif;
}
.bar .help-btn { margin-left: 0; width: 28px; height: 28px; font-size: 15px; }
h2 .help-btn { vertical-align: 3px; }
.field-title .help-btn { vertical-align: -4px; }
.film-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.film-row .film-open { flex: 1; margin-top: 0; padding: 12px 6px; }
:root {
--series-1: #2a78d6; --series-2: #eb6834; --series-3: #1baf7a; --series-4: #eda100;
--series-5: #e87ba4; --series-6: #008300; --series-7: #6250d6; --series-8: #e34948;
}
@media (prefers-color-scheme: dark) {
:root {
--series-1: #3987e5; --series-2: #d95926; --series-3: #199e70; --series-4: #c98500;
--series-5: #d55181; --series-6: #0ca30c; --series-7: #9085e9; --series-8: #e66767;
}
}
.chart-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 14px 10px; }
.chart-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.chart-big { font-family: var(--serif); font-size: 24px; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chart-top .small { text-align: right; }
.chart-cols { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.chart-col { fill: color-mix(in srgb, var(--brand) 42%, var(--card)); transition: fill 0.2s; }
.chart-col.on { fill: var(--brand); }
.chart-hit { fill: transparent; cursor: pointer; }
.chart-base { stroke: var(--line); stroke-width: 1; }
.chart-avg { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; pointer-events: none; }
.chart-axis { fill: var(--muted); font-size: 9px; pointer-events: none; }
.chart-axis.on { fill: var(--text); font-weight: 700; }
.chart-items { list-style: none; margin: 10px 0 0; padding: 0; }
.chart-items li { border-top: 1px solid var(--line); }
.chart-items button {
display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 2px; background: none; border-radius: 0; box-shadow: none;
text-align: left; font-size: 14px; font-weight: 400; color: var(--text); white-space: normal;
}
.chart-items b { font-variant-numeric: tabular-nums; flex: none; }
.chart-none { padding: 8px 2px; }
.chart-tip { margin: 10px 0 2px; text-align: center; }
.donut-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.donut { width: 156px; flex: none; overflow: visible; }
.donut-seg { cursor: pointer; transition: stroke-width 0.2s var(--smooth), opacity 0.2s; }
.donut-seg.dim { opacity: 0.35; }
.donut-label { fill: var(--muted); font-size: 9px; pointer-events: none; }
.donut-value { fill: var(--text); font-size: 14px; font-weight: 700; font-family: var(--serif); pointer-events: none; }
.donut-legend { width: 100%; list-style: none; margin: 0; padding: 0; }
.donut-legend button {
display: flex; align-items: center; gap: 8px; width: calc(100% + 12px); padding: 8px 6px; margin: 0 -6px; background: none; border-radius: 8px; box-shadow: none;
font-size: 14px; font-weight: 400; color: var(--text); text-align: left;
}
.donut-legend button.on { background: var(--soft); font-weight: 700; }
.donut-legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.donut-legend .grow { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.donut-legend small { margin-left: 8px; color: var(--muted); font-size: 12px; font-weight: 400; }
.donut-legend b { font-variant-numeric: tabular-nums; }
.donut-legend em { font-style: normal; color: var(--muted); font-size: 12px; width: 36px; text-align: right; flex: none; }
button.set-hero {
display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; margin-top: 4px; text-align: left; white-space: normal;
background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); color: var(--text); font-weight: 400;
}
.set-hero-cover { position: relative; flex: none; width: 84px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--soft); display: grid; place-items: center; font-size: 26px; }
.set-hero-main { flex: 1; min-width: 0; }
.set-hero-main b { display: block; font-family: var(--serif); font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.set-hero-main small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.set-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.set-tiles > :last-child:nth-child(odd) { grid-column: 1 / -1; }
button.set-tile {
display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-height: 104px; padding: 12px 14px; text-align: left; white-space: normal;
background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); color: var(--text); font-weight: 400;
}
.set-tile-icon { font-size: 24px; line-height: 1.2; min-height: 32px; display: flex; align-items: center; }
.set-tile b { font-size: 15px; }
.set-tile small { margin-top: auto; color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.set-faces { display: inline-flex; }
.set-faces > * + * { margin-left: -8px; }
.set-pane > h3:first-child, .set-pane > p:first-child { margin-top: 6px; }
.sheet-head h2 .help-btn { vertical-align: 3px; }
.guide { position: fixed; inset: 0; z-index: 20; background: var(--bg); display: flex; flex-direction: column; animation: fade-in 0.25s ease both; }
.guide-top { display: flex; align-items: center; padding: calc(6px + env(safe-area-inset-top)) 8px 6px; border-bottom: 1px solid var(--line); }
.guide-top-title { flex: 1; text-align: center; font-weight: 700; }
.guide-top-pad { width: 64px; }
.guide-inner { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; width: 100%; max-width: 560px; margin: 0 auto; padding: 14px 16px calc(28px + env(safe-area-inset-bottom)); }
.guide-lead { margin: 0 2px; }
.guide-inner h3 { margin-top: 22px; }
.tour-backdrop { position: fixed; inset: 0; z-index: 35; display: grid; place-items: center; background: rgb(30 15 10 / 0.5); animation: fade-in 0.2s ease both; }
.tour {
position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; text-align: center;
padding: calc(10px + env(safe-area-inset-top)) 20px calc(18px + env(safe-area-inset-bottom));
background: var(--bg); animation: dialog-in 0.3s var(--smooth) both;
}
@media (min-width: 520px) and (min-height: 640px) {
.tour { width: 440px; height: min(760px, 92vh); border-radius: 24px; box-shadow: 0 18px 50px rgb(0 0 0 / 0.3); padding: 12px 22px 22px; }
}
.tour-top { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.tour-kicker { font-size: 13px; font-weight: 700; color: var(--muted); }
button.tour-skip { font-size: 14px; font-weight: 400; color: var(--muted); margin-right: -8px; }
.tour h2 { font-size: 23px; line-height: 1.35; margin: 20px 0 8px; }
.tour-text { margin: 0; font-size: 16px; line-height: 1.75; color: var(--muted); }
.tour-foot { margin-top: auto; padding-top: 16px; }
.tour-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 16px; }
.tour-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; background: var(--line); box-shadow: none; transition: width 0.25s var(--smooth), background 0.2s; }
.tour-dots button.on { width: 24px; border-radius: 4px; background: var(--brand); }
.tour-actions { display: flex; gap: 10px; }
.tour-actions button { padding: 15px 18px; font-size: 16px; }
.tour-scene {
position: relative; flex: 1 1 0; min-height: 230px; max-height: 46vh; margin-top: 6px; border-radius: 20px; overflow: hidden;
background: var(--card); border: 1px solid var(--line); display: grid; place-items: center;
}
.tour-stage { zoom: 1.4; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; width: 216px; text-align: left; }
.tour-pop { animation: tour-pop 6s var(--smooth) infinite both; animation-delay: calc(var(--i, 0) * 0.24s + 0.2s); }
.tour-pop.wide { width: 100%; }
@keyframes tour-pop {
0% { opacity: 0; transform: translateY(8px) scale(0.92); }
7%, 86% { opacity: 1; transform: none; }
93%, 100% { opacity: 0; transform: none; }
}
.tour-av {
display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none;
color: #fff; font-size: 12px; font-weight: 700; border: 2px solid var(--card);
}
.tour-av.c1 { background: #c8553d; } .tour-av.c2 { background: #6b8169; } .tour-av.c3 { background: #b8922e; }
.tour-stack { display: inline-flex; vertical-align: middle; }
.tour-stack .tour-av + .tour-av { margin-left: -7px; }
.tour-rowc { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.tour-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; background: var(--soft); font-size: 11px; font-weight: 700; white-space: nowrap; }
.tour-chip.on { background: var(--brand); color: var(--on-brand); }
.tour-chip .tour-av { width: 18px; height: 18px; font-size: 9px; border-width: 1px; margin-left: -6px; }
.tour-btn { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 10px; background: var(--soft); font-size: 12px; font-weight: 700; white-space: nowrap; }
.tour-btn.primary { background: linear-gradient(160deg, var(--brand-2), var(--brand)); color: var(--on-brand); }
.tour-hold { position: relative; display: inline-flex; }
.tour-hold.wide { display: flex; width: 100%; }
.tour-hold.wide > .tour-item { flex: 1; min-width: 0; }
.tour-hold.wide { min-width: 0; }
.tour-tap {
position: absolute; right: -6px; bottom: -8px; width: 22px; height: 22px; border-radius: 50%;
border: 2px solid var(--gold); background: color-mix(in srgb, var(--gold) 30%, transparent);
animation: tour-tap 1.5s ease-out infinite;
}
@keyframes tour-tap { 0% { transform: scale(0.5); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.tour-form { width: 100%; display: flex; flex-direction: column; gap: 7px; }
.tour-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; }
.tour-line small { color: var(--muted); flex: none; }
.tour-amount { display: flex; align-items: baseline; gap: 8px; padding: 5px 12px; border-radius: 12px; border: 1.5px solid var(--brand); background: var(--bg); }
.tour-cur { font-size: 11px; font-weight: 700; color: var(--muted); }
.tour-digits { font-family: var(--serif); font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tour-digits i { display: inline-block; font-style: normal; }
.tour-item { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 12px; background: var(--soft); }
.tour-item-icon { font-size: 19px; flex: none; display: inline-flex; }
.tour-item-main { flex: 1; min-width: 0; }
.tour-item-main b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tour-item-main small { display: block; font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tour-item-right { flex: none; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tour-tabs { display: flex; width: 100%; padding: 3px; gap: 2px; border-radius: 10px; background: var(--soft); font-size: 11px; font-weight: 700; color: var(--muted); }
.tour-tabs span { flex: 1; text-align: center; padding: 4px 0; border-radius: 8px; }
.tour-tabs span.on { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.tour-code { padding: 6px 14px; border-radius: 10px; border: 1.5px dashed var(--line); font-family: ui-monospace, monospace; font-size: 13px; letter-spacing: 0.08em; }
.tour-note { width: 100%; padding: 8px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 11px; line-height: 1.6; }
.tour-note.center { text-align: center; font-weight: 700; }
.tour-note.on { border-color: var(--brand); color: var(--brand-ink); }
.tour-hint { font-size: 10px; color: var(--muted); }
.tour-eq { text-align: center; font-size: 16px; font-weight: 700; color: var(--muted); line-height: 1; }
.tour-day { padding: 6px 10px; border-radius: 10px; background: var(--soft); text-align: center; }
.tour-day small { display: block; font-size: 10px; color: var(--muted); }
.tour-day b { font-size: 12px; font-variant-numeric: tabular-nums; }
.tour-photo { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: var(--soft); font-size: 24px; }
.tour-photo.add { border: 1.5px dashed var(--line); background: none; color: var(--muted); font-size: 18px; }
.tour-bars, .tour-peaks { display: flex; align-items: flex-end; justify-content: center; gap: 8px; width: 100%; height: 72px; }
.tour-bars i { width: 22px; border-radius: 5px 5px 0 0; background: color-mix(in srgb, var(--brand) 45%, var(--card)); transform-origin: bottom; }
.tour-bars i.hot { background: var(--brand); }
.tour-peaks { gap: 0; }
.tour-peaks i { width: 46px; margin: 0 -7px; background: color-mix(in srgb, var(--brand) 40%, var(--soft)); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.tour-peaks i.hot { background: var(--brand); }
.tour-meter { height: 10px; border-radius: 5px; background: var(--soft); overflow: hidden; }
.tour-meter i { display: block; height: 100%; border-radius: 5px; background: var(--brand); }
.tour-hero { padding: 10px 22px; border-radius: 14px; text-align: center; background: linear-gradient(160deg, var(--brand-2), var(--brand)); color: var(--on-brand); }
.tour-hero small { display: block; font-size: 10px; opacity: 0.85; }
.tour-hero b { display: block; font-family: var(--serif); font-size: 20px; }
.tour-swatch { display: block; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--card); }
.tour-swatch.on { outline: 2px solid var(--text); }
.tour-push { width: 100%; padding: 9px 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tour-push b { display: block; font-size: 12px; }
.tour-push span { font-size: 11px; color: var(--muted); }
.tour-tool { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 66px; padding: 11px 4px 8px; border-radius: 14px; background: var(--soft); }
.tour-tool span { font-size: 24px; line-height: 1; }
.tour-tool small { font-size: 11px; font-weight: 700; }
.tour-settle { display: flex; align-items: center; gap: 8px; }
.tour-who { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tour-who .tour-av { width: 40px; height: 40px; font-size: 16px; }
.tour-who small { font-size: 11px; color: var(--muted); }
.tour-arrow { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 96px; margin-bottom: 16px; }
.tour-arrow b { font-family: var(--serif); font-size: 18px; font-variant-numeric: tabular-nums; }
.tour-arrow i { position: relative; display: block; width: 100%; height: 3px; border-radius: 2px; background: var(--brand); }
.tour-arrow i::after { content: ''; position: absolute; right: -1px; top: -4.5px; border: 6px solid transparent; border-left-color: var(--brand); border-right: 0; }
.tour-stamp {
position: absolute; right: -4px; bottom: -14px; padding: 2px 9px; border: 2.5px solid var(--brand); border-radius: 8px;
color: var(--brand); font-family: var(--serif); font-weight: 700; letter-spacing: 0.2em; font-size: 14px; transform: rotate(-8deg);
background: var(--card); animation: tour-stamp 6s var(--spring) infinite both;
}
@keyframes tour-stamp {
0%, 44% { opacity: 0; transform: scale(1.9) rotate(-16deg); }
52%, 86% { opacity: 1; transform: rotate(-8deg); }
93%, 100% { opacity: 0; transform: rotate(-8deg); }
}
@media (prefers-reduced-motion: reduce) {
.tour-pop, .tour-stamp, .tour, .tour-backdrop, .guide { animation: none; }
.tour-tap { animation: none; opacity: 0.8; }
}
.admin { position: fixed; inset: 0; z-index: 20; background: var(--bg); display: flex; flex-direction: column; animation: fade-in 0.25s ease both; }
.admin-top {
display: flex; align-items: center; gap: 6px; padding: calc(6px + env(safe-area-inset-top)) 8px 6px;
border-bottom: 1px solid var(--line);
}
.admin-top-title { flex: 1; text-align: center; font-weight: 700; }
.admin-inner { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; width: 100%; max-width: 560px; margin: 0 auto; padding: 14px 16px calc(28px + env(safe-area-inset-bottom)); }
.admin-trend { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 14px 10px; }
.admin-seg { display: flex; gap: 3px; padding: 3px; border-radius: 10px; background: var(--soft); }
.admin-seg button { flex: 1; padding: 7px 4px; border-radius: 8px; background: none; box-shadow: none; color: var(--muted); font-size: 13px; font-weight: 600; }
.admin-seg button.on { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.admin-trend-top { display: flex; align-items: baseline; justify-content: space-between; margin: 10px 2px 6px; }
.admin-trend-big { font-family: var(--serif); font-size: 36px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.admin-bars { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.admin-bar { fill: color-mix(in srgb, var(--brand) 50%, var(--card)); }
.admin-bar.on { fill: var(--brand); }
.admin-hit { fill: transparent; cursor: pointer; }
.admin-base { stroke: var(--line); stroke-width: 1; }
.admin-axis { fill: var(--muted); font-size: 9px; }
.admin-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.admin-tile { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; min-width: 0; }
.admin-tile-label { font-size: 13px; color: var(--muted); }
.admin-tile-value { font-family: var(--serif); font-size: 27px; font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; }
.admin-tile-up { font-size: 13px; font-weight: 700; color: var(--good); }
.admin-tile-sub { font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.5; }
.admin-shares { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 4px 14px; }
.admin-share { padding: 10px 0; }
.admin-share + .admin-share { border-top: 1px solid var(--line); }
.admin-share-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.admin-track { height: 6px; margin: 6px 0 4px; border-radius: 3px; background: var(--soft); overflow: hidden; }
.admin-track i { display: block; height: 100%; min-width: 2px; border-radius: 3px; background: var(--brand); }
.admin-table-wrap { margin-top: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.admin-table th, .admin-table td { padding: 7px 10px; text-align: right; border-bottom: 1px solid var(--line); }
.admin-table th:first-child { text-align: left; }
.admin-table thead th { color: var(--muted); font-weight: 600; }
.admin-table tbody th { font-weight: 600; }
.admin-list { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.admin-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; font-size: 14px; }
.admin-list li + li { border-top: 1px solid var(--line); }
.admin-note { margin-top: 18px; line-height: 1.7; }
.sponsor { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 14px; }
.sponsor p { margin: 0 0 10px; line-height: 1.7; }
a.sponsor-link {
display: block; text-align: center; padding: 12px; border-radius: 12px; text-decoration: none; font-weight: 600;
background: var(--soft); color: var(--text);
}
.auth-foot { margin-top: 28px; font-size: 13px; }
.auth-foot a { color: var(--muted); }
.in-app-warn { text-align: left; }
.in-app-warn p { margin: 6px 0 10px; font-size: 13px; line-height: 1.6; }
.film-open { margin-top: 12px; }
.film {
position: fixed; inset: 0; z-index: 40; background: #0d131c; display: flex; flex-direction: column;
animation: fade-in 0.25s ease both;
}
.film-stage { position: relative; flex: 1; min-height: 0; padding-top: env(safe-area-inset-top); }
.film-screen { display: block; width: 100%; height: 100%; object-fit: contain; }
.film-note { position: absolute; left: 0; right: 0; top: 46%; margin: 0; padding: 0 28px; text-align: center; color: #a8978a; font-size: 14px; }
button.film-close {
position: absolute; top: calc(8px + env(safe-area-inset-top)); right: 10px; width: 36px; height: 36px; padding: 0;
border-radius: 50%; background: rgb(13 19 28 / 0.6); color: #f3e9da; font-size: 15px;
}
.film-bar { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #17120f; }
.film-bar button { flex: 1; padding: 12px 8px; }
.film-bar button.plain { background: #33271f; color: #f3e9da; }
.film-bar button { white-space: nowrap; font-size: 14px; }
.film [hidden] { display: none; }
.tag-pending { margin-left: 6px; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 5px; background: var(--notice); color: var(--text); vertical-align: 1px; }
.tag-pending.failed { background: var(--warn-bg); color: var(--warn); }
.reviews {
margin-top: 12px; padding: 12px 14px; background: var(--card);
border: 1.5px solid var(--gold); border-radius: 14px; box-shadow: var(--shadow);
}
.reviews-head { display: flex; align-items: center; gap: 8px; }
.reviews button.wide, .reviews button.plain { white-space: normal; overflow-wrap: anywhere; line-height: 1.4; }
.reviews-summary { margin: 8px 0 0; }
.reviews-dishes { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.reviews-dishes li { padding-left: 12px; border-left: 3px solid var(--gold); }
.reviews-tips { margin: 10px 0 0; }
.reviews-source { margin: 10px 0 0; }
.reviews-hint { margin: 12px 2px 0; }
.loading-line { margin: 8px 0 0; animation: breathe 1.2s ease-in-out infinite; }
.tag-rec { margin-left: 6px; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 5px; background: var(--notice); color: var(--text); white-space: nowrap; vertical-align: 1px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.photo {
position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; padding: 0;
background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center;
color: var(--muted); box-shadow: none; margin: 0;
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.photo.add { border: 1.5px dashed var(--brand); background: none; font-size: 24px; cursor: pointer; }
.photo.add input { display: none; }
button.photo-x {
position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; padding: 0; border-radius: 50%;
background: rgb(0 0 0 / 0.6); color: #fff; font-size: 16px; line-height: 1; display: grid; place-items: center; box-shadow: none;
}
.has-photo { margin-left: 4px; font-size: 13px; }
.lightbox { position: fixed; inset: 0; z-index: 45; cursor: zoom-out; }
.lb-shade { position: absolute; inset: 0; background: rgb(0 0 0 / 0.92); animation: fade-in 0.22s ease both; }
.lb-track {
position: absolute; inset: 0; z-index: 1; display: flex; overflow-x: auto; overflow-y: hidden;
scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; touch-action: pan-x pinch-zoom;
}
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide { flex: none; width: 100%; height: 100%; padding: 16px; scroll-snap-align: center; scroll-snap-stop: always; }
.lb-fig {
position: relative; width: 100%; height: 100%; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr);
place-items: center; will-change: transform;
}
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; object-fit: contain; }
.lightbox.closing .lb-shade { animation: fade-out 0.24s ease both; }
.lightbox.closing > :not(.lb-shade):not(.lb-track), .lightbox.dragging > :not(.lb-shade):not(.lb-track) { opacity: 0; transition: opacity 0.15s; }
.detail-amount { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.detail-big { font-family: var(--serif); font-size: 30px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.detail-rows { margin: 14px 0 0; display: grid; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 2px 14px; }
.detail-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; }
.detail-rows > div + div { border-top: 1px dashed var(--line); }
.detail-rows dt { color: var(--muted); font-size: 14px; }
.detail-rows dd { margin: 0; font-weight: 700; text-align: right; }
.detail-shares { list-style: none; margin: 0; padding: 2px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.detail-shares li { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.detail-shares li + li { border-top: 1px dashed var(--line); }
.secret { position: relative; display: block; min-width: 0; }
.secret input { padding-right: 46px; }
button.eye {
position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
width: 38px; height: 38px; padding: 0; display: grid; place-items: center;
background: none; box-shadow: none; font-size: 19px; border-radius: 50%; color: var(--muted);
}
button.eye[aria-pressed='true'] { color: var(--brand-ink, var(--text)); }
button.eye:active { transform: translateY(-50%) scale(0.88); }
label .secret { margin-top: 5px; }
label .secret input { margin-top: 0; }
.update-banner {
position: fixed; z-index: 25; left: 0; right: 0; margin: 0 auto;
top: calc(10px + env(safe-area-inset-top)); width: min(calc(100% - 32px), 420px);
display: flex; align-items: center; gap: 6px; padding: 8px 6px 8px 16px;
background: var(--card); border: 1.5px solid var(--brand); border-radius: 16px;
box-shadow: 0 10px 30px rgb(0 0 0 / 0.2); font-weight: 700;
animation: fade-in 0.3s ease both;
}
.update-toast {
position: fixed; z-index: 40; left: 0; right: 0; margin: 0 auto; width: min(calc(100% - 32px), 420px);
bottom: calc(96px + env(safe-area-inset-bottom));
display: flex; align-items: center; gap: 10px; padding: 11px 8px 11px 16px; border-radius: 16px;
background: var(--text); color: var(--bg); box-shadow: 0 10px 30px rgb(0 0 0 / 0.3);
font-size: 13px; line-height: 1.5; animation: toast-in 0.42s var(--spring) backwards;
}
.update-toast .grow { min-width: 0; display: flex; flex-direction: column; }
.update-toast b { font-size: 14px; }
.update-toast button { flex: none; padding: 6px 8px; background: none; box-shadow: none; color: var(--gold); font-size: 13px; font-weight: 700; }
.update-toast .update-toast-x { color: inherit; opacity: 0.6; font-size: 18px; padding: 2px 8px; }
.changelog-line { list-style: none; margin: 4px 0 16px; padding: 0 0 0 22px; position: relative; }
.changelog-line::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.changelog-line li { position: relative; margin-bottom: 20px; }
.changelog-line li::before {
content: ''; position: absolute; left: -21px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
box-sizing: border-box; background: var(--bg); border: 2.5px solid var(--brand);
}
.changelog-line li:first-child::before { background: var(--brand); }
.changelog-line h4 { margin: 0 0 8px; font-family: var(--serif); font-size: 17px; }
.changelog-line p { margin: 0 0 9px; font-size: 14px; line-height: 1.65; }
.changelog-tag { display: inline-block; margin-right: 7px; padding: 1px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; vertical-align: 1px; white-space: nowrap; background: var(--good-bg); color: var(--good); }
.changelog-tag.new { background: color-mix(in srgb, var(--brand) 16%, var(--card)); color: var(--brand-ink); }
.changelog-tag.fix { background: var(--warn-bg); color: var(--warn); }
.changelog-update { margin-bottom: 18px; }
.fb-notify { margin-top: 12px; text-align: left; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes dialog-out { to { opacity: 0; transform: scale(0.94); } }
.dialog-backdrop {
position: fixed; inset: 0; z-index: 40; padding: 24px;
display: grid; place-items: center; background: rgb(20 15 10 / 0.5);
backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
animation: fade-in 0.2s ease both;
}
.dialog {
width: 100%; max-width: 340px; padding: 22px 20px 18px; text-align: center;
background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--brand);
border-radius: 18px; box-shadow: 0 20px 50px rgb(0 0 0 / 0.3);
animation: dialog-in 0.38s var(--spring) both;
}
.dialog-backdrop.closing { animation: fade-out 0.18s ease both; }
.dialog-backdrop.closing .dialog { animation: dialog-out 0.18s ease-in both; }
.dialog-emoji { font-size: 40px; line-height: 1.2; animation: pop 0.5s var(--spring) both 0.08s; }
.dialog h2 { font-size: 18px; letter-spacing: 0.04em; margin-top: 6px; overflow-wrap: anywhere; }
.dialog p { margin: 8px 0 0; font-size: 14px; }
.dialog input { margin-top: 14px; text-align: center; background-color: var(--bg); }
.dialog-actions { display: flex; gap: 10px; margin-top: 18px; }
.dialog-actions button { flex: 1; padding: 12px; }
button.plain { background: var(--soft); color: var(--text); }
button.danger.solid { background: var(--warn); color: var(--card); box-shadow: 0 5px 12px color-mix(in srgb, var(--warn) 30%, transparent); }
.auth { padding-top: 10vh; text-align: center; }
.auth h1 { font-size: 34px; letter-spacing: 0.3em; margin-left: 0.3em; }
.auth form { text-align: left; }
.auth form button:not(.eye) { width: 100%; margin-top: 20px; padding: 14px; }
.auth > button { width: 100%; margin-top: 8px; }
.auth > button.google {
display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; padding: 13px;
background: var(--card); color: var(--text); border: 1.5px solid var(--line); box-shadow: var(--shadow);
}
.or { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
.leaves { display: none; }
}
.ai-note {
margin-top: 10px; padding: 14px; background: var(--card); border: 1px solid var(--line);
border-radius: 14px; box-shadow: var(--shadow);
}
.ai-note-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ai-note-actions { display: flex; gap: 12px; }
.ai-note-text { margin: 8px 0 0; line-height: 1.7; overflow-wrap: anywhere; }
.ai-note .muted { margin: 6px 0 10px; }
.ai-note .notice { margin: 10px 0 0; }
.cropper {
position: fixed; inset: 0; z-index: 45; background: rgb(0 0 0 / 0.94); color: #fff;
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
padding: calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
animation: fade-in 0.2s ease backwards; touch-action: none; user-select: none; -webkit-user-select: none;
}
.cropper-title { font-size: 17px; font-weight: 700; }
.crop-stage { position: relative; width: min(86vw, 52vh, 360px); aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: #111; }
.crop-stage canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.crop-stage canvas:active { cursor: grabbing; }
.crop-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 999px rgb(0 0 0 / 0.55); pointer-events: none; }
.crop-stage.wide { width: min(92vw, 520px); aspect-ratio: var(--crop-aspect); }
.crop-frame { position: absolute; inset: 0; border: 2px solid #fff; border-radius: 14px; pointer-events: none; }
.crop-loading { position: absolute; inset: 0; display: grid; place-items: center; color: #ccc; }
.crop-zoom { display: flex; align-items: center; gap: 10px; width: min(86vw, 360px); margin: 0; color: #fff; }
.crop-zoom input { display: block; flex: 1; margin: 0; padding: 0; accent-color: #fff; touch-action: pan-x; }
.cropper-hint { margin: 0; font-size: 13px; color: #c9c9c9; text-align: center; }
.cropper-actions { display: flex; gap: 10px; width: min(86vw, 360px); }
.cropper-actions button { flex: 1; padding: 13px; }
.cropper-actions .primary { flex: 2; }
:root[data-vt] main { view-transition-name: page; }
:root[data-vt] header.bar { view-transition-name: top-bar; }
:root[data-vt] .seg.tabbar { view-transition-name: tab-bar; }
:root[data-vt] .seg.tabs { view-transition-name: trip-tabs; }
::view-transition-group(trip-tabs) { animation: none; }
::view-transition-old(trip-tabs) { display: none; }
::view-transition-new(trip-tabs) { animation: none; mix-blend-mode: normal; }
::view-transition-group(top-bar), ::view-transition-group(tab-bar) { animation: none; }
::view-transition-old(top-bar), ::view-transition-old(tab-bar) { display: none; }
::view-transition-new(top-bar), ::view-transition-new(tab-bar) { animation: none; mix-blend-mode: normal; }
:root[data-vt] .page-in, :root[data-vt] .pop { animation-duration: 0.01s !important; animation-delay: 0s !important; }
::view-transition-group(root) { animation: none; }
::view-transition-old(root) { display: none; }
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-group(page) { animation: none; overflow-x: clip; }
::view-transition-old(page), ::view-transition-new(page) {
animation-duration: 0.34s; animation-timing-function: cubic-bezier(0.22, 0.8, 0.24, 1); animation-fill-mode: both;
mix-blend-mode: normal; height: auto;
}
:root[data-vt='forward']::view-transition-old(page) { animation-name: vt-out-left; }
:root[data-vt='forward']::view-transition-new(page) { animation-name: vt-in-right; }
:root[data-vt='back']::view-transition-old(page) { animation-name: vt-out-right; }
:root[data-vt='back']::view-transition-new(page) { animation-name: vt-in-left; }
:root[data-vt='next']::view-transition-old(page) { animation-name: vt-slide-out-left; animation-duration: 0.3s; }
:root[data-vt='next']::view-transition-new(page) { animation-name: vt-slide-in-right; animation-duration: 0.3s; }
:root[data-vt='prev']::view-transition-old(page) { animation-name: vt-slide-out-right; animation-duration: 0.3s; }
:root[data-vt='prev']::view-transition-new(page) { animation-name: vt-slide-in-left; animation-duration: 0.3s; }
:root[data-vt='next'] .hero, :root[data-vt='prev'] .hero { view-transition-name: tab-hero; }
:root[data-vt] .fab { view-transition-name: fab; }
::view-transition-group(fab) { animation-duration: 0.2s; }
::view-transition-group(tab-hero) { animation-duration: 0.3s; animation-timing-function: cubic-bezier(0.22, 0.8, 0.24, 1); }
::view-transition-old(tab-hero), ::view-transition-new(tab-hero) { height: auto; animation-duration: 0.22s; }
:root[data-vt='next']::view-transition-old(tab-hero):only-child { animation: vt-hero-out-left 0.3s cubic-bezier(0.22, 0.8, 0.24, 1) both; }
:root[data-vt='prev']::view-transition-old(tab-hero):only-child { animation: vt-hero-out-right 0.3s cubic-bezier(0.22, 0.8, 0.24, 1) both; }
:root[data-vt='next']::view-transition-new(tab-hero):only-child { animation: vt-hero-in-right 0.3s cubic-bezier(0.22, 0.8, 0.24, 1) both; }
:root[data-vt='prev']::view-transition-new(tab-hero):only-child { animation: vt-hero-in-left 0.3s cubic-bezier(0.22, 0.8, 0.24, 1) both; }
@keyframes vt-hero-out-left { to { transform: translateX(calc(-100% - 32px)); } }
@keyframes vt-hero-out-right { to { transform: translateX(calc(100% + 32px)); } }
@keyframes vt-hero-in-right { from { transform: translateX(calc(100% + 32px)); } }
@keyframes vt-hero-in-left { from { transform: translateX(calc(-100% - 32px)); } }
@keyframes vt-slide-out-left { to { transform: translateX(-100%); } }
@keyframes vt-slide-in-right { from { transform: translateX(100%); } }
@keyframes vt-slide-out-right { to { transform: translateX(100%); } }
@keyframes vt-slide-in-left { from { transform: translateX(-100%); } }
@keyframes vt-out-left { to { transform: translateX(-30%); opacity: 0; } }
@keyframes vt-in-right { from { transform: translateX(60%); opacity: 0; } }
@keyframes vt-out-right { to { transform: translateX(60%); opacity: 0; } }
@keyframes vt-in-left { from { transform: translateX(-30%); opacity: 0; } }
.item.fresh { animation: item-in 0.5s var(--spring) backwards, item-flash 1.6s ease-out 0.15s backwards; }
@keyframes item-in { from { opacity: 0; transform: translateY(-14px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes item-flash {
0%, 35% { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent), var(--shadow); }
}
.item.leaving { animation: item-leave 0.34s var(--smooth) forwards; overflow: hidden; pointer-events: none; }
@keyframes item-leave {
from { max-height: 96px; opacity: 1; }
to { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; border-width: 0; margin-bottom: -10px; transform: scale(0.96); }
}
.sk {
display: block; border-radius: 8px;
background: linear-gradient(100deg, var(--soft) 30%, color-mix(in srgb, var(--soft) 55%, var(--card)) 50%, var(--soft) 70%) 0 0 / 220% 100%;
animation: sk-shimmer 1.3s linear infinite;
}
@keyframes sk-shimmer { from { background-position: 120% 0; } to { background-position: -100% 0; } }
.skeleton { display: grid; gap: 10px; }
.sk-hero { height: 132px; border-radius: 18px; margin-bottom: 8px; }
.sk-row {
display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--card);
border: 1px solid var(--line); border-radius: 14px; animation: fade-in 0.3s ease backwards; animation-delay: calc(var(--d, 0) * 60ms);
}
.sk-dot { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.sk-line { height: 14px; }
.sk-line.thin { height: 10px; margin-top: 8px; }
.bar-fill { transform-origin: left center; animation: bar-grow 0.75s var(--smooth) calc(0.12s + var(--i, 0) * 0.06s) backwards; }
@keyframes bar-grow { from { transform: scaleX(0); } }
.toast {
position: fixed; z-index: 50; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom));
display: flex; align-items: center; gap: 8px; padding: 10px 18px 10px 12px; border-radius: 999px;
background: var(--text); color: var(--bg); font-weight: 700; font-size: 14px; white-space: nowrap;
box-shadow: 0 8px 24px rgb(0 0 0 / 0.25); pointer-events: none;
animation: toast-in 0.42s var(--spring) backwards; translate: -50% 0;
}
.toast.out { opacity: 0; transform: translateY(10px); transition: opacity 0.3s, transform 0.3s; }
.toast-mark {
display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
background: var(--good); color: #fff; font-size: 13px; animation: toast-mark 0.5s var(--spring) 0.12s backwards;
}
@keyframes toast-in { from { opacity: 0; transform: translateY(18px) scale(0.85); } }
@keyframes toast-mark { from { transform: scale(0) rotate(-90deg); } }
.confetti { position: fixed; z-index: 48; left: 50%; top: 42%; width: 0; height: 0; pointer-events: none; }
.confetti i { position: absolute; left: -5px; top: -7px; width: 10px; height: 14px; border-radius: 2px; }
.ptr {
position: fixed; z-index: 7; left: 50%; top: calc(-44px + env(safe-area-inset-top)); width: 36px; height: 36px;
display: grid; place-items: center; border-radius: 50%; background: var(--card); border: 1px solid var(--line);
box-shadow: var(--shadow); transform: translate(-50%, 0); opacity: 0; pointer-events: none;
}
.ptr span {
width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--brand);
}
.ptr.ready span { border-color: var(--brand); border-top-color: transparent; }
.ptr.spin span { animation: ptr-spin 0.7s linear infinite; }
@keyframes ptr-spin { to { rotate: 360deg; } }
.info-btn {
flex: none; width: 22px; height: 22px; padding: 0; margin-left: 2px; border-radius: 50%;
border: 1.5px solid var(--muted); background: none; color: var(--muted);
font: italic 700 13px/1 Georgia, 'Times New Roman', serif;
display: inline-flex; align-items: center; justify-content: center;
position: relative; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.info-btn::after { content: ''; position: absolute; inset: -11px; }
.info-btn.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.info-text { margin: 0 0 10px; }
.key-row { align-items: center; gap: 4px; }
.key-row .pill { min-width: 0; white-space: normal; margin-right: 6px; }
.key-row button { flex: none; white-space: nowrap; }
.key-change { flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.key-change > .grow { flex: 1 1 100%; }
.thumb-photo { position: relative; flex: none; width: 52px; height: 52px; margin: -4px 0 -4px -4px; }
.thumb-photo img {
width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px;
background: var(--soft); border: 1px solid var(--line);
}
.thumb-more {
position: absolute; left: 3px; top: 3px; padding: 0 5px; border-radius: 6px;
background: rgb(0 0 0 / 0.65); color: #fff; font-size: 10px; font-weight: 700; line-height: 16px;
}
.thumb-cat {
position: absolute; right: -5px; bottom: -5px; width: 22px; height: 22px; border-radius: 50%;
background: var(--card, var(--bg)); border: 1px solid var(--line); font-size: 12px;
display: grid; place-items: center;
}
.photo-strip {
display: flex; gap: 8px; margin: 4px -18px 14px; padding: 0 18px; overflow-x: auto;
scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x pan-y;
}
.photo-strip::-webkit-scrollbar { display: none; }
.photo-strip .photo { flex: none; width: 84px; height: 84px; }
.photo-strip .photo:active { transform: none; }
.lightbox-count {
position: absolute; top: calc(14px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%);
padding: 3px 12px; border-radius: 999px; background: rgb(255 255 255 / 0.16); color: #fff; font-size: 13px; font-weight: 700;
}
button.lightbox-nav {
position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; padding: 0 0 4px; border-radius: 50%;
background: rgb(255 255 255 / 0.16); color: #fff; font-size: 30px; line-height: 1; box-shadow: none;
display: grid; place-items: center;
}
button.lightbox-nav.prev { left: 10px; }
button.lightbox-nav.next { right: 10px; }
button.lightbox-nav:active { transform: translateY(-50%) scale(0.92); }
.lightbox img { position: relative; z-index: 1; }
.lightbox img.preview {
position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%;
max-width: none; max-height: none; object-fit: contain; filter: blur(6px); opacity: 0.85;
}
.lightbox-count, button.lightbox-nav { z-index: 2; }
.photo-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.photo-wall .photo { width: 100%; border-radius: 10px; }
.photo-wall .photo:active { transform: scale(0.97); }
@media (min-width: 520px) { .photo-wall { grid-template-columns: repeat(4, 1fr); } }
.lightbox-caption {
position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px;
padding: 28px 16px calc(14px + env(safe-area-inset-bottom));
background: linear-gradient(transparent, rgb(0 0 0 / 0.78)); color: #fff; cursor: default; text-align: left;
}
.lightbox-title { display: block; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lightbox-sub { display: block; font-size: 12px; opacity: 0.8; margin-top: 2px; }
.lightbox-caption button {
flex: none; padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / 0.2); color: #fff;
font-size: 13px; box-shadow: none; white-space: nowrap;
}
.photo-square-wrap { position: relative; width: min(100%, 46vh); margin: 4px auto 14px; }
.photo-square {
display: flex; aspect-ratio: 1; overflow-x: auto; overflow-y: hidden; border-radius: 16px; background: var(--line);
scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x pan-y;
}
.photo-square::-webkit-scrollbar { display: none; }
.photo-square .slide {
flex: none; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; box-shadow: none; cursor: zoom-in;
scroll-snap-align: center; scroll-snap-stop: always; background: var(--line); position: relative; overflow: hidden;
}
.photo-square .slide:active { transform: none; }
.photo-square .slide img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-count {
position: absolute; top: 10px; right: 10px; padding: 2px 9px; border-radius: 999px; pointer-events: none;
background: rgb(0 0 0 / 0.55); color: #fff; font-size: 12px; font-weight: 700;
}
.photo-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 2px; pointer-events: none; }
.photo-dots button {
pointer-events: auto; width: 18px; height: 18px; padding: 0; border: 0; background: none; box-shadow: none;
display: grid; place-items: center;
}
.photo-dots button::before {
content: ''; width: 6px; height: 6px; border-radius: 50%; background: rgb(255 255 255 / 0.55);
box-shadow: 0 0 2px rgb(0 0 0 / 0.5); transition: transform 0.2s, background 0.2s;
}
.photo-dots button.on::before { background: #fff; transform: scale(1.35); }
.order-extra { margin: 8px 2px 2px; display: grid; gap: 6px; }
.order-extra-row { display: flex; align-items: center; gap: 6px; }
.order-extra-label { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; }
.order-extra-row .chip {
flex: none; padding: 6px 7px; border-radius: 999px; font-size: 13px; box-shadow: none;
background: var(--card, var(--bg)); color: inherit; border: 1px solid var(--line);
}
.order-extra-row .chip.on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.order-extra-input { flex: none; display: flex; align-items: center; gap: 3px; font-size: 13px; }
.order-extra-input input { width: 66px; padding: 6px 6px; text-align: right; font-size: 14px; }
.order-extra-sum { margin: 0 2px; opacity: 0.85; }
.album {
position: fixed; inset: 0; z-index: 20; background: var(--bg); color: var(--text); overflow-y: auto;
overscroll-behavior: contain; animation: sheet-up 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.album.closing { animation: sheet-down 0.2s ease-in both; }
.album-bar {
position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 10px;
padding: calc(12px + env(safe-area-inset-top)) 16px 10px; background: var(--bg); border-bottom: 1px solid var(--line);
}
.album-bar .title { font-weight: 700; font-size: 17px; }
.album-body { max-width: 560px; margin: 0 auto; padding: 4px 16px calc(28px + env(safe-area-inset-bottom)); }
.album-day { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 8px; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .album, .album.closing { animation-duration: 0.01s; } }
.scan-view {
position: relative; margin-top: 12px; height: 150px; border-radius: 14px; overflow: hidden;
background: var(--soft); border: 1.5px dashed var(--brand);
}
.scan-view img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.scan-line {
position: absolute; left: 0; right: 0; top: -36%; height: 36%; pointer-events: none;
background: linear-gradient(transparent, color-mix(in srgb, var(--brand) 38%, transparent));
border-bottom: 2px solid var(--brand); box-shadow: 0 2px 10px var(--brand);
animation: scan-sweep 1.5s ease-in-out infinite alternate;
}
@keyframes scan-sweep { to { top: 100%; } }
.scan-label {
position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap;
padding: 5px 14px; border-radius: 999px; background: rgb(0 0 0 / 0.62); color: #fff; font-size: 14px; font-weight: 700;
}
.scan-label .scan-emoji { font-size: 15px; animation: wiggle 0.7s ease-in-out infinite; }
.total-bump { display: inline-block; transform-origin: left center; animation: total-bump 0.35s var(--spring); }
@keyframes total-bump { 40% { transform: scale(1.14); color: var(--brand-ink); } }
.paid-check {
flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin: 0 8px; border-radius: 50%;
background: var(--good); animation: paid-pop 0.4s var(--spring) backwards;
}
.paid-check svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.paid-check path { stroke-dasharray: 24; animation: paid-draw 0.35s ease-out 0.12s backwards; }
@keyframes paid-pop { from { transform: scale(0.3); opacity: 0; } }
@keyframes paid-draw { from { stroke-dashoffset: 24; } }
@media (prefers-reduced-motion: reduce) { .scan-line { display: none; } }
.home-bar {
padding-top: calc(14px - var(--k, 0) * 6px + env(safe-area-inset-top)); padding-bottom: calc(12px - var(--k, 0) * 4px);
border-bottom: 1px solid color-mix(in srgb, var(--line) calc(var(--k, 0) * 100%), transparent);
}
.home-bar h1 { font-size: calc(22px - var(--k, 0) * 5px); }
.home-bar .trip-emoji { font-size: calc(24px - var(--k, 0) * 6px); }
button.new-trip { flex: none; display: flex; align-items: center; padding: 8px calc(14px - var(--k, 0) * 3px); border-radius: 999px; font-size: 14px; }
.new-trip-label { display: inline-block; max-width: calc((1 - var(--k, 0)) * 4.4em); margin-left: calc((1 - var(--k, 0)) * 4px); opacity: calc(1 - var(--k, 0)); overflow: hidden; white-space: nowrap; }
.trip-feature {
cursor: pointer; transition: transform 0.25s var(--spring);
display: flex; flex-direction: column; align-items: stretch; gap: 6px; width: 100%; padding: 18px 18px 16px;
border-radius: 20px; text-align: left; color: var(--on-brand); font-weight: 400;
background: var(--pattern), linear-gradient(160deg, var(--brand-2), var(--brand));
box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 28%, transparent);
}
.trip-feature-top { display: flex; align-items: flex-start; gap: 10px; }
.trip-feature-emoji { font-size: 30px; line-height: 1; }
.trip-feature-name { min-width: 0; font-size: 18px; font-weight: 700; }
.trip-feature .chev { opacity: 0.8; font-size: 22px; }
.trip-feature-amount { margin-top: 14px; font-size: 30px; font-weight: 800; letter-spacing: 0.01em; line-height: 1.15; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trip-feature-amount.quiet { font-size: 15px; font-weight: 400; opacity: 0.9; }
.trip-feature-status {
align-self: flex-start; margin-top: 2px; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
background: color-mix(in srgb, var(--on-brand) 22%, transparent);
}
.trip-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.trip-stack > :active { transform: scale(0.98); }
.trip-name { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; line-height: 1.3; }
.trip-older-status { flex: none; max-width: 46%; text-align: right; }
.arrange-hint { margin: 0 0 4px; }
.arrange-row { gap: 8px; padding: 9px 10px; }
.arrange-row .step { flex: none; width: 36px; height: 36px; padding: 0; border-radius: 10px; }
.arrange-row .step:disabled { opacity: 0.3; }
.arrange-row .plain { flex: none; }
button.trip-older-toggle {
display: flex; width: 100%; margin-top: 18px; padding: 8px 4px; background: none; box-shadow: none; border-radius: 8px;
color: var(--muted); font-size: 13px; font-weight: 400; text-align: left;
}
.trip-older { margin-top: 4px; gap: 6px; }
.trip-older .item { padding: 9px 12px; border-radius: 12px; box-shadow: none; }
.trip-older-emoji { font-size: 18px; }
.empty .home-actions { justify-content: center; }
:root[data-vt='forward'] .vt-hero, :root[data-vt='back'] .vt-hero,
:root[data-vt='forward'] .hero-main, :root[data-vt='back'] .hero-main { view-transition-name: trip-hero; }
::view-transition-group(trip-hero) { animation-duration: 0.42s; animation-timing-function: cubic-bezier(0.22, 0.8, 0.24, 1); }
::view-transition-old(trip-hero), ::view-transition-new(trip-hero) { height: 100%; object-fit: cover; animation-duration: 0.14s; animation-timing-function: ease-out; }
:root[data-vt='forward']::view-transition-old(page), :root[data-vt='back']::view-transition-old(page) { animation-name: fade-out; animation-duration: 0.18s; }
:root[data-vt='forward']::view-transition-new(page), :root[data-vt='back']::view-transition-new(page) { animation-name: fade-in; animation-duration: 0.3s; animation-delay: 0.1s; }
button.arrange-open { background: var(--card); border: 1px solid var(--line); box-shadow: none; color: var(--text); }
.arrange-row .trip-name { font-weight: 700; }
.trip-feature { min-height: 240px; }
.trip-feature-foot { display: flex; align-items: flex-end; gap: 10px; margin-top: auto; padding-top: 10px; }
.trip-feature-facts { display: flex; align-items: flex-end; min-width: 0; }
.trip-feature-facts .tf-stat { display: flex; flex-direction: column; flex: none; min-width: 0; font-family: var(--serif); line-height: 1.25; }
.trip-feature-facts .tf-stat + .tf-stat { flex: 0 1 auto; margin-left: 12px; padding-left: 12px; border-left: 1.5px dotted rgb(255 255 255 / 0.45); }
.trip-feature-facts .tf-stat small { display: flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; opacity: 0.85; white-space: nowrap; }
.trip-feature-facts .tf-stat i { font-style: normal; font-size: 12px; }
.trip-feature-facts .tf-stat b { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
button.trip-feature-add {
flex: none; padding: 9px 16px; border-radius: 999px; font-size: 14px;
background: var(--on-brand); color: var(--brand-ink); box-shadow: 0 2px 8px rgb(0 0 0 / 0.15);
}
.theme-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
button.theme-swatch {
display: flex; flex-direction: column; align-items: stretch; gap: 5px; min-width: 0; padding: 5px 5px 7px;
border-radius: 14px; background: var(--card); border: 1.5px solid var(--line); box-shadow: none;
font-weight: 400; font-size: 12px; color: var(--text); white-space: normal; line-height: 1.25;
}
.theme-swatch-color { display: grid; place-items: center; height: 44px; border-radius: 10px; font-size: 20px; }
button.theme-swatch.on { border-color: var(--brand); box-shadow: 0 0 0 1.5px var(--brand); font-weight: 700; }
label .theme-picker { margin-top: 5px; }
.cover-picker {
display: flex; gap: 8px; margin: 8px -18px 0; padding: 2px 18px 8px; overflow-x: auto; scrollbar-width: none;
scroll-snap-type: x proximity; touch-action: pan-x pan-y; overscroll-behavior-x: contain;
}
main .cover-picker { margin-inline: -16px; padding-inline: 16px; }
.cover-picker::-webkit-scrollbar { display: none; }
button.cover-option {
flex: none; width: 150px; padding: 4px 4px 6px; border-radius: 14px; scroll-snap-align: start;
display: flex; flex-direction: column; gap: 5px; text-align: left; white-space: normal; font-weight: 400;
background: var(--card); border: 1.5px solid var(--line); box-shadow: none; color: var(--text);
}
button.cover-option.on { border-color: var(--brand); box-shadow: 0 0 0 1.5px var(--brand); }
.cover-option, .theme-swatch { contain: layout style; }
.cover-option img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 10px; background: var(--soft); }
.cover-title { padding: 0 3px; font-size: 12px; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.cover-rec { margin-right: 4px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-size: 11px; font-weight: 700; }
button.cover-option.none { width: 96px; justify-content: center; }
.cover-none { display: grid; place-items: center; height: 100%; min-height: 60px; color: var(--muted); font-size: 13px; text-align: center; }
.field-title .muted { font-weight: 400; }
.trip-feature.has-cover {
position: relative; overflow: hidden; color: #fff; text-shadow: 0 1px 6px rgb(0 0 0 / 0.55);
background: var(--soft); box-shadow: 0 10px 24px rgb(0 0 0 / 0.22);
}
.trip-cover, .trip-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.trip-feature.has-cover::before {
content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
background: linear-gradient(180deg, rgb(0 0 0 / 0.2), rgb(0 0 0 / 0.28) 40%, rgb(0 0 0 / 0.68));
}
.trip-feature.has-cover > :not(.trip-cover) { position: relative; z-index: 2; }
.trip-feature.has-cover .trip-feature-amount { margin-top: 34px; }
.trip-feature.has-cover .trip-feature-status { background: rgb(255 255 255 / 0.24); }
.trip-feature.has-cover .trip-feature-add { background: #fff; color: #222; text-shadow: none; }
label.cover-option {
flex: none; width: 150px; margin: 0; padding: 4px 4px 6px; border-radius: 14px; scroll-snap-align: start; cursor: pointer;
display: flex; flex-direction: column; gap: 5px; background: var(--card); border: 1.5px solid var(--line); color: var(--text);
}
label.cover-option.on { border-color: var(--brand); box-shadow: 0 0 0 1.5px var(--brand); }
label.cover-option.busy { opacity: 0.6; cursor: default; }
label.cover-option input { display: none; }
.cover-own-empty { display: grid; place-items: center; aspect-ratio: 8 / 5; border-radius: 10px; border: 1.5px dashed var(--brand); background: var(--soft); font-size: 22px; }
.app-mark { width: 1.3em; height: 1.3em; border-radius: 24%; display: block; box-shadow: 0 2px 8px rgb(0 0 0 / 0.14); }
.trip-emoji .app-mark { box-shadow: none; }
.walker { position: relative; height: 116px; overflow: hidden; margin: 0 -16px 8px; }
.walker-pos { position: absolute; left: 50%; bottom: 2px; margin-left: -38px; color: var(--text); animation: walker-pos 8s linear infinite; }
.walker-body { display: block; overflow: visible; transform-origin: 50% 100%; animation: walker-body 8s linear infinite; }
.walker-hat { transform-box: fill-box; transform-origin: 20% 100%; animation: walker-hat 8s ease-in-out infinite; }
.walker-foot { transform-box: fill-box; }
.walker-foot.l { animation: walker-foot-l 8s linear infinite; }
.walker-foot.r { animation: walker-foot-r 8s linear infinite; }
@keyframes walker-pos { 0% { transform: translateX(-65vw); } 30%, 70% { transform: translateX(0); } 100% { transform: translateX(65vw); } }
@keyframes walker-hat { 0%, 40%, 62%, 100% { transform: none; } 46%, 56% { transform: translateY(-18px) rotate(-14deg); } }
@keyframes walker-body { 0% { transform: translateY(0) rotate(5deg); } 1.875% { transform: translateY(-5px) rotate(5deg); } 3.75% { transform: translateY(0) rotate(5deg); } 5.625% { transform: translateY(-5px) rotate(5deg); } 7.5% { transform: translateY(0) rotate(5deg); } 9.375% { transform: translateY(-5px) rotate(5deg); } 11.25% { transform: translateY(0) rotate(5deg); } 13.125% { transform: translateY(-5px) rotate(5deg); } 15% { transform: translateY(0) rotate(5deg); } 16.875% { transform: translateY(-5px) rotate(5deg); } 18.75% { transform: translateY(0) rotate(5deg); } 20.625% { transform: translateY(-5px) rotate(5deg); } 22.5% { transform: translateY(0) rotate(5deg); } 24.375% { transform: translateY(-5px) rotate(5deg); } 26.25% { transform: translateY(0) rotate(5deg); } 28.125% { transform: translateY(-5px) rotate(5deg); } 30% { transform: translateY(0) rotate(0deg); } 69.9% { transform: translateY(0) rotate(0deg); } 70% { transform: translateY(0) rotate(5deg); } 71.875% { transform: translateY(-5px) rotate(5deg); } 73.75% { transform: translateY(0) rotate(5deg); } 75.625% { transform: translateY(-5px) rotate(5deg); } 77.5% { transform: translateY(0) rotate(5deg); } 79.375% { transform: translateY(-5px) rotate(5deg); } 81.25% { transform: translateY(0) rotate(5deg); } 83.125% { transform: translateY(-5px) rotate(5deg); } 85% { transform: translateY(0) rotate(5deg); } 86.875% { transform: translateY(-5px) rotate(5deg); } 88.75% { transform: translateY(0) rotate(5deg); } 90.625% { transform: translateY(-5px) rotate(5deg); } 92.5% { transform: translateY(0) rotate(5deg); } 94.375% { transform: translateY(-5px) rotate(5deg); } 96.25% { transform: translateY(0) rotate(5deg); } 98.125% { transform: translateY(-5px) rotate(5deg); } 100% { transform: translateY(0) rotate(5deg); } }
@keyframes walker-foot-l { 0% { transform: translateY(0); } 1.875% { transform: translateY(-18px); } 3.75% { transform: translateY(0); } 5.625% { transform: translateY(0); } 7.5% { transform: translateY(0); } 9.375% { transform: translateY(-18px); } 11.25% { transform: translateY(0); } 13.125% { transform: translateY(0); } 15% { transform: translateY(0); } 16.875% { transform: translateY(-18px); } 18.75% { transform: translateY(0); } 20.625% { transform: translateY(0); } 22.5% { transform: translateY(0); } 24.375% { transform: translateY(-18px); } 26.25% { transform: translateY(0); } 28.125% { transform: translateY(0); } 30% { transform: translateY(0); } 69.9% { transform: translateY(0); } 70% { transform: translateY(0); } 71.875% { transform: translateY(-18px); } 73.75% { transform: translateY(0); } 75.625% { transform: translateY(0); } 77.5% { transform: translateY(0); } 79.375% { transform: translateY(-18px); } 81.25% { transform: translateY(0); } 83.125% { transform: translateY(0); } 85% { transform: translateY(0); } 86.875% { transform: translateY(-18px); } 88.75% { transform: translateY(0); } 90.625% { transform: translateY(0); } 92.5% { transform: translateY(0); } 94.375% { transform: translateY(-18px); } 96.25% { transform: translateY(0); } 98.125% { transform: translateY(0); } 100% { transform: translateY(0); } }
@keyframes walker-foot-r { 0% { transform: translateY(0); } 1.875% { transform: translateY(0); } 3.75% { transform: translateY(0); } 5.625% { transform: translateY(-18px); } 7.5% { transform: translateY(0); } 9.375% { transform: translateY(0); } 11.25% { transform: translateY(0); } 13.125% { transform: translateY(-18px); } 15% { transform: translateY(0); } 16.875% { transform: translateY(0); } 18.75% { transform: translateY(0); } 20.625% { transform: translateY(-18px); } 22.5% { transform: translateY(0); } 24.375% { transform: translateY(0); } 26.25% { transform: translateY(0); } 28.125% { transform: translateY(-18px); } 30% { transform: translateY(0); } 69.9% { transform: translateY(0); } 70% { transform: translateY(0); } 71.875% { transform: translateY(0); } 73.75% { transform: translateY(0); } 75.625% { transform: translateY(-18px); } 77.5% { transform: translateY(0); } 79.375% { transform: translateY(0); } 81.25% { transform: translateY(0); } 83.125% { transform: translateY(-18px); } 85% { transform: translateY(0); } 86.875% { transform: translateY(0); } 88.75% { transform: translateY(0); } 90.625% { transform: translateY(-18px); } 92.5% { transform: translateY(0); } 94.375% { transform: translateY(0); } 96.25% { transform: translateY(0); } 98.125% { transform: translateY(-18px); } 100% { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
.walker-pos, .walker-body, .walker-hat, .walker-foot { animation: none !important; }
}
.tight-comma { margin-right: -0.4em; }
button.eye svg { overflow: visible; }
.eye-hat { transform-origin: 16px 12px; transform: translateY(6.5px); transition: transform 0.28s var(--spring, ease-out); }
.eye-dot { opacity: 0; transition: opacity 0.15s; }
button.eye[aria-pressed='true'] .eye-hat { transform: translateY(-1.500px) rotate(-12deg); }
button.eye[aria-pressed='true'] .eye-dot { opacity: 1; }
.splash {
min-height: 100dvh; box-sizing: border-box; display: grid; place-content: center; justify-items: center;
padding: 0 24px calc(14vh + env(safe-area-inset-bottom)); text-align: center; color: var(--text);
}
.splash svg { display: block; overflow: visible; animation: splash-bob 0.56s ease-in-out infinite; }
.splash h1 { margin: 14px 0 6px 0.3em; font-size: 30px; letter-spacing: 0.3em; }
.splash p { margin: 0; color: var(--muted); font-size: 14px; }
:root[lang='en'] .splash h1 { font-size: 0; margin-left: 0; letter-spacing: 0; }
:root[lang='en'] .splash h1::before { content: 'AA Sensei'; font-size: 30px; letter-spacing: 0.06em; }
:root[lang='en'] .splash p { font-size: 0; }
:root[lang='en'] .splash p::before { content: 'Crunching numbers'; font-size: 14px; }
:root[lang='en'] .splash-dots { vertical-align: 0.1em; }
.auth-foot { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.auth-lang { font-size: inherit; }
.splash-foot { transform-box: fill-box; animation: splash-step 0.56s ease-in-out infinite; }
.splash-foot.r { animation-delay: -0.28s; }
.splash-dots { display: inline-flex; gap: 4px; margin-left: 6px; vertical-align: 0.1em; }
.splash-dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: splash-dot 1.1s ease-in-out infinite; }
.splash-dots i:nth-child(2) { animation-delay: 0.15s; }
.splash-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes splash-bob { 0%, 50%, 100% { transform: translateY(0); } 25%, 75% { transform: translateY(-3px); } }
@keyframes splash-step { 0%, 50%, 100% { transform: translateY(0); } 25% { transform: translateY(-16px); } }
@keyframes splash-dot { 0%, 60%, 100% { opacity: 0.25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) {
.splash svg, .splash-foot, .splash-dots i { animation: none !important; }
}
.no-enter .pop:not(.notice):not(.info-text), .no-enter .big-emoji.still, .no-enter .split-list, .fab.still { animation: none; }
.balance-row { flex-wrap: wrap; }
.balance-row .grow { flex: 1 1 130px; min-width: 0; }
.balance-row .grow .small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.balance-row .pill { margin-left: auto; }
:root[lang='en'] h1, :root[lang='en'] h2, :root[lang='en'] h3,
:root[lang='en'] .hero-label, :root[lang='en'] .seg button, :root[lang='en'] .fab, :root[lang='en'] button,
:root[lang='en'] .form-sect-title, :root[lang='en'] .day-head b, :root[lang='en'] .diary-head b { letter-spacing: 0.01em; }
:root[lang='en'] .seg button { font-size: 14px; }
:root[lang='en'] .seg.tabbar button { font-size: 12px; }
:root[lang='en'] .new-trip-label { max-width: calc((1 - var(--k, 0)) * 5.6em); }
:root[lang='en'] .arrange-open .new-trip-label { display: none; }
:root[lang='en'] .home-bar h1 { font-size: calc(19px - var(--k, 0) * 4px); }
button.menu-head-main { white-space: normal; }
.me-row-head .me-row-title { min-width: 0; overflow-wrap: anywhere; white-space: normal; line-height: 1.35; }
.me-row-head .me-row-status { flex: none; }
.row > .grow.pill { white-space: normal; min-width: 0; }
:root[lang='en'] .film-bar { gap: 6px; padding-left: 8px; padding-right: 8px; }
:root[lang='en'] .film-bar button { padding: 12px 4px; font-size: 13px; }
.fb-kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.fb-kinds button {
display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px 10px; white-space: normal;
background: var(--card); color: var(--text); border: 1.5px solid var(--line); border-radius: 14px; box-shadow: none;
font-size: 13px; font-weight: 700; letter-spacing: 0; line-height: 1.3;
}
.fb-kinds button i { font-style: normal; font-size: 24px; line-height: 1.2; }
.fb-kinds button.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, var(--card)); color: var(--brand-ink); }
.fb-count { text-align: right; font-size: 11px; margin-top: 3px; }
.fb-meta { margin: 0 0 8px; padding: 9px 12px; border-radius: 12px; background: var(--soft); line-height: 1.6; }
.fb-ask { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.fb-ask .info-btn { font-style: italic; font-family: Georgia, 'Times New Roman', serif; }
.fb-done { text-align: center; padding: 26px 10px 18px; }
.fb-bow { display: block; margin: 0 auto 4px; color: var(--text); overflow: visible; }
.bow-body { transform-origin: 256px 476px; animation: bow-body 3.2s var(--smooth) infinite; }
.bow-hat { transform-origin: 256px 226px; animation: bow-hat 3.2s var(--smooth) infinite; }
@keyframes bow-body {
0%, 8%, 38%, 46%, 76%, 100% { transform: none; }
18%, 30% { transform: translateY(10px) scaleY(0.78); }
56%, 68% { transform: translateY(10px) scaleY(0.78); }
}
@keyframes bow-hat {
0%, 8%, 38%, 46%, 76%, 100% { transform: none; }
18%, 30% { transform: translateY(34px) scaleY(0.82); }
56%, 68% { transform: translateY(34px) scaleY(0.82); }
}
@media (prefers-reduced-motion: reduce) { .bow-body, .bow-hat { animation: none; } }
.fb-done b { display: block; font-family: var(--serif); font-size: 20px; margin: 6px 0 4px; }
.fb-done p { margin: 0; line-height: 1.7; }
.me-badge { flex: none; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--warn); color: #fff; font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.seg.admin-view { margin-bottom: 14px; }
.seg.fb-status { margin-bottom: 10px; }
.seg.fb-status button { font-size: 14px; letter-spacing: 0.02em; white-space: nowrap; }
.chips.wrap.fb-filter { margin: 0 0 12px; gap: 6px; }
.fb-filter .cat { padding: 6px 10px; font-size: 13px; }
.fb-item { display: block; }
.fb-item.fresh-fb { border-color: var(--brand); }
.fb-top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.fb-tag { flex: none; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; background: var(--soft); color: var(--text); }
.fb-tag.bug { background: var(--warn-bg); color: var(--warn); }
.fb-tag.love { background: var(--good-bg); color: var(--good); }
.fb-text { margin: 6px 0 0; font-size: 14px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.fb-where { color: var(--muted); font-size: 13px; }
.fb-info { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--soft); font-size: 12px; line-height: 1.5; }
.fb-info > div { display: grid; grid-template-columns: 3.6em minmax(0, 1fr); gap: 8px; padding: 3px 0; }
.fb-info dt { color: var(--muted); }
.fb-info dd { margin: 0; overflow-wrap: anywhere; }
.fb-mail { color: var(--muted); }
.fb-copy-all { margin-bottom: 10px; padding: 9px; font-size: 13px; }
.fb-acts { display: flex; gap: 16px; margin-top: 10px; }
.fb-acts .fb-del { margin-left: auto; }
.fb-acts .fb-del { color: var(--muted); }
.me-credits { margin: 6px 0 0; }
.me-credits summary { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; cursor: pointer; list-style: none; color: var(--brand-ink); font-weight: 600; }
.me-credits summary::-webkit-details-marker { display: none; }
.me-credits summary::after { content: '›'; transition: transform 0.2s; }
.me-credits[open] summary::after { transform: rotate(90deg); }
.me-credits p { margin: 2px 0 0; line-height: 1.8; }
.me-credits a { color: inherit; }
