#table-wrapper {
    position: relative;
}

/* ========================================
   Accessibility: Skip link
   ======================================== */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 9999;
    padding: 8px 10px;
    border-radius: 8px;
    background: #CDEBFF;
    border: 2px solid #007169;
    color: #00736b;
    font-weight: 800;
}

.skip-link:focus {
    left: 8px;
}

/* ========================================
   Header chrome helpers
   ======================================== */
.stown-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 5px 4px;
    margin-bottom: 4px;
}

.stown-age-note {
    display: flex;
    align-items: center;
    gap: 3px;
    line-height: 1.2;
    font-size: var(--st-font-sm);
    min-width: 0;
}

.stown-age-note__icon,
.stown-age-note__text {
    vertical-align: middle;
}

.stown-noscript-pixel,
.stown-noscript-frame {
    display: none;
    visibility: hidden;
}

.stown-shell {
    text-align: center;
}

.bg-content.stown-header__greeting {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
}

.stown-header__logout {
    color: seagreen;
}

.stown-language {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 3px;
    width: fit-content;
    margin: 0;
    padding: 3px;
    border: 2px solid rgba(102, 48, 25, 0.35);
    border-radius: 999px;
    background: #f9f0da;
    color: #663019;
    font-size: var(--st-font-md);
    font-weight: 900;
    box-shadow: 0 1px 0 rgba(102, 48, 25, 0.25);
}

.stown-language__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    color: #663019;
    font-weight: 900;
    text-decoration: none;
}

.stown-language__link.is-selected {
    background: #00736b;
    color: #ffffff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}

#table-scroll {
    height: 100px;
    overflow: auto;
}

#table-wrapper table {
    width: 100%;
}

#customers {
    font-family: inherit;
    border-collapse: collapse;
    width: 100%;
}

#customers td, #customers th {
    border: 1px solid #ddd;
    padding: 8px;
    width: 10%;
}

#customers tr {
    background-color: #fff;
}

#customers tr:hover {
    background-color: #ddd;
    width: 10%;
}

#customers th {
    text-align: left;
    background-color: #00736b;
    color: white;
    width: 10%;
}

html {
    overflow-x: hidden;
    margin-right: calc(-1 * (100vw - 100%));
}

button {
    display: inline-block;
    padding: 5px 10px;
    margin: 3px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
    color: #fff;
    background-color: #00736B;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px #1C3F39;
}

button:hover {
    background-color: #3e8e41
}

