@font-face {
    font-family: "Ink Free";
    src: local("Ink Free"), local("InkFree");
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 20px;
    background: #e8dcc8;
    font-family: "Inter", sans-serif;
    color: #2e2017;
}

.gemma-tracker-wrap {
    width: 100%;
    max-width: 590px;
    height: 680px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
    background-color: #8f6d50;
    background-image:
        linear-gradient(rgba(80,48,30,0.20), rgba(80,48,30,0.28)),
        url("images/cork.jpg");
    background-size: cover;
    background-position: center;
    border-left: 3px solid #d4956c;
    box-shadow: 0 0 30px rgba(0,0,0,0.18);
    isolation: isolate;
}

.gemma-tracker-wrap::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(46,32,23,0.28);
    pointer-events: none;
    z-index: 1;
}

.gemma-doodle-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 7;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.gemma-tracker-wrap.is-home .gemma-doodle-layer {
    opacity: 1;
    visibility: visible;
}

.gemma-bg-doodle {
    position: absolute;
    width: var(--doodle-size);
    opacity: var(--doodle-opacity);
    transform: rotate(var(--doodle-rotate));
    filter: sepia(0.2) contrast(1.08) saturate(0.88);
    mix-blend-mode: multiply;
    user-select: none;
}

.gemma-side,
.gemma-main-board {
    position: relative;
    z-index: 5;
}

.gemma-side-left {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ===== BAL OLDALI CÍM ===== */

.gemma-title-block {
    padding: 9px 5px 10px;
    text-align: center;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(249,243,232,0.88), rgba(216,208,195,0.78));
    border: 1px solid rgba(46,32,23,0.32);
    box-shadow:
        inset 0 0 14px rgba(255,255,255,0.26),
        0 4px 12px rgba(0,0,0,0.24);
    transform: rotate(-1.2deg);
}

.gemma-title-line {
    display: flex;
    justify-content: center;
    gap: 1px;
}

.gemma-title-line span {
    display: inline-block;
    font-family: "Ink Free", cursive;
    font-size: 27px;
    line-height: 0.92;
    color: #5c8e48;
    text-shadow:
        1px 1px 0 rgba(249,243,232,0.95),
        -1px 1px 0 rgba(249,243,232,0.95),
        1px -1px 0 rgba(249,243,232,0.95),
        -1px -1px 0 rgba(249,243,232,0.95),
        0 0 8px rgba(125,170,99,0.65),
        0 2px 3px rgba(46,32,23,0.36);
    animation: gemma-neon-flicker 3.4s infinite alternate;
}

.gemma-title-line span:nth-child(odd) {
    transform: translateY(-2px) rotate(-4deg);
}

.gemma-title-line span:nth-child(even) {
    transform: translateY(3px) rotate(3deg);
}

.gemma-title-line-second {
    margin-top: 3px;
}

@keyframes gemma-neon-flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        opacity: 1;
        text-shadow:
            1px 1px 0 rgba(249,243,232,0.95),
            -1px 1px 0 rgba(249,243,232,0.95),
            1px -1px 0 rgba(249,243,232,0.95),
            -1px -1px 0 rgba(249,243,232,0.95),
            0 0 8px rgba(125,170,99,0.65),
            0 2px 3px rgba(46,32,23,0.36);
    }

    20%, 24%, 55% {
        opacity: 0.82;
        text-shadow:
            1px 1px 0 rgba(249,243,232,0.85),
            -1px 1px 0 rgba(249,243,232,0.85),
            1px -1px 0 rgba(249,243,232,0.85),
            -1px -1px 0 rgba(249,243,232,0.85),
            0 1px 3px rgba(46,32,23,0.32);
    }
}

/* ===== BAL OLDALI NAV GOMBOK ===== */

