.letter-link-shell {
    --ll-red: #e50914;
    --ll-red-bright: #ff3340;
    --ll-ink: #f5f6fa;
    --ll-muted: #a9afbd;
    --ll-panel: #1b1e27;
    --ll-panel-soft: #232732;
    --ll-line: rgba(255, 255, 255, 0.12);
    --ll-green: #249b62;
    --daily-leaderboard-width: 360px;
    --daily-leaderboard-height: 510px;
    min-height: 100vh;
    font-family: var(--triplexi-ui-font, ui-sans-serif, system-ui, sans-serif);
}

.letter-link-shell .page-top {
    padding-bottom: 42px;
}

.letter-link-shell-title .main-title {
    padding-bottom: 10px;
}

.letter-link-shell .theme-switcher {
    appearance: none;
    color: inherit;
}

.letter-link-stage {
    box-sizing: border-box;
    min-height: 780px;
    padding: 24px clamp(10px, 3vw, 36px) 230px;
    color: var(--ll-ink);
    background:
        radial-gradient(circle at 12% 7%, rgba(229, 9, 20, 0.12), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(70, 108, 255, 0.12), transparent 25%),
        #11141b;
}

.letter-link-game {
    width: min(920px, 100%);
    margin: 0 auto;
}

.letter-link-intro {
    margin-bottom: 20px;
    text-align: center;
}

.letter-link-eyebrow {
    margin: 0 0 8px;
    color: var(--ll-red-bright);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.letter-link-intro h2 {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.65rem);
    font-weight: 700;
    line-height: 1.08;
}

.letter-link-intro > p:last-child {
    width: min(650px, 100%);
    margin: 10px auto 0;
    color: var(--ll-muted);
    font-size: 0.96rem;
    line-height: 1.55;
}

.puzzle-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.theme-pill,
.leaderboard-game-button {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--ll-line);
    border-radius: 12px;
    color: var(--ll-ink);
    background: var(--ll-panel-soft);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    font-size: 0.82rem;
    font-weight: 700;
}

.theme-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.theme-pill small {
    color: var(--ll-red-bright);
    font-size: 0.58rem;
    letter-spacing: 0.13em;
}

.leaderboard-game-button {
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease;
}

.leaderboard-game-button:hover {
    border-color: rgba(255, 51, 64, 0.65);
    transform: translateY(-2px);
}

.floating-timer {
    position: fixed;
    z-index: 76;
    right: 18px;
    bottom: 18px;
    display: grid;
    min-width: 106px;
    padding: 10px 14px;
    border: 1px solid var(--ll-line);
    border-radius: 14px;
    color: var(--ll-ink);
    background: rgba(27, 30, 39, 0.9);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    text-align: center;
    pointer-events: none;
}

.floating-timer span {
    color: var(--ll-red-bright);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.floating-timer strong {
    margin-top: 2px;
    font-size: 1.2rem;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.floating-timer.is-running {
    border-color: rgba(255, 51, 64, 0.5);
    box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.12), 0 14px 36px rgba(0, 0, 0, 0.3);
}

.linked-word-list {
    display: grid;
    gap: 9px;
}

.linked-word-row {
    display: grid;
    grid-template-columns: minmax(145px, 0.75fr) minmax(0, 2fr);
    align-items: center;
    gap: 18px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--ll-line);
    border-radius: 16px;
    color: var(--ll-ink);
    background: rgba(27, 30, 39, 0.88);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
    text-align: left;
    cursor: pointer;
    transition: border-color 200ms ease, background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.linked-word-row:hover:not(.is-solved) {
    border-color: rgba(255, 51, 64, 0.45);
    transform: translateY(-1px);
}

.linked-word-row.is-selected {
    border-color: var(--ll-red-bright);
    background: linear-gradient(90deg, rgba(229, 9, 20, 0.14), rgba(27, 30, 39, 0.96) 42%);
    box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.12), 0 15px 34px rgba(0, 0, 0, 0.22);
}

.linked-word-row.is-solved {
    border-color: rgba(36, 155, 98, 0.55);
    background: rgba(25, 65, 47, 0.48);
    cursor: default;
}

.linked-word-row.is-shaking {
    animation: shake 0.5s ease-in-out;
}