button:active {
    background-color: #3e8e41;
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

input, select {
    outline: none;
    border: none;
    border-radius: 5px;
    text-indent: 5px;
    padding: 3px;
}

select {
    width: 152px;
}

body {
    background: #b3afaf;
    font-family: 'Lexend Deca', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

button,
input,
select,
textarea {
    font: inherit;
}

:root {
    /* Keep header + footer dimming consistent */
    --stown-chrome-dim: rgba(0, 0, 0, 0.22);
}

body, input, textarea {
}

div.body {
    background: #ffcf9c;
    background-position: right bottom;
    margin-top: 0.2px;
    border: 2px solid #663019;
}

h3 {
    -webkit-margin-before: 0px;
    -webkit-margin-after: 0px;
}

h4 {
    -webkit-margin-before: 0.2em;
    -webkit-margin-after: 0.2em;
}

.a {
    height: clamp(92px, 14vw, 120px);
    /* Center logo without line-height hacks (prevents PC overlap) */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
    z-index: 0;
    position: relative;
    /* Dim ONLY the background (not the logo) */
    background-image:
        linear-gradient(var(--stown-chrome-dim), var(--stown-chrome-dim)),
        url("/assets/images/background.png");
    background-position: center bottom;
    border-radius: 20px 20px 0 0;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 8px 0 6px;
}

.a img {
    margin-bottom: 0;
    z-index: 2;
    position: relative;
}

/* Responsive logo sizing across devices */
.stown-header__logo-img {
    width: clamp(160px, 28vw, 240px);
    max-width: 90%;
    height: auto;
}

/* Animated clouds drifting across the header banner. */
.stown-header__cloud {
    position: absolute;
    left: 0;
    pointer-events: none;
    will-change: transform;
    animation: stown-header-cloud-drift linear infinite;
}

.stown-header__cloud img {
    display: block;
    width: auto;
    margin: 0;
}

/* Small cloud drifts in front of the logo, faster. */
.stown-header__cloud--small {
    top: 14px;
    z-index: 3;
    animation-duration: 18s;
    animation-delay: -6s;
}
.stown-header__cloud--small img { height: clamp(16px, 4vw, 26px); }

/* Large cloud drifts behind the logo, slower. */
.stown-header__cloud--large {
    top: 46px;
    z-index: 1;
    animation-duration: 28s;
    animation-delay: -16s;
}
.stown-header__cloud--large img { height: clamp(26px, 6vw, 42px); }

@keyframes stown-header-cloud-drift {
    from { transform: translate3d(-160px, 0, 0); }
    to   { transform: translate3d(100vw, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .stown-header__cloud { display: none; }
}

.b {
    background: url(../images/menu_bg.png) repeat-x;
    height: 23px;
    color: #ff7700;
    margin-left: 10px;
    margin-right: 9px;
}

.b-content {
    position: relative;
    z-index: 1;
    padding-top: 4px;
    padding-left: 3px;
}

/*.b-left{background: url(../images/left_menu.gif) no-repeat;position: absolute;background-position:left;height:34px; width:18px;} */
.b-left {
    background: url(../images/left_menu.png) no-repeat;
    position: absolute;
    background-position: left;
    height: 23px;
    width: 7px;
    margin-left: 3px;
}

.b-right {
    background: url(../images/right_menu.png) no-repeat;
    margin-left: 206px;
    position: absolute;
    height: 23px;
    width: 7px;
}

.c {
    color: #ff7700;
    font-weight: bold;
    text-decoration: none;
    font-size: var(--st-font-base);
}

.d {
    color: #ff7700;
    text-decoration: none;
    font-weight: bold;
}

.h {
    padding-left: 0px;
    padding-top: 5px;
}

.bg-content {
    text-align: left;
    padding: 5px;
    margin-bottom: 3px;
    background: #CDEBFF;
    background-position: right bottom;
    margin-top: 3px;
    padding-top: 3px;
    color: #2A81C0;
}

.bg-content img {
    max-width: 100% !important;
}

.bg-content .title {
    border-bottom: 1px solid #007169;
}

.bg-content .content {
    padding: 2px 2px 2px 0px;
}

.bg-content .date {
    padding: 2px 2px 2px 0px;
    font-style: italic;
    font-size: var(--st-font-xs);
    position: relative;
    float: right;
    margin-top: -13px;
}

.h img {
    margin: 0;
    padding: 0;
}

.h li {
    margin-left: 20px;
}

.l {
    padding-left: 17px;
    padding-right: 7px;
    padding-bottom: 3px;
    padding-top: 3px;
    text-align: center;
    color: #000;
}

a {
    color: #ff7700;
    text-decoration: none;
}

/*a:hover{color: #108b00;text-decoration: none;}background:
}*/
.i {
}

.j {
    color: #000;
}

.g {
    border-bottom: 1px solid #CCC;
    padding: 3px 7px;
}

.k {
    list-style: square outside none;
    margin: 0 0 0 16px;
    padding-left: 0;
    position: relative;
}

.e {
    padding-top: 5px;
    padding-left: 7px;
    padding-right: 7px;
}

.f {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 7px;
    padding-right: 7px;
    background-color: #cefb76;
    border: 1px solid #52fd2b;
    margin-bottom: 3px;
}

.m {
    padding-left: 7px;
    padding-right: 7px;
    margin-top: -15px;
    padding-bottom: 3px;
}

.n {
    color: #999;
}

.listOther li {
    margin-left: -25px;
}

.body-content {
    background: #00736b;
    width: 100%;
    margin-left: 0px;
    margin-bottom: 0;
    border-radius: 20px 20px 0 0;
}

.bg-content222 {
    background: url('../images/bg_center.png') no-repeat #d79242;
    background-position: right bottom;
    width: 98%;
    margin-left: 5px;
    z-index: 15;
    position: relative;
}

.bg_top_2 {
    display: table;
    background: url('../images/banner_2.png') no-repeat;
    height: 303px;
    width: 100%;
}

.download {
    width: 100%;
    text-align: center;
}

.download img {
    text-align: center;
}

.bg_top {
    background: #f85723; /* Old browsers */
    background: -moz-linear-gradient(top, #fe5604 0%, #fe5604 30%, #ff5601 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fe5604), color-stop(30%, #fe5604), color-stop(100%, #ff5601)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #fe5604 0%, #fe5604 30%, #ff5601 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #fe5604 0%, #fe5604 30%, #ff5601 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #fe5604 0%, #fe5604 30%, #ff5601 100%); /* IE10+ */
    background: linear-gradient(to bottom, #fe5604 0%, #fe5604 30%, #ff5601 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f85723', endColorstr='#ff5601', GradientType=0); /* IE6-9 */
    position: relative;
    z-index: 0;
    width: 100%;
    height: 42px;
    margin-top: 10px;
    margin-left: 0px;
    border-radius: 15px 15px 0 0;

}

.bottom_paper {
    position: absolute;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.link-footer {
    position: relative;
    z-index: 2;
    margin-bottom: -35px;
    max-width: 210px;
}

.link-more {
    width: 100%;
}

.footer {
    position: relative;
    width: 100%;
    height: 64px;
    border-radius: 0 0 15px 15px;
    background-image:
        linear-gradient(var(--stown-chrome-dim), var(--stown-chrome-dim)),
        url("/assets/images/nongtraibanngay.png");
    background-repeat: repeat-x;
    background-position: center bottom;
    background-size: auto 64px;
    margin-bottom: 0;
    box-shadow: 0 9px 10px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.left_b_bottom {
    width: 100%;
    margin-top: -1px;
    position: relative;
}

.bg_bottom {
    background: url(../images/bg_bottom.png) repeat-x;
    position: relative;
    width: 94%;
    height: 98px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 5px;
}

.right_b_bottom {
    position: relative;
    z-index: 2;
    background-position: right;
    width: 100%;
    margin-top: -5px;
}

.body_body {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

@media (min-width: 600px) {
    .body_body {
        max-width: 860px;
    }
}

@media (min-width: 900px) {
    .body_body {
        max-width: 1100px;
    }
}

/* Don't stretch the teal header container to fill viewport */
.body-content {
    flex: 0 0 auto;
}

.stown-footer {
    margin-top: auto;
}

.copyright {
    position: relative;
    z-index: 3;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: var(--st-font-sm);
    line-height: 10px;
}

.stown-footer__tagline {
    font-size: var(--st-font-md);
}

span.comment-time {
    font-size: var(--st-font-sm);
    color: #333333;
    font-style: italic;
    text-decoration: none;
}

span.blog-time {
    font-size: var(--st-font-sm);
    color: #555555;

    text-decoration: none;
}

span.pad {
    padding-left: 20px;
}

img {
    border: none;
}

img.comment-avatar {
    width: 40px;

}

img.blog-avatar {
    width: 45px;
    position: relative;
    z-index: 0;
}

img.avatar {

}

img.search-avatar {
    width: 40px;
}

.comment {
    background-color: #A0E5FF;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

td.comment {
    padding: 2px 5px 2px 5px;
    font-size: var(--st-font-sm);
}

td.blog-avatar {
    vertical-align: top;
}

div.blog-bg-left {
    height: 0;
}

div.blog-bg-left img {
    position: relative;
    left: -11px;
    top: -6px;
}

td.current-blog {
    width: 600px;
    padding: 4px;
    position: relative;
    z-index: 0;
    background-color: #fff;

    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;


}

td.friend-left {
    padding: 1px;
    width: 40px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #EAEAEA;
}

td.friend-right {
    padding: 1px;
    vertical-align: top;
    text-align: left;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #EAEAEA;
    vertical-align: bottom;
}

td.comment-avatar {
    width: 24px;
    height: 24px;
    padding: 2px 2px 2px 2px;

}

img.lil-command {
    margin-bottom: -3px;
}

.info {
    background-color: #f9f0da;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

td.left {
    vertical-align: bottom;
    text-align: right;
    background-color: #DEDEDE;
    padding: 2px 5px 2px 2px;
    margin: 3px 5px 2px 5px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #C1C1C1;
    width: 70px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

td.right {
    border-width: 0px 0px 1px 0px;
    padding: 2px 0px 2px 2px;
    border-style: solid;
    border-color: #C1C1C1;
}

tr.header {
    font-weight: bold;
    background-color: #CCCCCC;
    padding: 2px 0px 2px 2px;
    text-align: center;
}

tr.search-odd-row {
    background-color: #EFEFEF;
    padding-left: 2px;
}

tr.search-even-row {
    background-color: #F9F9F9;
    padding-left: 2px;
}

tr.blog {
    padding: 2px;
}

table.blog {

}

div.anou {
    text-align: center;
    height: 15px;
    background-color: #f9f0da;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #ffb03a;
}

input[type="text"], textarea {
    border-radius: 4px;
    border: 1px solid #CCC;
    padding: 2px;
    width: 50px;
}

.pagecurrent {
    font-size: var(--st-font-sm);
    background-color: #ffb02c;
    color: white;
    border: #e5e5e5 2px solid;
    width: 15px;
    padding-left: 5px;
    padding-bottom: 2px;
    padding-right: 5px;
    padding-top: 2px;
    font-weight: normal;
    margin-left: 2px;
    text-decoration: none;
    /*-moz-border-radius: 5px;
    -webkit-border-radius: 5px;*/
    font-weight: bold;
}

.pagelink, .pagelink:hover {
    font-size: var(--st-font-sm);
    background-color: #ffd260;
    color: #ff0000;
    border: #e5e5e5 2px solid;
    width: 15px;
    padding-left: 5px;
    padding-bottom: 2px;
    padding-right: 5px;
    padding-top: 2px;
    font-weight: normal;
    margin-left: 2px;
    text-decoration: none;
    /*-moz-border-radius: 5px;
    -webkit-border-radius: 5px;*/
    font-weight: bold;
}

.pagelink:hover {
    background-color: #ffb02c;
    color: white;
}

.pagination {
    margin-bottom: 5px;
    margin-top: 3px;
    margin-right: 5px;
}

.menu2 {
    /* background: #561d00; */
    margin: 0;
    /* margin-bottom: 3px; */
    position: relative;
}

/* Main navigation (header) */
.menu2 .stown-nav {
    box-sizing: border-box;
    list-style: none;
    padding: 3px 5px;
    margin: 0;
    display: flex;
    width: 100%;
    align-items: stretch;
    gap: 4px;
    background: var(--st-primary);
}

.menu2 .stown-nav__item {
    flex: 1;
    min-height: 40px;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.menu2 .stown-nav__link {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    min-height: 34px;
    padding: 4px 7px;
    border: 2px solid var(--st-green-dark);
    border-radius: 7px;
    background: var(--st-green);
    color: var(--st-text-inverse);
    font-weight: 900;
    font-size: var(--st-font-base);
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 1px 0 var(--st-green-shadow);
}

.menu2 .stown-nav__item.is-selected .stown-nav__link,
.menu2 .stown-nav__link:hover {
    background: var(--st-green-dark);
    color: var(--st-text-inverse);
    text-decoration: none;
}

.menu2 .stown-nav__link:active {
    transform: translateY(1px);
    box-shadow: 0 0 0 var(--st-green-shadow);
}

/* Mobile-first: fit nav by wrapping (no horizontal scroll) */
@media (max-width: 520px) {
    .menu2 .stown-nav {
        flex-wrap: wrap;
    }

    .menu2 .stown-nav__item {
        flex: 1 1 calc(33.333% - 4px);
    }
}

@media (max-width: 380px) {
    .menu2 .stown-nav__item {
        flex: 1 1 calc(50% - 4px);
    }
}

/* Header-only: attention gift icon next to Community tab */
.menu2 .nav-gift-icon {
    width: 12px;
    height: 12px;
    margin: 0 3px 0 0;
    vertical-align: -2px;
    display: inline-block;
    object-fit: contain;
    transform-origin: 50% 75%;
    animation: stown-nav-gift-wiggle 2.8s ease-in-out infinite;
}

@keyframes stown-nav-gift-wiggle {
    0% { transform: rotate(0deg) translateY(0); }
    6% { transform: rotate(-10deg) translateY(-1px); }
    12% { transform: rotate(10deg) translateY(-1px); }
    18% { transform: rotate(-8deg) translateY(-1px); }
    24% { transform: rotate(8deg) translateY(-1px); }
    30% { transform: rotate(0deg) translateY(0); }
    100% { transform: rotate(0deg) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .menu2 .nav-gift-icon {
        animation: none;
    }
}

@media (max-width: 420px) {
    .menu2 .nav-gift-icon {
        animation: none;
        width: 11px;
        height: 11px;
        margin-right: 2px;
    }
}

tr.menu1 td, tr.menu1 td a {
    color: white;
    font-weight: none;
    text-decoration: none;
    text-align: center;
    vertical-align: bottom;
    padding-left: 0;
}

tr.menu1 td, td#selected {
    background-color: #75a50e;
}

tr.menu2 td, tr.menu2 td a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    vertical-align: bottom;
    padding-left: 0;
}

tr.menu2 td, td#selected {
}

td#selected {
    /*background: url('../images/bg_menu.png');
    -webkit-border-radius: 3px;
    border-radius: 3px;*/
    background-color: #75a50e;
}

tr.menu1 td#selected {
    background-color: #75a50e;
}

.barpt {
    width: 200px;
    height: 10px;
    background: #c6f48b;
    border: 1px solid #969696;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.barpt .pt {
    height: 10px;
    background-color: #599F00;
}

.bg_tree {


}

.h .bg_noel {
    height: 17px;
    /*background: url(../images/bg_menutop.png) repeat-x;*/
    margin-top: -10px;
    z-index: 10;
    position: relative;
}

.foot_bg {
    width: 300px;
    text-align: center;
    z-index: 11;
    height: 48px;
    position: absolute;
    /*background: url('../images/bg_foot.png') no-repeat;*/
}

#columns {
    /*column-width: 320px;
    column-gap: 15px;
  width: 90%;
    max-width: 1100px;
    margin: 50px auto;*/
}

div#columns figure {
    margin: 0 2px 0px;
    /* padding: 15px; */
    /* padding-bottom: 10px; */
    transition: opacity .4s ease-in-out;
    display: inline-block;
}

div#columns figure img {
    /*width: 100%; height: auto;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
    margin-bottom: 5px;*/
}

div#columns figure figcaption {
    font-size: var(--st-font-md);
    color: #2A81C0;
    line-height: 1.5;
}

div#columns small {
    font-size: var(--st-font-base);
    float: right;
    text-transform: uppercase;
    color: #aaa;
}

div#columns small a {
    color: #666;
    text-decoration: none;
    transition: .4s color;
}

.button {
    padding: 2px 6px;
}


/* ========================================
   SunnyTown Design System Primitives
   Shared BEM-style components for SSR pages.
   ======================================== */
:root {
    --st-primary: #00736b;
    --st-primary-dark: #1C3F39;
    --st-primary-border: #007169;
    --st-green: #8FC41A;
    --st-green-dark: #75a50e;
    --st-green-shadow: #5f850b;
    --st-brown: #663019;
    --st-paper: #ffcf9c;
    --st-panel: #ffffff;
    --st-white: #ffffff;
    --st-black: #000000;
    --st-soft-blue: #CDEBFF;
    --st-border: #e5e7eb;
    --st-border-muted: #cccccc;
    --st-border-soft: #dddddd;
    --st-border-light: #e5e5e5;
    --st-muted: #666666;
    --st-text: #333333;
    --st-text-dark: #111111;
    --st-text-secondary: #444444;
    --st-text-strong: #1C3F39;
    --st-text-muted: #555555;
    --st-text-subtle: #777777;
    --st-text-faint: #999999;
    --st-text-disabled: #aaaaaa;
    --st-text-inverse: #ffffff;
    --st-placeholder: #bbbbbb;
    --st-link-legacy: #ff7700;
    --st-cream-bg: #f9f0da;
    --st-cream-light: #fff8ed;
    --st-cream-softer: #fff5e6;
    --st-cream-softest: #fffbf0;
    --st-orange: #ffb03a;
    --st-orange-hot: #ff6b35;
    --st-orange-featured: #ff8c00;
    --st-orange-warm: #ffb02c;
    --st-orange-dark: #c8873a;
    --st-orange-shadow: #a06820;
    --st-gold: #d4a017;
    --st-gold-dark: #6b4e00;
    --st-gold-soft: #ffd260;
    --st-gold-bright: #ffd557;
    --st-gold-orange: #f5a623;
    --st-gold-shadow: #9e6d00;
    --st-surface-muted: #f9fafb;
    --st-surface-subtle: #fafafa;
    --st-surface-neutral: #f0f0f0;
    --st-surface-alt: #f8f9fa;
    --st-surface-chip: #f3f4f6;
    --st-muted-dark: #6c757d;
    --st-border-extra-light: #eeeeee;
    --st-blue-text: #2A81C0;
    --st-info-hover: #b8e3ea;
    --st-green-light: #a8db42;
    --st-green-tint: #edf7d6;
    --st-green-hover-start: #9ed234;
    --st-green-hover-end: #80b217;
    --st-green-text-dark: #2b4b00;
    --st-success-accent: #20c997;
    --st-success-pale: #e8f5e9;
    --st-success-mid: #2e7d32;
    --st-warning-mid: #ffe69c;
    --st-purple-pale: #ede7f6;
    --st-purple: #5e35b1;
    --st-danger-pale: #ffebee;
    --st-danger-strong: #c62828;
    --st-danger-pale-border: #ffcdd2;
    --st-danger-surface: #fff5f5;
    --st-paper-dark: #ffb985;
    --st-paper-dashed: #d8b376;
    --st-featured-red: #ff4d4d;
    --st-disabled-bg: #b0b4b8;
    --st-disabled-border: #888c90;
    --st-text-quiet: #888888;
    --st-text-brown: #3d2c1e;
    --st-history-hover: #f0fafa;
    --st-gem: #17a2b8;
    --st-gem-bg-start: #d6f0ff;
    --st-gem-bg-end: #9bdcff;
    --st-gem-border: #1896cc;
    --st-gem-text: #0a4d68;
    --st-tier-bronze: #cd7f32;
    --st-tier-bronze-bg-start: #fff7ec;
    --st-tier-bronze-bg-end: #ffe9c9;
    --st-tier-bronze-badge-bg: #ffe0c3;
    --st-tier-bronze-text: #7a4a18;
    --st-tier-silver: #9aa2ad;
    --st-tier-silver-bg-start: #fafbfc;
    --st-tier-silver-bg-mid: #f4f6f9;
    --st-tier-silver-bg-end: #e4e8ee;
    --st-tier-silver-badge-bg: #eceff3;
    --st-tier-silver-text: #384150;
    --st-tier-gold-bg-start: #fff9df;
    --st-tier-gold-bg-end: #ffe994;
    --st-tier-gold-badge-bg: #fff2b8;
    --st-tier-diamond-bg-start: #e7f7fb;
    --st-tier-diamond-bg-end: #b8e7f1;
    --st-tier-platinum: #8e44ad;
    --st-tier-platinum-bg-start: #f6edfb;
    --st-tier-platinum-bg-end: #e2c6f2;
    --st-tier-ruby: #e74c3c;
    --st-tier-ruby-dark: #c0392b;
    --st-tier-ruby-bg-start: #fdecea;
    --st-tier-ruby-bg-end: #f7c3bc;
    --st-tier-silver-icon: #4a5968;
    --st-highlight-warm-start: #fff4e0;
    --st-highlight-warm-end: #ffe2bd;
    --st-highlight-green-start: #e7f7ea;
    --st-highlight-green-end: #c6e8ce;
    --st-featured-bg-end: #fff3e0;
    --st-set-border-muted: #cbd5e1;
    --st-avatar-blue: #4a90e2;
    --st-avatar-blue-light: #7fb3ff;
    --st-avatar-blue-pale: #c0d0e0;
    --st-avatar-bg: #5a5a5a;
    --st-info-bg: #d1ecf1;
    --st-info-border: #bee5eb;
    --st-info-text: #0c5460;
    --st-warning-bg: #fff3cd;
    --st-warning-border: #ffeeba;
    --st-warning-text: #856404;
    --st-coin-bg-start: #fff4d1;
    --st-coin-bg-end: #ffe18c;
    --st-coin-bg: #fff3cd;
    --st-coin-text: #856404;
    --st-gold-bg: #d1ecf1;
    --st-gold-text: #0c5460;
    --st-danger: #dc3545;
    --st-danger-dark: #721c24;
    --st-danger-bg: #f8d7da;
    --st-danger-border: #f5c6cb;
    --st-danger-text: #721c24;
    --st-success: #28a745;
    --st-success-dark: #155724;
    --st-success-bg: #d4edda;
    --st-success-border: #c3e6cb;
    --st-success-text: #155724;
    --st-radius-sm: 8px;
    --st-radius-md: 12px;
    --st-radius-lg: 14px;
    --st-shadow-card: 0 1px 0 rgba(0, 0, 0, 0.06);
    --st-shadow-raised: 0 4px 0 rgba(28, 63, 57, 0.24), 0 10px 24px rgba(0, 0, 0, 0.18);
    --st-font-xs: 10px;
    --st-font-sm: 11px;
    --st-font-md: 12px;
    --st-font-base: 13px;
    --st-font-input: 14px;
    --st-font-lg: 18px;
    --st-font-xl: 22px;
    --st-font-hero: 28px;
    --st-font-icon-lg: 32px;
    --st-font-icon-xl: 44px;
    --st-font-price-lg: 30px;
    --st-font-price-xl: 36px;
}

.st-toast-region {
    position: fixed;
    right: 14px;
    top: 14px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(360px, calc(100vw - 28px));
    pointer-events: none;
}

.st-toast {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 12px 12px 14px;
    border: 2px solid var(--st-primary);
    border-radius: var(--st-radius-lg);
    background: var(--st-cream-softest);
    box-shadow: var(--st-shadow-raised);
    color: var(--st-primary-dark);
    text-align: left;
    pointer-events: auto;
    animation: st-toast-enter 160ms ease-out;
}

.st-toast.is-leaving {
    animation: st-toast-leave 180ms ease-in forwards;
}

.st-toast--success {
    border-color: var(--st-success);
    background: var(--st-success-bg);
}

.st-toast--info {
    border-color: var(--st-primary);
    background: var(--st-info-bg);
}

.st-toast--warning {
    border-color: var(--st-gold);
    background: var(--st-warning-bg);
}

.st-toast--error {
    border-color: var(--st-danger);
    background: var(--st-danger-bg);
}

.st-toast__body {
    flex: 1;
    min-width: 0;
    line-height: 1.35;
}

.st-toast__title,
.st-toast__message {
    display: block;
}

.st-toast__title {
    margin-bottom: 2px;
    font-size: var(--st-font-base);
}

.st-toast__message {
    font-size: var(--st-font-md);
}

.st-toast__close {
    width: 28px;
    height: 28px;
    margin: -4px -4px 0 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    background: rgba(28, 63, 57, 0.12);
    color: var(--st-primary-dark);
    font-size: var(--st-font-xl);
    line-height: 1;
}

.st-toast__close:hover,
.st-toast__close:active {
    background: rgba(28, 63, 57, 0.2);
    box-shadow: none;
    transform: none;
}

@keyframes st-toast-enter {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes st-toast-leave {
    to { opacity: 0; transform: translateY(-8px); }
}

@media (max-width: 520px) {
    .st-toast-region {
        right: 10px;
        top: 10px;
        width: calc(100vw - 20px);
    }

    .st-toast {
        padding: 11px 10px 11px 12px;
    }
}

.st-page-title {
    margin: 0 0 12px;
    text-align: center;
    color: var(--st-primary-dark);
    font-weight: 900;
}

.st-section-title,
.st-section-title h4 {
    font-size: var(--st-font-md);
    margin: 0;
}

.st-center {
    text-align: center;
}

.st-stack {
    display: grid;
    gap: 12px;
}

.st-stack--lg {
    gap: 20px;
}

.st-card {
    background: var(--st-panel);
    border: 2px solid var(--st-border);
    border-radius: var(--st-radius-md);
    padding: 12px;
}

.st-card--hero {
    max-width: 760px;
    margin: 24px auto;
    padding: 24px;
}

.st-card--info {
    background: var(--st-info-bg);
    border-color: var(--st-info-border);
    color: var(--st-info-text);
}

.st-card--warning {
    background: var(--st-warning-bg);
    border-color: var(--st-warning-border);
    color: var(--st-warning-text);
}

.st-card--success {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.st-muted {
    color: var(--st-muted);
}

.st-note {
    color: var(--st-muted);
    font-size: var(--st-font-md);
    line-height: 1.45;
}

.st-official-domain {
    margin: 10px 0;
    padding: 9px 10px;
    border: 2px solid var(--st-warning-border);
    border-radius: var(--st-radius-sm);
    background: var(--st-warning-bg);
    color: var(--st-warning-text);
    font-size: var(--st-font-md);
    line-height: 1.4;
    text-align: left;
}

.st-official-domain strong,
.st-official-domain span {
    display: block;
}

.st-official-domain strong {
    margin-bottom: 2px;
}

.st-icon-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--st-soft-blue);
    border: 2px solid var(--st-info-border);
    color: var(--st-blue-text);
    font-size: var(--st-font-hero);
}

.st-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--st-soft-blue);
    border: 1px solid var(--st-info-border);
    color: var(--st-blue-text);
    font-size: var(--st-font-md);
    font-weight: 800;
    line-height: 1.2;
}

.st-chip--coin {
    background: var(--st-coin-bg);
    border-color: var(--st-warning-border);
    color: var(--st-coin-text);
}

.st-chip--gold {
    background: var(--st-gold-bg);
    border-color: var(--st-info-border);
    color: var(--st-gold-text);
}

.st-chip--success {
    background: var(--st-success-bg);
    border-color: var(--st-success-border);
    color: var(--st-success-text);
}

.st-chip--warning {
    background: var(--st-warning-bg);
    border-color: var(--st-warning-border);
    color: var(--st-warning-text);
}

.st-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 16px;
    margin: 0;
    border-radius: 10px;
    border: 2px solid var(--st-green-dark);
    background: var(--st-green);
    color: var(--st-text-inverse);
    font-family: inherit;
    font-weight: 900;
    font-size: var(--st-font-base);
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 3px 0 var(--st-green-shadow);
    cursor: pointer;
}

