
body[data-economy-step="prices"] .economy-game-hall-rank-list small {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #536179;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-economy-step="prices"] .economy-game-hall-rank-list b {
    color: #0f766e;
    font-size: 16px;
    line-height: 1.15;
    white-space: nowrap;
}

body[data-economy-step="prices"] .economy-game-hall-empty {
    min-height: 140px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    padding: 18px;
    background: rgba(255, 255, 255, .64);
    color: #5b4630;
    font-weight: 1000;
    text-align: center;
}

body[data-economy-step="prices"] .economy-game-lobby-alert {
    width: fit-content;
    margin: 0;
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(255, 242, 216, 0.92);
    color: #9b3412;
    font-size: 14px;
    font-weight: 1000;
}

body[data-economy-step="prices"] .economy-game-category-grid {
    align-content: start;
    align-items: start;
    gap: clamp(12px, 1.4vw, 18px);
}

body[data-economy-step="prices"] .economy-game-category-card {
    position: relative;
    isolation: isolate;
    align-self: start;
    min-height: clamp(218px, 15.5vw, 262px);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    background: var(--game-lobby-category-card) center / 100% 100% no-repeat;
    grid-template-columns: minmax(0, 1fr) minmax(132px, 38%);
    grid-template-rows: auto auto auto auto minmax(8px, 1fr) auto;
    gap: 5px 10px;
    align-items: start;
    padding: clamp(56px, 4.2vw, 70px) clamp(26px, 2.6vw, 34px) clamp(26px, 2.3vw, 34px);
    color: #3a210b;
    transform-origin: center;
}

body[data-economy-step="prices"] .economy-game-category-card::after {
    content: "";
    position: absolute;
    right: clamp(16px, 2vw, 28px);
    bottom: clamp(28px, 2.4vw, 36px);
    z-index: -1;
    width: clamp(158px, 14vw, 226px);
    aspect-ratio: 1;
    background: var(--game-lobby-icon-quiz) center / contain no-repeat;
    pointer-events: none;
    filter: drop-shadow(0 12px 14px rgba(68, 42, 13, 0.2));
}

body[data-economy-step="prices"] .economy-game-category-card[data-game-category="learningGames"]::after {
    background-image: var(--game-lobby-icon-learning);
}

body[data-economy-step="prices"] .economy-game-category-card[data-game-category="boardGames"]::after {
    background-image: var(--game-lobby-icon-board);
}

body[data-economy-step="prices"] .economy-game-category-card:hover,
body[data-economy-step="prices"] .economy-game-category-card:focus-visible,
body[data-economy-step="prices"] .economy-game-category-card.is-active {
    border-color: transparent;
    box-shadow: none;
    transform: translateY(-3px);
}

body[data-economy-step="prices"] .economy-game-category-card:focus-visible {
    outline: 4px solid rgba(36, 110, 255, 0.32);
    outline-offset: -18px;
}

body[data-economy-step="prices"] .economy-game-category-card.is-active {
    background: var(--game-lobby-category-card-active) center / 100% 100% no-repeat;
}