.clue-block {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.clue-number {
    flex: 0 0 auto;
    margin: 0;
    color: var(--ll-red-bright);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.clue-content {
    display: inline-grid;
    align-items: center;
    min-width: 0;
    position: relative;
}

.clue-text {
    grid-area: 1 / 1;
    overflow-wrap: anywhere;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.25;
    transition: filter 420ms ease, opacity 320ms ease, color 180ms ease;
}

.clue-text.is-concealed {
    color: var(--ll-muted);
    font-weight: 700;
    filter: blur(6px);
    opacity: 0.62;
    user-select: none;
}

.linked-word-row.is-selected .clue-text.is-revealed {
    color: var(--ll-ink);
    filter: blur(0);
    opacity: 1;
}

.word-tiles {
    display: flex;
    justify-content: center;
    gap: clamp(2px, 0.55vw, 5px);
    min-width: 0;
}

.letter-link-shell .letter-tile {
    position: relative;
    flex: 0 0 clamp(30px, 6vw, 56px);
    width: clamp(30px, 6vw, 56px);
    height: clamp(30px, 6vw, 56px);
    perspective: 1000px;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.linked-word-row.is-selected .letter-tile:not(.is-fixed) {
    border-color: rgba(255, 255, 255, 0.46);
}

.linked-word-row.is-selected .letter-tile.is-current {
    border-color: var(--ll-red-bright);
    outline: 2px solid rgba(255, 51, 64, 0.38);
    outline-offset: 2px;
    background: rgba(229, 9, 20, 0.13);
    box-shadow: 0 0 18px rgba(229, 9, 20, 0.3);
}

body.letter-link-shell .letter-tile.is-typed {
    border-color: rgba(255, 51, 64, 0.72);
    background: rgba(229, 9, 20, 0.08);
}

body.letter-link-shell .letter-tile.is-fixed {
    border-color: var(--ll-green);
    color: #fff;
    background: var(--ll-green);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.16), 0 5px 12px rgba(15, 104, 63, 0.2);
}

.letter-link-shell .letter-tile.is-flipping-out {
    transform: perspective(700px) rotateX(90deg);
    transition: transform 180ms cubic-bezier(0.55, 0.05, 0.85, 0.45);
}

.letter-link-shell .letter-tile.is-flipping-in {
    transform: perspective(700px) rotateX(-90deg);
    transition: none;
}

.letter-link-shell .letter-tile.is-flipping-in.is-flipping-in-active {
    transform: perspective(700px) rotateX(0deg);
    transition: transform 200ms cubic-bezier(0.15, 0.65, 0.35, 1);
}

.letter-link-shell .letter-tile.is-confirmed {
    animation: pop 200ms ease-in-out;
}

.letter-link-shell .letter-tile.is-linked-pop {
    animation: letter-link-linked-pop 300ms cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
}

.tile-letter {
    font-size: clamp(1.05rem, 3vw, 1.55rem);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.tile-code {
    position: absolute;
    top: 2px;
    left: 4px;
    color: var(--ll-muted);
    font-size: clamp(0.48rem, 1.3vw, 0.62rem);
    font-weight: 700;
    line-height: 1;
}

body.letter-link-shell .letter-tile.is-fixed .tile-code {
    color: rgba(255, 255, 255, 0.72);
}

@keyframes letter-link-linked-pop {
    0% { opacity: 0; transform: scale(0.65); }
    68% { opacity: 1; transform: scale(1.14); }
    100% { opacity: 1; transform: scale(1); }
}

.letter-link-shell .floating-controls {
    z-index: 70;
}

.letter-link-shell .floating-controls.is-name-entry {
    z-index: 100;
}

.letter-link-keyboard-toast {
    position: fixed;
    z-index: 85;
    left: 50%;
    bottom: 228px;
    box-sizing: border-box;
    width: max-content;
    max-width: calc(100vw - 32px);
    padding: 11px 16px;
    border: 1px solid rgba(255, 51, 64, 0.52);
    border-radius: 12px;
    color: #fff;
    background: rgba(27, 30, 39, 0.96);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.letter-link-keyboard-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.letter-link-shell .keyboard-container {
    border: 1px solid var(--ll-line);
}

.letter-link-keyboard {
    display: grid;
    gap: 7px;
}

.letter-link-keyboard-row {
    display: flex;
    justify-content: center;
    gap: 5px;
    width: 100%;
}

.letter-link-keyboard .keyboard-key {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 54px;
    border-radius: 6px;
    overflow: hidden;
    color: #151821;
    background: #e5e7eb;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.letter-link-keyboard .keyboard-key.is-special {
    flex: 0 0 88px;
    width: 88px;
    padding: 0 10px;
    font-size: 0.7rem;
}

.letter-link-keyboard .keyboard-key:disabled {
    opacity: 0.5;
    cursor: wait;
}

.letter-link-scrim {
    position: fixed;
    z-index: 98;
    inset: 0;
    background: rgba(3, 5, 9, 0.6);
    backdrop-filter: blur(3px);
}

.letter-link-scrim[hidden],
.completion-modal[hidden] {
    display: none !important;
}

.completion-modal {
    position: fixed;
    z-index: 99;
    inset: 0;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    padding: 20px;
}

#name-modal {
    padding-bottom: 220px;
}

.completion-card {
    box-sizing: border-box;
    width: min(430px, 100%);
    padding: 32px;
    border: 1px solid var(--ll-line);
    border-radius: 22px;
    color: var(--ll-ink);
    background: #1b1e27;
    box-shadow: 0 28px 85px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: openPresent 0.5s ease-out;
}

.completion-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    border-radius: 50%;
    color: #fff;
    background: var(--ll-green);
    font-size: 2rem;
    font-weight: 700;
}

.completion-card h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.completion-card > p:not(.letter-link-eyebrow) {
    margin: 12px 0 24px;
    color: var(--ll-muted);
}

.completion-card .completion-copy {
    margin: 12px 0 20px;
}

.completion-card .completion-time-label {
    margin: 0;
    color: var(--ll-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.completion-time-value {
    display: block;
    margin: 3px 0 26px;
    color: var(--ll-red-bright);
    font-size: clamp(3.4rem, 13vw, 4.8rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    text-shadow: 0 8px 28px rgba(229, 9, 20, 0.24);
}

.name-entry-card #name-time {
    color: var(--ll-red-bright);
    font-size: 1.15em;
    font-variant-numeric: tabular-nums;
}

.instructions-card {
    width: min(520px, 100%);
}

.instructions-card h2 {
    font-size: clamp(1.7rem, 5vw, 2.35rem);
}

.instructions-theme {
    display: grid;
    min-width: 0;
    gap: 5px;
    margin: 24px 0;
    padding: 18px;
    border: 1px solid rgba(255, 51, 64, 0.45);
    border-radius: 16px;
    background: rgba(229, 9, 20, 0.1);
    overflow: hidden;
}

.instructions-theme span {
    color: var(--ll-red-bright);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.instructions-theme strong {
    display: block;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    color: var(--ll-ink);
    font-size: clamp(2.1rem, 8vw, 3.4rem);
    font-weight: 700;
    line-height: 1;
    overflow-wrap: anywhere;
    text-wrap: balance;
    white-space: nowrap;
}

.completion-reset {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 50px;
    border-radius: 12px;
    color: #fff;
    background: var(--ll-red);
    font-weight: 700;
    text-decoration: none;
}

.completion-actions {
    display: flex;
    gap: 10px;
}

.completion-actions > * {
    flex: 1 1 0;
}

.completion-secondary {
    min-height: 50px;
    border: 1px solid var(--ll-line);
    border-radius: 12px;
    color: var(--ll-ink);
    background: var(--ll-panel-soft);
    font-weight: 700;
}

.name-entry-card {
    width: min(430px, 100%);
    max-height: calc(100dvh - 236px);
    padding: 30px;
    overflow-y: auto;
}

.name-modal-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 19px;
    background: rgba(229, 9, 20, 0.12);
    font-size: 1.75rem;
    transform: rotate(-5deg);
}

.initial-boxes {
    display: flex;
    justify-content: center;
    gap: 9px;
    width: max-content;
    margin: 20px auto 12px;
    cursor: text;
}

.initial-boxes .initial-box {
    appearance: none;
    box-sizing: border-box;
    width: 56px;
    height: 62px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.22);
    border-radius: 13px;
    outline: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    caret-color: var(--ll-red-bright);
    font: 700 2rem/1 var(--triplexi-ui-font, ui-sans-serif, system-ui, sans-serif);
    text-align: center;
    text-transform: uppercase;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.initial-boxes .initial-box:focus {
    border-color: var(--ll-red-bright);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.16);
}

.initial-boxes .initial-box.has-letter {
    border-color: var(--ll-red);
    background: var(--ll-red);
    transform: translateY(-3px);
    animation: pop 200ms ease-in-out;
}

.initial-boxes input[type="hidden"] {
    display: none;
}

.name-message {
    min-height: 20px;
    margin: 0 0 10px;
    color: #ff8d95;
    font-size: 0.78rem;
}

.name-entry-card .completion-actions {
    flex-direction: column;
    gap: 6px;
}

.name-entry-card .completion-reset {
    min-height: 48px;
}

.name-entry-card .completion-reset:disabled {
    cursor: not-allowed;
    filter: grayscale(0.45);
    opacity: 0.45;
}

.name-skip-button {
    min-height: 34px;
    color: var(--ll-muted);
    background: transparent;
    font-size: 0.78rem;
    font-weight: 700;
}

.name-skip-button:hover {
    color: var(--ll-ink);
}

.leaderboard-scrim {
    position: fixed;
    z-index: 89;
    inset: 0;
}

.leaderboard-scrim[hidden] {
    display: none !important;
}

.letter-link-leaderboard {
    padding: 18px 20px;
    color: var(--ll-ink);
    background: #1b1e27;
}

.leaderboard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ll-line);
}

.leaderboard-head h2 {
    margin: 0;
}

.leaderboard-close {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--ll-ink);
    background: rgba(255, 255, 255, 0.08);
    font-size: 1.65rem;
    line-height: 1;
}