.st-btn:hover {
    background: var(--st-green-dark);
    color: var(--st-text-inverse);
    text-decoration: none;
}

.st-btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 var(--st-green-shadow);
}

.st-btn:disabled,
.st-btn.is-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    filter: grayscale(0.15);
}

.st-btn--primary {
    background: var(--st-primary);
    border-color: var(--st-primary-dark);
    box-shadow: 0 3px 0 var(--st-primary-dark);
}

.st-btn--primary:hover {
    background: var(--st-primary-dark);
}

.st-btn--primary:active {
    box-shadow: 0 1px 0 var(--st-primary-dark);
}

.st-btn--danger {
    background: var(--st-danger);
    border-color: var(--st-danger-dark);
    box-shadow: 0 3px 0 var(--st-danger-dark);
}

.st-btn--danger:hover {
    background: var(--st-danger-dark);
}

.st-btn--danger:active {
    box-shadow: 0 1px 0 var(--st-danger-dark);
}

.st-btn--ghost {
    background: var(--st-white);
    border-color: var(--st-primary);
    color: var(--st-primary-dark);
    box-shadow: none;
}

.st-btn--ghost:hover {
    background: var(--st-soft-blue);
    color: var(--st-primary-dark);
}

.st-btn--ghost:active {
    box-shadow: none;
}