.gemma-year-nav {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.gemma-year-btn,
.gemma-home-btn {
    width: 100%;
    min-height: 36px;
    padding: 6px 7px;
    position: relative;
    border: none;
    cursor: pointer;
    text-decoration: none;
    background: linear-gradient(180deg, #f9f3e8, #5c8e48);
    color: #2e2017;
    font-family: "Ink Free", cursive;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
    transform: rotate(-1deg);
    transition:
        transform 0.22s ease,
        background 0.22s ease,
        color 0.22s ease,
        box-shadow 0.22s ease;
    clip-path: polygon(
        0 8px,
        6px 0,
        calc(100% - 8px) 0,
        100% 7px,
        calc(100% - 3px) 18%,
        100% 32%,
        calc(100% - 5px) 48%,
        100% 64%,
        calc(100% - 4px) 82%,
        100% calc(100% - 7px),
        calc(100% - 8px) 100%,
        7px 100%,
        0 calc(100% - 8px),
        4px 82%,
        0 66%,
        5px 50%,
        0 34%,
        4px 18%
    );
}

.gemma-year-btn::after,
.gemma-home-btn::after {
    content: "";
    position: absolute;
    inset: 1px;
    pointer-events: none;
    clip-path: inherit;
    border: 1px solid rgba(46,32,23,0.55);
}

.gemma-year-btn:nth-child(odd) {
    transform: rotate(1deg);
}

.gemma-year-btn:hover,
.gemma-year-btn.is-active {
    background: #5c8e48;
    color: #f5f5f5;
    box-shadow: 0 0 18px rgba(125,170,99,0.58);
}

.gemma-home-btn {
    background: linear-gradient(180deg, #f9f3e8, #b33727);
}

.gemma-home-btn:hover {
    background: #b33727;
    color: #f5f5f5;
    box-shadow: 0 0 18px rgba(179,55,39,0.58);
}

/* ===== BAL OLDALI KÉPEK ===== */

.gemma-photo-stack {
    margin-top: auto;
    position: relative;
    height: 225px;
}

.gemma-photo {
    width: 86px;
    height: 86px;
    margin: 0;
    position: absolute;
    padding: 5px;
    border-radius: 12px;
    background: #f9f3e8;
    border: 1px solid rgba(46,32,23,0.35);
    box-shadow: 0 4px 12px rgba(0,0,0,0.22);
}

.gemma-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    filter: sepia(0.15) contrast(1.05) saturate(0.9);
}

.gemma-tape {
    position: absolute;
    top: -8px;
    left: 22px;
    width: 52px;
    height: 13px;
    border-radius: 3px;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    z-index: 2;
}

.gemma-photo-one {
    top: 8px;
    left: 8px;
    transform: rotate(4deg);
}

.gemma-photo-two {
    top: 72px;
    right: 4px;
    transform: rotate(-5deg);
}

.gemma-photo-three {
    top: 136px;
    left: 10px;
    transform: rotate(3deg);
}

/* ===== KÖZÉPSŐ PAPÍR ===== */

.gemma-main-board {
    min-width: 0;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(46,32,23,0.62);
    background: rgba(249,243,232,0.78);
    box-shadow:
        inset 0 0 28px rgba(46,32,23,0.16),
        0 8px 18px rgba(0,0,0,0.14);
}

.gemma-main-board::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 30;
    pointer-events: none;
    background:
        radial-gradient(circle at 15px 15px, #d8d0c3 0 5px, #8b8174 6px 7px, rgba(0,0,0,0.26) 8px, transparent 10px),
        radial-gradient(circle at calc(100% - 15px) 15px, #d8d0c3 0 5px, #8b8174 6px 7px, rgba(0,0,0,0.26) 8px, transparent 10px),
        radial-gradient(circle at 15px calc(100% - 15px), #d8d0c3 0 5px, #8b8174 6px 7px, rgba(0,0,0,0.26) 8px, transparent 10px),
        radial-gradient(circle at calc(100% - 15px) calc(100% - 15px), #d8d0c3 0 5px, #8b8174 6px 7px, rgba(0,0,0,0.26) 8px, transparent 10px);
}

.gemma-note-view,
.gemma-tracker-view {
    position: absolute;
    inset: 0;
    height: 100%;
    padding: 28px 22px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(0.985);
    filter: blur(2px);
    transition:
        opacity 0.36s ease,
        transform 0.36s ease,
        filter 0.36s ease,
        visibility 0.36s ease;
}

.gemma-note-view.is-visible,
.gemma-tracker-view.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* ===== CÍMLAP ===== */

.gemma-note-view {
    display: grid;
    grid-template-rows: 1fr auto;
    align-content: stretch;
    gap: 18px;
    padding: 34px 28px 30px;
    background:
        radial-gradient(circle at 20% 15%, rgba(125,170,99,0.19), transparent 32%),
        radial-gradient(circle at 85% 72%, rgba(179,55,39,0.13), transparent 34%),
        rgba(249,243,232,0.74);
}

.gemma-writing-box {
    min-height: 0;
    height: 100%;
    padding: 28px 22px;
    border-radius: 16px;
    background: rgba(255,255,255,0.38);
    border: 1px dashed rgba(46,32,23,0.34);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.gemma-quote-text {
    font-family: "Ink Free", "Permanent Marker", cursive;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
    color: #2e2017;
    text-shadow:
        1px 1px 0 rgba(249,243,232,0.75),
        -1px 1px 0 rgba(249,243,232,0.75),
        1px -1px 0 rgba(249,243,232,0.75),
        -1px -1px 0 rgba(249,243,232,0.75),
        0 2px 5px rgba(46,32,23,0.38);
}

.gemma-caret {
    display: inline-block;
    width: 9px;
    height: 28px;
    margin-left: 5px;
    border-radius: 5px;
    background: #7daa63;
    box-shadow: 0 0 10px rgba(125,170,99,0.72);
    animation: gemma-caret-blink 0.8s infinite;
}

@keyframes gemma-caret-blink {
    0%, 45% {
        opacity: 1;
    }

    46%, 100% {
        opacity: 0;
    }
}

.gemma-motto {
    margin: 0 auto;
    max-width: 360px;
    padding: 12px 10px 4px;
    border-radius: 14px;
    background: rgba(249,243,232,0.18);
    box-shadow: inset 0 0 18px rgba(46,32,23,0.08);
}

.gemma-motto-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 7px;
}

.gemma-motto-row span {
    display: inline-block;
    line-height: 1.05;
}

.gemma-motto-text1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 23px;
    text-transform: uppercase;
    color: #7daa63;
    --motto-rotate: -2deg;
    transform: rotate(var(--motto-rotate));
    animation: gemma-float-motto 7s ease-in-out infinite;
}

.gemma-motto-text2 {
    font-family: "Rubik Mono One", sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    color: #fba648;
    --motto-rotate: 3deg;
    transform: rotate(var(--motto-rotate));
    animation: gemma-float-motto 8s ease-in-out infinite;
    animation-delay: 0.5s;
}

.gemma-motto-text3 {
    font-family: "Permanent Marker", cursive;
    font-size: 18px;
    color: #b33727;
    --motto-rotate: 2deg;
    transform: rotate(var(--motto-rotate));
    animation: gemma-float-motto 7.5s ease-in-out infinite;
    animation-delay: 1s;
}

.gemma-motto-text4 {
    font-family: "Unbounded", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #6dbfb8;
    --motto-rotate: -1.5deg;
    transform: rotate(var(--motto-rotate));
    animation: gemma-float-motto 8.5s ease-in-out infinite;
    animation-delay: 0.3s;
}

.gemma-motto-text5 {
    font-family: "Prata", serif;
    font-size: 18px;
    font-style: italic;
    color: #0f9f77;
    --motto-rotate: 1deg;
    transform: rotate(var(--motto-rotate));
    animation: gemma-float-motto 7.8s ease-in-out infinite;
    animation-delay: 0.8s;
}

.gemma-motto-text6 {
    font-family: "Permanent Marker", cursive;
    font-size: 18px;
    color: #da5c00;
    --motto-rotate: 1.6deg;
    transform: rotate(var(--motto-rotate));
    animation: gemma-float-motto 9s ease-in-out infinite;
    animation-delay: 1.2s;
}

.gemma-motto-text7 {
    font-family: "Rubik Mono One", sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    color: #8f9c43;
    --motto-rotate: -2.5deg;
    transform: rotate(var(--motto-rotate));
    animation: gemma-float-motto 8.2s ease-in-out infinite;
    animation-delay: 0.6s;
}

@keyframes gemma-float-motto {
    0%, 100% {
        transform: translateY(0) rotate(var(--motto-rotate, 0deg));
        text-shadow: 0 0 0 rgba(125,170,99,0);
    }

    35% {
        transform: translateY(-1px) rotate(calc(var(--motto-rotate, 0deg) + 0.4deg));
        text-shadow: 0 0 4px rgba(125,170,99,0.18);
    }

    70% {
        transform: translateY(1px) rotate(calc(var(--motto-rotate, 0deg) - 0.3deg));
        text-shadow: 0 0 3px rgba(179,55,39,0.12);
    }
}

/* ===== TRACKER FEJLÉC + FILTER ===== */

.gemma-tracker-view {
    background: rgba(249,243,232,0.72);
}

.gemma-tracker-head {
    min-height: 98px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 9px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(46,32,23,0.24);
}

.gemma-tracker-head > div:first-child {
    min-width: 0;
}

.gemma-section-kicker {
    font-family: "Rubik Mono One", sans-serif;
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7daa63;
    white-space: nowrap;
}

.gemma-tracker-head h2 {
    margin: 3px 0 0;
    font-family: "Permanent Marker", cursive;
    font-size: 24px;
    line-height: 1;
    color: #b33727;
    transform: rotate(-1deg);
}

.gemma-filterbar {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}

.gemma-filter-btn {
    width: 100%;
    min-width: 0;
    height: 34px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: none;
    background: linear-gradient(180deg, #f9f3e8, #d8d0c3);
    color: #2e2017;
    font-family: "Ink Free", cursive;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.16);
    transition:
        background 0.22s ease,
        color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
    clip-path: polygon(
        0 7px,
        5px 0,
        calc(100% - 6px) 0,
        100% 6px,
        calc(100% - 3px) 24%,
        100% 48%,
        calc(100% - 4px) 72%,
        100% calc(100% - 6px),
        calc(100% - 6px) 100%,
        6px 100%,
        0 calc(100% - 7px),
        3px 73%,
        0 48%,
        3px 24%
    );
}

.gemma-filter-btn::after {
    content: "";
    position: absolute;
    inset: 1px;
    pointer-events: none;
    clip-path: inherit;
    border: 1px solid rgba(46,32,23,0.45);
}

.gemma-filter-btn:hover {
    background: #5c8e48;
    color: #f5f5f5;
    box-shadow: 0 0 12px rgba(125,170,99,0.45);
    transform: translateY(-1px);
}

.gemma-filter-btn.is-active[data-filter="all"],
.gemma-filter-btn.is-active[data-filter="active"] {
    background: #7daa63;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(125,170,99,0.45);
}

.gemma-filter-btn.is-active[data-filter="closed"] {
    background: #b33727;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(179,55,39,0.4);
}

.gemma-filter-btn.is-active[data-filter="stuck"] {
    background: #fba648;
    color: #2e2017;
    box-shadow: 0 0 12px rgba(251,166,72,0.45);
}

.gemma-game-scroll {
    height: calc(100% - 112px);
    overflow-y: auto;
    padding: 12px 6px 4px 0;
}

.gemma-game-scroll::-webkit-scrollbar {
    width: 8px;
}

.gemma-game-scroll::-webkit-scrollbar-track {
    background: rgba(240,230,214,0.7);
    border-radius: 99px;
}

.gemma-game-scroll::-webkit-scrollbar-thumb {
    background: #7daa63;
    border-radius: 99px;
}

/* ===== KATEGÓRIÁK ===== */

.gemma-cat {
    margin-bottom: 16px;
}

.gemma-cat summary {
    position: relative;
    cursor: pointer;
    padding: 11px 15px;
    margin-bottom: 10px;
    border: none;
    background: linear-gradient(135deg, #f9f3e8, #5c8e48);
    color: #2e2017;
    font-family: "Ink Free", cursive;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(0,0,0,0.16);
    transform: rotate(-0.3deg);
    transition: all 0.28s ease;
    clip-path: polygon(
        0 8px,
        6px 0,
        calc(100% - 8px) 0,
        100% 7px,
        calc(100% - 3px) 18%,
        100% 32%,
        calc(100% - 5px) 48%,
        100% 64%,
        calc(100% - 4px) 82%,
        100% calc(100% - 7px),
        calc(100% - 8px) 100%,
        7px 100%,
        0 calc(100% - 8px),
        4px 82%,
        0 66%,
        5px 50%,
        0 34%,
        4px 18%
    );
}

.gemma-cat summary:hover {
    background: #5c8e48;
    color: #f5f5f5;
    box-shadow: 0 0 18px rgba(125,170,99,0.52);
    transform: rotate(-0.3deg) scale(1.015);
}

/* ===== JÁTÉKKÁRTYÁK ===== */

.gemma-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 4px;
}

.gemma-item {
    position: relative;
    height: 154px;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid transparent;
    background: #2e2017;
    box-shadow: 0 2px 8px rgba(0,0,0,0.16);
    transition: all 0.34s ease;
}

.gemma-item:hover {
    border-color: #7daa63;
    box-shadow:
        0 0 15px rgba(125,170,99,0.78),
        0 0 22px rgba(125,170,99,0.48),
        inset 0 0 28px rgba(125,170,99,0.22);
    transform: scale(1.012);
}

.gemma-item.is-hidden {
    display: none;
}

.gemma-item-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 68%;
    filter: sepia(0.12) saturate(0.86) contrast(1.03) brightness(0.86);
    transform: scale(1);
    transition: all 0.42s ease;
}

.gemma-item:hover .gemma-item-bg {
    filter: grayscale(72%) brightness(58%) contrast(1.08);
    transform: scale(1.055);
}

.gemma-item-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 20% 20%, rgba(125,170,99,0.13), transparent 30%),
        linear-gradient(to bottom, rgba(46,32,23,0.10), rgba(46,32,23,0.42));
    transition: opacity 0.34s ease;
}

.gemma-item:hover .gemma-item-shade {
    opacity: 0.35;
}

.gemma-item-overlay {
    display: none;
}

.gemma-status-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 5;
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid #2e2017;
    font-family: "Ink Free", sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(6px) scale(0.96);
    pointer-events: none;
    transition:
        opacity 0.28s ease,
        transform 0.28s ease;
}

