/* Checkpoint — dark UI, lime accent for community, amber for developers. */
:root {
  --bg: #101217; --surface: #181B22; --surface2: #20242D; --line: #2A2F3A; --line2: #3A4050;
  --text: #E8EAF0; --text2: #C9CDD6; --muted: #9EA4B2; --faint: #8C92A0; --head: #F2F3F6;
  --lime: #C8F25A; --lime2: #DBFF7E; --amber: #FFB547; --amber2: #FFC979; --amberbg: #3A2C14; --amberline: #5A4420;
  --agree: #5AB0FF; --agreeT: #8CC8FF; --agreeBg: #16283A; --dis: #FF9A4D; --disT: #FFB27A; --disBg: #3A2516;
  --spoil: #FF9AAE; --spoilBg: #3A1820;
  --r: 12px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 Inter, system-ui, sans-serif; }
a { color: var(--lime); text-decoration: none; }
a:hover { color: var(--lime2); text-decoration: underline; }
h1, h2, h3, .h1, .h3, .display { font-family: 'Space Grotesk', Inter, sans-serif; color: var(--head); margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
h1, .h1 { font-size: 32px; } h2 { font-size: 20px; } h3, .h3 { font-size: 17px; }
p { margin: 0; }
ul, ol { margin: 0; padding-left: 20px; }
input, select, textarea, button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--lime); color: var(--bg); padding: 8px 12px; border-radius: 8px; }

