:root {
  color-scheme: light;
  --bg: #f5f1fc;
  --surface: #fdfbff;
  --ink: #251838;
  --muted: #625671;
  --line: #dbd0ed;
  --primary: #5433bb;
  --primary-hover: #422695;
  --accent: #eae1fc;
  --on-primary: #faf7ff;
  --field-line: #ac9cbd;
  --radius: 12px;
  --display: Outfit, "Trebuchet MS", sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; font-weight: 700; }
h1 { font-size: 48px; letter-spacing: -.045em; }
h2 { font-size: 28px; letter-spacing: -.025em; }
h3 { font-size: 22px; }
p { max-width: 68ch; }
img { display: block; max-width: 100%; }
a { color: var(--primary); text-underline-offset: .22em; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
:where(a, button, input, textarea, summary):focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 48px), 1120px); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; padding: 8px 16px; background: var(--surface); z-index: 5; transform: translateY(-150%); }
.skip:focus { transform: none; }
.masthead { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 700 18px/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.brand svg { flex: none; }
.header-row nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.header-row nav a:hover, .brand:hover { color: var(--primary); }
.catalog { padding-block: 32px 48px; }
.catalog-intro { margin-bottom: 24px; }
.catalog-intro p, .game-heading p, .legal header p { margin-top: 8px; color: var(--muted); }
.shelf { list-style: none; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 24px 16px; padding: 0; }
.shelf li { min-width: 0; }
.game-tile { display: flex; flex-direction: column; gap: 8px; height: 100%; text-decoration: none; color: var(--ink); border-radius: var(--radius); }
.tile-art { display: block; position: relative; overflow: hidden; aspect-ratio: 1; border-radius: var(--radius); background: var(--accent); box-shadow: 0 1px 2px rgb(37 24 56 / .12); }
.tile-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .24s ease; }
.tile-name { font: 600 16px/1.25 var(--display); overflow-wrap: anywhere; }
.tile-play { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; background: rgb(26 13 52 / .35); transition: opacity .18s ease; }
.triangle { display: block; flex: none; width: 13px; height: 16px; background: currentColor; clip-path: polygon(0 0,100% 50%,0 100%); }
.tile-play .triangle { width: 48px; height: 48px; clip-path: none; position: relative; border-radius: 50%; box-shadow: 0 8px 24px rgb(0 0 0 / .18); background: #faf7ff; }
.tile-play .triangle::after { content: ""; position: absolute; inset: 15px 14px 15px 19px; background: var(--primary); clip-path: polygon(0 0,100% 50%,0 100%); }
@media (hover: hover) and (pointer: fine) {
  .game-tile:hover img { transform: scale(1.06); }
  .game-tile:hover .tile-play { opacity: 1; }
  .game-tile:hover .tile-name { color: var(--primary); }
}
.game-tile:focus-visible .tile-play { opacity: 1; }
.home-guide, .game-guide { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; padding-block: 48px; border-top: 1px solid var(--line); }
.prose > * + * { margin-top: 16px; }
.prose > * + h2 { margin-top: 32px; }
.prose li + li { margin-top: 8px; }
.faq h2 { margin-bottom: 16px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { padding-block: 12px; font-weight: 700; }
.faq details p { padding-bottom: 16px; color: var(--muted); }
.game-heading { padding-block: 24px 16px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--muted); font-size: 14px; }
.player { overflow: hidden; border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 24px rgb(37 24 56 / .08); }
.stage { position: relative; isolation: isolate; overflow: hidden; display: block; width: 100%; aspect-ratio: 16 / 9; background: #181229; color: #faf7ff; }
.stage-cover, .stage-loader, .stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage iframe { border: 0; background: #181229; }
.stage-cover, .stage-loader { display: grid; place-items: center; }
.stage-backdrop { position: absolute; inset: -12%; width: 124%; max-width: none; height: 124%; object-fit: cover; filter: blur(42px) brightness(.37) saturate(.82); opacity: .72; }
.jacket { z-index: 1; position: relative; display: grid; justify-items: center; gap: 16px; padding: 16px; text-align: center; }
.jacket-art { width: clamp(128px, 25vw, 300px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: 0 8px 24px rgb(0 0 0 / .24); }
.jacket-actions p { margin-top: 8px; font-size: 14px; color: #f4edf9; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 24px; border: 1px solid transparent; border-radius: var(--radius); background: var(--primary); color: var(--on-primary); font-weight: 700; }
.primary:hover { background: var(--primary-hover); }
.start { min-height: 48px; min-width: 144px; }
a.primary { text-decoration: none; }
a.primary:hover { color: var(--on-primary); }
.embed-note { font-size: 13px; color: #e2d7ee; }
.start:focus-visible { outline-color: #faf7ff; }
.stage[data-gf-state] .stage-cover { display: none; }
.stage-loader { display: none; align-content: center; justify-items: center; gap: 8px; text-align: center; padding: 16px; }
.stage[data-gf-state="loading"] .stage-loader { display: grid; z-index: 2; background: #181229; }
.stage-loader p { font: 700 22px/1.2 var(--display); }
.stage-loader small { color: #e2d7ee; font-size: 14px; }
.loading-bars { display: flex; align-items: center; gap: 4px; height: 32px; margin-bottom: 8px; }
.loading-bars i { width: 8px; height: 28px; border-radius: 8px; background: #cbb6fb; animation: pulse .9s ease-in-out infinite alternate; }
.loading-bars i:nth-child(2) { animation-delay: .12s; }
.loading-bars i:nth-child(3) { animation-delay: .24s; }
.loading-bars i:nth-child(4) { animation-delay: .36s; }
.loading-bars i:nth-child(5) { animation-delay: .48s; }
@keyframes pulse { from { transform: scaleY(.3); opacity: .55; } to { transform: scaleY(1); opacity: 1; } }
.player-controls { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; padding: 8px 12px; }
.player-controls button, .player-controls a { min-height: 44px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; }
.player-controls button:hover, .player-controls a:hover, .player-controls [data-gf-liked] { color: var(--primary); background: var(--accent); }
.tool-icon { font-size: 18px; line-height: 1; }
.fullscreen { margin-left: auto; }
.share-feedback { font-size: 14px; color: var(--primary); }
.share-feedback:empty { display: none; }
.more { padding-block: 32px 48px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 16px; }
.section-head a { font-size: 14px; font-weight: 700; }
.comments { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; padding-block: 48px; border-top: 1px solid var(--line); }
.comments header p { color: var(--muted); margin-top: 8px; }
.comment-form { display: grid; gap: 12px; }
.comment-form label { display: grid; gap: 4px; font-weight: 700; }
.comment-form input, .comment-form textarea { width: 100%; background: var(--surface); color: var(--ink); padding: 8px 12px; border: 1px solid #ac9cbd; border-radius: var(--radius); }
.comment-form input { min-height: 44px; }
.comment-form textarea { resize: vertical; }
.comment-form .primary { justify-self: start; }
.reply-target:has([hidden]):not(:has([data-gf-reply-to]:not(:empty))), [data-gf-comment-msg]:empty { display: none; }
.comment-list { margin-top: 24px; }
.comment-list[data-gf-empty]::before { content: "Be the first to comment."; color: var(--muted); }
.comment { padding: 12px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.comment header { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.comment time { color: var(--muted); font-size: 14px; }
.comment [data-gf-c-owner] { color: var(--primary); font-size: 14px; }
.comment [data-gf-c-replies] { padding-left: 16px; }
.comment button, .reply-target button { border: 0; color: var(--primary); background: transparent; text-decoration: underline; min-height: 44px; }
.legal { padding-block: 32px 64px; }
.legal header { margin-bottom: 32px; }
.back-link { display: inline-block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-block: 24px; font-size: 14px; }
.footer-row p { color: var(--muted); margin-top: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
@media (max-width: 920px) {
  .shelf { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .related { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .header-row { min-height: 56px; }
  h1 { font-size: 32px; }
  h2 { font-size: 22px; }
  .catalog { padding-top: 24px; }
  .catalog-intro { margin-bottom: 16px; }
  .shelf { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px 12px; }
  .home-guide, .game-guide, .comments { grid-template-columns: minmax(0,1fr); gap: 24px; padding-block: 32px; }
  .stage { aspect-ratio: auto; height: clamp(420px, 72svh, 580px); }
  .jacket-art { width: clamp(148px, 48vw, 240px); }
  .game-heading { padding-top: 16px; }
  .player-controls { justify-content: flex-start; padding-inline: 4px; gap: 0; }
  .fullscreen { margin-left: 0; }
  .player-controls button, .player-controls a { padding-inline: 6px; }
  .comment-form .primary { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .tile-art img, .tile-play { transition: none; }
  .loading-bars i { animation: none; }
}
@media (min-width: 360px) and (max-width: 640px) {
  .catalog-intro p { font-size: 14px; }
  .catalog .shelf { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px 12px; }
  .catalog .tile-name { font-size: 14px; line-height: 1.2; }
}
@media (min-width: 481px) and (max-width: 640px) {
  .catalog .shelf { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
.prose details { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 0 20px; }
.prose details summary { padding-block: 14px; font-weight: 700; }
.prose details[open] { padding-bottom: 8px; }
.prose details summary { list-style: none; }
.prose details summary::-webkit-details-marker { display: none; }
.prose details summary::after { content: "+"; float: right; color: var(--primary); }
.prose details[open] summary::after { content: "\2013"; }
.game-tile { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.game-tile .tile-name { min-height: 2.5em; }
.masthead nav a { padding-inline: 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 700; text-decoration: none; }
.faq summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.type-list li + li { padding-top: 10px; border-top: 1px solid var(--line); }
.footer-links a { color: var(--muted); }
.types { padding-block: 32px 48px; border-top: 1px solid var(--line); }
.types h2 { margin-bottom: 16px; }
.type-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.type-list li { color: var(--muted); max-width: 68ch; }
.type-list strong { color: var(--ink); font-family: var(--display); margin-right: 6px; }
.type-list a { color: var(--primary); }
@media (max-width: 640px) { .types { padding-block: 24px 32px; } .type-list { gap: 8px; } }

.directory-details { padding-block: 32px 40px; border-top: 1px solid var(--line); }
.directory-details > h2 { margin-bottom: 10px; }
.directory-details > p { color: var(--muted); }
.directory-details-list { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.directory-details-list summary { padding: 14px 18px; font-weight: 700; }
.directory-table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.directory-table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 13px; line-height: 1.5; }
.directory-table th, .directory-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.directory-table thead th { background: var(--accent); color: var(--ink); font-weight: 700; }
.directory-table tbody th { min-width: 160px; font-weight: 700; }
.directory-table tbody td { color: var(--muted); }
.directory-table tbody tr:last-child > * { border-bottom: 0; }
.directory-table a { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .directory-details { padding-block: 24px 32px; }
  .directory-details-list summary { padding-inline: 14px; }
}


/* Dark mode: follows the system unless the visitor picked a theme (html[data-theme]) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; --bg: #181229; --surface: #221a38; --ink: #faf7ff; --muted: #ac9cbd; --line: #3a2e55; --primary: #cbb6fb; --primary-hover: #e2d7ee; --accent: #2e2448; --on-primary: #181229; --field-line: #625671; }
}
:root[data-theme="dark"] { color-scheme: dark; --bg: #181229; --surface: #221a38; --ink: #faf7ff; --muted: #ac9cbd; --line: #3a2e55; --primary: #cbb6fb; --primary-hover: #e2d7ee; --accent: #2e2448; --on-primary: #181229; --field-line: #625671; }
:root .comment-form input, :root .comment-form textarea, :root .embed-url, :root .game-search input { border-color: var(--field-line); }
:root .game-search input:hover, :root .game-search input:focus-visible { border-color: var(--primary); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Home page game search */
.game-search { margin-top: 16px; max-width: 560px; }
.search-field { position: relative; display: flex; align-items: center; }
.search-icon { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.game-search input { width: 100%; min-height: 48px; padding: 8px 48px 8px 44px; border: 1px solid #ac9cbd; border-radius: var(--radius); background: var(--surface); color: var(--ink); font-size: 16px; box-shadow: 0 1px 2px rgb(37 24 56 / .06); -webkit-appearance: none; appearance: none; }
.game-search input::placeholder { color: var(--muted); opacity: 1; }
.game-search input::-webkit-search-cancel-button { display: none; }
.game-search input:hover { border-color: var(--primary); }
.game-search input:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-color: var(--primary); }
.search-key { position: absolute; right: 12px; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--muted); font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; pointer-events: none; }
.game-search input:focus ~ .search-key, .search-clear:not([hidden]) ~ .search-key { display: none; }
.search-field:has(.search-clear:not([hidden])) .search-key { display: none; }
.search-clear { position: absolute; right: 4px; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; }
.search-clear:hover { color: var(--primary); background: var(--accent); }
.search-status { margin-top: 8px; font-size: 14px; color: var(--muted); }
.search-status:empty { display: none; }
.search-empty { display: grid; justify-items: start; gap: 16px; padding: 24px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface); }
.search-empty[hidden] { display: none; }
.search-empty p { color: var(--muted); }
.search-empty strong { color: var(--ink); }
@media (hover: none) { .search-key { display: none; } }
.header-row .game-search { flex: 0 1 400px; max-width: 400px; margin: 0 0 0 auto; }
.theme-toggle { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); }
.theme-toggle:hover { color: var(--primary); border-color: var(--primary); background: var(--accent); }
.game-search + .theme-toggle { margin-left: 0; }
.theme-toggle .icon-sun { display: none; }
.header-row .game-search input { min-height: 44px; font-size: 15px; }
.catalog-intro .search-status { margin-top: 12px; }
@media (max-width: 640px) {
  .header-row { flex-wrap: wrap; gap: 8px 16px; padding-block: 8px; }
  .header-row .game-search { flex: 1 1 100%; max-width: none; order: 3; margin-left: 0; }
  .game-search + .theme-toggle { margin-left: auto; }
  .header-row .game-search input { font-size: 16px; }
  .search-key { display: none; }
}

/* Embed link row under the player */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.embed-row { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.embed-row label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-inline: 4px; }
.embed-url { flex: 1 1 auto; width: 100%; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid #ac9cbd; border-radius: 8px; background: var(--bg); color: var(--ink); font: 500 14px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.embed-row button { flex: none; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 700; }
.embed-row button:hover { border-color: var(--primary); color: var(--primary); background: var(--accent); }
.embed-row button { min-width: 96px; }
.embed-row button.is-copied, .embed-row button.is-copied:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

/* Share dialog */
.share-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: 0 8px 24px rgb(37 24 56 / .18); overflow: auto; }
.share-dialog::backdrop { background: rgb(24 18 41 / .62); }
.share-inner { display: grid; gap: 16px; padding: 24px; }
.share-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.share-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.share-top h2 { margin-top: 4px; font-size: 28px; }
.share-close { flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 24px; line-height: 1; }
.share-close:hover { color: var(--primary); border-color: var(--primary); }
.share-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.share-card img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; background: #181229; }
.share-card figcaption { display: grid; gap: 4px; padding: 12px 16px; }
.share-card strong { font: 600 16px/1.3 var(--display); }
.share-card span { font-size: 14px; color: var(--muted); }
.share-card code { font-size: 13px; color: var(--primary); overflow-wrap: anywhere; }
.share-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.share-grid button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); font-size: 16px; font-weight: 700; }
.share-grid button:hover { border-color: var(--primary); color: var(--primary); background: var(--accent); }
.share-grid .share-copy { grid-column: 1 / -1; background: var(--primary); border-color: transparent; color: var(--on-primary); }
.share-grid .share-copy:hover { background: var(--primary-hover); color: var(--on-primary); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--primary); }
.dot-more { background: var(--muted); }
.share-msg { font-size: 14px; color: var(--primary); }
.share-msg:empty { display: none; }

/* Standalone embed page (/embed/...) */
body.is-embed { background: #181229; overflow: hidden; }
.embed-shell { position: fixed; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.embed-shell .stage { aspect-ratio: auto; height: 100%; }
.embed-art { width: clamp(96px, 28vmin, 240px); }
.embed-bar { display: flex; align-items: center; gap: 4px 16px; flex-wrap: wrap; min-height: 40px; padding: 4px 12px; background: #181229; border-top: 1px solid rgb(250 247 255 / .12); color: #e2d7ee; font-size: 13px; }
.embed-bar a { color: #e2d7ee; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.embed-bar a:hover { color: #fff; }
.embed-home { color: #fff !important; }
.embed-fs { margin-left: auto; min-height: 32px; padding: 4px 10px; border: 1px solid rgb(250 247 255 / .25); border-radius: 8px; background: transparent; color: #faf7ff; font-size: 13px; font-weight: 700; }
.embed-fs:hover { background: rgb(250 247 255 / .1); }
@media (max-width: 640px) {
  .share-inner { padding: 16px; }
  .share-top h2 { font-size: 22px; }
  .embed-open { display: none !important; }
}


/* Brand badge on the player cover (bottom-right) */
.cover-brand { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px 6px 6px; border: 1px solid rgb(250 247 255 / .18); border-radius: 999px; background: rgb(24 18 41 / .72); color: #faf7ff; font: 700 14px/1 var(--body); letter-spacing: .01em; text-decoration: none; box-shadow: 0 1px 2px rgb(0 0 0 / .24); }
.cover-brand svg { flex: none; border-radius: 6px; }
.cover-brand:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.cover-brand:focus-visible { outline-color: #faf7ff; }
@media (max-width: 640px) {
  .cover-brand { right: 8px; bottom: 8px; min-height: 32px; padding: 4px 10px 4px 4px; font-size: 12px; gap: 6px; }
  .cover-brand svg { width: 20px; height: 20px; }
}