body[data-economy-step="prices"] .economy-game-category-card .economy-game-launch-icon {
    grid-row: 1;
    grid-column: 1;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: linear-gradient(180deg, #5f9b22, #3f7b14);
    color: #ffffff;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), 0 8px 14px rgba(61, 38, 12, 0.18);
    font-size: 24px;
}

body[data-economy-step="prices"] .economy-game-category-card small {
    position: absolute;
    top: clamp(14px, 1.3vw, 20px);
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    width: clamp(142px, 12vw, 184px);
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 16px;
    margin: 0;
    background: var(--game-lobby-green-ribbon) center / 100% 100% no-repeat;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.15;
    text-shadow: 0 1px 0 rgba(25, 78, 26, 0.5);
}

body[data-economy-step="prices"] .economy-game-category-card strong {
    grid-column: 1;
    grid-row: 2;
    color: #3b210a;
    font-size: clamp(21px, 1.7vw, 27px);
    line-height: 1.15;
}

body[data-economy-step="prices"] .economy-game-category-card p {
    grid-column: 1;
    grid-row: 3;
    max-width: 17em;
    color: #3c2c16;
    font-size: clamp(13px, 0.95vw, 15px);
    line-height: 1.45;
    font-weight: 950;
}

body[data-economy-step="prices"] .economy-game-category-card em {
    grid-column: 1;
    grid-row: 6;
    align-self: end;
    min-width: 126px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 0;
    background: var(--game-lobby-count-plank) center / 100% 100% no-repeat;
    color: #3a210b;
    font-size: 18px;
    text-shadow: 0 1px 0 rgba(255, 232, 160, 0.7);
}

body[data-economy-step="prices"] .economy-game-launcher {
    position: relative;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--game-lobby-launcher-panel) center / 100% 100% no-repeat;
    padding: clamp(56px, 4.8vw, 78px) clamp(46px, 4.5vw, 72px) clamp(58px, 4.8vw, 76px);
}

body[data-economy-step="prices"] .economy-game-launcher-head h3 {
    color: #3b210a;
    font-size: clamp(26px, 2.2vw, 34px);
}

body[data-economy-step="prices"] .economy-game-launcher-head p {
    max-width: 720px;
    color: #3c2c16;
    font-size: 16px;
    font-weight: 950;
}

body[data-economy-step="prices"] .economy-game-launcher-head > span {
    min-width: 120px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: var(--game-lobby-count-plank) center / 100% 100% no-repeat;
    color: #3a210b;
    font-size: 17px;
    text-shadow: 0 1px 0 rgba(255, 232, 160, 0.7);
}

body[data-economy-step="prices"] .economy-game-launch-grid {
    gap: clamp(10px, 1.1vw, 14px);
}

body[data-economy-step="prices"] .economy-game-launch-card {
    min-height: 198px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--game-lobby-launch-card) center / 100% 100% no-repeat;
    padding: 30px 28px 26px;
    color: #3a210b;
}

body[data-economy-step="prices"] .economy-game-launch-card:hover,
body[data-economy-step="prices"] .economy-game-launch-card:focus-visible {
    border-color: transparent;
    box-shadow: none;
    transform: translateY(-3px);
}

body[data-economy-step="prices"] .economy-game-launch-card:focus-visible {
    outline: 4px solid rgba(36, 110, 255, 0.32);
    outline-offset: -14px;
}

body[data-economy-step="prices"] .economy-game-launch-card .economy-game-launch-icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: linear-gradient(180deg, #5f9b22, #3f7b14);
    color: #ffffff;
}

body[data-economy-step="prices"] .economy-game-launch-card small {
    color: #7a4614;
    font-size: 12px;
}

body[data-economy-step="prices"] .economy-game-launch-card strong {
    color: #3b210a;
    font-size: 19px;
    line-height: 1.22;
}

body[data-economy-step="prices"] .economy-game-launch-card p {
    color: #46331b;
    font-weight: 850;
}

body[data-economy-step="prices"] .economy-game-launch-card em {
    width: fit-content;
    min-width: 142px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    background: var(--game-lobby-button-green) center / 100% 100% no-repeat;
    color: #ffffff;
    text-shadow: 0 1px 0 rgba(25, 78, 26, 0.5);
}

body[data-economy-step="prices"] .economy-game-launch-empty {
    min-height: 110px;
    border: 0;
    border-radius: 0;
    background:
        var(--game-lobby-leaf) right 24px bottom 16px / 42px 42px no-repeat,
        rgba(255, 244, 214, 0.74);
    color: #4b3518;
    font-size: 16px;
    font-weight: 1000;
}

body[data-economy-step="prices"] .economy-board-game-admin-panel {
    position: relative;
    display: grid;
    gap: 10px;
    margin: 14px 0 16px;
    border: 1px solid rgba(91, 58, 22, 0.22);
    border-radius: 8px;
    padding: 14px;
    background: rgba(255, 248, 225, 0.88);
    color: #34220f;
}

