:root {
    --paper: #f5f7f6;
    --card: #ffffff;
    --ink: #16211c;
    --muted: #5d6b64;
    --line: #e3ebe6;
    --accent: #0c7a56;
    --accent-dark: #085c41;
    --accent-soft: #e7f6f0;
    --accent-line: #b7e0d0;
    --warn: #9a3b32;
    --shadow: 0 1px 2px rgba(22, 33, 28, 0.04), 0 10px 28px rgba(22, 33, 28, 0.05);
    color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(420px 240px at 6% 8%, #ffd4c2 0%, transparent 70%),
        radial-gradient(460px 260px at 96% 0%, #d9e2ff 0%, transparent 72%),
        radial-gradient(520px 280px at 78% 100%, #d4f6e6 0%, transparent 70%),
        #f6f3ee;
    color: var(--ink);
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 1.02rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

::selection { background: #cfe8dc; }

h1 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 720;
    text-wrap: balance;
}

a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--ink);
    color: white;
    padding: 0.5rem 0.8rem;
    z-index: 10;
    border-radius: 10px;
}
.skip:focus { top: 0.5rem; }

.wrap { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; }
.wrap-read { width: min(720px, calc(100% - 2rem)); margin: 0 auto; }
.wrap-read > p { line-height: 1.7; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(227, 235, 230, 0.9);
}

.header-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-height: 3.7rem;
    padding: 0.55rem 0;
}

.logo {
    font-weight: 760;
    letter-spacing: -0.05em;
    font-size: 1.28rem;
    color: var(--ink);
    text-decoration: none;
    flex: none;
}
.logo span { color: var(--accent); }

.header-search { flex: 1; min-width: 0; }

.site-main { padding: 1.6rem 0 3.2rem; }

.hero { padding: 1.6rem 0 0.2rem; }
.home-games {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
}
.home-games a {
    display: grid;
    gap: 0.35rem;
    padding: 0.4rem 0.4rem 0.55rem;
    background: white;
    border: 2px solid #d5def8;
    border-radius: 18px;
    box-shadow: 0 6px 0 #d5def8;
    text-decoration: none;
    color: inherit;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.home-games a:hover { transform: translateY(-4px); box-shadow: 0 10px 0 #b9c6f0; }
.home-games img { display: block; width: 100%; height: auto; border-radius: 12px; }
.home-games span { font-weight: 750; text-align: center; letter-spacing: -0.02em; }
.hero h1 {
    margin: 0 0 0.4rem;
    font-size: clamp(2.3rem, 6vw, 3.6rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-weight: 740;
}
.lede { margin: 0 0 1.15rem; color: var(--muted); max-width: 36rem; font-size: 1.05rem; }

.search-form {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 0.75rem;
    background: white;
    border: 2px solid color-mix(in srgb, #1f8fff 28%, white);
    border-radius: 22px;
    padding: 0.7rem;
    box-shadow: 0 8px 0 color-mix(in srgb, #1f8fff 18%, white);
    animation: game-rise 0.45s ease;
}
.search-form.compact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    animation: none;
}

.keyboard { display: flex; flex-wrap: wrap; gap: 0.2rem; align-items: center; }
.keyboard[hidden] { display: none; }
.keyboard-caption { flex: 1 0 100%; color: var(--muted); font-size: 0.82rem; }
.keyboard button, .keyboard-toggle {
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    font: inherit;
    cursor: pointer;
}
.keyboard button {
    width: 1.7rem;
    height: 1.7rem;
    padding: 0;
    border-radius: 7px;
    font-size: 0.82rem;
    line-height: 1;
    font-weight: 700;
}
.keyboard button:nth-child(5n + 1) { background: #ffe3d4; }
.keyboard button:nth-child(5n + 2) { background: #e5f1ff; }
.keyboard button:nth-child(5n + 3) { background: #e5f8ef; }
.keyboard button:nth-child(5n + 4) { background: #fff4d4; }
.keyboard button:nth-child(5n + 5) { background: #ffe6f2; }
.keyboard-toggle {
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--muted);
}
.keyboard button:hover, .keyboard-toggle:hover { border-color: var(--accent-line); background: var(--accent-soft); color: var(--ink); }
.search-form.compact .keyboard-toggle { width: auto; margin: 0; }
.search-form.compact .search-line { flex: 1 1 12rem; min-width: 0; }

.search-line { display: flex; gap: 0.45rem; }
.suggest-field { position: relative; flex: 1 1 auto; min-width: 0; }
.suggest-list {
    position: absolute;
    z-index: 30;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    margin: 0;
    padding: 0.3rem;
    list-style: none;
    background: white;
    color: var(--ink);
    border: 1px solid #d5def8;
    border-radius: 16px;
    box-shadow: 0 8px 0 color-mix(in srgb, #1f8fff 16%, white);
    max-height: min(28rem, 70vh);
    overflow: auto;
}
.suggest-list[hidden] { display: none; }
.suggest-list button {
    display: block;
    width: 100%;
    text-align: start;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    border-radius: 10px;
    padding: 0.48rem 0.7rem;
    cursor: pointer;
}
.suggest-list button.on,
.suggest-list button:hover { background: #e5f1ff; }
.search-line input[type="search"],
.search-form select {
    width: 100%;
    border: 1px solid var(--line);
    background: #fbfcfb;
    color: var(--ink);
    border-radius: 14px;
    padding: 0.85rem 0.95rem;
    font: inherit;
    font-size: 1rem;
}
.search-form.compact .search-line {
    align-items: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.18rem 0.18rem 0.18rem 0.9rem;
    box-shadow: 0 1px 2px rgba(22, 33, 28, 0.04);
}
.search-form.compact .search-line input[type="search"] {
    border: 0;
    background: transparent;
    border-radius: 0;
    padding: 0.42rem 0.2rem;
    box-shadow: none;
}
.search-form.compact button.primary {
    border-radius: 999px;
    padding: 0.42rem 0.9rem;
}
.search-line input[type="search"]:focus,
.search-form select:focus,
.fields input:focus,
.fields select:focus,
.fields textarea:focus,
.panel input:focus,
.panel select:focus,
.game-line input:focus,
.langs select:focus-visible,
.pill input:focus-visible + span,
button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(12, 122, 86, 0.28);
    outline-offset: 2px;
}
.search-form.compact .search-line input[type="search"]:focus { outline: none; }
.search-form.compact .search-line:focus-within {
    outline: 3px solid rgba(12, 122, 86, 0.28);
    outline-offset: 2px;
}

button.primary, .button {
    border: 0;
    background: var(--accent);
    color: white;
    border-radius: 14px;
    padding: 0.85rem 1.15rem;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 0 var(--accent-dark);
    transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}
button.primary:hover, .button:hover { background: var(--accent-dark); transform: translateY(-2px); }
button.primary:active, .button:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--accent-dark); }

.pills { display: flex; flex-wrap: wrap; gap: 0.4rem; border: 0; margin: 0; padding: 0 0.25rem; }
.pills legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pill { cursor: pointer; }
.pill input { position: absolute; opacity: 0; }
.pill span {
    display: inline-block;
    border: 1px solid var(--line);
    background: #fbfcfb;
    border-radius: 999px;
    padding: 0.32rem 0.75rem;
    color: var(--muted);
    font-size: 0.92rem;
}
.pill input:checked + span { background: var(--accent-soft); color: var(--accent-dark); border-color: var(--accent-line); font-weight: 650; }

.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; padding: 0 0.25rem 0.2rem; }
.filters > span { color: var(--muted); font-size: 0.92rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0.7rem; }
.card {
    --tone: #0c9a78;
    --tone-soft: #e5f8f2;
    --tone-deep: #086b53;
    display: block;
    background: linear-gradient(165deg, #fff 0%, var(--tone-soft) 100%);
    border: 2px solid transparent;
    border-radius: 18px;
    padding: 0.95rem 1rem 1rem;
    text-decoration: none;
    color: inherit;
    min-height: 5.4rem;
    box-shadow: 0 5px 0 var(--tone-soft);
    transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.grid > .card:not([data-tone]):nth-child(7n + 1) { --tone: #e25b3a; --tone-soft: #fff1ea; --tone-deep: #b83b22; }
.grid > .card:not([data-tone]):nth-child(7n + 2) { --tone: #6a4cff; --tone-soft: #f1edff; --tone-deep: #4326c9; }
.grid > .card:not([data-tone]):nth-child(7n + 3) { --tone: #1f8fff; --tone-soft: #e8f4ff; --tone-deep: #0c62c4; }
.grid > .card:not([data-tone]):nth-child(7n + 4) { --tone: #0c9a78; --tone-soft: #e5f8f2; --tone-deep: #086b53; }
.grid > .card:not([data-tone]):nth-child(7n + 5) { --tone: #e0a106; --tone-soft: #fff6dc; --tone-deep: #a87400; }
.grid > .card:not([data-tone]):nth-child(7n + 6) { --tone: #f07316; --tone-soft: #fff0e4; --tone-deep: #c25408; }
.grid > .card:not([data-tone]):nth-child(7n + 7) { --tone: #d63d86; --tone-soft: #ffe8f3; --tone-deep: #a42362; }
.card:hover {
    border-color: var(--tone);
    transform: translateY(-7px) rotate(-0.4deg);
    box-shadow: 0 12px 0 var(--tone);
}
.card strong { display: block; letter-spacing: -0.02em; line-height: 1.3; }
.card small { display: block; margin-top: 0.4rem; color: var(--muted); font-size: 0.86rem; }
.game-card {
    --tone: #e25b3a;
    --tone-soft: #fff1ea;
    --tone-deep: #b83b22;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    align-items: center;
    background: linear-gradient(165deg, #fff 0%, var(--tone-soft) 100%);
    border: 2px solid transparent;
    box-shadow: 0 5px 0 var(--tone-soft);
}
.game-card strong { grid-column: 2; }
.game-card small { grid-column: 2; margin-top: 0.15rem; }
.game-card:hover {
    border-color: var(--tone);
    transform: translateY(-7px) rotate(-0.4deg);
    box-shadow: 0 12px 0 var(--tone);
}
.game-poster {
    grid-template-columns: 1fr;
    padding: 0.45rem 0.45rem 0.75rem;
}
.game-poster img {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}
.game-poster strong,
.game-poster small { grid-column: 1; padding: 0 0.3rem; }
.game-poster strong { margin-top: 0.4rem; }
.game-mark {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 14px;
    background: var(--tone);
    color: white;
    font-weight: 800;
    box-shadow: 0 4px 0 var(--tone-deep);
    animation: game-bob 2.8s ease-in-out infinite;
}
.game-card[data-tone="violet"] { --tone: #6a4cff; --tone-soft: #f1edff; --tone-deep: #4326c9; }
.game-card[data-tone="sky"] { --tone: #1f8fff; --tone-soft: #e8f4ff; --tone-deep: #0c62c4; }
.game-card[data-tone="teal"] { --tone: #0c9a78; --tone-soft: #e5f8f2; --tone-deep: #086b53; }
.game-card[data-tone="gold"] { --tone: #e0a106; --tone-soft: #fff6dc; --tone-deep: #a87400; }
.game-card[data-tone="orange"] { --tone: #f07316; --tone-soft: #fff0e4; --tone-deep: #c25408; }
.game-card[data-tone="rose"] { --tone: #d63d86; --tone-soft: #ffe8f3; --tone-deep: #a42362; }
.game-card:nth-child(2n) .game-mark { animation-delay: -1.2s; }

.search-picks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-top: 0.4rem;
}
.search-picks .section-title { margin-top: 1.35rem; }
.search-picks ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
}
.search-picks a {
    display: inline-block;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    background: white;
    border: 2px solid #d5def8;
    box-shadow: 0 3px 0 #d5def8;
    color: var(--ink);
    font-weight: 750;
    text-decoration: none;
}
.search-picks a:hover { transform: translateY(-2px); color: var(--ink); }
.search-picks .empty { margin: 0; }

.section-title {
    margin: 2.1rem 0 0.75rem;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    text-transform: none;
    color: var(--ink);
    font-weight: 760;
}

.daily {
    margin-top: 1.35rem;
    background: linear-gradient(165deg, #fff 0%, #fff6dc 100%);
    color: var(--ink);
    border: 2px solid #e0a106;
    border-radius: 24px;
    padding: 1rem 1.15rem 1.05rem;
    box-shadow: 0 8px 0 #e0a106;
    animation: game-rise 0.5s ease;
}
.daily .kicker {
    color: #a87400;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.daily a {
    color: var(--ink);
    text-decoration: none;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}
.daily a:hover { color: var(--accent-dark); }
.daily p { margin: 0.35rem 0 0; color: var(--muted); }

.result-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.result-list .result {
    --tone: #e25b3a;
    --tone-soft: #fff1ea;
    display: block;
    background: linear-gradient(165deg, #fff 0%, var(--tone-soft) 100%);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 0.9rem 1rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 0 var(--tone-soft);
    transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.result-list li:nth-child(7n + 2) .result { --tone: #6a4cff; --tone-soft: #f1edff; }
.result-list li:nth-child(7n + 3) .result { --tone: #1f8fff; --tone-soft: #e8f4ff; }
.result-list li:nth-child(7n + 4) .result { --tone: #0c9a78; --tone-soft: #e5f8f2; }
.result-list li:nth-child(7n + 5) .result { --tone: #e0a106; --tone-soft: #fff6dc; }
.result-list li:nth-child(7n + 6) .result { --tone: #f07316; --tone-soft: #fff0e4; }
.result-list li:nth-child(7n + 7) .result { --tone: #d63d86; --tone-soft: #ffe8f3; }
.result-list a.result:hover {
    border-color: var(--tone);
    transform: translateY(-4px);
    box-shadow: 0 8px 0 var(--tone);
}
.result-kicker { color: var(--muted); font-size: 0.86rem; }
.result h2 { margin: 0.12rem 0; font-size: 1.28rem; letter-spacing: -0.03em; }
.result p { margin: 0; color: var(--muted); }

.word-head { margin: 0.2rem 0 1.1rem; }
.word-head h1 { margin: 0.15rem 0; font-size: clamp(2.2rem, 6vw, 3.5rem); line-height: 0.98; letter-spacing: -0.05em; }
.kicker { color: var(--muted); font-size: 0.95rem; }
.badge {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    vertical-align: middle;
}

.definition {
    white-space: pre-wrap;
    background: linear-gradient(165deg, #fff 0%, #fff1ea 100%);
    border: 2px solid #ffd4c2;
    border-radius: 20px;
    padding: 1.15rem 1.2rem;
    font-size: 1.08rem;
    line-height: 1.7;
    box-shadow: 0 6px 0 #ffd4c2;
}

.sense-list, .other-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.sense-list li, .other-list a {
    background: linear-gradient(165deg, #fff 0%, #f1edff 100%);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 0.8rem 0.95rem;
    box-shadow: 0 4px 0 #e4dcff;
}
.other-list a { display: block; text-decoration: none; color: inherit; transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease; }
.other-list a:hover { border-color: #6a4cff; transform: translateY(-3px); box-shadow: 0 8px 0 #6a4cff; }
.current-sense { border-color: #6a4cff; background: #f7f4ff; }

.letters { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0.9rem 0 1rem; }
.letters a, .letters span {
    min-width: 2.05rem;
    text-align: center;
    border-radius: 12px;
    padding: 0.32rem 0.45rem;
    background: white;
    border: 2px solid transparent;
    text-decoration: none;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 3px 0 rgba(22, 33, 28, 0.06);
    transition: transform 0.12s ease, background 0.12s ease;
}
.letters a:nth-child(5n + 1) { background: #ffe3d4; }
.letters a:nth-child(5n + 2) { background: #e5f1ff; }
.letters a:nth-child(5n + 3) { background: #e5f8ef; }
.letters a:nth-child(5n + 4) { background: #fff4d4; }
.letters a:nth-child(5n + 5) { background: #ffe6f2; }
.letters a:hover { transform: translateY(-3px); }
.letters .on { background: #e25b3a; color: white; border-color: #e25b3a; box-shadow: 0 4px 0 #b83b22; }

.notice, .empty { color: var(--muted); }

.pager { display: flex; gap: 0.5rem; margin-top: 1.1rem; }
.pager a, .pager span {
    border-radius: 999px;
    padding: 0.5rem 0.85rem;
    background: white;
    border: 2px solid #ffd4c2;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 3px 0 #ffd4c2;
}
.pager a:hover { border-color: #e25b3a; background: #fff1ea; transform: translateY(-2px); }
.pager-disabled { color: #a3aea8; }

.ad { margin: 1rem 0; position: relative; }
.ad-label { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }

.site-footer { border-top: 0; padding: 1.4rem 0 2.2rem; color: var(--muted); font-size: 0.9rem; }
.site-main > .wrap-read,
.site-main > article,
.site-main > .narrow,
.site-main > .wrap:not(:has(.grid)):not(:has(.letters)) {
    background: white;
    border-radius: 28px;
    padding: 1.15rem 1.2rem 1.4rem;
    border: 2px solid color-mix(in srgb, #e25b3a 28%, white);
    box-shadow: 0 10px 0 color-mix(in srgb, #e25b3a 18%, white);
    animation: game-rise 0.45s ease;
}
.site-main > .wrap-read > .search-form {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    animation: none;
    padding: 0 0 0.35rem;
}
.site-footer p { margin: 0; }
.site-footer p + p { margin-top: 0.5rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

.langs { margin-left: auto; align-self: center; }
.langs select {
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    border-radius: 999px;
    padding: 0.38rem 0.75rem;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 650;
    cursor: pointer;
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.admin-nav { display: flex; flex-wrap: wrap; gap: 0.45rem 0.9rem; align-items: center; margin-left: auto; }
.admin-nav a { text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.admin-nav a:hover { color: var(--accent); }
.admin-nav form { margin: 0; }
.narrow { max-width: 28rem; }
.fields { display: grid; gap: 0.85rem; margin: 1rem 0; }
.fields label, .panel label { display: grid; gap: 0.35rem; font-weight: 650; }
.fields label.check, .panel label.check { display: flex; align-items: center; grid-auto-flow: column; }
.fields input,
.fields select,
.fields textarea,
.panel input,
.panel select {
    width: 100%;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    border-radius: 14px;
    padding: 0.75rem 0.9rem;
    font: inherit;
    font-weight: 450;
}
.fields textarea { min-height: 16rem; line-height: 1.6; resize: vertical; }
.check { display: flex; align-items: center; gap: 0.55rem; }
.check input { width: 1.1rem; height: 1.1rem; padding: 0; }
.field-error { color: var(--warn); font-weight: 600; font-size: 0.92rem; }
.flash { background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 14px; padding: 0.75rem 0.95rem; color: var(--accent-dark); }
.stack { display: grid; gap: 0.75rem; }
.panel {
    width: 100%;
    min-width: 0;
    min-inline-size: 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.95rem 1rem;
    margin: 0;
}
.panel legend { font-weight: 700; padding: 0 0.3rem; }
button.quiet {
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}
button.quiet:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.game-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin: 0.2rem 0 1rem; }
.game-actions .quiet { border-radius: 14px; padding: 0.85rem 1.15rem; }

#oyun {
    --play: #e25b3a;
    --play-soft: #fff1ea;
    --play-deep: #b83b22;
    --tile-ink: #fff;
    position: relative;
    width: min(860px, calc(100% - 2rem));
    margin-bottom: 1.5rem;
    color: #f4f7ff;
    background:
        radial-gradient(circle at 7% 16%, #ffd166 0 4px, transparent 5px),
        radial-gradient(circle at 93% 12%, #ff5c9a 0 4px, transparent 5px),
        radial-gradient(circle at 16% 86%, #5ce1ff 0 4px, transparent 5px),
        radial-gradient(circle at 86% 78%, #7dffb2 0 4px, transparent 5px),
        radial-gradient(circle at 74% 8%, #ff8a3d 0 3px, transparent 4px),
        linear-gradient(180deg, #1a3578 0%, #102454 48%, #0a173c 100%);
    border-radius: 26px;
    padding: 1.25rem 1.15rem 1.45rem;
    border: 10px solid #d5deee;
    box-shadow:
        inset 0 0 0 2px #93a6c4,
        inset 0 0 0 5px #f7f9fd,
        0 0 0 2px #7f91ad,
        0 16px 0 #c4894a,
        0 22px 0 #8a5a2b;
    animation: game-rise 0.45s ease;
}
#oyun > p:first-child { margin: 0 0 0.35rem; }
#oyun > p:first-child a { color: #e7eeff; text-decoration: none; font-weight: 750; font-size: 0.88rem; }
#oyun h1 {
    text-align: center;
    font-weight: 900;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    background: linear-gradient(100deg, #ff5d3a 0%, #ffc107 24%, #3ee07a 48%, #3ec6ff 72%, #d16bff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 0 rgba(6, 14, 40, 0.55));
}
#oyun .lede { color: #d7e2fb; text-align: center; margin-inline: auto; }
#oyun[data-game="eslestirme"] { --play: #6a4cff; --play-soft: #f1edff; --play-deep: #4326c9; }
#oyun[data-game="bosluk"] { --play: #1f8fff; --play-soft: #e8f4ff; --play-deep: #0c62c4; }
#oyun[data-game="arama"] { --play: #0c9a78; --play-soft: #e5f8f2; --play-deep: #086b53; }
#oyun[data-game="bulmaca"] { --play: #e0a106; --play-soft: #fff6dc; --play-deep: #a87400; }
#oyun[data-game="blok"] { --play: #f07316; --play-soft: #fff0e4; --play-deep: #c25408; }
#oyun[data-game="ezber"] { --play: #d63d86; --play-soft: #ffe8f3; --play-deep: #a42362; }
#oyun > p:has([data-score]),
#oyun > p:has([data-streak]),
#oyun > p:has([data-wrong]),
#oyun > p:has([data-tries]),
#oyun > p:has([data-left]) {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0.45rem 0.55rem 0;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    font-weight: 800;
    color: #5c3200;
    background: radial-gradient(circle at 35% 30%, #ffe9a8, #f0b429 58%, #d4890b);
    border: 3px solid #fff6d4;
    box-shadow: 0 0 0 3px #c98412, 0 4px 0 #8a5a10;
}
#oyun > p:has([data-wrong]),
#oyun > p:has([data-tries]),
#oyun > p:has([data-left]) {
    color: #08315f;
    background: radial-gradient(circle at 35% 30%, #d7ecff, #6eb6ff 60%, #2f7fe0);
    border-color: #f3f8ff;
    box-shadow: 0 0 0 3px #2a6fbe, 0 4px 0 #1a4e8a;
}
#oyun [data-score],
#oyun [data-streak] { color: inherit; font-size: 1.15rem; }
#oyun .score-pop { animation: game-pop 0.35s ease; }
.game-hint {
    color: #f4f7ff;
    background: rgba(6, 16, 44, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 0.75rem 0.9rem;
}
.gallows { width: min(168px, 48%); margin: 0.15rem auto 0.2rem; }
.gallows svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 8px rgba(90, 190, 255, 0.35)); }
.gallows [data-part] { opacity: 0; }
.gallows [data-part].on { opacity: 1; animation: game-pop 0.35s ease; }
.game-board { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; min-height: 3rem; margin: 0.9rem 0; }
.game-board span {
    min-width: 2.15rem;
    height: 2.7rem;
    padding: 0 0.2rem;
    border: 0;
    border-radius: 12px;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
    animation: game-pop 0.35s ease;
}
#oyun .game-board span:not(:empty):nth-child(7n+1),
#oyun .game-keys button:nth-child(7n+1),
#oyun .game-grid button:nth-child(7n+1),
#oyun .blocks button:nth-child(7n+1) { background: #ff4b4b; box-shadow: 0 5px 0 #c81d1d; }
#oyun .game-board span:not(:empty):nth-child(7n+2),
#oyun .game-keys button:nth-child(7n+2),
#oyun .game-grid button:nth-child(7n+2),
#oyun .blocks button:nth-child(7n+2) { background: #3d8bff; box-shadow: 0 5px 0 #1d5fc4; }
#oyun .game-board span:not(:empty):nth-child(7n+3),
#oyun .game-keys button:nth-child(7n+3),
#oyun .game-grid button:nth-child(7n+3),
#oyun .blocks button:nth-child(7n+3) { background: #22c56e; box-shadow: 0 5px 0 #128a48; }
#oyun .game-board span:not(:empty):nth-child(7n+4),
#oyun .game-keys button:nth-child(7n+4),
#oyun .game-grid button:nth-child(7n+4),
#oyun .blocks button:nth-child(7n+4) { background: #ffb703; box-shadow: 0 5px 0 #c48400; color: #3d2a00; text-shadow: none; }
#oyun .game-board span:not(:empty):nth-child(7n+5),
#oyun .game-keys button:nth-child(7n+5),
#oyun .game-grid button:nth-child(7n+5),
#oyun .blocks button:nth-child(7n+5) { background: #ff7a29; box-shadow: 0 5px 0 #c8520d; }
#oyun .game-board span:not(:empty):nth-child(7n+6),
#oyun .game-keys button:nth-child(7n+6),
#oyun .game-grid button:nth-child(7n+6),
#oyun .blocks button:nth-child(7n+6) { background: #2ad4e8; box-shadow: 0 5px 0 #0e95a6; color: #06343b; text-shadow: none; }
#oyun .game-board span:not(:empty):nth-child(7n),
#oyun .game-keys button:nth-child(7n),
#oyun .game-grid button:nth-child(7n),
#oyun .blocks button:nth-child(7n) { background: #b46bff; box-shadow: 0 5px 0 #7a32c9; }
#oyun .game-board span:empty {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.72), 0 4px 0 rgba(0, 0, 0, 0.28);
}
.game-keys, .game-columns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem; margin: 0.9rem 0 1rem; }
.game-keys button, .game-columns button, .game-grid button, .game-clues button, .blocks button, .memo-choices button {
    border: 2px solid transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.game-keys button {
    width: 2.15rem;
    height: 2.15rem;
    padding: 0;
    border-radius: 10px;
    font-size: 0.92rem;
    color: #fff;
    font-weight: 800;
}
.game-keys button:hover:not(:disabled),
.game-columns button:hover:not(:disabled),
.game-grid button:hover:not(:disabled),
.game-clues button:hover:not(:disabled),
.blocks button:hover:not(:disabled),
.memo-choices button:hover:not(:disabled) { transform: translateY(-3px); }
.game-keys button:active:not(:disabled),
.game-grid button:active:not(:disabled),
.blocks button:active:not(:disabled) { transform: translateY(2px); box-shadow: none; }
.game-columns { display: grid; grid-template-columns: 1fr 1fr; align-items: start; justify-content: stretch; gap: 0.7rem; }
.game-columns div { display: grid; gap: 0.45rem; }
.game-columns button, .memo-choices button, .game-clues button {
    padding: 0.75rem 0.85rem;
    text-align: left;
    border-radius: 16px;
    background: rgba(6, 16, 44, 0.42);
    color: #f4f7ff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.28);
}
#oyun .game-columns button.on, #oyun .game-grid button.on, #oyun .game-clues button.on, #oyun .blocks button.on {
    background: linear-gradient(180deg, #ff8a3d, #ff4d6d);
    color: white;
    border-color: #c4324c;
    text-shadow: none;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 5px 0 #9d2438;
}
#oyun .game-columns button.done, #oyun .game-grid button.done, #oyun .game-clues button.done {
    background: #1f9d62;
    color: white;
    border-color: #127248;
    text-shadow: none;
    animation: game-pop 0.3s ease;
}
#oyun .game-keys button:disabled, #oyun .game-columns button:disabled, #oyun .game-grid button:disabled, #oyun .game-clues button:disabled, #oyun .memo-choices button:disabled {
    cursor: default;
    transform: none;
    box-shadow: none;
    filter: grayscale(0.35);
    opacity: 0.55;
}
.game-dictionary { display: grid; gap: 0.35rem; margin: 0.8rem 0 1rem; font-weight: 650; max-width: 24rem; }
#oyun .dictionary-trigger {
    background: rgba(6, 16, 44, 0.45);
    color: #f4f7ff;
    border-color: rgba(255, 255, 255, 0.22);
}
#oyun .dictionary-trigger::after { border-color: #d7e2fb; }
#oyun .dictionary-sheet,
#oyun .dictionary-sheet .quiet,
#oyun .dictionary-choice { color: var(--ink); }
#oyun .dictionary-sheet .quiet {
    background: white;
    border-color: var(--line);
}
#oyun button.primary {
    background: linear-gradient(#4ad56f, #149a3e);
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.03em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 4px 0 #0c6b2c;
}
#oyun button.primary:hover { background: #128838; }
#oyun button.quiet {
    background: rgba(255, 255, 255, 0.1);
    color: #f4f7ff;
    border-color: rgba(255, 255, 255, 0.28);
}
.dictionary-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    border-radius: 14px;
    padding: 0.7rem 0.9rem;
    font: inherit;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}
.filters .dictionary-trigger { min-width: 14rem; padding: 0.5rem 0.8rem; }
.game-dictionary .dictionary-trigger { width: 100%; }
.dictionary-trigger::after {
    content: "";
    flex: none;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg) translateY(-0.1rem);
}
.dictionary-dialog {
    border: 0;
    padding: 0;
    background: transparent;
    width: min(32rem, calc(100vw - 1.5rem));
}
.dictionary-dialog::backdrop { background: rgba(22, 33, 28, 0.46); }
.dictionary-sheet {
    background: var(--card);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(22, 33, 28, 0.18);
    display: flex;
    flex-direction: column;
    max-height: min(34rem, calc(100vh - 2rem));
}
.dictionary-sheet header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.95rem 1rem 0.35rem;
}
.dictionary-sheet h2 { margin: 0; font-size: 1.15rem; }
.dictionary-sheet .quiet { border-radius: 999px; padding: 0.4rem 0.8rem; }
.dictionary-choices {
    overflow: auto;
    display: grid;
    gap: 0.35rem;
    padding: 0.45rem 1rem 1rem;
}
.dictionary-choice {
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.dictionary-choice:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.dictionary-choice[aria-pressed="true"] {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-weight: 650;
}
.game-line { display: flex; gap: 0.4rem; margin: 0.2rem 0 1rem; }
.game-line input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: #fffdf6;
    color: var(--ink);
    border-radius: 14px;
    padding: 0.75rem 0.9rem;
    font: inherit;
    box-shadow: 0 4px 0 #c9b27a;
}
.game-grid { display: grid; grid-template-columns: repeat(8, 2.05rem); gap: 0.3rem; margin: 0.9rem auto; width: max-content; max-width: 100%; }
.game-grid button {
    width: 2.05rem;
    height: 2.05rem;
    padding: 0;
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
}
.game-clues { display: grid; gap: 0.45rem; margin-bottom: 1rem; }
.crossword-wrap { overflow-x: auto; overflow-y: hidden; margin: 0.8rem 0; }
.crossword { display: grid; gap: 2px; width: max-content; margin-inline: auto; }
.crossword .cell, .crossword .block { width: 1.8rem; height: 1.8rem; }
.crossword .block { background: var(--play-deep); border-radius: 6px; }
.crossword .cell { position: relative; }
.crossword .cell sup { position: absolute; top: 1px; left: 2px; font-size: 0.55rem; line-height: 1; color: var(--muted); }
.crossword input {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 2px solid #ecd89a;
    border-radius: 6px;
    background: #fffdf6;
    color: var(--ink);
    text-align: center;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 750;
    padding: 0.45rem 0 0;
    text-transform: uppercase;
}
.crossword input:disabled { background: #e5f8ef; color: #127248; border-color: #8ed4b4; }
.blocks { display: grid; gap: 0.3rem; width: max-content; margin-inline: auto; }
.blocks button {
    width: 2.05rem;
    height: 2.05rem;
    padding: 0;
    border-radius: 9px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
}
#oyun .blocks button.hole { background: transparent; border-color: transparent; box-shadow: none; cursor: default; filter: none; opacity: 1; color: transparent; }
[data-again] { margin-top: 0.4rem; }
.memo-progress { height: 0.7rem; background: rgba(6, 16, 44, 0.45); border-radius: 999px; overflow: hidden; margin: 0.7rem 0 0.3rem; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.16); }
.memo-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff7ad1, #ffb703); transition: width 0.35s ease; }
.memo-choices { display: grid; gap: 0.5rem; margin: 0.9rem 0 1rem; }
.blast-banner {
    margin: 0.4rem 0;
    text-align: center;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #ffe08a;
}
.blast-board {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 3px;
    width: min(100%, 28rem);
    margin: 0.7rem auto;
}
.blast-board button {
    aspect-ratio: 1;
    min-width: 0;
    padding: 0;
    border-radius: 7px;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    color: #fff;
    font-weight: 800;
    font-size: 0.82rem;
}
.blast-board button.filled { background: #3d8bff; box-shadow: 0 3px 0 #1d5fc4; }
.blast-board button.filled:nth-child(5n+2) { background: #22c56e; box-shadow: 0 3px 0 #128a48; }
.blast-board button.filled:nth-child(5n+3) { background: #ffb703; box-shadow: 0 3px 0 #c48400; color: #3d2a00; }
.blast-board button.filled:nth-child(5n+4) { background: #ff7a29; box-shadow: 0 3px 0 #c8520d; }
.blast-board button.filled:nth-child(5n+5) { background: #b46bff; box-shadow: 0 3px 0 #7a32c9; }
.blast-board button.filled:nth-child(5n+1) { background: #ff4b4b; box-shadow: 0 3px 0 #c81d1d; }
.blast-board button.preview { background: #ffe08a; color: #3d2a00; box-shadow: inset 0 0 0 2px #fff; }
.blast-board button.preview-bad { background: rgba(255, 75, 75, 0.35); }
.blast-board button.bonus { outline: 3px solid #ffe14a; outline-offset: -2px; }
.blast-hand { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin: 0.4rem 0 1rem; }
.blast-piece {
    display: grid;
    gap: 3px;
    min-width: 4.4rem;
    min-height: 4.4rem;
    place-content: center;
    padding: 0.45rem;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(6, 16, 44, 0.35);
    color: #fff;
    cursor: grab;
    touch-action: none;
}
.blast-ghost {
    position: fixed;
    z-index: 40;
    margin: 0;
    padding: 0;
    pointer-events: none;
    cursor: grabbing;
    border-color: #ffe08a;
    transform: scale(1.06);
    filter: drop-shadow(0 12px 0 rgba(8, 16, 40, 0.28));
}
.blast-piece span {
    display: grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 6px;
    background: #ff7a29;
    box-shadow: 0 3px 0 #c8520d;
    font-weight: 800;
}
.blast-piece:nth-child(2) span { background: #3d8bff; box-shadow: 0 3px 0 #1d5fc4; }
.blast-piece:nth-child(3) span { background: #22c56e; box-shadow: 0 3px 0 #128a48; }
.blast-piece.on { border-color: #ffe08a; transform: translateY(-3px); }
.blast-piece:disabled { opacity: 0.35; cursor: default; }
#oyun [data-status]:not([hidden]) {
    border-radius: 16px;
    padding: 0.75rem 0.9rem;
    animation: game-rise 0.35s ease;
}
#oyun [data-status].game-won { background: #e7f8ef; color: #0d6b45; }
#oyun [data-status].game-miss { background: #fff1ea; color: #9a3b22; }
@keyframes game-pop {
    0% { transform: scale(0.72) rotate(-8deg); }
    70% { transform: scale(1.08) rotate(2deg); }
    100% { transform: none; }
}
@keyframes game-rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
@keyframes game-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@media (max-width: 720px) {
    .header-row { align-items: stretch; flex-direction: column; gap: 0.45rem; }
    .admin-nav, .langs { margin-left: 0; }
    .search-form:not(.compact) .search-line { flex-direction: column; }
    .filters { width: 100%; }
    .filters .dictionary-trigger { width: 100%; }
    .search-form:not(.compact) button.primary,
    .fields button.primary,
    .wrap-read > button.primary,
    .game-actions { width: 100%; }
    .game-actions { display: grid; }
    .home-games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-picks { grid-template-columns: 1fr; }
    #oyun { border-width: 6px; width: min(860px, calc(100% - 1rem)); }
    .game-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); width: 100%; }
    .game-grid button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .card, .result-list .result, .other-list a, .letters a, button.primary, .button, .pager a, .home-games a, .search-picks a { transition: none; }
    .game-mark, #oyun, .game-board span, .score-pop, #oyun [data-status]:not([hidden]),
    .search-form, .daily, .site-main > .wrap-read, .site-main > article, .site-main > .narrow,
    .site-main > .wrap:not(:has(.grid)):not(:has(.letters)) { animation: none; }
    .game-keys button, .game-grid button, .blocks button, .game-columns button, .memo-choices button, .game-clues button, .memo-progress span, .gallows [data-part], .blast-board button, .blast-piece, .suggest-list button { transition: none; }
    .gallows [data-part].on { animation: none; }
}
