/* ---------- tokens ---------- */
:root {
    --ink: #5a1a35;
    --paper: #fff5f9;
    --card: #ffffff;
    --soft: #ffe3ee;
    --mute: #a0627f;
    --line: #ffb3cf;
    --accent: #ff6fa5;
    --accent-ink: #ffffff;
    --red: #e4002b;
    --red-ink: #ffffff;
    --red-edge: #a30020;
    --sun: #ffe27a;
    --sun-edge: #e0a800;
    --sun-ink: #4a3300;
    --dot: #ffd3e3;
    --gingham: rgba(255, 143, 184, 0.3);
    --st-1: #ffd1e3;
    --st-2: #fff0a6;
    --st-3: #cfe8ff;
    --st-4: #ffd9c9;
    --st-5: #d8f5dc;
    --st-ink: #5a1a35;
    --shadow: 0 6px 0 var(--line);
    --pop-shadow: 0 14px 36px rgba(120, 20, 70, 0.3);
    --icon-filter: brightness(0);
    --bow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 70'%3E%3Cpath d='M50 35C35 5 5 2 5 28C5 55 35 60 50 35ZM50 35C65 5 95 2 95 28C95 55 65 60 50 35Z' fill='%23e4002b' stroke='%23a30020' stroke-width='3' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='35' r='11' fill='%23ff3d5f' stroke='%23a30020' stroke-width='3'/%3E%3C/svg%3E");

    --font-display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
    --font-body: "Nunito", system-ui, sans-serif;
    --font-size: clamp(15px, 0.5vw + 13px, 18px);

    --outer-radius: 28px;
    --inner-radius: 16px;
    --full-radius: 999px;
    --arch: 50% 50% var(--outer-radius) var(--outer-radius) / 36% 36%
        var(--outer-radius) var(--outer-radius);
    --arch-inner: 50% 50% 18px 18px / 36% 36% 18px 18px;

    --border: 3px;
    --frame: 4px;
    --mat: 7px;
    --gap: clamp(12px, 2.2vw, 22px);
    --pad: clamp(16px, 2.6vw, 28px);
    --page-width: 1100px;
    --menu-size: 46px;
    --menu-width: 340px;
    --dock-width: 520px;
    --dock-space: 92px;
    --game-gap: 14px;
    --game-height: 190px;
    --label-h: 38px;
    --arrow-size: 36px;
    --arrow-icon-size: 18px;
    --gingham-size: 52px;
    --bow-size: clamp(56px, 8vw, 84px);
    --ticker-speed: 28s;
    --tilt-touch: none;
}
@media (prefers-color-scheme: dark) {
    :root {
        --ink: #ffe6f0;
        --paper: #2a1420;
        --card: #3a1b2c;
        --soft: #4d2338;
        --mute: #e6a9c4;
        --line: #7a3456;
        --accent: #ff8fba;
        --accent-ink: #3a0d22;
        --dot: #4a2036;
        --gingham: rgba(255, 120, 170, 0.12);
        --pop-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
        --icon-filter: brightness(0) invert(1);
    }
}

/* ---------- base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: env(safe-area-inset-top, 0px);
}
body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--paper);
    background-image:
        linear-gradient(90deg, var(--gingham) 50%, transparent 50%),
        linear-gradient(var(--gingham) 50%, transparent 50%);
    background-size: var(--gingham-size) var(--gingham-size);
    color: var(--ink);
    font: 400 var(--font-size) / 1.6 var(--font-body);
    -webkit-font-smoothing: antialiased;
    padding: calc(var(--gap) + env(safe-area-inset-top, 0px))
        calc(var(--gap) + env(safe-area-inset-right, 0px))
        calc(var(--gap) + var(--dock-space) + env(safe-area-inset-bottom, 0px))
        calc(var(--gap) + env(safe-area-inset-left, 0px));
}
a {
    color: inherit;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}
:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
}
h1,
h2,
h3 {
    font-family: var(--font-display);
    line-height: 1.05;
    margin: 0;
}
p {
    margin: 0;
    max-width: 62ch;
}
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
button {
    font: inherit;
    color: inherit;
    cursor: pointer;
}

/* ---------- layout ---------- */
.page {
    max-width: var(--page-width);
    margin: 0 auto;
    display: grid;
    gap: var(--gap);
}
.bento {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--gap);
}
.w2 {
    grid-column: span 2;
}
.w3 {
    grid-column: span 3;
}
.w4 {
    grid-column: span 4;
}
.w6 {
    grid-column: span 6;
}
.stack {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: var(--gap);
}

