/* ============================================================
   tools/_shared.css
   工具页共用主题：深色渐变底 + 玻璃卡 + 香槟金日食 + 入场基类
   与 index.html 视觉系统保持一致
   ============================================================ */

/* --- 主题变量 --- */
:root {
    --bg-base: #050505;
    --gold-primary: #bf953f;
    --gold-light: #f7d786;
    --gold-soft: rgba(247, 215, 134, 0.12);

    --ink-100: #ffffff;
    --ink-200: #f5f1ea;
    --ink-300: #e0e0e0;
    --ink-400: #a7a09a;
    --ink-500: #6a655e;
    --ink-600: #44413d;

    --warn-soft: #f0a39b;       /* 柔珊瑚：原 #dc2626 在深底的转译 */
    --warn-soft-glow: rgba(240, 163, 155, 0.15);
    --success-soft: #9fd9b8;    /* 柔金绿：原 #15803d 在深底的转译 */
    --success-soft-glow: rgba(159, 217, 184, 0.15);

    --card-bg: rgba(8, 8, 8, 0.32);
    --card-bg-strong: rgba(8, 8, 8, 0.45);
    --card-border: rgba(255, 255, 255, 0.12);
    --card-border-gold: rgba(247, 215, 134, 0.28);

    --hairline: rgba(255, 255, 255, 0.08);
    --hairline-gold: rgba(247, 215, 134, 0.18);

    --radius-sm: 0.55rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.1rem;
    --radius-xl: 1.35rem;
    --radius-pill: 999px;

    --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    --shadow-card-hover: 0 28px 70px rgba(0, 0, 0, 0.4), 0 0 36px rgba(191, 149, 63, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.10);

    --page-side-padding: clamp(1rem, 3vw, 2rem);
    --page-top-padding: clamp(1.5rem, 4vh, 2.5rem);
    --footer-bottom-gap: calc(0.6rem + env(safe-area-inset-bottom));
    --footer-safe-space: calc(4rem + env(safe-area-inset-bottom));
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
    background-color: var(--bg-base);
    color: var(--ink-300);
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    min-height: 100vh;
}

body {
    position: relative;
    padding: var(--page-top-padding) var(--page-side-padding) var(--footer-safe-space);
    overflow-x: hidden;
}

/* 双色径向渐变背景，与 index.html 同源 */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 36%, rgba(191, 149, 63, 0.10), transparent 32%),
        radial-gradient(circle at 15% 85%, rgba(0, 68, 255, 0.06), transparent 28%),
        var(--bg-base);
}

/* 页面主容器 */
.tool-page {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tool-page--wide {
    max-width: 1200px;
}

/* ============================================================
   返回胶囊（左上角浮动玻璃）
   ============================================================ */
.back-pill {
    position: fixed;
    top: clamp(0.85rem, 2.4vh, 1.5rem);
    left: clamp(0.85rem, 2vw, 1.5rem);
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.05rem 0.55rem 0.85rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-pill);
    background: var(--card-bg);
    backdrop-filter: blur(10px) saturate(1.18);
    -webkit-backdrop-filter: blur(10px) saturate(1.18);
    color: var(--ink-200);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(-8px);
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.back-pill:hover {
    border-color: var(--card-border-gold);
    background: rgba(191, 149, 63, 0.06);
    color: var(--ink-100);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38), 0 0 28px rgba(191, 149, 63, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.10);
    transform: translateY(-10px);
}

.back-pill__arrow {
    width: 14px;
    height: 14px;
    color: var(--gold-light);
    flex-shrink: 0;
}

/* ============================================================
   Hero 区 + 日食
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: clamp(1.5rem, 5vh, 3.5rem) 0 clamp(1.6rem, 4vh, 2.6rem);
    user-select: none;
}

.hero-stage {
    position: relative;
    width: clamp(320px, 46vw, 480px);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* 日食三层光晕 */
.eclipse-corona {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.85;
}

.eclipse-corona--outer {
    width: 180%;
    height: 180%;
    background: radial-gradient(circle at 50% 50%,
        rgba(191, 149, 63, 0.22) 0%,
        rgba(191, 149, 63, 0.12) 28%,
        rgba(191, 149, 63, 0.04) 52%,
        transparent 70%);
    animation: corona-breathe-outer 11s ease-in-out infinite;
}

