:root {
    --gb-page-bg: var(--ep-color-a, #0c111c);
    --gb-surface: var(--ep-color-b, #1f2937);
    --gb-surface-muted: var(--ep-color-h, #141b27);
    --gb-border: var(--ep-color-i, #313a47);
    --gb-text: var(--ep-color-d, #fff);
    --gb-text-muted: var(--ep-color-g, #94a7c6);
    --gb-text-subtle: var(--ep-color-e, #77859a);
    --gb-brand: var(--ep-color-c, #006ef5);
    --gb-accent: #ff6d23;
    --gb-star: #1fc66b;
    --gb-star-inactive: #3c536d;
    --gb-verified-bg: rgba(31, 198, 107, 0.15);
    --gb-reply-bg: rgba(0, 110, 245, 0.08);
    --gb-avatar-bg: rgba(255, 109, 35, 0.45);
    --gb-input-bg: var(--ep-color-h, #141b27);
    --gb-hero-overlay: linear-gradient(90deg, rgba(12, 17, 28, 0.85) 0%, rgba(12, 17, 28, 0.4) 55%, rgba(12, 17, 28, 0.2) 100%);
    --gb-trust-card-bg: linear-gradient(160deg, #1a2744 0%, #0f1929 100%);
    --gb-shadow: 0 4px 24px rgba(0, 0, 0, 0.32);
    --gb-radius-sm: 6px;
    --gb-radius-md: 10px;
    --gb-radius-lg: 16px;
    --gb-radius-xl: 20px;
    --gb-container: 1400px;
    --gb-transition: 0.25s ease;
}

html.dark {
    --gb-page-bg: #f6f6f6;
    --gb-surface: #fff;
    --gb-surface-muted: #f6f6f6;
    --gb-border: #e8e8e8;
    --gb-text: #0c111c;
    --gb-text-muted: #71717a;
    --gb-text-subtle: #77859a;
    --gb-star-inactive: #e8e8e8;
    --gb-verified-bg: rgba(31, 198, 107, 0.12);
    --gb-reply-bg: rgba(0, 110, 245, 0.06);
    --gb-avatar-bg: rgba(255, 109, 35, 0.35);
    --gb-input-bg: #f2f2f7;
    --gb-hero-overlay: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.55) 55%, rgba(255, 255, 255, 0.2) 100%);
    --gb-trust-card-bg: linear-gradient(160deg, #006ef5 0%, #004bb5 100%);
    --gb-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.guestbook-page {
    --gb-totop-right: 60px;
    --gb-totop-bottom: 180px;
    --gb-totop-size: 80px;
    --gb-fab-size: 56px;
    --gb-fab-gap: 16px;
    --gb-fab-base-bottom: var(--gb-totop-bottom);
    --gb-fab-base-size: var(--gb-totop-size);
    --gb-fab-align-right: var(--gb-totop-right);
    background: var(--gb-page-bg);
    color: var(--gb-text);
    font-family: Inter, Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    max-width: 100%;
}

.guestbook-page--mobile {
    --gb-totop-right: 10px;
    --gb-totop-bottom: 125px;
    --gb-totop-size: 70px;
    /* .tlivechat / #YSF-BTN-HOLDER sit above #toTop on mobile */
    --gb-fab-base-bottom: 195px;
    --gb-fab-base-size: 70px;
    --gb-fab-align-right: 10px;
}

.guestbook-page .container {
    width: min(var(--gb-container), calc(100% - 64px));
    margin: 0 auto;
}

.guestbook-page img {
    display: block;
    height: 100%;
}

.guestbook-page a {
    text-decoration: none;
}

 button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.footer {
    margin-top: 0;
}

/* Crumbs (mobile) */
.gb-crumbs {
    padding: 0 10px;
    background: #1F2937;
}


.gb-crumbs__list {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow: hidden;
    height: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gb-crumbs__list li {
    display: flex;
    align-items: center;
    color: #77859A;
    font-family: Poppins, Inter, sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 30px;
    white-space: nowrap;
}

.gb-crumbs__list li::before {
    vertical-align: sub;
    margin: 0 4px;
    min-width: 12px;
    color: #77859A;
}

.gb-crumbs__list li:first-child::before {
    display: none;
}

.gb-crumbs__list li:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    color: #77859A;
    flex-shrink: 1;
    min-width: 0;
}

.gb-crumbs__list li a,
.gb-crumbs__list li a span {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    white-space: nowrap;
}

/* Hero */
.gb-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
}

.gb-hero__media {
    position: absolute;
    inset: 0;
}

.gb-hero__media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.gb-hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.gb-hero__container {
    position: relative;
    z-index: 1;
    padding: 75px 0;
    min-height: 482px;
}

.gb-hero__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
}

.gb-hero__content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.gb-hero__title {
    margin: 0;
    font-size: clamp(32px, 4.2vw, 48px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.5px;
    color: #fff;
    margin-bottom: 8px;
}

.gb-hero__title-accent {
    color: #00FBF9;
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1;
    font-weight: 800;
}

.gb-hero__desc {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.80);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    margin-bottom: 32px;
}

.gb-hero__trust {
    flex-shrink: 0;
    width: 280px;
}

.gb-hero__trust-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 24px 40px;
    text-align: center;
    background: url(/themes/mmoexp-v250528/views/guestbook/images/gb-hero__trust-bg2.png) no-repeat;
    background-size: 100% 100%;
}

.gb-hero__trust-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.gb-hero__trust-brand {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}
.gb-hero__trust-brand .icon{
    color: #04DA8D;
    font-size: 38px;
    line-height: 1;
}

.gb-hero__trustpilot-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 3px;
    background: var(--gb-star);
    color: #fff;
    font-size: 14px;
    line-height: 1;
}

.gb-hero__trustpilot-name {
    font-size: 25px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}

.gb-hero__trust-score-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
}

.gb-hero__trust-num {
    font-size: 64px;
    font-weight: 700;
    line-height: 54px;
    color: #fff;
    margin-bottom: 16px;
}

.gb-hero__trust-stars {
    display: flex;
    gap: 4px;
}

.gb-hero__trust-meta {
    margin: 0;
    font-size: 14px;
    color: #fff;
    margin-bottom: 31px;
}

.gb-hero__trust-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding: 12px 20px;
    border-radius: 999px;
    /* 无 backdrop-filter 时的兜底半透明底 */
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: background var(--gb-transition), border-color var(--gb-transition), transform var(--gb-transition);
}

@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
    .gb-hero__trust-link {
        background: rgba(255, 255, 255, 0.12);
    }
}

.gb-hero__trust-link:hover {
    background: rgba(255, 255, 255, 0.28);
}

.gb-hero__notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 17px 20px 14px;
    margin-bottom: 24px;
    background: url(/themes/mmoexp-v250528/views/guestbook/images/gb-hero__trust-bg3.png) no-repeat;
    background-size: 100% 100%;
}

.gb-hero__notice-icon {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.85;
}

.gb-hero__notice-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}

.gb-hero__notice-text strong {
    color: #fff;
    font-weight: 700;
}

.gb-hero__notice-text a {
    color: #00d4e8;
    font-weight: 500;
    text-decoration: none;
}

.gb-hero__notice-text a:hover {
    text-decoration: underline;
}

.gb-hero__trust-stars span,
.gb-trust-summary__stars span,
.gb-review-card__stars span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: var(--gb-star);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center;
}

