/* Homepage: Player Profiles replaces the compact Arcade slot.
   The Arcade is a separate, full-width section only when the server/public
   feature permissions make the game available to this visitor. */
body[data-current-view="home"] #content .h162-root .h263-home-profile {
  display:flex;
  flex-direction:column;
  gap:15px;
  min-height:340px;
  height:100%;
  min-width:0;
}
#content .h263-home-profile .h162-home-heading h2 {
  margin:0!important;
}
#content .h263-home-profile .h263-profile-intro {
  margin:0;
  max-width:52ch;
  color:#b6d1e4;
  font-size:13px;
  line-height:1.5;
}
#content .h263-profile-identity,
#content .h263-profile-guest {
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  padding:15px;
  border:1px solid rgba(171,222,251,.24);
  border-radius:16px;
  background:linear-gradient(135deg,rgba(144,206,248,.15),rgba(30,75,125,.23));
}
#content .h263-profile-avatar {
  display:grid;
  place-items:center;
  width:64px;
  height:64px;
  flex:0 0 64px;
  border:1px solid rgba(173,220,250,.3);
  border-radius:15px;
  background:linear-gradient(135deg,rgba(120,190,244,.17),rgba(33,80,131,.25));
  overflow:hidden;
}
#content .h263-profile-avatar img {
  display:block;
  width:55px;
  height:55px;
  object-fit:contain;
  image-rendering:pixelated;
}
#content .h263-profile-who,
#content .h263-profile-guest>div {
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}
#content .h263-profile-who strong,
#content .h263-profile-guest strong {
  font-size:clamp(15px,1.45vw,19px);
  line-height:1.2;
  color:#eaf8ff;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#content .h263-profile-who span,
#content .h263-profile-guest>div>span {
  color:#b5ccdf;
  font-size:12px;
  line-height:1.42;
}
#content .h263-profile-steps {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
  min-width:0;
}
#content .h263-profile-step,
#content .h263-profile-done,
#content .h263-profile-pending {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:37px;
  border:1px solid rgba(174,218,245,.35);
  border-radius:10px;
  padding:8px 12px;
  font:inherit;
  font-size:12px;
  font-weight:750;
  text-decoration:none;
  line-height:1.25;
  color:#deefff;
}
#content .h263-profile-step {
  cursor:pointer;
  background:linear-gradient(145deg,rgba(81,147,211,.28),rgba(32,92,156,.25));
}
#content .h263-profile-step:hover,
#content .h263-profile-step:focus-visible {
  border-color:rgba(207,245,255,.82);
  background:rgba(80,161,221,.4);
}
#content .h263-primary-step {
  border-color:rgba(166,201,255,.55);
  background:linear-gradient(145deg,rgba(88,114,205,.48),rgba(53,79,161,.44));
}
#content .h263-profile-done {
  background:rgba(75,161,145,.12);
  color:#b9f0e5;
  border-color:rgba(129,204,190,.32);
}
#content .h263-profile-pending {
  color:#a9c4d9;
  border-color:transparent;
  padding-inline:4px;
  font-weight:600;
}
#content .h263-profile-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:auto;
  padding-top:13px;
  border-top:1px solid rgba(166,216,244,.18);
}
#content .h263-profile-action {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  flex:1 1 150px;
  padding:10px 14px;
  border:1px solid rgba(172,215,246,.35);
  border-radius:11px;
  background:rgba(41,96,144,.22);
  color:#e3f4ff;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}
#content .h263-profile-action:hover,
#content .h263-profile-action:focus-visible {
  background:rgba(83,158,213,.28);
  border-color:rgba(214,243,255,.8);
}
#content .h263-profile-main {
  background:linear-gradient(135deg,rgba(137,207,234,.3),rgba(67,137,184,.24));
  border-color:rgba(158,219,239,.5);
}
body[data-current-view="home"] #content .h162-root .h263-arcade-wide {
  width:100%;
  max-width:100%;
  height:auto!important;
  min-height:0!important;
  box-sizing:border-box;
}
#content .h263-arcade-wide .h241-arcade-games {
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  align-items:stretch;
}
#content .h263-arcade-wide .h241-arcade-game {
  min-height:172px;
}
#content .h263-arcade-wide .h241-arcade-heading {
  flex-wrap:wrap;
}
#content .h263-arcade-open {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border:1px solid rgba(168,220,249,.43);
  border-radius:11px;
  background:rgba(58,124,181,.2);
  color:#e1f3ff;
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
#content .h263-arcade-open:hover,
#content .h263-arcade-open:focus-visible {
  background:rgba(100,173,224,.28);
  border-color:rgba(209,243,255,.83);
}
@media(max-width:860px) {
 body[data-current-view="home"] #content .h162-root .h263-home-profile {
   height:auto!important;
   min-height:0;
 }
 body[data-current-view="home"] #content .h162-root .h263-arcade-wide .h241-arcade-games {
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
@media(max-width:420px) {
 body[data-current-view="home"] #content .h162-root .h263-arcade-wide .h241-arcade-games {
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:8px!important;
 }
 #content .h263-arcade-wide .h241-arcade-game {min-height:156px;padding:10px 5px;}
 #content .h263-profile-avatar {width:56px;height:56px;flex-basis:56px;}
 #content .h263-profile-avatar img {width:48px;height:48px;}
 #content .h263-profile-identity,#content .h263-profile-guest {padding:11px;gap:10px;}
}
@media(prefers-reduced-motion:reduce) {
 #content .h263-profile-step,
 #content .h263-profile-action,
 #content .h263-arcade-open {transition:none!important;}
}

