/* GameCuki - web review so sánh đồ gaming (nền sáng) */

:root {
    --bg: #f6f7fb;
    --surface: #ffffff;
    --surface-2: #f0f1f8;
    --line: #e4e6f0;
    --text: #15172b;
    --text-2: #3b3f5c;
    --muted: #6b7091;
    --accent: #6a4cff;
    --accent-ink: #4d2fe0;
    --accent-soft: #efeaff;
    --buy: #ffa41c;
    --buy-hover: #ff9200;
    --buy-ink: #1f1300;
    --good: #0f9d6b;
    --good-soft: #e8f8f1;
    --bad: #d93a4a;
    --bad-soft: #fdecee;
    --star: #ffb400;
    --radius: 16px;
    --radius-sm: 10px;
    --header-h: 64px;
    --wrap: 1200px;
    --gutter: clamp(16px, 3vw, 28px);
    --shadow: 0 1px 2px rgba(21, 23, 43, .04), 0 6px 20px -8px rgba(21, 23, 43, .12);
    --shadow-lg: 0 2px 4px rgba(21, 23, 43, .04), 0 18px 40px -16px rgba(21, 23, 43, .25);
    --font-head: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 16px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0; font-weight: 900; letter-spacing: -.01em; }
[hidden] { display: none !important; }

.gc-ico { flex: none; }
.gc-emoji { font-size: 1.1em; line-height: 1; }
.gc-muted { color: var(--muted); }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.gc-skip {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.gc-skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.gc-wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Header ---------- */

.gc-header {
    position: sticky; top: 0; z-index: 50;
    padding-top: env(safe-area-inset-top, 0px);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.gc-header__inner {
    max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter);
    height: var(--header-h);
    display: flex; align-items: center; gap: 18px;
}

.gc-logo { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.gc-logo__img { height: 56px; width: auto; max-height: none; }
.gc-logo__mark {
    display: grid; place-items: center;
    width: 36px; height: 36px; border-radius: 11px;
    background: linear-gradient(135deg, var(--accent), #ff5fa2);
    color: #fff;
}
.gc-logo__mark .gc-ico { width: 21px; height: 21px; }
.gc-logo__text { font-family: var(--font-head); font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.gc-logo__text b { color: var(--accent); font-weight: 900; }

.gc-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.gc-nav__item {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 8px 12px; border: 0; border-radius: 10px; background: none;
    font-weight: 600; font-size: 15px; color: var(--text-2);
    transition: background .15s, color .15s;
}
.gc-nav__item:hover { background: var(--surface-2); color: var(--text); }
.gc-nav__item.is-active { color: var(--accent); background: var(--accent-soft); }
.gc-nav__item .gc-ico { width: 16px; height: 16px; }

.gc-dd { position: relative; }
.gc-dd__menu {
    position: absolute; right: 0; top: calc(100% + 8px);
    min-width: 230px; padding: 6px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity .15s, transform .15s, visibility .15s;
}
/* Cầu nối vô hình để rê chuột từ nút xuống menu không bị mất hover */
.gc-dd__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.gc-dd:hover .gc-dd__menu, .gc-dd.is-open .gc-dd__menu { opacity: 1; visibility: visible; transform: none; }
.gc-dd__menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 10px; border-radius: 9px; font-weight: 600; color: var(--text-2);
}
.gc-dd__menu a:hover { background: var(--surface-2); color: var(--text); }
.gc-dd__guides { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 12px !important; }

.gc-iconbtn {
    display: inline-grid; place-items: center;
    width: 42px; height: 42px; flex: none;
    border: 1px solid var(--line); border-radius: 12px;
    background: var(--surface);
    transition: background .15s, border-color .15s;
}
.gc-iconbtn:hover { background: var(--surface-2); }
.gc-menu-toggle { display: none; }

.gc-searchbar {
    border-top: 1px solid var(--line);
    background: var(--surface);
    padding: 12px var(--gutter);
}
.gc-search { position: relative; max-width: 680px; margin: 0 auto; }
.gc-search input {
    width: 100%; height: 48px;
    padding: 0 16px 0 46px;
    border: 1px solid var(--line); border-radius: 12px;
    background: var(--bg); color: var(--text); font: inherit;
}
.gc-search input:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-soft); }
.gc-search__ico { position: absolute; left: 15px; top: 14px; color: var(--muted); pointer-events: none; }

.gc-suggest {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 5;
    background: var(--surface);
    border: 1px solid var(--line); border-radius: 14px;
    padding: 6px;
    box-shadow: var(--shadow-lg);
}
.gc-suggest a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; }
.gc-suggest a:hover, .gc-suggest a.is-active { background: var(--surface-2); }
.gc-suggest img, .gc-suggest__ph { width: 56px; height: 40px; object-fit: cover; border-radius: 8px; flex: none; background: var(--surface-2); }
.gc-suggest small { display: block; color: var(--muted); font-size: 12px; }
.gc-suggest__empty { padding: 12px; color: var(--muted); }

/* Drawer mobile */
.gc-drawer {
    position: fixed; z-index: 70; top: 0; left: 0; bottom: 0;
    width: min(320px, 86vw);
    padding: calc(14px + env(safe-area-inset-top, 0px)) 14px 24px;
    overflow-y: auto; overscroll-behavior: contain;
    background: var(--surface);
    box-shadow: 20px 0 60px rgba(21, 23, 43, .2);
}
.gc-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.gc-drawer__nav { display: flex; flex-direction: column; gap: 2px; }
.gc-drawer__nav a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; font-weight: 600; }
.gc-drawer__nav a:hover, .gc-drawer__nav a.is-active { background: var(--accent-soft); color: var(--accent-ink); }
.gc-drawer__icon { width: 30px; text-align: center; font-size: 18px; }
.gc-drawer__label { margin: 14px 10px 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gc-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(21, 23, 43, .45); }
body.gc-noscroll { overflow: hidden; }

.gc-main { min-height: 60vh; padding-bottom: 20px; }

/* ---------- Hero ---------- */

