.esports-theme {
  --green: #a2e8f0;
  --text: #eef3fb;
  --panel: #121b29;
  --panel-raised: #182435;
  --border: #2a394d;
  --muted: #a8b7cb;
  min-height: 100dvh;
  background: radial-gradient(ellipse 850px 460px at 90% 0%,#19283b 0%,transparent 100%), #0b111b;
}
.esports-theme .topbar, .esports-theme .sidebar { background: #0f1724; border-color: #273446; }
.esports-theme .search { background: #131e31; border-color: #2b3e5c; border-radius: 10px; }
.esports-theme .search:focus-within { border-color: #6fb2d5; }
.esports-theme .side-nav > a { position: relative; font-weight: 600; color: #b0bed0; }
.esports-theme .side-nav > a:hover { background: #172840; color: #e8f1ff; }
.esports-theme .side-nav > [aria-current] { border-color: #355274; background: linear-gradient(112deg,#203c58,#18263f); color: var(--green); }
.esports-theme .side-nav > [aria-current]::before { content: ''; position: absolute; inset: 9px auto 9px 0; width: 2px; border-radius: 2px; background: var(--green); }
.esports-theme .nav-icon { color: #8ba1c2; }
.esports-theme [aria-current] .nav-icon { color: currentColor; }
@media (min-width: 641px) {
  .esports-theme .side-nav > a:is([href="#friends"], [href="#support"]) { margin-top: 12px; }
}
.esports-theme .button { border-color: #3b5376; background: #192d48; }
.esports-theme .button:not(.primary):hover { border-color: #7199c9; background: #244263; }
.esports-theme .button.primary { border-color: #8fdaff; background: linear-gradient(105deg,#87efff,#a5abff); color: #091a32; }
.esports-theme .button.primary:hover { background: linear-gradient(105deg,#b2f5ff,#c0c5ff); }
.esports-theme .tone-lime { --accent: #9edfff; --tone: #254973; --tone-deep: #112441; }
.esports-theme .chips button { border-color: #334a6e; background: #162640; color: #c6d5ec; }
.esports-theme .chips button:hover { border-color: #6d9bc9; }
.esports-theme .chips button[aria-pressed="true"] { border-color: #6d9bc9; background: #253e65; color: #b5ebff; }
.esports-theme .empty { border-color: #3f5274; background: #111c31; color: var(--muted); }
.esports-theme :is(input, textarea, select) { background: #101a2d; border-color: #3a5074; }
.esports-theme .search input { background: transparent; }
.esports-theme .form > label { color: #d7e2f5; }
.esports-theme dialog { background: #151f34; border-color: #46628b; }
.esports-theme dialog::backdrop { background: #060c18c7; }
.esports-theme .close { color: #e4eeff; background: #20334f; border-color: #425879; }
.esports-theme :is(.summary, .messages) { background: #101a2d; border-color: #334b6f; }
.esports-theme .message p { background: #23334e; }
.esports-theme .message.mine p { background: #243f64; }
.esports-theme .reply { background: #182d49; border-color: #76aee2; }
.esports-theme .status.completed { background: #1c344e; border-color: #40638b; }
.esports-theme #toast:not(.error) { background: #1b3051; border-color: #6086b7; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(345px,29vw,455px);
  overflow: hidden;
  border: 1px solid #34485d;
  border-radius: 22px;
  box-shadow: 0 18px 40px #050a1355;
  background: #080f1c;
}
.hero-art { position: absolute; inset: 0 0 0 33%; z-index: -1; pointer-events: none; }
.hero-art :is(img, canvas) { display: block; width: 100%; height: 100%; }
.hero-art img { object-fit: cover; object-position: center 44%; }
.hero-art canvas { position: absolute; inset: 0; }
.hero-art canvas[hidden] { display: none; }
.hero-motion-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #4f668a;
  border-radius: 8px;
  background: #0b172be8;
  color: #d7e3f7;
  font-size: .78rem;
}
.hero-motion-toggle[aria-pressed="true"] { border-color: #7cbcd5; color: #a6eaff; }
.hero-motion-toggle:focus-visible { outline: 2px solid #a6eaff; outline-offset: 2px; }
.hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#080f1c 0%,#080f1c91 12%,transparent 34%), linear-gradient(0deg,#080f1cad,transparent 34%); }
.hero::after { content: ''; position: absolute; inset: 0 12% auto 12%; height: 1px; background: linear-gradient(90deg,transparent,#85b5f6 44%,#b39aff 67%,transparent); opacity: .65; pointer-events: none; }
.hero-copy { padding: 40px clamp(28px,4.5vw,72px); }
.hero h1 { color: #f3f7ff; font-size: clamp(2.3rem,4.2vw,4.55rem); line-height: 1.15; letter-spacing: -.035em; font-weight: 850; text-shadow: 0 2px 15px #02091675; }
.hero h1 :is(span, em) { display: block; }
.hero h1 em { font-style: normal; color: #96ddff; background: linear-gradient(95deg,#9beeff 18%,#b4a5ff 88%); background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; }
.hero p { max-width: 28em; margin-top: 15px; color: #c0cee1; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 25px; }
.hero-actions .button { min-height: 48px; padding-inline: 19px; border-radius: 9px; }
.esports-theme .hero-alt { background: #101f37e6; color: #e4eeff; border-color: #6382ac; }
.dispatch-guide-label { display: inline-block; position: relative; color: #bce9ff; }
.dispatch-guide-label::after { content: ''; position: absolute; inset: auto 0 -4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg,#8ee8ff,#c3b1ff); opacity: .45; transform-origin: left; }
.hero-alt:is(:hover,:focus-visible) .dispatch-guide-label { color: #f3fbff; }
@media (prefers-reduced-motion: no-preference) {
  .dispatch-guide-label { animation: dispatch-guide-rise .65s ease-out .3s 2; }
  .dispatch-guide-label::after { animation: dispatch-guide-line .65s ease-out .3s 2; }
}
@keyframes dispatch-guide-rise { 0%,100% { transform: none; } 38% { transform: translateY(-2px); } }
@keyframes dispatch-guide-line { 0%,100% { opacity: .45; transform: none; } 35% { opacity: 1; transform: scaleX(.55); } }

.friend-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .84fr); grid-template-areas: 'tools chat'; align-items: start; gap: 18px; }
.friend-tools { grid-area: tools; min-width: 0; }
.friend-chat-panel { grid-area: chat; min-width: 0; padding: 15px; }
.friend-section > h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.friend-section > h2 small { font-size: .78rem; color: var(--muted); }
.friend-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 13px; }
.friend-person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.friend-person .avatar { flex: none; }
.friend-person h3, .friend-person p { overflow-wrap: anywhere; }
.friend-person p { margin: 5px 0 0; }
.friend-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.friend-chat-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; max-height: 55dvh; overflow: auto; }
.friend-chat-list li { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border: 1px solid #324d73; border-radius: 9px; background: #182840; }
.friend-chat-list li > .button { flex: none; }
.friend-chat-person { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 8px; flex: 1; min-width: 0; padding: 3px 2px; }
.friend-chat-person .avatar { grid-row: span 2; }
.friend-chat-open { display: flex; align-items: center; gap: 6px; color: inherit; padding: 0; border: 0; background: none; text-align: start; }
.friend-chat-open strong { min-width: 0; overflow-wrap: anywhere; }
.friend-chat-id { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 8px; }
.friend-chat-id .friend-block { min-height: 34px; padding: 3px 7px; color: #ffc3c8; font-size: .76rem; }
.friend-chat-arrow { margin-inline-start: auto; font-size: 1.25rem; color: #a9d8ff; }
.friend-chat-open:hover strong, .friend-chat-open:focus-visible strong { color: #a8dfff; }
.friend-blacklist summary { cursor: pointer; font-weight: 700; }
.friend-blacklist > .stack { margin-top: 10px; }
dialog.friend-list-dialog { width: min(480px,calc(100vw - 24px)); border-color: #3b435a; background: #202129; }
.friend-window { display: grid; gap: 12px; }
.friend-window details { border: 1px solid #3b435a; border-radius: 9px; padding: 0 10px; background: #272a38; }
.friend-window summary { min-height: 40px; padding: 10px 0; font-weight: 700; cursor: pointer; }
.friend-window details > :is(.form,.stack) { margin-bottom: 10px; }
.friend-window h3 { margin-bottom: 7px; }
.friend-channel-name { margin: 0 0 8px; color: #bdcbe2; font-size: .84rem; overflow-wrap: anywhere; }
.friend-chat-list .friend-hall-invite { min-height: 44px; }
.friend-window .friend-chat-list { max-height: min(46dvh,360px); }
.friend-list-back { display: block; width: fit-content; margin-bottom: 8px; padding: 4px 0; }
.friend-chat-meta .friend-list-back { flex: none; margin: 0 4px 0 0; }
dialog.friend-chat-dialog { width: min(540px, calc(100vw - 20px)); height: min(590px, calc(100dvh - 20px)); flex-direction: column; padding: 15px; overflow: hidden; }
dialog.friend-chat-dialog[open] { display: flex; }
.friend-chat-dialog > header { flex: none; margin-bottom: 8px; }
.friend-chat-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.friend-chat-meta [data-action="friend-chat-older"] { margin-inline-start: auto; }
.friend-chat-log.messages { flex: 1 1 auto; min-height: 0; max-height: none; height: auto; overflow: auto; overscroll-behavior: contain; }
.friend-chat-log .message p { white-space: pre-wrap; overflow-wrap: anywhere; }
.friend-chat-status { color: #c8d8ee; font-size: .82rem; margin: 5px 0 0; }
.friend-chat-status:empty { display: none; }
.friend-chat-compose { display: grid; gap: 8px; flex: none; margin-top: 8px; }
.friend-chat-compose textarea { width: 100%; min-height: 52px; max-height: 115px; resize: vertical; }
.friend-chat-compose > .row { justify-content: space-between; }
@media (max-width: 760px) {
  .friend-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'chat' 'tools'; }
  .friend-chat-compose textarea { font-size: 16px; }
  .friend-chat-compose .button { min-height: 44px; }
}
.home-shortcuts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 18px; }
.home-shortcut { --shortcut-accent: #a2e8f0; position: relative; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 13px; padding: 15px; min-width: 0; min-height: 84px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); }
.home-shortcut:nth-child(2) { --shortcut-accent: #d2c4fc; }
.home-shortcut:nth-child(3) { --shortcut-accent: #b2c9ff; }
.home-shortcut:hover, .home-shortcut:focus-visible { border-color: var(--shortcut-accent); }
.home-shortcut-icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid color-mix(in srgb,var(--shortcut-accent) 22%,var(--panel)); border-radius: 11px; background: color-mix(in srgb,var(--shortcut-accent) 10%,var(--panel)); color: var(--shortcut-accent); font: 700 1.3rem/1 system-ui,sans-serif; }
.home-shortcut-copy { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.home-shortcut-copy strong { color: #f0f5ff; }
.home-shortcut-copy small { color: #aebdd8; font-size: .8rem; }
.home-shortcut-arrow { align-self: start; color: var(--shortcut-accent); font-size: .95rem; }

#home-hover-caption { position: fixed; z-index: 5; pointer-events: none; visibility: hidden; opacity: 0;
  width: max-content; max-width: min(260px,calc(100vw - 20px)); padding: 6px 10px; border: 1px solid #5b80b0; border-radius: 7px;
  background: linear-gradient(115deg,#1e3651,#232a48); color: #eef7ff; box-shadow: 0 5px 17px #070b1d9c;
  font-size: .8rem; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.home-page #home-hover-caption[data-open] { visibility: visible; opacity: 1; translate: 0 0; }
.home-page [data-home-hint-active]:not(:focus-visible) { outline: 1px solid #8cc4f0b0; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  #home-hover-caption { translate: 0 4px; transition: opacity .13s ease, translate .13s ease, visibility .13s; }
  #home-hover-caption[data-below] { translate: 0 -4px; }
}

.home-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(235px,30%); gap: 18px; margin-top: 18px; }
.home-recommendations { display: grid; gap: 18px; margin-top: 18px; }
.mobile-home-directory { display: none; }
.home-main, .home-rail { display: grid; align-content: start; gap: 18px; min-width: 0; }
.home-panel { padding: 20px; border-radius: 16px; }
.home-panel .section-heading { margin-bottom: 16px; }
.home-panel .section-heading h2, .club-rankings > h2 { display: flex; align-items: center; gap: 8px; font-size: 1.13rem; }
.home-panel .section-heading h2::before, .club-rankings > h2::before { content: ''; display: block; flex: none; width: 3px; height: 14px; background: linear-gradient(#88e7ff,#858dff); }
.home-panel .notice-list li { border-color: #293f60; }
.home-panel .notice-list button, .home-panel .notice-list a { color: #e4eafa; }
.home-panel .notice-list button:hover, .home-panel .notice-list a:hover { color: var(--green); }
.home-event { background: radial-gradient(ellipse at 100% 0,#292d49,transparent 83%),var(--panel); }
.home-event h3 { overflow-wrap: anywhere; font-size: clamp(1rem,1.55vw,1.38rem); }
.home-event p, .home-hall-summary { color: var(--muted); margin: 7px 0 14px; font-size: .88rem; line-height: 1.5; }
.home-hall-summary { margin-bottom: 0; }
.home-event-status { flex: none; padding: 4px 8px; border: 1px solid #45546c; border-radius: 6px; color: #c7d3e4; font-size: .75rem; }
.home-event-status[data-open="true"] { background: #173a3c; border-color: #3f6865; color: #b5eee1; }
.hall-home-list a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; }
.hall-home-list a span { min-width: 0; overflow-wrap: anywhere; }
.hall-home-list a small { flex: none; color: #aebfdf; }
.home-games { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.home-game {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 4px;
  min-height: 108px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel-raised);
  text-align: center;
}
.home-game:hover, .home-club-list a:hover { border-color: #6f8eac; background: #1b2b40; }
.home-game strong { font-size: .88rem; overflow-wrap: anywhere; }
.home-game small { color: var(--muted); font-size: .68rem; }
.home-game-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 15px;
  background: #193944;
  color: #99fee2;
  font: 900 1.8rem/1 system-ui,sans-serif;
}
.home-game-icon-gta { background: linear-gradient(150deg,#64406f,#dd805e); color: white; }
.home-game-icon-valorant { background: #f8f6f6; color: #bb2842; }
.home-game-icon-steam { background: #edf2f8; color: #145581; }
.home-game-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: inherit; }
.home-club-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,215px),1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; }
.home-club-list a { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 9px; align-items: center; min-height: 60px; padding: 8px; background: var(--panel-raised); border: 1px solid var(--border); border-radius: 10px; overflow-wrap: anywhere; }
.home-club-list .club-avatar-mark { width: 36px; height: 36px; font-size: .8rem; border-radius: 9px; }
.home-club-list strong, .home-club-list small { display: block; }
.home-club-list small { margin-top: 2px; color: var(--muted); }
.home-club-list .home-club-featured { color: #f2cd8f; }
.club-official-subtitle { display: block; margin-top: 4px; color: var(--green); }
.home-club-list a > span:last-child { color: var(--green); }
.provider-review-empty { display: block; margin: 6px 0; color: var(--muted); }
.provider-reviews { margin: 8px 0; border: 1px solid var(--border); border-radius: 8px; background: var(--panel-raised); font-size: .8rem; }
.provider-review-score, .provider-reviews summary { padding: 7px 9px; line-height: 1.5; }
.provider-reviews summary { cursor: pointer; color: var(--green); }
.provider-reviews strong { color: #f2cd8f; }
.provider-review-score span { margin-inline-start: 6px; color: var(--muted); }
.provider-review-latest { padding: 7px 9px; border-top: 1px solid var(--border); }
.provider-reviews ul { list-style: none; margin: 0; padding: 0 9px 4px; }
.provider-reviews li { border-top: 1px solid var(--border); padding: 7px 0; }
.provider-reviews p { margin: 3px 0; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }

.order-review-field { margin: 0; padding: 10px 12px; min-width: 0; border: 1px solid var(--border); border-radius: 10px; }
.order-review-field legend { padding-inline: 5px; }
.order-review-stars { display: flex; gap: 4px; }
.order-review-stars label { position: relative; cursor: pointer; }
.order-review-stars span { display: grid; place-items: center; width: clamp(32px,10vw,46px); height: 44px; border-radius: 6px; color: #a8b7cb; font-size: 1.7rem; }
.order-review-stars label:has(input:checked, ~ label input:checked) span, .order-rated { color: #f2cd8f; }
.order-review-stars label:hover span { background: #28354b; }
.order-review-stars input:focus-visible + span { outline: 2px solid var(--green); }

.esports-section :is(.page-heading, .club-detail-header) {
  min-height: 116px;
  padding: 20px clamp(17px,3vw,36px);
  margin: 0 0 20px;
  align-items: center;
  border: 1px solid #34465d;
  border-radius: 17px;
  background: radial-gradient(ellipse at 96% 0,#263452,transparent 70%),var(--panel);
}
.esports-section .page-heading h1 { font-size: clamp(1.85rem,3.3vw,2.95rem); font-weight: 800; line-height: 1.13; }
.esports-section .page-heading p, .esports-section .club-detail-identity p { color: #c6d5ed; }
.esports-section .panel { border-radius: 12px; }
.esports-section :is(.filters, .club-login, .split > .panel) {
  background: radial-gradient(ellipse at 100% 0,#202f52 0,transparent 74%),var(--panel);
}
.companion-layout {
  display: grid;
  grid-template-columns: clamp(104px, 15vw, 172px) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}
.companion-game-panel { padding: 9px; }
.chips.companion-games { display: grid; margin: 0; gap: 5px; }
.companion-games button { min-height: 40px; text-align: start; white-space: normal; overflow-wrap: anywhere; }
.companion-games .companion-game-with-icon { display: grid; justify-items: center; gap: 5px; padding-block: 7px; text-align: center; }
@media (max-width: 640px) {
  .companion-layout { grid-template-columns: clamp(70px, 23vw, 105px) minmax(0, 1fr); gap: 8px; }
  .companion-game-panel { padding: 5px; }
  .companion-games button { min-height: 44px; padding-inline: 5px; font-size: .78rem; }
  .companion-layout .club-member-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 172px), 1fr)); }
}
.esports-section .offer { border-color: #354e72; border-radius: 13px; }
.esports-section .offer:hover { border-color: #6588b8; }
.esports-section :is(.card-body > p, .tile p, .order-card p) { color: #d2dcef; }
.esports-section :is(.card-body footer, .ledger li) { border-color: var(--border); }
.esports-section .hall-tag { color: #d7e8ff; background: #233b60; border-color: #486591; }
.esports-section .hall-club-mark { border-color: #526c98; }
.esports-section .club-detail-nav a { color: #cedcf3; }
.esports-section .club-detail-nav a:hover, .esports-section .club-detail-nav a[aria-current] { color: var(--green); border-color: #6d9bc9; background: #253e65; }
.club-detail-header .row { flex: 0 0 auto; }
[data-club-roster]:not(:empty) { margin-top: 15px; }
.esports-section .rank-list { gap: 8px; }
.esports-section .rank-list > li { background: linear-gradient(100deg,#172940,var(--panel) 62%); }
.esports-section .rank-list > li:first-child { border-color: #6479a8; background: linear-gradient(105deg,#1d3e59,#28284d 80%); }
.esports-section .rank-list > li > .rank-entry { display: flex; margin: 0; }
.esports-section .order-card { background: #111d31; }
.esports-section .profile-name .avatar { width: 52px; height: 52px; border: 1px solid #5473a0; }
.esports-section .profile-balance { padding: 13px; border: 1px solid #445d85; border-radius: 6px; background: linear-gradient(105deg,#1c3555,#2d2c54); }
.esports-section .profile-balance h2 { color: #b8e8ff; font-size: 2rem; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.club-catalog .page-heading { min-height: 96px; }
.club-game-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 0 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #324361;
}
.club-game-filters button {
  min-height: 43px;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #bac9e0;
  font-weight: 650;
  touch-action: manipulation;
}
.club-game-filters button:hover { background: #17283e; color: #edf5ff; }
.club-game-filters button[aria-pressed="true"] { border-color: #60bbde; background: #153348; color: #b9edff; }
.club-directory { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,155px),1fr)); gap: 16px; }
.club-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 7px;
  border: 1px solid #2b3e5d;
  border-radius: 12px;
  background: linear-gradient(155deg,#172239,#0f182a 70%);
  text-align: center;
}
.club-card:hover, .club-card:focus-within { border-color: #6487b1; }
.club-card-media { position: relative; border-radius: 8px; }
.club-card-art { position: relative; display: block; overflow: hidden; border-radius: inherit; }
.club-card-art .club-avatar-mark {
  --club-avatar-size: 100%;
  border-radius: inherit;
  font-size: clamp(1.7rem,5vw,3.3rem);
  background: radial-gradient(ellipse at 76% 12%,var(--tone),transparent 70%),linear-gradient(145deg,#142c49,var(--tone-deep));
}
.club-card-art .club-avatar-brand img { width: 67%; height: 67%; object-fit: contain; }
.club-card-info, .club-card-official {
  position: absolute;
  top: 7px;
  z-index: 1;
  border: 1px solid #5a82a9;
  background: #0a172bec;
  color: #d7ebff;
}
.club-card-info { right: 7px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; touch-action: manipulation; }
.club-card-info span { font: 700 1rem Georgia,serif; }
.club-card-info:hover, .club-card-info[aria-expanded="true"] { border-color: #bde8ff; background: #284b70; color: #fff; }
.club-card-official { left: 7px; padding: 3px 7px; border-radius: 5px; font-size: .75rem; pointer-events: none; }
.club-card-intro {
  position: absolute;
  inset: auto 0 0;
  max-height: calc(100% - 46px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 8px 10px;
  border-top: 1px solid #6289ae;
  background: linear-gradient(140deg,#142c47fa,#0b172bf7);
  color: #eef6ff;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
}
.club-card-intro strong { display: block; margin-bottom: 3px; color: #a5e2ff; font-size: .77rem; }
.club-card-intro p { color: inherit; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .85rem; line-height: 1.45; }
.club-card-media:has(.club-card-info[aria-expanded="true"]) .club-card-intro { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .club-card-media:hover .club-card-intro { opacity: 1; visibility: visible; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .club-card-intro { transition: transform 200ms ease-out, opacity 180ms ease-out, visibility 180ms; }
}
.club-card h2 { padding: 5px 4px 0; color: #eff6ff; font-size: 1rem; line-height: 1.35; overflow-wrap: anywhere; }
.club-card h2 a:hover, .club-card-links a:hover { color: #a6e7ff; }
.club-card-detail { padding-inline: 4px; color: #a6b8d3; font-size: .78rem; overflow-wrap: anywhere; }
.club-card-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 1px 7px; padding-top: 2px; margin-top: auto; font-size: .76rem; }
.club-card-links a { display: grid; place-items: center; min-height: 29px; padding: 2px; color: #bccfea; text-decoration: underline; text-decoration-color: #6884aa; text-underline-offset: 3px; }
@media (max-width: 680px) {
  .club-game-filters { gap: 5px; margin-bottom: 11px; }
  .club-game-filters button { min-height: 44px; padding-inline: 10px; font-size: .88rem; }
  .club-directory { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .club-card { padding: 5px; }
  .club-card-info { width: 40px; height: 40px; }
  .club-card-intro { max-height: calc(100% - 54px); }
  .club-card-links a { min-height: 34px; }
}

.avatar[data-avatar-effect] { position: relative; }
.avatar[data-avatar-effect]::after { content: ''; position: absolute; inset: -3px; border: 2px solid var(--effect-edge); border-radius: inherit; box-shadow: 0 0 8px var(--effect-glow), inset 0 0 7px var(--effect-glow); pointer-events: none; }
[data-avatar-effect="cyan-pulse"] { --effect-edge: #8ff6ff; --effect-glow: #56d9ff82; }
[data-avatar-effect="violet-orbit"] { --effect-edge: #ccaeff; --effect-glow: #9062ff99; }
.avatar[data-avatar-effect="violet-orbit"]::after { outline: 1px solid #7d90ff82; outline-offset: 2px; border-inline-color: #8da1ff; }
[data-avatar-effect="gold-flare"] { --effect-edge: #ffde8e; --effect-glow: #ff9b4c90; }
.avatar[data-avatar-effect="gold-flare"]::after { border-inline-color: #ed9c54; outline: 1px dashed #ffdc90; outline-offset: 1px; }
.points-balance { display: inline-block; padding: 4px 9px; border: 1px solid #405c80; border-radius: 8px; background: #1c304b; color: #b8eeff; font-size: .88rem; font-weight: 700; white-space: nowrap; }
.profile-rewards .points-balance { margin-top: 6px; }
.profile-rewards .section-heading { flex-wrap: wrap; }
.profile-effects { margin-top: 8px; }
.profile-effects li { flex-wrap: wrap; }
.profile-effects .avatar { width: 31px; height: 31px; border-radius: 8px; margin-inline: 4px; }

@media (max-width: 640px) {
  .esports-section :is(.page-heading, .club-detail-header) {
    min-height: 0;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding: 17px 14px;
    margin-bottom: 12px;
  }
  .esports-section .page-heading p { margin-top: 5px; }
  .esports-section .filters .chips { margin-bottom: 10px; }
  .esports-section .rank-list { padding-left: 22px; }
  .esports-section .rank-list > li { padding: 9px; }
}

@media (max-width: 880px) {
  .home-columns { grid-template-columns: minmax(0,1fr); }
  .home-rail { grid-template-columns: repeat(auto-fit,minmax(min(200px,100%),1fr)); }
}
@media (max-width: 640px) {
  .hero {
    --hero-art-height: clamp(174px,55vw,260px);
    min-height: 0;
    border-radius: 15px;
  }
  .hero-art { inset: 0 0 auto; height: var(--hero-art-height); }
  .hero-art::after { background: linear-gradient(0deg,#080f1c 1%,#080f1c60 25%,transparent 55%); }
  .hero-copy { margin-top: calc(var(--hero-art-height) - 21px); padding: 0 16px 19px; }
  .hero h1 { font-size: clamp(1.7rem,7.1vw,2.72rem); }
  .hero p { margin-top: 9px; font-size: .87rem; }
  .hero-actions { margin-top: 14px; gap: 7px; }
  .hero-actions .button { min-height: 43px; padding-inline: 12px; font-size: .9rem; }
  .home-shortcuts { gap: 7px; margin-top: 10px; }
  .home-shortcut { grid-template-columns: minmax(0,1fr); justify-items: start; gap: 6px; min-height: 88px; padding: 9px; }
  .home-shortcut-icon { width: 29px; height: 29px; border-radius: 8px; font-size: .98rem; }
  .home-shortcut-arrow { position: absolute; top: 8px; right: 8px; font-size: .84rem; }
  .home-shortcut-copy { gap: 2px; }
  .home-shortcut-copy small { font-size: .73rem; }
  .home-columns, .home-main, .home-rail, .home-recommendations { gap: 10px; }
  .home-columns, .home-recommendations { margin-top: 10px; }
  .home-rail { grid-template-columns: minmax(0,1fr); }
  .home-panel { padding: 14px; }
  .home-panel .section-heading { margin-bottom: 11px; }

  .home-page .content { padding-inline: 12px; }
  .home-page .hero { min-height: 172px; }
  .home-page .hero-art { inset: 0; height: 100%; }
  .home-page .hero-art::after { background: linear-gradient(90deg,#080f1cf5,#080f1c87 60%,#080f1c24); }
  .home-page .hero-copy { margin: 0; padding: 16px 12px; }
  .home-page .hero h1 { font-size: clamp(1.48rem, 6.15vw, 2.12rem); }
  .home-page .hero p { display: none; }
  .home-page .hero-actions .button { min-height: 38px; font-size: .78rem; }
  .home-page .hero-motion-toggle { min-height: 36px; padding-inline: 6px; font-size: .68rem; }
  .home-page .home-shortcut { min-height: 52px; grid-template-columns: auto minmax(0,1fr); align-items: center; }
  .home-page .home-shortcut-copy small, .home-page .home-shortcut-arrow { display: none; }
  .mobile-home-directory { display: grid; gap: 10px; margin-top: 10px; }
  .home-page .home-recommendations, .home-page .home-main > .home-panel:has(.home-games) { display: none; }
  .mobile-home-directory > .home-panel {
    --muted: #515e70;
    --green: #254d82;
    background: #f7faff;
    border-color: #dce6f1;
    color: #142641;
  }
  .mobile-home-directory .section-heading h2::before { background: #b5873e; border-radius: 2px; }
  .mobile-home-directory .section-heading .link { min-height: 32px; color: var(--green); }
  .mobile-home-directory .home-games { gap: 3px; }
  .mobile-home-directory .home-game { min-height: 107px; padding: 5px 2px; border-color: transparent; background: transparent; }
  .mobile-home-directory .home-game strong { font-size: .81rem; line-height: 1.24; }
  .mobile-home-clubs { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
  .mobile-home-clubs a { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 9px; border: 1px solid #d9e2ee; border-radius: 10px; background: #fff; }
  .mobile-home-clubs li:first-child a { border-color: #d9c49e; background: #fffaf0; }
  .mobile-home-clubs .club-avatar-mark { width: clamp(52px, 17vw, 68px); height: auto; align-self: center; }
  .mobile-home-club-info { display: grid; min-width: 0; gap: 3px; overflow-wrap: anywhere; }
  .mobile-home-club-info small { color: var(--muted); }
  .mobile-home-club-score { font-size: .82rem; font-weight: 750; color: #76500e; }
  .mobile-home-club-rank { padding: 4px 6px; border-radius: 5px; font-size: .75rem; font-weight: 750; color: #345578; background: #eaf1fb; white-space: nowrap; }
  .mobile-home-clubs li:first-child .mobile-home-club-rank { color: #674713; background: #f4e4c0; }
}