/* 2026-11-17: account-provider controls and a compact, real archive overview.
   All art uses the existing game/site icons; no invented award graphics. */
body[data-current-view="home"] #content .h162-root .h264-profile-card {
 gap:12px;
 min-height:0;
 background:radial-gradient(ellipse at 100% 0%,rgba(96,186,251,.12),transparent 55%),
            linear-gradient(145deg,rgba(39,91,149,.41),rgba(13,37,75,.55))!important;
}
#content .h264-profile-hero {
 display:flex;align-items:center;gap:14px;padding:13px;
 min-width:0;
 border:1px solid rgba(161,217,254,.29);
 border-radius:16px;
 background:linear-gradient(132deg,rgba(110,188,241,.18),rgba(28,71,128,.30));
 box-shadow:inset 0 1px rgba(229,249,255,.1);
}
#content .h264-profile-card .h263-profile-avatar {
 display:grid;place-items:center;flex:0 0 62px;
 width:62px;height:62px;border-radius:14px;overflow:hidden;
 background:rgba(109,165,212,.16);
}
#content .h264-profile-card .h263-profile-avatar img {
 display:block;width:100%;height:100%;
 object-fit:cover;image-rendering:auto;
}
#content .h264-profile-ident {
 display:flex;flex-direction:column;gap:5px;min-width:0;flex:1;
}
#content .h264-profile-eyebrow {
 color:#9ec7e8;font-size:9.5px;font-weight:800;letter-spacing:.10em;
}
#content .h264-profile-ident strong {
 display:flex;align-items:center;gap:6px;min-width:0;
 font-size:clamp(17px,1.65vw,21px);
 font-weight:850;line-height:1.18;color:#f2faff;
 white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
#content .h264-profile-ident>span:last-child {
 font-size:11.5px;line-height:1.4;color:#b4d2e9;
}
#content .h264-verified-icon {
 display:inline-block;width:18px;height:18px;object-fit:contain;
 image-rendering:pixelated;flex-shrink:0;
}
#content .h264-profile-label,
#content .h264-overview-caption>span {
 color:#aecde5;font-size:10px;font-weight:850;
 letter-spacing:.07em;text-transform:uppercase;
}
#content .h264-connect-section {
 display:flex;flex-direction:column;gap:8px;min-width:0;
}
#content .h264-providers {
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:8px;min-width:0;
}
#content .h264-provider {
 position:relative;display:flex;align-items:center;gap:9px;
 min-width:0;min-height:57px;padding:9px 10px;
 box-sizing:border-box;border-radius:12px;
 border:1px solid rgba(178,216,244,.27);
 color:#e9f5ff;text-decoration:none!important;
 transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
#content a.h264-provider,
#content button.h264-provider {
 cursor:pointer;font:inherit;text-align:left;
}
#content a.h264-provider:is(:hover,:focus-visible),
#content button.h264-provider:is(:hover,:focus-visible){
 transform:translateY(-2px);border-color:rgba(216,242,255,.83);
}
#content .h264-provider-discord{
 background:linear-gradient(145deg,rgba(87,101,242,.36),rgba(66,83,171,.21));
 border-color:rgba(143,151,250,.47);
}
#content .h264-provider-google{
 background:linear-gradient(145deg,rgba(232,239,247,.16),rgba(81,123,164,.15));
 border-color:rgba(188,213,237,.34);
}
#content .h264-provider-growid{
 background:linear-gradient(145deg,rgba(206,174,83,.24),rgba(103,92,42,.15));
 border-color:rgba(226,202,116,.40);
}
#content .h264-provider-linked{box-shadow:inset 0 1px rgba(222,254,251,.08);}
#content .h264-provider-disabled{opacity:.58;}
#content .h264-provider-art {
 flex:0 0 27px;width:27px;height:30px;
 display:grid;place-items:center;
}
#content .h264-provider-art img {width:28px;height:28px;object-fit:contain;image-rendering:pixelated;}
#content .h264-discord-mark{width:25px;height:25px;display:block;color:#c7d0ff;}
#content .h264-google-mark{
 display:block;font-size:29px;line-height:1;
 font-family:Arial,sans-serif;font-weight:800;
 background:conic-gradient(#4285f4 0deg 75deg,#34a853 75deg 145deg,
 #fbbc05 145deg 207deg,#ea4335 207deg 290deg,#4285f4 290deg);
 -webkit-background-clip:text;background-clip:text;
 color:transparent;
}
#content .h264-provider-copy{
 display:flex;flex-direction:column;gap:4px;
 flex:1;min-width:0;
}
#content .h264-provider-copy b{
 color:#eff8ff;font-size:12.5px;line-height:1.1;font-weight:800;
 white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
#content .h264-provider-copy small{
 color:#b9d4e9!important;font-size:10px!important;
 white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