.gb-hero__trust-label {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

/* Hero — mobile layout (design: title + inline Trustpilot + CTA) */
.guestbook-page--mobile .gb-hero {
    height: 165px;
    margin-bottom: 0;
}

.guestbook-page--mobile .gb-hero__bg {
    object-fit: cover;
    object-position: center;
    height: 100%;
}

.guestbook-page--mobile .gb-hero__container {
    padding: 12px 0;
    min-height: 0;
    height: 100%;
    box-sizing: border-box;
}

.guestbook-page--mobile .gb-hero__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.guestbook-page--mobile .gb-hero__content {
    max-width: 62%;
}

.guestbook-page--mobile .gb-hero__title {
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.3px;
    margin-bottom: 0;
}

.guestbook-page--mobile .gb-hero__title-accent {
    font-size: 28px;
    line-height: 1.1;
}

.guestbook-page--mobile .gb-hero__desc,
.guestbook-page--mobile .gb-hero__notice,
.guestbook-page--mobile .gb-stats--hero {
    display: none;
}

.guestbook-page--mobile .gb-hero__trust {
    width: auto;
    max-width: none;
}

.guestbook-page--mobile .gb-hero__trust-inner {
    align-items: flex-start;
    padding: 0;
    text-align: left;
    background: none;
    gap: 8px;
}

.guestbook-page--mobile .gb-hero__trust-row {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    width: auto;
}

.guestbook-page--mobile .gb-hero__trust-brand {
    margin-bottom: 0;
    gap: 4px;
}

.guestbook-page--mobile .gb-hero__trust-brand .icon {
    font-size: 16px;
}

.guestbook-page--mobile .gb-hero__trustpilot-name {
    font-size: 13px;
    font-weight: 500;
}

.guestbook-page--mobile .gb-hero__trustpilot-name::after {
    content: "|";
    display: inline-block;
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    font-weight: 300;
    line-height: 1;
}

.guestbook-page--mobile .gb-hero__trust-score-wrap {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
}

.guestbook-page--mobile .gb-hero__trust-num {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 0;
}

.guestbook-page--mobile .gb-hero__trust-stars {
    gap: 2px;
}

.guestbook-page--mobile .gb-hero__trust-stars span {
    width: 14px;
    height: 14px;
    border-radius: 2px;
    background-size: 9px;
}

.guestbook-page--mobile .gb-hero__trust-meta {
    display: none;
}

.guestbook-page--mobile .gb-hero__trust-link {
    width: auto;
    min-width: 0;
    padding: 9px 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: url(/themes/mmoexp-v250528/views/guestbook/images/gb-hero_trust-bg3-m.png) no-repeat center / 100% 100%;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    box-shadow: none;
}

.guestbook-page--mobile .gb-reply-notice-wrap.is-expanded {
    margin: 12px 0 0;
}

.guestbook-page--mobile .gb-reply-notice {
    padding: 10px 36px 10px 12px;
}

.guestbook-page--mobile .gb-reply-notice__text {
    font-size: 12px;
}

.guestbook-page--mobile .gb-filters {
    display: none;
}

.guestbook-page--mobile .gb-mobile-filter {
    display: block;
    margin: 11px 0 7px;
}

.guestbook-page--mobile .gb-pagination {
    gap: 4px;
    margin-top: 20px;
}

.guestbook-page--mobile .gb-pagination > ul,
.guestbook-page--mobile .gb-pagination ul.pagination {
    gap: 4px;
}

.guestbook-page--mobile .gb-pagination li a,
.guestbook-page--mobile .gb-pagination li span,
.guestbook-page--mobile .gb-pagination__btn {
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    font-size: 12px;
    border-radius: 6px;
}

.guestbook-page--mobile .gb-pagination__dots {
    height: 32px;
    padding: 0 2px;
    font-size: 12px;
}

.guestbook-page--mobile .gb-pagination__btn img {
    width: 6px;
    height: 8px;
}

/* Stats */
.gb-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
}

/* Stats strip (mobile only, below hero) */
.gb-stats-strip {
    display: none;
    background: #0c111c;
    padding: 14px 0;
}

.gb-stats-strip__inner {
    width: min(var(--gb-container), calc(100% - 64px));
    margin: 0 auto;
}

.gb-stats--hero .gb-stats__item,
.gb-stats--strip .gb-stats__item {
    color: #fff;
}

.gb-stats--hero .gb-stats__item span,
.gb-stats--strip .gb-stats__item span {
    color: #fff;
}

/* Reply notice strip */
html.gb-reply-notice-dismissed .gb-reply-notice-wrap {
    display: none !important;
}

.gb-reply-notice-wrap {
    display: grid;
    grid-template-rows: 0fr;
    margin: 0;
    transition: grid-template-rows 0.26s ease, margin 0.26s ease;
}

.gb-reply-notice-wrap.is-expanded {
    grid-template-rows: 1fr;
    margin: 16px 0 20px;
}

.gb-reply-notice-wrap__clip {
    overflow: hidden;
    min-height: 0;
}

.gb-reply-notice {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 40px 12px 16px;
    border-radius: var(--gb-radius-md);
    background: rgba(0, 110, 245, 0.16);
    border: 1px solid rgba(0, 110, 245, 0.22);
}

.gb-reply-notice-wrap.is-collapsing {
    pointer-events: none;
}

.gb-reply-notice__close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity var(--gb-transition);
}

.gb-reply-notice__close:hover {
    opacity: 1;
}