.st-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    margin: 0;
    border-radius: 10px;
    border: 2px solid var(--st-primary-dark);
    background: var(--st-white);
    color: var(--st-primary-dark);
    box-shadow: none;
    cursor: pointer;
}

.st-icon-btn--success {
    background: var(--st-success);
    border-color: var(--st-success-dark);
    color: var(--st-text-inverse);
}

.st-icon-btn--danger {
    background: var(--st-danger);
    border-color: var(--st-danger-dark);
    color: var(--st-text-inverse);
}

.st-form {
    display: grid;
    gap: 14px;
    max-width: 600px;
    margin: 0 auto;
    padding: 16px 0;
}

.st-form__field {
    display: grid;
    gap: 6px;
    text-align: left;
}

.st-form__label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--st-text);
    font-weight: 900;
    font-size: var(--st-font-base);
}

.st-form__required {
    color: var(--st-danger);
}

.st-form__hint {
    color: var(--st-muted);
    font-size: var(--st-font-md);
    line-height: 1.45;
}

.st-form input:not([type]),
.st-form input[type="text"],
.st-form input[type="email"],
.st-form input[type="password"],
.st-form textarea,
.st-form select {
    box-sizing: border-box;
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid var(--st-border-muted);
    border-radius: 8px;
    background: var(--st-white);
    font-family: inherit;
    font-size: var(--st-font-input);
    text-indent: 0;
}