.gemma-item:hover .gemma-status-badge,
.gemma-item:focus-within .gemma-status-badge {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.gemma-item[data-status="active"] .gemma-status-badge {
    background: #7daa63;
    color: #ffffff;
}

.gemma-item[data-status="closed"] .gemma-status-badge {
    background: #b33727;
    color: #ffffff;
}

.gemma-item[data-status="stuck"] .gemma-status-badge {
    background: #fba648;
    color: #2e2017;
}

.gemma-item-content {
    position: absolute;
    inset: 0;
    z-index: 4;
    padding: 12px 46px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.28);
    opacity: 0;
    text-align: center;
    transition: opacity 0.38s ease, background 0.38s ease;
}

.gemma-item:hover .gemma-item-content {
    opacity: 1;
    background: rgba(0,0,0,0.74);
}

.gemma-item-content h3 {
    margin: 0 0 7px;
    font-family: "Permanent Marker", cursive;
    font-size: 18px;
    line-height: 1.08;
    color: #7daa63;
    text-align: center;
    transform: rotate(-1deg);
    text-shadow:
        0 0 10px rgba(0,0,0,0.9),
        0 0 20px rgba(125,170,99,0.8);
}

.gemma-item-meta {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 1.55;
    color: #f1f6ef;
    text-align: center;
}