.gb-reply-notice__close img {
    display: block;
    width: 16px;
    height: 16px;
}

.gb-reply-notice__icon {
    flex-shrink: 0;
    background: #006EF5;
    color: #0B203E;
    line-height: 1;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 2px;
    padding-left: 1px;
}

.gb-reply-notice__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(0, 110, 245, 0.90);
}

.gb-reply-notice__text strong {
    font-weight: 600;
    color: inherit;
}

html.dark .gb-reply-notice {
    background: #e8f4ff;
    border-color: rgba(0, 110, 245, 0.08);
}

html.dark .gb-reply-notice__icon {
    color: #fff;
    background: #006EF5;
}

html.dark .gb-reply-notice__text {
    color: rgba(0, 110, 245, 0.90);
}

.gb-stats--hero {
    padding-top: 8px;
}

.gb-stats__item {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 0 24px;
    font-size: clamp(12px, 1vw, 24px);
    font-weight: 400;
    color: var(--gb-text-subtle);
}

.gb-stats__item:first-child {
    padding-left: 0;
}

.gb-stats__item:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 2px;
    height: 16px;
    background: #676B96;
    transform: translateY(-50%);
}

.gb-stats__item strong {
    font-size: 24px;
    font-weight: 700;
    color: var(--gb-text);
}

.gb-stats__item--reviews strong {
    color: #FF6D23;
}

.gb-stats__item--score strong {
    color: #1FC66B;
}

.gb-stats__item--star strong {
    color: #FF6D23;
}

.gb-stats__item--players strong {
    color: #1FC66B;
}

html.dark .gb-stats__item--reviews strong {
    color: #FF6D23;
}

html.dark .gb-stats__item--players strong {
    color: #1FC66B;
}

/* Ticker */
.gb-ticker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding: 16px 24px;
    border-radius: var(--gb-radius-md);
    background: var(--gb-surface);
    border: 1px solid var(--gb-border);
    overflow: hidden;
}

.gb-ticker__icon {
    flex-shrink: 0;
    opacity: 0.7;
}

.gb-ticker__track {
    overflow: hidden;
}

.gb-ticker__text {
    margin: 0;
    font-size: 14px;
    color: var(--gb-text-muted);
    white-space: nowrap;
    animation: gb-ticker-scroll 20s linear infinite;
}

@keyframes gb-ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Layout */
.gb-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 410px;
    gap: 32px;
    align-items: start;
    margin-top: 24px;
    padding-bottom: 64px;
    min-width: 0;
    max-width: 100%;
}

.gb-layout__main {
    min-width: 0;
    max-width: 100%;
}

.gb-layout__sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-end;
}

.gb-write-review-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content;
    height: 48px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: var(--gb-brand);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--gb-transition), box-shadow var(--gb-transition);
}

.gb-write-review-btn:hover {
    background: #308DFF;
}

.gb-write-review-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 110, 245, 0.35);
}

.gb-write-review-btn img {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* Filters */
.gb-filters {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    align-items: center;
}

.gb-filters__field {
    position: relative;
    display: flex;
    align-items: center;
}

.gb-filters__field--search,
.gb-filters__field--rating {
    gap: 10px;
}

.gb-filters__field--search {
    flex: 1;
    max-width: 360px;
}

.gb-filters__field--rating {
    flex: 0 0 auto;
}

.gb-star-select .gb-game-select__control {
    width: 200px;
    min-width: 200px;
}

.gb-star-select .gb-game-select__dropdown {
    min-width: 0;
    padding: 8px;
}

.gb-star-select .gb-game-select__list {
    max-height: 240px;
}

.gb-form-game-select {
    width: 100%;
}

.gb-form-game-select .gb-game-select__control {
    width: 100%;
}

.gb-form-game-select .gb-game-select__dropdown {
    min-width: 0;
    padding: 8px;
}

.gb-form-game-select .gb-game-select__list {
    max-height: 240px;
}

.gb-form-game-select .gb-game-select__trigger {
    background: transparent;
}

.gb-filters__input,
.gb-filters__select,
.gb-form__select {
    width: 100%;
    height: 48px;
    padding: 0 44px 0 16px;
    border: 1px solid var(--gb-border);
    border-radius: var(--gb-radius-md);
    background: var(--gb-input-bg);
    color: var(--gb-text);
    font-size: 14px;
    outline: none;
    transition: border-color var(--gb-transition);
}

.gb-filters__input:focus,
.gb-filters__select:focus,
.gb-form__select:focus {
    border-color: var(--gb-brand);
}

.gb-filters__icon {
    position: absolute;
    right: 14px;
    pointer-events: none;
    opacity: 0.6;
}

.gb-filters__select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2377859a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* Mobile filter bar + bottom sheet */
.gb-mobile-filter {
    display: none;
}

.gb-mobile-filter__bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 0;
    min-height: 32px;
}

.gb-mobile-filter__bar.has-chips {
    justify-content: space-between;
}

.gb-mobile-filter__chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.gb-mobile-filter__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 6px 12px;
    border: 1px solid var(--gb-border);
    border-radius: 999px;
    background: var(--gb-surface);
    font-size: 13px;
    line-height: 1.2;
    color: var(--gb-text);
}

.gb-mobile-filter__chip-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gb-mobile-filter__chip-remove {
    flex-shrink: 0;
    position: relative;
    width: 14px;
    height: 14px;
    padding: 0;
    border: none;
    background: none;
    color: #8d94a6;
    cursor: pointer;
}

.gb-mobile-filter__chip-remove::before,
.gb-mobile-filter__chip-remove::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.5px;
    height: 10px;
    margin-top: -5px;
    margin-left: -0.75px;
    background: currentColor;
    border-radius: 1px;
}

.gb-mobile-filter__chip-remove::before {
    transform: rotate(45deg);
}

.gb-mobile-filter__chip-remove::after {
    transform: rotate(-45deg);
}

.gb-mobile-filter__chip-remove:hover {
    color: #5c6678;
}

.gb-mobile-filter__trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    padding: 0;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 500;
    color: #94A7C6;
    cursor: pointer;
}

.gb-mobile-filter__trigger:hover {
    color: var(--gb-text-muted);
}

.gb-mobile-filter__trigger-icon {
    display: block;
    opacity: 0.85;
}

.gb-filter-sheet {
    position: fixed;
    inset: 0;
    z-index: 5000001;
    visibility: hidden;
    pointer-events: none;
}

