/* ==========================================================================
   Kaito Invites — Tema 22 "Monochrome"
   Scrapbook / editorial style. Mobile-first, max 480px column on desktop.
   ========================================================================== */

@font-face {
    font-family: 'The Silver';
    src: url('../assets/fonts/TheSilverEditorial-Regular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Retro Signature';
    src: url('../assets/fonts/RetroSignature.otf') format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'Times Now';
    src: url('../assets/fonts/TimesNow-LightItalic.ttf') format('truetype');
    font-style: italic;
    font-display: swap;
}

:root {
    --cream: #FEF8F0;
    --sand: #F7EEE3;
    --coral: #FF6565;
    --rose: #EC8888;
    --dusty: #DA7A7A;
    --ink: #333333;
    --black: #0A0A0A;
    --col: 480px;

    --f-display: 'The Silver', 'Times New Roman', serif;
    --f-script: 'Retro Signature', cursive;
    --f-hand: 'Beth Ellen', cursive;
    --f-serif: 'Cormorant Garamond', serif;
    --f-mono: 'Roboto Mono', ui-monospace, monospace;
    --f-slab: 'Roboto Slab', serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #e9e2d8;
    color: var(--dusty);
    font-family: var(--f-mono);
    font-size: 13px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.is-locked {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

h1,
h2,
h3,
h4,
p,
figure {
    margin: 0;
}

.page {
    max-width: var(--col);
    margin: 0 auto;
    background: var(--cream);
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 0, 0, .12);
}

/* ---------- shared type ---------- */
.mono-sm {
    font-family: var(--f-mono);
    font-size: 13px;
}

.mono-xs {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 300;
    color: var(--ink);
}

.section-title {
    font-family: var(--f-display);
    font-weight: 300;
    font-size: 40px;
    line-height: 1.1;
    color: var(--coral);
    text-align: center;
}

.section-title--xl {
    font-size: 48px;
    line-height: 1.2;
}

.section-title--md {
    font-size: 23px;
    line-height: 1.2;
}

.section-script {
    font-family: var(--f-hand);
    font-weight: 600;
    font-size: 26px;
    color: var(--coral);
    text-align: center;
}

.body-text {
    margin: 16px auto 0;
    max-width: 340px;
    text-align: center;
    color: var(--dusty);
    line-height: 1.5;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 210px;
    padding: 10px 20px;
    border: 1px solid var(--dusty);
    border-radius: 50%;
    background: transparent;
    color: var(--dusty);
    font-family: var(--f-mono);
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: background .25s, color .25s;
}

.pill:hover,
.pill:focus-visible {
    background: var(--dusty);
    color: var(--cream);
}

.pill--sm {
    min-width: 166px;
    padding: 8px 18px;
}

.polaroid {
    background: #fff;
    padding: 5px;
    box-shadow: 3px 2px 2px rgba(0, 0, 0, .26);
    object-fit: cover;
}

.tilt-l {
    transform: rotate(-4deg);
}

.tilt-r {
    transform: rotate(4deg);
}

.dashed {
    border: 0;
    border-top: 1px dashed var(--dusty);
    margin: 10px 0;
}

.paper-frame {
    border: 11px solid rgba(173, 173, 173, .05);
    background: url('../assets/img/paper.jpg') center / cover;
    box-shadow: 5px 3px 3px rgba(0, 0, 0, .17);
}

/* ---------- reveal on scroll ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .9s ease, transform .9s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

.story__photo[data-reveal].is-visible,
.tilt-l.is-visible {
    transform: rotate(-4deg);
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   COVER
   ========================================================================== */
.cover {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 18vh 24px 12vh;
    color: #fff;
    text-align: center;
    background: var(--black) center / cover no-repeat;
    filter: grayscale(1);
    transition: transform 1s cubic-bezier(.7, 0, .3, 1), opacity 1s;
}

.cover.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.cover__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, .15) 45%, rgba(0, 0, 0, .55));
}

.cover__top,
.cover__guest {
    position: relative;
}

.cover__names {
    margin: 10px 0 14px;
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 40px;
    letter-spacing: -1px;
    line-height: 1;
}