/* ---------- tiles ---------- */
.tile {
    position: relative;
    background: var(--card);
    border: var(--border) solid var(--line);
    border-radius: var(--outer-radius);
    padding: var(--pad);
    box-shadow: var(--shadow);
}
.tile::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 2px dashed var(--line);
    border-radius: calc(var(--outer-radius) - 7px);
    pointer-events: none;
}
.tile > h2 {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: calc(100% + var(--pad));
    margin: 0 0 16px calc(var(--pad) * -1);
    padding: 6px 22px 6px var(--pad);
    border-radius: 0 var(--full-radius) var(--full-radius) 0;
    background: var(--red);
    color: var(--red-ink);
    box-shadow: 0 4px 0 var(--red-edge);
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    font-weight: 700;
}
.title-icon {
    width: 26px;
    height: 26px;
    flex: none;
    object-fit: contain;
}
.title-icon.is-icon {
    filter: var(--icon-filter);
}
.title-icon[hidden] {
    display: none;
}
.tile > h2 .title-icon.is-icon {
    filter: brightness(0) invert(1);
}
.sub {
    margin-bottom: 14px;
    color: var(--mute);
    font-size: 0.95em;
}

/* ---------- dock (menu + clock) ---------- */
.topbar {
    position: fixed;
    left: 50%;
    bottom: calc(var(--gap) + env(safe-area-inset-bottom, 0px));
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: min(calc(100% - var(--gap) * 2), var(--dock-width));
    padding: 8px;
    transform: translateX(-50%);
    border: var(--border) solid var(--red-edge);
    border-radius: var(--full-radius);
    background: var(--red);
    box-shadow: 0 6px 0 var(--red-edge);
}
.menu-btn {
    flex: none;
    display: grid;
    place-items: center;
    width: var(--menu-size);
    height: var(--menu-size);
    padding: 0;
    border: 0;
    border-radius: var(--full-radius);
    background: var(--sun);
    box-shadow: inset 0 -3px 0 var(--sun-edge);
    -webkit-tap-highlight-color: transparent;
}
.menu-btn .title-icon {
    width: 26px;
    height: 26px;
    filter: brightness(0);
    transition: transform 0.25s ease;
}
.topbar.open .menu-btn .title-icon {
    transform: rotate(90deg);
}
.topbar nav,
.time-pop {
    position: absolute;
    bottom: calc(100% + 14px);
    width: min(100%, var(--menu-width));
    border: var(--border) solid var(--line);
    border-radius: var(--outer-radius);
    background: var(--card);
    color: var(--ink);
    box-shadow: var(--pop-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s;
}
.topbar nav {
    left: 0;
    padding: 8px;
}
.time-pop {
    right: 0;
    display: grid;
    gap: 12px;
    padding: 16px 18px;
}
.topbar.open nav,
.topbar.time-open .time-pop {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.topbar nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.pill {
    display: block;
    padding: 9px 12px;
    border-radius: var(--full-radius);
    background: var(--soft);
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}
.pill:hover {
    background: var(--accent);
    color: var(--accent-ink);
}

/* mode switch pill: full width at the bottom of the menu */
.pill[data-mode] {
    grid-column: 1 / -1;
    background: var(--accent);
    color: var(--accent-ink);
    border: var(--border) dashed var(--accent-ink);
    box-shadow: 0 3px 0 var(--line);
}
.pill[data-mode]:hover {
    background: var(--sun);
    color: var(--sun-ink);
    border-color: var(--sun-edge);
}
.pill[data-mode]:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 var(--line);
}

.time {
    display: inline-flex;
    align-items: center;
    margin-right: 4px;
    padding: 9px 18px;
    border: 0;
    border-radius: var(--full-radius);
    background: var(--card);
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05em;
    line-height: 1;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}
.tz-row {
    display: grid;
    grid-template-columns: 3em 1fr;
    align-items: center;
    gap: 2px 12px;
}
.tz-label {
    font-weight: 800;
    opacity: 0.7;
}
.tz-time {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
}
.tz-zone {
    grid-column: 2;
    font-size: 0.85rem;
    opacity: 0.7;
}
.tz-diff {
    max-width: none;
    padding: 10px 14px;
    border-radius: var(--inner-radius);
    background: var(--soft);
    font-weight: 800;
}

/* ---------- hero ---------- */
.hero {
    grid-column: 1 / span 4;
    grid-row: 1;
    display: grid;
    align-content: center;
    gap: 14px;
    padding-right: calc(var(--pad) + var(--bow-size));
    background-color: var(--card);
    background-image: radial-gradient(var(--dot) 22%, transparent 23%);
    background-size: 28px 28px;
}
.hero::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 14px;
    width: var(--bow-size);
    height: calc(var(--bow-size) * 0.7);
    background: var(--bow) center / contain no-repeat;
    transform: rotate(14deg);
    filter: drop-shadow(0 4px 0 rgba(120, 0, 30, 0.22));
    pointer-events: none;
}
.kicker {
    width: fit-content;
    padding: 0.2em 0.9em;
    border-radius: var(--full-radius);
    background: var(--sun);
    color: var(--sun-ink);
    font-size: 0.8em;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.hero h1 {
    color: var(--red);
    font-size: clamp(2.2rem, 6vw, 4.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 0 var(--line);
    overflow-wrap: anywhere;
}
.hero h1 em {
    display: inline-block;
    padding: 0 0.22em;
    border-radius: 0.3em;
    background: var(--red);
    color: var(--red-ink);
    font-style: normal;
    text-shadow: none;
    transform: rotate(-2deg);
}
.lede {
    width: fit-content;
    max-width: 46ch;
    padding: 0.7em 1em;
    border: 2px solid var(--line);
    border-radius: var(--inner-radius);
    background: var(--card);
    font-size: 1.05em;
}

/* ---------- tilt cards ---------- */
[data-tilt] {
    perspective: 700px;
    touch-action: var(--tilt-touch);
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}
.tilt {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--outer-radius);
}
.tilt-card {
    --tile-radius: var(--inner-radius);
    --rx: 0deg;
    --ry: 0deg;
    --gx: 50%;
    --gy: 50%;
    --lift: 1;
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 100%;
    border-radius: var(--tile-radius);
    clip-path: inset(0 round var(--tile-radius));
    overflow: hidden;
    background: var(--soft);
    transform: rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--lift));
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}
.tilt-card.active {
    --lift: 1.05;
    transition: transform 0.08s linear;
}
.glare {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(
        circle at var(--gx) var(--gy),
        rgba(255, 255, 255, 0.6),
        transparent 55%
    );
    mix-blend-mode: soft-light;
    transition: opacity 0.5s ease;
}
.tilt-card.active .glare {
    opacity: 1;
}

