:root {
	color-scheme: dark;
	font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #f3f3f3;
	background: #101010;
	font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { overscroll-behavior-y: none; }
body {
	min-height: 100vh;
	margin: 0;
	padding-bottom: calc(92px + env(safe-area-inset-bottom));
	background: #101010;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.turbo-progress-bar { height: 2px; background: #8e8df2; box-shadow: 0 0 12px #8e8df299; }

main { width: min(100% - 32px, 1120px); margin-inline: auto; }
nav { position: fixed; z-index: 40; right: max(12px, calc((100vw - 680px) / 2)); bottom: max(8px, env(safe-area-inset-bottom)); left: max(12px, calc((100vw - 680px) / 2)); display: grid; grid-template-columns: repeat(5, 1fr); height: 62px; padding: 5px; gap: 2px; border: 1px solid #ffffff17; border-radius: 999px; color: #929292; background: #202020e8; box-shadow: 0 8px 24px #0007; font-size: .72rem; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); view-transition-name: app-tabs; }
nav a { display: flex; align-items: center; justify-content: center; height: 50px; border-radius: 999px; white-space: nowrap; }
nav .active { color: #fff; background: #343434; font-weight: 680; view-transition-name: active-tab; }
main { padding: calc(30px + env(safe-area-inset-top)) 0 70px; view-transition-name: page-content; }
.narrow-main { max-width: 780px; }
.page-heading, .section-heading, .panel-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 7px; color: #f3f3f3; font-size: clamp(1.65rem, 4vw, 2.05rem); letter-spacing: -.035em; }
h2 { margin-bottom: 0; font-size: 1.05rem; letter-spacing: -.02em; }
.eyebrow { margin-bottom: 7px; color: #909090; font-size: .68rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.muted { margin-bottom: 0; color: #999; font-size: .82rem; }
.status { flex: none; padding: 7px 10px; border: 1px solid #ffffff14; border-radius: 8px; color: #aaa; background: #1b1b1b; font-size: .73rem; }
.status i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #7d7aff; }
.primary-button, .secondary-button, .small-button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; cursor: pointer; font-weight: 650; }
.primary-button { min-height: 40px; padding: 0 15px; border: 1px solid #8583ee; color: white; background: #6f6dde; font-size: .8rem; }
.secondary-button { min-height: 38px; padding: 0 13px; border: 1px solid #ffffff1c; color: #f3f3f3; background: #272727; font-size: .78rem; }
.small-button { min-height: 32px; padding: 0 11px; border: 1px solid #ffffff1c; color: #f3f3f3; background: #272727; font-size: .73rem; }
.text-link { color: #a6a5ff; font-size: .76rem; font-weight: 650; }

.currency-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.currency-overview article, .panel, .liquid-card, .asset-check-summary article { border: 1px solid #ffffff14; border-radius: 18px; background: #1a1a1a; box-shadow: 0 8px 24px #0002; }
.currency-overview article { min-height: 105px; padding: 16px; }
.card-label { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; color: #aaa; font-size: .78rem; }
.flag { display: grid; place-items: center; width: 25px; aspect-ratio: 1; border-radius: 8px; color: #ff9b94; background: #33201f; font-weight: 800; }
.flag.won { color: #8ab5ff; background: #1d2939; }
.currency-overview strong { display: block; margin-bottom: 6px; font-size: clamp(1.45rem, 3.4vw, 1.9rem); line-height: 1; letter-spacing: -.04em; }
.currency-overview small { color: #929292; font-size: .72rem; }
.currency-overview .rate-source { margin-top: 3px; color: #747474; font-size: .64rem; }

.liquid-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 14px; padding: 24px 28px; }
.total-card { min-height: 170px; margin-top: 20px; padding: 28px; color: white; border-color: #ffffff1c; background: linear-gradient(145deg, #242331, #191919 68%); box-shadow: 0 14px 36px #0004; }
.total-card .eyebrow, .total-card .muted, .total-card .liquid-amount small { color: #aaa; }
.total-card .liquid-amount strong { font-size: clamp(2.65rem, 6vw, 3.75rem); }
.total-card .negative { color: #ff9f98; }
.liquid-card .muted { margin-top: 7px; }
.liquid-amount { display: grid; justify-items: end; gap: 5px; }
.liquid-amount strong { font-size: 1.65rem; letter-spacing: -.04em; }
.liquid-amount > span { font-size: .75rem; }
.liquid-amount small { color: #929292; }
.negative { color: #ff6961; }
.positive { color: #30d158; }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.panel { padding: 18px; }
.panel-heading { align-items: center; padding-bottom: 14px; border-bottom: 1px solid #ffffff12; }
.panel-heading > span { padding: 6px 9px; border: 1px solid #ffffff17; border-radius: 999px; color: #aeaeb2; background: #ffffff0d; font-size: .7rem; }
.panel-heading > strong { font-size: 1.25rem; }
.expense-summary { position: sticky; z-index: 30; top: max(8px, env(safe-area-inset-top)); display: grid; width: min(100%, 430px); gap: 2px; margin: 14px 0 0 auto; padding: 10px 14px; border: 1px solid #ffffff17; border-radius: 14px; background: #1b1b1bf2; box-shadow: 0 8px 24px #0006; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.expense-summary-line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-width: 0; }
.expense-summary-line span, .expense-summary-line strong { white-space: nowrap; }
.expense-summary-current > span { color: #aaa; font-size: .72rem; font-weight: 650; }
.expense-summary-current > strong { color: #f3f3f3; font-size: clamp(1.4rem, 5vw, 1.65rem); font-variant-numeric: tabular-nums; line-height: 1.1; letter-spacing: -.04em; }
.expense-summary-previous { color: #858585; font-size: .68rem; }
.expense-summary-previous > strong { font-size: clamp(.98rem, 3.5vw, 1.16rem); font-variant-numeric: tabular-nums; font-weight: 600; }
[data-roll-number] { white-space: nowrap; font-variant-numeric: tabular-nums; }
.rolling-digit { display: inline-block; min-width: .59em; text-align: center; transform-origin: center; }
.rolling-digit.is-rolling { animation: solari-tick 68ms steps(2, end) infinite; }
.rate-note { color: #929292; font-size: .68rem; }
.rate-note { margin: 6px 0 0; }
.account-list, .category-list { margin: 0; padding: 7px 0; list-style: none; }
.account-list li { display: flex; align-items: center; justify-content: space-between; min-height: 45px; border-bottom: 1px solid #ffffff12; }
.account-list b, .account-list strong { font-size: .84rem; }
.account-list strong { font-variant-numeric: tabular-nums; }
.account-list.compact { max-height: 300px; overflow: auto; }
.panel-total { display: flex; justify-content: space-between; padding-top: 13px; font-size: .9rem; }
.category-list { display: grid; gap: 17px; padding-top: 20px; }
.category-list a { display: block; min-height: 44px; padding: 5px 4px; border-radius: 10px; }
.category-list a:focus-visible { outline: 2px solid #7d7aff; outline-offset: 2px; }
.category-list li > a > div { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: .82rem; }
.category-list li > a > div b { font-size: .8rem; }
.category-list li > a > i { display: block; height: 6px; overflow: hidden; border-radius: 999px; background: #38383a; }
.category-list li > a > i::after { content: ""; display: block; width: var(--share); height: 100%; border-radius: inherit; background: #7d7aff; }

.section-heading { align-items: center; margin-bottom: 18px; }
.history-link { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-top: 16px; padding: 0 4px; border-top: 1px solid #ffffff14; color: #b2b1ff; font-size: .86rem; font-weight: 650; }

.flash { margin-top: 22px; padding: 12px 14px; border-radius: 10px; font-size: .82rem; }
.flash.success { color: #46d67e; background: #16271d; }
.flash.error { color: #ff827b; background: #301c1b; }
.entry-panel, .manage-panel { margin-top: 16px; }
.entry-panel h2 { margin-bottom: 18px; }
.entry-form { display: grid; grid-template-columns: 90px 145px 1fr 1fr 1.15fr 130px auto; align-items: end; gap: 10px; }
.expense-form { grid-template-columns: 1fr; gap: 12px; }
.entry-form-row { display: grid; align-items: end; gap: 10px; }
.date-row { width: 100%; grid-template-columns: minmax(0, 300px); }
.classification-row { grid-template-columns: 105px minmax(180px, 300px); }
.amount-row { grid-template-columns: minmax(180px, 300px); }
.details-row { grid-template-columns: 1fr 1.35fr auto; }
.income-form { grid-template-columns: minmax(0, 90px) minmax(0, 145px) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 130px) auto; }
.edit-form { grid-template-columns: 90px 145px 1fr 1fr 1.15fr 130px auto; }
.form-actions, .row-actions { display: flex; align-items: center; gap: 8px; }
.row-actions form { margin: 0; }
label { display: grid; min-width: 0; gap: 7px; color: #aeaeb2; font-size: .75rem; font-weight: 650; }
input, select { width: 100%; min-width: 0; max-width: 100%; min-height: 40px; border: 1px solid #ffffff1a; border-radius: 12px; padding: 0 12px; color: #f3f3f3; background: #252525; outline: none; font-size: 16px; }
input::placeholder { color: #636366; }
input[type="date"], input[type="month"] { display: block; box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; inline-size: 100%; min-inline-size: 0; max-inline-size: 100%; height: 44px; padding-block: 0; line-height: 42px; -webkit-appearance: none; appearance: none; }
input[type="date"] { text-align: left; }
input[type="date"]::-webkit-date-and-time-value { width: 100%; min-width: 0; height: auto; margin: 0; line-height: 42px; text-align: left; }
input[type="date"]::-webkit-datetime-edit { padding: 0; }
input[type="month"] { text-align: center; }
input[type="month"]::-webkit-date-and-time-value { width: 100%; min-width: 0; height: auto; margin: 0; line-height: 42px; text-align: center; }
.entry-form > *, .entry-form-row > * { min-width: 0; max-width: 100%; }
input:focus, select:focus { border-color: #7d7aff; box-shadow: 0 0 0 3px #7d7aff33; }
.table-panel { margin-top: 14px; padding-bottom: 12px; }
.bottom-action { display: flex; justify-content: flex-end; margin-top: 14px; }
.calendar-panel { margin-top: 14px; }
.calendar-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 18px; }
.month-controls { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; width: min(100%, 260px); gap: 8px; }
.month-controls form { min-width: 0; }
.month-controls > a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ffffff17; border-radius: 50%; color: #f3f3f3; background: #252525; font-size: 1.25rem; }
.month-controls input { min-height: 44px; width: 100%; min-width: 0; padding-inline: 8px; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.month-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 16px; padding: 14px 0; border-block: 1px solid #ffffff12; }
.month-summary > div { min-width: 0; padding: 0 14px; border-right: 1px solid #ffffff12; }
.month-summary > div:last-child { border-right: 0; }
.month-summary small, .month-summary strong { display: block; }
.month-summary small { margin-bottom: 6px; color: #929292; font-size: .68rem; }
.month-summary strong { overflow-wrap: anywhere; font-size: clamp(.9rem, 2.5vw, 1.15rem); font-variant-numeric: tabular-nums; }
.calendar-weekdays { border-block: 1px solid #ffffff12; }
.calendar-weekdays span { padding: 9px 4px; color: #8e8e93; font-size: .68rem; text-align: center; }
.calendar-weekdays span:first-child { color: #ff6961; }
.calendar-weekdays span:last-child { color: #64a8ff; }
.calendar-grid { border-left: 1px solid #ffffff12; }
.calendar-day { display: block; min-width: 0; min-height: 102px; padding: 9px; border-right: 1px solid #ffffff12; border-bottom: 1px solid #ffffff12; background: #1a1a1a; }
.calendar-day:nth-child(7n + 1) time { color: #ff6961; }
.calendar-day:nth-child(7n) time { color: #64a8ff; }
.calendar-day.empty { background: #141414; }
.calendar-day.today { background: #1c2925; box-shadow: inset 0 0 0 1px #30d158; }
.calendar-day:not(.empty):focus-visible { position: relative; outline: 2px solid #7d7aff; outline-offset: -2px; }
.calendar-day time { display: grid; place-items: center; min-height: 20px; margin-bottom: 5px; color: #aeaeb2; font-size: .72rem; font-weight: 700; line-height: 1; text-align: center; }
.day-money { display: grid; gap: 3px; text-align: right; }
.day-money span { min-width: 0; overflow-wrap: anywhere; font-size: .64rem; font-variant-numeric: tabular-nums; line-height: 1.15; }
.day-money b { font-weight: 650; }
.expense, .expense-text { color: #ff6961; }
.income, .income-text { color: #30d158; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .8rem; white-space: nowrap; }
th, td { padding: 13px 10px; border-bottom: 1px solid #ffffff12; text-align: left; }
.day-start:not(:first-child) td { border-top: 1px solid #48484a; }
.date-cell { width: 150px; color: #aaa; font-weight: 700; text-align: center; vertical-align: middle; }
.date-cell time { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 24px; text-align: center; }
th { color: #8e8e93; font-size: .7rem; font-weight: 650; }
.number { text-align: right; font-variant-numeric: tabular-nums; }
.muted-cell { max-width: 240px; overflow: hidden; color: #8e8e93; text-overflow: ellipsis; }
.category-chip { padding: 5px 7px; border-radius: 7px; color: hsl(var(--category-hue) 70% 80%); background: hsl(var(--category-hue) 35% 22%); font-size: .7rem; }
.kind-chip { padding: 5px 7px; border-radius: 7px; font-size: .68rem; }
.kind-chip.expense { color: #ff6961; background: #422422; }
.kind-chip.income { color: #30d158; background: #18382a; }
.danger-link { border: 0; padding: 6px; color: #ff6961; background: transparent; cursor: pointer; font-size: .72rem; }
.danger-link:disabled { color: #636366; cursor: not-allowed; }
.detail-summary { margin-top: 14px; }
.detail-summary > .panel-total { padding-top: 0; }
.detail-summary .month-summary { margin-bottom: 0; padding-block: 0; border: 0; }
.empty-state, .empty-list { color: #929292; text-align: center; }
.empty-state { margin-top: 14px; }
.empty-list { margin: 16px 0 4px; font-size: .8rem; }

.add-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; padding-bottom: 22px; }
.manage-list { border-top: 1px solid #ffffff12; }
.manage-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px; padding: 10px 0; border-bottom: 1px solid #ffffff12; }
.rename-form { display: grid; grid-template-columns: 1fr 100px auto; align-items: center; gap: 10px; }
.rename-form span { color: #8e8e93; font-size: .72rem; text-align: right; }
.manage-actions { display: flex; align-items: center; gap: 2px; }
.order-button { width: 38px; padding: 0; }
.order-button:disabled { opacity: .25; cursor: default; }

.asset-check-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.asset-check-summary article { padding: 20px 23px; }
.asset-check-summary .difference-card { background: #1c2925; }
.asset-check-summary article > small, .asset-check-summary article > strong, .asset-check-summary article > span { display: block; }
.asset-check-summary article > small { margin-bottom: 9px; color: #aeaeb2; }
.asset-check-summary article > strong { margin-bottom: 7px; font-size: 1.7rem; letter-spacing: -.04em; white-space: nowrap; }
.asset-check-summary article > span { color: #8e8e93; font-size: .72rem; }
.asset-form { display: grid; gap: 6px; padding-top: 10px; }
.asset-row { display: grid; grid-template-columns: 1.5fr 1fr 44px; align-items: end; gap: 7px; padding: 8px 10px; border: 1px solid #ffffff12; border-radius: 12px; background: #202020; }
.asset-field { gap: 3px; }
.asset-field > span { color: #8e8e93; font-size: .65rem; }
.asset-row input { border-color: #ffffff17; background: #ffffff0a; }
.asset-balance-field input { color: #fff; background: #25243a; font-weight: 750; text-align: right; font-variant-numeric: tabular-nums; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; }
.form-footer p { margin: 0; color: #8e8e93; font-size: .75rem; }
.hidden-form { display: none; }
.add-asset-panel { display: grid; grid-template-columns: 180px 1fr; align-items: end; gap: 20px; margin-top: 14px; }
.asset-add { grid-template-columns: 1.2fr 1fr auto; padding: 0; }
.notice { grid-column: 1 / -1; margin: 0; padding: 11px 12px; border-radius: 9px; color: #ffd60a; background: #3a3218; font-size: .72rem; line-height: 1.45; }

.history-title { display: flex; align-items: baseline; gap: 8px; }
.history-count { color: #8e8e93; font-size: .72rem; font-weight: 600; }
.history-list-panel { margin-top: 16px; }
.history-list-panel > .rate-note { margin: 14px 0 4px; line-height: 1.5; }
.history-list { margin: 0; padding: 0; list-style: none; }
.history-list > li { display: grid; grid-template-columns: minmax(160px, .9fr) 2fr; align-items: center; gap: 20px; padding: 15px 0; border-bottom: 1px solid #ffffff12; }
.history-month-total { display: grid; gap: 5px; }
.history-month-total span { color: #929292; font-size: .7rem; }
.history-month-total strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.history-flows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
.history-flows div { min-width: 0; }
.history-flows dt { margin-bottom: 4px; color: #858585; font-size: .65rem; }
.history-flows dd { margin: 0; overflow-wrap: anywhere; font-size: .8rem; font-variant-numeric: tabular-nums; }

@media (max-width: 850px) {
	.entry-form, .income-form, .edit-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.expense-form { grid-template-columns: 1fr; }
	.add-asset-panel { grid-template-columns: 1fr; }
	.asset-add { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
	body { -webkit-text-size-adjust: 100%; }
	nav { font-size: .68rem; }
	main { padding-top: calc(24px + env(safe-area-inset-top)); padding-bottom: 34px; }
	.page-heading, .section-heading { align-items: flex-start; flex-direction: column; }
	.page-heading > a { width: 100%; }
	.panel-heading { align-items: flex-start; flex-direction: column; }
	.expense-summary { width: 100%; margin-left: 0; }
	.currency-overview, .detail-grid, .asset-check-summary { grid-template-columns: 1fr; }
	.currency-overview article { min-height: 102px; }
	.liquid-card { align-items: flex-start; flex-direction: column; }
	.liquid-amount { justify-items: start; }
	.entry-form, .asset-add { grid-template-columns: 1fr; }
	.income-form { min-width: 0; overflow: visible; }
	.entry-form-row { grid-template-columns: 1fr; }
	.classification-row { grid-template-columns: 100px minmax(0, 1fr); }
	.entry-form .primary-button, .details-row .primary-button, .form-footer .primary-button, .add-form .primary-button { width: 100%; }
	.bottom-action .secondary-button { width: 100%; }
	.form-actions { width: 100%; }
	.form-actions > * { flex: 1; }
	input, select, .primary-button, .secondary-button, .small-button { min-height: 44px; }
	.calendar-heading { align-items: flex-start; flex-direction: column; }
	.month-controls { width: 100%; }
	.calendar-day { min-height: 78px; padding: 6px 4px; }
	.day-money span { font-size: clamp(.46rem, 1.65vw, .56rem); }
	.asset-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; }
	.form-footer { align-items: flex-start; flex-direction: column; }
	.rename-form { grid-template-columns: 1fr auto; }
	.rename-form span { display: none; }
	.danger-link, .text-link { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
	.table-scroll { overflow: visible; }
	.mobile-cards { white-space: normal; }
	.mobile-cards thead { display: none; }
	.mobile-cards tbody { display: grid; gap: 10px; }
	.mobile-cards tr { display: grid; grid-template-columns: 1fr; gap: 0; padding: 11px 13px; border: 1px solid #ffffff12; border-radius: 16px; background: #202020; }
	.mobile-cards tr:nth-child(even) { background: #1d1d1d; }
	.mobile-cards td { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; padding: 7px 0; border: 0; }
	.mobile-cards td::before { content: attr(data-label); flex: none; color: #8e8e93; font-size: .68rem; font-weight: 650; }
	.mobile-cards .date-cell { width: auto; padding-bottom: 10px; border-bottom: 1px solid #ffffff12; }
	.mobile-cards .date-cell::before, .mobile-cards .actions-cell::before { content: none; }
	.mobile-cards .date-cell:empty { display: none; }
	.mobile-cards .muted-cell { max-width: none; }
	.mobile-cards .number { text-align: left; }
	.mobile-cards .actions-cell { justify-content: flex-end; padding-bottom: 0; border-top: 1px solid #ffffff12; }
	.mobile-cards .row-actions { justify-content: flex-end; }
	.history-list > li { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 430px) {
	main { width: min(100% - 24px, 1120px); }
	.panel { padding: 16px; }
	.currency-overview article { min-height: 96px; padding: 15px; }
	.currency-overview strong { font-size: 1.7rem; }
	.total-card { min-height: 0; padding: 24px 20px; }
	.total-card .liquid-amount strong { font-size: 2.45rem; }
	.calendar-panel { padding: 12px 8px; }
	.month-summary > div { padding: 0 8px; }
	.month-summary strong { font-size: .84rem; }
	.calendar-day { min-height: 70px; }
	.day-money span { font-size: clamp(.43rem, 1.9vw, .53rem); }
	.asset-row { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) 44px; gap: 6px; padding: 8px; }
	.add-form { grid-template-columns: 1fr; }
	.manage-row { grid-template-columns: 1fr auto; }
}

@media (prefers-reduced-transparency: reduce) {
	nav, input, select, .primary-button, .secondary-button, .small-button, .month-controls > a, .expense-summary { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@view-transition { navigation: auto; }
::view-transition-group(page-content) { animation-duration: 240ms; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-old(page-content) { animation: 180ms ease both page-out; }
::view-transition-new(page-content) { animation: 240ms cubic-bezier(.2, .8, .2, 1) both page-in; }
::view-transition-group(active-tab) { animation-duration: 280ms; animation-timing-function: cubic-bezier(.2, .9, .2, 1); }

@keyframes page-out { to { opacity: 0; transform: translateX(-12px) scale(.99); } }
@keyframes page-in { from { opacity: 0; transform: translateX(12px) scale(.99); } }
@keyframes solari-tick {
	0% { opacity: .4; transform: translateY(-.14em) rotateX(-50deg); }
	50% { opacity: 1; transform: translateY(0) rotateX(0); }
	100% { opacity: .4; transform: translateY(.14em) rotateX(50deg); }
}

@media (prefers-reduced-motion: reduce) {
	.rolling-digit { animation: none !important; transform: none !important; }
	::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation-duration: 1ms !important; }
}