.cover__dear {
    font-family: 'Times Now', serif;
    font-style: italic;
    font-size: 15px;
}

.cover__guest-name {
    margin: 6px 0 10px;
    font-family: var(--f-display);
    font-weight: 500;
    font-size: 24px;
}

.cover__note {
    max-width: 260px;
    margin: 0 auto 18px;
    font-size: 11px;
    font-weight: 300;
}

.btn-open {
    padding: 8px 16px;
    border: 0;
    border-radius: 2px;
    background: #e2dcd5;
    color: #555;
    font-family: Lora, Georgia, serif;
    font-size: 13px;
    letter-spacing: .5px;
    cursor: pointer;
}

/* ==========================================================================
   FLOATING CONTROLS
   ========================================================================== */
.menu-btn {
    position: fixed;
    top: 12px;
    right: max(12px, calc(50% - var(--col) / 2 + 12px));
    z-index: 99;
    padding: 9px;
    border: 0;
    background: transparent;
    color: var(--coral);
    font-family: var(--f-slab);
    font-weight: 500;
    font-size: 12px;
    cursor: pointer;
}

.menu {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: rgba(254, 248, 240, .97);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
}

.menu.open {
    opacity: 1;
    visibility: visible;
}

.menu a {
    font-family: var(--f-display);
    font-size: 34px;
    color: var(--coral);
    text-decoration: none;
    line-height: 1.4;
}

.menu__close {
    position: absolute;
    top: 14px;
    right: 18px;
    border: 0;
    background: none;
    color: var(--coral);
    font-size: 22px;
    cursor: pointer;
}

.menu__hint {
    max-width: 260px;
    margin-top: 20px;
    color: #969696;
    font-size: 12px;
    text-align: center;
}

.music-btn {
    position: fixed;
    bottom: 20px;
    left: max(20px, calc(50% - var(--col) / 2 + 20px));
    z-index: 99;
    width: 34px;
    height: 34px;
    border: 1px solid var(--dusty);
    border-radius: 50%;
    background: var(--cream);
    color: var(--dusty);
    font-size: 13px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s;
}

.music-btn.show {
    opacity: 1;
    pointer-events: auto;
}

.music-btn.playing i {
    animation: spin 4s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.yt-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ==========================================================================
   HOME
   ========================================================================== */
.home {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 90px 30px 80px;
    background: var(--black);
    color: #fff;
    text-align: center;
}

.home__shadow {
    position: absolute;
    inset: 0;
    background: url('../assets/img/leaf-shadow.jpg') center / cover;
    mix-blend-mode: screen;
    opacity: .08;
    pointer-events: none;
}

/* Optional couple photo: sits at the top and fades into the black, text moves below it */
.home__photo {
    position: absolute;
    inset: 0;
    background: center top / 100% auto no-repeat;
    filter: grayscale(1);
}

.home__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, .45) 0%, rgba(10, 10, 10, 0) 12%, rgba(10, 10, 10, 0) 38%, rgba(10, 10, 10, .85) 50%, var(--black) 63%);
}

.home:has(.home__photo) {
    justify-content: flex-end;
    padding-bottom: 70px;
}

.home__names {
    position: relative;
    font-family: var(--f-display);
    font-size: 22px;
    letter-spacing: -.3px;
}

.home__script {
    position: relative;
    margin: 30px 0 34px;
    font-family: var(--f-script);
    font-weight: 400;
    font-size: clamp(56px, 18vw, 80px);
    line-height: .6;
}

.home__date {
    position: relative;
    font-family: var(--f-display);
    font-size: 22px;
    letter-spacing: -.5px;
}

.home__quote {
    position: relative;
    max-width: 360px;
    margin-top: 22px;
    color: #c2c2c2;
    font-size: 13px;
    line-height: 1.55;
}

.home__quote-src {
    position: relative;
    margin-top: 10px;
    color: #9a9a9a;
    font-size: 11px;
}

/* ==========================================================================
   COUPLE
   ========================================================================== */
.couple {
    padding: 70px 20px 40px;
    text-align: center;
}