.gb-filter-sheet.is-open {
    visibility: visible;
    pointer-events: auto;
}

body.gb-filter-sheet-open {
    overflow: hidden;
}

.gb-filter-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 17, 28, 0.55);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gb-filter-sheet.is-open .gb-filter-sheet__backdrop {
    opacity: 1;
}

.gb-filter-sheet__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    max-height: 78vh;
    padding: 0;
    border-radius: 16px 16px 0 0;
    background: var(--gb-surface);
    color: var(--gb-text);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.24);
}

.gb-filter-sheet.is-open .gb-filter-sheet__panel {
    transform: translateY(0);
}

.gb-filter-sheet__head {
    flex-shrink: 0;
    padding: 20px 16px 0;
    background: var(--gb-surface);
    border-radius: 16px 16px 0 0;
}

.gb-filter-sheet__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0 16px 8px;
    -webkit-overflow-scrolling: touch;
}

.gb-filter-sheet__title {
    margin: 0 0 16px;
    padding: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: var(--gb-text);
}

.gb-filter-sheet__search {
    position: relative;
    display: block;
    margin-bottom: 16px;
}

.gb-filter-sheet__search-input {
    width: 100%;
    height: 44px;
    padding: 0 40px 0 14px;
    border: 1px solid var(--gb-border);
    border-radius: var(--gb-radius-md);
    background: var(--gb-input-bg);
    font-size: 14px;
    color: var(--gb-text);
    outline: none;
}

.gb-filter-sheet__search-input::placeholder {
    color: var(--gb-text-subtle);
}

.gb-filter-sheet__search-input:focus {
    border-color: var(--gb-brand);
}

.gb-filter-sheet__search-icon {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.7;
}

.gb-filter-sheet__search-clear.gb-game-select__clear {
    position: absolute;
    top: 50%;
    right: 12px;
    z-index: 1;
    display: none;
    transform: translateY(-50%);
}

.gb-filter-sheet__search.is-filled .gb-filter-sheet__search-clear.gb-game-select__clear {
    display: flex;
}

.gb-filter-sheet__search.is-filled .gb-filter-sheet__search-icon {
    display: none;
}

.gb-filter-sheet__section + .gb-filter-sheet__section {
    margin-top: 20px;
}

.gb-filter-sheet__section-title {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--gb-text);
}

.gb-filter-sheet__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gb-filter-sheet__tag {
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    background: var(--gb-surface-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--gb-text);
    cursor: pointer;
    transition: background var(--gb-transition), color var(--gb-transition);
}

.gb-filter-sheet__tag:hover {
    background: rgba(148, 167, 198, 0.16);
}

.gb-filter-sheet__tag.is-active {
    background: rgba(0, 110, 245, 0.12);
    color: var(--gb-brand);
}

.gb-filter-sheet__tag.is-hidden {
    display: none;
}

.gb-filter-sheet__tags-area {
    position: relative;
}

.gb-filter-sheet__empty {
    margin: 0;
    padding: 16px 8px;
    color: var(--gb-text-muted);
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

.gb-filter-sheet__footer {
    flex-shrink: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--gb-surface);
}

.gb-filter-sheet__confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 8px;
    background: #006EF5;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--gb-transition);
}

.gb-filter-sheet__confirm:hover,
.gb-filter-sheet__confirm:active {
    background: #308DFF;
}

html.dark .gb-filter-sheet__panel {
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
}

html.dark .gb-filter-sheet__tag:hover {
    background: #e8eaed;
}

/* Game searchable select */
.gb-game-select__label {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--gb-text);
    white-space: nowrap;
}

.gb-game-select__control {
    position: relative;
    flex: 1;
    min-width: 0;
}

.gb-game-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    height: 48px;
    padding: 0 16px 0 20px;
    border: 1px solid rgba(148, 167, 198, 0.32);
    border-radius: 10px;
    background: var(--ep-color-a);
    color: var(--gb-text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: left;
    cursor: pointer;
    outline: none;
    box-shadow: none;
    transition: border-color var(--gb-transition), box-shadow var(--gb-transition);
}

.gb-game-select__trigger:hover {
    border-color: rgba(148, 167, 198, 0.55);
}

.gb-game-select__trigger:focus,
.gb-game-select.is-open .gb-game-select__trigger {
    border-color: var(--gb-brand);
    box-shadow: 0 0 0 1px rgba(0, 110, 245, 0.12);
}

.gb-game-select__value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gb-game-select__value.is-placeholder {
    color: #94a7c6;
}

.gb-game-select__suffix {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.gb-game-select__clear {
    display: none;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.gb-game-select__clear img {
    display: block;
    width: 16px;
    height: 16px;
}

.gb-game-select__clear:hover {
    opacity: 0.75;
}

.gb-game-select.has-value .gb-game-select__clear {
    display: flex;
}

.gb-game-select__chevron {
    flex-shrink: 0;
    width: 7px;
    height: 12px;
    opacity: 1;
    transition: transform var(--gb-transition), opacity var(--gb-transition);
}

.gb-game-select.is-open .gb-game-select__chevron {
    transform: rotate(90deg);
    opacity: 1;
}

html.dark .gb-game-select__trigger {
    background: #fff;
    border-color: rgba(148, 167, 198, 0.32);
}

html.dark .gb-form-game-select .gb-game-select__trigger {
    background: transparent;
}

html.dark .gb-game-select__value.is-placeholder {
    color: #94a7c6;
}

html.dark .gb-game-select__trigger:hover {
    border-color: rgba(148, 167, 198, 0.55);
}

html.dark .gb-game-select__trigger:focus,
html.dark .gb-game-select.is-open .gb-game-select__trigger {
    border-color: #006ef5;
}

.gb-game-select__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 30;
    width: 100%;
    min-width: 260px;
    padding: 12px;
    border-radius: 10px;
    background: var(--gb-surface);
    box-shadow: var(--gb-shadow);
}

.gb-game-select__search {
    position: relative;
    display: block;
    margin-bottom: 8px;
}

.gb-game-select__search-input {
    width: 100%;
    height: 40px;
    padding: 0 40px 0 12px;
    border: 1px solid var(--gb-border);
    border-radius: 8px;
    background: var(--gb-input-bg);
    color: var(--gb-text);
    font-size: 14px;
    outline: none;
}

.gb-game-select__search-input::placeholder {
    color: var(--gb-text-muted);
}

.gb-game-select__search-input:focus {
    border-color: var(--gb-brand);
}

.gb-game-select__search-icon {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.7;
}

.gb-game-select__list {
    max-height: 280px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gb-text-subtle) transparent;
}