/* ---------- profile photo ---------- */
.photo {
    grid-column: 5 / span 2;
    grid-row: 1 / span 2;
    display: block;
}
.photo .tilt {
    height: 100%;
    min-height: 280px;
    aspect-ratio: auto;
}
.photo .tilt-card {
    --tile-radius: var(--arch);
    padding: var(--mat);
    border: var(--border) solid var(--line);
    background: var(--card);
}
.avatar {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}
.photo .avatar {
    border-radius: var(--arch-inner);
}
.avatar.is-fallback {
    object-fit: contain;
    padding: 22%;
    filter: var(--icon-filter);
}

/* ---------- partner + info ---------- */
.partner {
    grid-column: 1 / span 2;
    grid-row: 2;
    display: grid;
    align-content: space-between;
    gap: 10px;
    background: var(--sun);
    border-color: var(--sun-edge);
    color: var(--sun-ink);
    text-decoration: none;
    box-shadow: 0 6px 0 var(--sun-edge);
    transition: transform 0.2s ease;
}
.partner::before {
    border-color: var(--sun-edge);
}
.partner::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 14px;
    width: 56px;
    height: 40px;
    background: var(--bow) center / contain no-repeat;
    transform: rotate(-12deg);
    pointer-events: none;
}
a.partner:hover {
    transform: translateY(-4px) rotate(-1deg);
}
.partner .title-icon {
    width: 34px;
    height: 34px;
}
.partner .title-icon.is-icon {
    filter: brightness(0);
}
.partner-label {
    font-size: 0.8em;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.partner-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1;
}