.gemma-item-meta div {
    margin-bottom: 1px;
}

.gemma-item-meta b {
    color: #cfe3c6;
    font-weight: 700;
}

.gemma-item-btn {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 6;
    margin: 0;
    padding: 5px 10px;
    border: none;
    border-radius: 8px;
    background: #7daa63;
    color: #ffffff;
    font-family: "Ink Free", sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.26s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.gemma-item-btn:hover {
    background: #fba648;
    color: #2e2017;
    transform: scale(1.08) rotate(-1deg);
    box-shadow:
        0 0 0 1px #2e2017,
        0 0 14px rgba(251,166,72,0.8),
        0 4px 10px rgba(0,0,0,0.35);
}

/* ===== MOBIL ===== */

@media (max-width: 520px) {
    body {
        padding: 10px;
    }

    .gemma-tracker-wrap {
        grid-template-columns: 118px minmax(0, 1fr);
        gap: 8px;
        padding: 10px;
    }

    .gemma-title-line span {
        font-size: 24px;
    }

    .gemma-note-view,
    .gemma-tracker-view {
        padding: 24px 16px;
    }

    .gemma-filterbar {
        gap: 4px;
    }

    .gemma-filter-btn {
        height: 32px;
        font-size: 11px;
        padding: 0 2px;
    }

    .gemma-game-scroll {
        height: calc(100% - 112px);
    }
}