.gb-game-select__option {
    padding: 10px 8px;
    border-radius: 6px;
    color: var(--gb-text);
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color var(--gb-transition);
}

.gb-game-select__option:hover,
.gb-game-select__option.is-active,
.gb-game-select__option[aria-selected="true"] {
    background: var(--gb-surface-muted);
}

html.dark .gb-game-select__option:hover,
html.dark .gb-game-select__option.is-active,
html.dark .gb-game-select__option[aria-selected="true"] {
    background: rgba(0, 110, 245, 0.08);
}

.gb-game-select__option.is-hidden {
    display: none;
}

.gb-game-select__highlight {
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--gb-brand);
    font-weight: 600;
}

html.dark .gb-game-select__highlight {
    color: #006ef5;
}

.gb-game-select__empty {
    margin: 0;
    padding: 16px 8px;
    color: var(--gb-text-muted);
    font-size: 13px;
    text-align: center;
}

/* Review list (dual column) */
.gb-reviews-grid {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.gb-reviews-col {
    flex: 1;
    min-width: 0;
}

.gb-review-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    padding: 24px;
    border-radius: var(--gb-radius-xl);
    background: var(--gb-surface);
    border: 1px solid var(--gb-border);
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.gb-reviews-col .gb-review-card:last-child {
    margin-bottom: 0;
}

.gb-reviews-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    margin: 0 0 16px;
    padding: 40px 24px;
    border-radius: var(--gb-radius-xl);
    background: var(--gb-surface);
    border: 1px dashed var(--gb-border);
}

.gb-reviews-empty[hidden],
.gb-reviews-grid[hidden] {
    display: none !important;
}

.gb-reviews-empty__inner {
    max-width: 360px;
    text-align: center;
}

.gb-reviews-empty__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--gb-text);
    line-height: 1.4;
}

.gb-reviews-empty__desc {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gb-text-muted);
}

.gb-reviews-empty__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 20px;
    border: 1px solid var(--gb-border);
    border-radius: var(--gb-radius-md);
    background: transparent;
    color: var(--gb-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color var(--gb-transition), color var(--gb-transition), background var(--gb-transition);
}

.gb-reviews-empty__clear:hover {
    border-color: var(--gb-brand);
    color: var(--gb-brand);
}

.gb-reviews-empty__clear[hidden] {
    display: none !important;
}

.gb-layout__main.is-loading {
    position: relative;
    pointer-events: none;
}

.gb-layout__main.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(12, 17, 28, 0.35);
    border-radius: var(--gb-radius-lg);
}

html.dark .gb-layout__main.is-loading::after {
    background: rgba(246, 246, 246, 0.45);
}

.gb-review-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    min-width: 0;
}

.gb-review-card__user {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex: 1;
}

.gb-review-card__user-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gb-review-card__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: #000;
}

.gb-review-card__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gb-review-card__avatar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gb-avatar-bg);
    font-size: 14px;
    font-weight: 500;
    color: var(--gb-text);
    text-transform: uppercase;
}

.gb-review-card__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--gb-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gb-review-card__stars {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.gb-review-card__stars span {
    width: 20px;
    height: 20px;
    background-size: 18px;
}

.gb-review-card__text {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--gb-text);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.gb-review-card__reply {
    margin-bottom: 16px;
    padding: 16px;
    border-radius: var(--gb-radius-md);
    background: var(--gb-reply-bg);
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 901px) {
    .gb-review-card__scroll {
        position: relative;
        margin-bottom: 16px;
        padding-right: 10px;
    }

    .gb-review-card__scroll--reply {
        margin-bottom: 0;
    }

    .gb-review-card__scroll .gb-review-card__text,
    .gb-review-card__scroll .gb-review-card__reply-text {
        margin: 0;
    }

    .gb-review-card__scroll-body {
        max-height: calc(1.5em * 3);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .gb-review-card__scroll-body::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .gb-review-card__scroll-rail {
        position: absolute;
        top: 0;
        right: 0;
        width: 4px;
        height: 100%;
        border-radius: 4px;
        background: rgba(148, 167, 198, 0.12);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--gb-transition);
    }

    .gb-review-card__scroll-thumb {
        display: block;
        width: 100%;
        min-height: 20px;
        border-radius: 4px;
        background: rgba(148, 167, 198, 0.45);
        transform: translateY(0);
        will-change: transform, height;
    }

    .gb-review-card__scroll.is-scrollable .gb-review-card__scroll-rail {
        opacity: 1;
        pointer-events: auto;
    }

    html.dark .gb-review-card__scroll-rail {
        background: rgba(119, 133, 154, 0.12);
    }

    html.dark .gb-review-card__scroll-thumb {
        background: rgba(119, 133, 154, 0.45);
    }
}

.gb-review-card__reply-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    min-width: 0;
}

.gb-review-card__reply-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.gb-review-card__reply-brand img {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: contain;
}

.gb-review-card__reply-brand strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--gb-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gb-review-card__reply-head time {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--gb-text-subtle);
}

.gb-review-card__reply-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gb-text);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.gb-review-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 8px;
    min-width: 0;
}

.gb-review-card__foot-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.gb-review-card__game {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    width: fit-content;
    max-width: 100%;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(0, 110, 245, 0.08);
    font-size: 12px;
    font-weight: 500;
    color: #006EF5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gb-review-card__game--c0 {
    background: rgba(0, 110, 245, 0.08);
    color: #006EF5;
}

.gb-review-card__game--c1 {
    background: rgba(255, 109, 35, 0.08);
    color: #FF6D23;
}

.gb-review-card__game--c2 {
    background: rgba(138, 63, 252, 0.08);
    color: #8A3FFC;
}

.gb-review-card__game--c3 {
    background: rgba(31, 198, 107, 0.15);
    color: #1FC66B;
}

.gb-review-card__verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    padding: 3px 6px;
    border-radius: 4px;
    background: var(--gb-verified-bg);
    font-size: 12px;
    font-weight: 500;
    color: var(--gb-star);
}

.gb-review-card__verified img {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.gb-review-card__date {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--gb-text-subtle);
}

.gb-review-card__date--head {
    display: none;
}

.gb-review-card.is-hidden {
    display: none;
}

