:root {
  color-scheme: light;
  --background: #edf0f2;
  --surface: #f7f8f8;
  --surface-raised: #ffffff;
  --text: #20282d;
  --muted: #58656c;
  --subtle: #718089;
  --line: rgba(31, 48, 57, .16);
  --line-strong: rgba(31, 48, 57, .30);
  --success: #3e9a5b;
  --warning: #b47b18;
  --accent: #b6623e;
  --content-width: 1180px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(circle at 80% 0%, rgba(135, 159, 169, .16), transparent 36%),
    var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

button, a { font: inherit; }

button { cursor: pointer; }

body.lightbox-open { overflow: hidden; }

button:focus-visible, a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.page-shell {
  width: min(100% - 48px, var(--content-width));
  margin: 0 auto;
}

.project-main-column { min-width: 0; }
.project-chat-panel { min-width: 0; padding: 22px; border: 1px solid var(--line); background: rgba(247, 248, 248, .94); box-shadow: 0 12px 36px rgba(31, 48, 57, .07); }
.project-chat-heading { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.project-chat-heading .eyebrow { margin-bottom: 10px; }
.project-chat-heading h2 { margin: 0 0 8px; font-size: 1.85rem; line-height: 1; }
.project-chat-heading > p { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.45; }
.project-chat-retention { display: block; margin-top: 8px; color: var(--subtle); font-size: .68rem; }
.project-chat-people { padding: 17px 0; border-bottom: 1px solid var(--line); }
.project-chat-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .8rem; }
.project-chat-section-heading span { color: var(--muted); font-size: .72rem; }
.project-chat-online-list { display: grid; gap: 8px; max-height: 148px; overflow: auto; margin: 12px 0 0; padding: 0; list-style: none; }
.project-chat-person { display: flex; align-items: center; min-width: 0; gap: 8px; font-size: .8rem; }
.project-chat-presence-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(62, 154, 91, .12); }
.project-chat-presence-dot.is-dnd { background: var(--warning); box-shadow: 0 0 0 3px rgba(180, 123, 24, .12); }
.project-chat-person-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-chat-person small { margin-left: auto; color: var(--muted); font-size: .65rem; white-space: nowrap; }
.project-chat-empty-user, .project-chat-empty { color: var(--muted); font-size: .78rem; }
.project-chat-empty-user { list-style: none; }
.project-chat-conversation { display: flex; min-height: 0; flex: 1; flex-direction: column; padding-top: 14px; }
.project-chat-messages { display: flex; min-height: 110px; flex: 1; flex-direction: column; gap: 9px; overflow: auto; padding: 0 3px 12px 0; }
.project-chat-message { max-width: 94%; align-self: flex-start; padding: 9px 11px; border: 1px solid var(--line); background: var(--surface-raised); overflow-wrap: anywhere; }
.project-chat-message.is-self { align-self: flex-end; border-color: rgba(182, 98, 62, .32); background: rgba(182, 98, 62, .09); }
.project-chat-message-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 3px; }
.project-chat-message-heading strong { overflow: hidden; font-size: .77rem; text-overflow: ellipsis; }
.project-chat-message-heading time { flex: 0 0 auto; color: var(--subtle); font-size: .682rem; }
.project-chat-message p { margin: 0; font-size: .858rem; line-height: 1.4; white-space: pre-wrap; }
.project-chat-form { display: flex; align-items: end; gap: 7px; padding-top: 8px; border-top: 1px solid var(--line); }
.project-chat-form textarea { min-width: 0; min-height: 42px; max-height: 100px; flex: 1; resize: vertical; padding: 10px; border: 1px solid var(--line-strong); background: var(--surface-raised); color: var(--text); font: inherit; font-size: .78rem; }
.project-chat-form button { min-height: 42px; border: 1px solid var(--text); padding: 0 12px; background: var(--text); color: var(--background); font-size: .75rem; }
.project-chat-form button:disabled { opacity: .6; cursor: wait; }
.project-chat-login { margin: 10px 0 0; color: var(--muted); font-size: .78rem; }
.project-chat-login a { color: var(--accent); font-weight: 700; }
.project-chat-status { min-height: 1.2em; margin: 6px 0 0; color: var(--muted); font-size: .7rem; }