.st-form textarea {
    resize: vertical;
}

.st-form input:not([type]):focus,
.st-form input[type="text"]:focus,
.st-form input[type="email"]:focus,
.st-form input[type="password"]:focus,
.st-form textarea:focus,
.st-form select:focus {
    border-color: var(--st-primary);
    box-shadow: 0 0 0 3px rgba(0, 115, 107, 0.16);
}

.st-form__checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--st-text);
    font-size: var(--st-font-base);
    font-weight: 800;
    line-height: 1.2;
}

.st-form__checkbox input[type="checkbox"] {
    appearance: none;
    box-sizing: border-box;
    display: inline-grid;
    place-content: center;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    border: 2px solid var(--st-text-quiet);
    border-radius: 5px;
    background: var(--st-white);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.st-form__checkbox input[type="checkbox"]::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 3px;
    background: var(--st-primary);
    transform: scale(0);
    transition: transform 100ms ease-out;
}

.st-form__checkbox input[type="checkbox"]:checked {
    border-color: var(--st-primary-dark);
    background: var(--st-cream-bg);
}

.st-form__checkbox input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.st-form__checkbox input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(0, 115, 107, 0.28);
    outline-offset: 2px;
}

.st-list {
    display: grid;
    gap: 10px;
}

.st-list-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.st-list-row__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--st-primary-dark);
    color: var(--st-text-inverse);
    font-weight: 900;
    flex-shrink: 0;
}