body[data-economy-step="prices"] .economy-board-game-admin-panel > header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

body[data-economy-step="prices"] .economy-board-game-admin-panel h4 {
    margin: 3px 0 0;
    color: #3b210a;
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: 0;
}

body[data-economy-step="prices"] .economy-board-game-admin-panel > header > strong {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 7px 12px;
    background: #dcfce7;
    color: #166534;
    font-size: 13px;
    font-weight: 1000;
}

body[data-economy-step="prices"] .economy-board-game-admin-status {
    margin: 0;
    border-radius: 8px;
    padding: 9px 11px;
    background: rgba(224, 242, 254, 0.9);
    color: #075985;
    font-size: 13px;
    font-weight: 950;
}

body[data-economy-step="prices"] .economy-board-game-admin-status[data-tone="warn"] {
    background: rgba(254, 226, 226, 0.92);
    color: #991b1b;
}

body[data-economy-step="prices"] .economy-board-game-admin-status[data-tone="success"] {
    background: rgba(220, 252, 231, 0.92);
    color: #166534;
}

body[data-economy-step="prices"] .economy-board-game-admin-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 8px;
}

body[data-economy-step="prices"] .economy-board-game-admin-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    border: 1px solid rgba(120, 74, 22, 0.16);
    border-radius: 8px;
    padding: 9px;
    background: rgba(255, 255, 255, 0.7);
}

body[data-economy-step="prices"] .economy-board-game-admin-row.is-open-today {
    border-color: rgba(22, 101, 52, 0.24);
    background: rgba(240, 253, 244, 0.84);
}

body[data-economy-step="prices"] .economy-board-game-admin-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(180deg, #fbbf24, #d97706);
    color: #3b210a;
    font-size: 18px;
    font-weight: 1000;
}

body[data-economy-step="prices"] .economy-board-game-admin-row div {
    min-width: 0;
}

body[data-economy-step="prices"] .economy-board-game-admin-row strong,
body[data-economy-step="prices"] .economy-board-game-admin-row small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-economy-step="prices"] .economy-board-game-admin-row strong {
    color: #3b210a;
    font-size: 14px;
    line-height: 1.2;
}

body[data-economy-step="prices"] .economy-board-game-admin-row small {
    margin-top: 2px;
    color: #6b4b24;
    font-size: 12px;
    font-weight: 850;
}

body[data-economy-step="prices"] .economy-board-game-admin-row em {
    min-width: 72px;
    border-radius: 999px;
    padding: 6px 9px;
    background: #fef3c7;
    color: #854d0e;
    font-size: 12px;
    font-style: normal;
    font-weight: 1000;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

body[data-economy-step="prices"] .economy-board-game-admin-row.is-open-today em {
    background: #bbf7d0;
    color: #166534;
}

body[data-economy-step="prices"] .economy-board-game-admin-action {
    min-width: 86px;
    min-height: 34px;
    border: 0;
    border-radius: 8px;
    padding: 7px 10px;
    background: #15803d;
    color: #ffffff;
    font-size: 12px;
    font-weight: 1000;
    line-height: 1.15;
    white-space: nowrap;
    cursor: pointer;
}

body[data-economy-step="prices"] .economy-board-game-admin-action.secondary {
    background: #0f766e;
}

body[data-economy-step="prices"] .economy-board-game-admin-action:disabled {
    background: #94a3b8;
    cursor: default;
}

body[data-economy-step="prices"] .economy-board-game-admin-modal {
    position: fixed;
    inset: 0;
    z-index: 15000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.46);
}

body[data-economy-step="prices"] .economy-board-game-admin-modal > section {
    width: min(480px, 100%);
    display: grid;
    gap: 14px;
    border-radius: 8px;
    padding: 18px;
    background: #fff8df;
    box-shadow: 0 22px 44px rgba(24, 33, 48, 0.24);
}