.eclipse-corona--mid {
    width: 130%;
    height: 130%;
    background: radial-gradient(circle at 50% 50%,
        rgba(247, 215, 134, 0.45) 18%,
        rgba(247, 215, 134, 0.22) 38%,
        rgba(191, 149, 63, 0.08) 58%,
        transparent 72%);
    animation: corona-breathe-mid 8.5s ease-in-out infinite;
}

.eclipse-corona--inner {
    width: 104%;
    height: 104%;
    background: radial-gradient(circle at 50% 50%,
        rgba(255, 250, 235, 0.0) 46%,
        rgba(255, 248, 220, 0.55) 50%,
        rgba(247, 215, 134, 0.45) 54%,
        transparent 64%);
    animation: corona-breathe-inner 6.5s ease-in-out infinite;
}

@keyframes corona-breathe-outer {
    0%, 100% { transform: translate(-50%, -50%) scale(0.96); opacity: 0.7; }
    50%     { transform: translate(-50%, -50%) scale(1.06); opacity: 1; }
}

@keyframes corona-breathe-mid {
    0%, 100% { transform: translate(-50%, -50%) scale(0.97); opacity: 0.78; }
    50%     { transform: translate(-50%, -50%) scale(1.04); opacity: 1; }
}

@keyframes corona-breathe-inner {
    0%, 100% { transform: translate(-50%, -50%) scale(0.99); opacity: 0.85; }
    50%     { transform: translate(-50%, -50%) scale(1.02); opacity: 1; }
}

/* 月亮黑圆 */
.eclipse-moon {
    position: relative;
    width: 76%;
    height: 76%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 45%, #0a0a0a 0%, #050505 65%, #030303 100%);
    box-shadow:
        inset 0 2px 18px rgba(0, 0, 0, 0.7),
        inset 0 0 30px rgba(191, 149, 63, 0.04),
        0 0 0 1px rgba(247, 215, 134, 0.15);
    z-index: 2;
}

/* Hero 文字（叠在日食中央） */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    text-align: center;
    pointer-events: auto;
    width: 90%;
}

.hero-tagline {
    display: inline-block;
    font-size: clamp(0.7rem, 1.1vw, 0.92rem);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-light);
    font-style: italic;
    font-weight: 500;
    text-shadow: 0 0 14px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(14px);
}

.hero-title {
    display: inline-block;
    font-size: clamp(1.45rem, 3.1vw, 2.2rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: 0.04em;
    color: var(--ink-100);
    text-shadow:
        0 2px 16px rgba(0, 0, 0, 0.85),
        0 0 32px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(10px) scale(0.96);
}

.hero-title::after {
    content: "";
    display: block;
    width: 56%;
    height: 1px;
    margin: 0.55rem auto 0;
    background: linear-gradient(90deg, transparent, rgba(247, 215, 134, 0.6), transparent);
}

/* ============================================================
   玻璃大卡（主体容器）
   ============================================================ */
.glass-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: clamp(1.4rem, 3vw, 2.2rem);
    background: var(--card-bg);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    box-shadow: var(--shadow-card);
    opacity: 0;
    transform: translateY(20px);
}

.glass-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01) 40%, rgba(191,149,63,0.045));
    opacity: 0.65;
}

.glass-shell::after {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(circle at 50% -20%, rgba(191, 149, 63, 0.16), transparent 48%);
    opacity: 0.7;
}

.glass-shell > * {
    position: relative;
    z-index: 1;
}

/* 子玻璃卡（重区块：用于结果展示） */
.sub-card {
    border: 1px solid var(--hairline-gold);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.025);
    padding: 1.1rem 1.3rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* 子分割（轻区块：仅上下细线） */
.sub-divider {
    border-top: 1px solid var(--hairline);
    padding-top: 1.1rem;
    margin-top: 1.1rem;
}

/* ============================================================
   表单控件
   ============================================================ */
.field-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink-400);
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.field-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(8, 8, 8, 0.45);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    color: var(--ink-200);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field-input::placeholder {
    color: var(--ink-500);
}

.field-input:focus {
    outline: none;
    border-color: rgba(247, 215, 134, 0.55);
    background: rgba(8, 8, 8, 0.6);
    box-shadow:
        0 0 0 3px rgba(247, 215, 134, 0.12),
        0 0 22px rgba(191, 149, 63, 0.14);
}