.gc-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(900px 400px at 85% -10%, rgba(255, 95, 162, .18), transparent 60%),
        radial-gradient(800px 400px at 0% 0%, rgba(106, 76, 255, .18), transparent 60%),
        var(--surface);
    border-bottom: 1px solid var(--line);
}
.gc-hero__inner { padding-block: clamp(22px, 3.2vw, 40px); text-align: center; }
.gc-hero__kicker {
    display: inline-block; margin: 0 0 14px; padding: 5px 12px;
    border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink);
    font-size: 13px; font-weight: 700;
}
.gc-hero__title { font-size: clamp(26px, 3.3vw, 40px); max-width: 34ch; margin: 0 auto; }
.gc-hero__title span { background: linear-gradient(90deg, var(--accent), #ff4f9a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gc-hero__sub { max-width: 68ch; margin: 10px auto 18px; color: var(--text-2); font-size: clamp(15px, 1.3vw, 16px); }
.gc-hero__search {
    display: flex; align-items: center; gap: 10px;
    max-width: 620px; margin: 0 auto;
    padding: 6px 6px 6px 18px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
    box-shadow: var(--shadow-lg);
}
.gc-hero__search .gc-ico { color: var(--muted); }
.gc-hero__search input { flex: 1; min-width: 0; height: 46px; border: 0; background: none; font: inherit; color: var(--text); }
.gc-hero__search input:focus { outline: none; }
.gc-hero__search button {
    height: 46px; padding: 0 22px; border: 0; border-radius: 12px;
    background: var(--accent); color: #fff; font-weight: 700;
}
.gc-hero__search button:hover { background: var(--accent-ink); }
.gc-hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.gc-hero__chips a {
    padding: 7px 14px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line);
    font-size: 14px; font-weight: 600; color: var(--text-2);
    transition: border-color .15s, color .15s;
}
.gc-hero__chips a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Sections ---------- */

.gc-section { margin-top: 48px; }
.gc-section__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.gc-section__title { display: flex; align-items: center; gap: 10px; font-size: clamp(22px, 2.4vw, 28px); }
.gc-section__icon {
    display: grid; place-items: center;
    width: 38px; height: 38px; border-radius: 11px;
    background: var(--accent-soft); color: var(--accent);
}
.gc-section__more { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; font-size: 15px; color: var(--accent); white-space: nowrap; }
.gc-section__more:hover { color: var(--accent-ink); }
.gc-section__more .gc-ico { width: 16px; height: 16px; }

/* Danh mục */
.gc-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.gc-cat {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 18px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.gc-cat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.gc-cat__icon {
    display: grid; place-items: center;
    width: 48px; height: 48px; margin-bottom: 8px;
    border-radius: 14px; background: var(--surface-2); font-size: 26px;
}
.gc-cat__name { font-family: var(--font-head); font-weight: 800; font-size: 17px; }
.gc-cat__count { font-size: 13px; color: var(--muted); }

/* Lưới game chơi online (trang chủ) */
.gc-games { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.gc-gamecard { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gc-gamecard__thumb {
    position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; margin-bottom: 6px;
    border-radius: var(--radius); overflow: hidden;
    background: linear-gradient(140deg, hsl(var(--h, 255) 85% 62%), hsl(calc(var(--h, 255) + 40) 80% 45%));
    transition: transform .15s, box-shadow .15s;
}
.gc-gamecard__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gc-gamecard__emoji { font-size: clamp(34px, 5vw, 52px); filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .25)); }
.gc-gamecard__play {
    position: absolute; inset: 0; display: grid; place-items: center;
    background: rgba(0, 0, 0, .4); color: #fff; font-size: 30px; opacity: 0; transition: opacity .15s;
}
.gc-gamecard:hover .gc-gamecard__thumb { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.gc-gamecard:hover .gc-gamecard__play, .gc-gamecard:focus-visible .gc-gamecard__play { opacity: 1; }
.gc-gamecard__name { font-family: var(--font-head); font-weight: 800; font-size: 15px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-gamecard__genre { font-size: 12px; color: var(--muted); }

/* ---------- Thẻ bài viết ---------- */

.gc-posts { display: grid; gap: 20px; }
.gc-posts--3, .gc-posts--archive { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.gc-post {
    display: flex; flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.gc-post:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.gc-post__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.gc-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gc-post:hover .gc-post__media img { transform: scale(1.04); }
.gc-post__ph {
    display: grid; place-items: center; height: 100%;
    font-size: 54px;
    background: linear-gradient(135deg, #ece7ff, #ffe6f1);
}
.gc-post__picks {
    position: absolute; left: 12px; bottom: 12px;
    padding: 4px 10px; border-radius: 999px;
    background: rgba(21, 23, 43, .78); color: #fff;
    font-size: 12px; font-weight: 700;
}
.gc-post__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.gc-post__cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.gc-post__title { font-family: var(--font-head); font-size: 19px; font-weight: 800; line-height: 1.3; color: var(--text); }
.gc-post__excerpt { color: var(--muted); font-size: 15px; line-height: 1.55; }
.gc-post__meta { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--muted); }
.gc-post__meta .gc-ico { width: 14px; height: 14px; }

.gc-post--feature { grid-column: 1 / -1; flex-direction: row; }
.gc-post--feature .gc-post__media { flex: 0 0 56%; }
.gc-post--feature .gc-post__body { padding: clamp(20px, 3vw, 36px); justify-content: center; gap: 10px; }
.gc-post--feature .gc-post__title { font-size: clamp(24px, 2.6vw, 32px); }
.gc-post--feature .gc-post__excerpt { font-size: 16px; }
.gc-post--feature .gc-post__meta { margin-top: 8px; }

.gc-post--row { flex-direction: row; align-items: stretch; }
.gc-post--row .gc-post__media { flex: 0 0 132px; aspect-ratio: auto; min-height: 96px; }
.gc-post--row .gc-post__ph { font-size: 34px; }
.gc-post--row .gc-post__picks { display: none; }
.gc-post--row .gc-post__body { padding: 12px 16px; gap: 4px; justify-content: center; }
.gc-post--row .gc-post__title { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gc-post--row .gc-post__meta { padding: 0; margin: 0; }

/* Latest: 1 ô lớn + danh sách */
.gc-latest { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; }
.gc-latest__main .gc-post--feature { flex-direction: column; height: 100%; }
.gc-latest__main .gc-post--feature .gc-post__media { flex: none; }
.gc-latest__list { display: grid; gap: 14px; align-content: start; }

/* ---------- Trust ---------- */

.gc-trust {
    margin-top: 56px; padding: clamp(24px, 4vw, 44px);
    border-radius: 24px;
    background: linear-gradient(135deg, #1c1640, #2c1f6b);
    color: #e9e6ff;
    text-align: center;
}
.gc-trust h2 { color: #fff; font-size: clamp(24px, 2.8vw, 32px); }
.gc-trust__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; text-align: left; }
.gc-trust__icon {
    display: grid; place-items: center;
    width: 46px; height: 46px; margin-bottom: 12px;
    border-radius: 13px; background: rgba(255, 255, 255, .1); color: #c7b9ff;
}
.gc-trust h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.gc-trust p { margin: 0; color: #c9c4ea; font-size: 15px; }
.gc-trust__link { display: inline-flex; align-items: center; gap: 4px; margin-top: 26px; color: #fff; font-weight: 700; }
.gc-trust__link:hover { text-decoration: underline; }

/* ---------- Đầu trang danh mục ---------- */

.gc-cathead { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: 22px 30px; margin-bottom: 30px; }
.gc-cathead__row { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.gc-cathead__icon {
    display: grid; place-items: center; flex: none;
    width: 64px; height: 64px; border-radius: 18px;
    background: var(--accent-soft); color: var(--accent); font-size: 32px;
}
.gc-cathead h1 { font-size: clamp(28px, 3.6vw, 42px); }
.gc-cathead h1 small { font-size: .5em; color: var(--muted); font-weight: 700; }
.gc-cathead__desc { color: var(--text-2); max-width: 75ch; margin-top: 6px; }
.gc-cathead__desc p { margin: 0; }
.gc-cathead .gc-chips { margin-top: 18px; }

.gc-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 18px; font-size: 14px; color: var(--muted); }
.gc-cathead .gc-crumbs { padding-top: 0; }
.gc-crumbs a:hover { color: var(--accent); }
.gc-crumbs__sep { opacity: .6; }

.gc-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 34px 0 10px; }
.gc-pager .page-numbers {
    min-width: 42px; height: 42px; padding: 0 12px;
    display: inline-grid; place-items: center;
    border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
    font-weight: 700;
}
.gc-pager a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.gc-pager .current { background: var(--accent); border-color: var(--accent); color: #fff; }
.gc-pager .dots { background: none; border: 0; }

.gc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gc-chip {
    padding: 6px 13px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line);
    font-size: 14px; font-weight: 600; color: var(--text-2);
}
.gc-chip:hover { border-color: var(--accent); color: var(--accent); }

.gc-empty { text-align: center; padding: 64px 16px; }
.gc-empty__icon {
    display: inline-grid; place-items: center;
    width: 80px; height: 80px; border-radius: 24px; margin-bottom: 18px;
    background: var(--accent-soft); color: var(--accent);
}
.gc-empty__icon .gc-ico { width: 38px; height: 38px; }
.gc-empty h2 { font-size: 26px; margin-bottom: 8px; }
.gc-empty p { color: var(--muted); margin: 0 auto 22px; max-width: 46ch; }

.gc-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: 12px; border: 0;
    background: var(--accent); color: #fff; font-weight: 700;
}
.gc-btn:hover { background: var(--accent-ink); }

.gc-avatar {
    display: inline-grid; place-items: center; flex: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ff5fa2);
    color: #fff; font-family: var(--font-head); font-weight: 900;
}

/* ---------- Prose ---------- */

.gc-prose { color: var(--text-2); line-height: 1.75; }
.gc-prose p { margin: 0 0 1.1em; }
.gc-prose a { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gc-prose h2, .gc-prose h3 { color: var(--text); margin: 1.6em 0 .55em; }
.gc-prose h2 { font-size: clamp(24px, 2.6vw, 30px); }
.gc-prose h3 { font-size: 21px; }
.gc-prose ul, .gc-prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.gc-prose li { margin-bottom: .35em; }
.gc-prose img { border-radius: 12px; }
.gc-prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 12px 12px 0; color: var(--text); }
.gc-prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; display: block; overflow-x: auto; }
.gc-prose th, .gc-prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.gc-prose th { background: var(--surface-2); color: var(--text); }
.gc-prose > :first-child { margin-top: 0; }
.gc-prose > :last-child { margin-bottom: 0; }

.gc-page { max-width: 780px; margin: 18px 0 40px; padding: clamp(22px, 4vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.gc-page h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 20px; }

/* ---------- Trang bài viết ---------- */

.gc-article-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
    align-items: start;
    margin-top: 16px;
}
.gc-article-wrap--solo { grid-template-columns: minmax(0, 780px); justify-content: center; }
.gc-article { min-width: 0; max-width: 780px; }
.gc-article__head { margin-bottom: 22px; }
.gc-article__title { font-size: clamp(30px, 4.2vw, 46px); margin: 6px 0 14px; }
.gc-article__dek { font-size: 19px; color: var(--text-2); margin: 0 0 20px; line-height: 1.55; }
.gc-article__meta { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.gc-article__meta a { color: var(--accent-ink); font-weight: 700; }
.gc-article__meta .gc-muted { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.gc-article__meta .gc-ico { width: 14px; height: 14px; }
.gc-article__hero { margin: 0 0 26px; border-radius: var(--radius); overflow: hidden; }
.gc-article__hero img { width: 100%; }
.gc-article__body { font-size: 17.5px; }

.gc-disclosure {
    margin: 0 0 24px; padding: 11px 14px;
    font-size: 13.5px; color: var(--muted);
    background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
}
.gc-disclosure a { color: var(--accent-ink); text-decoration: underline; }

/* At a Glance */
.gc-glance {
    margin: 0 0 28px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.gc-glance__title { font-size: 20px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.gc-glance__row {
    display: grid;
    grid-template-columns: 32px 76px minmax(0, 1fr) auto auto;
    align-items: center; gap: 16px;
    padding: 14px 20px;
}
.gc-glance__row + .gc-glance__row { border-top: 1px solid var(--line); }
.gc-glance__rank {
    display: grid; place-items: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--surface-2); font-family: var(--font-head); font-weight: 900; font-size: 15px;
}
.gc-glance__row:first-child .gc-glance__rank { background: var(--accent); color: #fff; }
.gc-glance__img { display: grid; place-items: center; width: 76px; height: 64px; padding: 4px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 26px; }
.gc-glance__img { position: relative; overflow: hidden; }
.gc-glance__img img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); max-width: none; object-fit: contain; border-radius: 0; margin: 0; }
.gc-glance__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gc-glance__badge { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.gc-glance__name { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--text); line-height: 1.3; }
.gc-glance__name:hover { color: var(--accent); }
.gc-glance__spec { font-size: 13px; color: var(--muted); }

/* Sao */
.gc-rating { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-2); white-space: nowrap; }
.gc-stars {
    --pct: calc(var(--r) / 5 * 100%);
    display: inline-block; font-size: 16px; line-height: 1; letter-spacing: 1px;
    background: linear-gradient(90deg, var(--star) var(--pct), #d9dbe7 var(--pct));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gc-stars::before { content: "★★★★★"; }

/* Nút mua */
.gc-prose a.gc-buy, .gc-buy {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 12px 22px;
    border-radius: 12px;
    background: var(--buy); color: var(--buy-ink);
    font-family: var(--font); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
    transition: background .15s, transform .15s;
}
.gc-buy:hover { background: var(--buy-hover); transform: translateY(-1px); }
.gc-buy--sm { padding: 9px 16px; font-size: 14px; }
.gc-buy--inline { margin: 4px 0; padding: 9px 16px; font-size: 14px; }

/* TOC */
.gc-toc { margin: 0 0 30px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.gc-toc__title { font-family: var(--font-head); font-weight: 800; font-size: 17px; cursor: pointer; }
.gc-toc ol { margin: 10px 0 0; padding-left: 1.3em; display: grid; gap: 5px; }
.gc-toc a { color: var(--text-2); }
.gc-toc a:hover { color: var(--accent); }

/* Hộp sản phẩm */
.gc-product {
    margin: 2em 0; padding: clamp(18px, 3vw, 26px);
    background: var(--surface);
    border: 1px solid var(--line); border-radius: 20px;
    box-shadow: var(--shadow);
    scroll-margin-top: calc(var(--header-h) + 16px);
}
.gc-product__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.gc-product__rank {
    display: grid; place-items: center; flex: none;
    width: 44px; height: 44px; border-radius: 14px;
    background: var(--accent); color: #fff;
    font-family: var(--font-head); font-weight: 900; font-size: 22px;
}
.gc-product__badge { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.gc-prose .gc-product__name { margin: 0; font-size: clamp(20px, 2.2vw, 24px); }
.gc-product__top { display: flex; gap: 24px; align-items: flex-start; }
.gc-product__img {
    flex: 0 0 220px;
    display: grid; place-items: center;
    aspect-ratio: 1; padding: 16px;
    border-radius: 14px; background: #fff; border: 1px solid var(--line);
    position: relative; overflow: hidden;
}
/* Ảnh nằm gọn trong khung (cách mép 16px), giữ tỉ lệ, không tràn dù ảnh gốc to hay nằm ngang */
.gc-prose .gc-product__img img {
    position: absolute; inset: 16px;
    width: calc(100% - 32px); height: calc(100% - 32px); max-width: none;
    object-fit: contain; border-radius: 0; margin: 0;
}
.gc-product__body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.gc-product__text { font-size: 16px; }
.gc-product__text p { margin: 0 0 .7em; }
.gc-product__text p:last-child { margin: 0; }

.gc-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; width: 100%; margin: 0; }
.gc-specs > div { padding: 8px 12px; border-radius: 10px; background: var(--surface-2); }
.gc-specs dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.gc-specs dd { margin: 0; font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.35; }

.gc-product__pc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.gc-pros, .gc-cons { padding: 14px 16px; border-radius: 14px; font-size: 15px; }
.gc-pros { background: var(--good-soft); }
.gc-cons { background: var(--bad-soft); }
.gc-pros strong { color: var(--good); }
.gc-cons strong { color: var(--bad); }
.gc-pros ul, .gc-cons ul { margin: 6px 0 0; padding: 0; list-style: none; }
.gc-pros li, .gc-cons li { position: relative; padding-left: 22px; margin-bottom: 4px; }
.gc-pros li::before { content: "+"; position: absolute; left: 4px; font-weight: 900; color: var(--good); }
.gc-cons li::before { content: "–"; position: absolute; left: 4px; font-weight: 900; color: var(--bad); }

/* Author */
.gc-authorbox {
    display: flex; gap: 18px; align-items: center;
    margin-top: 36px; padding: 22px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.gc-authorbox h2 { font-size: 18px; margin-bottom: 4px; }
.gc-authorbox h2 a { color: var(--accent-ink); }
.gc-authorbox p { margin: 0; color: var(--muted); font-size: 15px; }

/* Sidebar Top Picks */
.gc-article-side { position: sticky; top: calc(var(--header-h) + 20px); }
.gc-picks { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; }
.gc-picks__title { font-family: var(--font-head); font-weight: 900; font-size: 17px; padding: 10px 10px 8px; }
.gc-picks__item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; }
.gc-picks__item + .gc-picks__item { border-top: 1px solid var(--line); border-radius: 0; }
.gc-picks__img {
    display: grid; place-items: center; flex: none;
    width: 58px; height: 58px; padding: 4px;
    border-radius: 10px; background: #fff; border: 1px solid var(--line);
    font-family: var(--font-head); font-weight: 900; color: var(--accent);
}
.gc-picks__img { position: relative; overflow: hidden; }
.gc-picks__img img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); max-width: none; object-fit: contain; border-radius: 0; margin: 0; }
.gc-picks__info { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.gc-picks__badge { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.gc-picks__name { font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--text); }
.gc-picks__name:hover { color: var(--accent); }
.gc-picks__buy { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; color: #c26a00; }
.gc-picks__buy:hover { color: var(--buy-hover); }
.gc-picks__buy .gc-ico { width: 14px; height: 14px; }

/* ---------- Footer ---------- */

.gc-footer {
    margin-top: 64px;
    padding: 44px 0 calc(26px + env(safe-area-inset-bottom, 0px));
    background: #11132a; color: #b9bcd8;
}
.gc-footer .gc-logo__text { color: #fff; }
.gc-footer .gc-logo__text b { color: #a995ff; }
.gc-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 30px; }
.gc-footer__brand p { max-width: 40ch; margin: 14px 0 0; font-size: 15px; }
.gc-footer h3 { font-family: var(--font); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #8a8db0; margin-bottom: 12px; }
.gc-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.gc-footer ul a:hover { color: #fff; }
.gc-footer__bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #8a8db0; }
.gc-footer__bottom p { margin: 0 0 4px; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
    .gc-nav { display: none; }
    .gc-menu-toggle { display: inline-grid; }
    .gc-header__inner { gap: 12px; }
    .gc-header__inner .gc-logo { margin-right: auto; }
    .gc-article-wrap { grid-template-columns: minmax(0, 1fr); }
    .gc-article-side { display: none; }
    .gc-posts--3, .gc-posts--archive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gc-latest { grid-template-columns: minmax(0, 1fr); }
    .gc-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gc-footer__grid { grid-template-columns: 1fr 1fr; }
    .gc-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    :root { --header-h: 58px; }
    .gc-iconbtn { width: 40px; height: 40px; }
    .gc-logo__text { font-size: 20px; }

    .gc-hero__search { padding-left: 14px; }
    .gc-hero__search button { padding: 0 14px; }
    .gc-hero__chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
    .gc-hero__chips::-webkit-scrollbar { display: none; }
    .gc-hero__chips a { flex: none; }

    .gc-section { margin-top: 36px; }
    .gc-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .gc-cat { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 10px; row-gap: 0; align-items: center; padding: 12px; }
    .gc-cat__icon { grid-row: span 2; width: 40px; height: 40px; margin: 0; font-size: 21px; border-radius: 12px; }
    .gc-cat__name { font-size: 15px; line-height: 1.2; }
    .gc-cat__count { font-size: 12px; line-height: 1.3; }

    .gc-posts--3, .gc-posts--archive { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .gc-posts--3 .gc-post { flex-direction: row; }
    .gc-posts--3 .gc-post__media { flex: 0 0 34%; aspect-ratio: auto; min-height: 100px; }
    .gc-posts--3 .gc-post__excerpt, .gc-posts--3 .gc-post__picks { display: none; }
    .gc-posts--3 .gc-post__body { padding: 12px 14px; }
    .gc-posts--3 .gc-post__title { font-size: 16px; }
    .gc-post__ph { font-size: 38px; }
    .gc-post--feature { flex-direction: column; }
    .gc-post--feature .gc-post__media { flex: none; }
    .gc-post--row .gc-post__media { flex-basis: 34%; }

    .gc-trust__grid { grid-template-columns: 1fr; gap: 20px; }

    .gc-cathead__icon { width: 52px; height: 52px; font-size: 26px; border-radius: 15px; }

    .gc-article__dek { font-size: 17px; }
    .gc-article__body { font-size: 17px; }

    .gc-glance__row {
        grid-template-columns: 30px 64px minmax(0, 1fr);
        gap: 6px 12px; padding: 14px 16px;
    }
    .gc-glance__img { width: 64px; height: 56px; }
    .gc-glance__score { grid-column: 3; }
    .gc-glance__row .gc-buy { grid-column: 2 / -1; }

    .gc-product__top { flex-direction: column; align-items: stretch; }
    .gc-product__img { flex: none; width: 100%; aspect-ratio: 16 / 10; }
    .gc-product__body { align-items: stretch; }
    .gc-product__pc { grid-template-columns: 1fr; }
    .gc-buy { width: 100%; }

    .gc-authorbox { flex-direction: column; align-items: flex-start; }
    .gc-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Game embed [game] ---------- */
.gc-game { position: relative; width: 100%; margin: 24px 0 0; border-radius: 16px; overflow: hidden; background: #0d1117; }
.gc-game iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gc-game__cover {
    position: absolute; inset: 0; display: grid; place-items: center;
    background: linear-gradient(135deg, #1b2330, #0d1117) center / cover no-repeat;
}
.gc-game__cover::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.gc-game__play {
    position: relative; padding: 14px 26px; border: 0; border-radius: 999px;
    background: var(--accent); color: #fff; font: inherit; font-weight: 800; font-size: 18px; cursor: pointer;
    box-shadow: var(--shadow-lg); transition: transform .15s;
}
.gc-game__play:hover { transform: scale(1.05); }
.gc-game__bar { display: flex; justify-content: flex-end; margin: 8px 0 24px; }
.gc-game__fs {
    padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px;
    background: var(--surface); color: var(--text-2); font: inherit; font-weight: 700; cursor: pointer;
}
.gc-game__fs:hover { background: var(--surface-2); color: var(--text); }
.gc-game:fullscreen { border-radius: 0; }

@media (max-width: 1080px) {
    .gc-games { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .gc-games { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .gc-gamecard__name { font-size: 13px; }
}

/* ============================================================
 * Khu chơi game (/play-games/): menu dọc trái kiểu CrazyGames, tone sáng
 * ============================================================ */
.gc-arcade { display: grid; grid-template-columns: 236px minmax(0, 1fr); max-width: 1680px; margin: 0 auto; }
.gc-is-arcade .gc-header__inner { max-width: 1680px; }
.gc-arcade__side {
    position: sticky; top: var(--header-h); align-self: start;
    height: calc(100vh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    padding: 16px 12px 24px; background: var(--surface); border-right: 1px solid var(--line);
    scrollbar-width: thin;
}
.gc-side { display: flex; flex-direction: column; gap: 2px; }
.gc-side__item {
    display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px;
    font-weight: 700; font-size: 15px; color: var(--text-2); transition: background .15s, color .15s;
}
.gc-side__item:hover { background: var(--surface-2); color: var(--text); }
.gc-side__item.is-active { background: var(--accent-soft); color: var(--accent-ink); }
.gc-side__item--sub { font-weight: 600; font-size: 14px; color: var(--muted); }
.gc-side__ico { width: 24px; flex: none; text-align: center; font-size: 18px; line-height: 1; }
.gc-side__sep { width: 100%; border: 0; border-top: 1px solid var(--line); margin: 10px 0; }

.gc-arcade__main { min-width: 0; padding: 22px var(--gutter) 10px; }
.gc-arcade__head { margin-bottom: 18px; }
.gc-arcade__head h1 { font-size: clamp(24px, 2.6vw, 32px); }
.gc-arcade__head h1 small { font-size: .55em; color: var(--muted); font-weight: 700; }
.gc-arcade__head p, .gc-arcade__desc { margin: 6px 0 0; color: var(--muted); max-width: 760px; }
.gc-arcade__desc p { margin: 0; }

/* Ô game */
.gc-tile { position: relative; display: block; min-width: 0; border-radius: 14px; overflow: hidden; background: var(--surface-2); transition: transform .18s, box-shadow .18s; scroll-snap-align: start; }
.gc-tile:hover, .gc-tile:focus-visible { transform: translateY(-3px) scale(1.03); box-shadow: var(--shadow-lg); z-index: 1; }
.gc-tile__thumb {
    display: grid; place-items: center; aspect-ratio: 16 / 10;
    background: linear-gradient(140deg, hsl(var(--h, 255) 85% 66%), hsl(calc(var(--h, 255) + 40) 78% 50%));
}
.gc-tile__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gc-tile__emoji { font-size: clamp(30px, 3.6vw, 46px); line-height: 1; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .2)); }
.gc-tile__name {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px;
    background: linear-gradient(transparent, rgba(10, 12, 30, .72)); color: #fff;
    font-family: var(--font-head); font-weight: 800; font-size: 14px; line-height: 1.2;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
@media (hover: hover) {
    .gc-tile__name { opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s; }
    .gc-tile:hover .gc-tile__name, .gc-tile:focus-visible .gc-tile__name { opacity: 1; transform: none; }
}
.gc-tile--big { grid-column: span 2; grid-row: span 2; }
.gc-tile--big .gc-tile__thumb { height: 100%; aspect-ratio: auto; }
.gc-tile--big .gc-tile__emoji { font-size: clamp(56px, 7vw, 96px); }
.gc-tile--big .gc-tile__name { font-size: 18px; padding: 30px 14px 12px; }

/* Ô nổi bật: 1 to + 8 nhỏ */
.gc-featured { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }

/* Hàng cuộn ngang */
.gc-row { margin-top: 30px; }
.gc-row__head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.gc-row__title { font-size: 20px; }
.gc-row__more { font-weight: 700; font-size: 14px; color: var(--accent); }
.gc-row__more:hover { color: var(--accent-ink); }
.gc-row__nav { display: flex; gap: 6px; margin-left: auto; }
.gc-row__btn {
    display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
    border: 1px solid var(--line); border-radius: 50%; background: var(--surface);
    font-size: 20px; line-height: 1; color: var(--text-2);
}
.gc-row__btn:hover { border-color: var(--accent); color: var(--accent); }
.gc-row__track {
    display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 14vw, 212px); gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 6px 4px 10px; margin: -6px -4px 0;
}
.gc-row__track::-webkit-scrollbar { display: none; }

/* Lưới trang thể loại */
.gc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }

.gc-arcade__about {
    margin: 44px 0 10px; padding: 24px clamp(18px, 3vw, 32px);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.gc-arcade__about h2 { font-size: 22px; margin-bottom: 8px; }
.gc-arcade__about p { color: var(--text-2); margin: 8px 0 0; }
.gc-arcade__about a { color: var(--accent); font-weight: 600; }

@media (max-width: 1080px) {
    .gc-arcade { grid-template-columns: minmax(0, 1fr); }
    .gc-arcade__side {
        top: var(--header-h); z-index: 20; height: auto; overflow: visible; padding: 8px 0;
        border-right: 0; border-bottom: 1px solid var(--line);
    }
    .gc-side { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-inline: var(--gutter); gap: 6px; }
    .gc-side::-webkit-scrollbar { display: none; }
    .gc-side__item { flex: none; padding: 7px 12px; font-size: 14px; border: 1px solid var(--line); border-radius: 999px; }
    .gc-side__ico { width: auto; font-size: 16px; }
    .gc-side__sep { display: none; }
    .gc-featured { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .gc-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .gc-tile--big { grid-row: auto; }
    .gc-tile--big .gc-tile__thumb { aspect-ratio: 16 / 10; height: auto; }
    .gc-row__track { grid-auto-columns: 44vw; gap: 10px; }
    .gc-row__nav { display: none; }
    .gc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .gc-tile__name { font-size: 13px; }
}

/* Trang chơi game (bài có khung Game): khung to, cao tối đa ~78% màn hình */
.gc-gameplayer { margin: 6px 0 28px; }
.gc-gameplayer .gc-game--page { width: min(100%, calc(78vh * var(--r, 1.7778))); margin: 0 auto; }
.gc-gameplayer .gc-game__bar { width: min(100%, calc(78vh * var(--r, 1.7778))); margin: 8px auto 0; }
.gc-gameplayer + .gc-article-wrap { margin-top: 0; }
@media (max-width: 720px) {
    .gc-game__play { max-width: calc(100% - 32px); padding: 12px 20px; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ============================================================
 * Trang chơi game (single-game.php): bố cục kiểu CrazyGames, tone sáng
 * ============================================================ */
.gc-play-main { padding-top: 16px; }
.gc-play {
    --sh: clamp(380px, calc(100vh - var(--header-h) - 140px), 760px);
    display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 16px; align-items: start;
}
.gc-play--solo { grid-template-columns: minmax(0, 1fr); }
.gc-play__col { min-width: 0; }

.gc-stage {
    position: relative; height: var(--sh); display: flex; align-items: center; justify-content: center;
    background: #1b1e30; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
}
.gc-stage__bg { position: absolute; inset: -40px; background: center / cover no-repeat; filter: blur(30px) brightness(.6) saturate(1.2); }
.gc-stage .gc-game--stage { position: relative; margin: 0; width: min(100%, calc(var(--sh) * var(--r, 1.7778))); border-radius: 0; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.gc-stage .gc-game__bar { display: none; }
.gc-stage .gc-game:fullscreen { width: 100%; }

.gc-playbar {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px;
    background: var(--surface); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius);
}
.gc-playbar__thumb { flex: none; width: 48px; height: 48px; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.gc-playbar__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gc-playbar__info { min-width: 0; }
.gc-playbar__title { font-size: 19px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-playbar__actions { display: flex; gap: 8px; margin-left: auto; flex: none; }
.gc-playbtn {
    display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px;
    border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
    font-weight: 700; font-size: 14px; color: var(--text-2); transition: border-color .15s, color .15s, background .15s;
}
.gc-playbtn:hover { border-color: var(--accent); color: var(--accent); }
.gc-playbtn--main { background: var(--accent); border-color: var(--accent); color: #fff; }
.gc-playbtn--main:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }

.gc-play__side { max-height: calc(var(--sh) + 74px); overflow-y: auto; scrollbar-width: thin; padding: 4px; margin: -4px; }
.gc-play__sidegrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.gc-gameinfo { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; margin: 32px 0 10px; }
.gc-gameinfo__body, .gc-gameinfo__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.gc-gameinfo__body { padding: 24px clamp(18px, 3vw, 32px); }
.gc-gameinfo__title { font-size: 22px; margin-bottom: 12px; }
.gc-gameinfo__body .gc-prose h2 { font-size: 19px; margin: 1.4em 0 .5em; }
.gc-gameinfo__card { padding: 18px 20px; position: sticky; top: calc(var(--header-h) + 16px); }
.gc-gameinfo__card dl { margin: 0; }
.gc-gameinfo__card dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.gc-gameinfo__card dt { color: var(--muted); }
.gc-gameinfo__card dd { margin: 0; font-weight: 600; text-align: right; }
.gc-gameinfo__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

@media (max-width: 1280px) {
    .gc-play { grid-template-columns: minmax(0, 1fr); }
    /* Màn nhỏ: bỏ cột đề xuất (trùng với hàng "More ... Games" ngay bên dưới), như CrazyGames. */
    .gc-play__side { display: none; }
}
@media (max-width: 720px) {
    .gc-play-main { padding-top: 10px; }
    .gc-stage { height: auto; padding: 0; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
    .gc-stage .gc-game--stage { width: min(100%, calc(76vh * var(--r, 1.7778))); }
    .gc-playbar { padding: 10px 12px; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
    .gc-playbar__thumb { width: 40px; height: 40px; }
    .gc-playbar__title { font-size: 16px; white-space: normal; }
    .gc-playbtn { padding: 9px; }
    .gc-playbtn span { display: none; }
    .gc-gameinfo { grid-template-columns: minmax(0, 1fr); }
    .gc-gameinfo__card { position: static; }
}

/* Tag game (chip kiểu CrazyGames) */
.gc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.gc-tag {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
    font-weight: 700; font-size: 14px; color: var(--text-2); transition: border-color .15s, color .15s, transform .15s;
}
.gc-tag:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.gc-tag small { padding: 1px 7px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 700; }

/* Cảnh báo thiết bị không hỗ trợ (trang game) */
.gc-platwarn {
    margin: 0 0 12px; padding: 12px 16px; border-radius: 12px;
    background: #fff4e5; border: 1px solid #ffd7a3; color: #7a4100; font-size: 15px; line-height: 1.5;
}
.gc-platwarn strong { display: block; color: #6b3500; }

/* Lưới ảnh chụp màn hình trong bài game */
.gc-prose .gc-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 0 0 1.4em; }
.gc-prose .gc-shots img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }

.gc-home-about { margin-top: 48px; }

/* Hero gọn (trang chủ): section nội dung lộ ra sớm hơn */
.home .gc-section:first-child { margin-top: 32px; }
@media (max-width: 720px) {
    .gc-hero__sub { display: none; }
    .gc-hero__search { margin-top: 16px; }
}

/* Mục lục nằm sau intro: chừa khoảng cách với đoạn intro */
.gc-article__intro + .gc-toc { margin-top: 24px; }

/* Điểm game + nhãn HOT */
.gc-hot {
    display: inline-block; padding: 2px 8px; border-radius: 6px;
    background: linear-gradient(135deg, #ff3d5a, #ff8a00); color: #fff;
    font-family: var(--font-head); font-size: 11px; font-weight: 900; letter-spacing: .06em; line-height: 1.5;
}
.gc-hot--tile { position: absolute; top: 8px; left: 8px; z-index: 1; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.gc-playbar__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2px; font-size: 13px; }
.gc-playbar__score { font-weight: 800; color: var(--text); }

.gc-gameinfo__card dd a { color: var(--accent); font-weight: 700; }
.gc-gameinfo__card dd a:hover { text-decoration: underline; }

/* Hàng game có dòng mô tả nhỏ (kiểu CrazyGames) */
.gc-row__titles { min-width: 0; }
.gc-row__sub { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.gc-arcade__about h3 { font-size: 17px; margin: 18px 0 4px; }

/* Khối SEO cuối trang /play-games/ (kiểu CrazyGames): chữ thu gọn + "Learn more" bên trái, ô tag lớn bên phải */
.gc-seo {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 32px; align-items: start;
    margin: 44px 0 10px; padding: 26px clamp(18px, 3vw, 32px);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.gc-seo__text { position: relative; max-height: 190px; overflow: hidden; color: var(--text-2); font-size: 15px; line-height: 1.65; }
.gc-seo__text::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(rgba(255, 255, 255, 0), var(--surface)); pointer-events: none; }
.gc-seo.is-open .gc-seo__text { max-height: none; }
.gc-seo.is-open .gc-seo__text::after { display: none; }
.gc-seo__text h1 { font-size: 22px; margin: 0 0 8px; color: var(--text); }
.gc-seo__text h2 { font-size: 17px; margin: 18px 0 6px; color: var(--text); }
.gc-seo__text p { margin: 0 0 10px; }
.gc-seo__text ul { margin: 0 0 10px; padding-left: 20px; columns: 2; }
.gc-seo__text a { color: var(--accent); font-weight: 600; }
.gc-seo__more { grid-column: 1; justify-self: start; padding: 0; border: 0; background: none; color: var(--accent); font-weight: 800; font-size: 15px; cursor: pointer; }
.gc-seo__more:hover { text-decoration: underline; }
.gc-seo__cards {
    grid-column: 2; grid-row: 1 / span 2; display: grid; grid-auto-flow: column; grid-auto-columns: 128px; gap: 10px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 6px;
}
.gc-seo__col { display: grid; gap: 10px; scroll-snap-align: start; }
.gc-seo__card {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    height: 112px; padding: 10px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line);
    text-align: center; transition: transform .15s, border-color .15s, background .15s;
}
.gc-seo__card:hover { transform: translateY(-2px); border-color: var(--accent); background: var(--accent-soft); }
.gc-seo__icon { font-size: 34px; line-height: 1; }
.gc-seo__label { font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--text); line-height: 1.2; }
@media (max-width: 1080px) {
    .gc-seo { grid-template-columns: minmax(0, 1fr); }
    .gc-seo__cards { grid-column: 1; grid-row: auto; order: -1; }
    .gc-seo__more { grid-column: 1; }
}

/* Nút "Play now" khi rê chuột vào ô game ở trang chủ */
.gc-gamecard__play { font-size: 14px; }
.gc-gamecard__btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px;
    background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 14px; line-height: 1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25); transform: translateY(4px); transition: transform .15s;
}
.gc-gamecard:hover .gc-gamecard__btn, .gc-gamecard:focus-visible .gc-gamecard__btn { transform: none; }

/* Trang tác giả */
.gc-authorhead { display: flex; align-items: flex-start; gap: 22px; margin: 18px 0 8px; padding: 26px clamp(18px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.gc-authorhead .gc-avatar { flex: none; }
.gc-authorhead__name { font-size: clamp(26px, 3vw, 34px); }
.gc-authorhead__role { margin: 4px 0 0; color: var(--muted); font-weight: 600; }
.gc-authorhead__role a { color: var(--accent); }
.gc-authorhead__bio { margin: 12px 0 0; color: var(--text-2); max-width: 70ch; line-height: 1.65; }
@media (max-width: 720px) { .gc-authorhead { flex-direction: column; gap: 14px; } }

@media (max-width: 720px) { .gc-logo__img { height: 46px; } }

/* Trang Our Team */
.gc-pagehead { max-width: 780px; margin: 18px 0 24px; }
.gc-pagehead h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 12px; }
.gc-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 40px; }
.gc-team__card { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.gc-team__top { display: flex; align-items: center; gap: 14px; }
.gc-team__top > span { display: flex; flex-direction: column; }
.gc-team__name { font-family: var(--font-head); font-weight: 900; font-size: 20px; color: var(--text); }
.gc-team__role { color: var(--muted); font-weight: 600; font-size: 14px; }
.gc-team__bio { margin: 14px 0 10px; color: var(--text-2); line-height: 1.6; font-size: 15px; }
.gc-team__links { margin: 0; font-size: 14px; font-weight: 700; }
.gc-team__links a { color: var(--accent); }

/* Chữ cái đầu nằm giữa ảnh đại diện tròn (mọi cỡ) */
.gc-avatar { display: inline-grid !important; place-items: center; line-height: 1 !important; flex: none; }

/* ============================================================
 * Khung game theo thiết bị
 * - PC / tablet ngang: luôn 16:9 (game dọc tự căn giữa bên trong).
 * - Điện thoại dọc: game dọc giữ khung dọc; game ngang hiện lời nhắc xoay máy.
 * - Điện thoại xoay ngang: khung game phủ kín màn hình.
 * ============================================================ */
@media (min-width: 721px) {
    .gc-stage .gc-game--stage { aspect-ratio: 16 / 9 !important; width: min(100%, calc(var(--sh) * 1.7778)); }
}
.gc-rotate { display: none; }
@media (hover: none) and (orientation: portrait) and (max-width: 900px) {
    .gc-stage[data-orient="landscape"] { min-height: 260px; }
    .gc-stage[data-orient="landscape"]:not(.is-skipped) .gc-rotate {
        position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
        padding: 20px; text-align: center; color: #fff; background: rgba(15, 17, 35, .82); backdrop-filter: blur(4px);
    }
    .gc-rotate strong { font-family: var(--font-head); font-size: 20px; }
    .gc-rotate span { font-size: 14px; opacity: .85; }
    .gc-rotate__ico { animation: gc-rotate 2.2s ease-in-out infinite; }
    .gc-rotate__skip { margin-top: 6px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; background: none; color: #fff; font: inherit; font-weight: 700; font-size: 14px; }
}
@keyframes gc-rotate { 0%, 20% { transform: rotate(0); } 50%, 70% { transform: rotate(-90deg); } 100% { transform: rotate(0); } }
@media (hover: none) and (orientation: landscape) and (max-height: 520px) {
    /* Trang game: header + dải menu không dính đầu, để khung game phủ kín màn hình khi xoay ngang */
    .gc-is-arcade.single .gc-header, .gc-is-arcade.single .gc-arcade__side { position: static; }
    .gc-play-main { padding-top: 0; }
    .gc-play { --sh: 100svh; }
    .gc-stage { height: 100svh; border-radius: 0; }
    .gc-stage .gc-game--stage { aspect-ratio: auto !important; height: 100%; width: min(100%, calc(100svh * 1.7778)); }
    .gc-stage[data-orient="portrait"] .gc-game--stage { width: min(100%, calc(100svh * var(--r))); }
}

/* Toàn màn hình (thật qua Fullscreen API, hoặc giả lập trên iPhone) */
.gc-stage:fullscreen, .gc-stage:-webkit-full-screen { height: 100%; width: 100%; border-radius: 0; }
.gc-stage:fullscreen .gc-game--stage, .gc-stage:-webkit-full-screen .gc-game--stage { width: 100% !important; height: 100% !important; aspect-ratio: auto !important; }
.gc-stage.is-fakefs {
    position: fixed; inset: 0; z-index: 99999; width: 100vw; height: 100vh; height: 100dvh; border-radius: 0;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.gc-stage.is-fakefs .gc-game--stage { width: 100% !important; height: 100% !important; aspect-ratio: auto !important; box-shadow: none; }

html.gc-noscroll, html.gc-noscroll body { overflow: hidden; height: 100%; }

/* Toàn màn hình giả lập (iPhone): thanh có nút Exit nằm NGOÀI khung game, game chiếm phần còn lại */
.gc-fsbar { display: none; }
.gc-stage.is-fakefs { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; }
.gc-stage.is-fakefs .gc-fsbar {
    position: relative; z-index: 5; display: flex; align-items: center; gap: 10px; flex: none;
    height: 48px; padding: 0 10px 0 14px; background: #15172b; color: #fff; order: -1; /* trên cùng (dọc) / bên trái (ngang) */
}
.gc-fsbar__title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-head); font-weight: 800; font-size: 15px; }
.gc-fsbar__exit {
    display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 8px 14px; border: 0; border-radius: 999px;
    background: var(--accent); color: #fff; font: inherit; font-weight: 800; font-size: 14px; line-height: 1; cursor: pointer;
}
.gc-fsbar__exit:active { background: var(--accent-ink); }
.gc-stage.is-fakefs .gc-game--stage { flex: 1; min-height: 0; width: 100% !important; height: auto !important; }
.gc-stage.is-fakefs .gc-stage__bg { display: none; }
.gc-stage.is-fakefs .gc-rotate { top: 48px; }
@media (orientation: landscape) {
    .gc-stage.is-fakefs { flex-direction: row; }
    .gc-stage.is-fakefs .gc-fsbar { flex-direction: column; justify-content: center; width: 56px; height: auto; padding: 8px 0; }
    .gc-stage.is-fakefs .gc-fsbar__title { display: none; }
    .gc-stage.is-fakefs .gc-fsbar__exit { flex-direction: column; gap: 4px; padding: 10px 6px; border-radius: 12px; font-size: 12px; }
    .gc-stage.is-fakefs .gc-game--stage { height: 100% !important; width: auto !important; }
    .gc-stage.is-fakefs .gc-rotate { top: 0; left: 56px; }
}

/* Mobile/tablet: logo nằm giữa header (nút menu bên trái, tìm kiếm bên phải) */
@media (max-width: 1080px) {
    .gc-header__inner { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; }
    .gc-header__inner .gc-logo { margin: 0; justify-self: center; }
    .gc-header__inner .gc-search-toggle { justify-self: end; }
}

/* Mobile: footer căn giữa (logo, mô tả, các cột link, dòng bản quyền) */
@media (max-width: 720px) {
    .gc-footer__grid { text-align: center; gap: 26px; }
    .gc-footer__brand { display: flex; flex-direction: column; align-items: center; }
    .gc-footer__brand p { margin-inline: auto; }
    .gc-footer ul { justify-items: center; }
    .gc-footer__bottom { text-align: center; }
}

/* Mobile: link footer xếp 2 cột trong mỗi nhóm cho gọn */
@media (max-width: 720px) {
    .gc-footer ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; row-gap: 10px; max-width: 340px; margin-inline: auto; }
}

/* =====================================================================
   Bố cục bài "Best ..." kiểu PCMag (10/2026)
   Our Top Picks (tóm tắt) -> thẻ chi tiết từng sản phẩm -> mục lục dính bên phải
   ===================================================================== */

/* --- Our Top Picks: danh sách tóm tắt --- */
.gc-quick { margin: 8px 0 36px; scroll-margin-top: calc(var(--header-h) + 16px); }
.gc-quick__title { font-size: clamp(24px, 2.6vw, 30px); margin: 0 0 16px; }
.gc-quick__item {
    display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 22px; align-items: start;
    padding: 20px; margin-bottom: 14px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.gc-quick__img {
    position: relative; display: grid; place-items: center; overflow: hidden;
    aspect-ratio: 1; border-radius: 12px; background: #fff; border: 1px solid var(--line);
    font-family: var(--font-head); font-weight: 900; font-size: 28px; color: var(--accent);
}
.gc-quick__img img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; }
.gc-quick__badge { font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.gc-quick__name { font-size: 20px; line-height: 1.25; margin: 0 0 8px; }
.gc-quick__name a { color: var(--text); }
.gc-quick__name a:hover { color: var(--accent); }
.gc-quick__bottom { margin: 0 0 10px; font-size: 15.5px; color: var(--text-2); line-height: 1.6; }
.gc-quick__bottom strong, .gc-product__bottom strong { color: var(--text); }
.gc-quick__pc { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; margin: 0 0 14px; }
.gc-quick__pc ul { list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--text-2); }
.gc-quick__pc li { position: relative; padding-left: 18px; margin: 0 0 4px; line-height: 1.45; }
.gc-quick__pros li::before { content: "+"; position: absolute; left: 2px; font-weight: 900; color: var(--good); }
.gc-quick__cons li::before { content: "–"; position: absolute; left: 2px; font-weight: 900; color: var(--bad); }
.gc-quick__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.gc-quick__jump { font-size: 14px; font-weight: 700; color: var(--accent-ink); }
.gc-quick__jump::after { content: " ↓"; }

/* --- Thẻ chi tiết sản phẩm --- */
.gc-product { padding: clamp(18px, 3vw, 28px); }
.gc-product__label { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.gc-product__rank { width: 32px; height: 32px; border-radius: 10px; font-size: 16px; }
.gc-product__badge { font-size: 13px; font-weight: 800; letter-spacing: .07em; }
.gc-prose .gc-product__name { margin: 0 0 18px; font-size: clamp(22px, 2.4vw, 27px); }
.gc-product__top { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.gc-product__img { flex: none; width: 100%; }
.gc-product__summary { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.gc-product__bottom { margin: 0; font-size: 16px; line-height: 1.6; }
.gc-product__summary .gc-product__pc { margin-top: 0; width: 100%; }
.gc-product__text { margin-top: 22px; font-size: 16.5px; }
.gc-product__text h4, .gc-product__h {
    margin: 22px 0 10px; padding-top: 18px; border-top: 1px solid var(--line);
    font-family: var(--font-head); font-size: 15px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--text);
}
.gc-product__text ul { margin: 0 0 .6em; padding-left: 1.1em; }
.gc-product__text li { margin-bottom: .55em; }
.gc-product__text li strong { color: var(--text); }
.gc-product__specs { margin-top: 4px; }
.gc-spectable { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.gc-spectable > div { display: grid; grid-template-columns: minmax(120px, 34%) minmax(0, 1fr); }
.gc-spectable > div:nth-child(odd) { background: var(--surface-2); }
.gc-spectable dt, .gc-spectable dd { margin: 0; padding: 10px 14px; font-size: 14.5px; line-height: 1.45; }
.gc-spectable dt { font-weight: 700; color: var(--muted); }
.gc-spectable dd { color: var(--text); font-weight: 600; }
.gc-product__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.gc-prose a.gc-product__back { font-size: 14px; font-weight: 700; text-decoration: none; }

/* --- Mục lục dính bên phải --- */
.gc-sidetoc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 18px 14px; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; }
.gc-sidetoc__title { font-family: var(--font-head); font-weight: 900; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.gc-sidetoc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.gc-sidetoc li { counter-increment: toc; }
.gc-sidetoc a { display: grid; grid-template-columns: 24px 1fr; padding: 7px 4px; font-size: 14.5px; line-height: 1.35; color: var(--text-2); border-radius: 8px; }
.gc-sidetoc a::before { content: counter(toc); font-weight: 800; color: var(--accent); }
.gc-sidetoc a:hover { background: var(--surface-2); color: var(--text); }
@media (min-width: 1081px) {
    .gc-toc--has-side { display: none; }
}

@media (max-width: 720px) {
    .gc-quick__item { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 16px; }
    .gc-quick__name { font-size: 18px; }
    .gc-quick__pc { grid-template-columns: 1fr; }
    .gc-product__top { grid-template-columns: 1fr; }
    .gc-product__img { aspect-ratio: 16 / 10; }
    .gc-spectable > div { grid-template-columns: 1fr; }
    .gc-spectable dt { padding-bottom: 0; }
    .gc-spectable dd { padding-top: 2px; }
    .gc-product__foot .gc-buy { width: 100%; }
}
