/* Author page (founder): header card, Top 5 Games, Featured Badges */
.gt-author-root{width:100%;max-width:100%;margin:0 0 1.6rem;color:#fff;box-sizing:border-box;grid-column:1/-1}   /* always the full width of the header, however short the bio is */
.gt-author-root *{box-sizing:border-box}

/* header card */
.gt-hero{position:relative;border:1.5px solid rgba(255,255,255,.2);border-radius:18px;padding:2rem;background:#0f1013;overflow:hidden}
.gt-hero.has-banner{background:linear-gradient(90deg,rgba(9,9,12,.86) 0%,rgba(9,9,12,.68) 45%,rgba(9,9,12,.34) 100%),var(--gt-banner) center 30%/cover no-repeat}
.gt-hero-in{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:1.4rem 2rem;align-items:start}
.gt-hero-avatar{width:212px;height:212px;flex:none}
.gt-hero-avatar>*,.gt-hero-avatar a,.gt-hero-avatar div,.gt-hero-avatar picture,.gt-hero-avatar figure,.gt-hero-avatar span{display:block;width:100%!important;height:100%!important;margin:0!important;padding:0!important;max-width:none!important;box-sizing:border-box}
.gt-hero-avatar{border:2px solid rgba(255,255,255,.6);border-radius:20px;overflow:hidden;background:#0b0c10}
.gt-hero-avatar *{border:0!important;border-radius:0!important;box-shadow:none!important;filter:none}
.gt-hero-avatar img{width:100%!important;height:100%!important;object-fit:cover;image-rendering:auto!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.gt-hero-main{min-width:0;font-family:'Barlow','Segoe UI',system-ui,-apple-system,Arial,sans-serif}
.gt-hero-nameline{display:flex;align-items:center;gap:.7rem;margin:0}
.gt-hero-nameline h1{margin:0!important;padding:0!important;font-size:clamp(3.2rem,6vw,4.6rem)!important;line-height:1!important}
.gt-hero-nameline .gt-check{transform:scale(1.35);transform-origin:left center;margin:0 .45rem 0 .2rem!important;flex:none}
.gt-hero-role{display:block;width:fit-content;max-width:100%;margin:.25rem 0 .7rem!important;padding:0 .05em 0 0!important;text-transform:none!important;letter-spacing:.01em!important;font-family:'Barlow Condensed','Barlow',system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;font-size:1.6rem!important;font-weight:800!important;line-height:1.25!important;background:linear-gradient(90deg,#ff5fe3,#b66cff)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important}
.gt-hero-bio{color:#fff;font-size:1.08rem;line-height:1.5;max-width:78ch}
.gt-hero-bio p{margin:0 0 .6rem!important;color:inherit!important;font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;max-width:none!important}
.gt-hero-pal{align-self:start}
.gt-hero-pal .gt-robot{margin:0!important}
.gt-hero-pal .rb{display:flex;flex-direction:column;align-items:center}
.gt-hero-pal .rb-btn{margin-top:4px;padding:4px 6px}

/* buttons across the bottom of the card */
.gt-hero-btns{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:.7rem;align-items:center}
.gt-hero-btns .gt-profile-links{display:contents}
.gt-hero-btns:empty{display:none}   /* an author with no links and no member profile: no empty row under the bio */
.gt-profile-link,.gt-hero-btns>a{display:flex;align-items:center;justify-content:center;gap:.5rem;min-height:40px;padding:.45rem 1.05rem;border:1.5px solid rgba(255,255,255,.4);border-radius:10px;background:#16171b!important;color:#fff!important;text-decoration:none!important;text-align:center;font-family:'Barlow Condensed','Barlow',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;font-weight:700;font-size:1.05rem;letter-spacing:.02em;text-transform:uppercase;line-height:1.1;transition:background .15s,border-color .15s,transform .15s}
.gt-profile-link{flex:0 0 auto;white-space:nowrap}
.gt-profile-link svg{display:none}
.gt-profile-link b{font-weight:700}
.gt-hero-btns>a.gt-vfp{flex:0 0 auto;flex-direction:column;gap:.1rem;padding:.4rem 1.05rem;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.gt-hero-btns>a.gt-vfp>*:first-child{font-size:1.05rem!important;font-weight:700!important;letter-spacing:.01em!important}
.gt-hero-btns>a.gt-vfp>*:not(:first-child){font-size:.66rem!important;font-weight:600!important;letter-spacing:.06em!important;opacity:.85}
.gt-hero-btns>a.gt-vfp,.gt-hero-btns>a.gt-vfp *{font-family:'Barlow Condensed','Barlow',system-ui,-apple-system,'Segoe UI',Arial,sans-serif}
.gt-profile-link:hover,.gt-hero-btns>a:hover{background:#20222a!important;border-color:#fff;transform:translateY(-2px)}
.gt-profile-link:focus-visible,.gt-hero-btns>a:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* section titles: italic, with a thin line each side */
.gt-sec{margin:2.2rem auto 0;max-width:100%}
.gt-sec-title{display:flex;align-items:center;justify-content:center;gap:2rem;margin:0 0 1.4rem;text-align:center;color:#fff;font-family:'Barlow Condensed','Barlow',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;font-style:italic;font-weight:800;font-size:2.4rem;line-height:1.1;letter-spacing:.01em;text-transform:uppercase}
.gt-sec-title:before,.gt-sec-title:after{content:"";flex:1 1 0;max-width:200px;height:1px;background:rgba(255,255,255,.4)}

/* top 5 games */
.gt-games-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1.1rem;margin:0 auto}
.gt-game{display:block;aspect-ratio:330/484;border-radius:16px;overflow:hidden;border:1.5px solid rgba(255,255,255,.4);background:#000;cursor:zoom-in;transition:transform .18s,border-color .18s}
.gt-game.gt-media-card img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center top;border-radius:0}
.gt-game:hover{transform:translateY(-4px);border-color:#fff}
.gt-game:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* featured badges: one bordered box, badges evenly spaced with thin dividers */
.gt-sec-badges .gt-badge-wrap{border:1.5px solid rgba(255,255,255,.28);border-radius:18px;padding:1.6rem .8rem;background:rgba(255,255,255,.02)}
.gt-badge-holder{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:stretch!important;justify-content:center!important;gap:1.2rem 0!important;margin:0!important;padding:0!important;list-style:none!important;width:auto!important;max-width:100%!important;height:auto!important}
.gt-badge-item{position:relative;flex:1 1 120px!important;width:auto!important;max-width:none;margin:0!important;padding:.2rem .6rem!important;text-align:center;display:flex!important;flex-direction:column;align-items:center;justify-content:flex-start;gap:.7rem}
.gt-badge-item+.gt-badge-item:before{content:"";position:absolute;left:0;top:8%;bottom:8%;width:1px;background:rgba(255,255,255,.28)}
.gt-badge-item,.gt-badge-item *{overflow:visible!important;text-decoration:none!important}
.gt-badge-item img,.gt-badge-item svg{max-height:92px;max-width:120px;object-fit:contain;aspect-ratio:auto}
.gt-badge-item .gt-badge-ico,.gt-badge-item [class*="gt-ico-"]{flex:none;display:block;width:84px;height:84px;background-position:center;background-repeat:no-repeat;background-size:contain}
.gt-badge-item .gt-sb{display:block;width:auto;height:auto;padding:0;background:none;border-radius:0}
.gt-badge-item,.gt-badge-item *:not(.gt-badge-ico):not([class*="gt-ico-"]):not(svg):not(img){font-family:'Barlow Condensed','Barlow',system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;font-size:1.2rem!important;font-weight:700!important;line-height:1.1!important;letter-spacing:.01em!important;text-transform:uppercase;font-style:normal!important;color:#fff}

/* before the layout script has run (or if it can't): keep the blocks tidy above the article list */
.gt-robot-media{width:100%;max-width:100%;margin:1.2rem 0 0;color:#fff}
.gt-robot-media>.gt-profile-links{display:flex;flex-wrap:wrap;justify-content:center;gap:.65rem}

@media (max-width:819px){
  .gt-hero{padding:1.1rem;border-radius:16px}
  .gt-hero-in{grid-template-columns:auto minmax(0,1fr);gap:.9rem 1rem}
  .gt-hero-avatar{width:112px;height:112px}
  .gt-hero-avatar{border-radius:16px}
  .gt-hero-main{display:contents}
  .gt-hero-top{grid-column:2;min-width:0;align-self:center}
  .gt-hero-nameline h1{font-size:2.4rem!important}
  .gt-hero-role{font-size:1.15rem!important;margin:.2rem 0 0!important}
  .gt-hero-bio{grid-column:1/-1;font-size:.95rem}
  .gt-hero-pal{grid-column:1/-1;justify-self:center}
  .gt-hero-btns{gap:.6rem}
  .gt-profile-link,.gt-hero-btns>a{flex:1 1 auto;min-height:40px;font-size:1rem}
  .gt-sec{margin-top:1.6rem}
  .gt-sec-title{font-size:1.5rem;gap:.8rem;margin-bottom:1rem}
  .gt-sec-title:before,.gt-sec-title:after{max-width:60px}
  .gt-games-row{gap:.4rem}.gt-game{border-radius:9px}
  .gt-badge-item{flex:1 1 30%!important}
  .gt-badge-item+.gt-badge-item:before{display:none}
  .gt-badge-item img,.gt-badge-item svg{max-height:62px!important;max-width:72px!important}
  .gt-badge-item .gt-badge-ico,.gt-badge-item [class*="gt-ico-"]{width:62px;height:62px}
  .gt-badge-item,.gt-badge-item *:not(.gt-badge-ico):not([class*="gt-ico-"]):not(svg):not(img){font-size:.85rem!important}
}

/* featured media: the MLG singles image and the gameplay clips */
.gt-fm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem}
.gt-fm-item{margin:0;display:flex;flex-direction:column;gap:.55rem;min-width:0}
.gt-fm-tile{display:block;position:relative;aspect-ratio:16/9;border-radius:16px;overflow:hidden;border:1.5px solid rgba(255,255,255,.4);background:#000;transition:transform .18s,border-color .18s}
a.gt-fm-tile{cursor:zoom-in}
a.gt-fm-tile:hover{transform:translateY(-4px);border-color:#fff}
a.gt-fm-tile:focus-visible{outline:2px solid #fff;outline-offset:2px}
.gt-fm-tile img,.gt-fm-tile video{display:block;width:100%;height:100%;object-fit:cover;border-radius:0;background:#000}
.gt-fm-video video{object-fit:contain}
.gt-fm-shot img{object-position:50% 33%}
.gt-fm-grid.gt-fm-n1{grid-template-columns:minmax(0,560px);justify-content:center}
.gt-fm-grid.gt-fm-n2{grid-template-columns:repeat(2,minmax(0,1fr))}
.gt-fm-embed{cursor:pointer;background:#0d0f16 linear-gradient(135deg,#1b1530,#0d0f16)}
.gt-fm-embed img{opacity:.85;transition:opacity .18s}
.gt-fm-embed:hover img{opacity:1}
.gt-fm-embed:hover{transform:translateY(-4px);border-color:#fff}
.gt-fm-play{position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;background:rgba(10,10,16,.72);border:2px solid rgba(255,255,255,.85);box-shadow:0 6px 24px rgba(0,0,0,.5)}
.gt-fm-play:after{content:"";position:absolute;left:25px;top:19px;border-style:solid;border-width:13px 0 13px 21px;border-color:transparent transparent transparent #fff}
.gt-fm-embed iframe{display:block;width:100%;height:100%;border:0}
.gt-fm-embed.gt-on{cursor:default;transform:none}

/* favorite games without cover art: a title card */
.gt-game-text{display:flex;align-items:center;justify-content:center;padding:1rem .7rem;cursor:default;background:linear-gradient(160deg,#2a1840 0%,#16131f 55%,#0c0c12 100%)}
.gt-game-text span{color:#fff;text-align:center;font-family:'Barlow Condensed','Barlow',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;font-weight:800;font-style:italic;font-size:1.35rem;line-height:1.1;text-transform:uppercase;overflow-wrap:break-word;hyphens:auto}
.gt-game-text:hover{transform:none;border-color:rgba(255,255,255,.4)}
.gt-games-row:has(> :nth-child(1):last-child),.gt-games-row:has(> :nth-child(2):last-child),.gt-games-row:has(> :nth-child(3):last-child),.gt-games-row:has(> :nth-child(4):last-child){grid-template-columns:repeat(auto-fit,minmax(0,200px));justify-content:center}

/* the owner's prompts for empty sections */
.gt-sc-empty{margin:0;text-align:center}
.gt-sc-empty a{display:inline-block;padding:1.1rem 1.6rem;border:1.5px dashed rgba(255,255,255,.35);border-radius:14px;color:#cfd3dc!important;text-decoration:none!important;font:700 1rem 'Barlow',system-ui,sans-serif;letter-spacing:.03em}
.gt-sc-empty a:hover{border-color:#fff;color:#fff!important}

/* member profiles: the showcase sits full width at the top of Home */
.gt-showcase{margin:0 0 2rem;color:#fff}
.gt-showcase .gt-sec:first-child{margin-top:.6rem}
.gt-showcase .gt-badge-holder{list-style:none!important}
.gt-showcase .gt-badge-item span{display:block}
.gt-showcase .gt-badge-holder{flex-wrap:nowrap!important}
.gt-showcase .gt-badge-item{flex:1 1 0!important;min-width:0;padding:.2rem .3rem!important}
.gt-showcase .gt-badge-item .gt-badge-ico{width:72px;height:72px}
@media (max-width:819px){.gt-showcase .gt-badge-holder{flex-wrap:wrap!important}.gt-showcase .gt-badge-item{flex:1 1 30%!important}}
.gt-gbmain .gt-profile-links{display:flex;flex-wrap:wrap;gap:.5rem;margin:.9rem 0 0}
.gt-gbmain .gt-profile-link{min-height:34px;padding:.3rem .85rem;font-size:.95rem}
.gt-fm-item figcaption{text-align:center;color:#fff;font-family:'Barlow Condensed','Barlow',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;font-weight:700;font-size:1.15rem;letter-spacing:.02em;text-transform:uppercase;line-height:1.1}
@media (max-width:819px){.gt-fm-grid,.gt-fm-grid.gt-fm-n1,.gt-fm-grid.gt-fm-n2{grid-template-columns:1fr;gap:1rem}.gt-fm-tile{border-radius:10px}.gt-game-text span{font-size:.8rem}}

/* enlarged view */
.gt-lightbox{position:fixed;inset:0;z-index:99999;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.7rem;padding:2.5rem 1rem 1.5rem;background:rgba(5,6,10,.92);cursor:zoom-out}
.gt-lightbox img{max-width:min(94vw,1500px);max-height:80vh;object-fit:contain;image-rendering:auto;border-radius:6px;box-shadow:0 20px 60px rgba(0,0,0,.6);background:#000}
.gt-lightbox p{margin:0;color:#e8e8ee;font:600 .95rem/1.3 system-ui,sans-serif;text-align:center}
.gt-lightbox button{position:absolute;top:.8rem;right:1rem;width:2.6rem;height:2.6rem;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font:400 1.6rem/1 system-ui,sans-serif;cursor:pointer}
.gt-lightbox button:hover{background:rgba(255,255,255,.28)}

.gt-robot-media.gt-emptied,.gt-robot-media:not(:has(*)){display:none!important}

/* ---------- member profile header (same card as the author page) ---------- */
.gt-phero{margin:0 0 .4rem;color:#fff;box-sizing:border-box}
.gt-phero *{box-sizing:border-box}
.gt-phero .gt-hero-in{grid-template-columns:auto minmax(0,1fr);padding-right:4.5rem}
.gt-ph-avatar{width:200px;height:200px;flex:none;display:flex;align-items:center;justify-content:center}
.gt-ph-avatar>.gt-avatar{width:200px!important;height:200px!important;border-radius:20px}
.gt-ph-avatar img{width:100%!important;height:100%!important;object-fit:cover;border-radius:18px}
.gt-phero .gt-hero-nameline h1{font-size:clamp(2.6rem,5vw,4rem)!important;color:#fff}
.gt-phero .gt-hero-nameline h1 .gt-name{font-size:inherit}
.gt-phero .gt-hero-bio p{white-space:normal}
.gt-sc-hint a{color:#cfd3dc!important;font-weight:700;text-decoration:none;border-bottom:1px dashed rgba(255,255,255,.4)}
.gt-hero-btns .gt-hero-acts{display:contents}
.gt-hero-btns .gt-hero-acts>*{min-height:40px;border-radius:10px!important}

/* the stats strip across the bottom of the card */
.gt-hero-stats{position:relative;display:grid;grid-template-columns:1.25fr 1.45fr .85fr .85fr .85fr 1.5fr 1.15fr;gap:0;margin:1.6rem 0 0;padding:0;border:1.5px solid rgba(255,255,255,.16);border-radius:14px;background:rgba(0,0,0,.35);overflow:hidden}
.gt-hero-stats>div{margin:0;padding:.85rem 1rem;min-width:0;border-left:1px solid rgba(255,255,255,.12)}
.gt-hero-stats>div:first-child{border-left:0}
.gt-hero-stats dt{margin:0 0 .2rem;color:rgba(255,255,255,.62);font:700 .72rem/1.2 'Barlow',system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gt-hero-stats dd{margin:0;color:#fff;font:800 1.45rem/1.15 'Barlow Condensed','Barlow',system-ui,sans-serif;white-space:nowrap}
.gt-hs-rank dd{background:linear-gradient(90deg,#ff5fe3,#b66cff);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.gt-hs-level .gt-xpbar{display:block;height:6px;margin-top:.45rem;border-radius:99px;background:rgba(255,255,255,.12);overflow:hidden}
.gt-hs-level .gt-xpbar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ff4ecd,#8e5bff)}
.gt-hs-tro dd{display:flex;gap:.55rem;font-size:1.15rem}
.gt-hs-tro dd span{display:inline-flex;align-items:center;gap:.2rem}
.gt-hs-tro .gt-tro{width:18px;height:18px}

/* the profile record, top right */
.gt-disc{position:absolute;top:1.1rem;right:1.1rem;z-index:3;display:flex;flex-direction:column;align-items:center;gap:.35rem;max-width:7.5rem;text-decoration:none!important}
.gt-disc-btn{position:relative;width:64px;height:64px;padding:0;border:0;border-radius:50%;background:none;cursor:pointer}
.gt-disc-rec{position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle at 50% 50%,#ff4ecd 0 15%,#1a1a1f 16% 18%,#0b0b0e 19% 30%,#1c1c22 31% 32%,#0b0b0e 33% 44%,#1c1c22 45% 46%,#0b0b0e 47% 58%,#1c1c22 59% 60%,#0b0b0e 61% 100%);box-shadow:0 0 0 2px rgba(255,255,255,.35),0 8px 22px rgba(0,0,0,.55)}
.gt-disc-rec:before{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 20deg,transparent 0 40deg,rgba(255,255,255,.18) 55deg,transparent 75deg 220deg,rgba(255,255,255,.12) 235deg,transparent 255deg)}
.gt-disc-rec i{position:absolute;left:50%;top:50%;width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%;background:#0b0b0e}
.gt-disc-ico{position:absolute;right:-4px;bottom:-4px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.5)}
.gt-disc-ico:after{content:"";position:absolute;left:10px;top:7px;border-style:solid;border-width:6px 0 6px 9px;border-color:transparent transparent transparent #111}
.gt-playing .gt-disc-ico:after{left:8px;top:8px;width:10px;height:10px;border:0;border-left:3px solid #111;border-right:3px solid #111;box-sizing:border-box}
.gt-playing .gt-disc-rec{animation:gt-spin 2.2s linear infinite;box-shadow:0 0 0 2px #ff4ecd,0 0 22px rgba(255,78,205,.55)}
@keyframes gt-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.gt-playing .gt-disc-rec{animation:none}}
.gt-disc-btn:focus-visible{outline:2px solid #fff;outline-offset:3px}
.gt-disc-title{max-width:7.5rem;color:rgba(255,255,255,.8);font:700 .7rem/1.2 'Barlow',system-ui,sans-serif;letter-spacing:.04em;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gt-disc-empty{position:absolute}
.gt-disc-empty .gt-disc-rec{position:relative;display:block;width:52px;height:52px;opacity:.45}
.gt-disc-add{color:#cfd3dc;font:700 .72rem 'Barlow',system-ui,sans-serif}
.gt-disc-empty:hover .gt-disc-rec{opacity:.8}

/* articles on the profile */
.gt-sc-articles .quick-grid{margin-top:0}
.gt-sc-more{text-align:center;margin:1.2rem 0 0}
.gt-sc-more a{color:#fff!important;font-weight:700;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.4)}
.gt-gbone{grid-template-columns:1fr!important}
.gt-sc-disc{border-radius:50%!important;background:radial-gradient(circle,#ff4ecd 0 18%,#0b0b0e 20% 100%)!important}

@media (max-width:1000px){
  .gt-hero-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
  .gt-hero-stats>div:nth-child(5){border-left:0}
  .gt-hero-stats>div:nth-child(n+5){border-top:1px solid rgba(255,255,255,.12)}
  .gt-hs-level{grid-column:span 2}
}
@media (max-width:819px){
  .gt-phero .gt-hero-in{grid-template-columns:auto minmax(0,1fr);padding-right:0}
  .gt-ph-avatar,.gt-ph-avatar>.gt-avatar{width:104px!important;height:104px!important}
  .gt-phero .gt-hero-main{display:contents}
  .gt-phero .gt-hero-top{grid-column:2;align-self:center;padding-right:3.6rem}
  .gt-phero .gt-hero-bio{grid-column:1/-1}
  .gt-phero .gt-hero-nameline h1{font-size:2.1rem!important}
  .gt-phero .gt-hero-role{font-size:1.1rem!important}
  .gt-hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gt-hero-stats>div{border-left:0!important;border-top:1px solid rgba(255,255,255,.12)}
  .gt-hero-stats>div:nth-child(-n+2){border-top:0}
  .gt-hero-stats>div:nth-child(even){border-left:1px solid rgba(255,255,255,.12)!important}
  .gt-hs-level{grid-column:auto}
  .gt-disc{top:.8rem;right:.8rem}
  .gt-disc-btn{width:50px;height:50px}
  .gt-disc-title{display:none}
  .gt-games-row:has(> :nth-child(1):last-child),.gt-games-row:has(> :nth-child(2):last-child),.gt-games-row:has(> :nth-child(3):last-child),.gt-games-row:has(> :nth-child(4):last-child){grid-template-columns:repeat(auto-fit,minmax(0,1fr))}
}

.gt-hs-tro dd{gap:.7rem}
.gt-hero-btns .gt-hero-acts a,.gt-hero-btns .gt-hero-acts button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:.45rem 1.05rem!important;border:1.5px solid rgba(255,255,255,.4)!important;border-radius:10px!important;background:#16171b!important;color:#fff!important;text-decoration:none!important;font:700 1.05rem/1.1 'Barlow Condensed','Barlow',system-ui,sans-serif!important;letter-spacing:.02em;text-transform:uppercase;cursor:pointer;box-shadow:none!important}
.gt-hero-btns .gt-hero-acts a:hover,.gt-hero-btns .gt-hero-acts button:hover{border-color:#fff!important;background:#20222a!important}
.gt-hero-btns .gt-hero-acts .gt-sbtn:not(.gt-sbtn-ghost){background:linear-gradient(135deg,#ff4ecd,#8e24aa)!important;border-color:transparent!important}

@media (max-width:819px){
  .gt-phero .gt-hero-btns>*,.gt-phero .gt-hero-btns .gt-hero-acts>*,.gt-phero .gt-hero-btns .gt-profile-links>*{flex:1 1 100%!important;justify-content:center}
  .gt-phero .gt-disc-btn{width:42px;height:42px}
  .gt-phero .gt-disc-ico{width:20px;height:20px;right:-3px;bottom:-3px}
  .gt-phero .gt-disc-ico:after{left:7px;top:5px;border-width:5px 0 5px 7px}
  .gt-phero.gt-playing .gt-disc-ico:after,.gt-phero .gt-playing .gt-disc-ico:after{left:5px;top:5px;width:10px;height:10px;border-width:0 3px}
}

/* ---------- member profiles (GameBattles style): the showcase pieces fit the profile's own look ---------- */
.gt-gbhead>.gt-disc{position:static;order:2;align-self:flex-start;margin:.2rem .4rem 0 auto}
.gt-gbhead>.gt-gbbtns{order:3}
.gt-gbhead>.gt-disc-empty .gt-disc-rec{width:46px;height:46px}
.gt-gbhead .gt-disc-btn{width:58px;height:58px}
.gt-gbmainc .gt-sec{margin:0 0 1.8rem}
.gt-gbmainc .gt-sec-title{justify-content:flex-start;gap:.9rem;margin:0 0 .9rem;font:700 .85rem 'Barlow',sans-serif;letter-spacing:.8px;color:#cfd3dc;text-transform:uppercase;font-style:normal}
.gt-gbmainc .gt-sec-title:before{display:none}
.gt-gbmainc .gt-sec-title:after{max-width:none;background:rgba(255,255,255,.18)}
.gt-gbmainc .gt-games-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:.7rem}
.gt-gbmainc .gt-games-row:has(> :nth-child(1):last-child),.gt-gbmainc .gt-games-row:has(> :nth-child(2):last-child),.gt-gbmainc .gt-games-row:has(> :nth-child(3):last-child),.gt-gbmainc .gt-games-row:has(> :nth-child(4):last-child){grid-template-columns:repeat(5,minmax(0,1fr));justify-content:start}
.gt-gbmainc .gt-game{border-radius:10px}
.gt-gbmainc .gt-game-text span{font-size:1rem}
.gt-gbmainc .gt-fm-grid{gap:.8rem}
.gt-gbmainc .gt-fm-grid.gt-fm-n1{grid-template-columns:minmax(0,420px);justify-content:start}
.gt-gbmainc .gt-fm-tile{border-radius:10px}
.gt-gbmainc .gt-fm-item figcaption{font-size:.95rem;text-align:left}
.gt-gbmainc .gt-sc-empty{text-align:left}
.gt-gbmainc .gt-sc-empty a{padding:.7rem 1.1rem;font-size:.9rem}
.gt-gbmain .gt-profile-links{margin:.8rem 0 0}
@media (max-width:819px){
  .gt-gbhead>.gt-disc{position:absolute;top:.8rem;right:.8rem;margin:0}
  .gt-gbhead .gt-disc-btn{width:46px;height:46px}
  .gt-gbmainc .gt-games-row,.gt-gbmainc .gt-games-row:has(> :nth-child(1):last-child),.gt-gbmainc .gt-games-row:has(> :nth-child(2):last-child),.gt-gbmainc .gt-games-row:has(> :nth-child(3):last-child),.gt-gbmainc .gt-games-row:has(> :nth-child(4):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* Author pages on a phone: games with no cover art read as a list of bars, not five slivers with the titles cut mid-word */
@media (max-width:819px){
  .gt-author-root .gt-games-row:not(:has(img)){grid-template-columns:1fr!important;gap:.45rem}
  .gt-author-root .gt-games-row:not(:has(img)) .gt-game-text{aspect-ratio:auto;justify-content:flex-start;padding:.75rem 1rem;border-radius:10px}
  .gt-author-root .gt-games-row:not(:has(img)) .gt-game-text span{font-size:1.05rem;text-align:left}
}