/* select */
.field-select {
    appearance: none;
    -webkit-appearance: none;
    background:
        rgba(8, 8, 8, 0.45)
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23bf953f' d='M6 8L0 0h12z'/></svg>")
        no-repeat right 0.85rem center;
    background-size: 10px 7px;
    padding-right: 2.2rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    color: var(--ink-200);
    padding: 0.55rem 2.2rem 0.55rem 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-select:focus {
    outline: none;
    border-color: rgba(247, 215, 134, 0.55);
    box-shadow: 0 0 0 3px rgba(247, 215, 134, 0.12);
}

.field-select option {
    background-color: #0a0a0a;
    color: var(--ink-200);
}

/* checkbox */
.field-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 1.05rem;
    height: 1.05rem;
    border: 1px solid var(--card-border);
    border-radius: 0.3rem;
    background: rgba(8, 8, 8, 0.45);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.field-checkbox:hover {
    border-color: rgba(247, 215, 134, 0.4);
}

.field-checkbox:checked {
    background: linear-gradient(135deg, rgba(247, 215, 134, 0.85), rgba(191, 149, 63, 0.85));
    border-color: rgba(247, 215, 134, 0.7);
    box-shadow: 0 0 12px rgba(191, 149, 63, 0.3);
}

.field-checkbox:checked::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 4px;
    width: 4px;
    height: 8px;
    border: solid var(--bg-base);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.field-checkbox:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(247, 215, 134, 0.18);
}

/* 复选框配套文案 */
.checkbox-row {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink-300);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

/* ============================================================
   按钮
   ============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.95rem 2.2rem;
    background: linear-gradient(135deg, rgba(247, 215, 134, 0.18), rgba(191, 149, 63, 0.10));
    border: 1px solid rgba(247, 215, 134, 0.4);
    border-radius: var(--radius-md);
    color: var(--gold-light);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 18px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(247, 215, 134, 0.3), rgba(191, 149, 63, 0.18));
    border-color: rgba(247, 215, 134, 0.65);
    color: var(--ink-100);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 8px 28px rgba(0, 0, 0, 0.32),
        0 0 30px rgba(191, 149, 63, 0.18);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    color: var(--ink-300);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--card-border-gold);
    color: var(--gold-light);
    background: rgba(247, 215, 134, 0.06);
}

.btn-secondary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    color: var(--ink-500);
    border-color: var(--hairline);
    background: rgba(255, 255, 255, 0.02);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--ink-400);
    padding: 0.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.btn-ghost:hover {
    color: var(--warn-soft);
    background: rgba(240, 163, 155, 0.08);
}

/* ============================================================
   Tab 行（用于税前/税后切换、模式切换）
   ============================================================ */
.tab-row {
    display: flex;
    gap: 0.35rem;
    padding: 0.32rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    background: rgba(8, 8, 8, 0.32);
}

.tab-btn {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 0;
    background: transparent;
    color: var(--ink-400);
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: calc(var(--radius-lg) - 0.32rem);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    box-shadow:
        0 0 0 1px rgba(247, 215, 134, 0.28),
        0 0 22px rgba(191, 149, 63, 0.28),
        0 0 36px rgba(191, 149, 63, 0.12);
}