#content .h264-provider-check {
 color:#a9f4d2;font-size:15px;font-weight:900;flex:0 0 auto;
}
#content .h264-provider-arrow {color:#d1ebff;font-size:14px;font-weight:800;}
#content .h264-profile-overview {
 display:flex;flex-direction:column;gap:12px;
 padding:0;min-width:0;
}
#content .h264-overview-loading,
#content .h264-overview-empty,
#content .h264-profile-awaiting {
 margin:0!important;padding:11px 13px;
 border:1px dashed rgba(171,216,244,.23);border-radius:11px;
 background:rgba(44,97,152,.13);
 color:#adcade;font-size:11.5px!important;line-height:1.5!important;
}
#content .h264-overview-counts {
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:8px;min-width:0;
}
#content .h264-overview-stat {
 display:flex;align-items:center;gap:9px;min-width:0;
 padding:11px 9px;box-sizing:border-box;
 border:1px solid rgba(159,213,245,.22);border-radius:12px;
 background:linear-gradient(135deg,rgba(133,199,252,.13),rgba(23,69,118,.22));
}
#content .h264-overview-stat img {
 width:32px;height:32px;flex:0 0 32px;
 object-fit:contain;image-rendering:pixelated;
}
#content .h264-overview-stat>div{
 display:flex;flex-direction:column;gap:3px;min-width:0;
}
#content .h264-overview-stat strong{
 font-size:clamp(16px,1.6vw,21px);line-height:1;color:#effbff;
 font-weight:850;font-variant-numeric:tabular-nums;
}
#content .h264-overview-stat span{
 font-size:10px;line-height:1.3;color:#b7d2e6;
}
#content .h264-overview-honors-wrap{
 display:flex;flex-direction:column;gap:8px;min-width:0;
}
#content .h264-overview-caption{
 display:flex;align-items:center;justify-content:space-between;
 gap:9px;min-width:0;
}
#content .h264-overview-caption button{
 border:0;background:transparent;padding:5px 0;
 font-size:11px;font-weight:800;color:#bfe9fd;
 text-decoration:none;cursor:pointer;
}
#content .h264-overview-caption button:is(:hover,:focus-visible){
 color:#fff;text-decoration:underline;
}
#content .h264-overview-honors{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;
}
#content .h264-honor-pill{
 display:flex;align-items:center;gap:9px;min-height:42px;
 min-width:0;box-sizing:border-box;padding:7px 9px;
 border:1px solid rgba(174,217,245,.22);border-radius:10px;
 background:rgba(76,137,191,.12);
 color:#e0f3fe;
}
#content .h264-honor-pill img{
 width:29px;height:29px;flex:0 0 29px;object-fit:contain;
 image-rendering:pixelated;
}
#content .h264-honor-pill span{
 font-size:11px;font-weight:740;line-height:1.25;
 min-width:0;overflow:hidden;text-overflow:ellipsis;
 display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
}
#content .h264-honor-more{
 display:flex;align-items:center;color:#bad7e9;
 font-size:11px;font-weight:700;padding:6px 9px;
}
#content .h264-profile-card .h263-profile-actions {
 padding-top:12px;gap:9px;margin-top:auto;
}
#content .h264-profile-card .h263-profile-action{
 min-height:39px;
}
body[data-current-view="home"] #content .h162-root > .h162-favorites-card{
 box-sizing:border-box;width:100%;min-width:0;
 margin-top:0;
}
body[data-current-view="home"] #content .h162-root > .h263-arcade-wide{
 margin-bottom:var(--h188-gap,16px);
}
body[data-current-view="home"] #content .h162-root > .h263-arcade-wide.h247-arcade-coming{
 min-height:245px!important;height:auto!important;
 justify-content:center;
}
#content .h263-arcade-wide.h247-arcade-coming .h247-unrevealed-body{
 min-height:0;gap:12px;padding:19px;
}
#content .h264-mystery-bubbles{
 display:flex;align-items:center;justify-content:center;gap:14px;
}
#content .h264-mystery-bubbles .h247-unrevealed-bubble{
 flex:0 0 70px;width:70px;height:70px;border-radius:17px;
}
#content .h264-mystery-bubbles .h247-unrevealed-bubble:nth-child(2){
 flex-basis:88px;width:88px;height:88px;border-radius:20px;
}
#content .h264-mystery-bubbles .h247-unrevealed-bubble img{
 width:50px;height:50px;
}
#content .h264-mystery-bubbles .h247-unrevealed-bubble:nth-child(2) img{
 width:64px;height:64px;
}
#content .h264-mystery-bubbles .h247-unrevealed-bubble:first-child,
#content .h264-mystery-bubbles .h247-unrevealed-bubble:last-child{
 opacity:.55;
}
@media(max-width:600px){
 #content .h264-providers{grid-template-columns:repeat(2,minmax(0,1fr));}
 #content .h264-providers .h264-provider-growid{grid-column:1/-1;}
 #content .h264-overview-stat{padding:8px 6px;gap:6px;}
 #content .h264-overview-stat img{width:26px;height:26px;flex-basis:26px;}
 #content .h264-overview-stat strong{font-size:16px;}
 #content .h264-mystery-bubbles{gap:8px;}
 #content .h264-mystery-bubbles .h247-unrevealed-bubble{
  flex-basis:57px;width:57px;height:57px;
 }
 #content .h264-mystery-bubbles .h247-unrevealed-bubble:nth-child(2){
  flex-basis:72px;width:72px;height:72px;
 }
 #content .h264-mystery-bubbles .h247-unrevealed-bubble img{width:40px;height:40px;}
 #content .h264-mystery-bubbles .h247-unrevealed-bubble:nth-child(2) img{width:52px;height:52px;}
}
@media(max-width:370px){
 #content .h264-overview-stat{flex-direction:column;align-items:flex-start;}
 #content .h264-overview-honors{grid-template-columns:minmax(0,1fr);}
 #content .h264-provider{gap:6px;padding:8px 7px;}
}
@media(prefers-reduced-motion:reduce){
 #content .h264-provider{transition:none!important;}
 #content .h264-provider:is(:hover,:focus-visible){transform:none!important;}
}