/* layout */
.wrap { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 760px; } .narrowish { max-width: 860px; }
.pad { padding-top: 28px; padding-bottom: 56px; }
.section { padding-bottom: 28px; }
.toppad { padding-top: 28px; }
.tiles + * { margin-top: 0; }
#hubs { margin: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; align-items: center; gap: 8px; }
.fw { flex-wrap: wrap; }
.between { justify-content: space-between; } .baseline { align-items: baseline; } .center-y { align-items: center; }
.gap { gap: 14px; } .gap-sm { gap: 8px; } .gap-lg { gap: 24px; }
.grow { flex: 1 1 auto; } .col { display: flex; flex-direction: column; } .block { display: block; } .center { text-align: center; }
.cols { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.cols3 { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding-bottom: 56px; }
.col-main { flex: 999 1 560px; min-width: 0; }
.col-side { flex: 1 1 280px; max-width: 360px; min-width: 0; }
.cols3 .side { flex: 1 1 200px; max-width: 240px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.divider { border-top: 1px solid var(--line); margin: 4px 0; }

/* text */
.muted { color: var(--muted); } .sm { font-size: 14px; } .xs { font-size: 12px; } .strong { font-weight: 600; color: var(--text); }
.lime { color: var(--lime); }
.lede { font-size: 17px; color: #B4B9C4; line-height: 1.55; margin-top: 10px; max-width: 720px; }
.prose p + p { margin-top: 12px; } .prose { color: #D2D5DC; line-height: 1.65; overflow-wrap: anywhere; }
.prose.big { font-size: 16px; }
.prose h2 { margin: 24px 0 8px; } .prose code { background: var(--surface2); padding: 1px 6px; border-radius: 6px; }
blockquote { margin: 0; padding: 8px 12px; border-left: 3px solid var(--line2); background: #14161C; border-radius: 0 8px 8px 0; color: var(--text2); overflow-wrap: anywhere; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.top-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--head); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.brand svg { color: var(--lime); } .brand:hover { color: var(--head); text-decoration: none; }
.mainnav { display: flex; flex-wrap: wrap; gap: 2px; }
.navlink { color: var(--text2); font-size: 14px; font-weight: 500; padding: 10px 12px; border-radius: 8px; }
.navlink:hover, .navlink.on { color: #fff; background: var(--surface2); text-decoration: none; }
.search { flex: 1 1 220px; }
.search input { width: 100%; min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); padding: 0 14px; }
.acct { display: flex; gap: 8px; align-items: center; }
.menu { position: relative; }
.menu summary { list-style: none; } .menu summary::-webkit-details-marker { display: none; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px; min-width: 220px; display: flex; flex-direction: column; z-index: 20; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.menu-pop a, .menu-pop button { display: block; text-align: left; padding: 10px 12px; border-radius: 8px; color: var(--text2); background: none; border: 0; cursor: pointer; width: 100%; font-size: 14px; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--surface2); color: #fff; text-decoration: none; }
.btn.icon { position: relative; padding: 0 12px; }
.dot { position: absolute; top: 4px; right: 4px; background: var(--lime); color: var(--bg); font-size: 11px; font-weight: 700; border-radius: 999px; padding: 0 5px; line-height: 16px; }

/* buttons, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px; font-weight: 600; font-size: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--surface2); color: #fff; text-decoration: none; }
.btn.primary { background: var(--lime); color: var(--bg); border-color: var(--lime); } .btn.primary:hover { background: var(--lime2); color: var(--bg); }
.btn.dev { background: var(--amber); color: #1A1205; border-color: var(--amber); } .btn.dev:hover { background: var(--amber2); color: #1A1205; }
.btn.danger { border-color: #6A2A35; color: #FFB3C1; } .btn.danger:hover { background: #3A1820; }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.btn.wide { width: 100%; }
.col-side .btn, .showcase .btn, .gh-side .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 8px; padding-bottom: 8px; }
.ghost { background: transparent; border: 0; color: #B4B9C4; font-weight: 600; font-size: 13px; cursor: pointer; min-height: 40px; padding: 0 8px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; }
.ghost:hover { background: var(--surface2); color: #fff; text-decoration: none; }
.ghost.on { color: var(--lime); } .ghost.danger { color: #FFB3C1; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #232733; color: var(--text2); white-space: nowrap; }
a.chip:hover { text-decoration: none; filter: brightness(1.15); }
.chip.big { font-size: 14px; padding: 8px 14px; } .chip.xs { font-size: 11px; padding: 1px 6px; }
.t-hot { background: var(--disBg); color: var(--disT); } .t-q { background: var(--agreeBg); color: var(--agreeT); } .t-guide { background: #22301A; color: var(--lime); }
.t-news { background: #2C2238; color: #D5B4FF; } .t-disc { background: #232733; color: var(--text2); } .t-dev, .chip.dev { background: var(--amberbg); color: var(--amber2); }
.spoilerchip { background: var(--spoilBg); color: var(--spoil); }
.st-out { background: var(--amberbg); color: var(--amber2); } .st-demo { background: #22301A; color: var(--lime); } .st-play { background: #2C2238; color: #D5B4FF; } .st-ea { background: var(--disBg); color: var(--disT); } .st-soon { background: var(--agreeBg); color: var(--agreeT); }
.s-agree { background: var(--agreeBg); color: var(--agreeT); } .s-disagree { background: var(--disBg); color: var(--disT); } .s-unsure { background: #232733; color: var(--text2); }
.count { background: var(--bg); color: var(--lime); border-radius: 999px; padding: 0 6px; font-size: 12px; margin-left: 4px; }

/* cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.padded { padding: 18px 20px; }
.devedge { border-color: var(--amberline); }
.empty { text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; padding: 32px; }
.flash { margin-top: 16px; padding: 12px 16px; border-radius: 10px; background: #22301A; color: var(--lime); border: 1px solid #3B5226; }
.flash.err { background: var(--spoilBg); color: #FFC2CE; border-color: #6A2A35; }
.flash ul { margin: 0; }
.side-h.nopad { padding: 0; }
.chip.founding { background: #2C2238; color: #D5B4FF; }
.founding-inline { color: #D5B4FF; }
.steps { list-style: none; padding: 0; margin: 0; }
.stepn { width: 32px; height: 32px; border-radius: 50%; background: var(--amber); color: #1A1205; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
a.plain { color: var(--head); } a.plain:hover { color: #fff; }
.flash.warn { background: var(--amberbg); color: var(--amber2); border-color: var(--amberline); align-items: center; }

/* key art banner, screenshots, facts */
.gamehead { position: relative; overflow: hidden; }
.gamehead.has-art .gh-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; filter: blur(2px); transform: scale(1.04); }
.gamehead.has-art::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,18,23,.96) 0%, rgba(16,18,23,.78) 55%, rgba(16,18,23,.55) 100%); }
.gamehead > .wrap { position: relative; }
.cover { width: 300px !important; height: 168px !important; }
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 46%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.shot { scroll-snap-align: start; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: #0b0c10; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.shot:hover img { transform: scale(1.03); }
.bullets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 20px; padding-left: 20px; color: var(--text2); margin-top: 6px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; }
.formthumb { width: 100%; max-width: 360px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.thumbpick { display: flex; flex-direction: column; gap: 4px; margin: 0 !important; }
.thumbpick img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
input[type=file] { padding: 8px; }

/* hero */
.hero { padding-top: 40px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; }
.hero h1 { font-size: 44px; line-height: 1.05; letter-spacing: -0.02em; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 14px; }
.tile { display: flex; flex-direction: column; overflow: hidden; color: var(--text); }
.tile:hover { border-color: var(--line2); text-decoration: none; color: #fff; }
.tile-art { height: 90px; display: flex; align-items: flex-end; padding: 10px 12px; position: relative; overflow: hidden; }
.tile-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-art > span { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 30px; color: rgba(255,255,255,.85); position: relative; }
.tile-art.wide { height: 120px; } .tile-art.tall { height: 150px; }
.tile-art .art-title { font-size: 24px; color: var(--head); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.tile-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.tone1 { background: #2D4A3E; } .tone2 { background: #4A2D3A; } .tone3 { background: #2D3A4A; } .tone4 { background: #4A422D; } .tone5 { background: #3A2D4A; } .tone6 { background: #2D484A; }
.tonebg1 { background: #17241F; } .tonebg2 { background: #241820; } .tonebg3 { background: #171E27; } .tonebg4 { background: #242117; } .tonebg5 { background: #1E1827; } .tonebg6 { background: #172426; }

/* side menu */
.side { display: flex; flex-direction: column; gap: 20px; }
.side-h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 0 10px 6px; }
.gh-side .side-h { padding: 0; }
.side a { display: flex; align-items: center; color: var(--text2); font-size: 14px; padding: 8px 10px; border-radius: 8px; min-height: 40px; }
.side a:hover, .side a.on { background: var(--surface2); color: #fff; text-decoration: none; }

/* tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs.pill { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; align-self: flex-start; }
.tab { font-weight: 600; font-size: 14px; color: #B4B9C4; padding: 10px 14px; border-radius: 999px; min-height: 40px; display: inline-flex; align-items: center; border: 1px solid transparent; }
.tabs:not(.pill) .tab { background: var(--surface); border-color: var(--line); }
.tab:hover { color: #fff; text-decoration: none; }
.tab.on { background: var(--lime); color: var(--bg); }
.tab.dev.on { background: var(--amber); color: #1A1205; border-color: var(--amber); }

/* thread cards */
.thread { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.thread h3 { font-size: 20px; line-height: 1.3; } .thread h3 a { color: var(--head); }
.excerpt { font-size: 14px; color: #B4B9C4; line-height: 1.55; overflow-wrap: anywhere; }
.foot-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); align-items: center; }
.foot-meta strong { color: var(--text); } .foot-meta strong.lime { color: var(--lime); }
.join { margin-left: auto; font-weight: 600; }
.stancebar { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; }
.stancebar .a { color: var(--agreeT); min-width: 78px; } .stancebar .d { color: var(--disT); min-width: 92px; text-align: right; }
.stancebar .bar { flex: 1; height: 8px; border-radius: 999px; background: var(--dis); overflow: hidden; }
.stancebar .bar div { height: 100%; background: var(--agree); }
.stancebar.big { font-size: 13px; } .stancebar.big .bar { height: 10px; }
.pager { display: flex; justify-content: space-between; }

/* review snippets */
.revmini { display: flex; gap: 12px; color: var(--text); padding-top: 8px; border-top: 1px solid var(--line); }
.card.revmini { border-top: 1px solid var(--line); padding: 14px 16px; }
.revmini:hover { text-decoration: none; color: #fff; }
.revmini.big { font-size: 15px; }
.score { flex: none; width: 44px; height: 44px; border-radius: 10px; background: #232733; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; color: var(--lime); }
.score.big { width: 56px; height: 56px; font-size: 26px; }
.sc-hi { color: var(--lime); } .sc-mid { color: var(--amber2); } .sc-lo { color: var(--disT); }
.evt { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; padding-top: 8px; border-top: 1px solid var(--line); }
.evt:first-of-type { border-top: 0; padding-top: 0; }
.rules { line-height: 1.7; color: #B4B9C4; margin-bottom: 8px; }

/* game hub */
.gamehead { border-bottom: 1px solid var(--line); }
.gamehead-row { padding-top: 32px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; }
.cover { flex: none; width: 160px; height: 214px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); display: flex; align-items: flex-end; padding: 12px; overflow: hidden; position: relative; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover span { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; color: var(--head); position: relative; }
.gh-main { flex: 999 1 380px; min-width: 0; }
.gh-side { flex: 1 1 260px; }
.gtitle { font-size: 46px; line-height: 1; letter-spacing: -0.02em; }
.bigscore { font-family: 'Space Grotesk', sans-serif; font-size: 26px; color: var(--lime); }
.htabs { display: flex; flex-wrap: wrap; gap: 28px; }
.htab { font-weight: 600; font-size: 15px; color: #B4B9C4; border-bottom: 3px solid transparent; padding: 14px 2px; }
.htab:hover { color: #fff; text-decoration: none; } .htab.on { color: #fff; border-bottom-color: var(--lime); }
.distrow { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.distrow > span:first-child { width: 40px; color: #B4B9C4; } .distrow > span:last-child { width: 40px; text-align: right; }
.distrow .bar { flex: 1; height: 8px; background: #232733; border-radius: 999px; overflow: hidden; } .distrow .bar div { height: 100%; background: var(--lime); }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.filters label.check { flex-direction: row; align-items: center; min-height: 44px; color: var(--text2); font-size: 14px; }
.review .h3title { font-family: 'Space Grotesk', sans-serif; font-size: 19px; color: var(--head); font-weight: 600; }
.proscons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; font-size: 14px; color: #D2D5DC; }
.lbl { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.lbl.a { color: var(--agreeT); } .lbl.d { color: var(--disT); }
.devreply { border: 1px solid var(--amberline); background: #1E1810; border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.devreply-form summary, .report summary { list-style: none; cursor: pointer; } .devreply-form summary::-webkit-details-marker, .report summary::-webkit-details-marker { display: none; }
.devreply-form[open] summary { margin-bottom: 10px; }
.spoilerblock summary { cursor: pointer; color: var(--spoil); font-weight: 600; padding: 10px 0; }
.spoilerblock[open] { display: flex; flex-direction: column; gap: 10px; }
.actions { margin-left: -8px; }
.actions form { display: inline; }
.report[open] { flex-basis: 100%; }
.inline-report { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px; }
.boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.board { display: flex; flex-direction: column; gap: 6px; padding: 16px; color: var(--text); }
.board:hover { border-color: var(--line2); text-decoration: none; color: var(--text); }
.board .latest { color: var(--text2); border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); } .crumbs a { color: #B4B9C4; }

/* thread page */
.ttitle { font-size: 30px; line-height: 1.15; overflow-wrap: anywhere; }
.av { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--bg); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.av.big { width: 72px; height: 72px; font-size: 28px; } .av.dev { background: var(--amber); color: #1A1205; }
.standbox { background: #14161C; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.standbox form { display: inline; }
.stance { font-weight: 600; font-size: 14px; min-height: 44px; padding: 0 18px; border-radius: 10px; cursor: pointer; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.stance:hover { background: var(--surface2); }
.stance.agree.on { background: var(--agree); border-color: var(--agree); color: #0B1622; }
.stance.disagree.on { background: var(--dis); border-color: var(--dis); color: #231205; }
.stance.unsure.on { background: var(--text2); border-color: var(--text2); color: var(--bg); }
.bestside { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; border-radius: 10px; padding: 14px; color: #D2D5DC; }
.bestside.agree { border: 1px solid #23415E; background: #121C27; } .bestside.disagree { border: 1px solid #5A3A20; background: #22180F; }
.bestside:hover { text-decoration: none; color: #fff; }
.reply { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 90px; }
.reply.nested { margin-left: 40px; }
.reply.solved { border-color: #3B5226; }
.reply:target { box-shadow: 0 0 0 2px var(--lime); }
.related { color: var(--text); line-height: 1.4; }
.spoil { background: var(--spoilBg); border: 0; border-radius: 4px; padding: 0 4px; cursor: pointer; color: transparent; }
.spoil span { filter: blur(5px); user-select: none; }
.spoil.revealed { color: inherit; cursor: auto; background: #2A1F24; } .spoil.revealed span { filter: none; user-select: auto; }

/* forms */
.form { display: flex; flex-direction: column; gap: 8px; }
.form label { font-size: 14px; font-weight: 600; color: var(--text2); margin-top: 6px; }
.form small { margin-top: -4px; }
input:not([type=checkbox]):not([type=radio]), select, textarea { min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); padding: 10px 12px; width: 100%; }
textarea { resize: vertical; line-height: 1.5; }
.filters select, .row input, .row select { width: auto; }
.search input { width: 100%; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: var(--lime); }
label.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; min-height: 40px; }
fieldset { border: 0; padding: 0; margin: 6px 0 0; } legend { font-size: 14px; font-weight: 600; color: var(--text2); margin-bottom: 8px; padding: 0; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.seg label { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 12px; cursor: pointer; margin: 0; }
.seg label:has(input:checked) { border-color: var(--lime); background: #1A2014; }
.seg label span { display: flex; flex-direction: column; } .seg small { color: var(--muted); font-weight: 400; }
.scores { display: flex; flex-wrap: wrap; gap: 6px; }
.scores label { margin: 0; }
.scores input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.scores span { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; cursor: pointer; background: var(--bg); }
.scores input:checked + span { background: var(--lime); color: var(--bg); border-color: var(--lime); }
.scores input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.auth { display: flex; justify-content: center; }
.authcard { width: 100%; max-width: 480px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }

/* notifications, profile, tables */
.notes { list-style: none; padding: 0; margin: 0; }
.notes li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); }
.notes li:first-child { border-top: 0; } .notes li.unseen { background: #1A2014; }
.profile { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
thead th { border-top: 0; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }

/* dev showcase */
.devhero { background: #17140F; border-bottom: 1px solid var(--line); }
.devhero-row { padding-top: 44px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.devhero-row > .grow { flex: 1 1 480px; max-width: 720px; }
.display { font-size: 44px; line-height: 1.05; letter-spacing: -0.02em; }
.fairbox { flex: 1 1 300px; max-width: 400px; } .fairbox ul { line-height: 1.7; color: var(--text2); }
.showgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.showcase { overflow: hidden; display: flex; flex-direction: column; }
.showcase .tile-art:hover { text-decoration: none; }
.joinband { background: #14161C; border-top: 1px solid var(--line); }
.joinband ul { line-height: 1.8; color: var(--text2); }
.price { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: var(--head); } .price.dev { color: var(--amber2); }

/* footer */
.foot { border-top: 1px solid var(--line); margin-top: 24px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-top: 24px; padding-bottom: 32px; font-size: 13px; color: var(--faint); }
.foot-row nav { display: flex; gap: 16px; flex-wrap: wrap; } .foot-row a { color: #B4B9C4; }

/* phones */
@media (max-width: 720px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero h1, .display { font-size: 32px; } .gtitle { font-size: 34px; } h1, .h1 { font-size: 26px; } .ttitle { font-size: 24px; }
  .mainnav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .navlink { white-space: nowrap; }
  .search { order: 4; flex-basis: 100%; }
  .acct { margin-left: auto; }
  .cols3 .side { max-width: none; flex-basis: 100%; flex-direction: row; overflow-x: auto; gap: 16px; }
  .cols3 .side > div { min-width: 180px; }
  .col-side { max-width: none; }
  .cover { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; }
  .shots { grid-auto-columns: 85%; }
  .reply.nested { margin-left: 16px; }
  .padded { padding: 16px; }
  .tabs.pill { border-radius: 14px; }
  .join { margin-left: 0; }
  .stancebar .a, .stancebar .d { min-width: 0; }
}