.game-room-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 10px 0 2px; border-bottom: 1px solid var(--line); }
.game-room-tabs button { min-height: 36px; border: 1px solid transparent; padding: 5px 8px; background: transparent; color: var(--muted); font-size: .74rem; }
.game-room-tabs button[aria-selected="true"] { border-color: var(--line); background: var(--surface-raised); color: var(--text); box-shadow: 0 3px 12px rgba(31, 48, 57, .05); }
.game-room-invite-user { flex: 0 0 auto; margin-left: auto; border: 1px solid var(--line); padding: 4px 7px; background: var(--surface-raised); color: var(--text); font-size: .64rem; }
.game-room-invite-user:hover, .game-room-card > button:hover { border-color: var(--accent); }
.game-room-invite-user:disabled { opacity: .48; cursor: not-allowed; }
.project-chat-person-name { flex: 1 1 auto; }
.project-chat-person small { margin-left: 0; }
.project-game-rooms { min-height: 0; flex: 1; padding-top: 15px; }
.game-rooms-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.game-rooms-heading h3 { margin: 0 0 3px; font-size: 1.05rem; }
.game-rooms-heading p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.4; }
.game-room-card > button, .game-room-actions button { flex: 0 0 auto; min-height: 34px; border: 1px solid var(--text); padding: 0 9px; background: var(--text); color: var(--background); font-size: .68rem; }
.game-room-status { min-height: 1.25em; margin: 4px 0 8px; color: var(--muted); font-size: .7rem; }
.game-room-list { display: grid; gap: 8px; max-height: 250px; overflow: auto; margin: 0; padding: 0 3px 2px 0; list-style: none; }
.game-room-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); padding: 10px; background: var(--surface-raised); }
.game-room-card > div { min-width: 0; }
.game-room-card strong { display: block; overflow: hidden; font-size: .77rem; text-overflow: ellipsis; white-space: nowrap; }
.game-room-card p, .game-room-card small { display: block; margin: 2px 0 0; color: var(--muted); font-size: .65rem; }
.game-room-card small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-room-card > button { min-height: 30px; }
.game-room-empty { border: 1px dashed var(--line-strong); padding: 14px 12px; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.game-room-active { display: flex; min-height: 0; flex-direction: column; margin-top: 13px; border-top: 1px solid var(--line); padding-top: 12px; }
.game-room-active-heading { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.game-room-active-heading h4 { margin: 0; font-size: .92rem; }
.game-room-active-heading p, .game-room-members { margin: 3px 0 0; color: var(--muted); font-size: .67rem; }
.game-room-actions { display: flex; gap: 5px; }
.game-room-actions button { min-height: 28px; padding: 0 7px; font-size: .62rem; }
.game-room-actions .game-room-leave { border-color: var(--line-strong); background: transparent; color: var(--text); }
.game-room-members { margin: 8px 0; }
.game-room-messages { display: flex; min-height: 100px; max-height: 250px; flex-direction: column; gap: 7px; overflow: auto; padding: 2px 3px 10px 0; }
.game-room-form { display: flex; align-items: end; gap: 6px; border-top: 1px solid var(--line); padding-top: 8px; }
.game-room-form textarea { min-width: 0; min-height: 38px; max-height: 90px; flex: 1; resize: vertical; border: 1px solid var(--line-strong); padding: 8px; background: var(--surface-raised); color: var(--text); font: inherit; font-size: .74rem; }
.game-room-form button { min-height: 38px; border: 1px solid var(--text); padding: 0 10px; background: var(--text); color: var(--background); font-size: .68rem; }
.game-room-login { color: var(--muted); font-size: .76rem; }
.game-room-login a { color: var(--accent); }
.game-room-invite-dialog { width: min(460px, calc(100% - 30px)); max-width: 460px; max-height: calc(100% - 30px); overflow: auto; border: 1px solid var(--line); padding: 0; background: var(--surface-raised); color: var(--text); box-shadow: 0 22px 70px rgba(18, 28, 33, .22); }
.game-room-invite-dialog::backdrop { background: rgba(18, 28, 33, .38); backdrop-filter: blur(3px); }
.game-room-invite-card { position: relative; display: grid; gap: 12px; padding: 26px; }
.game-room-dialog-x { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; color: var(--muted); font-size: 1.5rem; }
.game-room-invite-card .eyebrow, .game-room-incoming .eyebrow { margin: 0; color: var(--subtle); font-size: .62rem; letter-spacing: .12em; }
.game-room-invite-card h3 { margin: 0; font-size: 1.35rem; line-height: 1.15; }
.game-room-invite-card label { display: grid; gap: 5px; color: var(--muted); font-size: .7rem; }
.game-room-invite-card input, .game-room-invite-card select { width: 100%; min-height: 40px; border: 1px solid var(--line-strong); padding: 8px 10px; background: var(--surface); color: var(--text); font: inherit; font-size: .77rem; }
.game-room-new-fields { display: grid; gap: 10px; }
.game-room-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.game-room-dialog-status { min-height: 1.2em; margin: 0; color: var(--muted); font-size: .72rem; }
.game-room-dialog-actions { display: flex; justify-content: end; gap: 8px; }
.game-room-dialog-actions button { min-height: 38px; border: 1px solid var(--line-strong); padding: 0 12px; background: transparent; color: var(--text); font-size: .72rem; }
.game-room-dialog-actions .game-room-dialog-send { border-color: var(--accent); background: var(--accent); color: #fff; }
.game-room-dialog-actions button:disabled { opacity: .55; cursor: wait; }
.game-room-incoming { position: fixed; z-index: 1000; right: 24px; bottom: 24px; width: min(390px, calc(100vw - 32px)); border: 1px solid rgba(182, 98, 62, .32); padding: 17px; background: var(--surface-raised); box-shadow: 0 16px 48px rgba(18, 28, 33, .19); }
.game-room-incoming-copy strong { display: block; margin-top: 5px; font-size: .91rem; }
.game-room-incoming-copy p { margin: 3px 0 0; color: var(--muted); font-size: .76rem; }
.game-room-incoming-actions { display: flex; justify-content: end; gap: 7px; margin-top: 12px; }
.game-room-incoming-actions button { min-height: 34px; border: 1px solid var(--line-strong); padding: 0 12px; background: transparent; color: var(--text); font-size: .72rem; }
.game-room-incoming-actions .game-room-accept { border-color: var(--accent); background: var(--accent); color: #fff; }
.game-room-incoming-actions button:disabled { opacity: .55; cursor: wait; }
.game-room-incoming.is-reminding { animation: game-room-nudge 360ms ease-in-out; }
@keyframes game-room-nudge { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
@media (prefers-reduced-motion: reduce) { .game-room-incoming.is-reminding { animation: none; } }

@media (min-width: 1360px) {
  body.project-chat-enabled .page-shell { width: min(100% - 48px, 1540px); }
  .project-page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 20px; }
  .project-chat-panel { position: sticky; top: 18px; display: flex; height: var(--chat-panel-height, calc(100dvh - 36px)); flex-direction: column; }
}

.admin-site-statistics { flex: 0 0 auto; font-size: .75rem; line-height: 1.8; color: var(--muted); }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: block;
  line-height: 0;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 170px;
  height: auto;
}

.site-search { position: relative; z-index: 5; flex: 1 1 340px; max-width: 390px; }
.site-search input { display: block; width: 100%; height: 42px; padding: 0 18px; border: 1px solid rgba(31, 48, 57, .34); border-radius: 999px; outline: 0; background: rgba(255, 255, 255, .92); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78), 0 8px 24px rgba(31, 48, 57, .10); color: #20282d; font-size: 0.82rem; transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.site-search input::placeholder { color: #5d6b72; }
.site-search input:focus { border-color: rgba(31, 48, 57, .62); background: #ffffff; box-shadow: 0 0 0 4px rgba(31, 48, 57, .10), 0 12px 30px rgba(31, 48, 57, .16); }
.site-search input::-webkit-search-cancel-button { filter: none; opacity: .72; }
.site-search-results { position: absolute; top: calc(100% + 10px); right: 0; left: 0; overflow: hidden; border: 1px solid rgba(31, 48, 57, .34); border-radius: 16px; background: rgba(255, 255, 255, .98); box-shadow: 0 18px 35px rgba(31, 48, 57, .18); }
.site-search-result { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 12px 14px; border-bottom: 1px solid rgba(31, 48, 57, .14); color: #20282d; text-decoration: none; transition: background 160ms ease; }
.site-search-result:last-child { border-bottom: 0; }
.site-search-result:hover, .site-search-result:focus-visible { background: #e2e9ec; color: #172126; }
.site-search-result span { min-width: 0; overflow: hidden; font-size: 0.84rem; text-overflow: ellipsis; white-space: nowrap; }
.site-search-result small { flex: 0 0 auto; color: var(--subtle); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-search-result span { color: #20282d; }
.site-search-result small { color: #53656d; }
.site-search-result:active { background: #d3dfe3; color: #172126; }
.site-search-empty { margin: 0; padding: 13px 14px; color: #53656d; font-size: 0.82rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.brand {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.project-type-navigation {display:inline-flex;align-items:center;justify-content:center;padding:12px 19px;border:1px solid #8ed5a2;border-radius:999px;background:linear-gradient(180deg,#edfff0 0%,#ceefd6 100%);color:#205c36;font-size:.88rem;text-decoration:none;white-space:nowrap;box-shadow:inset 0 1px 2px #fff,0 0 8px #81de9a80,0 0 20px #95e7a84d;transition:background .2s,box-shadow .2s;}
.project-type-navigation:hover {background:linear-gradient(180deg,#e4ffe9 0%,#bceac8 100%);box-shadow:inset 0 1px 2px #fff,0 0 11px #70d98e99,0 0 26px #8ee5a466;}
.project-type-navigation:focus-visible,.audio-sample-button:focus-visible {outline:2px solid #687e89;outline-offset:4px;}
.project-list-empty {grid-column:1/-1;padding:32px;border:1px solid var(--line,#bdc7ca);border-radius:12px;background:#f7f8f899;color:var(--muted);}
.audio-sample-card {padding:18px;border:1px solid var(--line,#bdc7ca);border-radius:12px;background:var(--surface-raised,#f7f8f8);min-width:0;}
.audio-sample-button {display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;color:var(--text);text-align:left;font:inherit;cursor:pointer;overflow-wrap:anywhere;}
.audio-sample-icon {display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border-radius:50%;background:#dfe7ea;}
.audio-sample-player {width:100%;margin-top:14px;}
.audio-sample-error {font-size:.8rem;color:#9e4545;}
.screenshot-gallery.audio-comparison {grid-template-columns:repeat(2,minmax(0,1fr));gap:0;align-items:stretch;}
.audio-comparison-column {min-width:0;padding:0 20px 0 0;}
.audio-comparison-column + .audio-comparison-column {border-left:1px solid var(--line,#bdc7ca);padding:0 0 0 20px;}
.audio-comparison-title {margin:0 0 16px;font-size:clamp(1.2rem,2vw,1.65rem);font-weight:500;}
.audio-comparison-list {display:grid;gap:12px;}
.audio-comparison-empty {margin:0;min-height:100px;display:flex;align-items:center;padding:20px;border:1px dashed var(--line,#bdc7ca);border-radius:12px;background:#f7f8f899;color:var(--muted);font-size:.85rem;}
@media(max-width:600px){.screenshot-gallery.audio-comparison{grid-template-columns:minmax(0,1fr);gap:22px;}.audio-comparison-column{padding:0;}.audio-comparison-column + .audio-comparison-column{border-left:0;border-top:1px solid var(--line,#bdc7ca);padding:22px 0 0;}}

.patch-request-form { position: relative; display: flex; align-items: center; flex: 1 1 315px; min-width: 0; max-width: 360px; gap: 8px; }
.patch-request-form input { min-width: 0; width: 100%; height: 42px; padding: 0 16px; border: 1px solid rgba(31, 48, 57, .34); border-radius: 999px; outline: 0; background: rgba(255, 255, 255, .92); color: var(--text); font-size: .82rem; box-shadow: 0 8px 24px rgba(31, 48, 57, .10); }
.patch-request-form input:focus { border-color: rgba(31, 48, 57, .62); box-shadow: 0 0 0 4px rgba(31, 48, 57, .10); }
.patch-request-form input:focus::placeholder { color: transparent; }
.patch-request-form button { flex: 0 0 auto; min-height: 42px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 14px; background: var(--surface-raised); color: var(--text); font-size: .8rem; }
.patch-request-form button:hover, .patch-request-form button:focus-visible { border-color: var(--text); }
.patch-request-form button:disabled { opacity: .6; cursor: wait; }
.patch-request-status { position: absolute; z-index: 6; top: calc(100% + 5px); left: 0; right: 0; color: var(--muted); font-size: .7rem; }
.patch-request-status:empty { display: none; }
.patch-request-status a { color: var(--accent); }

.site-account { position: relative; flex: 0 0 auto; }
.site-account-login, .site-account-trigger { display: inline-flex; align-items: center; min-height: 40px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 15px; background: rgba(247, 248, 248, .96); color: var(--text); font-size: 0.78rem; text-decoration: none; transition: background 180ms ease, border-color 180ms ease, color 180ms ease; }
.site-account-login:hover, .site-account-login:focus-visible, .site-account-trigger:hover, .site-account-trigger:focus-visible { border-color: var(--text); background: var(--surface-raised); color: var(--text); }
.site-account-trigger { cursor: pointer; }
.site-account-menu { position: absolute; z-index: 8; top: calc(100% + 10px); right: 0; display: grid; min-width: 150px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(247, 248, 248, .96); box-shadow: 0 18px 35px rgba(31, 48, 57, .18); }
.site-account-menu a, .site-account-menu button { border: 0; border-bottom: 1px solid var(--line); padding: 12px 14px; background: transparent; color: var(--text); font-size: 0.82rem; text-align: left; text-decoration: none; }
.site-account-menu button { border-bottom: 0; cursor: pointer; }
.site-account-menu a:hover, .site-account-menu a:focus-visible, .site-account-menu button:hover, .site-account-menu button:focus-visible { background: var(--surface-raised); }
.site-account-trigger { gap: 8px; }
.site-account-avatar, .feedback-avatar { display: inline-grid; width: 24px; height: 24px; place-items: center; overflow: hidden; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(215, 134, 88, 0.16); color: var(--text); font-size: .66rem; font-weight: 700; line-height: 1; }
.site-account-avatar img, .feedback-avatar img { width: 100%; height: 100%; object-fit: cover; }
.site-account-caret { color: var(--subtle); font-size: .8rem; }
.site-account-status-item { position: relative; border-bottom: 1px solid var(--line); }
.site-account-status-trigger { display: flex; width: 100%; justify-content: space-between; border: 0 !important; }
.site-account-status-menu { position: absolute; z-index: 2; top: -1px; right: 100%; display: grid; min-width: 170px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(247, 248, 248, .99); box-shadow: 0 14px 30px rgba(31, 48, 57, .16); }
.site-account-status-option { display: flex; align-items: center; gap: 9px; min-width: 100%; border: 0 !important; color: var(--muted) !important; }
.site-account-status-option > span { width: 1em; color: var(--accent); }
.site-account-status-option.is-selected { color: var(--text) !important; }
.site-account-status-option:disabled { cursor: wait; opacity: .65; }

:root input, :root textarea, :root select { background: rgba(255,255,255,.8); color: var(--text); }

.intro {
  max-width: 780px;
  padding: clamp(58px, 9vw, 104px) 0 48px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--subtle);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(3.6rem, 8vw, 6.7rem);
  line-height: 0.9;
}

h1 span { color: var(--subtle); }

h1 em {
  color: var(--muted);
  font-size: 0.67em;
  font-style: normal;
}

.hero-type {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  letter-spacing: 0.01em;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  border: 1px solid var(--line);
  background: var(--surface);
}

.cover-panel {
  position: relative;
  display: flex;
  min-height: 620px;
  overflow: hidden;
  align-items: stretch;
  justify-content: center;
  padding: clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line);
  background: #080a0b;
}

.cover-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  box-shadow: 0 0 0 1px rgba(241, 240, 236, 0.12), 0 24px 60px rgba(0, 0, 0, 0.32);
}

.project-content { padding: clamp(30px, 5vw, 62px); }

.project-heading { padding-bottom: 26px; border-bottom: 1px solid var(--line); }

.heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.heading-row h2 { margin: 0; font-size: clamp(2.7rem, 6vw, 5rem); line-height: 0.9; }

.project-type { margin: 10px 0 0; color: var(--muted); }

.status-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-badge::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 7px 1px 0;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status-badge.is-live { color: var(--success); }
.status-badge.is-unavailable { color: var(--warning); }

.project-description { max-width: 440px; margin: 26px 0 24px; color: var(--muted); }

.download-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  padding: 0 18px 0 20px;
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--background);
  font-weight: 750;
  text-align: left;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.download-button:not(:disabled):hover { background: transparent; color: var(--text); transform: translateY(-2px); }
.download-button:disabled { cursor: wait; opacity: 0.45; }
.button-arrow { font-size: 1.35rem; }

.download-note { min-height: 25px; margin: 10px 0 12px; color: var(--subtle); font-size: 0.8rem; }
.project-thanks-inline { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin: 0 0 26px; }

.release-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 26px;
  margin: 0;
}

.release-grid div { min-width: 0; }
.release-grid dt { margin-bottom: 5px; color: var(--subtle); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.release-grid dd { margin: 0; overflow: hidden; color: var(--text); font-size: 0.95rem; text-overflow: ellipsis; white-space: nowrap; }

.api-error, .instructions-grid, .media-section, .notice { margin-top: 18px; }

.api-error {
  padding: 28px;
  border: 1px solid rgba(232, 211, 155, 0.45);
  background: rgba(232, 211, 155, 0.06);
}

.api-error p:not(.eyebrow) { max-width: 500px; margin-bottom: 15px; color: var(--muted); }

.text-button {
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.instructions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.instruction-block { padding: 32px; border: 1px solid var(--line); }
.instruction-block h2, .section-heading h2 { margin-bottom: 10px; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 0.98; }
.instruction-block p:not(.eyebrow), .section-heading p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); }
.instruction-block code { color: var(--text); font-family: "Cascadia Code", Consolas, monospace; font-size: 0.9em; }

.media-section { padding: 34px; border: 1px solid var(--line); background: var(--surface-raised); }
.section-heading { max-width: 620px; margin-bottom: 26px; }
.section-heading .eyebrow { margin-bottom: 15px; }

.screenshot-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.screenshot-item { display: block; overflow: hidden; padding: 0; border: 1px solid var(--line); background: #080a0b; cursor: zoom-in; }
.screenshot-item img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 220ms ease, opacity 220ms ease; }
.screenshot-item:hover img { opacity: 0.84; transform: scale(1.025); }

.lightbox {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(237, 240, 242, 0.96);
  opacity: 0;
  transition: opacity 180ms ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; cursor: zoom-out; }
.lightbox-stage { position: relative; display: grid; width: 100%; height: 100%; place-items: center; padding: clamp(56px, 7vw, 88px) clamp(56px, 7vw, 88px) 112px; pointer-events: none; touch-action: none; }
.lightbox-figure { display: flex; flex-direction: column; align-items: center; gap: 16px; width: min(100%, 1440px); height: auto; margin: 0; pointer-events: auto; }
.lightbox-image { display: block; flex: 0 0 auto; min-width: 0; min-height: 0; max-width: 100%; max-height: min(900px, calc(100dvh - 240px)); width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45); user-select: none; }
.lightbox-control, .lightbox-counter { position: fixed; z-index: 2; opacity: 1; transition: opacity 260ms ease, background 180ms ease, border-color 180ms ease; }
.lightbox.controls-hidden .lightbox-control, .lightbox.controls-hidden .lightbox-counter { opacity: 0; pointer-events: none; }
.lightbox-control { display: grid; width: 52px; height: 52px; place-items: center; padding: 0; border: 1px solid rgba(13, 22, 26, 0.82); border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: #10191d; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.46); font-size: 1.45rem; line-height: 1; pointer-events: auto; }
.lightbox-control:hover, .lightbox-control:focus-visible { border-color: #070c0e; background: #ffffff; color: #070c0e; box-shadow: 0 5px 22px rgba(0, 0, 0, 0.58); outline: 2px solid rgba(255, 255, 255, 0.88); outline-offset: 2px; }
.lightbox-close { top: 24px; right: 28px; font-size: 2rem; font-weight: 300; }
.lightbox-previous { top: 50%; left: 24px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 24px; transform: translateY(-50%); }
.lightbox-counter { position: static; flex: 0 0 auto; margin: 0; padding: 7px 11px; border: 1px solid rgba(13, 22, 26, 0.72); border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: #10191d; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.42); font-size: 0.75rem; letter-spacing: 0.12em; transform: none; }

.video-frame-wrap { overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: #080a0b; }
.video-placeholder { display: grid; height: 100%; place-content: center; justify-items: center; padding: 28px; background: radial-gradient(circle at center, rgba(255, 255, 255, 0.07), transparent 58%); color: var(--muted); text-align: center; }
.video-placeholder[hidden] { display: none; }
.video-placeholder p { margin: 14px 0 6px; color: var(--text); font-weight: 650; }
.video-placeholder small { color: var(--subtle); }
.video-placeholder code { color: var(--muted); font-family: "Cascadia Code", Consolas, monospace; font-size: 0.9em; }

.feedback-section { display: grid; gap: 18px; }
.project-thanks-button { border: 1px solid var(--accent); border-radius: 999px; padding: 10px 16px; background: var(--accent); color: #fffaf4; cursor: pointer; font-weight: 700; white-space: nowrap; }
.project-thanks-button:hover, .project-thanks-button:focus-visible { filter: brightness(1.08); }
.project-thanks-button:disabled { cursor: default; opacity: .75; }
.feedback-list-heading { margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.feedback-list-heading .eyebrow { margin-bottom: 8px; }
.feedback-list-heading h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 400; }
.feedback-summary { width: fit-content; border: 0; padding: 0; background: transparent; color: var(--accent); min-height: 1.3em; text-align: left; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color 180ms ease, text-decoration-color 180ms ease; }
.feedback-summary:hover, .feedback-summary:focus-visible { color: var(--text); text-decoration-color: currentColor; }
.feedback-thanks-modal { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, .58); }
.feedback-thanks-dialog { width: min(100%, 390px); max-height: min(520px, calc(100vh - 48px)); overflow: hidden; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface-raised); box-shadow: 0 24px 70px rgba(0, 0, 0, .34); }
.feedback-thanks-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.feedback-thanks-dialog-heading h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 400; }
.feedback-thanks-close { width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--text); font-size: 1.25rem; line-height: 1; }
.feedback-thanks-close:hover, .feedback-thanks-close:focus-visible { border-color: var(--accent); color: var(--accent); }
.feedback-thanks-modal-list { display: grid; gap: 2px; max-height: 405px; overflow-y: auto; margin: 0; padding: 10px; list-style: none; }
.feedback-thanks-user { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; color: var(--text); }
.feedback-thanks-user:hover { background: var(--surface); }
.feedback-thanks-avatar { display: inline-grid; width: 38px; height: 38px; place-items: center; overflow: hidden; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(215, 134, 88, .16); color: var(--text); font-size: .78rem; font-weight: 700; }
.feedback-thanks-avatar img { width: 100%; height: 100%; object-fit: cover; }
.feedback-thanks-empty { padding: 18px 10px; color: var(--muted); }
.feedback-list { display: grid; gap: 10px; }
.feedback-thread { display: grid; gap: 8px; }
.feedback-item { border: 1px solid var(--line); background: rgba(255,255,255,.025); padding: 18px; }
.feedback-entry { position: relative; }
.feedback-entry { display: grid; grid-template-columns: minmax(112px, 18%) minmax(0, 1fr); gap: 22px; }
.feedback-profile-column { display: grid; align-content: start; justify-items: start; min-width: 0; }
.feedback-item p { margin: 8px 0 0; color: var(--text); white-space: pre-wrap; }
.feedback-message-column { min-width: 0; }
.feedback-meta { display: flex; align-items: center; gap: 7px; color: var(--subtle); font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; }
.feedback-avatar { width: 82px; height: 82px; border-color: var(--line-strong); box-shadow: 0 5px 18px rgba(0, 0, 0, .18); }
.feedback-author { color: var(--text); font-size: .78rem; font-weight: 700; letter-spacing: .07em; }
.feedback-author-thanks { margin-top: 6px; color: var(--subtle); font-size: .7rem; line-height: 1.35; }
.feedback-time, .feedback-edited { color: var(--subtle); font-size: .68rem; letter-spacing: .02em; text-transform: none; }
.feedback-form { border: 1px solid var(--line); padding: 18px; background: rgba(255,255,255,.018); }
.feedback-submit { border: 1px solid var(--line-strong); border-radius: 999px; padding: 10px 16px; background: transparent; color: var(--text); cursor: pointer; }
.feedback-submit:hover { border-color: var(--accent); color: var(--accent); }
.feedback-form textarea { width: 100%; margin-top: 14px; resize: vertical; }
.feedback-submit { margin-top: 10px; }
.feedback-entry-actions { display: flex; gap: 8px; margin-top: 12px; }
.feedback-edit { border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 11px; background: transparent; color: var(--muted); cursor: pointer; font-size: .76rem; }
.feedback-edit:hover, .feedback-edit:focus-visible { border-color: var(--accent); color: var(--accent); }
.feedback-edit--delete { border-color: rgba(182, 76, 67, .55); color: #b64c43; }
.feedback-edit--delete:hover, .feedback-edit--delete:focus-visible { border-color: #b64c43; color: #b64c43; background: rgba(182, 76, 67, .08); }
.feedback-edit-input { width: 100%; margin-top: 10px; resize: vertical; }
.feedback-thanks-button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; background: transparent; color: var(--muted); cursor: pointer; font-size: .76rem; }
.feedback-thanks-button:hover, .feedback-thanks-button:focus-visible, .feedback-thanks-button.is-active { border-color: rgba(185, 103, 91, .72); color: #b9675b; }
.feedback-thanks-heart { font-size: 1rem; line-height: 1; }
.feedback-thanks-count { color: var(--subtle); font-variant-numeric: tabular-nums; }
.feedback-thanks-button:disabled { cursor: wait; opacity: .65; }
.feedback-login, .feedback-message { color: var(--subtle); }
.account-login-link { color: var(--text); text-underline-offset: 4px; }
.feedback-message.is-error { color: #e58f83; }
.account-card { max-width: 620px; margin: 110px auto 0; border: 1px solid var(--line); padding: 34px; background: rgba(255,255,255,.025); }
.account-card h1 { margin: 10px 0; font-family: Georgia, serif; font-size: clamp(2.4rem, 6vw, 4.7rem); line-height: .98; }
.account-card form { display: grid; gap: 10px; margin-top: 28px; }
.account-card label { color: var(--muted); }
.account-card input { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--text); }
.account-card button { width: fit-content; border: 1px solid var(--line-strong); border-radius: 999px; padding: 11px 18px; background: transparent; color: var(--text); }
.account-card small { color: var(--subtle); }
.account-details { max-width: 760px; }
.account-profile { margin-top: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.account-avatar-row { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.account-avatar { display: grid; width: 104px; height: 104px; place-items: center; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--subtle); font-size: .72rem; text-align: center; }
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-avatar-actions { display: grid; gap: 8px; }
.account-avatar-actions button, .account-profile-actions button { cursor: pointer; }
.account-avatar-actions small { max-width: 280px; }
.account-profile select { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--text); }
.account-profile-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.account-profile-message { color: var(--muted); }
.account-profile-message.is-error { color: #e58f83; }
.account-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 32px 0 0; }
.account-info-grid dt { margin-bottom: 6px; color: var(--subtle); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.account-info-grid dd { margin: 0; overflow-wrap: anywhere; color: var(--text); }
.account-access-block { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.account-access-block .eyebrow { margin-bottom: 12px; }
.account-access-list { display: grid; gap: 8px; margin: 0; padding-left: 18px; color: var(--muted); }
.account-access-list a { color: var(--text); text-underline-offset: 4px; }
.avatar-crop-modal { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: 20px; }
.avatar-crop-modal[hidden] { display: none; }
.avatar-crop-backdrop { position: absolute; inset: 0; background: rgba(31, 48, 57, .35); backdrop-filter: blur(8px); }
.avatar-crop-panel { position: relative; width: min(100%, 470px); padding: 28px; border: 1px solid var(--line-strong); background: #ffffff; box-shadow: 0 24px 80px rgba(31, 48, 57, .24); }
.avatar-crop-panel h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 5vw, 2.8rem); }
.avatar-crop-help { color: var(--muted); }
.avatar-crop-stage { display: grid; width: min(100%, 320px); margin: 22px auto 14px; place-items: center; }
.avatar-crop-stage canvas { display: block; width: 100%; height: auto; border-radius: 50%; background: #dfe6e9; cursor: grab; touch-action: none; }
.avatar-crop-stage canvas:active { cursor: grabbing; }
.avatar-crop-controls, .avatar-crop-actions { display: flex; justify-content: center; gap: 10px; }
.avatar-crop-controls button, .avatar-crop-actions button { min-width: 42px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 15px; background: transparent; color: var(--text); cursor: pointer; }
.avatar-crop-controls button:hover, .avatar-crop-actions button:hover { border-color: var(--accent); color: var(--accent); }
.avatar-crop-actions { justify-content: flex-end; margin-top: 20px; }
.play-mark { display: grid; width: 52px; height: 52px; place-items: center; padding-left: 3px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--text); font-size: 0.95rem; }
.youtube-frame { display: block; width: 100%; height: 100%; border: 0; }

.notice { display: flex; align-items: flex-start; gap: 17px; padding: 28px 0 12px; color: var(--muted); }
.notice p { max-width: 620px; margin: 0; }
.notice-line { display: block; width: 32px; height: 1px; margin-top: 13px; flex: 0 0 auto; background: var(--text); }

.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 74px 0 32px; color: var(--subtle); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }

@media (max-width: 760px) {
  .page-shell { width: min(100% - 32px, var(--content-width)); }
  .site-header { align-items: flex-start; flex-direction: column; gap: 7px; }
  .site-search { flex: none; width: 100%; max-width: none; order: 2; margin: 9px 0 3px; }
  .project-type-navigation {order:3;max-width:100%;white-space:normal;}
  .tagline { order: 3; }
  .patch-request-form { order: 3; width: 100%; max-width: none; margin: 5px 0 14px; }
  .site-account { order: 4; }
  .intro { padding: 78px 0 54px; }
  h1 { font-size: clamp(3.5rem, 18vw, 6rem); }
  .project-card { display: block; }
  .cover-panel { min-height: 400px; border-right: 0; border-bottom: 1px solid var(--line); }
  .project-content { padding: 30px 24px 34px; }
  .heading-row { align-items: flex-start; flex-direction: column; gap: 15px; }
  .instructions-grid { grid-template-columns: 1fr; }
  .media-section, .instruction-block { padding: 26px 22px; }
  .screenshot-gallery { grid-template-columns: 1fr; }
  .lightbox-stage { padding: 58px 18px 82px; }
  .lightbox-image { max-width: 100%; max-height: calc(100dvh - 200px); }
  .lightbox-control { width: 48px; height: 48px; }
  .lightbox-close { top: 16px; right: 16px; }
  .lightbox-previous { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox-counter { bottom: 16px; }
  .site-footer { align-items: flex-start; flex-direction: column; padding-top: 54px; }
  .account-info-grid { grid-template-columns: 1fr; }
  .account-avatar-row { align-items: flex-start; flex-direction: column; }
  .site-account-status-menu { position: static; margin: 0 8px 8px; border-radius: 10px; box-shadow: none; }
  .site-account-menu { left: 0; right: auto; width: min(100vw - 32px, 280px); }
  .feedback-entry { grid-template-columns: 1fr; gap: 14px; }
  .project-thanks-inline { align-items: flex-start; flex-direction: column; }
  .project-thanks-inline .project-thanks-button { width: 100%; }
  .feedback-profile-column { grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
  .feedback-profile-column .feedback-author-thanks { grid-column: 2; margin-top: -4px; }
  .feedback-meta { align-items: flex-start; flex-wrap: wrap; }
  .feedback-avatar { width: 58px; height: 58px; }
}

@media (max-width: 1359px) {
  body.project-chat-enabled .page-shell { width: min(100% - 48px, var(--content-width)); }
  .project-chat-panel { margin-top: 22px; }
  .project-chat-messages { max-height: 360px; }
  .game-room-incoming { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

.home-intro { max-width: none; padding: clamp(72px, 8vw, 110px) 0 64px; }
.home-intro h1 { max-width: 100%; margin: 18px 0 0; font-size: clamp(3.05rem, 4.25vw, 3.8rem); line-height: .96; }
.home-intro h1 span { color: var(--muted); }
.home-lead { max-width: 520px; margin: 30px 0 0; color: var(--muted); font-size: 1.05rem; }
.project-index { margin-top: 4px; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.home-section-heading .eyebrow { margin: 0; }
.home-section-heading h2 { margin: 0; color: var(--text); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; letter-spacing: -0.04em; }
.project-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project-tile { display: grid; grid-template-columns: minmax(132px, 0.43fr) minmax(0, 0.57fr); min-height: 260px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color 180ms ease, transform 180ms ease, background 180ms ease; }
.project-tile:hover, .project-tile:focus-visible { border-color: var(--line-strong); background: var(--surface-raised); transform: translateY(-3px); }
.project-tile-media { min-height: 260px; overflow: hidden; border-right: 1px solid var(--line); background: #080a0b; }
.project-tile-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.9; transition: transform 260ms ease, opacity 260ms ease; }
.project-tile:hover .project-tile-media img, .project-tile:focus-visible .project-tile-media img { opacity: 0.78; transform: scale(1.025); }
.project-tile-content { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 28px; }
.project-tile-content .eyebrow { margin: 0; }
.project-tile-content h3 { max-width: 100%; margin: 36px 0 26px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.75rem, var(--card-title-size, 2.5rem), 3.75rem); font-weight: 400; letter-spacing: -0.055em; line-height: 0.96; overflow-wrap: anywhere; }
.project-tile-link { color: var(--muted); font-size: 0.85rem; }
.project-tile-comments { margin-top: auto; padding-top: 24px; color: var(--muted); font-size: 0.8rem; cursor: pointer; }
.project-tile-comments:hover, .project-tile-comments:focus-visible { color: var(--text); text-decoration: underline; }
.project-tile-thanks { display: block; margin-top: 8px; color: #b65f3d; font-size: 0.78rem; line-height: 1.5; }
.project-tile-release-date { display: block; margin-top: 10px; color: var(--muted); font-size: 0.72rem; line-height: 1.5; }
.project-tile-release-date[hidden] { display: none; }
.project-tile-supporters { margin: 20px 0 0; max-width: 100%; color: #a65d37; font-size: 0.85rem; line-height: 1.6; overflow-wrap: anywhere; }
.project-tile-supporters-label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 0.7rem; }
.project-tile-link span { display: inline-block; margin-left: 8px; color: var(--text); transition: transform 180ms ease; }
.project-tile:hover .project-tile-link span, .project-tile:focus-visible .project-tile-link span { transform: translate(3px, -3px); }
.home-note { max-width: 620px; margin: 74px 0 0; color: var(--muted); }
.starseeker-cover-panel { min-height: 500px; align-items: center; }
.starseeker-cover-panel .cover-image { height: auto; max-height: 100%; object-fit: contain; }
.screenshot-gallery-empty { display: grid; min-height: 150px; place-items: center; border: 1px dashed var(--line-strong); color: var(--muted); }
.screenshot-gallery-empty p { margin: 0; }
.project-tile-media--text { display: grid; place-content: center; justify-items: center; padding: 24px; background: radial-gradient(circle at 50% 45%, rgba(241, 240, 236, 0.12), transparent 52%), linear-gradient(145deg, #182124, #080a0b 70%); text-align: center; }
.project-tile-media--text strong { color: var(--text); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 3vw, 2.1rem); font-weight: 400; letter-spacing: -0.04em; line-height: 0.95; }
.project-tile-media--text span { margin-top: 10px; color: var(--muted); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }

@media (max-width: 900px) {
  .home-intro h1 { max-width: 800px; }
  .project-list { grid-template-columns: 1fr; }
}

@media (min-width: 1100px) {
  .home-intro h1 { white-space: nowrap; }
}

@media (max-width: 760px) {
  .home-intro { padding: 78px 0 68px; }
  .home-intro h1 { font-size: clamp(2.55rem, 12vw, 3.35rem); line-height: .94; }
  .home-section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .project-tile { grid-template-columns: 38% 62%; min-height: 220px; }
  .project-tile-media { min-height: 220px; }
  .project-tile-content { padding: 24px 20px; }
  .project-tile-content h3 { margin-top: 24px; }
  .project-tile-content h3 { font-size: clamp(1.65rem, var(--card-title-size, 2.5rem), 3rem); }
  .home-note { margin-top: 56px; }
}

.site-online-panel { min-width: 0; padding: 20px; border: 1px solid var(--line); background: rgba(247,248,248,.94); box-shadow: 0 12px 36px rgba(31,48,57,.07); }
.site-online-panel h2 { margin: 8px 0 12px; font-size: 1.5rem; line-height: 1.15; }
.site-online-description, .site-online-count { color: var(--muted); font-size: .76rem; line-height: 1.5; }
.site-online-panel .project-chat-online-list { max-height: min(560px, 60vh); gap: 14px; }
@media (min-width: 1600px) {
  body.project-chat-enabled .page-shell { width: min(100% - 48px, 1800px); }
  .project-page-layout { grid-template-columns: 230px minmax(0, 1fr) 310px; }
  .site-online-panel { position: sticky; top: 18px; }
}
@media (min-width: 1360px) and (max-width: 1599px) {
  .project-page-layout { grid-template-columns: 200px minmax(0, 1fr) 280px; }
}
@media (min-width: 1360px) {
  .site-online-panel { grid-column: 1; grid-row: 1; position: sticky; top: 18px; }
  .project-main-column { grid-column: 2; grid-row: 1; }
  .project-chat-panel { grid-column: 3; grid-row: 1; }
  .project-main-column .home-intro h1 { white-space: normal; }
}
@media (max-width: 1359px) {
  .site-online-panel { margin-top: 20px; }
}
:root .project-supporters { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; margin: 22px 0 18px; border: 1px solid rgba(182, 98, 62, .22); border-radius: 14px; background: linear-gradient(120deg, rgba(182, 98, 62, .09), rgba(182, 98, 62, .025)); }
.project-supporters-icon { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%; color: var(--accent); background: rgba(182, 98, 62, .12); font-size: 23px; }
.project-supporters h3 { margin: 0; font: inherit; font-size: .87rem; font-weight: 700; color: var(--text); }
.project-supporters-note { margin: 5px 0 10px; font-size: .75rem; line-height: 1.5; color: var(--muted); }
.project-supporters-names { margin: 0; line-height: 1.8; font-size: .87rem; color: var(--accent); overflow-wrap: anywhere; }
.project-supporters-names span { font-weight: 650; }
.player-page-shortcut { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: 0 0 28px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: var(--surface-raised); text-decoration: none; }
.player-page-shortcut:hover { color: var(--accent); border-color: var(--accent); }
.player-page-shortcut[aria-disabled="true"] { opacity: .4; cursor: default; }
.site-online-panel .player-page-shortcut { grid-column: 3; grid-row: 1; }
body[data-chat-scope="home"] .site-online-panel .project-chat-person { grid-template-columns: 8px minmax(0, 1fr) 28px auto; }
body[data-chat-scope="home"] .site-online-panel .dm-person { grid-column: 4; grid-row: 1; }
body[data-chat-scope="home"] .site-online-panel .project-chat-person > small { grid-column: 2 / -1; grid-row: 2; }
.project-tile { position: relative; }
.project-release-led { position: absolute; right: 18px; top: 18px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); background: radial-gradient(circle at 32% 28%, #eef1f2, #839095 65%, #536168); box-shadow: 0 0 0 3px rgba(32,40,45,.08), inset 0 -2px 4px rgba(0,0,0,.2); }
.project-release-led.is-ready { background: radial-gradient(circle at 32% 28%, #d7ffe5, #32d473 45%, #138346); box-shadow: 0 0 0 3px rgba(25,160,77,.12), 0 0 16px rgba(38,195,99,.38), inset 0 -2px 4px rgba(0,0,0,.15); }
.project-release-led.is-preparing { background: radial-gradient(circle at 32% 28%, #fffbd8, #f5ce3e 45%, #bd8c16); box-shadow: 0 0 0 3px rgba(225,176,30,.12), 0 0 16px rgba(234,190,40,.35), inset 0 -2px 4px rgba(0,0,0,.15); }
.project-tile-content .eyebrow { padding-right: 26px; }
.project-release-led.has-progress { display: grid; place-items: center; width: 42px; height: 42px; top: 12px; right: 12px; color: #63470b; font: 700 11px/1 system-ui,sans-serif; letter-spacing: -.3px; }
.project-tile:has(.project-release-led.has-progress) .eyebrow { padding-right: 44px; }