.letter-link-leaderboard-list {
    flex: 1;
}

.letter-link-leaderboard-row {
    display: grid;
    grid-template-columns: 28px 28px minmax(0, 1fr) auto;
    align-items: center;
    min-height: 41px;
    border-bottom: 1px solid var(--ll-line);
    font-variant-numeric: tabular-nums;
}

.letter-link-leaderboard-row.is-placeholder {
    opacity: 0.38;
}

.letter-link-leaderboard-row.is-new {
    background: rgba(229, 9, 20, 0.14);
    animation: pop 300ms ease-out;
}

.letter-link-rank,
.letter-link-time {
    font-weight: 700;
}

.letter-link-time {
    padding-left: 8px;
}

.flag-placeholder {
    opacity: 0.55;
}

body.light-mode.letter-link-shell {
    --ll-ink: #171a22;
    --ll-muted: #626a78;
    --ll-panel: #fff;
    --ll-panel-soft: rgba(255, 255, 255, 0.88);
    --ll-line: rgba(20, 24, 34, 0.13);
}

body.light-mode.letter-link-shell .letter-link-stage {
    color: #141414;
    background:
        radial-gradient(circle at 12% 7%, rgba(229, 9, 20, 0.08), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(70, 108, 255, 0.08), transparent 25%),
        #f5f6f8;
}