/* Homepage row sizing: calendar events, annual events and Player Profiles
   share a compact row unaffected by authentication or award counts. */
@media (min-width:981px) {
 /* The profile used to fix the whole event row at 410px. Set one shared,
    smaller row height so the two event cards never grow just because
    account stats or guest onboarding exist in the neighboring card. */
 body[data-current-view="home"] #content .h162-root .h164-home-lower {
  --h267-row-height:375px;
  grid-template-rows:var(--h267-row-height)!important;
 }
 body[data-current-view="home"] #content .h162-root .h164-home-lower > .h164-home-events {
  box-sizing:border-box!important;
  height:var(--h267-row-height)!important;
  min-height:0!important;
  max-height:var(--h267-row-height)!important;
 }
 body[data-current-view="home"] #content .h162-root .h164-home-events > .h242-event-card {
  box-sizing:border-box!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
 }
 body[data-current-view="home"] #content .h162-root .h164-home-lower > .h264-profile-card {
  box-sizing:border-box!important;
  height:var(--h267-row-height)!important;
  min-height:var(--h267-row-height)!important;
  max-height:var(--h267-row-height)!important;
  padding:13px 18px 12px!important;
  gap:7px!important;
  overflow:hidden!important;
  align-self:start!important;
 }
 body[data-current-view="home"] #content .h162-root .h164-home-lower > .h264-profile-card .h162-home-heading {
  margin:0!important;
  flex:0 0 auto;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-profile-hero {
  min-height:0!important;
  padding:7px 11px!important;
  gap:11px!important;
  flex:0 0 auto;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h263-profile-avatar {
  width:47px!important;height:47px!important;flex:0 0 47px!important;
  border-radius:12px!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-profile-ident {
  gap:2px!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-profile-ident>span:last-child{
  font-size:10.5px!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-profile-overview{
  min-height:0!important;flex:0 1 auto!important;gap:6px!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-counts{
  gap:7px!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat{
  box-sizing:border-box!important;min-height:43px!important;
  padding:6px 9px!important;gap:7px!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat img{
  width:25px!important;height:25px!important;flex:0 0 25px!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat strong{
  font-size:17px!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-honors-wrap{
  gap:3px!important;min-height:0!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-caption{
  min-height:15px!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-caption button{
  padding:0!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-honors{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:6px!important;min-width:0!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-honor-pill{
  min-width:0!important;min-height:35px!important;
  padding:4px 7px!important;gap:6px!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-honor-pill img{
  width:23px!important;height:23px!important;flex:0 0 23px!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-honor-pill span{
  font-size:10px!important;
  -webkit-line-clamp:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;text-overflow:ellipsis!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-connect-section{
  gap:4px!important;flex:0 0 auto!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-providers{
  gap:7px!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-provider{
  min-height:44px!important;padding:6px 9px!important;gap:7px!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-provider-art{
  width:23px!important;height:25px!important;flex:0 0 23px!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-provider-art img,
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-discord-mark{
  width:23px!important;height:23px!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-google-mark{
  font-size:24px!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-profile-actions{
  margin-top:auto!important;padding-top:7px!important;gap:9px!important;
  flex:0 0 auto!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h263-profile-action{
  min-height:34px!important;padding:6px 10px!important;
 }
}
#content .h264-overview-caption .h264-honor-more {
 color:#91b6d1;font-size:10px;font-weight:650;letter-spacing:0;
 text-transform:none;white-space:nowrap;
}
/* On actual phone layouts the card must remain readable instead of cropping.
   Phone cards stack independently, so they cannot stretch the event row. */
@media (max-width:980px) {
 body[data-current-view="home"] #content .h162-root .h164-home-lower > .h264-profile-card {
  height:auto!important;min-height:0!important;
  max-height:none!important;overflow:visible!important;
 }
 #content .h264-profile-card .h264-overview-honors {
  grid-template-columns:repeat(3,minmax(0,1fr));
 }
}
@media (max-width:600px) {
 #content .h264-profile-card .h264-overview-honors {
  grid-template-columns:repeat(2,minmax(0,1fr));
 }
}
@media (max-width:370px) {
 #content .h264-profile-card .h264-overview-honors {
  grid-template-columns:minmax(0,1fr);
 }
}

/* 2026-11-17: One intentional Home profiles header.
   The old avatar/name hero doubled the heading; identity now sits quietly
   beside the page title, just like a compact connected account chip. */
body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-profile-header {
 display:flex;align-items:center;justify-content:space-between;
 gap:14px;min-width:0;flex:0 0 auto;
 padding:0 0 10px;
 border-bottom:1px solid rgba(173,214,242,.17);
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-profile-title {
 display:flex;align-items:center;gap:11px;min-width:0;
 flex:1 1 auto;margin:0!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-profile-title h2 {
 margin:0!important;line-height:1.15!important;
 white-space:nowrap;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-home-identity {
 display:flex;align-items:center;justify-content:flex-start;
 gap:9px;flex:0 1 auto;min-width:0;max-width:50%;
 padding:5px 10px 5px 5px;
 border:1px solid rgba(154,209,247,.22);
 border-radius:12px;background:rgba(57,107,162,.13);
 color:#eaf5fe;font:inherit;text-align:left;
 cursor:pointer;box-shadow:none;
 transition:background .16s ease,border-color .16s ease;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-home-identity:is(:hover,:focus-visible) {
 background:rgba(87,158,217,.23);
 border-color:rgba(192,231,254,.56);
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-identity-avatar {
 display:block;flex:0 0 34px;width:34px;height:34px;
 border-radius:8px;overflow:hidden;
 background:rgba(81,150,206,.15);
 border:1px solid rgba(173,218,247,.25);
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-identity-avatar img {
 display:block;width:100%;height:100%;object-fit:cover;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-identity-copy {
 display:flex;flex-direction:column;justify-content:center;
 min-width:0;gap:3px;flex:1;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-identity-copy strong {
 display:flex;align-items:center;gap:5px;
 min-width:0;max-width:100%;
 color:#eff9ff;font-size:13.5px;font-weight:850;line-height:1.1;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-growid-name {
 min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-verified-icon {
 display:block;width:15px;height:15px;flex:0 0 15px;
 object-fit:contain;image-rendering:pixelated;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-identity-copy small {
 color:#a9cde7!important;font-size:10px!important;
 line-height:1.1;white-space:nowrap;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-home-guest-note {
 display:inline-block;min-width:0;flex:0 1 auto;
 color:#a5c6de;font-size:11px;line-height:1.3;
 text-align:right;
}
@media (min-width:981px) {
 body[data-current-view="home"] #content .h162-root .h164-home-lower > .h264-profile-card .h265-profile-header {
  min-height:47px;
  box-sizing:border-box;
  padding-bottom:9px!important;
 }
 body[data-current-view="home"] #content .h162-root .h164-home-lower > .h264-profile-card {
  /* Identity and archives cannot change the common row height. */
  gap:11px!important;
 }
}
@media (max-width:620px) {
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-profile-header {gap:9px;}
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-profile-title {gap:8px;}
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-home-identity {
  max-width:48%;padding:4px 7px 4px 4px;gap:6px;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-identity-avatar {
  width:29px;height:29px;flex-basis:29px;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-identity-copy strong {
  font-size:12px;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-home-guest-note {
  display:none;
 }
}
@media (max-width:390px) {
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-profile-title h2 {
  font-size:17px!important;
 }
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-identity-copy small {
  display:none;
 }
}
@media (prefers-reduced-motion:reduce) {
 body[data-current-view="home"] #content .h162-root .h264-profile-card .h265-home-identity {
  transition:none!important;
 }
}

/* Signed-out Player Profiles: one explanatory preview that fills the card.
   This intentionally has no faux avatar, dummy wins, or duplicate title bar. */
body[data-current-view="home"] #content .h162-root .h266-profile-guest .h265-profile-header {
 padding-bottom:12px;
}
body[data-current-view="home"] #content .h162-root .h266-profile-guest .h266-guest-stage {
 position:relative;isolation:isolate;
 display:grid;grid-template-columns:minmax(0,1.4fr) minmax(175px,.9fr);
 align-items:center;gap:16px;
 flex:1 1 auto;min-height:0;min-width:0;
 box-sizing:border-box;
 border:1px solid rgba(165,213,248,.26);
 border-radius:15px;
 padding:15px 17px;
 background:
  radial-gradient(ellipse at 100% 0%,rgba(121,183,244,.17),transparent 63%),
  linear-gradient(130deg,rgba(73,141,202,.23),rgba(21,60,112,.20) 58%,rgba(16,47,94,.34));
 box-shadow:inset 0 1px rgba(222,243,255,.10);
 overflow:hidden;
}
#content .h266-profile-guest .h266-guest-copy {
 display:flex;flex-direction:column;justify-content:center;
 gap:7px;min-width:0;
}
#content .h266-profile-guest .h266-guest-kicker {
 font-size:9px;letter-spacing:.11em;
 font-weight:900;color:#a9d5f0;line-height:1.2;
}
#content .h266-profile-guest .h266-guest-copy h3 {
 margin:0!important;color:#f0faff;
 font-size:clamp(17px,1.7vw,22px);
 line-height:1.15;font-weight:860;letter-spacing:-.025em;
}
#content .h266-profile-guest .h266-guest-copy p {
 margin:0!important;
 font-size:11.5px!important;line-height:1.45!important;
 color:#b6d4e9;
 max-width:42ch;
}
#content .h266-profile-guest .h266-guest-steps {
 display:flex;flex-wrap:wrap;align-items:center;
 gap:7px;margin-top:4px;color:#d8edfa;
 font-size:10.5px;font-weight:750;
}
#content .h266-profile-guest .h266-guest-steps>span:not(.h266-steps-arrow) {
 display:inline-flex;align-items:center;gap:6px;
}
#content .h266-profile-guest .h266-guest-steps b {
 display:inline-grid;place-items:center;
 width:18px;height:18px;border-radius:6px;
 font-size:10px;font-weight:850;
 color:#e3f6ff;background:rgba(109,181,236,.21);
 border:1px solid rgba(165,215,248,.3);
}
#content .h266-profile-guest .h266-steps-arrow {
 color:#81badd;font-size:14px;
}
#content .h266-profile-guest .h266-guest-preview {
 display:grid;grid-template-columns:minmax(0,1fr);
 gap:7px;min-width:0;
}
#content .h266-profile-guest .h266-guest-preview>div {
 display:flex;align-items:center;gap:8px;
 min-width:0;min-height:37px;
 box-sizing:border-box;
 padding:6px 10px;
 border:1px solid rgba(169,213,245,.21);
 border-radius:10px;
 background:linear-gradient(125deg,rgba(114,174,229,.14),rgba(25,75,135,.22));
 color:#dcedfa;
}
#content .h266-profile-guest .h266-guest-preview img {
 width:26px;height:26px;flex:0 0 26px;
 object-fit:contain;image-rendering:pixelated;
}
#content .h266-profile-guest .h266-guest-preview span {
 min-width:0;
 font-size:10.5px;line-height:1.22;
 font-weight:750;
}
#content .h266-profile-guest .h264-connect-section {
 gap:7px;
}
#content .h266-profile-guest .h264-provider {
 min-height:52px;
}
#content .h266-profile-guest .h264-provider-growid.h264-provider-disabled {
 opacity:1;cursor:default;
 border-color:rgba(214,190,113,.30);
 background:linear-gradient(145deg,rgba(165,139,66,.17),rgba(89,75,41,.10));
}
#content .h266-profile-guest .h264-provider-growid.h264-provider-disabled .h264-provider-copy small {
 color:#c6bfa8!important;
}
#content .h266-profile-guest .h263-profile-actions {
 margin-top:auto;
}
/* Guest onboarding uses the same desktop row height as the signed-in view. */
@media (min-width:981px) {
 body[data-current-view="home"] #content .h162-root .h164-home-lower > .h266-profile-guest .h266-guest-stage {
  max-height:174px;
  padding:11px 14px!important;
  gap:11px!important;
 }
 body[data-current-view="home"] #content .h162-root .h164-home-lower > .h266-profile-guest .h266-guest-copy {
  gap:5px!important;
 }
 body[data-current-view="home"] #content .h162-root .h164-home-lower > .h266-profile-guest .h266-guest-preview {
  gap:5px!important;
 }
 body[data-current-view="home"] #content .h162-root .h164-home-lower > .h266-profile-guest .h266-guest-preview > div {
  min-height:33px!important;
  padding:4px 8px!important;
 }
 body[data-current-view="home"] #content .h162-root .h164-home-lower > .h266-profile-guest .h264-connect-section {
  gap:4px!important;
 }
 body[data-current-view="home"] #content .h162-root .h164-home-lower > .h266-profile-guest .h264-provider {
  min-height:46px!important;
 }
}
/* Slightly more room on medium desktop widths where two event titles
   can wrap; still shorter than the original 410px row. */
@media (min-width:981px) and (max-width:1399px) {
 body[data-current-view="home"] #content .h162-root .h164-home-lower {
  --h267-row-height:395px;
 }
}
/* Mobile cards stack independently and may grow naturally rather than crop
   the verification steps or the three archive-feature teasers. */
@media (max-width:980px) {
 body[data-current-view="home"] #content .h162-root .h266-profile-guest .h266-guest-stage {
  min-height:168px;flex:0 0 auto;
 }
}
@media (max-width:640px) {
 body[data-current-view="home"] #content .h162-root .h266-profile-guest .h266-guest-stage {
  display:flex;flex-direction:column;align-items:stretch;
  gap:16px;padding:17px;
 }
 #content .h266-profile-guest .h266-guest-preview {
  grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;
 }
 #content .h266-profile-guest .h266-guest-preview>div {
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  text-align:center;padding:8px 5px;min-height:74px;
 }
 #content .h266-profile-guest .h266-guest-preview span {
  font-size:9.5px;
 }
}
@media (max-width:390px) {
 #content .h266-profile-guest .h266-guest-preview {
  grid-template-columns:minmax(0,1fr);
 }
 #content .h266-profile-guest .h266-guest-preview>div {
  flex-direction:row;text-align:left;justify-content:flex-start;
  min-height:40px;
 }
}

