:root {
    --blue-950: #052d50;
    --blue-900: #063d69;
    --blue-800: #075c96;
    --blue-700: #087bd1;
    --blue-600: #079bea;
    --cyan-500: #25c7e7;
    --cyan-300: #76e5f3;
    --ice-100: #e8faff;
    --ice-50: #f6fdff;
    --ink: #082f50;
    --muted: #617f93;
    --line: #cce6ef;
    --gold: #ffbd25;
    --gold-dark: #a85b00;
    --success: #12a573;
    --danger: #c73550;
    --white: #fff;
    --shadow: 0 24px 60px rgba(1, 60, 102, .16);
    --soft-shadow: 0 12px 30px rgba(1, 70, 110, .11);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shell: 1180px;
    color-scheme: light;
    font-family: Inter, ui-rounded, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--ice-50); font-size: 16px; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 9999; top: 8px; left: 8px; padding: 10px 14px; border-radius: 10px; color: white; background: var(--blue-950); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 1000; top: 0; right: 0; left: 0; border-bottom: 1px solid rgba(255, 255, 255, .18); color: white; background: rgba(5, 77, 130, .22); backdrop-filter: blur(14px); transition: .25s ease; }
.site-header.scrolled { color: var(--ink); background: rgba(255, 255, 255, .94); border-color: rgba(7, 89, 145, .12); box-shadow: 0 8px 28px rgba(0, 54, 92, .1); }
.header-inner { min-height: 84px; display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 24px; }
.brand img { width: 165px; height: 72px; object-fit: contain; border-radius: 14px; filter: drop-shadow(0 5px 7px rgba(0, 44, 83, .24)); }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 38px); font-size: 14px; font-weight: 800; }
.main-nav a { position: relative; padding: 10px 2px; }
.main-nav a::after { position: absolute; right: 50%; bottom: 3px; left: 50%; height: 3px; border-radius: 3px; background: var(--gold); content: ""; transition: .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; left: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; width: 44px; height: 44px; place-items: center; padding: 10px; border: 0; border-radius: 13px; color: inherit; background: rgba(255, 255, 255, .16); }
.menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 3px 0; border-radius: 2px; background: currentColor; }
.account-pill { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 5px 13px 5px 5px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 24px; color: inherit; background: rgba(255, 255, 255, .14); font-size: 13px; font-weight: 900; cursor: pointer; }
.scrolled .account-pill { border-color: var(--line); background: var(--ice-100); }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 19px; border: 1px solid transparent; border-radius: 15px; font-size: 14px; font-weight: 900; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.button:hover { transform: translateY(-2px); filter: brightness(1.02); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(255, 190, 38, .9); outline-offset: 3px; }
.button-primary { color: white; background: linear-gradient(145deg, var(--cyan-500), var(--blue-700)); box-shadow: inset 0 -3px 0 rgba(0, 59, 128, .25), 0 10px 22px rgba(4, 120, 198, .25); }
.button-light { color: var(--blue-900); background: white; box-shadow: var(--soft-shadow); }
.button-ghost { min-height: 42px; color: inherit; border-color: rgba(255, 255, 255, .48); background: rgba(255, 255, 255, .12); }
.scrolled .button-ghost { border-color: var(--line); background: white; }
.button-gold { color: #704000; background: linear-gradient(145deg, #ffe76b, #ffae18); box-shadow: inset 0 -3px 0 rgba(143, 76, 0, .2), 0 12px 24px rgba(201, 123, 0, .24); }
.button.is-disabled { pointer-events: none; opacity: .6; filter: grayscale(.35); }

.hero { position: relative; min-height: 760px; overflow: hidden; color: white; background: linear-gradient(180deg, #0579d1, #17b9e5 58%, #d7f8fc); }
.hero-sky { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1, 87, 154, .86), rgba(5, 132, 202, .32)), url("../img/home-background.svg") center 22% / cover no-repeat; opacity: .98; }
.hero::before, .hero::after { position: absolute; z-index: 1; border: 24px solid rgba(190, 239, 255, .28); border-radius: 50%; content: ""; }
.hero::before { width: 270px; height: 270px; top: 170px; left: -180px; }
.hero::after { width: 410px; height: 410px; top: 110px; right: -260px; }
.hero-grid { position: relative; z-index: 3; min-height: 710px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(40px, 6vw, 88px); padding-top: 88px; padding-bottom: 68px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 13px; color: rgba(255, 255, 255, .86); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow span { width: 31px; height: 3px; border-radius: 3px; background: var(--gold); }
.eyebrow.dark { color: var(--blue-800); }
.hero h1 { margin: 0; font-size: clamp(48px, 6vw, 78px); line-height: .98; letter-spacing: -.045em; text-shadow: 0 5px 18px rgba(0, 42, 80, .18); }
.hero h1 strong { color: #ffce3c; font-weight: 950; }
.hero-lead { max-width: 650px; margin: 24px 0 0; color: rgba(255, 255, 255, .9); font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 19px; margin-top: 30px; font-size: 12px; font-weight: 800; }
.hero-proof span { display: flex; align-items: baseline; gap: 5px; padding-right: 19px; border-right: 1px solid rgba(255, 255, 255, .25); }
.hero-proof span:last-child { border: 0; }
.hero-proof b { color: #fff4aa; font-size: 23px; }
.hero-showcase { position: relative; min-height: 540px; display: grid; place-items: center; }
.game-card { position: relative; z-index: 3; width: min(100%, 430px); padding: 14px; overflow: hidden; border: 2px solid rgba(255, 255, 255, .9); border-radius: 30px; color: var(--ink); background: rgba(245, 253, 255, .96); box-shadow: 0 32px 65px rgba(0, 48, 89, .34); transform: rotate(2deg); }
.game-card::before { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(135deg, rgba(255, 255, 255, .7), transparent 35%); content: ""; }
.game-card-top { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 8px 7px 13px; }
.avatar { flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center; border: 3px solid white; border-radius: 50%; background: linear-gradient(145deg, #ffdf55, #f3a20d); box-shadow: 0 4px 12px rgba(0, 85, 132, .18); font-size: 24px; }
.avatar-small { width: 34px; height: 34px; border-width: 2px; font-size: 17px; }
.avatar-xl { width: 78px; height: 78px; font-size: 38px; }
.game-card-top small, .game-card-top strong, .game-card-top div > span { display: block; }
.game-card-top small { color: var(--blue-700); font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.game-card-top strong { font-size: 20px; line-height: 1.1; }
.game-card-top div > span { color: var(--muted); font-size: 9px; }
.level-badge { padding: 7px 9px; border-radius: 12px; color: white; background: var(--blue-700); font-size: 9px; font-weight: 900; }
.pipe-preview { position: relative; aspect-ratio: 1.35; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 5px; overflow: hidden; padding: 8px; border: 4px solid #124f70; border-radius: 20px; background: repeating-linear-gradient(35deg, #75c9ae 0 26px, #69bea4 27px 50px); box-shadow: inset 0 0 22px rgba(0, 43, 68, .32); }
.pipe { position: relative; border-radius: 10px; background: rgba(220, 248, 240, .25); }
.pipe::before, .pipe::after { position: absolute; z-index: 2; background: #8daeb9; box-shadow: inset 0 0 0 6px #d9eef2, 0 4px 6px rgba(3, 49, 69, .28); content: ""; }
.pipe::before { width: 32%; height: 112%; top: -6%; left: 34%; }
.pipe::after { width: 112%; height: 32%; top: 34%; left: -6%; }
.pipe-b::before, .pipe-d::before { display: none; }
.pipe-c::after, .pipe-e::after { display: none; }
.pipe-f::before { transform: rotate(45deg); }
.water-flow { position: absolute; z-index: 4; width: 63%; height: 10px; top: 49%; left: 2%; border-radius: 10px; background: linear-gradient(90deg, #1e9ff1, #75eeff); box-shadow: 0 0 13px #76edff; animation: flow 1.5s linear infinite; }
@keyframes flow { 0% { filter: brightness(.9); transform: translateX(-4px); } 50% { filter: brightness(1.35); transform: translateX(5px); } 100% { filter: brightness(.9); transform: translateX(-4px); } }
.game-card-bottom { position: relative; z-index: 1; display: grid; grid-template-columns: 58px 58px 1fr; gap: 7px; padding-top: 10px; }
.game-card-bottom > span { display: grid; justify-items: center; padding: 7px 3px; border-radius: 12px; background: var(--ice-100); }
.game-card-bottom small { color: var(--muted); font-size: 7px; font-weight: 900; }
.game-card-bottom b { font-size: 13px; }
.game-card-bottom button { border: 0; border-radius: 13px; color: white; background: linear-gradient(145deg, #24cae1, #147bdd); font-size: 10px; font-weight: 900; }
.floating-card { position: absolute; z-index: 5; display: flex; align-items: center; gap: 9px; padding: 11px 14px; border: 2px solid rgba(255, 255, 255, .85); border-radius: 17px; color: var(--ink); background: rgba(255, 255, 255, .95); box-shadow: var(--soft-shadow); animation: hover-card 4s ease-in-out infinite; }
.floating-card > span { font-size: 27px; }
.floating-card small, .floating-card b { display: block; }
.floating-card small { color: var(--blue-700); font-size: 7px; font-weight: 900; }
.floating-card b { font-size: 16px; }
.floating-rank { top: 84px; right: -18px; }
.floating-coins { bottom: 71px; left: -24px; animation-delay: -2s; }
@keyframes hover-card { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
.water-drops i { position: absolute; z-index: 2; width: 18px; height: 26px; border-radius: 60% 40% 60% 40%; background: #8df0ff; box-shadow: inset 3px 3px 0 rgba(255, 255, 255, .55); transform: rotate(45deg); }
.water-drops i:nth-child(1) { top: 80px; left: 35px; }
.water-drops i:nth-child(2) { right: 38px; bottom: 74px; transform: rotate(30deg) scale(.7); }
.water-drops i:nth-child(3) { top: 28px; right: 105px; transform: rotate(50deg) scale(.55); }
.hero-wave { position: absolute; z-index: 2; right: -5%; bottom: -36px; left: -5%; height: 105px; border-radius: 50% 50% 0 0 / 70% 70% 0 0; background: var(--ice-50); transform: rotate(-1deg); }

.live-strip { position: relative; z-index: 6; margin-top: -14px; }
.live-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--line); box-shadow: var(--soft-shadow); }
.live-grid article { min-height: 96px; display: flex; align-items: center; gap: 12px; padding: 17px 21px; background: white; }
.live-grid article > span { font-size: 28px; }
.live-grid b, .live-grid small { display: block; }
.live-grid b { font-size: 20px; }
.live-grid small { color: var(--muted); font-size: 9px; font-weight: 700; }
.live-status i, .live-label i { width: 9px; height: 9px; border-radius: 50%; background: #20c987; box-shadow: 0 0 0 5px rgba(32, 201, 135, .13); animation: live 1.8s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 9px rgba(32, 201, 135, 0); } }

.section { padding: 104px 0; }
.section-heading { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-heading.align-left { margin-left: 0; text-align: left; }
.section-heading .eyebrow { justify-content: center; }
.section-heading.align-left .eyebrow { justify-content: flex-start; }
.section h2 { margin: 0; font-size: clamp(36px, 5vw, 56px); line-height: 1.04; letter-spacing: -.035em; }
.section-heading > p:last-child, .ranking-copy > p, .community-copy > p { color: var(--muted); font-size: 17px; }
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mode-card { position: relative; min-height: 420px; overflow: hidden; padding: 32px; border: 1px solid white; border-radius: var(--radius-xl); background: white; box-shadow: var(--soft-shadow); transition: transform .22s ease, box-shadow .22s ease; }
.mode-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.mode-card::after { position: absolute; width: 240px; height: 240px; right: -100px; bottom: -120px; border-radius: 50%; background: var(--ice-100); content: ""; }
.mode-number { position: absolute; top: 23px; right: 28px; color: #d9eaf0; font-size: 48px; font-weight: 950; }
.mode-icon { width: 76px; height: 76px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 23px; color: white; background: linear-gradient(145deg, var(--cyan-500), var(--blue-700)); box-shadow: inset 0 0 0 3px white, 0 12px 25px rgba(1, 110, 180, .18); font-size: 38px; }
.mode-boss .mode-icon { background: linear-gradient(145deg, #ffbf35, #ed672b); }
.mode-workshop .mode-icon { background: linear-gradient(145deg, #36d4af, #1687b3); }
.mode-card h3 { position: relative; z-index: 2; margin: 0; font-size: 27px; }
.mode-card p { position: relative; z-index: 2; color: var(--muted); font-size: 14px; }
.mode-card ul { position: relative; z-index: 2; display: grid; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 12px; font-weight: 800; }
.mode-card li::before { margin-right: 8px; color: var(--success); content: "✓"; }

.ranking-section { color: white; background: linear-gradient(140deg, var(--blue-950), #07669f 65%, #078bcb); }
.ranking-layout { display: grid; grid-template-columns: .55fr 1.45fr; align-items: center; gap: clamp(28px, 4vw, 58px); }
.ranking-copy h2 { max-width: 470px; }
.ranking-copy > p { color: rgba(255, 255, 255, .72); }
.ranking-board-grid { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ranking-filter { max-width: 330px; display: grid; gap: 5px; margin: 27px 0 15px; }
.ranking-filter label { font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.ranking-filter select { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid rgba(255, 255, 255, .36); border-radius: 14px; color: white; background: #075482; font-weight: 800; }
.leaderboard-card { overflow: hidden; border: 1px solid rgba(255, 255, 255, .22); border-radius: 28px; color: var(--ink); background: #f8fdff; box-shadow: 0 30px 70px rgba(0, 20, 43, .34); }
.leaderboard-card header { min-height: 84px; display: flex; align-items: center; justify-content: space-between; padding: 17px 22px; color: white; background: linear-gradient(135deg, #12b8db, #0871c6); }
.leaderboard-card header small { font-size: 8px; font-weight: 900; letter-spacing: .11em; }
.leaderboard-card h3 { margin: 1px 0 0; font-size: 20px; }
.live-label { display: flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 12px; background: rgba(255, 255, 255, .15); font-size: 8px; font-weight: 900; }
.leaderboard-head, .leaderboard-row { display: grid; grid-template-columns: 50px minmax(120px, 1fr) 72px 105px; align-items: center; gap: 8px; }
.leaderboard-head { padding: 10px 18px; color: var(--muted); background: #eaf7fb; font-size: 7px; font-weight: 900; letter-spacing: .08em; }
.leaderboard-list { min-height: 418px; }
.leaderboard-row { min-height: 41px; padding: 5px 18px; border-bottom: 1px solid #e2eff3; }
.leaderboard-row:last-child { border-bottom: 0; }
.leaderboard-row:hover { background: #eefaff; }
.rank-medal { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--blue-700); font-size: 10px; font-weight: 900; }
.leaderboard-row:nth-child(1) .rank-medal { color: #684000; background: #ffd64e; }
.leaderboard-row:nth-child(2) .rank-medal { color: #445b67; background: #d9e7ec; }
.leaderboard-row:nth-child(3) .rank-medal { color: #64300f; background: #e7a16e; }
.player-link { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.player-link .avatar { width: 29px; height: 29px; border-width: 2px; font-size: 14px; }
.player-link b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.leaderboard-row > span { font-size: 11px; font-weight: 900; text-align: right; }
.leaderboard-card footer { min-height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 8px 18px; color: var(--muted); background: #eaf7fb; font-size: 8px; }
.leaderboard-card footer button { border: 0; color: var(--blue-700); background: transparent; font-size: 9px; font-weight: 900; cursor: pointer; }
.loading-row, .empty-row { min-height: 300px; display: grid; place-items: center; padding: 25px; color: var(--muted); text-align: center; font-size: 12px; font-weight: 800; }
.guild-ranking-filter { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 9px; min-height: 42px; padding: 6px 13px; color: var(--muted); background: #eaf7fb; }
.guild-ranking-filter label { font-size: 8px; font-weight: 900; }
.guild-ranking-filter select { min-width: 0; height: 31px; padding: 0 8px; border: 1px solid #c2dce5; border-radius: 10px; color: var(--ink); background: white; font-size: 9px; font-weight: 800; }
.guild-leaderboard-list { min-height: 408px; }
.guild-rank-row { width: 100%; min-height: 41px; display: grid; grid-template-columns: 30px 32px minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 4px 10px; border: 0; border-bottom: 1px solid #e2eff3; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.guild-rank-row:hover { background: #eefaff; }
.guild-rank-row > em { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--blue-700); font-style: normal; font-size: 9px; font-weight: 900; }
.guild-rank-row:nth-child(1) > em { color: #684000; background: #ffd64e; }
.guild-rank-row:nth-child(2) > em { color: #445b67; background: #d9e7ec; }
.guild-rank-row:nth-child(3) > em { color: #64300f; background: #e7a16e; }
.guild-rank-row.own { background: #fff8d1; box-shadow: inset 0 0 0 2px rgba(238, 187, 28, .25); }
.guild-rank-row > span { min-width: 0; }
.guild-rank-row b, .guild-rank-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guild-rank-row b { font-size: 9px; }
.guild-rank-row b i { color: var(--blue-700); font-style: normal; }
.guild-rank-row small { margin-top: 1px; color: var(--muted); font-size: 6px; }
.guild-rank-row > strong { font-size: 8px; white-space: nowrap; }
.portal-own-guild-rank { width: calc(100% - 18px); min-height: 34px; margin: 7px 9px; padding: 7px 10px; border: 1px solid #e2bb2e; border-radius: 10px; color: #6b4a00; background: #fff7c9; font-size: 8px; font-weight: 800; text-align: left; cursor: pointer; }
.portal-own-guild-rank b { font-weight: 1000; }
.portal-guild-crest { --crest-bg: #0e76bd; --crest-fg: #fff; --crest-border: #f3c623; position: relative; width: 30px; height: 34px; display: grid; place-items: center; overflow: hidden; border: 3px solid var(--crest-border); color: var(--crest-fg); background: var(--crest-bg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); font-size: 15px; }
.portal-guild-crest.shape-shield { clip-path: polygon(8% 5%,92% 5%,92% 64%,78% 83%,50% 98%,22% 83%,8% 64%); }
.portal-guild-crest.shape-round { border-radius: 50%; }
.portal-guild-crest.shape-hex { clip-path: polygon(25% 3%,75% 3%,98% 27%,98% 73%,75% 97%,25% 97%,2% 73%,2% 27%); }
.portal-guild-crest.shape-drop { clip-path: polygon(50% 0,92% 42%,85% 78%,50% 100%,15% 78%,8% 42%); }
.portal-guild-crest.pattern-stripes::before { position: absolute; inset: 0; content: ""; background: repeating-linear-gradient(135deg,transparent 0 7px,rgba(255,255,255,.45) 7px 11px); }
.portal-guild-crest.pattern-dots::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle,rgba(255,255,255,.7) 0 1px,transparent 1.5px) 0 0/8px 8px; }
.portal-guild-crest.pattern-split::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg,transparent 50%,rgba(255,255,255,.5) 50%); }
.portal-guild-crest > b { position: relative; z-index: 1; font-size: 14px; }
.portal-guild-crest.large { width: 76px; height: 86px; margin: 0 auto 10px; border-width: 5px; font-size: 30px; }
.portal-guild-crest.large > b { font-size: 30px; }
.guild-public-members { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.guild-public-members li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-top: 1px solid var(--line); font-size: 10px; }
.guild-public-members li span { color: var(--muted); text-align: right; }

.community-section { background: linear-gradient(180deg, #f5fdff, #e7f9fc); }
.community-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 7vw, 100px); }
.community-visual { position: relative; min-height: 490px; border: 1px solid white; border-radius: 50px; background: linear-gradient(145deg, #42cfe8, #087fd0); box-shadow: var(--shadow); }
.community-visual::before { position: absolute; width: 310px; height: 310px; top: 85px; left: 50%; border: 28px solid rgba(255, 255, 255, .13); border-radius: 50%; content: ""; transform: translateX(-50%); }
.profile-bubble { position: absolute; display: flex; align-items: center; gap: 10px; padding: 14px; border: 2px solid white; border-radius: 20px; background: rgba(255, 255, 255, .96); box-shadow: var(--soft-shadow); }
.profile-bubble b, .profile-bubble small { display: block; }
.profile-bubble small { color: var(--muted); font-size: 9px; }
.bubble-main { min-width: 290px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.bubble-chat { top: 55px; right: 27px; }
.bubble-gift { bottom: 55px; left: 24px; }
.community-copy h2 { margin-top: 0; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0; }
.feature-list article { display: grid; grid-template-columns: 42px 1fr; gap: 9px; padding: 14px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.feature-list article > span { font-size: 27px; }
.feature-list b, .feature-list small { display: block; }
.feature-list b { font-size: 12px; }
.feature-list small { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.4; }

.download-section { padding: 70px 0; color: white; background: #063e69; }
.download-card { display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 34px; padding: 34px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 30px; background: linear-gradient(135deg, rgba(14, 146, 207, .78), rgba(3, 55, 96, .9)); box-shadow: 0 26px 60px rgba(0, 19, 37, .26); }
.download-art img { border-radius: 20px; box-shadow: 0 15px 30px rgba(0, 29, 54, .25); }
.download-copy h2 { font-size: 38px; }
.download-copy p { color: rgba(255, 255, 255, .75); }
.download-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 10px; font-weight: 900; }
.download-action { min-width: 210px; display: grid; justify-items: stretch; gap: 8px; text-align: center; }
.download-action small { max-width: 250px; color: rgba(255, 255, 255, .66); font-size: 8px; }

.faq-section { background: white; }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(35px, 7vw, 90px); }
.faq-list { display: grid; gap: 9px; }
.faq-list details { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--ice-50); }
.faq-list summary { min-height: 63px; display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; cursor: pointer; font-size: 14px; font-weight: 900; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--blue-700); font-size: 25px; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 0; padding: 0 18px 18px; color: var(--muted); font-size: 12px; }

.site-footer { padding: 44px 0 95px; color: rgba(255, 255, 255, .74); background: var(--blue-950); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; }
.footer-grid img { width: 145px; border-radius: 13px; }
.footer-grid p { margin: 7px 0 0; font-size: 10px; }
.footer-grid nav { display: flex; gap: 17px; }
.footer-grid button { padding: 0; border: 0; color: inherit; background: transparent; font-size: 10px; cursor: pointer; }
.mobile-nav { display: none; }

.portal-dialog { width: min(calc(100% - 26px), 500px); max-height: min(90dvh, 790px); padding: 0; overflow: auto; border: 1px solid white; border-radius: 28px; color: var(--ink); background: #f7fdff; box-shadow: 0 30px 90px rgba(0, 27, 50, .42); }
.portal-dialog::backdrop { background: rgba(2, 35, 61, .68); backdrop-filter: blur(7px); }
.dialog-close { position: sticky; z-index: 8; top: 12px; float: right; width: 39px; height: 39px; margin: 12px 12px -51px 0; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, .94); font-size: 25px; cursor: pointer; }
.dialog-brand { display: grid; justify-items: center; padding: 28px 26px 13px; text-align: center; }
.dialog-brand img { width: 195px; border-radius: 18px; }
.dialog-brand p { margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.auth-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; margin: 0 25px 16px; padding: 5px; border-radius: 15px; background: #dfeff4; }
.auth-tabs button { min-height: 42px; border: 0; border-radius: 11px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 900; cursor: pointer; }
.auth-tabs button.active { color: white; background: linear-gradient(145deg, var(--cyan-500), var(--blue-700)); box-shadow: var(--soft-shadow); }
.auth-form { display: grid; gap: 12px; padding: 0 25px 10px; }
.auth-form label, .portal-form label { display: grid; gap: 5px; }
.auth-form label > span, .portal-form label > span { margin-left: 3px; color: var(--muted); font-size: 9px; font-weight: 900; }
.auth-form input, .portal-form input, .portal-form textarea, .portal-form select, .community-compose input { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid #bcd8e2; border-radius: 13px; color: var(--ink); background: white; outline: none; }
.portal-form textarea { min-height: 95px; resize: vertical; }
.check-line { grid-template-columns: auto 1fr; align-items: start; }
.check-line input { width: 19px; min-height: 19px; margin-top: 2px; }
.check-line span { margin: 0 !important; font-size: 10px !important; }
.form-message { min-height: 18px; margin: 0; color: var(--danger); font-size: 10px; text-align: center; }
.form-message.good { color: var(--success); }
.dialog-note { margin: 4px 25px 25px; color: var(--muted); font-size: 8px; line-height: 1.5; text-align: center; }

.account-dialog { width: min(calc(100% - 30px), 990px); height: min(86dvh, 760px); overflow: hidden; }
.account-shell { height: 100%; display: grid; grid-template-columns: 225px 1fr; }
.account-sidebar { display: flex; flex-direction: column; padding: 25px 15px 16px; color: white; background: linear-gradient(165deg, #064b7e, #052e50); }
.account-identity { display: grid; justify-items: center; padding: 13px 5px 22px; text-align: center; }
.account-identity b { margin-top: 8px; font-size: 18px; }
.account-identity small { max-width: 185px; overflow: hidden; color: rgba(255, 255, 255, .62); text-overflow: ellipsis; white-space: nowrap; font-size: 8px; }
.account-sidebar nav { display: grid; gap: 5px; }
.account-sidebar nav button, .account-logout { min-height: 43px; padding: 8px 12px; border: 0; border-radius: 12px; color: rgba(255, 255, 255, .72); background: transparent; font-size: 11px; font-weight: 900; text-align: left; cursor: pointer; }
.account-sidebar nav button.active { color: white; background: rgba(255, 255, 255, .14); }
.account-logout { margin-top: auto; color: #ffd0d9; }
.account-content { min-width: 0; overflow-y: auto; padding: 29px 31px 36px; background: #f5fbfd; }
.account-loading { min-height: 350px; display: grid; place-items: center; align-content: center; gap: 10px; color: var(--muted); font-size: 11px; font-weight: 800; }
.account-loading span { width: 38px; height: 38px; border: 4px solid #cce6ef; border-top-color: var(--blue-700); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.account-heading { margin-bottom: 22px; }
.account-heading small { color: var(--blue-700); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.account-heading h2 { margin: 2px 0 5px; font-size: 31px; line-height: 1.1; }
.account-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.dashboard-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dashboard-stats article { min-width: 0; padding: 15px 9px; border: 1px solid var(--line); border-radius: 16px; background: white; text-align: center; }
.dashboard-stats span, .dashboard-stats b, .dashboard-stats small { display: block; }
.dashboard-stats span { font-size: 22px; }
.dashboard-stats b { margin-top: 4px; overflow: hidden; font-size: 20px; text-overflow: ellipsis; }
.dashboard-stats small { color: var(--muted); font-size: 7px; font-weight: 900; }
.progress-panel, .account-panel { margin-top: 10px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.progress-panel header, .account-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.progress-panel header b, .account-panel-header b { font-size: 13px; }
.progress-panel header span { color: var(--blue-700); font-size: 11px; font-weight: 900; }
.progress-track { height: 11px; overflow: hidden; border-radius: 10px; background: #dcebf0; }
.progress-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan-500), var(--blue-700)); }
.progress-panel p { margin: 8px 0 0; color: var(--muted); font-size: 8px; }
.achievement-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.achievement-list article { min-width: 0; display: grid; justify-items: center; gap: 3px; padding: 12px 5px; border: 1px solid var(--line); border-radius: 14px; background: white; text-align: center; }
.achievement-list article.locked { opacity: .46; filter: grayscale(.65); }
.achievement-list span { font-size: 25px; }
.achievement-list b { max-width: 100%; overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.achievement-list small { color: var(--muted); font-size: 6px; }
.portal-form { display: grid; gap: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.avatar-picker { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.avatar-picker label { position: relative; cursor: pointer; }
.avatar-picker input { position: absolute; opacity: 0; pointer-events: none; }
.avatar-picker span { width: 100%; aspect-ratio: 1; display: grid; place-items: center; margin: 0 !important; border: 2px solid var(--line); border-radius: 14px; background: white; font-size: 23px !important; }
.avatar-picker input:checked + span { border-color: var(--blue-700); background: var(--ice-100); box-shadow: 0 0 0 3px rgba(7, 123, 209, .12); }
.toggle-list { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; }
.toggle-list label { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 13px; border-bottom: 1px solid #e3eff3; }
.toggle-list label:last-child { border-bottom: 0; }
.toggle-list b, .toggle-list small { display: block; }
.toggle-list b { font-size: 11px; }
.toggle-list small { color: var(--muted); font-size: 8px; }
.toggle-list input { width: 42px; height: 24px; accent-color: var(--blue-700); }
.danger-zone { border-color: #f0c9d1; background: #fff8f9; }
.danger-zone button { border: 0; color: var(--danger); background: transparent; font-size: 10px; font-weight: 900; cursor: pointer; }
.community-tabs { display: flex; gap: 5px; margin-bottom: 10px; padding: 4px; border-radius: 14px; background: #dfeff4; }
.community-tabs button { flex: 1; min-height: 39px; border: 0; border-radius: 10px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 900; cursor: pointer; }
.community-tabs button.active { color: white; background: var(--blue-700); }
.chat-list, .gift-list { min-height: 290px; max-height: 360px; display: flex; flex-direction: column; gap: 7px; overflow-y: auto; padding: 6px; border: 1px solid var(--line); border-radius: 15px; background: #edf7fa; }
.chat-item { align-self: flex-start; max-width: 84%; padding: 8px 10px; border-radius: 5px 14px 14px; background: white; box-shadow: 0 3px 9px rgba(0, 58, 91, .08); }
.chat-item.own { align-self: flex-end; border-radius: 14px 5px 14px 14px; color: white; background: linear-gradient(145deg, var(--cyan-500), var(--blue-700)); }
.chat-item b, .chat-item small { display: block; }
.chat-item b { font-size: 8px; }
.chat-item p { margin: 2px 0; overflow-wrap: anywhere; font-size: 11px; }
.chat-item small { color: var(--muted); font-size: 6px; text-align: right; }
.chat-item.own small { color: rgba(255, 255, 255, .67); }
.community-compose { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-top: 8px; }
.community-compose button { min-width: 52px; border: 0; border-radius: 13px; color: white; background: var(--blue-700); font-weight: 900; cursor: pointer; }
.gift-row { display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 8px; padding: 9px; border-radius: 13px; background: white; }
.gift-row > span { font-size: 24px; }
.gift-row b, .gift-row small { display: block; }
.gift-row b { font-size: 10px; }
.gift-row small { color: var(--muted); font-size: 7px; }
.gift-row button { padding: 7px; border: 0; border-radius: 9px; color: white; background: var(--blue-700); font-size: 8px; font-weight: 900; cursor: pointer; }

.profile-dialog { width: min(calc(100% - 26px), 570px); }
.public-profile { padding: 34px 28px 28px; }
.public-hero { display: grid; justify-items: center; padding: 24px; border-radius: 22px; color: white; background: linear-gradient(145deg, #0ba9db, #0966b2); text-align: center; }
.public-hero h2 { margin: 8px 0 0; font-size: 29px; }
.public-hero p { max-width: 380px; margin: 6px 0 0; color: rgba(255, 255, 255, .76); font-size: 10px; }
.public-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 10px; }
.public-meta span { min-width: 0; display: grid; justify-items: center; gap: 2px; padding: 12px 3px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.public-meta small { color: var(--muted); font-size: 6px; font-weight: 900; }
.public-meta b { max-width: 100%; overflow: hidden; font-size: 15px; text-overflow: ellipsis; }
.legal-dialog { width: min(calc(100% - 26px), 720px); }
.legal-dialog article { padding: 35px 30px; }
.legal-dialog h2 { margin-top: 0; font-size: 31px; }
.legal-dialog h3 { margin-top: 24px; font-size: 16px; }
.legal-dialog p, .legal-dialog li { color: var(--muted); font-size: 11px; }
.legal-placeholder { padding: 12px; border: 1px solid #f0d19d; border-radius: 12px; color: #8c5b13 !important; background: #fff7e6; }

.toast-region { position: fixed; z-index: 3000; right: 20px; bottom: 20px; display: grid; justify-items: end; gap: 8px; pointer-events: none; }
.toast { max-width: 360px; padding: 11px 15px; border-radius: 13px; color: white; background: var(--blue-950); box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); transition: .2s ease; font-size: 11px; font-weight: 800; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.good { background: #087e5c; }
.toast.bad { background: #ad2942; }
.noscript { position: fixed; z-index: 4000; right: 0; bottom: 0; left: 0; padding: 12px; color: white; background: #9c2439; text-align: center; }

@media (max-width: 980px) {
    .header-inner { grid-template-columns: 135px auto 1fr; gap: 10px; }
    .brand img { width: 130px; }
    .menu-toggle { display: block; grid-column: 2; }
    .main-nav { position: absolute; top: 70px; right: 20px; left: 20px; display: none; padding: 15px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: white; box-shadow: var(--shadow); }
    .main-nav.open { display: grid; }
    .header-actions { justify-self: end; }
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .floating-rank { right: 0; }
    .floating-coins { left: 0; }
    .live-grid { grid-template-columns: repeat(2, 1fr); }
    .mode-card { padding: 24px; }
    .ranking-layout { grid-template-columns: 1fr; }
    .ranking-copy { max-width: 700px; }
    .ranking-board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .community-layout { gap: 35px; }
    .feature-list { grid-template-columns: 1fr; }
    .download-card { grid-template-columns: 130px 1fr; }
    .download-action { grid-column: 1 / 3; }
    .footer-grid { grid-template-columns: 1fr auto; }
    .footer-grid > p:last-child { grid-column: 1 / 3; }
}

@media (max-width: 760px) {
    html { scroll-padding-top: 70px; }
    body { padding-bottom: 70px; }
    .shell { width: min(calc(100% - 24px), var(--shell)); }
    .site-header { background: rgba(5, 74, 124, .72); }
    .header-inner { min-height: 66px; grid-template-columns: 118px auto 1fr; }
    .brand img { width: 115px; height: 48px; }
    .header-actions .button-ghost { display: none; }
    .account-pill { padding-right: 6px; }
    .account-pill > span:last-child { display: none; }
    .main-nav { top: 61px; }
    .hero { min-height: auto; }
    .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-top: 110px; padding-bottom: 100px; }
    .hero h1 { font-size: clamp(45px, 14vw, 66px); }
    .hero-lead { font-size: 16px; }
    .hero-showcase { min-height: 475px; }
    .game-card { width: min(92%, 420px); }
    .floating-rank { top: 45px; right: 2px; }
    .floating-coins { bottom: 28px; left: 2px; }
    .live-strip { margin-top: -26px; }
    .live-grid article { min-height: 83px; padding: 13px; }
    .live-grid article > span { font-size: 23px; }
    .live-grid b { font-size: 16px; }
    .section { padding: 76px 0; }
    .section-heading { margin-bottom: 30px; }
    .section h2 { font-size: 39px; }
    .mode-grid { grid-template-columns: 1fr; }
    .mode-card { min-height: 340px; }
    .ranking-section { padding-bottom: 82px; }
    .ranking-copy h2 { font-size: 43px; }
    .ranking-board-grid { grid-template-columns: 1fr; }
    .leaderboard-head, .leaderboard-row { grid-template-columns: 40px minmax(100px, 1fr) 55px 78px; }
    .leaderboard-head { padding-inline: 10px; }
    .leaderboard-row { padding-inline: 10px; }
    .player-link .avatar { display: none; }
    .community-layout { grid-template-columns: 1fr; }
    .community-visual { min-height: 410px; }
    .feature-list { grid-template-columns: repeat(2, 1fr); }
    .download-card { grid-template-columns: 90px 1fr; gap: 19px; padding: 20px; }
    .download-copy h2 { font-size: 29px; }
    .download-meta { display: none; }
    .faq-layout { grid-template-columns: 1fr; }
    .footer-grid { display: grid; grid-template-columns: 1fr; text-align: center; }
    .footer-grid img { margin: 0 auto; }
    .footer-grid nav { justify-content: center; }
    .footer-grid > p:last-child { grid-column: auto; }
    .mobile-nav { position: fixed; z-index: 1200; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); left: 8px; height: 62px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 5px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 19px; color: white; background: rgba(5, 49, 83, .95); box-shadow: 0 12px 30px rgba(0, 32, 55, .3); backdrop-filter: blur(12px); }
    .mobile-nav a, .mobile-nav button { display: grid; justify-items: center; align-content: center; gap: 1px; padding: 1px; border: 0; color: white; background: transparent; font-size: 7px; font-weight: 900; }
    .mobile-nav span { font-size: 20px; line-height: 1; }
    .account-dialog { width: 100%; max-width: none; height: 100dvh; max-height: none; border-radius: 0; }
    .account-shell { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .account-sidebar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; padding: 9px 55px 9px 10px; }
    .account-identity { display: flex; justify-items: initial; gap: 8px; padding: 0; text-align: left; }
    .account-identity .avatar { width: 42px; height: 42px; font-size: 20px; }
    .account-identity b { margin: 0; font-size: 13px; }
    .account-identity small { font-size: 6px; }
    .account-identity > b, .account-identity > small { display: none; }
    .account-sidebar nav { display: flex; justify-content: center; gap: 2px; }
    .account-sidebar nav button { min-height: 39px; padding: 6px; font-size: 8px; text-align: center; }
    .account-logout { min-height: 39px; margin: 0; padding: 6px; font-size: 0; }
    .account-logout::after { content: "↪"; font-size: 20px; }
    .account-content { padding: 24px 13px 90px; }
    .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
    .achievement-list { grid-template-columns: repeat(2, 1fr); }
    .avatar-picker { grid-template-columns: repeat(4, 1fr); }
    .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
    .hero-actions { display: grid; }
    .hero-actions .button { width: 100%; }
    .hero-proof { gap: 7px; }
    .hero-proof span { padding-right: 7px; }
    .hero-proof b { font-size: 17px; }
    .floating-card { padding: 8px 10px; }
    .floating-card > span { font-size: 21px; }
    .floating-card b { font-size: 13px; }
    .live-grid article { gap: 7px; padding: 10px; }
    .live-grid article > span { font-size: 20px; }
    .live-grid b { font-size: 14px; }
    .live-grid small { font-size: 7px; }
    .feature-list { grid-template-columns: 1fr; }
    .download-card { grid-template-columns: 1fr; text-align: center; }
    .download-art { display: none; }
    .download-action { grid-column: auto; }
    .public-meta { grid-template-columns: repeat(2, 1fr); }
    .account-sidebar { grid-template-columns: 1fr auto; }
    .account-identity { display: none; }
    .account-sidebar nav { justify-content: start; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* 4.1.8 Browser, neues Markenlogo, SEO-Inhalte und vorbereitete Webanzeigen */
.download-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
}
.download-action {
    gap: 9px;
}
.google-play-link {
    display: block;
    width: min(100%, 205px);
    margin: 0 auto;
    transition: transform .18s ease;
}
.google-play-link:hover {
    transform: translateY(-2px);
}
.google-play-link img {
    width: 100%;
}
.portal-ad {
    min-height: 96px;
    margin-block: 30px;
    overflow: hidden;
    border: 1px dashed var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .7);
}
.seo-section {
    background:
        radial-gradient(circle at 95% 10%, rgba(35, 198, 229, .16), transparent 30%),
        linear-gradient(180deg, #f5fdff, #e7f8fb);
}
.seo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
    align-items: center;
    gap: clamp(35px, 6vw, 85px);
}
.seo-layout > div:first-child > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 16px;
}
.seo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.seo-keywords {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.seo-keywords article {
    min-height: 165px;
    padding: 20px;
    border: 1px solid white;
    border-radius: 22px;
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--soft-shadow);
}
.seo-keywords span,
.seo-keywords b,
.seo-keywords small {
    display: block;
}
.seo-keywords span {
    margin-bottom: 13px;
    font-size: 30px;
}
.seo-keywords b {
    font-size: 16px;
}
.seo-keywords small {
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.5;
}
.site-footer img,
.dialog-brand img {
    object-fit: contain;
    border-radius: 16px;
}
.site-footer img {
    width: 175px;
    max-height: 105px;
}
.dialog-brand img {
    width: min(240px, 75%);
    max-height: 150px;
    margin-inline: auto;
}

@media (max-width: 980px) {
    .seo-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .header-inner {
        grid-template-columns: 122px auto 1fr;
    }
    .brand img {
        width: 116px;
        height: 55px;
    }
    .seo-keywords {
        grid-template-columns: 1fr;
    }
    .seo-keywords article {
        min-height: 0;
    }
}