/* Pagination */
.gb-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.gb-pagination > ul,
.gb-pagination ul.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.gb-pagination li {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gb-pagination li a,
.gb-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 8px;
    background: var(--gb-surface);
    border: 1px solid rgba(148, 167, 198, 0.32);
    color: var(--gb-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
    transition: border-color var(--gb-transition), background var(--gb-transition), color var(--gb-transition), box-shadow var(--gb-transition);
}

html.dark .gb-pagination li a,
html.dark .gb-pagination li span {
    background: #fff;
    border-color: #e8e8e8;
    color: #0c111c;
}

.gb-pagination li a:hover {
    border-color: var(--gb-brand);
    color: var(--gb-brand);
}

.gb-pagination li.active a,
.gb-pagination li.active span,
.gb-pagination li.current span,
.gb-pagination li.current a,
.gb-pagination .current {
    background: rgba(0, 110, 245, 0.16);
    border-color: var(--gb-brand);
    color: var(--gb-brand);
    font-weight: 600;
}

html.dark .gb-pagination li.active a,
html.dark .gb-pagination li.active span,
html.dark .gb-pagination li.current span,
html.dark .gb-pagination li.current a,
html.dark .gb-pagination .current {
    background: #fff;
    border-color: var(--gb-brand);
    color: var(--gb-brand);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.gb-pagination li.disabled span,
.gb-pagination li.disabled a {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.gb-pagination__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 8px;
    background: var(--gb-surface);
    border: 1px solid rgba(148, 167, 198, 0.32);
    color: var(--gb-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    box-sizing: border-box;
    transition: border-color var(--gb-transition), background var(--gb-transition), color var(--gb-transition), box-shadow var(--gb-transition);
}

html.dark .gb-pagination__btn {
    background: #fff;
    border-color: #e8e8e8;
    color: #0c111c;
}

.gb-pagination__btn:hover:not(:disabled):not(.is-active) {
    border-color: var(--gb-brand);
    color: var(--gb-brand);
}

.gb-pagination__btn.is-active {
    background: rgba(0, 110, 245, 0.16);
    border-color: var(--gb-brand);
    color: var(--gb-brand);
    font-weight: 600;
}

html.dark .gb-pagination__btn.is-active {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.gb-pagination__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.guestbook-page .gb-pagination__btn img {
    display: block;
    width: 7px;
    height: 10px;
    flex-shrink: 0;
}

.gb-pagination__btn--next img {
    transform: rotate(180deg);
}

.gb-pagination__dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
    height: 40px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: var(--gb-text-subtle);
    font-size: 14px;
    line-height: 1;
}

.gb-view-more {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 16px;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gb-brand);
}

.gb-view-more img {
    transform: rotate(-90deg);
}

/* Form sidebar */
.gb-form {
    padding: 24px;
    border-radius: 20px;
    background: var(--gb-surface);
    border: 1px solid rgba(148, 167, 198, 0.32);
}

html.dark .gb-form {
    border-color: #e8e8e8;
}

.gb-form__head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.gb-form__head-icon-wrap {
    position: relative;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.gb-form__head-icon-wrap img {
    width: 24px;
    height: 24px;
}

.guestbook-page .gb-form__head-icon--light {
    display: none;
}

.guestbook-page .gb-form__head-icon--dark {
    display: block;
}

html.dark .guestbook-page .gb-form__head-icon--light {
    display: block;
}

html.dark .guestbook-page .gb-form__head-icon--dark {
    display: none;
}

.gb-form__headline {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gb-text);
}

.gb-form__label {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
}

html.dark .gb-form__label {
    color: #0c111c;
}

.gb-form__dest {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.gb-form__dest-option {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(148, 167, 198, 0.32);
    cursor: pointer;
    transition: border-color var(--gb-transition), background var(--gb-transition);
}

html.dark .gb-form__dest-option {
    border-color: rgba(148, 167, 198, 0.32);
}

.gb-form__dest-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gb-form__dest-option.is-active,
.gb-form__dest-option:has(input:checked) {
    border-color: var(--gb-brand);
    background: rgba(0, 110, 245, 0.08);
}

.gb-form__dest-option.is-active::after,
.gb-form__dest-option:has(input:checked)::after {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    width: 16px;
    height: 16px;
    border-radius: 0 8px 0 8px;
    background: var(--gb-brand);
    background-image: url("../images/icon-form-check.svg");
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
    box-sizing: content-box;
    padding: 2px 5px;
}

.gb-form__dest-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gb-text);
}

.gb-form__dest-desc {
    font-size: 12px;
    line-height: 1.35;
    color: var(--gb-text-subtle);
}

.gb-form__notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 20px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 165, 50, 0.12);
    font-size: 12px;
    line-height: 1.4;
    color: #fff;
}

html.dark .gb-form__notice {
    background: rgba(255, 165, 50, 0.1);
    color: #0c111c;
}

.gb-form__notice img {
    flex-shrink: 0;
    margin-top: 1px;
}

.gb-form__field {
    margin-bottom: 20px;
}

.gb-form__field-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gb-text);
}

.gb-form__stars {
    display: flex;
    gap: 4px;
}

.gb-form__star {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 4px;
    background-image: url("../images/icon-form-star.svg");
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-color var(--gb-transition), background-image var(--gb-transition);
}

.gb-form__star.is-active {
    background-color: var(--gb-star);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
    background-size: 26px;
}

.gb-form__select-wrap {
    position: relative;
}

.gb-form__select {
    appearance: none;
    cursor: pointer;
    padding-right: 40px;
    border: 1px solid rgba(148, 167, 198, 0.32);
    border-radius: 8px;
    background-color: var(--gb-input-bg);
    background-image: url("../images/icon-form-chevron.svg");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 7px 12px;
}

html.dark .gb-form__select {
    background-color: #fff;
}

.gb-form__textarea-wrap {
    position: relative;
}

.gb-form__textarea {
    width: 100%;
    height: auto;
    min-height: 144px;
    padding: 16px;
    border: 1px solid rgba(148, 167, 198, 0.32);
    border-radius: 8px;
    background: transparent;
    color: var(--gb-text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
    outline: none;
    resize: vertical;
    transition: border-color var(--gb-transition);
}

.gb-form__textarea:focus {
    border-color: var(--gb-brand);
}

.gb-form__textarea::placeholder {
    color: #94a7c6;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
}

.gb-form__counter {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1;
    text-align: right;
    color: var(--gb-text-subtle);
}

.gb-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 8px;
    background: rgba(0, 110, 245, 0.30);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--gb-transition);
}