.st-list-row__title {
    display: block;
    color: var(--st-primary-dark);
    font-weight: 900;
    margin-bottom: 3px;
}

.st-list-row__desc {
    display: block;
    color: var(--st-muted);
    font-size: var(--st-font-base);
    line-height: 1.4;
}

.st-logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    border: 2px solid var(--st-border);
    background: var(--st-white);
    flex-shrink: 0;
    overflow: hidden;
}

.st-logo-box img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
}

.st-hidden {
    display: none !important;
}

.st-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    background: rgba(0, 0, 0, 0.68);
    z-index: 1000;
    overflow-y: auto;
}

.st-modal.is-open {
    display: flex;
}

.st-modal__box {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
    padding: 18px;
    border-radius: 14px;
    border: 2px solid var(--st-brown);
    background: var(--st-white);
    text-align: center;
}

.st-modal__title {
    margin: 0 36px 14px 0;
    color: var(--st-primary-dark);
    font-size: var(--st-font-lg);
    line-height: 1.25;
}

.st-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    border: 1px solid var(--st-border);
    background: var(--st-surface-alt);
    color: var(--st-muted);
    box-shadow: none;
    font-size: var(--st-font-xl);
    line-height: 1;
}

.st-detail-list {
    display: grid;
    gap: 8px;
    margin: 10px 0;
    text-align: left;
}