body.light-mode.letter-link-shell .floating-timer,
body.light-mode.letter-link-shell .letter-link-leaderboard,
body.light-mode.letter-link-shell .completion-secondary {
    color: #141414;
    background: rgba(255, 255, 255, 0.96);
}

body.light-mode.letter-link-shell .leaderboard-close {
    color: #141414;
    background: #eef0f3;
}

body.light-mode.letter-link-shell .initial-boxes .initial-box {
    border-color: rgba(20, 24, 34, 0.2);
    color: #141414;
    background: #f7f8fa;
}

body.light-mode.letter-link-shell .initial-boxes .initial-box.has-letter {
    border-color: var(--ll-red);
    color: #fff;
    background: var(--ll-red);
}

body.light-mode.letter-link-shell .name-skip-button:hover {
    color: #141414;
}

body.light-mode.letter-link-shell .letter-link-intro h2,
body.light-mode.letter-link-shell .theme-pill,
body.light-mode.letter-link-shell .leaderboard-game-button,
body.light-mode.letter-link-shell .clue-text {
    color: #141414;
}

body.light-mode.letter-link-shell .letter-link-eyebrow,
body.light-mode.letter-link-shell .theme-pill small,
body.light-mode.letter-link-shell .clue-number {
    color: #c80e18;
}

body.light-mode.letter-link-shell .letter-link-intro > p:last-child,
body.light-mode.letter-link-shell .clue-text.is-concealed,
body.light-mode.letter-link-shell .tile-code {
    color: #4b5563;
}

body.light-mode.letter-link-shell .linked-word-row {
    border-color: #d1d5db;
    color: #141414;
    background: #fff;
    box-shadow: 0 12px 28px rgba(28, 32, 43, 0.08);
}