.info {
    grid-column: 3 / span 2;
    grid-row: 2;
    display: grid;
    align-content: center;
    gap: 12px;
    margin: 0;
}
.info > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 0.35em;
    border-bottom: 2px dotted var(--line);
}
.info dt {
    color: var(--mute);
    font-size: 0.8em;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.info dd {
    margin: 0;
    font: 700 1.3rem / 1.1 var(--font-display);
    text-align: right;
    overflow-wrap: anywhere;
}
.copy {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    text-align: right;
    text-decoration: underline dotted;
    text-underline-offset: 4px;
}

/* ---------- ticker ---------- */
.ticker {
    grid-column: 1 / -1;
    grid-row: 3;
    overflow: hidden;
    padding: 0.6em 0;
    border-radius: 10px;
    background-color: var(--red);
    background-image: radial-gradient(
        rgba(255, 255, 255, 0.35) 20%,
        transparent 21%
    );
    background-size: 18px 18px;
    color: var(--red-ink);
    box-shadow: 0 5px 0 var(--red-edge);
    transform: rotate(-1deg);
}
.ticker-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: marquee var(--ticker-speed) linear infinite;
}
.ticker-set {
    display: flex;
    flex: none;
    align-items: center;
    gap: 1.2em;
    padding-right: 1.2em;
    font: 700 1.25rem / 1.2 var(--font-display);
    white-space: nowrap;
}
.ticker-set i {
    color: var(--sun);
    font-style: normal;
}
@keyframes marquee {
    to {
        transform: translateX(calc(var(--ticker-shift, 50%) * -1));
    }
}

/* ---------- chips + rules ---------- */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.chip {
    padding: 0.2em 0.85em;
    border: 2px solid var(--line);
    border-radius: 16px 16px 16px 4px;
    background: var(--card);
    font-weight: 700;
    overflow-wrap: anywhere;
    transition: transform 0.15s ease;
}
.chip::before {
    content: "♡";
    margin-right: 0.35em;
    color: var(--accent);
    font-size: 0.9em;
}
.chip:hover {
    transform: translateY(-2px) rotate(-1deg);
}
.chip.hot {
    border-color: var(--red-edge);
    background: var(--red);
    color: var(--red-ink);
}
.chip.hot::before {
    content: "♥";
    color: var(--red-ink);
}
.chip.todo {
    border-style: dashed;
    border-color: var(--mute);
    background: none;
    color: var(--mute);
    font-weight: 600;
}
.chip.todo::before {
    content: none;
}

.rules {
    counter-reset: rule;
}
.rules li {
    counter-increment: rule;
    position: relative;
    padding: 8px 0 8px 2.9em;
}
.rules li::before {
    content: counter(rule);
    position: absolute;
    left: 0;
    top: 0.55em;
    display: grid;
    place-items: center;
    width: 1.9em;
    height: 1.9em;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-ink);
    font: 700 0.9em var(--font-display);
}
.rules li.todo {
    color: var(--mute);
    font-style: italic;
}

/* ---------- games (red frame, same as favorites) ---------- */
#games {
    display: flex;
    flex-direction: column;
}
.games {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: var(--game-gap);
}
.games > li {
    position: relative;
    min-height: var(--game-height);
}
.games > li:nth-child(odd) {
    transform: rotate(-2deg);
}
.games > li:nth-child(even) {
    transform: rotate(1.8deg);
}
.game {
    position: absolute;
    inset: 0;
    display: block;
    color: inherit;
    text-decoration: none;
}
.games .tilt-card {
    --tile-radius: var(--inner-radius);
    padding: 1px 1px var(--label-h);
    border: var(--frame) solid var(--red);
    background: var(--red);
    box-shadow: 0 4px 10px rgba(120, 20, 70, 0.25);
}
.game-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--inner-radius);
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}
.game-img.is-fallback,
.widget-img.is-fallback {
    object-fit: contain;
    padding: 26%;
    filter: brightness(0);
}
.game-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    place-items: center;
    height: var(--label-h);
    padding: 0 8px;
    color: var(--red-ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95em;
    line-height: 1.1;
    text-align: center;
    pointer-events: none;
}