.st-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--st-border);
}

.st-detail-row--stack {
    display: grid;
    justify-content: stretch;
}

.st-detail-label {
    color: var(--st-muted);
    font-size: var(--st-font-md);
    font-weight: 700;
}

.st-detail-value {
    color: var(--st-primary-dark);
    font-size: var(--st-font-input);
    font-weight: 900;
    overflow-wrap: anywhere;
}

.st-detail-value--coin {
    color: var(--st-coin-text);
}

.st-detail-value--gold {
    color: var(--st-gold-text);
}

.st-section-spacer {
    margin-top: 18px;
}

.st-inline-link {
    color: var(--st-primary);
    font-weight: 900;
    text-decoration: underline;
}

.st-text-link {
    color: var(--st-primary-dark);
}

.auth-page__form {
    padding-left: 16px;
    padding-right: 16px;
    text-align: center;
}

.auth-page__links {
    margin: 0;
    color: var(--st-text);
    font-size: var(--st-font-base);
    text-align: center;
}

.auth-page__links a {
    color: var(--st-primary);
    font-weight: 900;
}

.auth-page__note {
    font-size: var(--st-font-sm);
}

.profile-page__summary {
    display: grid;
    gap: 18px;
    align-items: start;
    margin-top: 12px;
}

.profile-page__avatar {
    margin: 0;
}

