/* templates/antitorrent/radii.css */
/* Shared corner geometry. Components choose a role, never their own numeric radius.
   Surface: cards, table frames, panels, dialogs and large media.
   Control: buttons, inputs, menu options and compact media.
   Detail: badges, small artwork and compact technical labels.
   Flat edges remain 0; circles and indicators have geometric tokens. */
:root {
  --radius-detail: 4px;
  --radius-control: 8px;
  --radius-surface: 12px;
  --radius-line: 2px;
  --radius-round: 50%;
  --radius-pill: 9999px;
}


/* templates/antitorrent/styles.css */

:root{--hero-image:url("/templates/antitorrent/assets/hero.png");--gallery-image:url("/templates/antitorrent/assets/reference.png")}
:root{--ink:#070c18;--muted:#586583;--line:#e1e6ee;--green:#219500;--lime:#adea00;--soft:#f5f7fa;--mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace;--page:1400px;color-scheme:light;font-family:Arial,Helvetica,sans-serif;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:78px}body{margin:0;background:#fff;color:var(--ink);font-size:16px;line-height:1.35}button,input,select{font:inherit}button,a,summary,input,select{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button{border:0;background:none;padding:0}a{color:inherit;text-decoration:none}button:disabled{cursor:default}button, a, input, select, summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #538f00}button:hover{color:#315f04}h1,h2,h3,p,dl,dd{margin:0}button .icon{flex:none}code{font-family:var(--mono);font-size:.95em}svg{display:block}.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.svg-library{position:absolute;width:0;height:0;overflow:hidden}.skip-link{position:fixed;top:8px;left:8px;transform:translateY(-150%);background:#fff;padding:12px;z-index:99}.skip-link:focus{transform:none}.site-header{height:57px;position:relative;z-index:5;border-bottom:1px solid rgba(214,221,231,.7);background:rgba(255,255,255,.97)}.header-inner{height:100%;max-width:var(--page);width:calc(100% - 80px);margin:auto;display:flex;align-items:center;gap:25px;white-space:nowrap}.brand{display:flex;align-items:center;gap:12px;letter-spacing:.6px;font-weight:800;font-size:25px}.brand>svg{width:32px;height:32px}.brand-description{font-size:13px;color:var(--muted);border-left:1px solid #aab3c2;padding-left:22px;margin-left:-5px}.primary-nav{display:flex;gap:28px;margin-left:auto;font-size:14px}.search{display:flex;align-items:center;gap:12px;height:38px;flex:1;max-width:426px;min-width:190px;padding:0 13px;border:1px solid #e4e9f1;border-radius:var(--radius-control);background:#f4f6fa}.search .icon{width:21px;height:21px}.search input{min-width:0;width:100%;border:0;background:transparent;color:var(--ink);font-size:13px;outline:none}.search input::placeholder{color:var(--muted);opacity:1}.search:focus-within{border-color:#a8bf79;box-shadow:0 0 0 3px #a4da0020}.search kbd{font:13px Arial;color:var(--muted);flex:none}.header-actions{margin-left:auto;display:flex;align-items:center;gap:22px;font-size:14px}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:30px;border-radius:var(--radius-control)}.icon-button:hover{background:#edf1e8}.header-divider{height:23px;width:1px;background:var(--line);margin-left:-8px}.sign-in{display:flex;align-items:center;gap:11px}.mobile-menu{display:none}main{position:relative;isolation:isolate;min-height:calc(100vh - 57px)}.hero-backdrop{position:absolute;z-index:-1;top:0;left:0;right:0;height:475px;background-image:linear-gradient(to bottom,rgba(255,255,255,0) 70%,rgba(255,255,255,.25) 79%,#fff 99%),linear-gradient(to right,rgba(255,255,255,.9) 0%,rgba(255,255,255,.78) 16%,rgba(255,255,255,.3) 29%,rgba(255,255,255,0) 43%),var(--hero-image);background-position:center top;background-size:cover}.page-grid{width:calc(100% - 80px);max-width:var(--page);margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 472px;gap:34px;padding-top:43px;padding-bottom:32px}.main-column{min-width:0}.game-intro{min-height:357px}.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:15px;font-size:13px;color:#43516d;margin-bottom:24px}.breadcrumbs button{color:inherit}.breadcrumbs button:hover{text-decoration:underline}.eyebrow{font-size:12px;font-weight:400;letter-spacing:.015em;color:#43516d}.eyebrow>span{margin:0 7px}.game-intro h1{font-size:65px;font-weight:800;line-height:.88;letter-spacing:-2.5px;margin:10px 0 4px}.localized-title{font-size:24px;font-weight:700;letter-spacing:-.6px}.game-description{font-size:16px;line-height:1.27;margin-top:8px;max-width:400px;color:#37445d}.game-meta{display:flex;gap:17px;align-items:center;color:#34415c;font-size:15px;margin-top:8px}.hero-actions{display:flex;align-items:center;gap:21px;margin-top:16px}.trailer-button,.save-button{display:flex;align-items:center;gap:12px;font-size:14px}.play-circle{width:37px;height:37px;border:1.6px solid currentColor;border-radius:var(--radius-round);display:grid;place-items:center}.play-circle .icon{width:23px;height:23px;margin-left:-1px}.save-button .icon{width:24px;height:24px}.action-divider{height:24px;border-left:1px solid #bdc6d3}.save-button[aria-pressed=true] .icon,.header-bookmark[aria-pressed=true] .icon{fill:var(--lime);stroke:var(--ink)}.release-content{scroll-margin-top:25px}.tabs{display:flex;align-items:stretch;gap:31px;border-bottom:1px solid #cfd7e2;overflow-x:auto;scrollbar-width:none;min-height:42px}.tabs::-webkit-scrollbar{display:none}.tabs button{flex-shrink:0;position:relative;display:flex;gap:8px;align-items:center;padding:0 0 13px;font-size:14px;color:#3d4b6b;white-space:nowrap}.tabs button[aria-selected=true]{color:var(--ink);font-weight:600}.tabs button[aria-selected=true]::after{position:absolute;content:"";height:3px;background:#58bd05;bottom:0;left:0;right:0}.tab-count{font-weight:400;background:#edf1f6;line-height:23px;min-width:24px;text-align:center;padding:0 6px;border-radius:var(--radius-detail)}.tab-panel{padding-top:13px}.tab-panel[hidden]{display:none}.tab-panel h2{font-size:26px;font-weight:700;letter-spacing:-.7px;line-height:1.15}.section-description{color:var(--muted);font-size:15px;margin-top:3px;margin-bottom:12px;line-height:1.45}.file-manifest{border:1px solid var(--line);border-radius:var(--radius-surface);overflow:hidden;background:rgba(255,255,255,.91);font-size:14px}.manifest-heading{display:flex;align-items:center;justify-content:space-between;background:#f3f5f8;padding:6px 14px;color:var(--muted);font-size:12px;border-bottom:1px solid var(--line)}.file-manifest summary{list-style:none;cursor:pointer}.file-manifest summary::-webkit-details-marker{display:none}.file-row{display:flex;align-items:center;gap:11px;min-height:37px;padding:6px 14px;border-bottom:1px solid #e9edf3;min-width:0}.file-row code{font-weight:500;white-space:nowrap}.root-row{min-height:42px}.root-row code{font-weight:700}.file-row .chevron{width:13px;height:13px;transition:transform .15s}.file-row .folder-icon{width:24px;height:24px;stroke:#566277;stroke-width:1}.file-row .file-icon{width:22px;height:22px;stroke-width:1.5}.root-row .file-size{font-size:14px;color:var(--muted)}.root-size>span{margin:0 5px}.file-size{margin-left:auto;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.file-detail{color:#7a869f;font-size:13px;margin-left:48px;white-space:nowrap}.file-row.depth-one{padding-left:36px}.file-row.depth-two{padding-left:59px;min-height:34px}.file-row.depth-two .file-detail{margin-left:30px}.tree-spacer{width:13px;flex:none}.file-row:hover,summary.more-files:hover{background:#f5f8fc}details[open]>summary>.chevron{transform:rotate(90deg)}.more-files{padding:7px 0 9px 96px;display:flex;align-items:center;gap:15px;color:#43506c;font-size:13px;min-height:31px;border-bottom:1px solid #e9edf3}.more-files>.icon{width:12px;height:12px}.more-files .chevron{transition:transform .15s}.folder-group:last-child>summary{border-bottom:none}.manifest-actions{display:flex;align-items:center;gap:29px;margin-top:9px}.text-link{display:inline-flex;align-items:center;gap:9px;font-size:14px;color:#354668}.text-link .icon{width:18px;height:18px}.text-link:hover{text-decoration:underline;text-underline-offset:3px}.screenshots{margin-top:14px}.screenshots h2{font-size:20px;letter-spacing:-.4px;margin-bottom:5px}.screenshot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.screenshot,.gallery-image{background-image:var(--gallery-image);background-size:var(--sprite-size);background-position:var(--sprite-position);background-repeat:no-repeat;aspect-ratio:2.385/1;overflow:hidden}.screenshot{width:100%;border-radius:var(--radius-surface);position:relative;border:1px solid #00000008;transition:transform .18s,filter .18s}.screenshot:hover{transform:translateY(-2px);filter:brightness(1.06)}.shot-one{--sprite-size:527.8351% 839.3443%;--sprite-position:5.4618% 98.6696%}.shot-two{--sprite-size:535.1916% 839.3443%;--sprite-position:29.5436% 98.6696%}.shot-three{--sprite-size:526.0274% 839.3443%;--sprite-position:53.4566% 98.6696%}.release-column{min-width:0;padding-top:16px}.release-card{background:rgba(255,255,255,.985);border:1px solid #e7ebf0;border-radius:var(--radius-surface);padding:25px 26px 23px;box-shadow:0 9px 24px #1d2b4610;position:relative}.release-topline{display:flex;justify-content:space-between;align-items:center;color:#475470;font-size:13px;margin-bottom:12px}.active-badge{display:flex;align-items:center;gap:9px;color:var(--ink);font-size:14px}.check-badge{display:inline-grid;place-items:center;width:17px;height:17px;border-radius:var(--radius-round);background:#4ab900;color:#fff;flex:none}.check-badge .icon{width:12px;height:12px;stroke-width:2.3}.release-card h2{font-size:34px;letter-spacing:-1.15px;line-height:1.1;font-weight:700}.build-line{display:flex;align-items:center;gap:8px;margin-top:3px;color:#455477;min-width:0}.build-line code{font-size:15px;white-space:nowrap}.icon-button.small{min-width:25px;min-height:26px}.small .icon{width:16px;height:16px}.version-picker{margin-top:12px;display:flex;align-items:center;position:relative;gap:12px;background:linear-gradient(110deg,#f5f7fa,#f9fafc);border:1px solid #e2e7f0;height:47px;border-radius:var(--radius-control);padding:0 15px}.version-picker>.icon:first-child{width:21px;height:21px;color:#546079}.version-picker select{appearance:none;flex:1;min-width:0;width:100%;border:0;color:#0a1123;background:transparent;font-size:15px;padding:12px 25px 12px 0;outline-offset:1px;cursor:pointer}.version-picker .select-chevron{position:absolute;right:14px;pointer-events:none;width:18px;height:18px}.release-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px 0;margin:15px 0 19px}.release-facts>div{min-width:0}.release-facts>div:nth-child(even){padding-left:29px;border-left:1px solid #d6deea}.release-facts dt{font-size:13px;color:#586580;margin-bottom:3px}.release-facts dd{font-size:16px}.size-facts{display:grid;grid-template-columns:1fr 1fr;padding:13px 0 15px;border-top:1px solid #d7deea;border-bottom:1px solid #d7deea}.size-facts>div+div{padding-left:25px;border-left:1px solid #d7deea}.size-facts dt{font-size:15px;color:#586582;margin-bottom:3px}.size-facts dd{font-size:33px;font-weight:750;letter-spacing:-1.1px;line-height:1.1;font-variant-numeric:tabular-nums}.swarm{display:flex;align-items:center;gap:16px;padding:13px 0 15px;font-size:14px;color:#596580;white-space:nowrap}.swarm>span{display:flex;align-items:center;gap:9px}.swarm>span+span{padding-left:15px;border-left:1px solid #d7deea}.swarm strong{font-size:19px;color:#168300;font-variant-numeric:tabular-nums}.swarm b{font-size:19px;color:#11182c;font-weight:400;font-variant-numeric:tabular-nums}.swarm .availability{border:0;padding-left:0;margin-left:auto;color:#268a06;font-size:12px;gap:7px}.availability i{height:14px;width:14px;display:inline-block;background:#57c400;border-radius:var(--radius-round)}.torrent-button{display:flex;justify-content:center;align-items:center;position:relative;width:100%;min-height:71px;border-radius:var(--radius-control);color:#fff;background:linear-gradient(112deg,#1e272e,#171e24);box-shadow:0 1px 2px #10101012;transition:background .15s,transform .15s}.torrent-button>span{display:flex;align-items:center;flex-direction:column;gap:3px;padding:10px 35px}.torrent-button strong{font-size:23px;letter-spacing:-.7px;font-weight:650}.torrent-button small{font-size:14px;font-weight:400}.torrent-button .icon{position:absolute;right:23px;color:var(--lime);height:33px;width:33px;stroke-width:1.7}.torrent-button:hover{color:#fff;background:#283837;transform:translateY(-1px)}.magnet-button{width:100%;min-height:52px;display:flex;align-items:center;justify-content:center;gap:15px;border:1px solid #74829e;border-radius:var(--radius-control);margin-top:8px;font-size:17px;font-weight:600}.magnet-button .icon{width:27px;height:27px}.magnet-button:hover{background:#f4f8ee;color:#1b3300;border-color:#638e26}.download-note{text-align:center;color:#64718e;font-size:13px;margin-top:10px;margin-bottom:15px}.hash-row{display:flex;align-items:center;gap:14px;border-top:1px solid #d7deea;border-bottom:1px solid #d7deea;min-height:49px;font-size:14px;color:#485779}.hash-row>span{font-family:var(--mono);font-size:13px;border-right:1px solid #d7deea;padding-right:18px}.hash-row code{font-size:13px;letter-spacing:.1px}.hash-row .small{margin-left:-4px}.release-author{display:flex;align-items:center;gap:11px;margin-top:17px;min-width:0}.author-avatar{width:40px;height:40px;display:grid;place-items:center;background:#0a0c0a;border-radius:var(--radius-round);flex:none;color:#b4ec00}.author-avatar>svg{width:31px;height:31px}.author-name{display:flex;align-items:center;gap:7px;font-size:14px}.author-name .check-badge{width:16px;height:16px;background:#7bd000}.release-author time{display:block;font-size:12px;color:#5f6d89;margin-top:5px}.history-link{margin-left:auto;font-size:12px;gap:5px;white-space:nowrap}.history-link .icon{width:15px;height:15px}.requirements{border-left:1px solid #d8e0eb;padding-left:20px;margin-top:21px}.requirements h2{font-size:19px;line-height:1.15;letter-spacing:-.35px}.requirements p{display:flex;align-items:center;gap:14px;font-size:13px;color:#5c6a87;margin:11px 0 9px}.requirements p>.icon{width:23px;height:23px;color:#25334f}.requirements p i{font-style:normal;margin:0 7px}.requirements .text-link{font-size:14px;text-decoration:underline;text-underline-offset:3px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px}.all-files-list{border:1px solid var(--line);border-radius:var(--radius-surface);overflow:hidden}.all-files-list .file-row{padding:10px 14px}.all-files-list .file-row code{font-size:12px;overflow-wrap:anywhere;white-space:normal}.all-files-list .file-row:last-child{border:0}.prose-panel{padding:24px 0 20px;max-width:760px}.prose-panel>p{margin-top:15px;color:var(--muted);line-height:1.7}.prose-panel>.eyebrow{margin:0 0 8px}.install-steps{padding:0;list-style:none;margin:24px 0;display:grid;gap:25px}.install-steps>li{display:flex;gap:19px}.install-steps>li>span{font-family:var(--mono);color:#789056;font-size:18px;padding-top:1px}.install-steps h3{font-size:18px;margin-bottom:5px}.install-steps p{color:var(--muted);line-height:1.6}.demo-note{padding:16px;border:1px solid var(--line);border-radius:var(--radius-surface);display:flex;gap:12px;font-size:14px}.about-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:30px}.about-facts span{color:var(--muted);font-size:13px;display:block;margin-bottom:6px}.about-facts strong{font-size:15px}.content-dialog,.gallery-dialog{border:1px solid #e0e5ec;border-radius:var(--radius-surface);padding:28px;max-width:min(560px,calc(100% - 32px));width:100%;color:var(--ink);box-shadow:0 20px 100px #0003}.content-dialog::backdrop,.gallery-dialog::backdrop{background:rgba(16,24,34,.6);backdrop-filter:blur(5px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.dialog-header h2{font-size:24px;letter-spacing:-.5px}.dialog-close{flex:none;align-self:flex-start}.content-dialog p{color:var(--muted);font-size:16px;line-height:1.65}.dialog-actions{display:flex;justify-content:flex-end;margin-top:23px}.dialog-primary{padding:12px 19px;border-radius:var(--radius-control);color:white;background:#172026}.dialog-primary:hover{background:#33423a;color:#fff}.dialog-copy-value{display:block;width:100%;margin-top:15px;padding:12px;border:1px solid #ccd5e0;border-radius:var(--radius-control);word-break:break-all;font-family:var(--mono);color:var(--ink)}.gallery-dialog{max-width:min(1120px,calc(100% - 32px));padding:20px}.gallery-dialog .eyebrow{display:block;margin-bottom:5px}.gallery-image{width:100%;border-radius:var(--radius-surface)}.gallery-controls{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:16px;color:var(--muted);font-size:14px}.reversed{transform:rotate(180deg)}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);z-index:100;max-width:calc(100% - 32px);padding:12px 20px;border:1px solid #dce5d0;border-radius:var(--radius-surface);box-shadow:0 8px 30px #071a1a1a;background:#182219;color:white;font-size:14px;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.search-results{display:grid;gap:8px;margin-top:15px}.search-result{display:flex;justify-content:space-between;gap:15px;text-align:left;padding:13px;border:1px solid var(--line);border-radius:var(--radius-control)}.search-result span{color:var(--muted);font-size:13px}.no-scroll{overflow:hidden}
@media(min-width:1680px){.hero-backdrop{height:515px;background-size:cover;background-position:center 37%}.page-grid{padding-top:48px}.game-intro{min-height:363px}}
@media(max-width:1320px){.header-inner{gap:20px}.brand-description{display:none}.page-grid{grid-template-columns:minmax(0,1fr) 424px;gap:27px}.release-card{padding:23px 22px}.tabs{gap:22px}.game-intro h1{font-size:61px}.file-detail{margin-left:22px}.file-row{gap:9px}.root-row code{font-size:12px}.root-size{font-size:12px!important}.swarm{gap:10px;font-size:13px}.swarm>span{gap:6px}.swarm>span+span{padding-left:10px}.swarm .availability{font-size:11px}.swarm strong,.swarm b{font-size:17px}.availability i{width:11px;height:11px}.release-author{gap:8px}.history-link{font-size:11px}.release-author time{font-size:11px}.requirements p{font-size:12px}.requirements p i{margin:0 4px}}
@media(max-width:1100px){.header-inner,.page-grid{width:calc(100% - 48px)}.header-inner{gap:18px}.primary-nav{gap:18px}.community-link{display:none}.header-actions{gap:15px}.page-grid{grid-template-columns:minmax(0,1fr) 380px;gap:22px;padding-top:33px}.hero-backdrop{height:460px;background-position:48% 0}.release-card{padding:22px 20px}.release-card h2{font-size:31px}.release-facts dd{font-size:14px}.release-facts>div:nth-child(even){padding-left:22px}.size-facts dd{font-size:30px}.availability{display:none!important}.history-link{font-size:0;gap:0}.history-link .icon{height:20px;width:20px}.requirements p{font-size:12px;line-height:1.7}.game-intro h1{font-size:56px}.game-intro{min-height:357px}.tabs{gap:22px}.root-size{display:none}.file-detail{margin-left:auto}.depth-two .file-detail{display:none}.file-row{gap:8px;padding-right:10px}.file-row.depth-one{padding-left:22px}.file-row.depth-two{padding-left:43px}.more-files{padding-left:78px}.file-row .file-size{margin-left:auto}.file-detail{font-size:11px}.game-description{font-size:15px}.main-column .section-description{font-size:14px}.manifest-actions{gap:16px}.manifest-actions .text-link{font-size:12px;gap:5px}.screenshot-grid{gap:7px}}
@media(max-width:900px){.primary-nav,.header-bookmark,.header-divider,.sign-in{display:none}.mobile-menu{display:flex}.header-actions{margin-left:0}.header-inner{gap:20px}.search{max-width:none;margin-left:auto}.page-grid{grid-template-columns:minmax(0,1fr);padding-top:28px;gap:0}.main-column{display:contents}.game-intro{grid-row:1;min-height:365px}.release-column{grid-row:2;padding:0;margin-bottom:27px}.release-content{grid-row:3}.release-card{max-width:none;padding:25px}.release-card h2{font-size:34px}.release-facts dd{font-size:16px}.release-facts{gap:15px 0}.size-facts dd{font-size:32px}.swarm{gap:18px;font-size:14px}.swarm strong,.swarm b{font-size:19px}.swarm .availability{display:flex!important;font-size:13px}.availability i{width:13px;height:13px}.history-link{font-size:13px;gap:5px}.history-link .icon{width:17px;height:17px}.release-author time{font-size:12px}.release-author{gap:12px}.requirements{display:none}.hero-backdrop{height:475px;background-position:58% 0;background-image:linear-gradient(to bottom,transparent 64%,#fff 100%),linear-gradient(to right,rgba(255,255,255,.94),rgba(255,255,255,.78) 24%,rgba(255,255,255,.05) 66%),var(--hero-image)}.root-size{display:block}.root-row code{font-size:13px}.file-detail{margin-left:36px;font-size:13px}.file-row.depth-one{padding-left:36px}.file-row.depth-two{padding-left:59px}.depth-two .file-detail{display:block}.more-files{padding-left:96px}.manifest-actions .text-link{font-size:14px}.screenshot-grid{gap:10px}.game-intro h1{font-size:65px}.game-description{font-size:16px}.breadcrumbs{margin-bottom:24px}}
@media(max-width:540px){.site-header{height:60px}.header-inner{width:calc(100% - 32px);gap:13px}.brand{font-size:21px;gap:8px}.brand>svg{width:29px;height:29px}.search{padding:0 8px;min-width:0;height:34px;background:none;border:0;margin-left:auto;flex:0 0 34px;overflow:hidden;transition:flex-basis .2s}.search .icon{width:21px;height:21px}.search input{opacity:0;min-width:140px;pointer-events:none}.search kbd{display:none}.search:focus-within{position:absolute;left:16px;right:56px;top:11px;width:auto;background:#f4f6fa;border:1px solid #dce2ec;overflow:visible;z-index:2}.search:focus-within input{opacity:1;pointer-events:auto}.header-actions{margin-left:0}.page-grid{width:calc(100% - 32px);padding-top:21px;padding-bottom:28px}.breadcrumbs{gap:9px;font-size:11px;margin-bottom:23px}.game-intro{min-height:357px}.game-intro .eyebrow{font-size:11px}.game-intro h1{font-size:55px;letter-spacing:-2px;margin-top:11px}.localized-title{font-size:21px}.game-description{font-size:14px;max-width:280px;line-height:1.42}.desktop-break{display:none}.game-meta{font-size:14px;margin-top:10px}.hero-actions{margin-top:19px;gap:17px}.hero-backdrop{height:447px;background-size:auto 447px;background-position:54% top;background-image:linear-gradient(to bottom,transparent 57%,#fff 100%),linear-gradient(to right,rgba(255,255,255,.92),rgba(255,255,255,.68) 41%,rgba(255,255,255,.06) 100%),var(--hero-image)}.release-card{padding:22px 20px 21px;border-radius:var(--radius-surface)}.release-topline{font-size:12px}.release-card h2{font-size:31px}.build-line code{font-size:13px}.version-picker{margin-top:13px}.version-picker select{font-size:14px}.release-facts dd{font-size:14px}.release-facts dt{font-size:12px}.release-facts>div:nth-child(even){padding-left:19px}.size-facts dd{font-size:29px}.size-facts dt{font-size:14px}.size-facts>div+div{padding-left:20px}.swarm{font-size:12px;gap:11px;flex-wrap:wrap}.swarm>span+span{padding-left:11px}.swarm .availability{font-size:11px;gap:5px}.availability i{width:9px;height:9px}.swarm strong,.swarm b{font-size:17px}.torrent-button strong{font-size:21px}.torrent-button .icon{width:29px;height:29px;right:17px}.magnet-button{font-size:16px}.download-note{font-size:12px}.hash-row{gap:9px}.hash-row>span{font-size:12px;padding-right:10px}.hash-row code{font-size:12px}.author-avatar{width:34px;height:34px}.author-avatar svg{width:27px;height:27px}.author-name{font-size:13px}.release-author time{font-size:11px}.history-link{font-size:0;gap:0}.history-link .icon{width:20px;height:20px}.tabs{gap:26px}.tabs button{font-size:14px;padding-bottom:12px;min-height:45px}.tab-panel{padding-top:18px}.tab-panel h2{font-size:24px}.section-description{font-size:14px!important;margin-top:6px;max-width:330px}.file-manifest{font-size:13px}.manifest-heading{font-size:12px;padding:8px 10px}.file-row{padding:9px 9px;gap:7px;min-height:43px}.root-row{flex-wrap:wrap;row-gap:2px}.root-row code{font-size:11px;letter-spacing:-.1px;overflow-wrap:anywhere;white-space:normal;min-width:0;flex:1}.root-size{width:100%;padding-left:42px;text-align:left;margin-top:2px;font-size:11px!important}.file-row .folder-icon{width:22px;height:22px}.file-row .chevron{width:11px;height:11px}.file-row.depth-one{padding-left:17px}.file-row.depth-two{padding-left:33px}.file-detail{display:none!important}.file-size{font-size:12px}.root-size>span{margin:0 3px}.file-row.depth-two{min-height:39px}.more-files{padding:10px 0 10px 67px;font-size:12px}.file-row code{font-size:12px}.manifest-actions{gap:16px;justify-content:space-between;align-items:flex-start}.manifest-actions .text-link{font-size:12px;gap:5px;min-height:34px}.manifest-actions .icon{width:16px;height:16px}.screenshots{margin-top:19px}.screenshots h2{font-size:20px;margin-bottom:10px}.screenshot-grid{grid-template-columns:repeat(3,75%);overflow-x:auto;scroll-snap-type:x mandatory;padding:0 0 8px;gap:10px}.screenshot{scroll-snap-align:start}.panel-heading{display:block}.panel-heading .text-link{margin-top:4px}.all-files-list .file-row{padding:11px 8px;gap:8px}.all-files-list .file-row code{font-size:11px;flex:1}.all-files-list .file-size{font-size:12px}.all-files-list .file-icon{width:18px;height:18px}.content-dialog,.gallery-dialog{padding:20px;border-radius:var(--radius-surface);max-width:calc(100% - 24px)}.dialog-header h2{font-size:21px}.gallery-dialog{padding:14px}.gallery-dialog .dialog-header h2{font-size:18px}.gallery-dialog .eyebrow{font-size:10px}.gallery-controls{margin-top:10px}.gallery-image{aspect-ratio:2.385/1}.prose-panel{padding-top:21px}.prose-panel>p{font-size:15px}.install-steps h3{font-size:16px}.install-steps p{font-size:14px}.about-facts{grid-template-columns:1fr;gap:15px}.about-facts>div{padding:0 0 13px;border-bottom:1px solid var(--line)}.search-results .search-result{font-size:14px;display:block}.search-result span{display:block;margin-top:5px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}


/* templates/antitorrent/site-theme.css */
/* Shared shell: replace --hero-image per release; the contrast layers stay shared. */
:root {
  --page-surface: #fff;
  --content-surface: #f6f8fa;
  --content-hover: #eef3f6;
  --content-accent: #f3f7f0;
  --content-line: #e3e9ed;
  --hero-position: center 38%;
  --hero-position-mobile: 56% top;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html,
body {
  background: var(--page-surface);
}

.toast,
.toast.visible {
  transform: translateX(-50%);
}

.toast {
  transition: opacity .15s;
}

.site-header {
  color: #f5f7f8;
  background: #1b252c;
  border-bottom: 1px solid #344048;
  box-shadow: 0 3px 18px rgba(8, 18, 24, .19);
}

.site-header .brand,
.site-header .primary-nav,
.site-header .header-actions {
  color: #f5f7f8;
}

.site-header .brand-description {
  color: #aab7bf;
  border-left-color: #4b5962;
}

.site-header button:hover,
.site-header a:hover {
  color: var(--lime);
}

.site-header .icon-button:hover {
  background: rgba(255, 255, 255, .11);
}

.site-header .search {
  color: #d9e1e5;
  background: #29353d;
  border-color: #43515b;
}

.site-header .search input {
  color: #fff;
}

.site-header .search input::placeholder,
.site-header .search kbd {
  color: #b2bec6;
}

.site-header .search:focus-within {
  border-color: #a7d563;
  box-shadow: 0 0 0 3px rgba(173, 234, 0, .16);
}

.hero-backdrop {
  height: 600px;
  overflow: hidden;
  background: var(--page-surface);
}

.hero-backdrop::before,
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-backdrop::before {
  background-image: var(--hero-image);
  background-position: var(--hero-position);
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(1.08) contrast(1.03);
}

.hero-backdrop::after {
  background:
    linear-gradient(to bottom,
      transparent 0%,
      transparent 43%,
      rgba(255, 255, 255, .2) 52%,
      rgba(255, 255, 255, .72) 60%,
      rgba(255, 255, 255, .96) 68%,
      var(--page-surface) 76%),
    linear-gradient(to right,
      rgba(255, 255, 255, .97) 0%,
      rgba(255, 255, 255, .87) 25%,
      rgba(255, 255, 255, .65) 49%,
      rgba(255, 255, 255, .1) 71%,
      transparent 86%);
}

.main-column {
  container-type: inline-size;
}

.game-intro {
  position: relative;
  z-index: 2;
  min-height: 390px;
}

.game-intro h1 {
  font-size: clamp(45px, 5.1vw, 76px);
  font-size: clamp(45px, 11cqw, 90px);
  line-height: .96;
  letter-spacing: -.055em;
  white-space: nowrap;
  margin: 13px 0 8px;
  text-shadow: 0 1px 18px rgba(255, 255, 255, .7);
}

.hero-title-break {
  display: none;
}

.game-description {
  max-width: min(100%, 690px);
  margin-top: 13px;
  color: #1b2833;
  font-size: clamp(15px, 2.9cqw, 18px);
  line-height: 1.35;
  white-space: normal;
  text-shadow: 0 1px 12px rgba(255, 255, 255, .85);
}

.hero-utility {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 26px;
  row-gap: 10px;
  margin-top: 18px;
}

.hero-utility .game-meta,
.hero-utility .hero-actions {
  margin-top: 0;
}

.hero-utility .game-meta {
  gap: 11px;
  flex-wrap: nowrap;
}

.hero-utility .hero-genre {
  margin-left: 3px;
  padding-left: 16px;
  border-left: 1px solid #9dacb8;
  color: #4c6171;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-genre > span {
  margin: 0 5px;
}

.hero-utility .trailer-button {
  gap: 9px;
}

.hero-utility .play-circle {
  width: 32px;
  height: 32px;
}

.hero-utility .play-circle .icon {
  width: 19px;
  height: 19px;
}

.release-content {
  position: relative;
  z-index: 1;
}

.tabs button {
  color: #34415a;
}

@media (max-width: 900px) {
  .hero-backdrop {
    height: 505px;
  }

  .hero-backdrop::before {
    background-position: var(--hero-position-mobile);
  }

  .hero-backdrop::after {
    background:
      linear-gradient(to bottom, transparent 0%, transparent 43%, rgba(255, 255, 255, .5) 59%, var(--page-surface) 78%),
      linear-gradient(to right, rgba(255, 255, 255, .94), rgba(255, 255, 255, .82) 29%, rgba(255, 255, 255, .42) 78%);
  }

  .game-intro {
    min-height: 365px;
  }

  .game-intro h1 {
    font-size: clamp(58px, 7vw, 70px);
  }

  .game-description {
    font-size: 16px;
  }
}

@media (max-width: 700px) {
  .hero-title-break {
    display: block;
  }

  .game-intro h1 {
    font-size: clamp(50px, 9vw, 64px);
    white-space: normal;
  }

  .game-description {
    max-width: min(100%, 480px);
    white-space: normal;
  }
}

@media (max-width: 540px) {
  .hero-utility {
    column-gap: 16px;
  }

  .hero-utility .game-meta {
    gap: 7px;
  }

  .hero-utility .hero-genre {
    margin-left: 0;
    padding-left: 10px;
    font-size: 10px;
    letter-spacing: .02em;
  }

  .site-header .search {
    gap: 0;
    padding: 0 4px;
    background: transparent;
    border-color: transparent;
  }

  .site-header .search:focus-within {
    gap: 12px;
    padding: 0 8px;
    background: #29353d;
    border-color: #a7d563;
  }

  .site-header .search:focus-within + .header-actions {
    margin-left: auto;
  }

  .hero-backdrop {
    height: 465px;
  }

  .game-intro {
    min-height: 357px;
  }

  .game-intro h1 {
    font-size: 55px;
  }

  .game-description {
    font-size: 14px;
    max-width: 100%;
  }

}


/* templates/antitorrent/typography.css */
@font-face {
  font-family: "Onest";
  src: url("/templates/antitorrent/assets/fonts/Onest-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  font-family: "Onest", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

body {
  line-height: 1.45;
}

.brand {
  font-weight: 800;
  letter-spacing: .045em;
}

.primary-nav,
.site-header .header-actions {
  font-weight: 500;
}

.breadcrumbs {
  font-weight: 500;
}

.eyebrow,
.release-topline {
  font-weight: 550;
  letter-spacing: .035em;
}

.game-intro h1 {
  font-weight: 730;
  line-height: .98;
  letter-spacing: -.056em;
}

.localized-title {
  font-weight: 650;
  letter-spacing: -.035em;
}

.game-description {
  line-height: 1.45;
}

.game-meta,
.trailer-button {
  font-weight: 500;
}

.tabs button {
  font-weight: 550;
  transition: color .18s ease;
}

.tabs .tab-icon {
  width: 18px;
  height: 18px;
  flex: none;
  color: #81909d;
  stroke-width: 1.65;
  transition: color .18s ease;
}

.tabs button:not([aria-selected="true"]):is(:hover, :focus-visible) .tab-icon {
  color: #527c43;
}

.tabs button[aria-selected="true"] .tab-icon {
  color: #568f32;
}

.tabs button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #78a755;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: opacity .12s ease, transform .26s cubic-bezier(.2, .7, .25, 1), background-color .18s ease;
}

.tabs button:not([aria-selected="true"]):is(:hover, :focus-visible) {
  color: #1d332b;
}

.tabs button:not([aria-selected="true"]):is(:hover, :focus-visible)::after {
  opacity: 1;
  transform: scaleX(1);
}

.tabs button[aria-selected="true"] {
  font-weight: 550;
}

.tabs button[aria-selected="true"]::after {
  height: 3px;
  background: #58bd05;
  opacity: 1;
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .tabs button,
  .tabs button::after,
  .tabs .tab-icon {
    transition: none;
  }
}

@media (max-width: 540px) {
  .tabs .tab-icon {
    width: 17px;
    height: 17px;
  }
}

.tab-count {
  font-size: 12px;
  font-weight: 600;
}

.tab-panel h2 {
  font-size: 25px;
  font-weight: 660;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.section-description {
  line-height: 1.5;
}

.release-card h2 {
  font-size: 33px;
  font-weight: 680;
  letter-spacing: -.04em;
  line-height: 1.12;
}

.build-line code {
  font-size: 13px;
}

.version-picker {
  font-size: 14px;
  font-weight: 500;
}

.version-picker select {
  font-size: 14px;
}

.release-facts dt,
.size-facts dt {
  font-weight: 500;
}

.release-facts dd {
  font-weight: 550;
}

.size-facts {
  min-height: 90px;
  padding-top: 17px;
  padding-bottom: 19px;
}

.size-facts dt {
  font-size: 13px;
}

.size-facts dd {
  font-size: 26px;
  font-weight: 680;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.swarm {
  gap: 14px;
  padding-top: 10px;
  padding-bottom: 12px;
  color: #697987;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

.swarm > span {
  align-items: baseline;
  gap: 5px;
}

.swarm > .swarm-metric + .swarm-metric {
  padding-left: 0;
  border-left: 0;
}

.swarm > .swarm-metric + .swarm-metric::before {
  content: "·";
  margin-right: 5px;
  color: #a6b3bb;
  font-size: 14px;
  font-weight: 400;
}

.swarm-label {
  color: #7b8994;
  font-size: 11px;
  font-weight: 450;
}

.swarm .swarm-value {
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.02em;
  line-height: 1;
}

.swarm-metric:first-child .swarm-value {
  color: #477653;
}

.swarm-metric:nth-child(2) .swarm-value {
  color: #a66761;
}

.swarm .availability {
  align-items: center;
  font-size: 11px;
  font-weight: 550;
}

.hash-row > span {
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
}

.torrent-button {
  min-height: 64px;
}

.torrent-button > span {
  padding: 12px 42px;
}

.torrent-button strong {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.magnet-button {
  font-size: 16px;
  font-weight: 650;
}

.download-note {
  line-height: 1.45;
}

@media (max-width: 1000px) and (min-width: 901px) {
  .tabs {
    gap: 12px;
  }
}

@media (max-width: 540px) {
  .tab-panel h2 {
    font-size: 24px;
  }

  .torrent-button strong {
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .game-intro {
    min-height: 375px;
  }

  .swarm .availability {
    flex-basis: 100%;
    margin-left: 0;
  }
}


/* templates/antitorrent/footer.css */
.site-footer {
  --brand-focus: #ff8792;
  margin-top: 48px;
  border-top: 1px solid #ffffff12;
  background: #16252e;
  color: #bdcbd4;
}
.footer-inner { width: calc(100% - 80px); max-width: var(--page); margin-inline: auto; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; align-items: start; gap: 48px; padding: 36px 0 28px; }
.footer-intro { min-width: 0; }
.site-footer .footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 23px; font-weight: 750; letter-spacing: -.7px; line-height: 1; text-decoration: none; }
.footer-brand > svg { width: 32px; height: 32px; flex: none; overflow: hidden; border-radius: var(--radius-control); }
.footer-domain { color: #a7b8c2; font-size: .68em; letter-spacing: -.2px; }
.site-footer .footer-description { max-width: 330px; margin: 14px 0 0; color: #a7b8c2; font-size: 13px; line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.site-footer .footer-heading { margin: 0 0 8px; color: #f0f5f7; font-size: 13px; font-weight: 650; line-height: 24px; letter-spacing: 0; }
.site-footer .footer-links a { display: inline-flex; align-items: center; min-height: 34px; color: #bdcbd4; font-size: 14px; line-height: 1.5; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 14px 0 18px; border-top: 1px solid #ffffff18; color: #a7b8c2; font-size: 12px; line-height: 1.6; }
.footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 24px; }
.site-footer .footer-legal a { display: inline-flex; align-items: center; min-height: 30px; color: #a7b8c2; }
.site-footer :is(.footer-links,.footer-legal) a { gap:9px; }
.site-footer .footer-link-icon { display:block;width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:#8fa8b8; }
.site-footer .footer-legal .footer-link-icon { width:14px;height:14px;flex-basis:14px; }
.site-footer :is(.footer-links,.footer-legal) a:is(:hover,:focus-visible) .footer-link-icon { color:inherit; }
.site-footer a { transition: color .16s ease, text-decoration-color .16s ease; text-decoration: none; }
.site-footer :is(.footer-links, .footer-legal) a:is(:hover, :focus-visible) { color: #ff8792; text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 4px; }
.site-footer .footer-brand:hover { color: #ff8792; }
.site-footer a:focus-visible { outline: 2px solid #ff8792; outline-offset: 4px; border-radius: var(--radius-detail); }
@media (max-width: 1100px) {
  .footer-inner { width: calc(100% - 48px); }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
}
@media (max-width: 700px) {
  .site-footer { margin-top: 40px; }
  .footer-inner { width: calc(100% - 40px); }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; padding: 28px 0 24px; }
  .footer-intro { grid-column: 1 / -1; }
  .site-footer .footer-brand { font-size: 22px; }
  .site-footer .footer-description { margin-top: 12px; }
  .site-footer .footer-links a { min-height: 40px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 4px; padding-block: 14px 18px; }
  .footer-legal { gap: 4px 20px; }
  .site-footer .footer-legal a { min-height: 36px; }
}
@media (max-width: 380px) {
  .footer-inner { width: calc(100% - 32px); }
  .footer-main { column-gap: 16px; }
  .site-footer .footer-links a { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .site-footer a { transition: none; } }


/* templates/antitorrent/site-shell.css */
/* Shared single-row header; the catalog opens from the primary actions. */
.site-header {
  --header-height: 96px;
  position: relative;
  z-index: 20;
  height: var(--header-height);
  color: #f5f7f8;
  background: #17262f;
  border: 0;
  box-shadow: 0 4px 20px rgba(15, 30, 40, .12);
}
.site-header + main { min-height: calc(100vh - 96px); }
.site-header .header-inner {
  position: relative;
  z-index: 3;
  display: grid;
  /* Match the desktop content grid: search above the main column. */
  grid-template-columns: minmax(0, 1fr) 472px;
  align-items: center;
  width: calc(100% - 80px);
  max-width: var(--page);
  height: var(--header-height);
  margin-inline: auto;
  gap: 34px;
  white-space: nowrap;
}
.site-header .brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  flex: none;
  gap: 12px;
  padding-right: 22px;
  border-right: 1px solid #d6e0e5;
  min-width: 0;
  color: #203642;
  font-size: inherit;
  letter-spacing: 0;
}
.site-header a.brand:hover { color: #36576a; }
.site-header .brand > svg { width: 42px; height: 42px; flex: none; }
.site-header .brand-lockup { display: grid; gap: 5px; line-height: 1; }
.site-header .brand-lockup strong { font-size: 26px; font-weight: 800; letter-spacing: -.045em; }
.site-header .brand-domain { color: #718895; font-size: .64em; font-weight: 550; letter-spacing: -.025em; }
.site-header .brand-lockup small { color: #687f8d; font-size: 10px; font-weight: 450; letter-spacing: .015em; }
.site-header .search {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: 62px;
  margin: 0;
  padding: 8px 8px 8px 18px;
  border: 1px solid #d9e1e6;
  border-radius: var(--radius-control);
  background: #f0f4f6;
  color: #273c4b;
  overflow: visible;
  transition: border-color .18s, box-shadow .18s;
}
.site-header .search:hover { background: #fff; border-color: #fff; }
.site-header .search:focus-within { background: #fff; border-color: #b6d687; box-shadow: 0 0 0 3px #b6d68726; }
.site-header .search-field { position: relative; display: flex; align-items: center; flex: 1; gap: 13px; min-width: 0; height: 44px; }
.site-header .search-field > .icon { width: 21px; height: 21px; flex: none; color: #657f8e; }
.site-header .search input { flex: 1; width: 100%; min-width: 0; padding: 0; font-size: 14px; color: #1b303e; opacity: 1; pointer-events: auto; }
.site-header .search input:focus-visible { outline: 0; box-shadow: none; }
.site-header .search input::placeholder { color: #758994; }
.site-header .search kbd { flex: none; padding: 4px 5px; border: 1px solid #d7e0e6; border-radius:var(--radius-detail); color: #8496a1; font: 11px "Onest", sans-serif; }
.site-header .search:focus-within kbd { visibility: hidden; }

.site-header .header-actions { display: flex; align-items: center; justify-self: start; gap: 24px; margin: 0; }
.site-header :is(a,button):focus-visible { outline: 2px solid #b8db82; outline-offset: 4px; }
.site-header .catalog-toggle { position: relative; display: inline-flex; align-items: center; justify-content: flex-start; flex: none; gap: 10px; width: auto; height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #e0e9ee; font-size: 13px; font-weight: 550; transition: color .15s; }
.site-header .catalog-toggle > span { white-space: nowrap; }
.site-header .catalog-toggle .icon { width: 17px; height: 17px; color: #8faab9; }
.site-header .catalog-toggle .catalog-chevron { margin-left: 3px; width: 14px; height: 14px; transition: transform .18s, color .15s; }
.site-header .catalog-toggle[aria-expanded="true"] .catalog-chevron { transform: rotate(180deg); }
.site-header button.catalog-toggle:hover,
.site-header .catalog-toggle[aria-expanded="true"] { background: transparent; color: #fff; }
.site-header .catalog-toggle:hover > .icon,
.site-header .catalog-toggle[aria-expanded="true"] > .icon { color: #c4dfa1; }
.site-header .catalog-toggle::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: #b9da80; transform: scaleX(0); transform-origin: left; transition: transform .18s; }
.site-header .catalog-toggle[aria-expanded="true"]::after { transform: scaleX(1); }
.site-header .header-ranking { display: inline-flex; align-items: center; flex: none; gap: 10px; min-height: 44px; padding-left: 24px; border-left: 1px solid #ffffff14; color: #d9e5ec; white-space: nowrap; }
.header-ranking-icon { display: grid; place-items: center; width: 28px; height: 38px; }
.site-header .header-ranking .header-ranking-icon > .icon { width: 23px; height: 23px; color: #dbbb87; }
.header-ranking strong { color: #f2e7d4; font-size: 14px; font-weight: 650; line-height: 1.2; }
.site-header .header-ranking:hover strong,
.site-header .header-ranking[aria-current="page"] strong { color: #fff2cc; }
.site-header .header-ranking[aria-current="page"] .header-ranking-icon { background: #d6b77d18; border-radius: var(--radius-detail); }
.header-backdrop[hidden], .catalog-drawer[hidden] { display: none; }
.header-backdrop { position: fixed; z-index: 1; inset: var(--header-height) 0 0; background: rgba(12, 24, 32, .32); }
.catalog-drawer { position: absolute; z-index: 4; top: 100%; left: var(--catalog-left, max(40px, calc((100% - var(--page)) / 2))); right: var(--catalog-right, max(40px, calc((100% - var(--page)) / 2))); width: auto; overflow: auto; max-height: calc(100dvh - var(--header-height) - 16px); border: 1px solid #dbe3e8; border-radius: 0 0 var(--radius-surface) var(--radius-surface); background: #fff; box-shadow: 0 16px 32px #0c1a2926; color: #243a49; overscroll-behavior: contain; }
.catalog-drawer { container-type: inline-size; }
.catalog-drawer-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: 24px; padding: 16px; }
.header-genre-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 10px; }
.site-header .header-genre-grid a { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px; padding: 8px 10px; border-radius: var(--radius-control); color: #334e60; font-size: 13px; line-height: 1.35; white-space: normal; transition: background-color .15s, color .15s; }
.header-genre-icon { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: var(--radius-detail); background: #f0f4f6; transition: background-color .15s; }
.header-genre-grid .icon { width: 18px; height: 18px; color: #728c9b; stroke-width: 1.6; }
.header-genre-grid small { margin-left: auto; padding-left: 4px; color: #7c91a0; font-size: 11px; font-variant-numeric: tabular-nums; }
.site-header .header-genre-grid .header-all-games { font-weight: 650; }
.header-all-games .header-genre-icon { background: #e7eef2; }
.header-all-games .icon { color: #405f70; }
.site-header .header-genre-grid a:hover { background: #edf3f6; color: #193c50; }
.site-header .header-genre-grid a:hover .header-genre-icon { background: #dfe9ee; }
.site-header .header-genre-grid a[aria-current="page"] { background: #edf3e6; color: #385428; }
.header-genre-grid a[aria-current="page"] .header-genre-icon { background: #dde9cf; }
.header-genre-grid a[aria-current="page"] .icon { color: #507338; }
.header-genre-grid a[aria-current="page"] small { color: #678056; }
.site-header .header-genre-grid a:focus-visible { outline: 2px solid #597c40; outline-offset: -2px; background: #edf3f6; }

.breadcrumbs a:hover {
  text-decoration: underline;
}

.site-shell-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: min(340px, calc(100vw - 32px));
  padding: 12px 17px;
  border-radius:var(--radius-surface);
  background: #1c282f;
  box-shadow: 0 8px 28px rgba(9, 20, 27, .22);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
}

.site-shell-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1320px) {
  .site-header .header-inner { grid-template-columns: minmax(0, 1fr) 424px; gap: 27px; }
}
@media (max-width: 1280px) {
  .site-header .header-actions { gap: 20px; }
  .site-header .header-ranking { padding-left: 20px; }
  .site-header .search kbd { display: none; }
}
@media (max-width: 1100px) {
  .site-header .header-inner { width: calc(100% - 48px); grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; }
}
@media (max-width: 1060px) {
  .site-header .brand { gap: 10px; padding-right: 18px; }
  .site-header .brand-lockup strong { font-size: 24px; }
  .site-header .brand > svg { width: 38px; height: 38px; }
  .site-header .search { gap: 18px; }
  .site-header .header-ranking { gap: 7px; }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .site-header .brand { padding-right: 12px; gap: 8px; }
  .site-header .brand > svg { width: 32px; height: 32px; }
  .site-header .brand-lockup strong { font-size: 21px; }
  .site-header .brand-lockup small { display: none; }
  .site-header .search { gap: 12px; padding-left: 10px; }
  .site-header .search-field { gap: 8px; }
  .site-header .search-field > .icon { display: none; }
  .site-header .search input { font-size: 16px; }
  .site-header .search input::placeholder { font-size: 13px; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .site-header .header-inner { width: calc(100% - 40px); grid-template-columns: minmax(0, 1fr) auto; gap: 16px; }
  .site-header .header-actions { gap: 14px; }
  .site-header .header-ranking { padding-left: 14px; }
  .site-header .header-ranking strong { font-size: 13px; }
}
@media (max-width: 700px) {
  .site-header { --header-height: 126px; }
  .site-header + main { min-height: calc(100vh - 126px); }
  .site-header .header-inner { width: calc(100% - 32px); padding-block: 12px; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .site-header .brand { grid-row: 1; gap: 8px; padding: 0; margin: 0; border: 0; width: max-content; }
  .site-header .brand > svg { width: 30px; height: 30px; }
  .site-header .brand-lockup strong { font-size: 21px; }
  .site-header .brand-lockup small { display: none; }
  .site-header .header-actions { position: absolute; z-index: 1; top: 19px; right: 10px; gap: 12px; margin: 0; }
  .site-header .catalog-toggle { gap: 4px; height: 38px; font-size: 12px; color: #375464; }
  .site-header .catalog-toggle > .icon:first-child,
  .site-header .catalog-label-suffix { display: none; }
  .site-header .catalog-toggle .catalog-chevron { width: 12px; height: 12px; margin: 0; color: #718895; }
  .site-header button.catalog-toggle:hover,
  .site-header .catalog-toggle[aria-expanded="true"] { color: #193b50; }
  .site-header .catalog-toggle:hover > .icon,
  .site-header .catalog-toggle[aria-expanded="true"] > .icon { color: #496f86; }
  .site-header .catalog-toggle::after { height: 2px; background: #7897a8; }
  .site-header .header-ranking { min-height: 38px; padding-left: 12px; gap: 5px; border-color: #d6e0e5; }
  .site-header .header-ranking-icon { width: 18px; height: 28px; }
  .site-header .header-ranking .header-ranking-icon > .icon { width: 17px; height: 17px; color: #977345; }
  .site-header .header-ranking strong { color: #375464; font-size: 12px; font-weight: 600; }
  .site-header .header-ranking:hover strong,
  .site-header .header-ranking[aria-current="page"] strong { color: #193b50; }
  .site-header .search,
  .site-header .search:focus-within { position: relative; inset: auto; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 40px 42px; height: 102px; gap: 6px; padding: 6px 8px; }
  .site-header .search-field { position: static; grid-row: 2; gap: 10px; height: 42px; padding-top: 5px; border-top: 1px solid #dce4e9; }
  .site-header .search-field > .icon { margin-left: 3px; width: 19px; height: 19px; }
  .site-header .search input { font-size: 16px; }
  .site-header .search input::placeholder { font-size: 13px; }
  .header-genre-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 4px; }
  .catalog-drawer-inner { padding: 10px; }
  .site-header .header-genre-grid a { gap: 7px; padding: 8px 6px; font-size: 12px; }
  .header-genre-icon { width: 24px; height: 26px; border-radius: var(--radius-detail); }
  .header-genre-grid .icon { width: 16px; height: 16px; }
  .header-genre-grid small { padding-left: 0; font-size: 10px; }
  .site-shell-notice { right: 16px; bottom: 16px; }
}
@media (max-width: 380px) {
  .site-header .brand { gap: 6px; }
  .site-header .brand-lockup strong { font-size: 20px; }
  .site-header .brand > svg { width: 28px; height: 28px; }
  .site-header .brand-domain { display: none; }
  .site-header .header-actions { gap: 8px; }
  .site-header .header-ranking { padding-left: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header *, .site-shell-notice { transition: none !important; }
}

/* Compact game recommendations complete the widened catalog. */
.header-game-picks { min-width: 0; padding-left: 20px; border-left: 1px solid #e3eaee; }
.header-game-picks h2 { padding: 4px 8px 8px; color: #718390; font-size: 11px; font-weight: 600; line-height: 1.4; letter-spacing: .02em; }
.header-game-picks-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
.site-header .header-game-pick { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 52px; padding: 6px 8px; border-radius: var(--radius-control); color: #263f50; white-space: normal; transition: background-color .15s, color .15s; }
.header-game-pick-icon { flex: none; width: 40px; height: 40px; object-fit: contain; }
.header-game-pick-icon.is-cover { border-radius: var(--radius-detail); object-fit: cover; }
.header-game-pick-copy { display: grid; gap: 4px; min-width: 0; }
.header-game-pick strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: inherit; font-size: 13px; font-weight: 600; line-height: 1.35; white-space: normal; }
.header-game-pick small { color: #7c8f9c; font-size: 11px; line-height: 1.4; }
.site-header .header-game-pick:hover { background: #edf3f6; color: #193c50; }
.site-header .header-game-pick:focus-visible { outline: 2px solid #597c40; outline-offset: -2px; background: #edf3f6; }
@container (min-width: 901px) and (max-width: 1180px) {
  .catalog-drawer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .header-genre-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-game-picks { padding-left: 16px; }
  .site-header .header-game-pick { gap: 10px; padding-inline: 6px; }
}
@container (max-width: 900px) {
  .catalog-drawer-inner { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .header-game-picks { padding: 12px 0 0; border-left: 0; border-top: 1px solid #e3eaee; }
  .header-game-picks-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
}
@container (max-width: 540px) {
  .header-game-picks-list { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}


/* templates/antitorrent/series.css */
.series-page{padding:42px 24px 0;color:var(--ink,#070c18)}
.series-container{max-width:var(--page,1400px);margin:0 auto}
.series-breadcrumb{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;line-height:1.6;color:var(--muted,#586583)}
.series-breadcrumb a{color:inherit;text-decoration:none}.series-breadcrumb a:hover{text-decoration:underline}
.series-heading{padding:35px 0 30px;max-width:1000px}
.series-eyebrow{font-size:11px;font-weight:700;letter-spacing:.15em;color:var(--green,#219500);margin:0 0 14px}
.series-heading h1{font-size:clamp(34px,4.2vw,62px);font-weight:650;letter-spacing:-.045em;line-height:1.1;margin:0 0 20px;overflow-wrap:anywhere}
.series-description{font-size:17px;line-height:1.65;color:var(--muted,#586583);max-width:760px;margin:0}
.series-heading-bottom{display:flex;align-items:center;gap:14px 24px;flex-wrap:wrap;margin-top:22px;font-size:14px}
.series-total{font-weight:650}.series-back{display:inline-flex;align-items:center;gap:7px;color:var(--green,#219500);text-decoration:none}
.series-page svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.series-search{margin:0 0 26px;max-width:400px}.series-search label{display:block;margin-bottom:8px;font-size:13px;font-weight:600}
.series-search input{width:100%;height:45px;border:1px solid var(--line,#e1e6ee);border-radius:var(--radius-control);padding:0 15px;background:#fff;color:var(--ink,#070c18);font:inherit;font-size:14px;box-sizing:border-box}
.series-page a:focus-visible,.series-search input:focus-visible{outline:3px solid #88c642;outline-offset:4px}
.series-hub-grid,.series-game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.series-hub-card,.series-game-card{border:1px solid var(--line,#e1e6ee);border-radius:var(--radius-surface);overflow:hidden;background:#fff;display:flex;flex-direction:column;transition:box-shadow .2s,border-color .2s}
.series-hub-card:hover,.series-game-card:hover{border-color:#cad7c5;box-shadow:0 10px 28px #1927300a}
.series-hub-image,.series-game-image{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:#192730}
.series-hub-image img,.series-game-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.series-hub-card:hover img,.series-game-card:hover img{transform:scale(1.025)}
.series-image-shade{position:absolute;inset:0;background:linear-gradient(0deg,#101a2229,transparent 70%)}
.series-hub-body{padding:22px 23px 23px;display:flex;flex-direction:column;flex:1}
.series-card-topline{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.series-card-topline h2{font-size:22px;letter-spacing:-.025em;line-height:1.2;margin:0}.series-card-topline h2 a,.series-game-body h3 a{color:inherit;text-decoration:none}
.series-card-topline>span{white-space:nowrap;font-size:12px;color:var(--muted,#586583)}
.series-hub-body>p{font-size:14px;line-height:1.6;color:var(--muted,#586583);margin:13px 0 23px;flex:1}
.series-card-link{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--green,#219500);font-size:13px;font-weight:600;text-decoration:none;margin-top:auto}
.series-card-link:hover{text-decoration:underline}
.series-controls{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 36px;padding:24px 0;border-top:1px solid var(--line,#e1e6ee);border-bottom:1px solid var(--line,#e1e6ee)}
.series-controls .series-search{width:280px;flex:none;margin:0}.series-section-links{display:flex;flex-wrap:wrap;gap:9px}
.series-section-links a,.series-related-links a{display:flex;align-items:center;gap:10px;border:1px solid var(--line,#e1e6ee);background:#fff;border-radius:var(--radius-control);padding:11px 13px;font-size:13px;text-decoration:none;color:var(--ink,#070c18)}
.series-section-links a:hover,.series-related-links a:hover{border-color:#8eb872;color:var(--green,#219500)}
.series-section-links span,.series-related-links span{font-size:11px;color:var(--muted,#586583)}
.series-game-section{margin:0 0 40px;scroll-margin-top:100px}.series-section-heading{display:flex;align-items:baseline;gap:12px;margin:0 0 18px}.series-section-heading h2,.series-more h2{font-size:23px;letter-spacing:-.025em;line-height:1.3;margin:0}.series-section-heading>span{font-size:13px;color:var(--muted,#586583)}
.series-game-body{padding:20px;display:flex;flex-direction:column;flex:1}.series-game-labels{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 12px;margin-bottom:8px}.series-edition{font-size:11px;font-weight:600;line-height:1.5;color:var(--muted,#586583)}.series-game-year{font-size:12px;font-weight:650;color:var(--ink,#070c18)}.series-game-body h3{font-size:20px;line-height:1.3;letter-spacing:-.02em;margin:0 0 23px}
.series-empty{padding:32px;border:1px dashed var(--line,#e1e6ee);border-radius:var(--radius-surface);background:#fff;color:var(--muted,#586583)}
.series-release-note{display:grid;grid-template-columns:160px 1fr auto;align-items:center;gap:25px;padding:22px 25px;background:#f1f5ec;border:1px solid #dce5d3;border-radius:var(--radius-surface);margin:15px 0 45px;font-size:14px}.series-release-note strong{font-size:16px}.series-release-note p{margin:0;color:var(--muted,#586583);line-height:1.6}.series-release-note a{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--green,#219500);text-decoration:none}
.series-more{padding-top:32px;border-top:1px solid var(--line,#e1e6ee)}.series-related-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.series-endnote{display:flex;justify-content:flex-end;margin-top:35px;padding:18px 0 30px}.series-endnote a{font-size:13px;color:var(--muted,#586583);text-decoration:none}
.series-page [hidden]{display:none!important}
@media(min-width:901px) and (max-width:1250px){.primary-nav{gap:15px}.primary-nav a{font-size:12px}.header-inner{gap:20px}}
@media(max-width:1050px){.series-hub-grid,.series-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.series-controls{align-items:flex-start;flex-direction:column}.series-controls .series-search{width:100%;max-width:400px}.series-release-note{grid-template-columns:1fr;gap:10px}.series-card-topline h2{font-size:20px}}
@media(max-width:620px){.series-page{padding:25px 16px 0}.series-heading{padding:27px 0}.series-description{font-size:15px}.series-heading-bottom{gap:20px}.series-hub-grid,.series-game-grid{grid-template-columns:1fr;gap:19px}.series-hub-body{padding:20px}.series-card-topline h2{font-size:23px}.series-controls{padding:20px 0;margin-bottom:27px}.series-section-links{gap:7px}.series-section-links a{padding:9px 10px;font-size:12px}.series-game-section{margin-bottom:30px}.series-game-body h3{font-size:21px}.series-release-note{padding:20px}.series-breadcrumb{gap:8px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.series-page *{transition:none!important;scroll-behavior:auto!important}}
.series-hub-controls{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(220px,1fr) minmax(230px,1fr);gap:18px;margin:0 0 18px}
.series-hub-controls .series-search{margin:0;max-width:none}
.series-select label{display:block;margin-bottom:8px;font-size:13px;font-weight:600}
.series-select select{width:100%;height:45px;border:1px solid var(--line,#e1e6ee);border-radius:var(--radius-control);padding:0 12px;background:#fff;color:var(--ink,#070c18);font:inherit;font-size:14px;box-sizing:border-box}
.series-page select:focus-visible,.series-page button:focus-visible{outline:3px solid #88c642;outline-offset:4px}
.series-filter-status{margin:0 0 18px;font-size:13px;line-height:1.5;color:var(--muted,#586583)}
.series-hub-compact{gap:16px}
.series-hub-compact .series-hub-body{padding:20px;min-height:146px}
.series-hub-compact .series-card-topline{align-items:flex-start}
.series-hub-compact .series-card-topline h2{font-size:20px;line-height:1.3;overflow-wrap:anywhere}
.series-hub-compact .series-card-topline>span{padding-top:3px}
.series-hub-compact .series-card-genre{font-size:12px;line-height:1.5;margin:10px 0 16px;flex:none}
.series-hub-compact .series-card-availability{font-size:12px;line-height:1.5;margin:0 0 14px;flex:none}
.series-card-completion{margin:0 0 18px}
.series-completion{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:var(--radius-control);font-size:11px;font-weight:600;line-height:1.5;color:var(--muted,#586583);background:#f3f5f8}
.series-completion--complete{color:#236c17;background:#edf6e8}
.series-completion--in-progress{color:#255783;background:#edf4fb}
.series-completion--partial{color:#855d16;background:#faf3e5}
.series-completion-total{color:var(--muted,#586583)}
.series-load-more{display:block;margin:25px auto 0;padding:12px 24px;border:1px solid #8eb872;border-radius:var(--radius-control);background:#fff;color:var(--green,#219500);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.series-load-more:hover{background:#f1f5ec}
.series-unavailable{padding:28px;border:1px solid var(--line,#e1e6ee);border-radius:var(--radius-surface);background:#fff;margin-bottom:35px;max-width:760px}
.series-unavailable h2{margin:0 0 12px;font-size:22px}
.series-unavailable p{margin:0 0 24px;color:var(--muted,#586583);font-size:16px;line-height:1.65}
.series-unavailable .series-card-link{justify-content:flex-start}
@media(max-width:950px){.series-hub-controls{grid-template-columns:1fr 1fr}.series-hub-controls .series-search{grid-column:1/-1}}
@media(max-width:620px){.series-hub-controls{grid-template-columns:1fr;gap:16px}.series-hub-compact .series-hub-body{min-height:130px}.series-hub-compact .series-card-topline h2{font-size:21px}.series-unavailable{padding:22px}}

/* The series directory is a visual catalog; detail pages keep their own layout. */
.series-directory { padding-top:30px; }
.series-directory .series-directory-heading { display:grid;grid-template-columns:1.1fr 1fr;align-items:end;gap:40px;max-width:none;padding:32px 0 30px; }
.series-directory .series-eyebrow { color:#6d8391;font-size:10px;letter-spacing:.14em;margin-bottom:12px; }
.series-directory .series-heading h1 { font-size:clamp(34px,3.8vw,54px);margin:0;line-height:1.05; }
.series-directory-intro { max-width:490px;justify-self:end; }
.series-directory-intro > p { color:#64798a;font-size:15px;line-height:1.65;margin:0 0 14px; }
.series-directory-stats { display:flex;flex-wrap:wrap;gap:9px 20px;color:#344d5e;font-size:12px;font-weight:550; }
.series-directory-stats span + span { color:#7b8d99;font-weight:400; }
.series-spotlights { display:grid;grid-template-columns:1.45fr 1fr 1fr;gap:18px;margin:0 0 42px; }
.series-spotlight { position:relative;isolation:isolate;display:flex;align-items:flex-end;min-height:285px;overflow:hidden;border-radius:var(--radius-surface);background:#20313d;text-decoration:none;color:white; }
.series-spotlight img { position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s; }
.series-spotlight::after { content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,#1223300a 10%,#0c17254d 45%,#091522e8 100%); }
.series-spotlight:hover img { transform:scale(1.04); }
.series-spotlight-count { position:absolute;top:16px;left:18px;padding:5px 9px;border:1px solid #ffffff38;border-radius:var(--radius-detail);background:#1223307d;backdrop-filter:blur(6px);font-size:11px;font-weight:550;line-height:1.5; }
.series-spotlight-body { width:100%;padding:24px; }
.series-spotlight-body > p { margin:0 0 8px;color:#dae5e9;font-size:11px;line-height:1.4; }
.series-spotlight h2 { margin:0 0 16px;font-size:27px;line-height:1.1;letter-spacing:-.035em;font-weight:650;color:white; }
.series-spotlight:first-child h2 { font-size:35px;max-width:340px; }
.series-spotlight-action { display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:550;color:#edf5f6; }
.series-spotlight-action svg { width:21px;height:21px; }
.series-directory-catalog { scroll-margin-top:30px; }
.series-catalog-heading { display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px; }
.series-catalog-heading h2 { display:flex;gap:12px;align-items:baseline;font-size:27px;font-weight:650;letter-spacing:-.035em;line-height:1.2;margin:0; }
.series-catalog-heading h2 span { font-size:13px;font-weight:450;letter-spacing:0;color:#81929d; }
.series-directory .series-back { color:#637c8c;font-size:12px;white-space:nowrap; }
.series-directory .series-hub-controls { grid-template-columns:minmax(240px,1.65fr) minmax(180px,1fr) minmax(195px,1fr);gap:16px;margin-bottom:14px; }
.series-directory .series-search label,.series-directory .series-select label { font-size:11px;line-height:1.5;color:#607587;font-weight:550;margin-bottom:7px; }
.series-directory .series-search input,.series-directory select { height:43px;border:1px solid #dce5eb;border-radius:var(--radius-control);background:#f8fafb;font-size:13px;color:#294353; }
.series-search-field { position:relative; }
.series-search-field > svg { position:absolute;left:13px;top:13px;width:17px;height:17px;color:#8197a5;pointer-events:none; }
.series-directory .series-search input { padding-left:39px; }
.series-directory .series-search input::placeholder { color:#82929c;opacity:1; }
.series-filter-summary { display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:30px;margin-bottom:21px; }
.series-directory .series-filter-status { margin:0;font-size:12px;color:#7c8d98; }
.series-filter-actions { display:flex;align-items:center;gap:20px; }
.series-reset { padding:0;border:0;background:none;font:inherit;font-size:12px;line-height:1.5;color:#4f6d80;text-decoration:underline;text-decoration-color:#c4d1da;text-underline-offset:3px;cursor:pointer; }
.series-refine { position:relative;color:#718692;font-size:12px; }
.series-refine summary { cursor:pointer;list-style:none;display:flex;align-items:center;gap:7px;min-height:30px; }
.series-refine summary::-webkit-details-marker { display:none; }
.series-refine summary::after { content:"";width:5px;height:5px;border-right:1px solid;border-bottom:1px solid;transform:rotate(45deg);margin-top:-3px; }
.series-refine[open] summary::after { transform:rotate(225deg);margin-top:3px; }
.series-refine.is-active summary { color:#263d4d;font-weight:600; }
.series-refine-body { position:absolute;top:calc(100% + 6px);right:0;width:260px;max-width:calc(100vw - 32px);padding:17px;z-index:5;background:#fff;border:1px solid #dce5eb;border-radius:var(--radius-surface);box-shadow:0 8px 28px #18374b15; }
.series-refine label { display:block;margin-bottom:9px;color:#526c7e;font-size:12px; }
.series-refine select { width:100%;padding:0 10px; }
.series-directory-grid { grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 22px; }
.series-directory .series-hub-card { min-width:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible; }
.series-directory .series-hub-link { display:flex;flex-direction:column;flex:1;color:inherit;text-decoration:none;border-radius:var(--radius-surface); }
.series-directory .series-hub-image { border-radius:var(--radius-surface);aspect-ratio:16/9;background:#eaf0f3; }
.series-directory .series-hub-image img { opacity:1; }
.series-artwork-fallback { display:grid;place-items:center;height:100%;font-size:54px;font-weight:700;color:#8ea3b1; }
.series-directory .series-hub-body { padding:13px 0 0; }
.series-directory .series-card-genre { margin:0 0 7px;color:#7e909e;line-height:1.5;font-size:11px;flex:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.series-card-title { display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-height:47px; }
.series-card-title h3 { margin:0;color:#1c3241;line-height:1.3;font-size:18px;font-weight:650;letter-spacing:-.025em;overflow-wrap:anywhere; }
.series-card-arrow { display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:var(--radius-round);border:1px solid #dce5ea;color:#7890a0;transition:color .2s,border-color .2s; }
.series-card-arrow svg { width:14px;height:14px; }
.series-hub-link:hover h3 { color:#4a6b3b; }
.series-hub-link:hover .series-card-arrow { color:#35543d;border-color:#99ada0; }
.series-card-meta { display:flex;flex-wrap:wrap;gap:5px 12px;align-items:baseline;justify-content:space-between;margin-top:8px;color:#657d8d;font-size:11px;line-height:1.5; }
.series-card-meta > span:first-child { color:#395264;font-weight:550; }
.series-directory .series-card-completion { margin:8px 0 0;line-height:1.3; }
.series-directory .series-completion { padding:0;border-radius:0;background:none;color:#8b9aa4;font-size:10px;font-weight:400; }
.series-directory .series-completion--complete { color:#588140; }
.series-directory .series-completion--in-progress { color:#698699; }
.series-directory .series-load-more { width:100%;margin-top:32px;border:1px solid #dce5eb;border-radius:var(--radius-control);background:#f7f9fa;color:#355264;font-size:13px; }
.series-directory .series-load-more:hover { background:#edf2f5;border-color:#c3d1dc; }
.series-directory .series-empty { padding:36px 20px;text-align:center;background:#f7f9fa;border:0;border-radius:var(--radius-surface); }
.series-directory .series-empty h3 { margin:0 0 10px;color:#243d4e;font-size:20px; }
.series-directory .series-empty p { margin:0 0 18px;font-size:14px;line-height:1.6; }
.series-directory a:focus-visible,.series-directory button:focus-visible,.series-directory input:focus-visible,.series-directory select:focus-visible,.series-directory summary:focus-visible { outline:2px solid #789aaa;outline-offset:4px; }
@media(max-width:1100px) {
 .series-directory-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .series-directory .series-directory-heading { grid-template-columns:1fr 1fr;gap:25px; }
 .series-spotlights { gap:14px;grid-template-columns:1.25fr 1fr 1fr; }
 .series-spotlight { min-height:255px; }
 .series-spotlight-body { padding:19px; }
 .series-spotlight h2 { font-size:24px; }
 .series-spotlight:first-child h2 { font-size:30px; }
}
@media(max-width:800px) {
 .series-directory .series-directory-heading { grid-template-columns:1fr;gap:19px;padding:26px 0; }
 .series-directory-intro { justify-self:start;max-width:560px; }
 .series-directory-intro > p { font-size:14px;margin-bottom:10px; }
 .series-spotlights { grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:32px; }
 .series-spotlight:first-child { grid-column:1/-1;min-height:235px; }
 .series-spotlight { min-height:200px; }
 .series-directory .series-hub-controls { grid-template-columns:repeat(2,minmax(0,1fr));gap:13px; }
 .series-directory .series-hub-controls .series-search { grid-column:1/-1; }
 .series-directory-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 18px; }
}
@media(max-width:540px) {
 .series-directory { padding-top:23px; }
 .series-directory .series-directory-heading { padding:25px 0 23px; }
 .series-directory .series-heading h1 { font-size:36px; }
 .series-directory .series-eyebrow { margin-bottom:10px; }
 .series-spotlights { gap:12px; }
 .series-spotlight:first-child { min-height:205px; }
 .series-spotlight { min-height:185px; }
 .series-spotlight-body { padding:15px; }
 .series-spotlight h2 { font-size:22px;margin-bottom:12px; }
 .series-spotlight:first-child h2 { font-size:29px; }
 .series-spotlight-count { left:13px;top:13px;padding:4px 6px;font-size:10px; }
 .series-spotlight-body > p { font-size:10px; }
 .series-spotlight-action { font-size:11px; }
 .series-spotlight-action svg { width:16px;height:16px; }
 .series-catalog-heading { margin-bottom:17px; }
 .series-catalog-heading h2 { font-size:25px;gap:8px; }
 .series-directory .series-back { font-size:11px;gap:4px; }
 .series-directory .series-back svg { width:15px;height:15px; }
 .series-directory .series-search input,.series-directory select { font-size:12px; }
 .series-filter-summary { align-items:flex-start;gap:8px; }
 .series-filter-actions { flex-wrap:wrap;justify-content:flex-end;gap:3px 12px; }
 .series-directory .series-filter-status { padding-top:6px;white-space:nowrap;font-size:11px; }
 .series-directory-grid { gap:23px 14px; }
 .series-directory .series-hub-body { padding-top:10px; }
 .series-card-title { min-height:42px;gap:4px; }
 .series-card-title h3 { font-size:16px; }
 .series-card-arrow { display:none; }
 .series-directory .series-card-genre { font-size:10px;margin-bottom:5px; }
 .series-card-meta { flex-direction:column;gap:3px;margin-top:7px;font-size:10px; }
 .series-directory .series-completion { font-size:9px; }
 .series-directory .series-card-completion { margin-top:5px; }
 .series-directory .series-refine summary { font-size:11px; }
}


/* templates/antitorrent/series-detail.css */
/* Series share the game-page column widths,typography and quiet surfaces. */
.series-detail{--series-ink:#172c38;--series-text:#506878;--series-muted:#7b8e9c;--series-line:#dfe7ed;position:relative;isolation:isolate;padding:0;background:#fff;color:var(--series-ink)}
.series-detail-layout{width:calc(100% - 80px);max-width:var(--page);margin:auto;padding:34px 0 48px}
.series-hero-backdrop{position:absolute;z-index:-1;inset:0 0 auto;height:490px;background:linear-gradient(to bottom,#ffffff05 12%,#ffffff55 65%,#fff 98%),linear-gradient(to right,#fffffff7,#fffffff0 26%,#ffffffb0 48%,#ffffff08 82%),var(--series-hero-image);background-position:center 30%;background-size:cover;pointer-events:none}
.series-hero{min-width:0;padding:0 0 38px}
.series-detail .series-breadcrumb{display:flex;flex-wrap:wrap;gap:13px;font-size:12px;line-height:1.5;color:#536c7f;margin:0 0 26px}
.series-hero-eyebrow{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;margin-bottom:12px;color:#657e8e;font-size:11px;letter-spacing:.055em;text-transform:uppercase}
.series-publisher{margin:0;text-transform:none;letter-spacing:0}
.series-hero h1{max-width:920px;font-size:clamp(54px,6.2vw,88px);font-weight:720;line-height:1.03;letter-spacing:-.052em;margin:0;color:var(--ink);overflow-wrap:anywhere;text-wrap:balance}
.series-hero-description{font-size:17px;line-height:1.65;color:#405969;max-width:630px;margin:20px 0 0;text-wrap:pretty}
.series-detail .series-detail-icon{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.series-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 472px;gap:34px;align-items:start;padding-top:30px;scroll-margin-top:24px}
.series-content-main{min-width:0;container:series-main / inline-size}
.series-tabs{display:flex;gap:27px;align-items:stretch;border-bottom:1px solid #cedae3;overflow-x:auto;scrollbar-width:none}
.series-tabs::-webkit-scrollbar{display:none}
.series-tabs button{position:relative;display:flex;align-items:center;gap:8px;flex:none;min-height:45px;padding:0 0 14px;color:#5d7687;font:inherit;font-size:13px;white-space:nowrap}
.series-tabs button svg{width:17px;height:17px;color:#8296a5}
.series-tabs button small{font-size:11px;font-weight:600;line-height:18px;min-width:24px;text-align:center;padding:2px 6px;background:#edf2f5;color:#688193;border-radius:var(--radius-control)}
.series-tabs button[aria-selected=true]{color:#18303f;font-weight:600}
.series-tabs button[aria-selected=true]:after{content:'';position:absolute;inset:auto 0 -1px;height:3px;background:#78a755}
.series-tabs button[aria-selected=true] svg{color:#608b49}
.series-tabs button[aria-selected=true] small{color:#304e61;background:#e6edf2}
.series-panel{min-width:0;scroll-margin-top:24px}
.series-panel[hidden]{display:none!important}
.series-detail-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.series-detail-section-heading h2,.series-panel-heading h2{font-size:28px;font-weight:650;line-height:1.25;letter-spacing:-.035em;margin:0}
.series-detail-section-heading p{font-size:12px;color:var(--series-muted);margin:7px 0 0}
.series-editions{list-style:none;padding:0;margin:0;display:grid;gap:24px}
.series-edition{--edition-art:27%;display:grid;grid-template-columns:minmax(0,var(--edition-art)) minmax(0,1fr);gap:8px 24px;align-items:start;padding-bottom:24px;border-bottom:1px solid var(--series-line);scroll-margin-top:28px;min-width:0}
.series-editions>li:last-child .series-edition{border-bottom:0;padding-bottom:0}
.series-edition-overview{display:contents}
.series-edition-art{grid-row:1 / span 2;display:block;aspect-ratio:16/9;border-radius:var(--radius-detail);overflow:hidden;background:#edf2f5}
.series-edition-art img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}
.series-edition-art:hover img{transform:scale(1.035)}
.series-edition-copy{min-width:0;grid-column:2}
.series-edition-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-bottom:7px;font-size:11px;color:#758a99}
.series-edition-meta time{color:#405f72;font-weight:650;font-variant-numeric:tabular-nums}
.series-edition-meta>span{padding-left:12px;border-left:1px solid #d2dce3}
.series-edition h3{font-size:21px;line-height:1.3;letter-spacing:-.025em;font-weight:650;margin:0;color:#152d3d;overflow-wrap:anywhere}
.series-edition h3 a:hover{color:#426b82}
.series-detail .series-game-description{font-size:13px;font-weight:400;line-height:1.65;color:#61798a;margin:8px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.series-edition-links{display:flex;align-items:center;gap:16px;margin-top:9px}
.series-game-info,.series-game-open{display:inline-flex;align-items:center;gap:8px;color:#355d77;font-size:12px;font-weight:550}
.series-game-info svg,.series-game-open svg{width:14px;height:14px}
.series-edition-downloads{display:inline-flex;gap:5px;align-items:center;font-size:11px;color:#78909f;font-variant-numeric:tabular-nums}
.series-edition-downloads svg{width:13px;height:13px}
.series-edition-builds{grid-column:2;min-width:0;border-radius:var(--radius-detail);overflow:hidden}
.series-edition-builds>summary{display:flex;align-items:center;justify-content:flex-start;gap:14px;padding:6px 0;min-height:32px;list-style:none;cursor:pointer;font-size:12px;font-weight:550;color:#365a70}
.series-edition-builds>summary>span{display:flex;align-items:center;gap:9px}
.series-edition-builds>summary svg{width:15px;height:15px;color:#8198a6}
.series-edition-build-count{display:inline-grid;place-items:center;min-width:22px;min-height:20px;padding:1px 5px;border-radius:var(--radius-detail);background:#eaf0f4;font-size:10px;font-weight:600;color:#597587}
.series-edition-builds[open]>summary{justify-content:space-between;padding:12px 16px;border-bottom:1px solid #dfe7ed;background:#eef3f6}
.series-edition-builds>summary:hover{color:#175e7c}
.series-package{display:grid;grid-template-columns:minmax(0,1fr) 152px;gap:14px 22px;padding:20px 16px;background:#f8fafb}
.series-package+.series-package{border-top:1px solid #e1e9ee}
.series-torrent-identity{min-width:0}
.series-build-identity{display:flex;flex-wrap:wrap;gap:4px 10px;margin:0;line-height:1.5;font-size:12px}
.series-build-identity strong{font-weight:600;color:#345368}
.series-build-identity>span{font-size:11px;color:#728896;overflow-wrap:anywhere}
.series-build-language{display:flex;flex-wrap:wrap;gap:4px 12px;color:#7b909e;font-size:10px;line-height:1.6;margin:8px 0 0}
.series-build-language b{font-weight:500;color:#4c6b7f}
.series-package-download{grid-column:2;grid-row:1 / span 2;display:grid;justify-items:end;gap:8px;align-self:center}
.series-game-size{font-size:15px;font-weight:600;color:#2b495d;font-variant-numeric:tabular-nums}
.series-torrent-actions{display:flex;gap:6px;min-height:34px;width:100%}
.series-magnet{display:grid;place-items:center;flex:none;width:33px;border:1px solid #ccd9e3;border-radius:var(--radius-control);background:#fff;color:#617d8f}
.series-torrent-download{display:flex;align-items:center;justify-content:center;gap:10px;flex:1;padding:8px 11px;border-radius:var(--radius-control);background:#195a77;color:#fff;font-size:12px;font-weight:600}
.series-torrent-download:hover{color:#fff;background:#34566b}
.series-torrent-download[aria-disabled=true]{opacity:.6;pointer-events:none}
.series-torrent-actions svg{width:14px;height:14px}
.series-file-unavailable{color:#7c8d9a;font-size:11px}
.series-torrent-stats{grid-column:1;display:flex;flex-wrap:wrap;gap:14px 26px;align-items:start;margin:0}
.series-torrent-stats dt{color:#8396a2;font-size:10px;margin-bottom:4px}
.series-torrent-stats dd{margin:0;font-size:12px;font-weight:550;line-height:1.4;font-variant-numeric:tabular-nums;color:#466377}
.series-peer dd{display:flex;align-items:center;gap:3px}
.series-peer dd svg{width:12px;height:12px}
.series-peer--seeders dd{color:#5d8150}
.series-peer--leechers dd{color:#b0706b}
.series-peer--unknown dd{color:#9aa8b2}
.series-build-rating a{display:flex;align-items:center;gap:8px}
.series-build-rating strong{font-size:12px;color:#5e824d}
.series-build-rating small{font-size:10px;font-weight:400;color:#8597a3}
.series-edition-builds>.series-game-open{display:flex;justify-content:space-between;padding:14px 16px;border-top:1px solid #e0e8ee;font-size:11px}
.series-edition-unavailable{margin-top:14px}
.series-download-status{grid-column:1/-1;color:#a44e43;font-size:12px;line-height:1.6;margin-top:10px}
.series-download-status:empty{display:none}
.series-content-aside{min-width:0;padding:0 26px}
.series-panel-heading{margin-bottom:24px}
.series-panel-heading p{font-size:14px;line-height:1.7;color:#728896;margin:10px 0 0;max-width:680px}
.series-editorial-overview h3,.series-download-help h3{font-size:21px;line-height:1.35;font-weight:600;letter-spacing:-.025em;margin:0 0 12px}
.series-editorial-overview>p{font-size:14px;color:#617c8e;line-height:1.8;margin:0}
.series-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 28px;list-style:none;padding:0;margin:26px 0 0}
.series-features h3{font-size:15px;margin:0 0 7px}
.series-features p{font-size:13px;line-height:1.7;color:#738b9a;margin:0}
.series-release-facts{margin-top:30px}
.series-release-facts>h3{font-size:21px;line-height:1.35;font-weight:600;letter-spacing:-.025em;margin:0 0 12px}
.series-release-facts>p{color:#8095a3;font-size:11px;line-height:1.6;margin:0 0 20px}
.series-release-facts table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.6}
.series-release-facts th{text-align:left}
.series-release-facts thead th{font-size:10px;color:#8398a6;font-weight:400;padding:0 15px 12px 0}
.series-release-facts tbody th,.series-release-facts td{border-top:1px solid #e2e9ee;padding:14px 15px 14px 0;vertical-align:top;text-align:left}
.series-release-facts tbody th{font-weight:550;width:35%;color:#365b73}
.series-release-facts td:nth-child(2){white-space:nowrap;color:#738a9b}
.series-release-facts td:last-child{color:#5b778b;padding-right:0}
.series-release-facts td small{display:block;font-size:10px;color:#8b9eaa;margin-top:5px}
.series-rating-summary{display:flex;gap:30px;align-items:center;padding:26px;border-radius:var(--radius-surface);background:#f3f6f8}
.series-rating-score strong{display:block;font-size:54px;line-height:1;letter-spacing:-.055em;font-weight:650;color:#2b485c}
.series-rating-score>span{display:block;font-size:11px;color:#7b919f;margin-top:9px}
.series-rating-breakdown{flex:1;max-width:360px}
.series-rating-meter{height:6px;background:#cf8a82;border-radius:var(--radius-line);overflow:hidden}
.series-rating-meter span{display:block;height:100%;background:#7daa57;border-right:2px solid #fff}
.series-rating-breakdown p{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#73925f;margin:12px 0 7px}
.series-rating-breakdown p>span+span{color:#b4746c}
.series-rating-breakdown>small,.series-panel-note{font-size:11px;line-height:1.7;color:#8498a5}
.series-panel-note{margin:14px 0 24px}
.series-rating-list{list-style:none;padding:0;margin:0}
.series-rating-list li{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:16px 0;border-bottom:1px solid #e3ebf0}
.series-rating-list li>a{display:flex;align-items:center;gap:16px;min-width:0;font-size:14px;font-weight:550;color:#385c74;line-height:1.5}
.series-rating-result{display:grid;grid-template-columns:auto auto;gap:5px 12px;align-items:baseline;flex:none;min-width:120px}
.series-rating-result strong{font-size:19px;font-weight:600;color:#63854f}
.series-rating-result small{font-size:10px;color:#8a9ca9}
.series-choice-list{display:grid;gap:25px}
.series-choice-card{display:grid;grid-template-columns:27% minmax(0,1fr);gap:24px;padding-bottom:24px;border-bottom:1px solid var(--series-line)}
.series-choice-card img{display:block;width:100%;aspect-ratio:16/9;height:auto;object-fit:cover;border-radius:var(--radius-surface)}
.series-choice-card div>span{font-size:11px;color:#7d93a1}
.series-choice-card h3{font-size:21px;line-height:1.3;letter-spacing:-.025em;font-weight:650;margin:7px 0 10px}
.series-choice-card p{font-size:13px;line-height:1.65;color:#6b8495;margin:0}
.series-choice-action{display:inline-flex;gap:8px;align-items:center;margin-top:13px;font-size:12px;color:#446b82}
.series-choice-action svg{width:14px;height:14px}
.series-download-help{margin-top:32px}
.series-download-help details{padding:16px 0;border-bottom:1px solid #e2eaf0}
.series-download-help summary{display:flex;justify-content:space-between;gap:16px;cursor:pointer;list-style:none;font-size:14px;font-weight:550;color:#3e6279}
.series-download-help summary::-webkit-details-marker{display:none}
.series-download-help details[open] summary svg{transform:rotate(180deg)}
.series-download-help p{font-size:13px;line-height:1.75;color:#768f9f;margin:12px 20px 0 0}
.series-sources{margin-top:28px}
.series-sources>p{color:#8296a3;font-size:11px;margin:0 0 10px}
.series-sources>div{display:flex;flex-wrap:wrap;gap:8px 18px}
.series-sources a{font-size:11px;color:#5d7f94}
.series-detail .series-release-note{display:block;background:#f3f6f8;border:0;border-radius:var(--radius-surface);padding:22px;margin:24px 0}
.series-release-note p{margin:10px 0}
.series-detail .series-unavailable{background:#f3f6f8;border:0;border-radius:var(--radius-surface);font-size:14px;line-height:1.7}
.series-unavailable a{margin-top:16px}
.series-detail-endnote{display:flex;justify-content:flex-end;margin-top:28px;font-size:11px;color:#8498a5}
.series-detail a:focus-visible,.series-detail button:focus-visible,.series-detail summary:focus-visible{outline:2px solid #7799af;outline-offset:4px}
.series-detail [role=tabpanel]:focus-visible{outline:2px solid #c2d1db;outline-offset:5px}

/* Catalog controls enhance the server-rendered, complete game list. */
.series-detail [hidden]{display:none!important}

.series-catalog-heading h2{font-size:25px;font-weight:650;line-height:1.3;letter-spacing:-.035em;margin:0;white-space:nowrap}

.series-catalog-tools{display:flex;gap:12px;align-items:center;min-width:0}

.series-detail .series-search{position:relative;display:block;max-width:240px;min-width:120px;margin:0}

.series-search>svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:#879aa7;pointer-events:none}

.series-search input,.series-catalog-tools select{height:38px;border:1px solid #dbe5ec;border-radius:var(--radius-control);font-family:inherit;font-size:12px;color:#426175;background:#fff;min-width:0}

.series-search input{width:100%;padding:0 10px 0 35px}

.series-search input::placeholder{color:#8095a3}

.series-catalog-tools select{width:163px;padding:0 28px 0 12px;cursor:pointer}

.series-search input:focus-visible,.series-catalog-tools select:focus-visible{outline:2px solid #789bab;outline-offset:2px}

.series-filter-status{font-size:12px;color:#748c9d;margin:-8px 0 22px}

.series-search-empty{padding:36px 24px;background:#f5f7f9;border-radius:var(--radius-surface);text-align:center}

.series-search-empty strong{font-size:20px;font-weight:600}

.series-search-empty p{font-size:13px;line-height:1.7;color:#6c8393}

.series-search-empty button{font:inherit;font-size:13px;color:#205e7a;text-decoration:underline;text-underline-offset:4px;padding:8px}

.series-edition:has(>.series-edition-builds[open]) .series-edition-art{grid-row:1}

.series-edition-builds[open]{grid-column:1/-1;margin-top:10px;background:#f5f8fa}

.series-edition-builds[open]>summary>svg{transform:rotate(180deg)}

.series-edition-builds>summary::-webkit-details-marker{display:none}

.series-edition-unavailable{grid-column:2}

.series-release-more{border-bottom:1px solid var(--series-line)}
.series-release-more>summary{display:flex;justify-content:space-between;align-items:center;gap:20px;list-style:none;padding:16px 0;cursor:pointer;border-top:1px solid var(--series-line)}

.series-release-more>summary::-webkit-details-marker{display:none}

.series-release-more>summary strong{font-size:13px;font-weight:550;color:#365a70}

.series-release-more>summary small{margin-left:10px;font-size:11px;color:#7c919f}

.series-release-more>summary>svg{color:#839baa;flex:none}

.series-release-more[open]>summary>svg{transform:rotate(180deg)}

.series-release-table{padding-bottom:12px}

.series-release-table>p{color:#8095a3;font-size:11px;line-height:1.6;margin:0 0 20px}

.series-rating-list img{display:block;flex:none;width:96px;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius-detail);background:#edf2f5}

.series-rating-list li>a>span{min-width:0;overflow-wrap:anywhere}
.series-rating-list li>a small{display:block;font-size:11px;color:#8498a5;font-weight:400;margin-top:5px}

.series-rating-mini{grid-column:1/-1;display:block;height:3px;background:#e5ebef;border-radius:var(--radius-line);overflow:hidden}

.series-rating-mini i{display:block;height:100%;background:#86a873}

.series-choice-card:last-child{padding-bottom:0;border:0}

@media(max-width:1320px){.series-content-layout{grid-template-columns:minmax(0,1fr) 424px;gap:27px}
.series-content-aside{padding:0 22px}
.series-tabs{gap:22px}
}

@media(max-width:1100px){.series-detail-layout{width:calc(100% - 48px)}
.series-content-layout{grid-template-columns:minmax(0,1fr) 380px;gap:24px}
.series-content-aside{padding:0 22px}
.series-hero h1{font-size:68px}
}

@container series-main (max-width:650px){.series-edition{--edition-art:31%;column-gap:18px}
.series-choice-card{grid-template-columns:31% minmax(0,1fr);gap:18px}
.series-catalog-heading{align-items:flex-start;flex-direction:column;gap:16px}
.series-catalog-tools{width:100%}
.series-detail .series-search{flex:1;max-width:none}
.series-edition h3,.series-choice-card h3{font-size:19px}
.series-game-description{font-size:12px;-webkit-line-clamp:3}
.series-edition-meta{font-size:10px}
.series-edition-links{margin-top:8px}
.series-tabs{gap:18px}
.series-tabs button{font-size:12px}
.series-detail-section-heading h2{font-size:25px}
.series-choice-card p{font-size:12px}
}

@media(max-width:900px){.series-content-layout{grid-template-columns:minmax(0,1fr);gap:36px}
.series-content-aside{padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:26px}
.series-hero-description{max-width:600px}
.series-hero h1{font-size:64px}
.series-hero{padding-bottom:30px}
}

@media(max-width:540px){.series-detail-layout{width:calc(100% - 32px);padding-top:24px}
.series-hero-backdrop{height:440px;background-position:64% top;background-image:linear-gradient(to bottom,#ffffff9c,#ffffffdd 66%,#fff 100%),var(--series-hero-image)}
.series-detail .series-breadcrumb{font-size:11px;gap:8px;margin-bottom:25px}
.series-hero h1{font-size:clamp(44px,10vw,58px)}
.series-hero-eyebrow{font-size:9px;line-height:1.6;gap:8px}
.series-hero-description{font-size:14px;line-height:1.7;margin-top:17px}
.series-tabs{gap:20px}
.series-tabs button{font-size:12px;gap:6px}
.series-tabs button svg{width:15px;height:15px}
.series-content-layout{padding-top:24px}
.series-detail-section-heading{gap:12px;align-items:baseline;margin-bottom:23px}
.series-detail-section-heading h2,.series-panel-heading h2{font-size:25px}
.series-detail-section-heading p{font-size:11px;line-height:1.6;max-width:180px}
.series-edition{display:block}
.series-edition-art{margin-bottom:15px}
.series-choice-card{grid-template-columns:minmax(0,1fr);gap:15px}
.series-features{grid-template-columns:1fr}
.series-edition h3,.series-choice-card h3{font-size:22px}
.series-edition-meta{font-size:11px}
.series-game-description{font-size:13px;-webkit-line-clamp:3;margin-top:9px}
.series-edition-links{margin-top:12px}
.series-edition-builds{margin-top:15px}
.series-edition-builds>summary{padding:6px 0;font-size:12px}
.series-edition-builds[open]>summary{padding:12px}
.series-edition-build-count{font-size:10px}
.series-package{grid-template-columns:minmax(0,1fr);gap:14px;padding:17px 13px}
.series-package-download{grid-column:1;grid-row:auto;display:flex;justify-content:space-between;align-items:center;gap:16px}
.series-torrent-actions{width:146px;flex:none}
.series-torrent-stats{gap:15px 20px}
.series-torrent-stats dt{font-size:10px}
.series-torrent-stats dd{font-size:11px}
.series-build-rating a{flex-wrap:wrap;gap:4px}
.series-content-aside{display:block}
.series-release-facts thead{display:none}
.series-release-facts table,.series-release-facts tbody{display:block}
.series-release-facts tr{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:16px 0;border-top:1px solid #dfe8ee;gap:9px 12px}
.series-release-facts tbody th,.series-release-facts td{padding:0;border:0;width:auto}
.series-release-facts td:last-child{grid-column:1/-1;font-size:11px}
.series-rating-summary{display:block;padding:22px}
.series-rating-breakdown{margin-top:22px}
.series-rating-score strong{font-size:48px}
.series-rating-result{grid-template-columns:1fr;gap:4px;text-align:right;min-width:80px}
.series-rating-list img{width:68px}
.series-rating-list li>a{gap:12px}
.series-catalog-tools{gap:8px}
.series-search input,.series-catalog-tools select{font-size:11px}
.series-catalog-tools select{width:147px;padding-left:8px}
.series-rating-list li{gap:15px}
.series-rating-list li>a{font-size:13px}
.series-panel-heading p{font-size:13px}
.series-choice-card p{font-size:13px}
.series-editions{gap:24px}
}

@media(prefers-reduced-motion:reduce){.series-detail *{transition:none!important;scroll-behavior:auto!important}
}

/* The opening describes the series; the game cards below are the selection UI. */
.series-hero{padding-bottom:36px}

.series-hero-description{max-width:680px}

.series-hero-facts{display:flex;flex-wrap:wrap;gap:20px 32px;margin:27px 0 0;padding:0}

.series-hero-facts>div{display:flex;flex-direction:column;gap:6px;min-width:75px}

.series-hero-facts>div+div{padding-left:30px;border-left:1px solid #b8c8d280}

.series-hero-facts dt{font-size:11px;color:#748a98;line-height:1.4}

.series-hero-facts dd{order:-1;margin:0;font-size:25px;font-weight:650;line-height:1.2;letter-spacing:-.03em;color:#2a4759;font-variant-numeric:tabular-nums}

@media(max-width:900px){.series-hero{padding-bottom:30px}
}

@media(max-width:540px){.series-hero-facts{gap:14px 20px;margin-top:23px}
.series-hero-facts>div{min-width:0;gap:5px}
.series-hero-facts>div+div{padding-left:18px}
.series-hero-facts dt{font-size:10px;max-width:90px}
.series-hero-facts dd{font-size:23px}
.series-hero-facts>div:last-child dd{font-size:20px;padding-top:3px}
.series-hero-facts>div:last-child{flex-basis:auto}
}

@media(max-width:350px){.series-hero-facts{display:grid;grid-template-columns:.65fr .75fr 1.5fr;gap:12px}
.series-hero-facts>div+div{padding-left:12px}
.series-hero-facts dt{font-size:9px;max-width:80px}
.series-hero-facts dd{font-size:22px}
.series-hero-facts>div:last-child dd{font-size:18px;white-space:nowrap}
}

/* A quiet reference column, with recommendations from other series below it. */
.series-content-aside .series-aside-kicker{margin:0 0 17px;color:#718390;font-size:11px;font-weight:600;letter-spacing:.045em;line-height:1.4;text-transform:uppercase}

.series-reference-list{margin:0;padding:0}

.series-reference-row{display:grid;grid-template-columns:126px minmax(0,1fr);gap:14px;padding:12px 0;align-items:start}

.series-reference-row+.series-reference-row{border-top:1px solid #e7edf1}

.series-reference-row dt{display:flex;align-items:flex-start;gap:8px;color:#7b909f;font-size:12px;line-height:1.55}

.series-reference-row dt svg{width:15px;height:15px;flex:none;margin-top:2px;color:#8da2b0}

.series-reference-row dd{min-width:0;margin:0;color:#29495e;font-size:13px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}

.series-reference-row dd>a{color:#385f78;text-decoration:underline;text-decoration-color:#cbd9e2;text-underline-offset:3px}

.series-reference-row dd>small{display:block;font-size:11px;font-weight:400;color:#6d8596;line-height:1.6;margin-top:3px}

.series-reference-row dd>.series-reference-note{color:#8496a2;margin-top:6px}

.series-reference-more{font-weight:400;margin-top:5px}

.series-reference-more summary{display:inline-flex;align-items:center;gap:6px;list-style:none;color:#658398;font-size:11px;cursor:pointer}

.series-reference-more summary::-webkit-details-marker{display:none}

.series-reference-more summary svg{width:12px;height:12px}
.series-reference-more[open] summary svg{transform:rotate(180deg)}

.series-reference-more p{font-size:12px;line-height:1.6;margin:7px 0 0;color:#49677c}

.series-reference-localization{margin-top:23px}

.series-reference-localization h3{margin:0 0 5px;font-size:12px;font-weight:600;color:#345467}

.series-reference-caption{margin:7px 0 0;color:#8093a1;font-size:11px;line-height:1.65}

.series-aside-activity{padding-top:17px;margin-top:22px;border-top:1px solid #dfe8ee}

.series-aside-activity p{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#8095a3;font-size:11px;margin:0 0 12px}

.series-aside-activity strong{color:#4e6b7f;font-weight:600;font-variant-numeric:tabular-nums}

.series-aside-more{display:flex;align-items:center;justify-content:space-between;color:#466a80;font-size:11px;gap:12px}

.series-aside-more svg{width:15px;height:15px}

.series-similar{margin-top:39px}

.series-similar-list{list-style:none;margin:0;padding:0;display:grid;gap:17px}

.series-similar-list a{display:grid;grid-template-columns:112px minmax(0,1fr) 13px;align-items:center;gap:13px}

.series-similar-list img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius-control);background:#edf2f5}

.series-similar-list strong{display:block;font-size:13px;font-weight:600;line-height:1.45;color:#29495e}

.series-similar-list small{display:block;margin-top:5px;color:#8296a5;font-size:10px;line-height:1.55}

.series-similar-list a>svg{width:13px;height:13px;color:#8ca1af}

.series-similar-list a:hover strong,.series-reference-row dd>a:hover{color:#487d9c}

@media(max-width:1100px){.series-reference-row{grid-template-columns:115px minmax(0,1fr);gap:12px}
.series-similar-list a{grid-template-columns:100px minmax(0,1fr) 12px;gap:11px}
}

@media(max-width:900px){.series-reference,.series-similar{margin:0;min-width:0}
.series-reference-row{grid-template-columns:112px minmax(0,1fr);gap:12px}
}

@media(max-width:700px){.series-content-aside{grid-template-columns:minmax(0,1fr)}
.series-similar{margin-top:14px}
.series-similar-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.series-similar-list a{grid-template-columns:90px minmax(0,1fr);gap:11px}
.series-similar-list a>svg{display:none}
.series-reference-row{grid-template-columns:140px minmax(0,1fr)}
}

@media(max-width:540px){.series-similar{margin-top:35px}
.series-similar-list{grid-template-columns:minmax(0,1fr);gap:17px}
.series-similar-list a{grid-template-columns:112px minmax(0,1fr) 13px;gap:13px}
.series-similar-list a>svg{display:block}
.series-reference-row{grid-template-columns:115px minmax(0,1fr);gap:14px}
}



/* templates/antitorrent/series-tracker.css */
/* Torrent-first series detail. The shared hero and the site column grid stay intact. */
.series-tracker .series-content-layout{padding-top:0}
.series-tracker .tracker-section{--tracker-columns:minmax(0,1fr) 82px 96px 128px;--tracker-gap:18px;min-width:0;scroll-margin-top:24px}
.tracker-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:21px;scroll-margin-top:24px}
.series-tracker .tracker-heading h2{display:flex;align-items:center;gap:12px;margin:0;font-size:28px;line-height:1.3;letter-spacing:-.035em;font-weight:650}
.tracker-heading h2>span{padding:3px 7px;background:#eaf0f4;border-radius:var(--radius-detail);font-size:12px;letter-spacing:0;color:#627c8e;font-weight:550}
.tracker-heading-caption{font-size:12px;color:#7b8e9c;white-space:nowrap}
.tracker-tools{display:flex;gap:12px;margin-bottom:22px}
.tracker-search{display:flex;align-items:center;gap:10px;min-width:0;flex:1;padding:10px 12px;border:1px solid #d9e3ea;border-radius:var(--radius-control);background:#fff;color:#7892a2}
.tracker-search:focus-within{border-color:#789aad;box-shadow:0 0 0 2px #e9f1f6}
.tracker-search input{width:100%;min-width:0;border:0;background:transparent;outline:0;color:#29485b;font:inherit;font-size:12px}
.tracker-search input::placeholder{color:#8294a2}
.tracker-tools select{max-width:48%;min-height:40px;padding:8px 28px 8px 11px;background-color:#f4f7f9;border:1px solid #d9e3ea;border-radius:var(--radius-control);color:#4f6b7e;font:inherit;font-size:11px;cursor:pointer}
.tracker-tools select:focus-visible,.series-tracker a:focus-visible,.tracker-builds>summary:focus-visible{outline:2px solid #4d85a3;outline-offset:3px}
.tracker-columns,.tracker-row{display:grid;grid-template-columns:var(--tracker-columns);column-gap:var(--tracker-gap);align-items:center}
.tracker-columns{padding:0 0 11px;border-bottom:1px solid #d9e3ea;color:#7c909f;font-size:11px;font-weight:500}
.tracker-columns>span:last-child{text-align:right;padding-right:8px}
.tracker-list{list-style:none;margin:0;padding:0}
.tracker-game{padding:18px 0 12px;border-bottom:1px solid #e2e9ee;scroll-margin-top:24px}
.tracker-game:target{background:#f5f9fc;box-shadow:0 0 0 9px #f5f9fc;border-radius:var(--radius-detail)}
.tracker-row{min-width:0;align-items:start}
.tracker-identity{display:flex;gap:14px;align-items:start;min-width:0}
.tracker-art{display:block;flex:none;width:64px;aspect-ratio:8/5;overflow:hidden;border-radius:var(--radius-detail);background:#e9f0f4;margin-top:3px}
.tracker-art img{width:100%;height:100%;object-fit:cover;display:block}
.tracker-copy{min-width:0}
.tracker-title-line{display:flex;gap:9px;align-items:baseline;flex-wrap:wrap}
.tracker-year{font-size:10px;color:#8a9ba7;line-height:1.5;font-variant-numeric:tabular-nums}
.series-tracker .tracker-copy h3,.tracker-unavailable h3{margin:0;font-size:16px;line-height:1.35;letter-spacing:-.02em;font-weight:650;color:#172e3d;overflow-wrap:anywhere}
.tracker-copy h3 a:hover{color:#196384}
.tracker-game-meta{display:flex;flex-wrap:wrap;gap:3px 9px;margin-top:4px;font-size:10px;color:#8a9ba7;line-height:1.5}
.tracker-game-meta>span+span:before{content:'·';margin-right:9px}
.series-tracker .tracker-package-name{margin:6px 0 0;font-size:12px;line-height:1.5;font-weight:550;color:#47677d;overflow-wrap:anywhere}
.series-tracker .tracker-version{margin:3px 0 0;font-size:11px;line-height:1.5;color:#758b9b;overflow-wrap:anywhere}
.tracker-rating{padding-top:3px;font-variant-numeric:tabular-nums}
.tracker-rating strong{color:#416b36;font-size:13px;font-weight:650;line-height:1.5}
.tracker-rating small{display:block;margin-top:6px;font-size:10px;line-height:1.5;color:#7b909f;white-space:nowrap}
.tracker-rating-bar{height:4px;display:block;overflow:hidden;background:#d38c88;border-radius:var(--radius-line);margin-top:6px}
.tracker-rating-bar>i{display:block;height:100%;background:#7ca855;border-right:2px solid #fff}
.tracker-rating-bar.is-empty{background:#e4ebf0}
.tracker-rating-bar.is-empty>i{border:0}
.tracker-activity{padding-top:5px;font-variant-numeric:tabular-nums;font-size:12px;line-height:1.5}
.tracker-download-count{display:flex;align-items:center;gap:6px;color:#48677b;white-space:nowrap}
.series-tracker .tracker-download-count svg{width:12px;height:12px;color:#94a7b5}
.tracker-peers{display:flex;gap:12px;align-items:center;margin-top:11px;font-size:10px}
.tracker-peer{display:flex;align-items:center;gap:2px;color:#9baab5}
.tracker-peer--seeders{color:#5b8659}
.tracker-peer--leechers{color:#b97873}
.tracker-peer.is-unknown{color:#94a7b3}
.series-tracker .tracker-peer svg{width:12px;height:12px}
.tracker-actions{padding-top:2px;min-width:0;text-align:right}
.series-tracker .series-torrent-actions{width:100%;min-height:34px;gap:5px;justify-content:flex-end}
.series-tracker .series-torrent-download{background:#185779;font-size:11px;padding:8px 10px;gap:8px;min-width:0}
.series-tracker .series-torrent-download:hover{background:#216e91}
.series-tracker .series-magnet{width:32px;background:#fff;color:#527186;border-color:#d3dfe8}
.series-tracker .series-magnet:hover{background:#edf5fa;color:#185779;border-color:#9ab9cb}
.series-tracker .series-torrent-actions svg{width:14px;height:14px}
.tracker-size{display:block;margin:8px 8px 0 0;font-size:11px;color:#788f9f;font-variant-numeric:tabular-nums;line-height:1.4}
.tracker-builds,.tracker-single{margin-top:7px}
.tracker-builds>summary,.tracker-single{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;font-size:11px;color:#6c8799;min-height:24px;padding-left:78px}
.tracker-builds>summary::-webkit-details-marker{display:none}
.tracker-builds>summary{cursor:pointer}
.tracker-builds>summary>span:first-child,.tracker-single>a{display:flex;gap:8px;align-items:center;color:#49718a}
.tracker-builds>summary:hover>span:first-child,.tracker-single>a:hover{color:#185779}
.series-tracker .tracker-builds>summary svg,.series-tracker .tracker-single svg{width:12px;height:12px;transition:transform .2s}
.tracker-builds[open]>summary svg{transform:rotate(180deg)}
.tracker-game-total{font-size:10px;color:#8b9da9;white-space:nowrap;margin-right:8px}
.tracker-build-list{margin:12px -12px 0;padding:0 12px;background:#f3f7fa;border-radius:var(--radius-detail)}
.tracker-row--alternative{padding:17px 0;border-bottom:1px solid #e0e9ef}
.tracker-row--alternative .tracker-identity{padding-left:14px;border-left:2px solid #d6e5ee}
.tracker-row--alternative .tracker-package-name{margin-top:0;font-size:12px}
.tracker-row--alternative .tracker-version{font-size:11px}
.tracker-row.is-search-match .tracker-package-name{color:#175c80}
.tracker-row--alternative.is-search-match .tracker-identity{border-left-color:#76a2bb}
.tracker-instructions{display:flex;gap:8px;align-items:center;justify-content:flex-end;padding:12px 0;font-size:10px;color:#54788e}
.series-tracker .tracker-instructions svg{width:13px;height:13px}
.series-tracker .series-download-status{margin:0;font-size:12px;line-height:1.5;color:#b15c53}
.series-tracker .series-download-status:not(:empty){padding:10px 0}
.tracker-sidebar{min-width:0;padding:6px 26px 0}
.series-tracker .tracker-sidebar h2{font-size:10px;line-height:1.5;letter-spacing:.065em;text-transform:uppercase;font-weight:500;color:#8295a3;margin:0 0 22px}
.tracker-summary-score{display:flex;align-items:center;gap:20px;margin-bottom:19px}
.tracker-summary-score>strong{font-size:52px;line-height:1;letter-spacing:-.05em;font-weight:650;color:#32582e;font-variant-numeric:tabular-nums}
.tracker-summary-score>strong small{font-size:26px;margin-left:2px}
.tracker-summary-score>div>span{font-size:12px;font-weight:550;color:#4d6c4b}
.tracker-summary-score p{font-size:11px;line-height:1.6;margin:5px 0 0;color:#879ba9}
.tracker-vote-totals{display:flex;gap:16px;justify-content:space-between;margin-top:10px;font-size:10px;line-height:1.5;color:#8398a6}
.tracker-vote-totals b{font-size:11px;font-weight:500;color:#5f8052;margin-left:5px}
.tracker-vote-totals>span+span b{color:#b77971}
.tracker-summary-facts{display:grid;gap:14px;margin:29px 0 0;font-size:12px}
.tracker-summary-facts>div{display:flex;gap:8px;align-items:baseline}
.tracker-summary-facts>div:after{content:'';flex:1;order:1;border-bottom:1px dotted #cad7e0}
.tracker-summary-facts dt{display:flex;align-items:center;gap:8px;font-size:11px;color:#8295a3}
.series-tracker .tracker-summary-facts svg{width:13px;height:13px}
.tracker-summary-facts dd{order:2;margin:0;color:#36566c;font-weight:550;font-variant-numeric:tabular-nums}
.tracker-help{margin-top:42px}
.series-tracker .tracker-help h2{margin-bottom:12px}
.tracker-help>a{display:flex;align-items:center;gap:10px;padding:10px 0;color:#517389;font-size:12px;line-height:1.5}
.tracker-help>a:hover{color:#185779}
.tracker-help>a>span{flex:1}
.series-tracker .tracker-help>a svg{width:14px;height:14px;color:#8ba1af}
.tracker-help p{font-size:11px;line-height:1.8;color:#8b9ca8;margin:18px 0 0;max-width:310px}
.tracker-legend-seed{color:#668960}
.tracker-legend-leech{color:#b87874}
.tracker-unavailable{padding:8px 0;font-size:12px;color:#7d93a1}
@media(min-width:901px) and (max-width:1320px){.series-tracker .tracker-section{--tracker-columns:minmax(0,1fr) 68px 79px 120px;--tracker-gap:13px}.tracker-identity{gap:10px}.tracker-art{width:54px}.tracker-builds>summary,.tracker-single{padding-left:64px}.tracker-sidebar{padding-left:24px;padding-right:24px}}
@media(max-width:1100px) and (min-width:901px){.series-tracker .series-content-layout{gap:22px}.tracker-art{display:none}.tracker-builds>summary,.tracker-single{padding-left:0}.tracker-copy h3{font-size:15px}.tracker-sidebar{padding-left:18px;padding-right:18px}.tracker-summary-score{gap:13px}.tracker-vote-totals{gap:8px;flex-wrap:wrap}}
@media(max-width:900px){.tracker-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:38px;padding:30px 0 0;border-top:1px solid #dfe7ed}.tracker-help{margin:0}.series-tracker .series-content-layout{gap:36px}.tracker-build-list{margin-left:0;margin-right:0}.tracker-build-list .tracker-row{--tracker-gap:14px}}
@media(max-width:700px){.series-tracker .tracker-section{--tracker-columns:minmax(0,1fr) 72px 110px;--tracker-gap:14px}.tracker-heading h2{font-size:25px!important}.tracker-heading-caption{display:none}.tracker-columns{display:none}.tracker-tools{margin-bottom:0;padding-bottom:18px;border-bottom:1px solid #dce6ed}.tracker-search{padding:10px}.tracker-search input{font-size:11px}.tracker-tools select{font-size:10px;padding-left:8px;max-width:45%}.tracker-row{grid-template-areas:'identity identity identity' 'rating activity actions';row-gap:15px}.tracker-identity{grid-area:identity;gap:12px}.tracker-rating{grid-area:rating;padding-top:0;width:84px;align-self:start}.tracker-activity{grid-area:activity;padding-top:0}.tracker-actions{grid-area:actions;padding:0}.tracker-copy{flex:1}.tracker-art{width:64px}.tracker-copy h3{font-size:16px}.tracker-copy .tracker-package-name{margin-top:5px}.tracker-peers{margin-top:8px}.tracker-builds>summary,.tracker-single{padding-left:0;margin-top:13px}.tracker-game{padding-top:19px;padding-bottom:15px}.tracker-row--alternative{padding:18px 0;row-gap:12px}.tracker-sidebar{grid-template-columns:1fr;gap:32px}.tracker-summary{max-width:430px}.tracker-help{max-width:430px}.tracker-game-total{font-size:9px}.tracker-build-list{padding:0 12px}.tracker-row--alternative .tracker-identity{padding-left:10px}.tracker-rating-bar{margin-top:6px}.tracker-rating small{margin-top:4px}.tracker-summary-score>strong{font-size:46px}}
@media(prefers-reduced-motion:reduce){.series-tracker *{scroll-behavior:auto!important;transition:none!important}}


/* templates/antitorrent/catalog-search.css */
:is(.site-header, .home-search-panel) .search-submit { display: inline-flex; align-items: center; justify-content: center; flex: none; gap: 9px; width: auto; height: 44px; padding: 0 18px; border: 0; border-radius: var(--radius-control); background: #304b5a; color: #fff; font-size: 12px; font-weight: 600; transition: background-color .15s; }
:is(.site-header, .home-search-panel) .search-submit .icon { width: 17px; height: 17px; }
:is(.site-header, .home-search-panel) button.search-submit:hover { background: #416677; color: #fff; }
:is(.site-header, .home-search-panel) .search-submit:focus-visible { outline: 2px solid #597787; outline-offset: 2px; }
@media (min-width: 701px) and (max-width: 1100px) { :is(.site-header, .home-search-panel) .search-submit { width: 42px; padding: 0; } :is(.site-header, .home-search-panel) .search-submit span { display: none; } }
@media (max-width: 700px) { :is(.site-header, .home-search-panel) .search-submit { height: 36px; padding-inline: 14px; } }

/* Dim the entire viewport, including adjacent header controls, but not search. */
.search-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2;
  background: rgba(12, 24, 32, .32);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, visibility 0s linear .16s;
}
.search-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
#site-search { z-index: 3; }

:is(.site-header, .home-search-panel) .search-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  left: 0;
  z-index: 10;
  overflow: hidden;
  border: 1px solid #dce3e7;
  border-radius: var(--radius-surface);
  background: #fff;
  box-shadow: 0 15px 40px rgba(13, 28, 38, .2);
  color: #1d2b34;
  white-space: normal;
}

:is(.site-header, .home-search-panel) .search-dropdown[hidden] {
  display: none;
}

:is(.site-header, .home-search-panel) .search-dropdown-heading {
  padding: 14px 15px 10px;
  color: #6d7a82;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .045em;
  line-height: 1.3;
  text-transform: uppercase;
}

:is(.site-header, .home-search-panel) .search-suggestions {
  max-height: min(520px, 65dvh);
  overflow-y: auto;
  padding: 0 5px 6px;
  overscroll-behavior: contain;
}

:is(.site-header, .home-search-panel) .search-suggestion {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 8px 10px;
  border-radius: var(--radius-control);
  color: #1d2b34;
  text-align: left;
  transition: background-color .12s ease;
}

:is(.site-header, .home-search-panel) .search-suggestion:hover,
:is(.site-header, .home-search-panel) .search-suggestion.is-active,
:is(.site-header, .home-search-panel) .search-suggestion:focus-visible {
  background: #edf2f5;
  color: #162630;
}

:is(.site-header, .home-search-panel) .search-suggestion-cover {
  width: 64px;
  height: 48px;
  border-radius: var(--radius-detail);
  background: #e9edf0;
  object-fit: cover;
}

:is(.site-header, .home-search-panel) .search-suggestion-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

:is(.site-header, .home-search-panel) .search-suggestion-title {
  overflow: hidden;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:is(.site-header, .home-search-panel) .search-suggestion-title mark {
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #8ca5b4;
  text-underline-offset: 3px;
}

:is(.site-header, .home-search-panel) .search-suggestion-meta {
  flex: none;
  color: #78848b;
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
}

/* One shared line keeps every fact; narrow screens can swipe it sideways. */
:is(.site-header, .home-search-panel) .search-suggestion-details {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  white-space: nowrap;
}
:is(.site-header, .home-search-panel) .search-suggestion-details::-webkit-scrollbar {
  display: none;
}

:is(.site-header, .home-search-panel) .search-suggestion-stats {
  display: flex;
  flex: 1 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  color: #60717c;
  font-size: 11px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
:is(.site-header, .home-search-panel) .search-suggestion-meta:not(:empty) + .search-suggestion-stats::before {
  content: "·";
  color: #78848b;
}
.search-suggestion-size { color: #344e5d; font-weight: 550; white-space: nowrap; }
.search-suggestion-packages { white-space: nowrap; }
.search-suggestion-peers {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 4px;
  width: 148px;
  flex: none;
  margin-left: auto;
}
.search-suggestion-peer {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  align-items: center;
  gap: 3px;
  min-width: 0;
  font-weight: 650;
  white-space: nowrap;
}
.search-suggestion-peer-count { min-width: 0; text-align: left; }
.search-suggestion-peer--seeders { grid-template-columns: minmax(0, 1fr) 14px; }
.search-suggestion-peer--seeders svg { grid-column: 2; grid-row: 1; }
.search-suggestion-peer--seeders .search-suggestion-peer-count { grid-column: 1; grid-row: 1; text-align: right; }
.search-suggestion-peer svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.search-suggestion-peer--seeders { color: #3d794c; }
.search-suggestion-peer--leechers { color: #ad4652; }
.search-suggestion-peer.is-unknown { color: #78848b; }

@media (max-width: 1100px) {
  :is(.site-header, .home-search-panel) .search-suggestion-details {
    padding-right: 14px;
    mask-image: linear-gradient(to right, #000 calc(100% - 14px), transparent);
  }
}

:is(.site-header, .home-search-panel) .search-empty {
  padding: 13px 15px 20px;
  color: #6d7a82;
  font-size: 13px;
  line-height: 1.5;
}

:is(.site-header, .home-search-panel) .search-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 540px) {
  :is(.site-header, .home-search-panel) .search-suggestion {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    min-height: 64px;
    padding-inline: 8px;
  }

  :is(.site-header, .home-search-panel) .search-suggestion-cover {
    width: 54px;
    height: 42px;
  }

  :is(.site-header, .home-search-panel) .search-suggestion-title {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .search-backdrop,
  :is(.site-header, .home-search-panel) .search-submit,
  :is(.site-header, .home-search-panel) .search-suggestion {
    transition: none;
  }
}


/* templates/antitorrent/category-page.css */
/* Category: compact discovery, consistent cards, and comparable release details. */
.category-page{--category-ink:#14212b;--category-muted:#657587;--category-line:#e2e8ed;--category-accent:#31485c;--category-hover:#f0f3f6;--category-selected:#e8edf2;background:#fff;color:var(--category-ink)}
.category-page [hidden]{display:none!important}
.category-page :is(a,button,input,select,summary):focus-visible{outline:2px solid #69859d;outline-offset:4px}
.category-main :is(a,button,select,summary,.filter-check){transition:background-color .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease}
.category-page .site-footer{margin-top:0}
.category-main{--category-sidebar-width:216px;--category-column-gap:40px;position:relative;isolation:isolate;padding-bottom:72px}
.category-backdrop{position:absolute;z-index:-1;inset:0 0 auto;height:480px;overflow:hidden;pointer-events:none;background:#fff}
.category-backdrop:before,.category-backdrop:after{content:"";position:absolute;inset:0}
.category-backdrop:before{background-image:url("/templates/antitorrent/assets/category-background.svg");background-size:cover;background-position:center top;background-repeat:no-repeat}
.category-backdrop:after{background:linear-gradient(to bottom,transparent 0%,transparent 42%,rgba(255,255,255,.2) 55%,rgba(255,255,255,.72) 70%,rgba(255,255,255,.96) 85%,#fff 100%),linear-gradient(to right,rgba(255,255,255,.97) 0%,rgba(255,255,255,.87) 25%,rgba(255,255,255,.65) 49%,rgba(255,255,255,.1) 71%,transparent 86%)}
.category-wrap{width:calc(100% - 80px);max-width:var(--page);margin-inline:auto}
.category-heading{padding-top:32px;padding-bottom:16px}
.category-title-row{position:relative;display:block;padding:0;border:0;border-radius:0;background:none}
.category-heading-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.category-hero-copy{position:relative;min-width:0;width:100%;max-width:none;padding:0}
.category-hero-kicker{display:flex;align-items:center;gap:10px;font-size:11px;line-height:1.4;font-weight:550;letter-spacing:.1em;text-transform:uppercase;color:#718292;margin:0}
.category-hero-kicker span{color:#a9b5c0}
.category-title-row h1{font-size:64px;line-height:1.06;font-weight:720;letter-spacing:-.045em;overflow-wrap:anywhere}
.category-title-base{white-space:nowrap}
.category-title-genre{font-size:.78em;font-weight:550;letter-spacing:-.03em;color:#677786;white-space:nowrap}
.category-title-separator{color:#a2afba;font-weight:400}
.category-title-row h1[data-single-line]{white-space:nowrap}
#category-description{font-size:16px;line-height:1.65;color:#46596c;margin-top:16px;width:calc(100% - var(--category-sidebar-width) - var(--category-column-gap));max-width:none;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.category-genres{display:flex;flex-direction:column;gap:4px}
.genre-tab{display:flex;align-items:center;gap:8px;min-width:0;min-height:34px;padding:6px 9px;border-radius:var(--radius-control);color:#627184;font-size:13px;font-weight:450}
.genre-tab .icon{width:17px;height:17px;flex:none;color:#7b8d9c}
.genre-label{min-width:0;line-height:1.4}
.genre-count{flex:none;margin-left:auto;font-size:11px;font-weight:400;color:#8995a3;font-variant-numeric:tabular-nums}
.genre-tab[aria-current=page]{background:var(--category-selected);color:#263f53;font-weight:550}
.genre-tab:hover{background:var(--category-hover);color:var(--category-accent)}
.genre-tab[aria-current=page]:hover{background:#dfe6ed}
.genre-tab[aria-current=page] .icon,.genre-tab:hover .icon{color:var(--category-accent)}
.catalog-workspace{display:grid;grid-template-columns:minmax(0,1fr) var(--category-sidebar-width);gap:var(--category-column-gap);align-items:start;padding-top:18px;scroll-margin-top:24px}
.catalog-sidebar,.catalog-filters{min-width:0}
.catalog-sidebar{grid-column:2;grid-row:1}
.catalog-filters>summary{display:none}
.catalog-filters:not([open])>summary{display:flex;align-items:center;gap:9px;min-height:42px;font-size:13px;cursor:pointer;list-style:none}
.catalog-filters:not([open])>summary>.icon{width:17px;height:17px}
.catalog-filters:not([open])>summary .filter-chevron{margin-left:auto}
.filter-heading{display:flex;align-items:center;justify-content:space-between;min-height:38px;margin-bottom:25px}
.filter-heading h2{font-size:16px;font-weight:650;letter-spacing:-.02em}
.filter-heading button,.category-reset{font-size:12px;color:#657587;text-decoration:underline;text-underline-offset:3px}
.filter-heading button:hover,.category-reset:hover{color:var(--category-accent)}
.filter-section{border:0;padding:0;margin:0 0 26px;min-width:0}
#collections{scroll-margin-top:24px}
.filter-section+.filter-section{padding-top:0}
.filter-section legend{padding:0;font-size:12px;letter-spacing:.015em;font-weight:650;margin-bottom:11px;width:100%}
.filter-section legend+*{clear:both}
.filter-section.filter-categories{padding-bottom:18px;border-bottom:1px solid var(--category-line)}
.filter-check{display:flex;align-items:center;gap:10px;min-height:36px;cursor:pointer;color:#526174;font-size:13px}
.filter-check input{width:16px;height:16px;margin:0;accent-color:#3f596d;flex:none;cursor:pointer}
.filter-check input:checked+span{color:#263e50;font-weight:550}
.filter-check:hover{color:var(--category-accent)}
.filter-count{margin-left:auto;font-size:12px;color:#657587;font-variant-numeric:tabular-nums}
#category-year{width:100%;height:39px;padding:0 30px 0 11px;background-color:#fff;border:1px solid #dce3e7;border-radius:var(--radius-control);color:#526174;font-size:13px;cursor:pointer}
.category-results{min-width:0;grid-column:1;grid-row:1}
.category-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:38px;margin-bottom:22px}
.catalog-result-count{display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px;color:#657587;font-size:12px}
.catalog-result-count strong{color:#273743;font-weight:600;font-size:13px}
.category-display-controls{display:flex;align-items:center;gap:20px}
.category-sort select{border:0;background-color:transparent;padding:9px 24px 9px 0;color:#526174;font-size:12px;cursor:pointer;max-width:100%}
.category-view-switch{display:flex;align-items:center;gap:2px}
.category-view-switch button{width:36px;height:36px;display:grid;place-items:center;border-radius:var(--radius-control);color:#8a959d}
.category-view-switch button .icon{width:19px;height:19px}
.category-view-switch button[aria-pressed=true]{background:var(--category-selected);color:#35536b}
.category-view-switch button:hover{background:var(--category-hover);color:var(--category-accent)}
.catalog-filter-state{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.catalog-filter-state:has(.category-active-filters:empty){display:none}
.category-active-filters{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:20px}
.catalog-filter-state>.category-reset{margin-bottom:20px}
.filter-chip{display:inline-flex;align-items:center;gap:8px;padding:6px 9px;background:#edf1f5;border-radius:var(--radius-control);font-size:12px;color:#445d73;max-width:100%;overflow-wrap:anywhere;text-align:left;min-height:32px}
.filter-chip:hover{background:#e2e8ef;color:#263f53}
.filter-chip .icon{width:13px;height:13px}
.category-games{min-width:0}
.category-games.is-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 20px;align-items:stretch}
.catalog-game{position:relative;min-width:0}
.card-media{position:relative;width:100%;min-width:0;align-self:start}
.card-cover{display:block;width:100%;aspect-ratio:460/215;background-color:#e7eceb;background-size:cover;background-position:center;border-radius:var(--radius-surface);overflow:hidden}
.card-cover>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.is-grid .card-cover{min-height:116px}
.card-cover:hover{filter:brightness(1.05)}
.card-media-tools{position:absolute;z-index:2;top:6px;right:6px;display:flex;flex-direction:column;gap:4px}
.card-media-tools>:is(a,button){display:grid;place-items:center;width:32px;height:32px;background:#ffffffed;color:#44514f;border-radius:var(--radius-control);box-shadow:0 1px 5px #13212b10}
.card-media-tools>:is(a,button):hover{background:#fff;color:var(--category-accent);box-shadow:0 2px 8px #182d3c24}
.card-video-toggle>.icon,.card-download>.icon{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.card-video-toggle[aria-disabled=true]{color:#83908c}
.card-video-toggle[aria-pressed=true]{background:var(--category-selected);color:#35536b}
.card-video{position:absolute;inset:0;z-index:1;background:#101718;border-radius:var(--radius-surface);overflow:hidden}
.card-video iframe{display:block;width:100%;height:100%;border:0}
.card-media.is-playing>.card-cover{visibility:hidden}
.card-content{padding-top:10px;display:grid;grid-template-columns:minmax(0,1fr) max-content;column-gap:14px;align-items:start;min-width:0}
.card-title{font-size:18px;line-height:1.3;font-weight:650;letter-spacing:-.025em;overflow-wrap:anywhere}
.card-title>:is(a,button){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-align:left;font:inherit;line-height:inherit;letter-spacing:inherit}
.card-title :is(a,button):hover{color:var(--category-accent)}
.card-footer{display:flex;flex-direction:column;align-items:flex-end;justify-self:end;gap:1px;padding-top:2px;color:#7b8792;font-size:11px;line-height:16px}
.card-size{display:inline-flex;align-items:center;gap:3px;white-space:nowrap;font-size:11px;line-height:16px;font-weight:400;font-variant-numeric:tabular-nums}
.card-size>.icon{width:12px;height:12px;flex:none;color:inherit}
.is-grid .catalog-game{display:flex;flex-direction:column}
.is-grid .card-content{flex:1}
.category-games.is-list{display:flex;flex-direction:column}
.is-list .catalog-game{display:grid;grid-template-columns:248px minmax(0,1fr) auto;column-gap:24px;align-items:center;padding:18px 0;border-bottom:1px solid var(--category-line)}
.is-list .card-media{align-self:stretch;display:flex}
.is-list .card-cover{aspect-ratio:16/10;min-height:155px;height:100%}
.is-list .card-content{padding:0;grid-template-columns:minmax(0,1fr);align-items:start;align-content:center;row-gap:8px}
.is-list .card-title{font-size:19px;line-height:1.3}
.is-list .card-footer{justify-self:start;align-items:flex-start;padding:0}
.is-list .card-size{font-size:12px;line-height:17px;gap:5px}
.is-list .card-size>.icon{width:13px;height:13px}
.is-list .card-media-tools{position:static;flex-direction:column;align-items:center;gap:8px}
.is-list .card-media-tools>:is(a,button){width:36px;height:36px;background:#fff;border:1px solid #dce3e9;color:#5b6d7b;box-shadow:none}
.is-list .card-media-tools>:is(a,button):hover{background:var(--category-hover);border-color:#b5c3cf;color:var(--category-accent);box-shadow:none}
.is-list .card-media-tools>:is([aria-pressed=true]){background:var(--category-selected);border-color:#c7d3de;color:#35536b}
.is-list .card-media-tools .card-video-toggle[aria-disabled=true]{color:#9ba6ae}
.is-list .card-media-tools svg{width:17px;height:17px}
.card-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:510px;margin-top:2px}
.list-shot{display:block;min-width:0;aspect-ratio:16/9;overflow:hidden;border-radius:var(--radius-control);background:#e8edf2}
.list-shot img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .18s ease}
.list-shot:hover{box-shadow:0 0 0 2px #7c93a4}
.list-shot:hover img{transform:scale(1.035)}
.catalog-gallery-dialog{width:min(920px,calc(100% - 40px));max-height:calc(100dvh - 48px);padding:0;border:0;border-radius:var(--radius-surface);background:#fff;color:var(--category-ink);box-shadow:0 25px 100px #14212b45}
.catalog-gallery-dialog::backdrop{background:#14212bbd}
.catalog-gallery-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px}
.catalog-gallery-header h2{font-size:19px;line-height:1.3;letter-spacing:-.02em;font-weight:650}
.catalog-gallery-header button{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:var(--radius-control);color:#5b6d7b;font-size:27px}
.catalog-gallery-header button:hover,.catalog-gallery-controls button:hover{background:var(--category-hover);color:var(--category-accent)}
.catalog-gallery-stage{display:flex;justify-content:center;background:#111c25}
.catalog-gallery-stage img{display:block;width:100%;height:auto;max-height:calc(100dvh - 190px);object-fit:contain}
.catalog-gallery-controls{display:flex;align-items:center;justify-content:center;gap:22px;padding:12px;color:#7b8792;font-size:12px;font-variant-numeric:tabular-nums}
.catalog-gallery-controls button{display:grid;place-items:center;width:34px;height:34px;border-radius:var(--radius-control);color:#5b6d7b}
.catalog-gallery-controls .icon{width:19px;height:19px}
.category-load-trigger{display:block;min-height:40px;margin:24px auto 0;padding:8px 20px;border:1px solid var(--category-border,#d7dfe7);border-radius:var(--radius-control);background:var(--category-surface,#fff);color:inherit;font:inherit;font-size:14px;cursor:pointer}
.category-load-trigger[hidden]{display:none}
.category-load-trigger:hover{background:var(--category-hover)}
.category-load-trigger:focus-visible{outline:2px solid var(--category-accent);outline-offset:3px}
.catalog-breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;padding-top:20px;font-size:12px;line-height:1.5;color:#71818e}
.catalog-breadcrumbs a:hover{color:var(--category-accent)}
.catalog-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:24px;font-size:13px;color:#526174}
.catalog-pagination:empty{display:none}
.catalog-pagination>a,.catalog-pagination>span{display:flex;align-items:center;justify-content:center;min-width:34px;min-height:36px;padding:6px 10px;border-radius:var(--radius-control)}
.catalog-pagination>a:hover{background:var(--category-hover);color:var(--category-accent)}
.catalog-pagination>[aria-current=page]{background:var(--category-selected);color:#263f53;font-weight:600}
.catalog-pagination>.catalog-pagination-gap{min-width:20px;padding-inline:0}
.category-endnote{display:flex;justify-content:space-between;gap:15px;font-size:11px;color:#89939f;padding-top:17px}
.category-endnote a{color:#647589}
.category-endnote a:hover{color:var(--category-accent)}
.category-empty{text-align:center;padding:64px 20px 90px}
.category-empty>.icon{margin:0 auto 20px;width:32px;height:32px;color:#a0b196}
.category-empty h3{font-size:23px;font-weight:650;letter-spacing:-.03em}
.category-empty p{font-size:14px;color:#73808e;margin-top:10px}
.empty-actions{display:flex;align-items:center;justify-content:center;gap:22px;margin-top:25px;font-size:13px}
.category-primary-link{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;min-height:44px;padding:11px 16px;background:#25343b;color:#fff;border-radius:var(--radius-detail);font-size:13px;font-weight:550}
.category-primary-link .icon{width:18px;height:18px;color:#bdcbd7}
.category-primary-link:hover{background:#1b3040;color:#fff}
.category-no-script{padding:30px 0;color:#657587;font-size:14px}
.catalog-preview-dialog{width:min(600px,calc(100% - 32px));max-height:calc(100dvh - 48px);padding:0;border:0;border-radius:var(--radius-surface);box-shadow:0 25px 100px #14212b45;color:var(--category-ink)}
.catalog-preview-dialog::backdrop{background:#14212b99}
.catalog-preview-art{aspect-ratio:460/215;background-size:cover;background-position:center;background-color:#e7eceb}
.preview-close{position:absolute;top:12px;right:12px;width:36px;height:36px;background:#fffffff2;border-radius:var(--radius-round);font-size:25px;line-height:1;color:#33424b}
.preview-close:hover{background:var(--category-selected);color:#233d51}
.catalog-preview-body{padding:28px 30px 32px}
.category-eyebrow{font-size:10px;font-weight:600;letter-spacing:.12em;color:#6b8193}
.catalog-preview-body h2{font-size:28px;line-height:1.2;letter-spacing:-.035em;margin:10px 0}
.catalog-preview-genre{color:#80909b;font-size:12px;margin-bottom:18px}
#catalog-preview-description{color:#526375;font-size:14px;line-height:1.75}
.catalog-preview-note{margin-top:22px;padding-top:17px;border-top:1px solid var(--category-line);font-size:12px;color:#7d8995}
.catalog-preview-body .category-primary-link{margin-top:20px}
.catalog-toast{position:fixed;z-index:60;bottom:24px;left:50%;transform:translate(-50%,12px);max-width:calc(100% - 32px);width:max-content;padding:12px 18px;border-radius:var(--radius-surface);background:#25353a;color:#fff;font-size:13px;line-height:1.5;box-shadow:0 8px 24px #18312620;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s,transform .15s}
.catalog-toast.is-visible{opacity:1;visibility:visible;transform:translate(-50%,0)}
@media(min-width:1700px){.category-main{--category-sidebar-width:232px;--category-column-gap:48px}}
@media(max-width:1180px){.category-main{--category-sidebar-width:190px;--category-column-gap:28px}.category-display-controls{gap:10px}}
@media(max-width:1100px){.category-wrap{width:calc(100% - 48px)}}
@media(max-width:1040px){.category-games.is-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.is-list .catalog-game{grid-template-columns:210px minmax(0,1fr) auto;column-gap:18px}.is-list .card-cover{min-height:132px}.is-list .card-media-tools{gap:6px}.is-list .card-media-tools>:is(a,button){width:32px;height:32px}}
@media(min-width:521px) and (max-width:900px){.is-list .catalog-game{grid-template-columns:176px minmax(0,1fr) auto;column-gap:14px}.is-list .card-cover{min-height:128px}.is-list .card-gallery{gap:6px}.is-list .card-title{font-size:18px}}
@media(max-width:760px){.category-heading{padding-top:22px;padding-bottom:20px}.category-title-row{align-items:flex-start;gap:12px}.category-title-row h1{font-size:32px}#category-description{font-size:13px;}.catalog-workspace{display:flex;flex-direction:column;padding-top:18px;gap:0}.catalog-sidebar{display:contents}.catalog-filters{order:1;width:100%}.category-results{order:2;width:100%}.catalog-filters{position:static;margin-bottom:16px}.catalog-filters>summary{display:flex;align-items:center;gap:9px;min-height:42px;font-size:13px;cursor:pointer;border-bottom:1px solid var(--category-line);padding-bottom:10px;list-style:none}.catalog-filters>summary::-webkit-details-marker{display:none}.catalog-filters>summary>.icon{width:17px;height:17px}.filter-chevron{margin-left:auto}.catalog-filters[open] .filter-chevron{transform:rotate(180deg)}#filter-active-count{min-width:20px;text-align:center;background:var(--category-selected);color:#35536b;font-size:11px;border-radius:var(--radius-detail);padding:1px 4px}.filter-body{display:grid;grid-template-columns:1fr 1fr;gap:18px 28px;padding-top:20px;border-bottom:1px solid var(--category-line);padding-bottom:10px}.filter-heading{display:none}.filter-section{margin:0 0 12px}.filter-section+.filter-section{border:0;padding:0}.filter-section.filter-categories{grid-column:1/-1;margin-bottom:0}.filter-section:last-child{grid-column:1/-1}.filter-options{display:grid;grid-template-columns:1fr 1fr;column-gap:28px}.filter-section legend{font-size:12px}.category-toolbar{gap:12px;margin-bottom:18px}.category-display-controls{gap:12px}.category-games.is-grid{gap:22px 18px}.category-sort select{font-size:12px;padding-right:6px}.catalog-result-count{font-size:12px}.category-view-switch button{width:32px;height:34px}.card-title{font-size:18px}.category-main{--category-sidebar-width:0px;--category-column-gap:0px;padding-bottom:45px}}
@media(min-width:521px) and (max-width:1040px){.is-grid .card-cover{min-height:104px}.is-grid .card-media-tools{top:4px;gap:3px}.is-grid .card-media-tools>:is(a,button){width:30px;height:30px}}
@media(min-width:521px) and (max-width:760px){.category-games.is-grid{row-gap:36px}}
@media(max-width:520px){.is-list .catalog-game{grid-template-columns:144px minmax(0,1fr);gap:10px 16px}.is-list .card-media{grid-row:1/3}.is-list .card-cover{aspect-ratio:auto;min-height:144px}.is-list .card-content{align-self:end;row-gap:6px}.is-list .card-gallery{gap:5px}.is-list .card-media-tools{grid-column:2;align-self:start;flex-direction:row;gap:6px}.is-list .card-title{font-size:17px}.catalog-gallery-dialog{width:calc(100% - 24px)}.catalog-gallery-header{padding:12px 14px}.catalog-gallery-header h2{font-size:17px}}
@media(max-width:540px){.category-wrap{width:calc(100% - 32px)}}
@media(max-width:520px){
.category-title-row{flex-wrap:wrap;align-items:center;gap:10px}
.category-title-row>div{width:100%}
.category-title-row h1{font-size:31px}
#category-description{font-size:12px;margin-top:7px}
.category-heading{padding-bottom:12px}
.category-games.is-grid{grid-template-columns:minmax(0,1fr);gap:24px}
.is-grid .catalog-game{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;padding-bottom:20px;border-bottom:1px solid var(--category-line)}
.is-grid .card-cover{aspect-ratio:1;min-height:0;align-self:start;border-radius:var(--radius-surface)}
.is-grid .card-content{padding-top:0}
.is-grid .card-content{grid-template-columns:minmax(0,1fr);align-items:start;align-content:start;row-gap:5px}
.card-media-tools{top:4px;right:4px}
.card-title{font-size:17px}
.card-footer{flex-direction:row;gap:12px;padding-top:0}
.category-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.catalog-result-count{flex-direction:column;align-items:flex-start;gap:1px}
#catalog-release-summary{font-size:11px}
.category-display-controls{gap:6px}
.category-sort select{max-width:154px;font-size:12px}
.category-view-switch button{width:29px;height:32px}
.category-view-switch .icon{width:17px;height:17px}
.is-list .catalog-game{grid-template-columns:132px minmax(0,1fr);gap:10px 14px;padding:16px 0}
.is-list .card-media{grid-row:1/3}
.is-list .card-cover{min-height:132px}
.is-list .card-content{align-self:end;row-gap:6px}
.is-list .card-title{font-size:16px;line-height:1.3}
.is-list .card-media-tools{grid-column:2;align-self:start;gap:6px}
.is-list .card-media-tools>:is(a,button){width:36px;height:36px}
.category-empty{padding:45px 8px 70px}
.empty-actions{gap:16px}
.category-empty h3{font-size:21px}
.category-empty p{font-size:13px}
.catalog-preview-body{padding:24px}
.catalog-preview-body h2{font-size:24px}
}
@media(max-width:360px){.is-grid .catalog-game{grid-template-columns:88px minmax(0,1fr)}.card-media-tools>:is(a,button){width:24px;height:24px}.card-media-tools svg{width:15px;height:15px}.card-title{font-size:16px}.is-list .catalog-game{grid-template-columns:112px minmax(0,1fr);column-gap:12px}.is-list .card-cover{min-height:132px}.is-list .card-media-tools>:is(a,button){width:36px;height:36px}.is-list .card-media-tools svg{width:17px;height:17px}}
@media(min-width:1700px){.category-heading{padding-top:44px}.category-title-row h1{font-size:72px}.category-backdrop{height:510px}}
@media(max-width:1180px){.category-title-row h1{font-size:60px}}
@media(min-width:761px) and (max-width:960px){.category-heading{padding-top:28px}.category-title-row h1{font-size:52px}.category-hero-copy{width:100%}#category-description{font-size:15px}.category-backdrop{height:450px}}
@media(max-width:760px){.category-heading{padding-top:24px;padding-bottom:12px}.category-title-row{display:block;min-height:0;padding:0;gap:0}.category-title-row h1{font-size:42px}.category-hero-copy{width:100%;max-width:none;padding:0}.category-hero-kicker{margin-bottom:0;font-size:10px;letter-spacing:.08em}#category-description{font-size:14px;line-height:1.7;margin-top:14px}.catalog-workspace{padding-top:12px}.category-backdrop{height:420px}.category-backdrop:before{background-position:right top}.category-backdrop:after{background:linear-gradient(to bottom,transparent 0%,rgba(255,255,255,.15) 35%,rgba(255,255,255,.72) 65%,#fff 100%),linear-gradient(to right,rgba(255,255,255,.94) 0%,rgba(255,255,255,.84) 40%,rgba(255,255,255,.45) 100%)}}
@media(max-width:520px){.category-heading{padding-top:22px;padding-bottom:10px}.category-title-row h1{font-size:37px}.category-hero-kicker{gap:7px;letter-spacing:.06em;font-size:9px;margin-bottom:0}#category-description{font-size:14px;line-height:1.65;margin-top:14px}}
@media(max-width:360px){.category-heading-top{gap:8px}.category-title-row h1{font-size:33px}.category-hero-kicker{font-size:9px;gap:6px;white-space:nowrap}}
@media(max-width:760px){.category-title-row h1[data-single-line]{font-size:clamp(24px,6.8vw,42px)}.category-title-genre{font-size:.70em}}
@media(prefers-reduced-motion:reduce){.category-page *{scroll-behavior:auto!important}}

.card-rank{position:absolute;z-index:2;top:10px;left:10px;display:grid;place-items:center;min-width:35px;height:31px;padding:0 7px;background:#172a35ed;color:#f3dfb8;border:1px solid #fff3;border-radius:var(--radius-detail);font-size:15px;font-weight:750;font-variant-numeric:tabular-nums;pointer-events:none}
.card-ranking{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:7px 0 0;font-size:11px;line-height:1.5}
.card-ranking strong{color:#4f7253;font-weight:600}.card-ranking span{color:#728291;font-size:10px}
.is-list .card-ranking{gap:4px 10px}.is-list .card-rank{top:7px;left:7px}


/* templates/antitorrent/dle-integration.css */
.account-dialog{width:min(440px,calc(100% - 32px));border:1px solid #d7dfe2;border-radius:var(--radius-surface);padding:30px;background:#fff;color:#273842;box-shadow:0 24px 90px #14252b33;font-family:inherit}.account-dialog::backdrop{background:#14252b88;backdrop-filter:blur(4px)}.account-dialog [data-account-close]{position:absolute;right:12px;top:8px;border:0;background:transparent;color:#6b7a82;font-size:28px;line-height:1;padding:8px;cursor:pointer}.account-dialog form{display:grid;gap:16px}.account-dialog h2,.account-dialog h3{margin:0 24px 16px 0}.account-dialog label{display:grid;gap:7px;font-size:13px}.account-dialog input:not([type=checkbox]){width:100%;height:42px;padding:0 12px;border:1px solid #cfd8dd;border-radius:var(--radius-control);background:#fff;color:#213540;font:inherit}.account-dialog button[type=submit]{height:42px;border:1px solid #233946;border-radius:var(--radius-control);background:#233946;color:#fff;font-family:inherit;font-size:13px;font-weight:600;cursor:pointer}.account-dialog button[type=submit]:hover{background:#344e5d}.account-dialog a{color:#365c72}.native-news{max-width:1400px;margin:32px auto;padding:0 32px}.category-no-script a{display:block;margin:10px 0}.dle-service-page{max-width:960px;margin:48px auto;padding:32px;background:#fff;border:1px solid #dce4e8;border-radius:var(--radius-surface)}.dle-service-page input,.dle-service-page textarea,.dle-service-page select{font:inherit;padding:10px;border:1px solid #cfd8dd;border-radius:var(--radius-control)}.dle-service-page button{font:inherit;padding:10px 18px;border:1px solid #233946;border-radius:var(--radius-control);background:#233946;color:#fff;cursor:pointer}

/* Native DLE fields are moved into the visible discussion form. */
.salt-release #dle-comments-form,.salt-release #dle-ajax-comments{display:none}
.salt-release #native-comment-challenge{display:grid;gap:12px;width:100%;margin-top:12px}
.salt-release #native-comment-challenge[hidden]{display:none}
.salt-release #native-comment-challenge label{display:grid;gap:6px}
.salt-release .review-native-captcha{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.salt-release .review-native-captcha input{max-width:220px}


/* Missing pages retain the shared header, search, and footer. */
.site-not-found{width:100%;max-width:1160px;margin:0 auto;padding:clamp(52px,8vw,100px) 24px;min-height:55vh;display:flex;align-items:center}
.site-not-found-inner{max-width:660px}
.site-not-found-code{margin:0 0 16px;color:#78868e;font-size:13px;letter-spacing:.12em;text-transform:uppercase}
.site-not-found h1{margin:0 0 18px;color:#1d303b;font-size:clamp(28px,4vw,44px);line-height:1.15;font-weight:650}
.site-not-found-description{margin:0 0 28px;color:#697982;font-size:16px;line-height:1.65}
.site-not-found-action{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border:1px solid #233946;border-radius:var(--radius-control);background:#233946;color:#fff;text-decoration:none;font-size:14px;font-weight:600}
.site-not-found-action:hover{background:#344e5d;border-color:#344e5d}
.site-not-found-action:focus-visible{outline:3px solid #94b6cb;outline-offset:4px}


/* templates/antitorrent/live-content.css */
.game-video-player video,.card-video video{display:block;width:100%;height:100%;object-fit:contain;background:#111d25}
.game-video-play,.game-video-option-thumb{background-size:cover;background-position:center}
.game-video-option.is-active .game-video-option-thumb{outline-color:#71838e}
.game-video-play:hover .game-video-play-icon{background:#e3e9ed}
.game-video-main-caption a{color:#526e80}
.game-video-error{position:absolute;inset:auto 12px 12px;color:white;background:#18282ded;padding:10px;font-size:12px}
.manifest-tree .manifest-entry{list-style:none;justify-content:flex-start;gap:10px;padding-left:calc(14px + var(--tree-depth,0)*23px)}
.manifest-tree summary::-webkit-details-marker{display:none}
.manifest-tree .manifest-entry code{min-width:0;flex:1;overflow-wrap:anywhere;white-space:normal}
.manifest-tree .manifest-entry .file-size{flex:none;white-space:nowrap;margin-left:12px}
.manifest-tree .manifest-entry .file-detail{margin-left:12px;flex:none}
.manifest-tree .more-files{padding-left:calc(48px + var(--tree-depth,1)*23px);color:#526e80}
.manifest-tree .folder-group:last-child>summary{border-bottom:1px solid #e9edf3}
@media(max-width:640px){.manifest-tree .manifest-entry{gap:7px;padding-left:calc(9px + var(--tree-depth,0)*17px)}.manifest-tree .more-files{padding-left:calc(38px + var(--tree-depth,1)*17px)}.manifest-tree .root-size{margin-left:0!important}}
.game-template #mods[hidden]{display:none}
.salt-release #dle-comments-list,.salt-release #dle-ajax-comments,.salt-release #dle-comments-form{display:none}


/* templates/antitorrent/home.css */
/* Browser-style start page; the header is identical across the site. */
.home-template { display:flex;flex-direction:column;min-height:100svh;background:#fff; }
.home-template .site-header+.home-main { flex:1 0 auto;min-height:0; }
.home-wrap { width:calc(100% - 80px);max-width:var(--page,1400px);margin-inline:auto; }
.home-main { color:#294354;background:#fff; }
.home-dashboard { display:grid;grid-template-columns:minmax(0,1fr) 472px;grid-template-rows:auto min-content 1fr;gap:26px 34px;align-items:start;padding-block:30px; }
.home-navigation { grid-column:2;grid-row:2;display:grid;gap:26px;min-width:0; }
.home-genres { min-width:0; }
.home-genres-panel,.home-start,.home-upcoming { min-width:0;padding:22px;border:1px solid #e1e9ee;border-radius:var(--radius-surface);background:#fbfcfd; }
.home-upcoming header { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px; }
.home-upcoming h2 { margin:0;color:#294354;font-size:20px;font-weight:700;letter-spacing:-.025em; }
.home-upcoming header>span { color:#8a626d;background:#fff0f2;border-radius:var(--radius-detail);padding:3px 7px;font-size:11px; }
.home-upcoming-row { display:grid;grid-template-columns:44px minmax(0,1fr) 16px;align-items:center;gap:12px;padding:13px 0;color:#294354;border-bottom:1px solid #e5ebef;text-decoration:none; }
.home-upcoming-row:last-child { border-bottom:0;padding-bottom:0; }
.home-upcoming-row img { width:44px;height:44px;object-fit:cover;border-radius:var(--radius-control); }
.home-upcoming-copy { display:grid;gap:4px;min-width:0; }
.home-upcoming-copy strong { font-size:14px;font-weight:650;line-height:1.4; }
.home-upcoming-copy>span,.home-upcoming-copy>small { color:#718391;font-size:12px;line-height:1.4; }
.home-upcoming-copy>small { color:#8a626d;font-size:11px; }
.home-upcoming-row>.icon { width:16px;height:16px;color:#8a9ca8; }
.home-upcoming-row:hover strong,.home-upcoming-row:focus-visible strong { color:#e80d30; }
.home-upcoming-row:focus-visible { outline:2px solid #e80d30;outline-offset:3px;border-radius:var(--radius-control); }
@media(max-width:660px) { .home-upcoming { padding:18px; } }
.home-genres .home-genre-links { margin-top:0; }
.home-genres>h2,.home-start>h2 { margin:0;color:#294354;font-size:20px;font-weight:700;letter-spacing:0; }
.home-genres>h2 { margin-bottom:14px;line-height:1.3; }
.home-start-heading,.home-start-title { display:flex;align-items:center;gap:18px; }
.home-start-heading { grid-column:1/-1;justify-content:space-between;gap:24px; }
.home-start-heading h1 { margin:0;color:#172f3e;font-size:32px;font-weight:750;line-height:1.2;letter-spacing:-.04em; }
.home-start-title>span { color:#758895;font-size:12px;white-space:nowrap; }
.home-shortcuts { display:flex;align-items:center;gap:24px; }
.home-shortcuts a { display:inline-flex;align-items:center;gap:8px;min-height:36px;color:#597482;font-size:12px; }
.home-shortcuts .icon { width:17px;height:17px; }
.home-shortcuts a:hover { color:#173e54; }
.home-tabs { display:flex;gap:26px;margin-top:18px;border-bottom:1px solid #e8edf0; }
.home-tabs[hidden],.home-tab-panel[hidden] { display:none; }
.home-tabs button { position:relative;min-height:42px;padding:0 1px 12px;border:0;background:none;color:#7b8c98;font:inherit;font-size:14px;font-weight:550;cursor:pointer; }
.home-tabs button:hover { color:#294354; }
.home-tabs button[aria-selected=true] { color:#263c49;font-weight:650; }
.home-tabs button[aria-selected=true]::after { content:'';position:absolute;bottom:-1px;left:0;right:0;height:3px;border-radius:var(--radius-line) var(--radius-line) 0 0;background:#db1830; }
.home-tab-panel { padding-top:14px; }
.home-panel-title { font-size:19px;margin:0 0 14px; }
.home-start.is-switchable .home-panel-title { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0; }
.home-bookmarks { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px; }
.home-bookmark { display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0;padding:10px 4px 8px;border:1px solid transparent;border-radius:var(--radius-surface);color:#354e5e;text-align:center;transition:background .15s,border-color .15s; }
.home-bookmark:hover { background:#f5f8fa;border-color:#e5ecf0;color:#152f40; }
.home-bookmark-icon { display:grid;place-items:center;flex:none;width:64px;height:64px;border:1px solid #e6edf1;border-radius:var(--radius-control);background:#f4f7f9;overflow:hidden; }
.home-bookmark-icon img { display:block;width:56px;height:56px;object-fit:contain; }
.home-bookmark-icon img.is-cover { width:100%;height:100%;object-fit:cover; }
.home-bookmark-icon>.icon { width:30px;height:30px;color:#738a9a; }
.home-bookmark-name { display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;width:100%;height:36px;font-size:12px;font-weight:550;line-height:18px;overflow-wrap:anywhere; }
.home-panel-more { display:flex;align-items:center;justify-content:flex-end;gap:8px;width:max-content;margin:6px 0 0 auto;min-height:28px;color:#52758a;font-size:11px; }
.home-panel-more>.icon { width:16px;height:16px; }
.home-panel-more:hover { color:#173e54; }
.home-genre-links { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px; }
.home-genre-link { display:flex;align-items:center;gap:12px;min-width:0;min-height:46px;padding:10px 12px;border-radius:var(--radius-control);color:#3d596b;font-size:13px; }
.home-genre-link:hover { background:#f3f7f9;color:#183d54; }
.home-genre-link>.icon { flex:none;width:23px;height:23px;color:#7c929f; }
.home-genre-link>small { margin-left:auto;color:#8a9da9;font-size:11px;font-variant-numeric:tabular-nums; }
.home-tab-panel:focus-visible { outline:2px solid #b7cbd6;outline-offset:5px;border-radius:var(--radius-control); }

.home-section-heading { display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px; }
.home-section-heading h2 { margin:0;color:#173446;font-size:24px;font-weight:720;line-height:1.25;letter-spacing:-.035em; }
.home-section-heading>a,.home-all-releases { display:inline-flex;align-items:center;gap:9px;flex:none;min-height:32px;color:#246587;font-size:12px; }
.home-section-heading a:hover { color:#103c58; }
.home-section-heading .icon { width:17px;height:17px; }
.home-fresh { grid-column:1;grid-row:2 / span 2;min-width:0;container:home-feed / inline-size;margin-top:0;scroll-margin-top:24px; }
.home-feed-table-wrap { border:1px solid #dce7ee;border-radius:var(--radius-surface);overflow:hidden; }
.home-feed-table { width:100%;margin:0;border:0;border-collapse:collapse;table-layout:fixed;text-align:left; }
.home-feed-table th { padding:9px 16px;border:0;background:#f0f5f8;color:#6d879a;font-size:11px;font-weight:450;line-height:1.5; }
.home-feed-table td { padding:10px 16px;border:0;border-top:1px solid #e7eef3;vertical-align:middle;color:#637f94;font-size:12px;line-height:1.45; }
.home-release-row:hover td { background:#f8fbfd; }
.home-release-row[hidden] { display:none; }
.home-feed-game>a { display:flex;align-items:center;gap:12px;min-width:0; }
.home-feed-game img { display:block;flex:none;width:56px;height:42px;object-fit:cover;border:1px solid #e7edf2;border-radius:var(--radius-detail);background:#ecf2f6; }
.home-feed-game a>span { display:grid;gap:3px;min-width:0; }
.home-feed-game strong { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#243e51;font-size:13px;font-weight:650; }
.home-feed-game small { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8195a5;font-size:11px; }
.home-feed-game a:hover strong { color:#185779; }
.home-feed-activity { white-space:nowrap;font-variant-numeric:tabular-nums; }
/* The shared cell edge fixes both arrows; counts extend outwards. */
.home-feed-table :is(th,td).home-feed-seeders { padding-right:2px; }
.home-feed-table :is(th,td).home-feed-leechers { padding-left:2px; }
.home-template .home-feed-peer { display:grid;grid-template-columns:14px minmax(0,1fr);align-items:center;gap:3px;width:100%;min-width:0;color:#3d794c;font-size:12px;font-weight:650; }
.home-template .home-feed-peer.tracker-peer--seeders { grid-template-columns:minmax(0,1fr) 14px; }
.home-template .home-feed-peer.tracker-peer--seeders .icon { grid-column:2;grid-row:1; }
.home-template .home-feed-peer.tracker-peer--seeders > span { grid-column:1;grid-row:1;text-align:right; }
.home-template .home-feed-peer.tracker-peer--leechers { color:#ad4652;text-align:left; }
.home-template .home-feed-peer.is-unknown { color:#6d7f8c; }
.home-template .home-feed-table th .home-feed-peer { color:inherit;font:inherit; }
.home-template .home-feed-peer .icon { width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round; }
.home-feed-open>a { display:flex;align-items:center;justify-content:flex-end;gap:9px;color:#246587;font-size:12px;white-space:nowrap; }
.home-feed-open .icon { width:17px;height:17px; }
.home-feed-open>a:hover { color:#103c58; }
.home-feed-bottom { display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;min-height:39px;margin-top:4px; }
.home-feed-bottom>span { color:#93a3af;font-size:10px; }
.home-feed-more { display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:4px 8px;border:0;background:transparent;color:#246587;font:inherit;font-size:12px;cursor:pointer; }
.home-feed-more>span { text-decoration:underline;text-decoration-color:#bad0dd;text-underline-offset:4px; }
.home-feed-more>.icon { width:16px;height:16px; }
.home-feed-more:hover { color:#103c58; }
.home-feed-more[hidden] { display:none; }
.home-feed-empty { padding:28px 16px;color:#718a9a;text-align:center;font-size:13px; }
.home-feed-empty a { color:#185779;text-decoration:underline; }
.home-main :is(a,button,summary,select):focus-visible { outline:2px solid #5081a0;outline-offset:3px; }
.home-template .site-footer { flex-shrink:0;margin-top:0; }
.home-template .footer-inner { max-width:var(--page,1400px); }


@container home-feed (max-width:660px) {
  .home-feed-table,.home-feed-table tbody { display:block; }
  .home-feed-table thead { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
  .home-feed-table .home-release-row { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;padding:14px 16px; }
  .home-feed-table .home-release-row[hidden] { display:none; }
  .home-feed-table .home-release-row+.home-release-row { border-top:1px solid #e7eef3; }
  .home-feed-table td { display:block;padding:0;border:0;background:transparent; }
  .home-feed-table td.home-feed-game { grid-column:1/-1;margin-bottom:5px; }
  .home-feed-game strong { white-space:normal; }
  .home-feed-game img { width:52px;height:39px; }
  .home-feed-table td.home-feed-activity { grid-column:2;grid-row:3;text-align:right; }
  .home-feed-table td.home-feed-open { grid-column:2;grid-row:4;align-self:end; }
  .home-feed-open>a { font-size:11px; }
  .home-feed-open>a>span { display:inline; }
  .home-feed-open .icon { width:15px;height:15px; }
}

@media(max-width:1320px) { .home-dashboard { grid-template-columns:minmax(0,1fr) 424px;column-gap:27px; } }
@media(max-width:1100px) {
  .home-wrap { width:calc(100% - 48px); }
  .home-dashboard { grid-template-columns:minmax(0,1fr) 380px;column-gap:22px; }
  .home-genres-panel,.home-start { padding:18px; }
  .home-bookmarks { gap:6px; }
}
@media(max-width:900px) {
  .home-wrap { width:calc(100% - 40px); }
  .home-dashboard { grid-template-columns:minmax(0,1fr);grid-template-rows:none;row-gap:24px; }
  .home-navigation { grid-column:1;grid-row:2;gap:24px; }
  .home-fresh { grid-column:1;grid-row:3; }
  .home-bookmarks { grid-template-columns:repeat(8,minmax(0,1fr));gap:6px; }
  .home-genre-links { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .home-start-heading { align-items:flex-start; }
  .home-start-title { align-items:flex-start;flex-direction:column;gap:7px; }
  .home-start-heading h1 { font-size:29px; }
  .home-shortcuts { gap:15px; }
}
@media(max-width:700px) {
  .home-dashboard { padding-top:23px;row-gap:20px; }
  .home-navigation { gap:20px; }
  .home-genres-panel,.home-start { padding:16px 12px; }
  .home-start-heading { flex-wrap:wrap;gap:10px; }
  .home-start-title { width:100%;flex-direction:row;align-items:center;justify-content:space-between;gap:12px; }
  .home-start-heading h1 { font-size:27px; }
  .home-start-title>span { font-size:11px; }
  .home-shortcuts { gap:22px; }
  .home-shortcuts a { font-size:11px;min-height:30px; }
  .home-tabs { margin-top:10px;gap:25px; }
  .home-tabs button { min-height:38px;padding-bottom:10px;font-size:13px; }
  .home-tab-panel { padding-top:10px; }
  .home-bookmarks { grid-template-columns:repeat(4,minmax(0,1fr));gap:3px 6px; }
  .home-bookmark { padding:8px 2px 5px;gap:8px;border-radius:var(--radius-surface); }
  .home-bookmark-icon { width:52px;height:52px;border-radius:var(--radius-control); }
  .home-bookmark-icon img { width:46px;height:46px; }
  .home-bookmark-name { font-size:10px;line-height:15px;height:30px; }
  .home-genre-links { grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px; }
  .home-genre-link { padding:9px 5px;gap:8px;font-size:11px; }
  .home-genre-link>.icon { width:19px;height:19px; }
  .home-genre-link>small { font-size:9px; }
  .home-section-heading { margin-bottom:14px;gap:10px; }
  .home-section-heading h2 { font-size:21px; }
  .home-section-heading>a { font-size:11px;gap:5px; }
  .home-fresh-heading { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 10px; }
  .home-fresh-heading h2 { grid-column:1;grid-row:1; }
  .home-all-releases { grid-column:2;grid-row:1;justify-self:end;font-size:11px; }
  .home-feed-bottom { grid-template-columns:1fr auto;min-height:42px; }
  .home-feed-more { font-size:11px; }
  .home-feed-bottom>span { font-size:10px; }
}
@media(max-width:520px) { .home-wrap { width:calc(100% - 32px); } }
@media(max-width:380px) {
  .home-genre-link { display:grid;grid-template-columns:19px minmax(0,1fr);column-gap:6px;row-gap:2px;align-content:center; }
  .home-genre-link>.icon { grid-row:1 / span 2; }
  .home-genre-link>span { min-width:0;overflow-wrap:anywhere; }
  .home-genre-link>small { grid-column:2;margin-left:0; }
  .home-start-heading h1 { font-size:25px; }
  .home-start-title>span { font-size:10px; }
  .home-bookmark-icon { width:48px;height:48px; }
  .home-bookmark-icon img { width:42px;height:42px; }
  .home-section-heading h2 { font-size:19px; }
  .home-section-heading>a { font-size:10px; }
  .home-feed-table .home-release-row { padding:13px 12px;gap:6px 10px; }
}
@media(prefers-reduced-motion:reduce) { .home-main * { scroll-behavior:auto;transition:none!important; } }

/* Game totals replace the metadata of a single build. */
.home-feed-table th:nth-child(1) { width:auto; }
.home-feed-table th:nth-child(2) { width:24%; }
.home-feed-table th:nth-child(3),.home-feed-table th:nth-child(4) { width:100px; }
.home-feed-table th:nth-child(5) { width:48px; }
@container home-feed (min-width:661px) { .home-feed-open>a>span { display:none; } }
@container home-feed (min-width:661px) and (max-width:850px) { .home-feed-table :is(td,th) { padding-inline:12px; } }
.home-feed-packages a { display:grid;gap:3px;width:max-content;max-width:100%; }
.home-feed-packages strong { color:#34576d;font-size:12px;font-weight:550; }
.home-feed-packages small { color:#8a9eac;font-size:10px; }
.home-feed-packages a:hover strong { color:#185779; }
.home-feed-seeders,.home-feed-leechers { white-space:nowrap; }
@container home-feed (max-width:660px) {
  .home-feed-table td.home-feed-packages { grid-column:1;grid-row:2;align-self:center; }
  .home-feed-packages strong { font-size:11px; }
  .home-feed-packages small { font-size:9px; }
  .home-feed-table .home-release-row { grid-template-columns:minmax(0,1fr) 90px;column-gap:0; }
  .home-feed-table td.home-feed-seeders { grid-column:1;grid-row:3;text-align:right;padding-right:2px; }
  .home-feed-table td.home-feed-leechers { grid-column:2;grid-row:3;text-align:left;padding-left:2px; }
  .home-feed-table td.home-feed-open { grid-column:2;grid-row:2;align-self:center; }
}

/* Discovery blocks share the second column with quick access. */
.home-discovery { grid-column:2;grid-row:3;display:grid;gap:30px;align-content:start;min-width:0; }
.home-discovery-section { min-width:0; }
.home-block-heading { display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:14px; }
.home-block-heading h2 { margin:0;color:#203a4b;font-size:20px;font-weight:700;line-height:1.3;letter-spacing:-.025em; }
.home-block-heading>a { display:inline-flex;align-items:center;gap:5px;flex:none;color:var(--brand-ink,#d91130);font-size:11px;line-height:1.5; }
.home-discovery .icon { flex:none;width:20px;height:20px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round; }
.home-block-heading>a .icon { width:14px;height:14px; }
.home-discovery a { -webkit-tap-highlight-color:transparent; }
.home-feature-link { display:block;position:relative;isolation:isolate;overflow:hidden;border-radius:var(--radius-surface);background:#192730;color:#fff; }
.home-feature-media { display:block;aspect-ratio:16/9;overflow:hidden;background:#263d4b; }
.home-feature-media img { display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease; }
.home-feature-link::after { content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(180deg,transparent 20%,#0c172524 42%,#0c1725ed 100%); }
.home-feature-copy { position:absolute;left:22px;bottom:21px;right:62px;z-index:1;display:grid;gap:6px; }
.home-feature-copy strong { color:#fff;font-size:27px;font-weight:700;line-height:1.15;letter-spacing:-.035em; }
.home-feature-copy small { color:#e0e7ed;font-size:12px;line-height:1.5; }
.home-feature-arrow { display:grid;place-items:center;position:absolute;right:20px;bottom:22px;z-index:1;width:32px;height:32px;border:1px solid #ffffff50;border-radius:var(--radius-round);color:#fff;transition:background .16s,border-color .16s; }
.home-feature-link:is(:hover,:focus-visible) .home-feature-media img { transform:scale(1.025); }
.home-feature-link:is(:hover,:focus-visible) .home-feature-arrow { background:var(--brand,#e40f30);border-color:var(--brand,#e40f30); }
.home-mood-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
.home-mood-link { display:flex;align-items:center;gap:12px;min-width:0;min-height:88px;padding:15px;border:1px solid #e4eaee;border-radius:var(--radius-surface);background:#f7f9fa;transition:background .16s,border-color .16s; }
.home-mood-link>.icon { color:#8799a3;width:25px;height:25px; }
.home-mood-link>span { display:grid;gap:5px;min-width:0; }
.home-mood-link strong { color:#294354;font-size:13px;font-weight:600;line-height:1.4; }
.home-mood-link small { color:#718592;font-size:11px;line-height:1.5; }
.home-mood-link:is(:hover,:focus-visible) { border-color:var(--brand-line,#edbec7);background:var(--brand-soft,#fff2f4); }
.home-mood-link:is(:hover,:focus-visible) :is(strong,.icon) { color:var(--brand-ink,#d91130); }
.home-discovery-list { display:grid;gap:2px; }
.home-mini-game { display:flex;align-items:center;gap:14px;min-width:0;padding:10px 0;border-bottom:1px solid #e8edf0; }
.home-mini-game:first-child { padding-top:0; }
.home-mini-game:last-child { border-bottom:0;padding-bottom:0; }
.home-mini-game>img,.home-mini-game>.home-artwork-placeholder { width:92px;height:58px;flex:none;object-fit:cover;border-radius:var(--radius-control);background:#edf1f4; }
.home-mini-game>span:not(.home-artwork-placeholder) { display:grid;gap:6px;min-width:0; }
.home-mini-game strong { color:#294354;font-size:14px;line-height:1.4;font-weight:600; }
.home-mini-game small { color:#748a99;font-size:11px;line-height:1.45; }
.home-mini-game:is(:hover,:focus-visible) strong { color:var(--brand-ink,#d91130); }
.home-series-feature { display:block;overflow:hidden;border:1px solid #e1e8ed;border-radius:var(--radius-surface);background:#f7f9fa; }
.home-series-feature>img,.home-series-feature>.home-artwork-placeholder { display:block;width:100%;height:150px;object-fit:cover;background:#253a49; }
.home-series-copy { display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:16px 18px; }
.home-series-copy strong { color:#294354;font-size:19px;line-height:1.3;font-weight:700;letter-spacing:-.025em; }
.home-series-copy small { color:#748793;font-size:11px;line-height:1.5;text-align:right; }
.home-series-feature:is(:hover,:focus-visible) { border-color:var(--brand-line,#edbec7); }
.home-series-feature:is(:hover,:focus-visible) strong { color:var(--brand-ink,#d91130); }
.home-series-games { display:grid;gap:0;list-style:none;margin:7px 0 0;padding:0; }
.home-series-games li { margin:0;padding:0; }
.home-series-games a { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 1px;color:#445e6e;font-size:12px;line-height:1.5; }
.home-series-games a>.icon { color:#90a0ab;width:15px;height:15px; }
.home-series-games a:is(:hover,:focus-visible) { color:var(--brand-ink,#d91130); }
.home-help-links { display:grid;gap:4px;padding:12px 16px;border:1px solid #e3e9ed;border-radius:var(--radius-surface); }
.home-help-link { display:flex;align-items:center;gap:14px;padding:12px 0; }
.home-help-link+.home-help-link { border-top:1px solid #e8edf0; }
.home-help-link>.icon { color:var(--brand-ink,#d91130);width:23px;height:23px; }
.home-help-link>span { display:grid;gap:5px; }
.home-help-link strong { color:#294354;font-size:13px;line-height:1.4;font-weight:600; }
.home-help-link small { color:#748793;font-size:11px;line-height:1.5; }
.home-help-link:is(:hover,:focus-visible) strong { color:var(--brand-ink,#d91130); }
.home-artwork-placeholder { display:grid;place-content:center;width:100%;height:100%;color:#91a3af;background:#263d4b; }
@media(max-width:1100px) {
  .home-mood-link { padding:12px;gap:9px; }
  .home-mood-link>.icon { width:22px;height:22px; }
  .home-mood-link strong { font-size:12px; }
}
@media(max-width:900px) {
  .home-discovery { grid-column:1;grid-row:4;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px; }
  .home-discovery-section { align-self:start; }
  .home-feature-copy { left:16px;bottom:17px; }
  .home-feature-copy strong { font-size:24px; }
  .home-mood-grid { grid-template-columns:1fr; }
  .home-mood-link { min-height:66px; }
  .home-series-copy { flex-wrap:wrap;gap:5px; }
}
@media(max-width:600px) {
  .home-discovery { grid-template-columns:1fr;gap:27px; }
  .home-block-heading h2 { font-size:20px; }
  .home-mood-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home-mood-link { min-height:86px; }
  .home-mini-game>img,.home-mini-game>.home-artwork-placeholder { width:88px;height:56px; }
  .home-series-feature>img { height:auto;aspect-ratio:16/7; }
}
@media(max-width:360px) {
  .home-mood-link { gap:8px;padding:10px; }
  .home-mood-link>.icon { width:20px;height:20px; }
  .home-mood-link strong { font-size:11px; }
  .home-feature-copy strong { font-size:23px; }
}
@media(prefers-reduced-motion:reduce) { .home-feature-link:is(:hover,:focus-visible) .home-feature-media img { transform:none; } }

/* Native game-page tabs, with the same responsive icon sizes and spacing. */
.home-dashboard { --home-feed-tabs-height:42px;--home-feed-tabs-gap:17px; }
.home-feed-tabs { flex:1;min-width:0;min-height:var(--home-feed-tabs-height);gap:31px; }
/* Keep the genre heading on the tab row and its panel level with the table. */
@media(min-width:901px) {
  .home-fresh-heading { margin-bottom:var(--home-feed-tabs-gap); }
  .home-genres>h2 { display:flex;align-items:center;min-height:var(--home-feed-tabs-height);padding-bottom:14px;margin-bottom:var(--home-feed-tabs-gap); }
}
.home-feed-tabs .media-tabs-group { display:contents; }
.home-feed-tabs button .tab-icon { display:block;flex:none;width:22px;height:22px;color:inherit;stroke-width:1.7; }
.home-feed-tabs[hidden] { display:none; }
.home-fresh-heading .home-feed-tabs { grid-column:1 / -1;grid-row:1; }
.home-feed-panel-message { margin:0;padding:24px 16px;color:#526573;font-size:13px;line-height:1.6; }
.home-feed-panel-message button { margin-left:10px;color:var(--brand-ink);text-decoration:underline;text-underline-offset:3px; }
.home-feed-fallback { display:flex;gap:20px;margin-top:14px;font-size:12px; }
.home-feed-fallback a { color:var(--brand-ink); }
.home-feed-fallback[hidden] { display:none; }
.home-best-groups{display:grid;gap:30px;min-width:0}
.home-best-groups[hidden],.home-feed-table-wrap[hidden],.home-feed-bottom[hidden]{display:none}
.home-best-category{min-width:0}
.home-best-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:32px;margin-bottom:12px}
.home-best-heading h3{margin:0;color:#294354;font-size:20px;font-weight:650;line-height:1.3;letter-spacing:-.02em}
.home-best-heading h3 a:hover{color:var(--brand-ink)}
.home-best-heading>span{flex:none;color:#758895;font-size:11px}
@container home-feed (max-width:660px){.home-best-category .home-feed-packages strong::before{content:'Скачивания: ';color:#637f94;font-weight:450}}
@media(min-width:901px){.home-dashboard.has-best-feed .home-genres>h2{margin-bottom:calc(var(--home-feed-tabs-gap) + 44px)}}
@media(max-width:1320px) { .home-feed-tabs { gap:22px; } }
@media(min-width:901px) and (max-width:1000px) { .home-feed-tabs { gap:16px; } }
@media(max-width:540px) { .home-feed-tabs { gap:26px; }.home-feed-tabs button .tab-icon { width:20px;height:20px; } }

/* Secondary discovery labels remain readable on tinted cards. */
body.home-template :is(.home-mood-link, .home-mini-game, .home-help-link) small { color:#526574; }


/* templates/antitorrent/header.css */
/* Independent brand, search and navigation; shared by every page type. */
.site-header.site-header--v2 {
  --header-height: 84px;
  --header-sidebar: 472px;
  --header-column-gap: 34px;
  background: #16252e;
  border-bottom: 1px solid #ffffff12;
  box-shadow: 0 3px 14px #10212b0d;
}
.site-header.site-header--v2 + main { min-height: calc(100vh - 84px); }
.site-header.site-header--v2 .header-inner {
  display: grid;
  /* Match the content/sidebar grid; keep navigation at its outer edge. */
  grid-template-columns: auto minmax(0, 1fr) var(--header-sidebar);
  grid-template-rows: 1fr;
  align-items: center;
  column-gap: var(--header-column-gap);
  width: calc(100% - 80px);
  max-width: var(--page);
  height: var(--header-height);
  padding: 0;
}
.site-header.site-header--v2 .brand {
  grid-column: 1;
  grid-row: 1;
  width: auto;
  gap: 11px;
  padding: 0;
  margin: 0;
  border: 0;
  color: #fff;
}
.site-header.site-header--v2 .brand > svg {
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: var(--radius-control);
}
.site-header.site-header--v2 .brand-lockup { gap: 6px; }
.site-header.site-header--v2 .brand-lockup strong { font-size: 25px; letter-spacing: -.045em; }
.site-header.site-header--v2 .brand-domain { display: inline; color: #a7b8c2; font-size: .65em; }
.site-header.site-header--v2 .brand-lockup small { display: block; color: #a4b5bf; font-size: 10px; letter-spacing: .015em; }
.site-header.site-header--v2 a.brand:hover { color: #fff; }
.site-header.site-header--v2 :is(a,button):focus-visible { outline: 2px solid #ff8792; outline-offset: 4px; }

.site-header.site-header--v2 .search,
.site-header.site-header--v2 .search:focus-within {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  inset: auto;
  display: flex;
  flex: none;
  gap: 0;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: 52px;
  margin: 0;
  padding: 5px 5px 5px 16px;
  border: 1px solid #e4eaed;
  border-radius: var(--radius-control);
  background: #f5f7f8;
  overflow: visible;
}
.site-header.site-header--v2 .search:hover { background: #fff; }
.site-header.site-header--v2 .search:focus-within { border-color: #ed9ca5; background: #fff; box-shadow: 0 0 0 3px #ec23351c; }
.site-header.site-header--v2 .search-field {
  position: static;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 40px;
  min-width: 0;
  padding: 0;
  border: 0;
}
.site-header.site-header--v2 .search-field > .icon { display: block; width: 20px; height: 20px; margin: 0; color: #748792; }
.site-header.site-header--v2 .search input { font-size: 14px; color: #243b48; }
.site-header.site-header--v2 .search input::placeholder { color: #647b88; font-size: inherit; }
.site-header.site-header--v2 .search kbd { display: block; padding: 4px 6px; border-color: #dce4e8; border-radius:var(--radius-detail); color: #738590; font-size: 10px; }
.site-header.site-header--v2 .search-submit {
  width: auto;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-control);
  background: #db1830;
  color: #fff;
  font-size: 13px;
  gap: 10px;
}
.site-header.site-header--v2 .search-submit span { display: inline; }
.site-header.site-header--v2 .search-submit .icon { width: 17px; height: 17px; }
.site-header.site-header--v2 button.search-submit:hover { background: #bd1026; color: #fff; }
.site-header.site-header--v2 .search-submit:focus-visible { outline-color: #db1830; outline-offset: 2px; }
.site-header.site-header--v2 .search-dropdown { top: calc(100% + 10px); border-radius: var(--radius-surface); box-shadow: 0 18px 45px #09182330; }

.site-header.site-header--v2 .header-actions {
  grid-column: 3;
  grid-row: 1;
  position: static;
  justify-self: end;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.site-header.site-header--v2 .catalog-toggle {
  justify-content: center;
  gap: 9px;
  height: 46px;
  min-width: 0;
  padding: 0 15px;
  border: 1px solid #ffffff25;
  border-radius: var(--radius-control);
  background: #ffffff07;
  color: #e8eef2;
  font-size: 13px;
  font-weight: 600;
}
.site-header.site-header--v2 .catalog-toggle > .icon:first-child { display: block; width: 18px; height: 18px; color: #bdcbd4; }
.site-header.site-header--v2 .catalog-toggle .catalog-chevron { width: 13px; height: 13px; margin: 0; color: #94aab7; }
.site-header.site-header--v2 .catalog-toggle::after { display: none; }
.site-header.site-header--v2 .catalog-toggle:hover,
.site-header.site-header--v2 .catalog-toggle[aria-expanded=true] { background: #ffffff13; border-color: #ffffff45; color: #fff; }
.site-header.site-header--v2 .catalog-toggle[aria-expanded=true] > .icon { color: #fff; }
.site-header.site-header--v2 .header-ranking {
  gap: 8px;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #d9ba7920;
  border-radius: var(--radius-surface);
  background: #d9ba790a;
}
.site-header.site-header--v2 .header-ranking-icon { width: 19px; height: 24px; background: transparent; }
.site-header.site-header--v2 .header-ranking .header-ranking-icon > .icon { width: 19px; height: 19px; color: #d8bc85; }
.site-header.site-header--v2 .header-ranking strong { color: #e5d4b5; font-size: 13px; font-weight: 600; }
.site-header.site-header--v2 .header-ranking:hover,
.site-header.site-header--v2 .header-ranking[aria-current=page] { background: #d9ba7917; border-color: #d9ba7940; }
.site-header.site-header--v2 .header-ranking[aria-current=page] .header-ranking-icon { background: transparent; }
.site-header.site-header--v2 .home-header-link { padding-inline: 8px; }
.site-header.site-header--v2 .catalog-drawer { margin-top: 8px; border-radius: var(--radius-surface); max-height: calc(100dvh - var(--header-height) - 24px); }
.home-template .site-header.site-header--v2 + .home-main { min-height: 0; }

@media(max-width:1320px) {
  .site-header.site-header--v2 { --header-sidebar: 424px; --header-column-gap: 27px; }
}
@media(max-width:1200px) {
  .site-header.site-header--v2 .brand-lockup strong { font-size: 23px; }
  .site-header.site-header--v2 .brand > svg { width: 40px; height: 40px; border-radius: var(--radius-control); }
  .site-header.site-header--v2 .catalog-label-suffix { display: none; }
  .site-header.site-header--v2 .search kbd { display: none; }
}
@media(max-width:1100px) {
  .site-header.site-header--v2 { --header-sidebar: 380px; --header-column-gap: 22px; }
  .site-header.site-header--v2 .header-inner { width: calc(100% - 48px); }
}
@media(max-width:1000px) {
  .site-header.site-header--v2 .search-submit { width: 40px; padding: 0; }
  .site-header.site-header--v2 .search-submit span { display: none; }
}
@media(max-width:900px) {
  .site-header.site-header--v2 { --header-height: 138px; }
  .site-header.site-header--v2 + main { min-height: calc(100vh - 138px); }
  .site-header.site-header--v2 .header-inner {
    grid-template-columns: auto minmax(0,1fr) auto;
    grid-template-rows: 42px 48px;
    gap: 14px 16px;
    padding-block: 16px;
    width: calc(100% - 40px);
  }
  .site-header.site-header--v2 .search,
  .site-header.site-header--v2 .search:focus-within { grid-column: 1/-1; grid-row: 2; height: 48px; padding-block: 3px; }
  .site-header.site-header--v2 .search input { font-size: 16px; }
  .site-header.site-header--v2 .search input::placeholder { font-size: 14px; }
  .site-header.site-header--v2 .search-submit { width: auto; padding: 0 17px; }
  .site-header.site-header--v2 .search-submit span { display: inline; }
  .site-header.site-header--v2 .brand-lockup small { display: none; }
  .site-header.site-header--v2 .catalog-toggle,
  .site-header.site-header--v2 .header-ranking { height: 42px; min-height: 42px; }
  .site-header.site-header--v2 .home-header-link { display: none; }
}
@media(max-width:520px) {
  .site-header.site-header--v2 { --header-height: 130px; }
  .site-header.site-header--v2 + main { min-height: calc(100vh - 130px); }
  .site-header.site-header--v2 .header-inner { width: calc(100% - 32px); grid-template-rows: 40px 46px; padding-block: 15px; gap: 14px 10px; }
  .site-header.site-header--v2 .brand { gap: 9px; }
  .site-header.site-header--v2 .brand > svg { width: 36px; height: 36px; border-radius: var(--radius-control); }
  .site-header.site-header--v2 .brand-lockup strong { font-size: 22px; }
  .site-header.site-header--v2 .brand-domain { font-size: .65em; }
  .site-header.site-header--v2 .header-actions { gap: 7px; }
  .site-header.site-header--v2 .catalog-toggle { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-control); }
  .site-header.site-header--v2 .catalog-toggle > span,
  .site-header.site-header--v2 .catalog-toggle .catalog-chevron { display: none; }
  .site-header.site-header--v2 .header-ranking { min-height: 40px; height: 40px; padding-inline: 10px; gap: 6px; border-radius: var(--radius-control); }
  .site-header.site-header--v2 .header-ranking strong { font-size: 12px; }
  .site-header.site-header--v2 .header-ranking .header-ranking-icon > .icon { width: 17px; height: 17px; }
  .site-header.site-header--v2 .search,
  .site-header.site-header--v2 .search:focus-within { height: 46px; padding: 3px 3px 3px 12px; border-radius: var(--radius-control); }
  .site-header.site-header--v2 .search-field { gap: 9px; height: 38px; }
  .site-header.site-header--v2 .search-submit { height: 38px; padding-inline: 13px; }
  .site-header.site-header--v2 .search-submit .icon { display: none; }
}
@media(max-width:360px) {
  .site-header.site-header--v2 .brand-lockup strong { font-size: 20px; }
  .site-header.site-header--v2 .brand-domain { display: none; }
  .site-header.site-header--v2 .brand > svg { width: 34px; height: 34px; }
  .site-header.site-header--v2 .header-ranking { padding-inline: 8px; }
}


/* templates/antitorrent/brand.css */
/* Shared brand accents. Status colors (ratings, peers, errors) stay semantic. */
:root {
  --brand: #db1830;
  --brand-hover: #ba1228;
  --brand-pressed: #9e1023;
  --brand-ink: #b9152c;
  --brand-soft: #fff1f3;
  --brand-soft-hover: #fce4e8;
  --brand-line: #efbac3;
  --brand-focus: #db1830;
}

/* Primary actions share a single red family, including their interaction states. */
.salt-release.game-template {
  --torrent-action-bg: var(--brand);
  --torrent-action-hover: var(--brand-hover);
  --torrent-action-pressed: var(--brand-pressed);
  --torrent-action-border: var(--brand);
}
body .series-torrent-download,
.series-tracker .series-torrent-download,
body .category-primary-link,
body .review-form-footer button,
body .review-reply-form > div button[type=submit],
body .dialog-primary,
body .feedback-fields button,
.account-registration-page .registration-submit,
.site-header.site-header--v2 .search-submit {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
body .series-torrent-download:hover,
.series-tracker .series-torrent-download:hover,
body .category-primary-link:hover,
body .review-form-footer button:not(:disabled):hover,
body .review-reply-form > div button[type=submit]:not(:disabled):hover,
body .dialog-primary:hover,
body .feedback-fields button:not(:disabled):hover,
.account-registration-page .registration-submit:not(:disabled):hover,
.site-header.site-header--v2 button.search-submit:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: #fff;
}
body .series-torrent-download:active,
body .category-primary-link:active,
.site-header.site-header--v2 .search-submit:active {
  background: var(--brand-pressed);
  border-color: var(--brand-pressed);
}
.salt-release.game-template .torrent-button,
.salt-release.game-template .version-action-buttons .version-torrent-button {
  box-shadow: inset 0 1px 0 #ffffff14, 0 2px 5px #9e102318;
}
.salt-release.game-template .torrent-button:not(:disabled):hover,
.salt-release.game-template .version-action-buttons .version-torrent-button:not(:disabled):hover {
  box-shadow: inset 0 1px 0 #ffffff1f, 0 3px 8px #9e102324;
}
.salt-release.game-template .torrent-button .icon,
body .category-primary-link .icon,
.account-registration-page .registration-submit .icon { color: #fff; }
.salt-release .review-form--sidebar .review-form-footer button::after { background: #fff; }
.salt-release.game-template .release-card .magnet-button:not(:disabled):hover,
.salt-release.game-template .version-action-buttons .version-magnet-button:not(:disabled):hover {
  color: var(--brand-ink);
  background: var(--brand-soft);
  border-color: var(--brand-line);
}
.salt-release.game-template .release-card .magnet-button:not(:disabled):active,
.salt-release.game-template .version-action-buttons .version-magnet-button:not(:disabled):active {
  color: var(--brand-pressed);
  background: var(--brand-soft-hover);
  border-color: var(--brand);
}

/* Active and hovered tabs share the brand color for labels and icons. */
body :is(.tabs, .series-tabs, .community-tabs, .home-tabs) button::after,
body :is(.tabs, .series-tabs, .community-tabs, .home-tabs) button[aria-selected=true]::after,
body .tabs .comments-scroll-link::after,
.salt-release .discussion-panel :is(.review-filters, .review-type-switch) button::after {
  background: var(--brand);
}
body :is(.tabs, .series-tabs, .community-tabs, .home-tabs) button[aria-selected=true],
body :is(.tabs, .series-tabs, .community-tabs, .home-tabs) button[aria-selected]:is(:hover, :focus-visible),
body .tabs .comments-scroll-link:is(:hover, :focus-visible),
.salt-release .discussion-panel :is(.review-filters, .review-type-switch) button:hover {
  color: var(--brand-ink);
}
body :is(.tabs, .series-tabs, .community-tabs, .home-tabs) button[aria-selected=true] :is(.tab-icon, .community-tab-icon, svg),
body :is(.tabs, .series-tabs, .community-tabs, .home-tabs) button[aria-selected]:is(:hover, :focus-visible) :is(.tab-icon, .community-tab-icon, svg),
body .tabs .comments-scroll-link:is(:hover, :focus-visible) .tab-icon { color: var(--brand-ink); }
/* One compact counter style, including the matching comments heading. */
body :is(.media-tab-count, .community-tab-count, .tab-count):not([hidden]),
body .series-tabs button small:not([hidden]),
.salt-release .reviews-heading > .community-tab-count:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: none;
  min-width: 24px;
  height: 22px;
  padding: 0 6px;
  border: 0;
  border-radius: var(--radius-detail);
  color: #5e7180;
  background: #f0f3f5;
  box-shadow: none;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  white-space: nowrap;
  transition: var(--control-transition, background-color .16s ease);
}
body :is(.tabs, .community-tabs) button:is([aria-selected=true], :hover, :focus-visible) :is(.media-tab-count, .community-tab-count, .tab-count),
body .series-tabs button:is([aria-selected=true], :hover, :focus-visible) small,
body .tabs .comments-scroll-link:is(:hover, :focus-visible) :is(.media-tab-count, .community-tab-count) {
  background: var(--brand-soft);
  color: var(--brand-ink);
}
/* A solid counter distinguishes the selected tab from a hovered inactive tab. */
body :is(.tabs, .community-tabs, .home-tabs) button[aria-selected=true] :is(.media-tab-count, .community-tab-count, .tab-count),
body .series-tabs button[aria-selected=true] small {
  background: var(--brand);
  color: #fff;
}
body .review-filters button[aria-pressed=true] { background: var(--brand-soft); color: var(--brand-ink); }
.salt-release .discussion-panel :is(.review-filters, .review-type-switch) button[aria-pressed=true] {
  color: var(--brand-ink);
  background: transparent;
}

/* Selected categories, pagination and the active game in a series. */
.category-page {
  --category-accent: var(--brand-ink);
  --category-hover: var(--brand-soft);
  --category-selected: var(--brand-soft-hover);
}
body .genre-tab[aria-current=page],
body .genre-tab[aria-current=page]:hover { background: var(--brand-soft); color: var(--brand-ink); }
body .catalog-pagination > [aria-current=page] { color: #fff; background: var(--brand); }
body .filter-chip { color: var(--brand-ink); background: var(--brand-soft); }
body .filter-chip:hover { color: var(--brand-pressed); background: var(--brand-soft-hover); }
body .filter-check input { accent-color: var(--brand); }
body .category-view-switch button[aria-pressed=true] { color: var(--brand-ink); }
.game-series .game-series-entry {
  position: relative;
  isolation: isolate;
}
.game-series .game-series-entry::before {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border-radius: var(--radius-surface);
  background: transparent;
  border: 1px solid transparent;
  box-sizing: border-box;
  pointer-events: none;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.game-series .game-series-entry.is-current,
.game-series .game-series-entry[href]:is(:hover, :focus-visible) { background: transparent; box-shadow: none; }
.game-series .game-series-entry.is-current::before {
  background: var(--brand-soft);
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}
.game-series .game-series-entry[href]:is(:hover, :focus-visible)::before {
  background: var(--brand-soft-hover);
  border-color: var(--brand-line);
  box-shadow: 0 4px 14px #db18301a;
}
.game-series .game-series-entry[href]:focus-visible {
  outline: 2px solid var(--brand-focus);
  outline-offset: 3px;
}
.game-series .game-series-entry[href]:active::before {
  background: #f9d5dc;
  border-color: var(--brand);
  box-shadow: none;
}
.game-series .game-series-entry.is-current .game-series-name { color: #304e62; font-weight: 550; }
.game-series .game-series-entry.is-current .game-series-meta { color: #78828b; }
.game-series .game-series-current {
  padding: 0;
  color: #78828b;
  background: transparent;
  border-radius: 0;
  font-size: inherit;
  font-weight: 400;
}
.game-series .game-series-current::before { width: 4px; height: 4px; background: #ce5260; box-shadow: none; }

/* Neutral navigation on the dark header; red is reserved for active items. */
.site-header.site-header--v2 .header-ranking {
  border-color: #ffffff25;
  background: #ffffff07;
}
.site-header.site-header--v2 .header-ranking strong { color: #e8eef2; }
.site-header.site-header--v2 .header-ranking .header-ranking-icon > .icon { color: #bdcbd4; }
.site-header.site-header--v2 .header-ranking:hover,
.site-header.site-header--v2 .header-ranking[aria-current=page] { background: #ffffff13; border-color: #ffffff45; }
.site-header.site-header--v2 .header-ranking[aria-current=page] .header-ranking-icon > .icon { color: #ff8792; }
.site-header .header-genre-grid a[aria-current=page] { background: var(--brand-soft); color: var(--brand-ink); }
.site-header .header-genre-grid a[aria-current=page] .header-genre-icon { background: var(--brand-soft-hover); }
.site-header .header-genre-grid a[aria-current=page] :is(.icon, small) { color: var(--brand-ink); }
.site-header .search-suggestion:is(:hover, .is-active, :focus-visible) { background: var(--brand-soft); }
.site-header .search-suggestion-title mark { text-decoration-color: var(--brand-line); }

/* Text actions use a restrained accent, while body copy stays graphite. */
body :is(.home-all-releases, .home-panel-more, .home-feed-more, .text-link) { color: var(--brand-ink); }
body .home-feed-more > span { text-decoration-color: var(--brand-line); }
body :is(.home-shortcuts, .home-feed-open, .footer-links, .footer-legal, .breadcrumbs, .feedback-help, .rules-help, .help-aside) a:hover,
body :is(.home-bookmark, .home-genre-link):hover,
body :is(.home-all-releases, .home-panel-more, .home-feed-more, .text-link):hover,
body :is(.game-series, .popular-games) .game-series-entry[href]:is(:hover, :focus-visible) .game-series-name,
body .series-quick-navigation a:hover strong,
body .series-download-heading h2 a:hover { color: var(--brand-ink); text-decoration-color: var(--brand-line); }
body :is(.series-section-links, .series-related-links) a:hover { color: var(--brand-ink); border-color: var(--brand-line); }
.salt-release .release-faq-resources a:hover,
.salt-release .release-faq-resources a:hover .release-faq-resource-index { color: var(--brand-ink); }
.salt-release.game-template #versions .version-expanded-content > .package-files-toggle { color: var(--brand-ink); }
.salt-release.game-template #versions .version-expanded-content > .package-files-toggle:hover { color: var(--brand-pressed); }
.salt-release .version-expanded-description :is(.package-installation, .package-build-features-list) .installation-file-link {
  color: var(--brand-ink);
  text-decoration-color: var(--brand-line);
  transition: color .16s ease, text-decoration-color .16s ease;
}
.salt-release .version-expanded-description :is(.package-installation, .package-build-features-list) .installation-file-link:is(:hover, :focus-visible) {
  color: var(--brand-pressed);
  text-decoration-color: currentColor;
}
.salt-release.game-template :is(#versions, #mods) :is(.package-installation-guide, .package-localization-guide, .package-build-details) {
  --installation-accent: #596b77;
  --installation-tint: #f0f3f5;
  --installation-line: #dfe5e9;
}

/* Override legacy component-specific focus colors without changing focus geometry. */
body :is(a, button, input, textarea, select, summary, [tabindex]):focus-visible { outline-color: var(--brand-focus) !important; }
.site-header.site-header--v2 :is(a, button):focus-visible { outline-color: #ff8792 !important; }
.site-header.site-header--v2 .search:focus-within { border-color: var(--brand-line); box-shadow: 0 0 0 3px #db183014; }
.salt-release .review-form--sidebar .review-composer-body :is(input, textarea):focus,
.account-registration-page .registration-field :is(input, textarea, select):focus-visible {
  border-color: var(--brand-line);
  box-shadow: 0 0 0 3px #db183014;
}

/* A quiet video shortcut follows the metadata; tabs carry the persistent accent. */
.salt-release.game-template .hero-utility { column-gap: 22px; row-gap: 4px; }
.salt-release.game-template .hero-actions .trailer-button {
  min-height: 36px;
  padding: 6px 0;
  gap: 6px;
  border: 0;
  border-radius: var(--radius-control);
  color: #657581;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}
.salt-release.game-template .hero-actions .trailer-button .play-circle {
  width: 16px;
  height: 16px;
  flex: none;
  border: 0;
  color: inherit;
  background: transparent;
}
.salt-release.game-template .hero-actions .trailer-button .play-circle .icon { width: 14px; height: 14px; }
.salt-release.game-template .hero-actions .trailer-button:is(:hover, :focus-visible) {
  color: var(--brand-ink);
  background: transparent;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.salt-release.game-template .hero-actions .trailer-button:active { color: var(--brand-pressed); }

/* Launch hints are light annotations; only the file row receives a pale tint. */
.salt-release.game-template .package-files .file-launch-badge,
.salt-release.game-template .package-files [data-file-launch="folder"] .file-launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  color: var(--brand-ink);
  background: transparent;
  border-radius: 0;
  font-weight: 600;
}
.salt-release.game-template .package-files .file-launch-badge::before {
  content: "";
  width: 4px;
  height: 4px;
  flex: none;
  border-radius: var(--radius-round);
  background: currentColor;
}
.salt-release.game-template .package-files .manifest-entry[data-file-launch]:not([data-file-launch="folder"]) { background: var(--brand-soft); }
.salt-release.game-template .package-files [data-file-launch]:not([data-file-launch="folder"]) .file-launch-name > code { color: #293c48; }
.salt-release.game-template .package-files .manifest-tree .manifest-entry.is-file-target {
  background: var(--brand-soft);
  outline-color: var(--brand-line);
}

/* Hovering anywhere on a build summary signals that its title opens details. */
.salt-release.game-template :is(#versions, #mods) .version-title-line :is(strong, .version-title-package) { transition: color .16s ease; }
.salt-release.game-template :is(#versions, #mods) .version-entry .version-summary:is(:hover, :has(.version-toggle:focus-visible)) .version-title-line :is(strong, .version-title-package) {
  color: var(--brand-ink);
}

/* Small interactions use the brand accent rather than the legacy green fallback. */
button:hover { color: var(--brand-ink); }
body :is(.feedback-breadcrumbs, .help-breadcrumbs, .rules-breadcrumbs, .rules-copy, .rules-nav, .release-provenance, .series-card-comments, .account-dialog, .registration-actions) a:is(:hover, :focus-visible),
body :is(.game-information-link, .installation-files-link, .version-guide-link, .version-report-button, .versions-report-link, .review-ask, .review-write, .review-more, .steam-review-toggle, .screenshot-more-toggle, .series-back, .registration-back):is(:hover, :focus-visible),
.account-registration-page .registration-login button:is(:hover, :focus-visible),
.salt-release #review-list .review-entry-actions .review-reply-link:is(:hover, :focus-visible) {
  color: var(--brand-ink);
  text-decoration-color: var(--brand-line);
}
body :is(.review-write, .game-video-main-caption a) { color: var(--brand-ink); }
body :is(.steam-review-toggle, .version-guide-link, .installation-files-link) { color: #596b77; }
.salt-release.game-template .release-card .release-contents-summary { color: #596b77; text-decoration-color: #cfd8dd; }
.salt-release.game-template .release-card .release-contents-summary:is(:hover, :focus-visible) { color: var(--brand-ink); text-decoration-color: var(--brand-line); }
.salt-release.game-template .release-faq summary:is(:hover, :focus-visible),
.salt-release.game-template .release-faq details[open] summary,
.salt-release.game-template .release-faq-resources a:is(:hover, :focus-visible),
.salt-release.game-template .release-faq-resources a:is(:hover, :focus-visible) .icon { color: var(--brand-ink); }

/* Media navigation: brand selection, neutral imagery and readable white overlays. */
body .game-video-play:is(:hover, :focus-visible) { color: #fff; }
body .game-video-play:is(:hover, :focus-visible) .game-video-play-icon { color: var(--brand-ink); background: var(--brand-soft); }
body .game-video-option { color: #293c48; }
body .game-video-option:is(:hover, :focus-visible, .is-active) .game-video-option-copy strong { color: var(--brand-ink); }
body .game-video-option.is-active .game-video-option-thumb { outline: 2px solid var(--brand-line); outline-offset: 2px; }
body .game-video-option-thumb::after { color: #fff; }
body :is(.game-video > a, .game-video-main-caption a):is(:hover, :focus-visible) { color: var(--brand-pressed); }
body .related-game:not(.related-game--featured):is(:hover, :focus-visible) :is(.related-game-details strong, .related-game-arrow) { color: var(--brand-ink); }
body .game-series-title-link:is(:hover, :focus-visible),
body .game-series-title-link:is(:hover, :focus-visible) > .icon { color: var(--brand-ink); }
body .game-series-title-link:is(:hover, :focus-visible) > span { text-decoration-color: var(--brand-line); }

/* The same navigation accent in the header, home feed and series directory. */
.site-header.site-header--v2 :is(.header-genre-grid a, .header-game-pick):is(:hover, :focus-visible) { background: var(--brand-soft); color: var(--brand-ink); }
.site-header.site-header--v2 .header-genre-grid a:is(:hover, :focus-visible) .header-genre-icon { background: var(--brand-soft-hover); }
.site-header.site-header--v2 .header-genre-grid a:is(:hover, :focus-visible) :is(.icon, small) { color: var(--brand-ink); }
body :is(.home-feed-game, .home-feed-packages) a:is(:hover, :focus-visible) strong { color: var(--brand-ink); }
body .home-feed-open > a { color: #71818f; }
body .home-feed-open > a:is(:hover, :focus-visible) { color: var(--brand-ink); }
body .home-bookmark:is(:hover, :focus-visible) { color: var(--brand-ink); background: var(--brand-soft); border-color: var(--brand-line); }
body .home-genre-link:is(:hover, :focus-visible) { color: var(--brand-ink); background: var(--brand-soft); }
body .series-hub-link:is(:hover, :focus-visible) :is(h3, .series-card-arrow),
body .series-edition h3 a:is(:hover, :focus-visible),
body .series-edition-builds > summary:is(:hover, :focus-visible),
body .series-similar-list a:is(:hover, :focus-visible) strong,
body .series-reference-row dd > a:is(:hover, :focus-visible),
body .tracker-copy h3 a:is(:hover, :focus-visible),
body .tracker-builds > summary:is(:hover, :focus-visible) > span:first-child,
body :is(.tracker-single, .tracker-help) > a:is(:hover, :focus-visible),
body .series-search-empty button:is(:hover, :focus-visible),
body .series-report-files a:is(:hover, :focus-visible) strong { color: var(--brand-ink); }
body .series-hub-card:hover { border-color: var(--brand-line); }
body .series-directory .series-load-more:is(:hover, :focus-visible),
body .series-load-more:is(:hover, :focus-visible),
body .series-tracker .series-magnet:is(:hover, :focus-visible) { background: var(--brand-soft); color: var(--brand-ink); border-color: var(--brand-line); }
body .series-card-verification:is(:hover, :focus-visible),
body .series-card-verification:is(:hover, :focus-visible) .series-verification-caption { color: var(--brand-ink); }

/* Selecting a video or a filter is navigation, not a success status. */
body .card-video-toggle[aria-pressed=true],
body .is-list .card-media-tools > [aria-pressed=true] { color: var(--brand-ink); background: var(--brand-soft); border-color: var(--brand-line); }
body .filter-check input:checked + span { color: var(--brand-ink); }
.salt-release.game-template #versions .version-current { color: #78828b; }
.salt-release.game-template #versions .version-current::before { width: 4px; height: 4px; border-radius: var(--radius-round); background: #ce5260; }

/* Copy/share tools and form focus use a light tint instead of green or blue. */
body .share-target-icon { color: #596b77; background: #f0f3f5; }
body .share-target:is(:hover, :focus-visible),
body .share-target:is(:hover, :focus-visible) .share-target-icon { color: var(--brand-ink); }
body .share-target:is(:hover, :focus-visible) .share-target-icon { background: var(--brand-soft); }
.salt-release.game-template .version-expanded-facts .version-hash-copy:is(:hover, :focus-visible, .is-copied) { color: var(--brand-ink); background: var(--brand-soft); }
.salt-release.game-template .release-package-picker:hover { border-color: var(--brand-line); background: var(--brand-soft); }
.salt-release #versions .versions-sort select:hover { border-color: var(--brand-line); }
body :is(.review-sort-control, .tracker-search, .series-search):focus-within { border-color: var(--brand-line); box-shadow: 0 0 0 3px #db183014; }
.salt-release .review-fields input:focus,
.salt-release .review-text-field textarea:focus,
.salt-release .review-reply-form :is(input, textarea):focus,
body .feedback-fields :is(input, textarea, select):focus-visible {
  border-color: var(--brand-line);
  box-shadow: 0 0 0 3px #db183014;
}
.account-registration-page .registration-reveal:is(:hover, :focus-visible) { color: var(--brand-ink); background: var(--brand-soft); }
body .site-not-found-action { color: #fff; background: var(--brand); border-color: var(--brand); }
body .site-not-found-action:is(:hover, :focus-visible) { color: #fff; background: var(--brand-hover); border-color: var(--brand-hover); }
body .site-not-found-action:active { background: var(--brand-pressed); border-color: var(--brand-pressed); }
@media (prefers-reduced-motion: reduce) {
  .game-series .game-series-entry::before,
  .salt-release.game-template .hero-actions .trailer-button .play-circle,
  .salt-release.game-template .installation-file-link,
  .salt-release.game-template :is(#versions, #mods) .version-title-line :is(strong, .version-title-package) { transition: none; }
}


/* templates/antitorrent/controls.css */
/* Shared control geometry; tabs, voting and media surfaces keep their own roles. */
:root {
  --control-radius: var(--radius-control);
  --control-height: 44px;
  --control-compact: 36px;
  --control-large: 56px;
  --control-ink: #293c48;
  --control-line: #cfd8dd;
  --control-surface: #f5f7f8;
  --control-transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

/* Shared type, corners and motion for action buttons, including legacy templates. */
.salt-release.game-template :is(.torrent-button, .release-card .magnet-button, .version-action-buttons .version-torrent-button, .version-action-buttons .version-magnet-button),
.site-header.site-header--v2 :is(.search-submit, .catalog-toggle, .header-ranking),
.salt-release .review-form--sidebar .review-composer-body .review-form-footer button,
body :is(.series-torrent-download, .category-primary-link, .dialog-primary),
body .review-form-footer button,
body .review-reply-form > div button,
body .feedback-fields > button,
body .account-dialog button[type=submit],
.account-registration-page :is(.registration-submit, .registration-login-check button),
.account-registration-page .registration-rules-content #registration button {
  border-radius: var(--control-radius);
  font-family: inherit;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: var(--control-transition);
  box-shadow: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Standard actions: shared rhythm across forms, previews and account dialogs. */
body :is(.category-primary-link, .dialog-primary),
body .review-form-footer button,
.salt-release .review-form--sidebar .review-composer-body .review-form-footer button,
body .feedback-fields > button,
body .account-dialog button[type=submit],
.account-registration-page :is(.registration-submit, .registration-login-check button),
.account-registration-page .registration-rules-content #registration button {
  min-height: var(--control-height);
  height: auto;
  padding: 12px 16px;
  font-size: 14px;
  gap: 8px;
}
.salt-release .review-form--sidebar .review-composer-body .review-form-footer button { padding-right: 42px; }
body .review-reply-form > div button {
  min-height: var(--control-compact);
  padding: 8px 12px;
  font-size: 13px;
}
body .review-reply-form > div button:not([type=submit]) {
  background: var(--control-surface);
  color: var(--control-ink);
}
body .review-reply-form > div button:not([type=submit]):hover {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

/* Large and compact downloads share the same silhouette and icon proportions. */
.salt-release.game-template .release-card :is(.torrent-button, .magnet-button) {
  min-height: var(--control-large);
  padding: 12px 16px;
  gap: 10px;
  border-width: 1px;
  border-style: solid;
}
.salt-release.game-template .release-card .torrent-button > span { padding: 0 30px; gap: 3px; }
.salt-release.game-template .release-card .torrent-button strong { font-size: 18px; font-weight: 650; letter-spacing: -.025em; }
.salt-release.game-template .release-card .torrent-button small { font-size: 12px; }
.salt-release.game-template .release-card .torrent-button .icon { width: 24px; height: 24px; right: 16px; }
.salt-release.game-template .release-card .magnet-button { margin-top: 8px; font-size: 16px; }
.salt-release.game-template .release-card .magnet-button .icon { width: 24px; height: 24px; }
.salt-release.game-template .version-action-buttons :is(.version-torrent-button, .version-magnet-button) {
  min-height: var(--control-compact);
  height: var(--control-compact);
  gap: 6px;
  font-size: 12px;
}
.salt-release.game-template .version-action-buttons .version-torrent-button { padding: 0 12px; }
.salt-release.game-template .version-action-buttons .version-magnet-button { width: var(--control-compact); min-width: var(--control-compact); padding: 0; }
.salt-release.game-template .version-action-buttons :is(.version-torrent-button, .version-magnet-button) .icon { width: 16px; height: 16px; flex: none; }
body .series-torrent-download { min-height: var(--control-compact); padding: 8px 12px; gap: 6px; font-size: 12px; }
body .series-torrent-download .icon { width: 16px; height: 16px; flex: none; }

/* Secondary buttons stay neutral at rest and use the brand tint on interaction. */
.salt-release.game-template .release-card .magnet-button,
.salt-release.game-template .version-action-buttons .version-magnet-button,
.account-registration-page .registration-login-check button {
  color: var(--control-ink);
  background: var(--control-surface);
  border: 1px solid var(--control-line);
}
.account-registration-page .registration-login-check button:hover {
  color: var(--brand-ink);
  background: var(--brand-soft);
  border-color: var(--brand-line);
}
body .account-dialog button[type=submit],
.account-registration-page .registration-rules-content #registration button[type=submit] {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}
body .account-dialog button[type=submit]:hover,
.account-registration-page .registration-rules-content #registration button[type=submit]:hover {
  color: #fff;
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}
body :is(.dialog-primary, .category-primary-link):active,
body .review-form-footer button:not(:disabled):active,
body .review-reply-form > div button[type=submit]:not(:disabled):active,
body .feedback-fields > button:not(:disabled):active,
body .account-dialog button[type=submit]:not(:disabled):active,
.account-registration-page .registration-submit:not(:disabled):active,
.account-registration-page .registration-rules-content #registration button[type=submit]:active {
  background: var(--brand-pressed);
  border-color: var(--brand-pressed);
}

/* Header dimensions remain fitted to the search field and responsive navigation. */
.site-header.site-header--v2 :is(.catalog-toggle, .header-ranking) { height: var(--control-height); min-height: var(--control-height); }
.site-header.site-header--v2 :is(.search-submit, .catalog-toggle) { gap: 8px; }
.site-header.site-header--v2 .search-submit .icon,
.site-header.site-header--v2 .catalog-toggle > .icon:first-child,
.site-header.site-header--v2 .header-ranking .header-ranking-icon > .icon { width: 18px; height: 18px; flex: none; }
.site-header.site-header--v2 .search,
.site-header.site-header--v2 .search:focus-within { border-radius: var(--radius-control); }

/* Compact navigation, utility controls and gallery actions. */
body :is(.genre-tab, .filter-chip),
body .catalog-pagination > :is(a, [aria-current=page]),
body .category-view-switch button,
.category-page :is(.is-grid, .is-list) .card-media-tools > :is(a, button),
body :is(.catalog-gallery-header, .catalog-gallery-controls) button,
body .preview-close,
body .account-dialog [data-account-close],
body .registration-reveal,
body .icon-button.small,
body :is(.trailer-button, .card-share) {
  border-radius: var(--control-radius);
  transition: var(--control-transition);
}
body .catalog-pagination > :is(a, [aria-current=page]) { min-width: var(--control-compact); min-height: var(--control-compact); }
body :is(.catalog-gallery-header, .catalog-gallery-controls) button,
body .preview-close,
body .account-dialog [data-account-close] { width: var(--control-compact); height: var(--control-compact); padding: 0; display: grid; place-items: center; }
body :is(.preview-close, .account-dialog [data-account-close]):hover { background: var(--brand-soft); color: var(--brand-ink); }
body .category-view-switch button { width: var(--control-compact); height: var(--control-compact); }
body :is(.trailer-button, .card-share) { min-height: var(--control-compact); padding: 6px 8px; gap: 8px; }
body :is(.trailer-button, .card-share):hover,
body .icon-button.small:hover { color: var(--brand-ink); background: var(--brand-soft); }
body .icon-button.small { border-radius: var(--radius-control); }
body .icon-button.small .icon { flex: none; }
body :is(.category-primary-link, .dialog-primary, .feedback-fields > button, .registration-submit) > .icon { width: 18px; height: 18px; flex: none; }

/* Consistent focus and disabled states without recoloring semantic status controls. */
body :is(button, [role=button], .category-primary-link, .series-torrent-download):focus-visible { outline: 2px solid var(--brand-focus); outline-offset: 3px; }
.site-header.site-header--v2 :is(button, a):focus-visible { outline-offset: 3px; }
body :is(.torrent-button, .magnet-button, .version-torrent-button, .version-magnet-button, .series-torrent-download, .dialog-primary, .category-primary-link, .registration-submit):is(:disabled, [aria-disabled=true]),
body :is(.review-form-footer, .review-reply-form, .feedback-fields, .account-dialog, .registration-login-check) button:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
}
body :is(.review-form-footer, .review-reply-form, .feedback-fields, .account-dialog) button[type=submit]:disabled { background: var(--brand); }

@media (max-width: 520px) {
  .site-header.site-header--v2 :is(.catalog-toggle, .header-ranking) { height: 40px; min-height: 40px; }
  .site-header.site-header--v2 .search,
  .site-header.site-header--v2 .search:focus-within { border-radius: var(--radius-control); }
}
@media (prefers-reduced-motion: reduce) {
  :root { --control-transition: none; }
}

/* Essential secondary information stays readable at the site's compact density. */
body {
  --readable-muted: #526573;
}
body :is(.version-rating-summary > span, .version-vote, .version-vote-count,
  .version-download-meta, .version-peers, .version-peer, .version-file-size,
  .version-disclosure, .version-detail, .release-provenance,
  .release-steam-count, .steam-rating-count, .game-series-meta,
  .game-information-facts dt, .review-entry-date, .review-entry-actions,
  .search-suggestion-meta, .search-suggestion-stats) {
  font-size: 12px;
  line-height: 1.45;
}
.salt-release.game-template :is(#versions, #mods) :is(.version-file-size, .version-disclosure, .version-detail,
  .version-rating-summary > span, .version-download-meta, .version-peers, .version-peer, .version-vote) {
  font-size: 12px;
}
body :is(.version-rating-summary > span, .version-download-meta, .version-file-size,
  .version-disclosure, .version-detail, .release-provenance, .game-series-meta,
  .review-entry-date, .search-suggestion-meta, .search-suggestion-stats) {
  color: var(--readable-muted);
}
.salt-release.game-template :is(#versions, #mods) :is(.version-file-size, .version-disclosure,
  .version-detail, .version-expanded-facts dt) { color: var(--readable-muted); }
.salt-release.game-template .package-files :is(.manifest-entry .file-size, .root-size, .more-files,
  .package-manifest-note, .file-launch-badge) { font-size: 12px; }
.salt-release.game-template .package-files :is(.manifest-entry .file-size, .root-size,
  .more-files, .package-manifest-note) { color: var(--readable-muted); }
.salt-release.game-template .package-files .root-size { font-size: 12px !important; }
body :is(.version-rating-content, .version-action-content) { height: auto; min-height: 68px; gap: 6px; }
body .version-rating-score { height: auto; min-height: 38px; gap: 5px; }
body .version-rating-summary { flex-wrap: wrap; }
body .version-vote { min-height: 24px; }
body .version-download-meta { flex-wrap: wrap; gap: 4px 10px; }
body :is(.game-series, .popular-games) .game-series-meta { color: var(--readable-muted); font-size: 12px; }
.salt-release.game-template #versions .version-toggle[aria-expanded="true"] .version-disclosure,
body .game-series .game-series-entry.is-current .game-series-meta { color: var(--readable-muted); }
body :is(.site-header, .home-search-panel) :is(.search-suggestion-meta, .search-suggestion-stats) {
  color: var(--readable-muted); font-size: 12px;
}
body :is(.tabs, .community-tabs) :is(.media-tab-count, .community-tab-count, .tab-count),
body .series-tabs button small { font-size: 12px; }
body .breadcrumbs, body .hero-utility .hero-genre { font-size: 12px; }
body.game-template .screenshot .screenshot-caption { font-size: 12px; text-shadow: 0 1px 3px #000; }
body.salt-release .steam-rating--compact .steam-total,
body.salt-release .swarm :is(.swarm-label, .availability),
body.salt-release .reviews-heading > .community-tab-count,
body .related-games .related-game-genre { font-size: 12px; }
body.salt-release .steam-rating--compact .steam-total,
body.salt-release .swarm .swarm-label,
body .related-games .related-game:not(.related-game--featured) .related-game-genre {
  color: var(--readable-muted);
}
body.salt-release .swarm .availability { color: #2e702a; }
body.salt-release #review-list :is(time, .review-reply-link, .review-vote) {
  color: var(--readable-muted); font-size: 12px;
}
body :is(.home-feed-table th, .home-feed-game small, .home-feed-packages small,
  .home-feed-packages strong, .home-genre-link > small, .home-start-title > span,
  .home-feed-bottom > span, .home-section-heading > a, .home-all-releases,
  .home-feed-more, .home-panel-more, .home-shortcuts a, .home-genre-link) {
  font-size: 12px;
}
body :is(.home-feed-table th, .home-feed-game small, .home-feed-packages small,
  .home-genre-link > small, .home-start-title > span, .home-feed-bottom > span) {
  color: var(--readable-muted);
}
body .home-feed-activity::before { color: var(--readable-muted); font-size: 12px; }
body .home-bookmark-name { font-size: 12px; height: auto; min-height: 34px; line-height: 1.4; }
body.category-page :is(.category-hero-kicker, .genre-count, .card-size, .category-endnote,
  .card-ranking, .card-ranking span),
body.category-page #catalog-release-summary,
.series-game-page :is(.series-opening-facts dt, .series-card-rating small,
  .series-card-votes dt, .series-verification-caption, .series-quick-navigation small) {
  font-size: 12px; color: var(--readable-muted);
}

/* A complete outline also covers links/inputs whose earlier styles only set a color. */
body :is(a[href], button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--brand-focus, #b9152c);
  outline-offset: 3px;
}
body .tabs [role=tab]:focus-visible { outline-offset: -3px; }
body .search input:focus-visible { outline: none; }
body .search:has(input:focus-visible) { outline: 2px solid var(--brand-focus, #b9152c); outline-offset: 3px; }
body :is(input, textarea)::placeholder { color: #60717c; opacity: 1; }

@media (max-width: 900px) {
  /* Place the download card before media on the first paint, including without JS.
     Moving it into the reading order later must not change its visual position. */
  body.salt-release.game-template .page-grid { grid-template-columns: minmax(0, 1fr); }
  body.salt-release.game-template .page-grid > :is(.main-column, .release-column) { display: contents; }
  body.salt-release.game-template .page-grid :is(.main-column, .release-column) > * { grid-column: 1; min-width: 0; }
  body.salt-release.game-template .main-column > .game-intro { grid-row: 1; }
  body.salt-release.game-template .page-grid .release-card { grid-row: 2; width: 100%; margin: 24px 0 32px; }
  body.salt-release.game-template .main-column > .release-content { grid-row: 3; margin-top: 0; }
  body.salt-release.game-template .main-column > #versions { grid-row: 4; }
  body.salt-release.game-template .main-column > #mods { grid-row: 5; }
  body.salt-release.game-template .main-column > .related-games { grid-row: 6; }
  body.salt-release.game-template .release-column > .game-information-panel { grid-row: 7; margin-top: 40px; }
  body.salt-release.game-template .release-column > .series-quick-navigation { grid-row: 8; }
  body.salt-release.game-template .release-column > .game-series-sidebar { grid-row: 8; }
  body.salt-release.game-template .release-column > .popular-games-sidebar { grid-row: 9; }
  body.salt-release.game-template .page-grid > .reviews-area { grid-column: 1; grid-row: 10; }
}
@media (max-width: 540px) {
  body :is(input, textarea, select),
  body .site-header.site-header--v2 .search input,
  body .review-form :is(input, textarea),
  body .release-package-picker { font-size: 16px; }
  body .version-vote { min-width: 40px; min-height: 32px; }
  body .version-votes { gap: 8px; }
  body .version-rating-content, body .version-action-content { min-height: 74px; }
  body .version-download-meta { row-gap: 6px; }
  body :is(.game-series-name, .game-information-facts dd) { overflow-wrap: anywhere; }
}


/* templates/antitorrent/performance.css */
/* The first screen uses a compact derivative on phones; full-size originals remain in the viewer. */
@media(max-width:600px){.game-template:not([data-game-id=salt]) .hero-backdrop:before{background-image:var(--game-hero-mobile,var(--game-hero))}}
.package-details-message{margin:0 0 12px}.package-details-fallback{display:inline-block;margin-bottom:8px}
[data-package-details-url][aria-busy=true]{min-height:72px}


/* templates/antitorrent/accessibility.css */
/* Readable secondary text on the existing light surfaces. */
body .home-upcoming-copy > span,
body .home-tabs button:not([aria-selected="true"]),
body .home-feed-open > a,
body .site-header .search .search-shortcut,
body .game-series-kicker,
body .game-information-panel h2,
body .game-information-row dt,
body #related-games-title,
body #series-navigation-title,
body .review-reply-head .review-reply-context,
body.salt-release .upcoming-media-note,
body.salt-release .upcoming-versions .upcoming-email-caption,
.salt-release #review-list .review-entry-actions .review-vote:not([aria-pressed="true"]) {
  color: #526574;
}