.gb-form__submit.is-ready {
    background: #006EF5;
}

.gb-form__submit.is-ready:hover,
.gb-form__submit.is-ready:active {
    background: #308DFF;
}

.gb-form__submit:disabled,
.gb-form__submit.is-submitting {
    cursor: not-allowed;
    opacity: 0.72;
}

.gb-form__submit.is-submitting.is-ready {
    background: rgba(0, 110, 245, 0.30);
}

/* Trust summary */
.gb-trust-summary {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 20px;
    background: var(--gb-surface);
    border: 1px solid rgba(148, 167, 198, 0.32);
    color: var(--gb-text);
}

html.dark .gb-trust-summary {
    border-color: #e8e8e8;
}

.gb-trust-summary::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    background: linear-gradient(to top, rgba(31, 198, 107, 0.1), transparent);
    pointer-events: none;
}

.gb-trust-summary__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.gb-trust-summary__head-icon-wrap {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 24px;
}

.gb-trust-summary__head-icon {
    display: block;
    width: 24px;
    height: 24px;
}

.guestbook-page .gb-trust-summary__head-icon--light {
    display: none;
}

.guestbook-page .gb-trust-summary__head-icon--dark {
    display: block;
}

html.dark .guestbook-page .gb-trust-summary__head-icon--light {
    display: block;
}

html.dark .guestbook-page .gb-trust-summary__head-icon--dark {
    display: none;
}

.gb-trust-summary__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gb-text);
}

.gb-trust-summary__bars {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
}

.gb-trust-summary__bar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gb-trust-summary__bar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    line-height: 1.2;
    color: var(--gb-text-muted);
}

.gb-trust-summary__bar-row em {
    font-style: normal;
    font-weight: 500;
    color: var(--gb-text-subtle);
}

.gb-trust-summary__track {
    height: 4px;
    border-radius: 999px;
    background: rgba(148, 167, 198, 0.24);
    overflow: hidden;
}

html.dark .gb-trust-summary__track {
    background: rgba(148, 167, 198, 0.2);
}

.gb-trust-summary__fill {
    height: 100%;
    border-radius: 999px;
    background: var(--gb-brand);
}

.gb-trust-summary__score {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.gb-trust-summary__num {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    color: var(--gb-text);
}

.gb-trust-summary__stars {
    display: flex;
    gap: 4px;
}

.guestbook-page .gb-trust-summary__meta {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
}

html.dark .guestbook-page .gb-trust-summary__meta {
    color: #000;
}

/* Info section */
.gb-info {
    position: relative;
    margin-bottom: 64px;
    padding: 32px;
    border-radius: var(--gb-radius-lg);
    background: var(--gb-surface);
    border: 1px solid var(--gb-border);
}

.gb-info__content {
    overflow: hidden;
    max-height: 214px;
    line-height: 1.82;
    color: var(--gb-text-muted);
    transition: max-height var(--gb-transition);
}

.gb-info__content.expanded {
    max-height: none;
}

.gb-info__toggle {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--gb-accent);
    background: linear-gradient(to bottom, transparent, var(--gb-surface) 40%);
}