/* Homepage profile actions should not have a divider competing with
   the Monthly and Annual event footer separators. */
body[data-current-view="home"] #content .h162-root .h264-profile-card .h263-profile-actions {
  border-top:0!important;
  padding-top:0!important;
}
/* Balance signed-out onboarding copy and preview within their inset panel,
   without shifting the fixed-height desktop event/profile row. */
@media (min-width:981px) {
  body[data-current-view="home"] #content .h162-root .h266-profile-guest .h266-guest-copy,
  body[data-current-view="home"] #content .h162-root .h266-profile-guest .h266-guest-preview {
    transform:translateY(-5px);
  }
}

/* The next DC card explicitly labels its prediction without changing the
   centered challenge tiles or their position relative to the timer. */
body[data-current-view="home"] #content .h162-root .h162-next-card .h272-next-hint {
  margin:4px 0 0!important;
  padding:0 4px;
  color:#b5d7ec;
  font-size:11px;
  font-weight:700;
  line-height:1.35;
  text-align:center;
  letter-spacing:.015em;
  flex:0 0 auto;
}

/* Home Player Profiles — expand real progress into the space already reserved
   by the 375px desktop row; never allow the neighboring event cards to grow. */
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-profile-overview,
body[data-current-view="home"] #content .h162-root .h264-profile-card .h279-home-dc,
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-honors-wrap,
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-counts,
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-honors {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box;
  align-self:stretch!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h279-home-dc {
  display:flex;flex-direction:column;gap:5px;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h279-dc-heading {
  display:block;line-height:1.2;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-counts,
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-honors {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat {
  display:grid!important;
  position:relative;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto minmax(0,1fr);
  align-items:center!important;
  justify-items:center!important;
  align-content:center!important;
  gap:2px!important;
  height:60px!important;
  min-height:60px!important;
  padding:8px 12px!important;
  text-align:center;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat .h279-stat-label {
  display:block;
  color:#c5def2;
  font-size:11px!important;
  font-weight:800;
  line-height:1.15!important;
  white-space:nowrap;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat strong.h279-stat-count {
  display:block;
  justify-self:center;
  font-size:clamp(23px,2vw,29px)!important;
  line-height:1.1!important;
  font-variant-numeric:tabular-nums;
  position:relative;z-index:1;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat img.h279-stat-icon {
  position:absolute;
  bottom:13px;left:13px;
  display:block!important;
  width:14px!important;height:14px!important;
  min-width:14px!important;min-height:14px!important;max-width:14px!important;max-height:14px!important;object-fit:contain;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-profile-overview {
  gap:8px!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-honors-wrap {
  gap:5px!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-honor-pill {
  height:44px!important;
  min-height:44px!important;
  padding:5px 10px!important;
  gap:10px!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-honor-pill img {
  width:33px!important;height:33px!important;flex:0 0 33px!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-honor-pill span {
  font-size:11px!important;
  -webkit-line-clamp:2!important;
  white-space:normal!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-connect-section {
  align-self:stretch!important;
  width:100%!important;
  gap:6px!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-providers {
  width:100%!important;
  gap:8px!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-provider {
  min-height:49px!important;
  padding:7px 12px!important;
  gap:10px!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-provider-art {
  width:30px!important;height:30px!important;flex:0 0 30px!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-provider-art img,
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-discord-mark {
  width:29px!important;height:29px!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-provider-copy b {
  font-size:12px!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-provider-copy small {
  font-size:10.5px!important;
}
/* Restore actual grid centering; the former -5px translation shifted both
   signed-out columns upward and made the right-hand preview feel unbalanced. */
body[data-current-view="home"] #content .h162-root .h266-profile-guest .h266-guest-copy,
body[data-current-view="home"] #content .h162-root .h266-profile-guest .h266-guest-preview {
  transform:none!important;
  align-self:center!important;
}
body[data-current-view="home"] #content .h162-root .h266-profile-guest .h266-guest-preview {
  justify-self:stretch;
  align-content:center;
}
body[data-current-view="home"] #content .h162-root .h266-profile-guest .h266-guest-preview > div {
  align-items:center;
  min-height:34px!important;
  padding:3px 8px!important;
}
body[data-current-view="home"] #content .h162-root .h266-profile-guest .h266-guest-preview img.h279-title-preview-icon {
  display:block;
  width:49px!important;height:30px!important;flex:0 0 49px!important;
  object-fit:contain!important;image-rendering:pixelated;
}
/* A compact fallback for narrow widths. Desktop keeps the exact fixed height;
   mobile lets the card grow naturally so the real labels never clip. */
@media(min-width:981px){
  body[data-current-view="home"] #content .h162-root .h164-home-lower > .h264-profile-card {
    gap:8px!important;
  }
}
@media(max-width:1170px){
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat img.h279-stat-icon {
    width:14px!important;height:14px!important;left:10px;bottom:12px;
  }
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat strong.h279-stat-count {
    font-size:23px!important;
  }
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-honor-pill {
    padding:5px 7px!important;gap:6px!important;
  }
}
@media(max-width:600px){
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat {
    height:58px!important;min-height:58px!important;padding:7px 5px!important;
  }
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat .h279-stat-label {
    font-size:10px!important;
  }
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat img.h279-stat-icon {
    width:13px!important;height:13px!important;bottom:10px;left:6px;
  }
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-provider {
    min-height:50px!important;
  }
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-provider-art {
    width:24px!important;height:24px!important;flex-basis:24px!important;
  }
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-provider-art img,
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-discord-mark {
    width:24px!important;height:24px!important;
  }
  body[data-current-view="home"] #content .h162-root .h266-profile-guest .h266-guest-preview img.h279-title-preview-icon {
    width:46px!important;height:29px!important;flex-basis:46px!important;
  }
}
@media(max-width:390px){
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-counts {
    gap:5px!important;
  }
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat img.h279-stat-icon {
    width:12px!important;height:12px!important;left:3px;
  }
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat strong.h279-stat-count {
    font-size:21px!important;
  }
}

/* Home profile: Daily Challenge statistics and Notable Honors share one
   sizing contract. A card is always 50px high and its game icon is 27px.
   Keep the original 375px desktop profile/event row unchanged. */
body[data-current-view="home"] #content .h162-root .h264-profile-card {
  --home-achievement-tile:50px;
  --home-achievement-icon:27px;
}
/* The Daily Challenge and Honors sections use exactly the same available
   inline width and identical fluid columns. Content cannot stretch a column. */
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-profile-overview,
body[data-current-view="home"] #content .h162-root .h264-profile-card .h279-home-dc,
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-honors-wrap {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  padding-inline:0!important;
  margin-inline:0!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-counts,
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-honors {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  gap:8px!important;
  align-items:stretch!important;
  justify-items:stretch!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  padding:0!important;
  margin:0!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat,
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-honor-pill {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  justify-self:stretch!important;
  height:var(--home-achievement-tile)!important;
  min-height:var(--home-achievement-tile)!important;
  max-height:var(--home-achievement-tile)!important;
  min-width:0!important;
  overflow:hidden;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat {
  display:grid!important;
  position:relative!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:12px minmax(0,1fr)!important;
  align-content:center!important;
  align-items:center!important;
  justify-items:center!important;
  gap:0!important;
  padding:4px 10px!important;
  text-align:center!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat .h279-stat-label {
  font-size:10.5px!important;
  line-height:12px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat strong.h279-stat-count {
  font-size:clamp(22px,2vw,27px)!important;
  line-height:1.05!important;
  font-variant-numeric:tabular-nums;
  justify-self:center!important;
  z-index:1;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat img.h279-stat-icon {
  position:absolute!important;
  left:11px!important;
  top:50%!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat img.h279-stat-icon,
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-honor-pill img {
  display:block!important;
  box-sizing:border-box!important;
  width:var(--home-achievement-icon)!important;
  height:var(--home-achievement-icon)!important;
  min-width:var(--home-achievement-icon)!important;
  min-height:var(--home-achievement-icon)!important;
  max-width:var(--home-achievement-icon)!important;
  max-height:var(--home-achievement-icon)!important;
  flex:0 0 var(--home-achievement-icon)!important;
  object-fit:contain!important;
  image-rendering:pixelated;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-honor-pill {
  display:flex!important;
  align-items:center!important;
  padding:5px 10px!important;
  gap:9px!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-honor-pill span {
  min-width:0!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  overflow-wrap:anywhere;
  white-space:normal!important;
  line-height:1.18!important;
  max-height:2.36em;
  font-size:11px!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-honors {
  grid-template-rows:var(--home-achievement-tile)!important;
  min-height:var(--home-achievement-tile)!important;
  flex:0 0 var(--home-achievement-tile)!important;
  overflow:visible!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-honors-wrap {
  flex:0 0 auto!important;
  min-height:0!important;
  overflow:visible!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-profile-overview {
  flex:0 0 auto!important;
  min-height:0!important;
  gap:6px!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h279-home-dc {
  gap:4px!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-caption > span {
  min-width:0;
  display:flex;
  align-items:center;
  gap:5px;
  white-space:nowrap;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-caption .h264-honor-more,
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-caption > button {
  white-space:nowrap;
  flex:0 0 auto;
}
@media(max-width:600px){
  body[data-current-view="home"] #content .h162-root .h264-profile-card {
    --home-achievement-icon:22px;
  }
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat {
    padding:4px 5px!important;
  }
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat img.h279-stat-icon {
    left:5px!important;
  }
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat strong.h279-stat-count {
    font-size:21px!important;
  }
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-honor-pill {
    gap:5px!important;
    padding:5px!important;
  }
}
@media(max-width:390px){
  body[data-current-view="home"] #content .h162-root .h264-profile-card {
    --home-achievement-icon:18px;
  }
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat strong.h279-stat-count {
    font-size:19px!important;
  }
}

/* Achievement bubbles hug their content. Height and icon dimensions are
   deliberately shared; width is *not* divided into three equal columns. */
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-counts,
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-honors {
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:8px!important;
  grid-template-columns:none!important;
  grid-template-rows:none!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat,
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-honor-pill {
  width:max-content!important;
  flex:0 1 auto!important;
  justify-self:auto!important;
  max-width:min(250px,48%)!important;
  height:var(--home-achievement-tile)!important;
  min-height:var(--home-achievement-tile)!important;
  max-height:var(--home-achievement-tile)!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat {
  min-width:min(150px,30%)!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-honor-pill {
  min-width:min(130px,28%)!important;
}
body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-honors {
  flex:0 0 var(--home-achievement-tile)!important;
  min-height:var(--home-achievement-tile)!important;
  overflow:visible!important;
}
/* Phone layout wraps whole bubbles instead of squeezing icons or clipping
   award labels. The desktop profile/event row remains its original height. */
@media(max-width:600px) {
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-counts,
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-honors {
    flex-wrap:wrap!important;
  }
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-stat,
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-honor-pill {
    min-width:min(145px,calc(50% - 4px))!important;
    max-width:min(250px,100%)!important;
  }
  body[data-current-view="home"] #content .h162-root .h264-profile-card .h264-overview-honors {
    height:auto!important;
    min-height:var(--home-achievement-tile)!important;
    flex:0 0 auto!important;
  }
}