body.light-mode.letter-link-shell .linked-word-row.is-selected {
    background: linear-gradient(90deg, rgba(229, 9, 20, 0.09), #fff 45%);
}

body.light-mode.letter-link-shell .linked-word-row.is-solved {
    background: #e3f7ed;
}

body.light-mode.letter-link-shell .letter-tile {
    border-color: #d1d5db;
    color: #141414;
    background: transparent;
}

body.light-mode.letter-link-shell .linked-word-row.is-selected .letter-tile:not(.is-fixed) {
    border-color: rgba(20, 24, 34, 0.5);
}

body.light-mode.letter-link-shell .linked-word-row.is-selected .letter-tile.is-current {
    border-color: #c80e18;
    outline-color: rgba(200, 14, 24, 0.3);
    background: #fff0f1;
    box-shadow: 0 0 16px rgba(200, 14, 24, 0.2);
}

body.light-mode.letter-link-shell .letter-tile.is-typed {
    border-color: rgba(229, 9, 20, 0.62);
    background: #fff1f2;
}

body.light-mode.letter-link-shell .letter-tile.is-fixed {
    border-color: var(--ll-green);
    color: #fff;
    background: var(--ll-green);
}

body.light-mode.letter-link-shell .letter-tile.is-fixed .tile-code {
    color: rgba(255, 255, 255, 0.82);
}

body.light-mode.letter-link-shell .keyboard-container {
    background-color: rgba(244, 240, 240, 0.92);
    box-shadow: 0 18px 50px rgba(28, 32, 43, 0.16);
}

body.light-mode.letter-link-shell .letter-link-keyboard .keyboard-key {
    border-color: #b8bdc7;
    color: #141414;
    background: #e5e7eb;
}

body.light-mode.letter-link-shell .completion-card {
    color: #171a22;
    background: #fff;
}

body.light-mode.letter-link-shell .instructions-theme {
    border-color: rgba(200, 14, 24, 0.3);
    background: #fff0f1;
}

body.light-mode.letter-link-shell .instructions-theme strong {
    color: #141414;
}

@media (max-width: 640px) {
    .letter-link-shell .page-top {
        padding-bottom: 28px;
    }

    .letter-link-stage {
        padding: 16px 8px 218px;
    }

    .letter-link-intro {
        margin-bottom: 16px;
        padding: 0 8px;
    }

    .letter-link-intro h2 {
        font-size: 1.75rem;
    }

    .letter-link-intro > p:last-child {
        font-size: 0.88rem;
    }

    .puzzle-toolbar {
        flex-wrap: wrap;
        gap: 7px;
    }

    .theme-pill,
    .leaderboard-game-button {
        min-height: 36px;
        padding-inline: 10px;
        font-size: 0.74rem;
    }

    .linked-word-list {
        gap: 7px;
    }

    .linked-word-row {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 10px 8px 11px;
        border-radius: 13px;
        text-align: center;
    }

    .clue-number {
        margin: 0;
    }

    .clue-text {
        font-size: 0.86rem;
    }

    .clue-block {
        justify-content: center;
    }

    .word-tiles {
        gap: 3px;
    }

    .letter-link-shell .letter-tile {
        flex-basis: clamp(30px, 8.55vw, 40px);
        width: clamp(30px, 8.55vw, 40px);
        height: clamp(30px, 8.55vw, 40px);
    }

    .letter-link-keyboard {
        gap: 5px;
    }

    .letter-link-keyboard-row {
        gap: 3px;
    }

    .letter-link-keyboard .keyboard-key {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        height: 52px;
        font-size: 0.9rem;
    }

    .letter-link-keyboard .keyboard-key.is-special {
        flex: 0 0 clamp(58px, 17vw, 76px);
        width: clamp(58px, 17vw, 76px);
        padding: 0 5px;
        font-size: 0.59rem;
    }

    .letter-link-keyboard-toast {
        bottom: 188px;
    }

    .completion-card {
        padding: 26px 20px;
    }
}

@media (max-width: 1050px) {
    .floating-timer {
        right: 10px;
        bottom: 184px;
        min-width: 92px;
        padding: 8px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .letter-link-keyboard-toast {
        transition: none;
    }

    .letter-tile.is-flipping-out,
    .letter-tile.is-flipping-in,
    .letter-tile.is-flipping-in.is-flipping-in-active,
    .letter-tile.is-confirmed,
    .letter-tile.is-linked-pop,
    .clue-text,
    .linked-word-row.is-shaking,
    .completion-card {
        animation-duration: 1ms !important;
        transition-duration: 1ms !important;
    }
}