.person {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

.person__role {
    margin-bottom: 26px;
    font-family: var(--f-serif);
    font-size: 17px;
    color: var(--coral);
}

.person__photo {
    position: relative;
    width: 229px;
}

.oval {
    width: 229px;
    height: 282px;
    object-fit: cover;
    -webkit-mask: url('../assets/img/mask-oval.svg') center / 100% 100% no-repeat;
    mask: url('../assets/img/mask-oval.svg') center / 100% 100% no-repeat;
}

.person__stars {
    position: absolute;
    right: -24px;
    bottom: -10px;
    width: 79px;
}

.person__name {
    margin-top: 34px;
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(38px, 12vw, 52px);
    letter-spacing: -1px;
    line-height: 1;
    color: var(--coral);
}

.person__parents {
    margin: 12px 0 14px;
    max-width: 330px;
    font-weight: 300;
    line-height: 1.5;
}

/* ==========================================================================
   SCRAPBOOK COLLAGE
   ========================================================================== */
.collage {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 30px 24px 70px;
}

.collage__left {
    position: relative;
    min-height: 250px;
}

.collage__letter {
    position: absolute;
    left: -4px;
    top: 0;
    width: 120px;
}

.collage__photo-1 {
    position: relative;
    z-index: 2;
    width: 172px;
    height: 136px;
    margin: 8px 0 0 14px;
    transform: rotate(-2deg);
}

.collage__caption {
    position: relative;
    z-index: 2;
    margin: 14px 0 0 14px;
}

.collage__flower {
    position: absolute;
    left: 20px;
    bottom: -60px;
    z-index: 3;
    width: 126px;
}

.collage__right {
    padding-top: 6px;
}

.collage__right .mono-xs + .mono-xs {
    margin-top: 16px;
}

.collage__photo-2 {
    width: 110px;
    height: 138px;
    margin: 34px 0 0 auto;
    transform: rotate(3deg);
}

/* ==========================================================================
   LOVE STORY
   ========================================================================== */
.story {
    padding: 50px 30px 110px;
}

.story .section-title {
    margin-bottom: 30px;
}

.story__item {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 20px;
    align-items: start;
    margin-top: 44px;
}

.story__item--rev {
    grid-template-columns: 1fr 108px;
}

.story__item--rev .story__photo {
    order: 2;
}

.story__photo {
    width: 108px;
    height: 146px;
}

.story__card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 120px;
    padding: 4px;
    background: #fff;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, .17);
}

.story__card img {
    width: 100%;
    height: 144px;
    object-fit: cover;
}

.story__date {
    margin-bottom: 10px;
    font-family: var(--f-hand);
    font-weight: 600;
    font-size: 19px;
    color: var(--rose);
}

.story__text p {
    line-height: 1.5;
}

/* ==========================================================================
   CELEBRATION TIMELINE
   ========================================================================== */
.event {
    position: relative;
    padding: 0 13px 40px;
}

.event__vases {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-bottom: -150px;
}

.event__arch {
    position: relative;
    padding: 170px 20px 80px;
    border-radius: 700px;
    background: var(--sand);
    text-align: center;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 30px 0 4px;
    color: var(--rose);
}

.countdown span {
    display: block;
    font-size: 28px;
    line-height: 1.2;
}

.countdown small {
    font-size: 12px;
}

.event__date {
    margin: 26px 0 22px;
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.3;
    color: var(--coral);
}

.event__block {
    margin-top: 26px;
}

.event__block h4 {
    font-family: var(--f-serif);
    font-weight: 700;
    font-size: 20px;
    color: var(--coral);
}

.event__meta {
    margin: 10px 0;
    font-family: var(--f-serif);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.1;
    color: var(--rose);
}

.event__addr {
    max-width: 280px;
    margin: 0 auto 12px;
    font-size: 11px;
    line-height: 1.45;
}

.event__text {
    max-width: 250px;
    margin: 18px auto;
    line-height: 1.5;
}

.dresscode {
    margin-top: 36px;
}