body[data-economy-step="prices"] .economy-board-game-admin-modal header,
body[data-economy-step="prices"] .economy-board-game-admin-modal footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

body[data-economy-step="prices"] .economy-board-game-admin-modal h4 {
    margin: 2px 0 0;
    color: #3b210a;
    font-size: 22px;
    line-height: 1.2;
}

body[data-economy-step="prices"] .economy-board-game-admin-modal header span {
    color: #0f766e;
    font-size: 12px;
    font-weight: 1000;
}

body[data-economy-step="prices"] .economy-board-game-admin-modal header button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

body[data-economy-step="prices"] .economy-board-game-admin-weekdays {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

body[data-economy-step="prices"] .economy-board-game-admin-weekdays label {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(120, 74, 22, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: #3b210a;
    font-size: 14px;
    font-weight: 1000;
}

body[data-economy-step="prices"] .economy-board-game-admin-modal-note {
    margin: 0;
    color: #725436;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
}

@media (max-width: 1180px) {
    body[data-economy-step="prices"] .economy-game-hall-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-economy-step="prices"] .economy-game-category-card {
        grid-template-columns: minmax(0, 1fr);
        min-height: 250px;
    }

    body[data-economy-step="prices"] .economy-game-category-card::after {
        width: clamp(92px, 12vw, 132px);
        opacity: 0.9;
    }
}

@media (max-width: 860px) {
    body[data-economy-step="prices"] .economy-dashboard-stage {
        width: min(calc(100% - 20px), 760px);
    }

    body[data-economy-step="prices"][data-economy-view="hall-of-fame"] .economy-dashboard-stage {
        width: min(calc(100% - 20px), 760px);
    }

    body[data-economy-step="prices"] .economy-game-hall-entry,
    body[data-economy-step="prices"] .economy-game-hall-hero {
        min-height: 230px;
        padding: 30px 24px;
        background-position: 58% 47%;
    }

    body[data-economy-step="prices"] .economy-game-hall-entry strong,
    body[data-economy-step="prices"] .economy-game-hall-hero h2 {
        font-size: 44px;
    }

    body[data-economy-step="prices"] .economy-game-hall-entry p,
    body[data-economy-step="prices"] .economy-game-hall-hero p {
        font-size: 15px;
    }

    body[data-economy-step="prices"] .economy-game-hall-grid {
        grid-template-columns: 1fr;
    }

    body[data-economy-step="prices"] .economy-game-hall-rank-list li {
        grid-template-columns: 36px 30px minmax(0, 1fr);
    }

    body[data-economy-step="prices"] .economy-game-hall-rank-no {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    body[data-economy-step="prices"] .economy-game-hall-avatar {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    body[data-economy-step="prices"] .economy-game-hall-rank-list b {
        grid-column: 3;
        justify-self: start;
        white-space: normal;
    }

    body[data-economy-step="prices"] .economy-game-category-card {
        min-height: 238px;
        padding: 34px 30px 34px;
    }

    body[data-economy-step="prices"] .economy-game-category-card p {
        max-width: calc(100% - 112px);
    }

    body[data-economy-step="prices"] .economy-game-category-card::after {
        right: 26px;
        bottom: 34px;
        width: 104px;
    }

    body[data-economy-step="prices"] .economy-game-launcher {
        padding: 42px 28px 44px;
        background-size: 118% 100%;
    }

    body[data-economy-step="prices"] .economy-game-launcher-head {
        display: grid;
    }

    body[data-economy-step="prices"] .economy-board-game-admin-list,
    body[data-economy-step="prices"] .economy-board-game-admin-row {
        grid-template-columns: 1fr;
    }

    body[data-economy-step="prices"] .economy-board-game-admin-row {
        justify-items: stretch;
    }

    body[data-economy-step="prices"] .economy-board-game-admin-icon,
    body[data-economy-step="prices"] .economy-board-game-admin-row em,
    body[data-economy-step="prices"] .economy-board-game-admin-action {
        width: 100%;
    }

    body[data-economy-step="prices"] .economy-board-game-admin-weekdays {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-economy-step="prices"] .economy-game-launch-card {
        padding: 28px 24px 26px;
    }
}

body[data-economy-step="wallet"][data-economy-view="class-token"] {
    --class-token-skin-version: "20260628-classtokentall1";
    --class-token-page-bg: url("../assets/economy-learning/class-token/page-background.png?v=20260628-classtokentall1");
    --class-token-stage: url("../assets/economy-learning/class-token/stage-board-tall.png?v=20260628-classtokentall1");
    --class-token-header: url("../assets/economy-learning/class-token/header-scroll.png?v=20260628-classtokentall1");
    --class-token-balance-card: none;
    --class-token-rank-card: url("../assets/economy-learning/class-token/rank-card.png?v=20260628-classtokentall1");
    --class-token-winner-card: url("../assets/economy-learning/class-token/winner-card.png?v=20260628-classtokentall1");
    --class-token-mini-card: url("../assets/economy-learning/class-token/mini-card.png?v=20260628-classtokentall1");
    --class-token-ribbon-green: url("../assets/economy-learning/class-token/ribbon-green.png?v=20260628-classtokentall1");
    --class-token-ribbon-purple: url("../assets/economy-learning/class-token/ribbon-purple.png?v=20260628-classtokentall1");
    --class-token-coin-medal: url("../assets/economy-learning/class-token/coin-medal.png?v=20260628-classtokentall1");
    --class-token-coin-stack: url("../assets/economy-learning/class-token/coin-stack.png?v=20260628-classtokentall1");
    --class-token-treasure: url("../assets/economy-learning/class-token/treasure-scene.png?v=20260628-classtokentall1");
    --class-token-rank-badge: url("../assets/economy-learning/class-token/rank-badge.png?v=20260628-classtokentall1");
}

body[data-economy-step="wallet"][data-economy-view="class-token"] .economy-dashboard-stage {
    width: min(1620px, calc(100% - 32px));
}

body[data-economy-step="wallet"][data-economy-view="class-token"] .economy-dashboard-main,
body[data-economy-step="wallet"][data-economy-view="class-token"] .economy-dashboard-content,
body[data-economy-step="wallet"][data-economy-view="class-token"] .economy-course-activity,
body[data-economy-step="wallet"][data-economy-view="class-token"] .economy-wallet-token-page {
    min-width: 0;
    max-width: 100%;
}

body[data-economy-step="wallet"][data-economy-view="class-token"] .economy-dashboard-main {
    gap: 0;
}

body[data-economy-step="wallet"][data-economy-view="class-token"] .economy-wallet-token-page {
    display: grid;
    gap: 10px;
}

body[data-economy-step="wallet"][data-economy-view="class-token"] .economy-wallet-token-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(680px, 66vw, 980px);
    border: 0;
    border-radius: 22px;
    background: var(--class-token-stage) center / 100% 100% no-repeat;
    box-shadow: none;
    filter: drop-shadow(0 18px 24px rgba(78, 48, 19, .2));
    color: #3c250d;
    grid-template-columns: minmax(280px, .86fr) minmax(0, 1.54fr);
    gap: clamp(18px, 2.4vw, 32px);
    padding: clamp(40px, 3.6vw, 64px) clamp(42px, 4.2vw, 78px) clamp(52px, 4.4vw, 74px);
}

body[data-economy-step="wallet"][data-economy-view="class-token"] .economy-wallet-token-head {
    position: relative;
    min-height: clamp(170px, 15vw, 230px);
    border: 0;
    border-radius: 0;
    background: var(--class-token-header) left center / min(100%, 1180px) 100% no-repeat;
    color: #3a210b;
    padding: clamp(38px, 3vw, 54px) clamp(320px, 27vw, 430px) clamp(34px, 3vw, 48px) clamp(70px, 5.4vw, 104px);
    align-items: flex-start;
    overflow: visible;
}
