/* =====================================================================
   皮肤布局：brutal —— 野兽派（粗黑边 + 硬投影 + 贴纸）
   ---------------------------------------------------------------------
   骨架特征：满宽黑色顶栏、粗边框导航按钮、巨型标题、8px 硬投影卡片、
   旋转贴纸标签、黑白交替榜单行。全部直角。
   ===================================================================== */

.bru-top {
    background: #000; color: var(--bg);
    font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.bru-top-in {
    max-width: 1400px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 7px 20px;
}
.bru-top a { color: var(--bg); }
.bru-top a:hover { color: #f2ff4a; }

.bru-header {
    background: var(--bg);
    border-bottom: 4px solid #000;
}
.bru-nav {
    max-width: 1400px; margin: 0 auto;
    display: flex; align-items: center; gap: 14px;
    padding: 16px 20px;
}
.bru-logo {
    font-family: var(--font-display); font-weight: 900;
    font-size: 24px; letter-spacing: -.03em;
    color: #000; -webkit-text-fill-color: #000; background: none;
    padding: 2px 10px; border: 4px solid #000; box-shadow: 5px 5px 0 #000;
    background: var(--accent); color: #000;
}
.bru-logo:hover { color: #000; background: var(--bg); }
.bru-navlinks { display: flex; gap: 8px; flex: 1; flex-wrap: wrap; }
.bru-navlinks a {
    padding: 5px 12px; border: 3px solid #000; background: var(--panel);
    color: #000; font-size: 12px; font-weight: 700; letter-spacing: .02em;
    border-radius: 0; box-shadow: 3px 3px 0 #000;
    transition: transform .08s ease, box-shadow .08s ease, background .12s;
}
.bru-navlinks a::after { display: none; }
.bru-navlinks a:hover {
    background: var(--accent-2); color: #fff;
    transform: translate(-2px, -2px); box-shadow: 5px 5px 0 #000;
}
.bru-account { gap: 12px; font-size: 12px; font-weight: 700; }
.bru-account a { color: #000; text-decoration: underline; text-underline-offset: 3px; }
.bru-account a:hover { color: var(--accent); }
.bru-account .lang-switch { background: var(--panel); border: 3px solid #000; border-radius: 0; padding: 0; }
.bru-account .lang-switch a { border-radius: 0; padding: 2px 8px; text-decoration: none; font-size: 11px; }
.bru-account .lang-switch a.is-current { background: #000; color: var(--bg); }

.bru-main { max-width: 1400px; padding: 0 26px 70px 20px; }

/* 首屏 */
.bru-hero {
    margin: 22px 0 0;
    border: 4px solid #000; box-shadow: 10px 10px 0 #000;
    min-height: 400px; border-radius: 0;
}
.bru-hero-content { padding: 34px 34px 40px; gap: 12px; max-width: 760px; }
.bru-hero-content h1 {
    font-size: 68px; line-height: .98; letter-spacing: -.03em;
    text-transform: uppercase;
}
.bru-hero .hero-description { font-size: 16px; color: #fff; max-width: 46ch; }
.bru-hero .btn-primary {
    background: var(--bg); color: #000; border: 4px solid #000;
    box-shadow: 5px 5px 0 #000; font-weight: 900; text-transform: uppercase;
}
.bru-hero .btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #000; }

/* 搜索条：粗边框大控件 */
.bru-search {
    display: flex; align-items: stretch; gap: 0;
    margin: 22px 0 8px; border: 4px solid #000; box-shadow: 8px 8px 0 #000;
    background: var(--panel);
}
.bru-search input {
    flex: 1; min-width: 0; border: 0; background: transparent;
    padding: 14px 16px; font: inherit; font-size: 16px; font-weight: 700; color: #000;
}
.bru-search input:focus { outline: none; }
.bru-search button {
    border: 0; border-left: 4px solid #000; background: var(--accent); color: #000;
    font: inherit; font-size: 14px; font-weight: 900; text-transform: uppercase;
    padding: 0 22px; cursor: pointer;
}
.bru-search button:hover { background: #000; color: var(--bg); }

/* 区块标题：大字 + 粗线 */
.bru-band { padding: 40px 0 0; }
.bru-band-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
    border-bottom: 4px solid #000; padding-bottom: 10px; margin-bottom: 20px;
}
.bru-band-head h2 {
    margin: 0; font-family: var(--font-display); font-weight: 900;
    font-size: 34px; letter-spacing: -.03em; text-transform: uppercase;
}
.bru-band-head a {
    font-size: 12px; font-weight: 900; text-transform: uppercase;
    padding: 4px 10px; border: 3px solid #000; box-shadow: 3px 3px 0 #000; background: var(--panel);
    color: #000;
}
.bru-band-head a:hover { background: var(--accent-2); color: #fff; transform: translate(-1px, -1px); }

/* 卡片：色块 + 硬投影 */
/* 间距按「投影偏移 6~10px」预留，否则相邻卡片的影子会贴到下一张的黑边上 */
.bru-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.bru-card {
    display: flex; flex-direction: column; gap: 8px;
    background: var(--panel); border: 4px solid #000; box-shadow: 6px 6px 0 #000;
    padding: 10px; transition: transform .08s ease, box-shadow .08s ease;
}
.bru-card:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 #000; }
.bru-art {
    display: block; aspect-ratio: 1 / 1; overflow: hidden;
    border: 3px solid #000; background: var(--bg-soft);
}
.bru-art img { width: 100%; height: 100%; object-fit: cover; }
.bru-fallback {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; font-family: var(--font-display); font-size: 40px; color: #000;
}
.bru-name {
    margin: 0; font-size: 14px; font-weight: 900; line-height: 1.25;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bru-meta {
    margin: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: #3d3d2a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bru-price {
    align-self: flex-start; margin-top: auto;
    font-size: 12px; font-weight: 900; text-transform: uppercase;
    padding: 2px 8px; border: 3px solid #000; background: #fff; color: #000;
}
/* 语义固定：免费/限免 = 红底白字，付费 = 白底黑字 */
.bru-price.is-free { background: var(--accent); color: #fff; }

/* 榜单：黑白交替行 + 巨型数字 */
.bru-chart { border: 4px solid #000; box-shadow: 8px 8px 0 #000; background: var(--panel); }
.bru-row {
    display: grid; grid-template-columns: 86px minmax(0, 1fr) auto;
    align-items: center; gap: 16px;
    padding: 12px 16px; border-bottom: 4px solid #000;
    color: #000;
}
.bru-row:nth-child(odd) { background: var(--bg); }
.bru-row:last-child { border-bottom: 0; }
.bru-row:hover { background: #000; color: var(--bg); }
.bru-row-no {
    font-family: var(--font-display); font-size: 40px; line-height: 1;
    -webkit-text-stroke: 2px #000; color: transparent;
}
.bru-row:hover .bru-row-no { -webkit-text-stroke-color: var(--bg); }
.bru-row-name { font-size: 15px; font-weight: 900; }
.bru-row-meta { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.bru-row-price { font-size: 13px; font-weight: 900; text-transform: uppercase; }

/* 贴纸云：年份 / 厂商 */
.bru-stickers { display: flex; flex-wrap: wrap; gap: 12px; padding: 6px 0 4px; }
.bru-sticker {
    display: inline-flex; align-items: baseline; gap: 6px;
    padding: 5px 12px; border: 3px solid #000; background: var(--panel);
    font-size: 13px; font-weight: 900; color: #000; box-shadow: 3px 3px 0 #000;
    transform: rotate(-1.2deg);
}
.bru-sticker:nth-child(3n) { transform: rotate(1.4deg); background: var(--accent-2); color: #fff; }
.bru-sticker:nth-child(3n+1) { background: var(--bg); }
.bru-sticker i { font-style: normal; font-size: 10px; opacity: .7; }
.bru-sticker:hover { transform: rotate(0) translate(-2px, -2px); box-shadow: 5px 5px 0 #000; }

/* 页脚：整块黑 */
.bru-foot { background: #000; color: var(--bg); margin-top: 44px; }
.bru-foot-in {
    max-width: 1400px; margin: 0 auto;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px; padding: 30px 20px 40px;
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.bru-foot-in a { color: var(--bg); text-decoration: underline; text-underline-offset: 3px; }
.bru-foot-in a:hover { color: #f2ff4a; }
.bru-foot-brand { font-family: var(--font-display); font-size: 22px; letter-spacing: -.02em; }
.bru-foot p { margin: 8px 0 0; font-size: 11px; opacity: .8; text-transform: none; letter-spacing: 0; }

/* 内页 */
.skin-brutal .section { padding: 30px 0; }
.skin-brutal .section-heading {
    align-items: flex-end; border-bottom: 4px solid #000;
    padding-bottom: 10px; margin-bottom: 20px;
}
.skin-brutal .section-heading h1,
.skin-brutal .section-heading h2 {
    font-family: var(--font-display); font-size: 30px; text-transform: uppercase; letter-spacing: -.02em;
}
.skin-brutal .section-kicker { color: #000; background: var(--accent); padding: 1px 6px; display: inline-block; }
.skin-brutal .game-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.skin-brutal .game-card {
    border: 4px solid #000; box-shadow: 6px 6px 0 #000; border-radius: 0; padding: 10px;
    background: var(--panel);
}
.skin-brutal .game-card-icon, .skin-brutal .rank-item .game-card-icon {
    border-radius: 0; border: 3px solid #000;
}
.skin-brutal .game-card-price { background: var(--bg); border: 3px solid #000; color: #000; }
.skin-brutal .game-card-price.is-free { background: var(--accent); color: #fff; }
.skin-brutal .filter-bar { border: 4px solid #000; box-shadow: 6px 6px 0 #000; border-radius: 0; }
.skin-brutal .filter-option, .skin-brutal .chip, .skin-brutal .pager-link, .skin-brutal .btn { border-radius: 0; border-width: 3px; }
.skin-brutal .content-page, .skin-brutal .auth-card, .skin-brutal .detail-hero {
    border: 4px solid #000; box-shadow: 8px 8px 0 #000; border-radius: 0;
}
.skin-brutal .rank-item { padding-left: 0; }
.skin-brutal .rank-no {
    top: 4px; left: 4px; transform: none; font-size: 26px;
    -webkit-text-stroke: 2px #000; color: var(--bg); text-shadow: none;
}

@media (max-width: 960px) {
    .bru-hero-content h1 { font-size: 44px; }
    .bru-band-head h2 { font-size: 26px; }
    .bru-foot-in { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 720px) {
    .bru-top-in { font-size: 9px; padding: 6px 12px; }
    .bru-nav { flex-wrap: wrap; padding: 12px; gap: 10px; }
    .bru-logo { font-size: 18px; border-width: 3px; box-shadow: 3px 3px 0 #000; }
    .nav-toggle { border: 3px solid #000; border-radius: 0; }
    .bru-navlinks {
        display: none; position: absolute; z-index: 2;
        top: calc(100% + 4px); left: 10px; right: 10px;
        flex-direction: column; gap: 8px;
        background: var(--bg); border: 4px solid #000;
        box-shadow: 6px 6px 0 #000; padding: 12px;
    }
    .bru-navlinks.is-open { display: flex; }
    .bru-header { position: relative; }
    .bru-main { padding: 0 12px 46px; }
    .bru-hero { min-height: 300px; box-shadow: 6px 6px 0 #000; }
    .bru-hero-content { padding: 20px; }
    .bru-hero-content h1 { font-size: 30px; }
    .bru-search input { font-size: 14px; padding: 11px 12px; }
    .bru-grid, .skin-brutal .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .bru-row { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 10px; }
    .bru-row-no { font-size: 26px; }
    .bru-row-price { grid-column: 2; font-size: 11px; }
    .bru-band { padding-top: 28px; }
}