.dresscode__title {
    font-family: var(--f-hand);
    font-weight: 600;
    font-size: 21px;
    color: var(--coral);
}

.dresscode__rack {
    width: 117px;
    margin: 20px auto 0;
}

.swatches {
    display: flex;
    justify-content: center;
}

.swatches i {
    width: 50px;
    height: 50px;
    margin-left: -18px;
    border-radius: 50%;
    border: 1px solid var(--sand);
}

.swatches i:first-child {
    margin-left: 0;
    background: #9b9b9b;
}

.swatches i:nth-child(2) {
    background: #5c5c5c;
}

.swatches i:nth-child(3) {
    background: #6a6f78;
}

.swatches i:nth-child(4) {
    background: #3c0000;
}

/* ==========================================================================
   RSVP & WISHES
   ========================================================================== */
.rsvp {
    padding: 70px 40px 60px;
}

.rsvp__photo {
    position: relative;
    width: 199px;
    margin: 0 auto 60px;
}

.rsvp__img {
    width: 199px;
    height: 265px;
    border-radius: 50%;
    object-fit: cover;
}

.rsvp__flower {
    position: absolute;
    left: -58px;
    bottom: -40px;
    width: 133px;
}

.rsvp__heart {
    position: absolute;
    right: -20px;
    top: 0;
    width: 64px;
}

.rsvp__form {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

.rsvp__form label {
    margin: 12px 0 4px;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--dusty);
}

.rsvp__form input,
.rsvp__form select,
.rsvp__form textarea {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--dusty);
    border-radius: 40px;
    background: transparent;
    color: var(--dusty);
    font: inherit;
    font-size: 15px;
}

.rsvp__form textarea {
    border-radius: 24px;
    resize: vertical;
}

.rsvp__form select {
    appearance: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0h12L6 8z' fill='%23DA7A7A'/%3E%3C/svg%3E") right 16px center no-repeat;
}

.rsvp__form input:focus,
.rsvp__form select:focus,
.rsvp__form textarea:focus {
    outline: 2px solid rgba(218, 122, 122, .3);
    outline-offset: 1px;
}

.rsvp__guests {
    display: flex;
    flex-direction: column;
}

.rsvp__guests.is-hidden {
    display: none;
}

.pill--submit {
    align-self: flex-start;
    min-width: 102px;
    margin-top: 14px;
    letter-spacing: 1px;
}

.rsvp__status {
    min-height: 1.5em;
    margin-top: 10px;
    font-size: 12px;
}

.wishes {
    margin-top: 34px;
}

.wish {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 10px;
    padding: 14px 4px;
    border-bottom: 1px dashed rgba(218, 122, 122, .35);
}

.wish__name {
    font-size: 13px;
    word-break: break-word;
}

.wish__msg {
    font-size: 13px;
    word-break: break-word;
}

.wish__date {
    display: block;
    margin-top: 4px;
    color: #999;
    font-size: 10px;
}

.wishes__pager {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    color: var(--ink);
    font-size: 13px;
}

.wishes__pager[hidden] {
    display: none;
}