/* Responsive */
@media (max-width: 1200px) {
    .gb-layout {
        grid-template-columns: 1fr;
    }

    .gb-layout__sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .gb-write-review-btn {
        position: fixed;
        z-index: 4000000;
        right: calc(var(--gb-fab-align-right) + (var(--gb-fab-base-size) - var(--gb-fab-size)) / 2);
        bottom: calc(var(--gb-fab-base-bottom) + var(--gb-fab-base-size) + var(--gb-fab-gap));
        width: var(--gb-fab-size);
        height: var(--gb-fab-size);
        padding: 0;
        border-radius: 50%;
        gap: 0;
        box-shadow: 0 4px 16px rgba(0, 110, 245, 0.35);
    }
    .gb-write-review-btn img{
        width: 30px;
        height: 30px;
    }
    .gb-write-review-btn__label {
        display: none;
    }

    .gb-form,
    .gb-trust-summary {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .gb-pagination {
        gap: 4px;
        margin-top: 20px;
    }

    .gb-pagination > ul,
    .gb-pagination ul.pagination {
        gap: 4px;
    }

    .gb-pagination li a,
    .gb-pagination li span,
    .gb-pagination__btn {
        min-width: 32px;
        height: 32px;
        padding: 0 6px;
        font-size: 12px;
        border-radius: 6px;
    }

    .gb-pagination__dots {
        height: 32px;
        padding: 0 2px;
        font-size: 12px;
    }

    .guestbook-page .gb-pagination__btn img {
        width: 6px;
        height: 8px;
    }

    .gb-hero {
        height: 165px;
        margin-bottom: 0;
    }

    .gb-hero__bg {
        object-fit: cover;
        object-position: center;
        height: 100%;
    }

    .gb-hero__container {
        padding: 12px 0;
        min-height: 0;
        height: 100%;
        box-sizing: border-box;
    }

    .gb-hero__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .gb-hero__content {
        max-width: 62%;
    }

    .gb-hero__title {
        font-size: 22px;
        line-height: 1.25;
        letter-spacing: -0.3px;
        margin-bottom: 0;
    }

    .gb-hero__title-accent {
        font-size: 28px;
        line-height: 1.1;
    }

    .gb-hero__desc,
    .gb-hero__notice,
    .gb-stats--hero {
        display: none;
    }

    .gb-hero__trust {
        width: auto;
        max-width: none;
    }

    .gb-hero__trust-inner {
        align-items: flex-start;
        padding: 0;
        text-align: left;
        background: none;
        gap: 8px;
    }

    .gb-hero__trust-row {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px 8px;
        width: auto;
    }

    .gb-hero__trust-brand {
        margin-bottom: 0;
        gap: 4px;
    }

    .gb-hero__trust-brand .icon {
        font-size: 16px;
    }

    .gb-hero__trustpilot-name {
        font-size: 13px;
        font-weight: 500;
    }

    .gb-hero__trustpilot-name::after {
        content: "|";
        display: inline-block;
        margin-left: 8px;
        color: rgba(255, 255, 255, 0.45);
        font-size: 12px;
        font-weight: 300;
        line-height: 1;
    }

    .gb-hero__trust-score-wrap {
        flex-direction: row;
        align-items: center;
        gap: 6px;
        margin-bottom: 0;
    }

    .gb-hero__trust-num {
        font-size: 14px;
        font-weight: 600;
        line-height: 1;
        margin-bottom: 0;
    }

    .gb-hero__trust-stars {
        gap: 2px;
    }

    .gb-hero__trust-stars span {
        width: 14px;
        height: 14px;
        border-radius: 2px;
        background-size: 9px;
    }

    .gb-hero__trust-meta {
        display: none;
    }

    .gb-hero__trust-link {
        width: auto;
        min-width: 0;
        padding: 9px 18px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        background: url(/themes/mmoexp-v250528/views/guestbook/images/gb-hero_trust-bg3-m.png) no-repeat center / 100% 100%;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.2;
        box-shadow: none;
    }

    .gb-stats--hero .gb-stats__item {
        width: 50%;
        padding: 8px 16px;
    }

    .gb-stats--hero .gb-stats__item:not(:first-child)::before {
        display: none;
    }

    .gb-stats--hero .gb-stats__item:nth-child(odd) {
        padding-left: 0;
    }

    .gb-reply-notice-wrap.is-expanded {
        margin: 12px 0 0;
    }

    .gb-reply-notice {
        padding: 10px 36px 10px 12px;
        gap: 6px;
    }

    .gb-reply-notice__close {
        top: 8px;
        right: 8px;
    }

    .gb-reply-notice__text {
        font-size: 12px;
        line-height: 1.5;
    }

    .gb-mobile-filter {
        display: block;
        margin: 11px 0 7px;
    }

    .gb-reviews-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .gb-reviews-col {
        display: contents;
    }

    .gb-review-card {
        order: var(--gb-review-order, 0);
        width: 100%;
        margin-bottom: 0;
    }

    .gb-reviews-empty {
        min-height: 220px;
        margin: 4px 0 12px;
        padding: 32px 16px;
    }

    .gb-reviews-empty__title {
        font-size: 16px;
    }

    .gb-reviews-empty__desc {
        margin-bottom: 16px;
        font-size: 13px;
    }

    .gb-reviews-empty__clear {
        width: 100%;
        max-width: 240px;
        min-height: 44px;
    }

    .gb-reviews-col--right .gb-review-card:first-child {
        /* margin-top: 16px; */
    }

    .gb-layout__sidebar {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gb-filters {
        display: none;
    }

    .gb-filters__field--search,
    .gb-filters__field--rating {
        flex: none;
        max-width: none;
        width: 100%;
    }

    .gb-game-select__dropdown {
        min-width: 0;
    }

    .guestbook-page--mobile .gb-hero__title {
        font-size: 20px;
        
    }
    
    .guestbook-page--mobile .gb-hero__title-accent {
        font-size: 20px;
        line-height: 1.1;
    }
    .guestbook-page--mobile .gb-hero__container{
        padding: 23px 0 12px;
    }

    .gb-reply-notice__icon{
        width: 12px;
        height: 12px;
        font-size: 12px;
        margin-top: 2px;
        padding-left: 0px;
    }
    .gb-layout{
        margin-top: 0px;
    }

    .gb-filter-sheet__tags-area {
        height: min(36vh, 220px);
        min-height: 160px;
    }

    .gb-filter-sheet__tags-area > .gb-filter-sheet__tags {
        height: 100%;
        overflow-y: auto;
        align-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .gb-filter-sheet__tags-area > .gb-filter-sheet__tags::-webkit-scrollbar {
        display: none;
    }

    .gb-filter-sheet__tags-area > .gb-filter-sheet__empty {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px;
        pointer-events: none;
    }

    .gb-filter-sheet__tags-area > .gb-filter-sheet__empty[hidden] {
        display: none;
    }

    .gb-filter-sheet__section--stars .gb-filter-sheet__tags,
    #gb-mobile-filter-stars.gb-filter-sheet__tags {
        min-height: 72px;
    }
}

@media (max-width: 640px) {
    .guestbook-page .container {
        width: calc(100% - 20px);
    }

    .gb-trust-summary__num {
        font-size: 48px;
    }

    .gb-stats--hero {
        margin: 24px 0 16px;
    }

    .gb-stats--hero .gb-stats__item {
        width: 100%;
        padding: 4px 0;
    }

    .gb-stats--hero .gb-stats__item strong {
        font-size: 18px;
    }

    .gb-ticker {
        padding: 12px 16px;
        margin-bottom: 24px;
    }

    .gb-review-card {
        padding: 16px;
        border-radius: var(--gb-radius-lg);
        margin-bottom: 0;
    }

    .gb-review-card__head {
        gap: 8px;
    }

    .gb-review-card__icon {
        width: 32px;
        height: 32px;
    }

    .gb-review-card__stars {
        gap: 2px;
    }

    .gb-review-card__stars span {
        width: 16px;
        height: 16px;
        background-size: 14px;
    }

    .gb-review-card__name {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        line-height: 1.2;
    }

    .gb-review-card__user {
        align-items: center;
    }

    .gb-review-card__user-text {
        gap: 0;
    }

    .gb-review-card__date--head {
        display: block;
        margin-top: 0;
        font-size: 12px;
        line-height: 1.15;
        color: var(--gb-text-subtle);
    }

    .gb-review-card__date--foot {
        display: none;
    }

    .gb-review-card__text {
        font-size: 14px;
    }

    .gb-review-card__reply {
        padding: 12px;
    }

    .gb-review-card__reply-head {
        flex-wrap: wrap;
        gap: 6px 12px;
    }

    .gb-review-card__reply-brand img {
        width: 20px;
        height: 20px;
    }

    .gb-review-card__foot {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 8px;
    }

    .gb-form {
        padding: 16px;
    }
    .gb-reviews-grid {
        gap: 10px;
    }

    .gb-pagination {
        gap: 4px;
        margin-top: 20px;
    }

    .gb-pagination > ul,
    .gb-pagination ul.pagination {
        gap: 4px;
    }

    .gb-pagination li a,
    .gb-pagination li span,
    .gb-pagination__btn {
        min-width: 32px;
        height: 32px;
        padding: 0 6px;
        font-size: 12px;
        border-radius: 6px;
    }

    .gb-pagination__dots {
        height: 32px;
        padding: 0 2px;
        font-size: 12px;
    }

    .guestbook-page .gb-pagination__btn img {
        width: 6px;
        height: 8px;
    }

    .gb-trust-summary {
        padding: 16px;
    }

    .gb-info {
        padding: 20px 16px;
        margin-bottom: 40px;
    }
}