/* ---------- favorite characters (red frame, rounded bottom image) ---------- */
.favs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--game-gap);
}
.fav-role {
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95em;
}
.fav {
    display: block;
    aspect-ratio: 3 / 4;
    color: inherit;
    text-decoration: none;
}
.fav .tilt-card {
    --tile-radius: var(--inner-radius);
    border: var(--frame) solid var(--red);
    background: var(--red);
}
.widget-inner {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: inherit;
}
.widget-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}
.fav .widget-img {
    inset: 0 0 auto 0;
    height: calc(100% - var(--label-h));
    border-radius: var(--inner-radius);
}
.widget-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    place-items: center;
    height: var(--label-h);
    padding: 0 8px;
    background: var(--red);
    color: var(--red-ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95em;
    line-height: 1.1;
    text-align: center;
    pointer-events: none;
}

/* ---------- socials ---------- */
.socials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(5.4em, 1fr));
    gap: var(--game-gap);
}
.social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    padding: 0.9em 0.4em;
    border-radius: var(--inner-radius);
    background: var(--st-1);
    color: var(--st-ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85em;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: anywhere;
    text-decoration: none;
    transition: transform 0.15s ease;
}
.socials li:nth-child(5n + 2) .social {
    background: var(--st-2);
}
.socials li:nth-child(5n + 3) .social {
    background: var(--st-3);
}
.socials li:nth-child(5n + 4) .social {
    background: var(--st-4);
}
.socials li:nth-child(5n + 5) .social {
    background: var(--st-5);
}
.social img {
    width: 2em;
    height: 2em;
    flex: none;
    filter: brightness(0);
    transition: transform 0.2s ease;
}
.social:hover {
    transform: rotate(-4deg) scale(1.06);
}
.social:hover img {
    transform: scale(1.15);
}

/* ---------- more / back button ---------- */
.more {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px 8px 8px 26px;
    border: var(--border) solid var(--red-edge);
    border-radius: var(--full-radius);
    background: var(--red);
    color: var(--red-ink);
    box-shadow: 0 6px 0 var(--red-edge);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1em;
    line-height: 1.2;
    text-decoration: none;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}
.more.back {
    padding: 8px 26px 8px 8px;
}
.more .arrow {
    display: grid;
    place-items: center;
    width: var(--arrow-size);
    height: var(--arrow-size);
    border-radius: 50%;
    background: #ffffff;
}
.more .arrow img {
    display: block;
    width: var(--arrow-icon-size);
    height: var(--arrow-icon-size);
    filter: brightness(0);
}
.more:not(.back) .arrow img {
    transform: scaleX(-1);
}
.more:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 var(--red-edge);
}
.more:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 var(--red-edge);
}

/* ---------- footer ---------- */
.foot {
    padding: 6px 0 2px;
    color: var(--mute);
    font-weight: 700;
    text-align: center;
}
.foot p {
    max-width: none;
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
    .bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .w3,
    .w4,
    .w6,
    .hero,
    .info,
    .ticker {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .w2,
    .photo,
    .partner {
        grid-column: span 1;
        grid-row: auto;
    }
    /* likes / dislikes / i am: one per row, top to bottom */
    .list-tile {
        grid-column: 1 / -1;
    }
    .photo .tilt {
        height: auto;
        min-height: 0;
        aspect-ratio: 1;
    }
    .partner-name {
        font-size: clamp(1.6rem, 9vw, 2.6rem);
    }
    .games > li {
        min-height: 150px;
    }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .ticker-track {
        animation: none;
    }
    .chip,
    .social,
    .social img,
    .more,
    .partner,
    .menu-btn .title-icon,
    .topbar nav,
    .time-pop {
        transition: none;
    }
    .chip:hover,
    .social:hover,
    .social:hover img,
    .more:hover,
    .more:active,
    a.partner:hover {
        transform: none;
    }
}