.wishes__pager button {
    width: 36px;
    height: 26px;
    border: 1px solid var(--ink);
    border-radius: 3px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.wishes__pager button:disabled {
    opacity: .3;
    cursor: default;
}

/* ==========================================================================
   WEDDING GIFT
   ========================================================================== */
.gift {
    padding: 50px 35px 50px;
}

.gift .section-title {
    font-size: 31px;
    color: var(--rose);
}

.gift__list {
    margin-top: 30px;
    padding: 0 10px;
}

.gift__row {
    display: grid;
    grid-template-columns: 1fr 1fr 28px;
    gap: 10px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(218, 122, 122, .2);
}

.gift__row--addr {
    grid-template-columns: 1fr 28px;
}

.gift__holder {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.1;
}

.gift__bank,
.gift__addr {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.15;
}

.gift__copy {
    border: 0;
    background: none;
    color: var(--dusty);
    font-size: 20px;
    cursor: pointer;
}

/* ==========================================================================
   PRE-WEDDING VIDEO + PORTRAIT
   ========================================================================== */
.film {
    padding: 30px 35px 40px;
}

.film__label {
    margin-bottom: 18px;
}

.film__video {
    position: relative;
    aspect-ratio: 16 / 9;
    margin-bottom: 30px;
}

.film__video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.film__poster {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.film__poster img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.film__poster i {
    position: relative;
    font-size: 64px;
    color: rgba(255, 255, 255, .85);
}

.film__portrait img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.film__caption {
    display: flex;
    flex-direction: column-reverse;
    gap: 18px;
    padding: 18px 20px 0;
}

.film__names {
    text-align: right;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery {
    padding: 50px 35px 60px;
}

.pinned {
    position: relative;
}

.pinned__frames {
    width: 100%;
}

.pinned img:not(.pinned__frames) {
    position: absolute;
    top: 26%;
    height: 47%;
    object-fit: cover;
}

.pinned__p1 {
    left: 3.9%;
    width: 18.3%;
}

.pinned__p2 {
    left: 38.9%;
    width: 22.2%;
}

.pinned__p3 {
    left: 76.9%;
    width: 19.2%;
}

.gallery__wrap {
    position: relative;
    margin-top: 30px;
}

.gallery__quote {
    position: absolute;
    top: 10px;
    left: -8px;
    z-index: 3;
    width: 214px;
    padding: 26px 20px;
    border: 1px solid var(--dusty);
    border-radius: 50%;
    color: var(--ink);
    font-size: 11px;
    font-weight: 300;
    line-height: 1.1;
    transform: rotate(-12deg);
}

.gallery__strip {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 235px;
    margin: 0 0 0 auto;
    padding: 20px 32px;
    background: #adadad url('../assets/img/paper.jpg') center / cover;
    box-shadow: 4px 5px 7px -5px rgba(0, 0, 0, .5);
    transform: rotate(3deg);
}

.gallery__strip.is-visible {
    transform: rotate(3deg);
}

.gallery__source {
    display: none;
}

.gallery__slot {
    position: relative;
    aspect-ratio: 170 / 208;
    overflow: hidden;
    background: #ddd;
    cursor: zoom-in;
}

.gallery__slot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.gallery__slot img.active {
    opacity: 1;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(10, 10, 10, .92);
}

.lightbox img {
    max-height: 86vh;
    object-fit: contain;
}

.lightbox button {
    position: absolute;
    border: 0;
    background: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

.lightbox__close {
    top: 14px;
    right: 18px;
}

.lightbox__prev {
    left: 10px;
    top: 50%;
}

.lightbox__next {
    right: 10px;
    top: 50%;
}

/* ==========================================================================
   CLOSING
   ========================================================================== */
.closing {
    padding: 60px 0 40px;
}

.closing__frame {
    position: relative;
    width: 295px;
    margin: 0 auto;
}

.closing__film {
    position: relative;
    z-index: 1;
    width: 100%;
}

.closing__photo {
    position: absolute;
    z-index: 2;
    left: 13.6%;
    top: 6.9%;
    width: 69.5%;
    height: 72.5%;
    object-fit: cover;
    filter: grayscale(1);
}

.closing__vertical {
    position: absolute;
    top: 30%;
    left: -36px;
    z-index: 3;
    color: #555;
    font-family: var(--f-slab);
    font-size: 8px;
    letter-spacing: 3.6px;
    text-transform: uppercase;
    transform: rotate(-90deg);
    white-space: nowrap;
}

.closing__text {
    width: 240px;
    margin: 30px auto 0;
}

.closing__date {
    color: #555;
    font-family: var(--f-slab);
    font-size: 8px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.closing__title {
    margin: 40px 0 16px;
    font-family: var(--f-display);
    font-weight: 300;
    font-size: 22px;
    line-height: 1.1;
    color: var(--dusty);
}

.closing__msg {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.3;
}

.credit {
    margin-top: 60px;
    color: #999;
    font-size: 10px;
    text-align: center;
}

/* ---------- toast ---------- */
.toast {
    position: fixed;
    left: 50%;
    bottom: 70px;
    z-index: 400;
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    transform: translate(-50%, 20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}