.tab-btn.is-active {
    color: var(--bg-base);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    box-shadow: 0 4px 16px rgba(191, 149, 63, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.tab-btn.is-active:hover {
    box-shadow:
        0 4px 16px rgba(191, 149, 63, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 0 0 1px rgba(247, 215, 134, 0.28),
        0 0 22px rgba(191, 149, 63, 0.28),
        0 0 36px rgba(191, 149, 63, 0.12);
}

/* ============================================================
   分段过滤按钮组（filter-btn / inline 切换）
   ============================================================ */
.segmented {
    display: inline-flex;
    padding: 0.25rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    background: rgba(8, 8, 8, 0.4);
    gap: 0.18rem;
}

.segmented .seg-btn {
    border: 0;
    background: transparent;
    color: var(--ink-400);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.45rem 0.95rem;
    border-radius: calc(var(--radius-md) - 0.25rem);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.segmented .seg-btn:hover {
    box-shadow:
        0 0 0 1px rgba(247, 215, 134, 0.28),
        0 0 22px rgba(191, 149, 63, 0.28),
        0 0 36px rgba(191, 149, 63, 0.12);
}

.segmented .seg-btn.is-active {
    color: var(--bg-base);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    box-shadow: 0 2px 10px rgba(191, 149, 63, 0.25);
}

.segmented .seg-btn.is-active:hover {
    box-shadow:
        0 2px 10px rgba(191, 149, 63, 0.25),
        0 0 0 1px rgba(247, 215, 134, 0.28),
        0 0 22px rgba(191, 149, 63, 0.28),
        0 0 36px rgba(191, 149, 63, 0.12);
}

/* ============================================================
   语义文字色（柔红警 / 柔金绿成 / 香槟金主）
   ============================================================ */
.text-warn   { color: var(--warn-soft); }
.text-success{ color: var(--success-soft); }
.text-gold   { color: var(--gold-light); }
.text-mute   { color: var(--ink-400); }

/* ============================================================
   Details / Summary 折叠面板
   ============================================================ */
.foldable {
    border-top: 1px solid var(--hairline);
    margin-top: 0.6rem;
}

.foldable > summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 0.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--ink-200);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.foldable > summary:hover {
    color: var(--gold-light);
}

.foldable > summary::-webkit-details-marker { display: none; }

.foldable > summary .arrow {
    color: var(--gold-light);
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.foldable[open] > summary .arrow {
    transform: rotate(90deg);
}

.foldable .foldable-body {
    padding: 0 0.25rem 1.1rem;
    color: var(--ink-300);
    font-size: 0.88rem;
    line-height: 1.65;
}

.foldable .foldable-body strong {
    color: var(--ink-100);
    font-weight: 600;
}

.foldable .foldable-body p + p {
    margin-top: 0.65rem;
}

/* 内嵌表格（核心计税规则） */
.foldable-table {
    width: 100%;
    margin-top: 0.85rem;
    border: 1px solid var(--hairline-gold);
    border-radius: var(--radius-md);
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(8, 8, 8, 0.35);
}

.foldable-table th,
.foldable-table td {
    padding: 0.65rem 0.85rem;
    text-align: left;
    font-size: 0.82rem;
    border-bottom: 1px solid var(--hairline);
}

.foldable-table thead th {
    background: rgba(247, 215, 134, 0.06);
    color: var(--gold-light);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.foldable-table tbody tr:last-child td {
    border-bottom: 0;
}

.foldable-table tbody td {
    color: var(--ink-300);
}

/* ============================================================
   底部 disclaimer：全宽黑色窄条，触底固定
   不透明黑底防止与正文重叠；顶部一条细金线呼应主题
   ============================================================ */
.tool-disclaimer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    background: #000;
    border-top: 1px solid rgba(247, 215, 134, 0.12);
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
    text-align: center;
    font-size: clamp(0.55rem, 1.15vw, 0.78rem);
    letter-spacing: 0.03em;
    color: rgba(233, 236, 240, 0.8);
    line-height: 1.4;
    opacity: 0;
    pointer-events: auto;
}

/* ============================================================
   入场动画初始态（GSAP 推动到最终态）
   ============================================================ */
#loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
    font-size: 0.8rem;
    letter-spacing: 2px;
    z-index: 100;
    transition: opacity 0.5s;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 768px) {
    body {
        padding: max(1rem, env(safe-area-inset-top)) 1rem calc(4.5rem + env(safe-area-inset-bottom));
    }

    .hero {
        margin: clamp(2rem, 8vh, 3.5rem) 0 clamp(1.4rem, 4vh, 2.2rem);
    }

    .hero-stage {
        width: clamp(280px, 78vw, 360px);
    }

    .hero-title {
        font-size: clamp(1.25rem, 5.5vw, 1.75rem);
        letter-spacing: 0.02em;
    }

    .hero-tagline {
        font-size: 0.65rem;
        letter-spacing: 0.32em;
    }

    .glass-shell {
        padding: 1.2rem 1rem;
        border-radius: var(--radius-lg);
    }

    .tool-disclaimer {
        font-size: clamp(0.5rem, 2.4vw, 0.66rem);
        letter-spacing: 0;
        padding: 0.5rem 0.8rem calc(0.5rem + env(safe-area-inset-bottom));
    }

    .back-pill {
        font-size: 0.75rem;
        padding: 0.45rem 0.85rem 0.45rem 0.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eclipse-corona,
    .eclipse-corona--outer,
    .eclipse-corona--mid,
    .eclipse-corona--inner {
        animation: none !important;
    }
}