.profile-page__facts {
    display: grid;
    gap: 10px;
    margin: 0;
}

.profile-page__facts div {
    display: grid;
    gap: 3px;
    padding: 8px 0;
    border-bottom: 1px solid var(--st-border);
}

.profile-page__facts dt {
    color: var(--st-muted);
    font-size: var(--st-font-md);
    font-weight: 800;
}

.profile-page__facts dd {
    margin: 0;
    color: var(--st-text-strong);
    font-weight: 900;
    overflow-wrap: anywhere;
}

.profile-page__email-badge {
    margin-left: 6px;
}

.profile-page__email-actions {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--st-primary);
}

.profile-page__actions {
    justify-content: flex-start;
}

.profile-page__actions form {
    margin: 0;
}

.profile-page__email-form {
    margin-top: 14px;
    background: var(--st-surface-muted);
}

.profile-page__email-form[hidden] {
    display: none;
}

@media (min-width: 600px) {
    .profile-page__summary {
        grid-template-columns: auto 1fr;
        gap: 28px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .st-card--hero {
        margin: 16px auto;
        padding: 16px;
    }
}

.video-fit {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    border-radius: 8px;
}

/* ========================================
   Avatar Frame Component - Classic Game Style
   ======================================== */

/* Avatar container */
.avatar-container {
    text-align: center;
    margin: 20px 0;
}

/* Avatar frame wrapper */
.avatar-frame {
    display: inline-block;
    position: relative;
    padding: 8px;
    background: radial-gradient(circle at center, rgba(74, 144, 226, 0.1), transparent);
    filter: drop-shadow(0 0 15px rgba(74, 144, 226, 0.4));
}

/* Avatar image styling */
.avatar-frame img {
    display: block;
    width: 120px;
    height: 120px;
    border: 3px solid transparent;
    border-image: linear-gradient(135deg, var(--st-avatar-blue), var(--st-avatar-blue-light), var(--st-avatar-blue-pale)) 1;
    background: var(--st-avatar-bg);
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 20px rgba(74, 144, 226, 0.2), 0 0 20px rgba(74, 144, 226, 0.3);
    animation: legendaryPulse 3s ease-in-out infinite;
}

.avatar-frame:hover img {
    filter: brightness(1.1);
    box-shadow: inset 0 0 30px rgba(74, 144, 226, 0.3), 0 0 30px rgba(74, 144, 226, 0.5);
}

/* Corner decorations - legendary style */
.avatar-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid var(--st-avatar-blue-light);
    z-index: 2;
}

.avatar-corner-tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.avatar-corner-tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.avatar-corner-bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.avatar-corner-br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* Avatar username */
.avatar-username {
    margin-top: 12px;
    font-size: var(--st-font-input);
    color: var(--st-avatar-blue);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
    letter-spacing: 0.5px;
}

/* Pulse glow animation */
@keyframes legendaryPulse {
    0%, 100% {
        box-shadow: inset 0 0 15px rgba(74, 144, 226, 0.15), 0 0 15px rgba(74, 144, 226, 0.25);
    }
    50% {
        box-shadow: inset 0 0 20px rgba(74, 144, 226, 0.2), 0 0 20px rgba(74, 144, 226, 0.35);
    }
}

/* Responsive styles */
@media (max-width: 1024px) {
    .menu2 .stown-nav__link {
        font-size: var(--st-font-base);
        padding: 4px 2px;
    }
}

@media (max-width: 768px) {
    .menu2 .stown-nav__link {
        font-size: var(--st-font-md);
        padding: 3px 2px;
    }

    .avatar-frame {
        padding: 6px;
    }

    .avatar-frame img {
        width: 100px;
        height: 100px;
    }

    .avatar-corner {
        width: 15px;
        height: 15px;
        border-width: 2px;
    }

    .avatar-username {
        font-size: var(--st-font-base);
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .menu2 .stown-nav__link {
        font-size: var(--st-font-md);
        padding: 3px 2px;
        white-space: normal;
    }

    /* Keep header compact on small phones */
    .a {
        height: 96px;
        padding: 6px 0 4px;
    }

    .stown-header__logo-img {
        width: clamp(150px, 52vw, 220px);
    }
}

/* ========================================
   Shared: game-item reward display
   Used by topup sets and topup history.
   ======================================== */
.game-item {
    position: relative;
    display: inline-block;
}
.game-item__img {
    object-fit: contain;
    border-radius: 6px;
    background: white;
    border: 2px solid #e5e7eb;
    padding: 2px;
    display: block;
}
.game-item__qty {
    position: absolute;
    bottom: -2px;
    right: -4px;
    background: rgba(0,0,0,0.85);
    color: #ffd260;
    font-weight: 900;
    padding: 1px 5px;
    border-radius: 6px;
    line-height: 1.2;
}
.game-item__tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.9);
    color: #fff;
    font-size: var(--st-font-sm);
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    z-index: 10;
    pointer-events: none;
    flex-direction: column;
    gap: 2px;
    line-height: 1.4;
}
.game-item__tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0,0,0,0.9);
}
.game-item:hover .game-item__tooltip,
.game-item__tooltip.topup-tooltip--visible {
    display: flex;
}
