/* Ironcrest hub landing — GameHub-style dashboard, steel/ice. */
body.ic-hub-page {
  background: #0c0c10;
}
body.ic-hub-page .atmosphere-glow {
  opacity: 0.35;
}

.ic-hub {
  display: grid;
  gap: 1.1rem;
  padding: 1.15rem 0 2.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 1100px) {
  .ic-hub {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.15rem 1.25rem;
  }
}

.ic-hub-main,
.ic-hub-side {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
}

.ic-panel {
  background: #16161c;
  border: 1px solid rgb(255 255 255 / 0.06);
  border-radius: 18px;
  padding: 1rem 1.05rem 1.1rem;
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.28);
}

.ic-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
}
.ic-panel__head h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.ic-panel__head a,
.ic-side-link {
  color: var(--accent, #c8cdd6);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
}
.ic-panel__head a:hover,
.ic-side-link:hover { color: #f4f4f5; }

.ic-news {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .ic-news {
    grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.85fr);
    min-height: 340px;
  }
}

.ic-news-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 320px;
  background: #101014;
}
.ic-news-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ic-news-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(8 8 12 / 0.1) 20%, rgb(8 8 12 / 0.82) 100%);
}
.ic-news-hero__card {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 0.85rem;
  text-align: left;
  color: #fff;
  background: rgb(18 18 24 / 0.78);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.ic-news-hero__card .caps {
  grid-column: 1;
  margin: 0;
  color: var(--accent, #c8cdd6);
  font-size: 0.68rem;
}
.ic-news-hero__card h2 {
  grid-column: 1;
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0.01em;
  font-family: inherit;
  font-weight: 700;
}
.ic-news-hero__card p {
  grid-column: 1;
  margin: 0;
  color: #c8c8d0;
  font-size: 0.88rem;
  line-height: 1.45;
}
.ic-news-go {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent, #c8cdd6);
  color: #16120a;
}

.ic-news-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.ic-news-row {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  text-align: left;
  width: 100%;
  padding: 0.45rem;
  border: 0;
  border-radius: 14px;
  background: #16161c;
  color: inherit;
  cursor: pointer;
}
.ic-news-row:hover { background: #1c1c24; }
.ic-news-row img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  background: #0e0e12;
  flex-shrink: 0;
}
.ic-news-row span { min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.ic-news-row strong {
  font-size: 0.88rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ic-news-row em {
  font-style: normal;
  color: #8e8e98;
  font-size: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ic-news-row small { color: #6e6e78; font-size: 0.7rem; }

.ic-forum-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .ic-forum-grid { grid-template-columns: 1fr 1fr; }
}
.ic-forum-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: #1a1a22;
  color: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  min-width: 0;
}
.ic-forum-card:hover { border-color: rgb(200 205 214 / 0.4); }
.ic-forum-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  background: #101014;
  color: var(--accent, #c8cdd6);
  flex: 0 0 auto;
}
.ic-forum-card > span:not(.ic-forum-mark) {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.ic-forum-card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f4f4f5;
  line-height: 1.2;
}
.ic-forum-card > span:not(.ic-forum-mark) > span {
  color: #8e8e98;
  font-size: 0.75rem;
  line-height: 1.25;
}
.ic-forum-card em {
  margin-left: auto;
  flex: 0 0 auto;
  font-style: normal;
  font-size: 0.72rem;
  color: #6edc8c;
  white-space: nowrap;
}

.ic-side-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.ic-side-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.ic-side-row img,
.ic-side-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #101014;
}
.ic-side-dot { display: grid; place-items: center; font-size: 0.65rem; font-weight: 800; color: var(--accent, #c8cdd6); }
.ic-side-row strong { display: block; font-size: 0.88rem; }
.ic-side-row span { color: #8e8e98; font-size: 0.72rem; }
.ic-side-row .ic-join {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent, #c8cdd6);
  text-decoration: none;
}
.ic-event-date {
  width: 42px;
  text-align: center;
  flex-shrink: 0;
  line-height: 1.05;
}
.ic-event-date b { display: block; font-size: 1.05rem; }
.ic-event-date small { color: var(--accent, #c8cdd6); font-size: 0.65rem; letter-spacing: 0.08em; }

.ic-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
}
.wd-ops-pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #1DD65C;
  box-shadow: 0 0 0 0 rgba(29, 214, 92, 0.55);
  animation: wd-ops-pulse 1.6s ease-out infinite;
  flex-shrink: 0;
}
@keyframes wd-ops-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  70% { transform: scale(1.15); box-shadow: 0 0 0 0.45rem transparent; opacity: 0.85; }
  100% { transform: scale(1); box-shadow: 0 0 0 0 transparent; opacity: 1; }
}

.ic-filter-row,
.server-region-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
}
.ic-filter-row button,
.server-region-filters button {
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgb(255 255 255 / 0.08);
  background: #1a1a22;
  color: #ddd;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}
.ic-filter-row button.is-active,
.server-region-filters button.is-active,
.server-region-filters button[aria-selected="true"] {
  background: rgb(242 169 0 / 0.16);
  border-color: var(--accent, #c8cdd6);
  color: var(--accent, #c8cdd6);
}

.ic-home-lb-grid { display: flex; flex-direction: column; gap: 0.85rem; }
.ic-home-lb header h3 { margin: 0; font-size: 0.88rem; }
.ic-home-lb header .mist { margin: 0.1rem 0 0.45rem; font-size: 0.72rem; }
.ic-lb-mini { list-style: none; margin: 0; padding: 0; }
.ic-lb-mini li {
  display: grid;
  grid-template-columns: 1.4rem 1fr auto;
  gap: 0.4rem;
  align-items: center;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.05);
  font-size: 0.82rem;
}
.ic-lb-mini a { color: inherit; text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ic-lb-mini a:hover { color: var(--accent, #c8cdd6); }
.ic-lb-mini__rank, .ic-lb-mini .num { color: #8e8e98; font-variant-numeric: tabular-nums; }
.ic-home-lb-foot { margin-top: 0.55rem; }

.ic-placeholder {
  border: 1px dashed rgb(242 169 0 / 0.35);
  background: #141418;
  border-radius: 14px;
  padding: 1rem;
}
.ic-servers-hd[hidden],
.ic-home-lb-hd[hidden] { display: none !important; }

.ic-join-box { overflow: hidden; }
.ic-join-box .join-ranks-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.55rem;
}
.ic-join-box .join-ranks-actions .btn { width: 100%; justify-content: center; }
.ic-join-box h2 { margin: 0 0 0.2rem; font-size: 1rem; }
.ic-join-box #join-enlist-progress,
.ic-join-box .join-enlist-progress {
  margin-top: 0.45rem;
  max-height: none;
}
.ic-join-box .join-enlist-panel {
  padding: 0;
  border: 0;
  background: transparent;
}
.ic-join-box .join-enlist-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin: 0 0 0.45rem;
}
.ic-join-box .join-enlist-fact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  background: #101014;
  min-width: 0;
}
.ic-join-box .join-enlist-fact-lbl { font-size: 0.62rem; }
.ic-join-box .join-enlist-fact-val {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  min-width: 0;
}
.ic-join-box .join-rank-chip { display: none; }
.ic-join-box .join-rank-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  filter: invert(0.92) brightness(1.15);
}
.ic-join-box .join-rank-name {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  font-size: 0.72rem;
  line-height: 1.2;
}
.ic-join-box .join-enlist-hint { display: none; }
.ic-join-box .join-enlist-remain { font-size: 0.75rem; margin: 0.25rem 0 0; }
.ic-join-box .join-enlist-gate { font-size: 0.78rem; margin: 0 0 0.35rem; }

.ic-unlock-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.ic-unlock-row img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  background: #101014;
  flex-shrink: 0;
}
.ic-unlock-row strong { display: block; font-size: 0.84rem; line-height: 1.2; }
.ic-unlock-row em {
  font-style: normal;
  color: #8e8e98;
  font-size: 0.72rem;
}
.ic-unlock-row a { color: inherit; text-decoration: none; }
.ic-unlock-row a:hover { color: var(--accent, #c8cdd6); }

.ic-skill-list { display: flex; flex-direction: column; gap: 0.7rem; }
.ic-skill {
  padding: 0;
  overflow: hidden;
}
.ic-skill > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
}
.ic-skill > summary::-webkit-details-marker { display: none; }
.ic-skill-sum { min-width: 0; flex: 1; }
.ic-skill-sum strong { display: block; font-size: 0.95rem; }
.ic-skill-sum em { font-style: normal; color: #8e8e98; font-size: 0.78rem; }
.ic-skill-xp {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent, #c8cdd6);
}
.ic-skill-body {
  padding: 0 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  border-top: 1px solid rgb(255 255 255 / 0.06);
}
.ic-skill-rank {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-top: 0.75rem;
}
.ic-skill-rank img { width: 40px; height: 40px; }
.ic-skill-rank strong { display: block; }
.ic-skill-bar {
  height: 6px;
  border-radius: 99px;
  background: #101014;
  overflow: hidden;
  margin-top: 0.35rem;
}
.ic-skill-bar i {
  display: block;
  height: 100%;
  background: var(--accent, #c8cdd6);
}
.ic-skill-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
}
.ic-skill-tiles .pp-tile {
  background: #101014;
  border-radius: 10px;
  padding: 0.45rem 0.4rem;
}
.ic-skill-tiles .pp-tile__label { font-size: 0.62rem; }
.ic-skill-tiles .pp-tile__value { font-size: 0.78rem; }
.ic-skill-servers { list-style: none; margin: 0; padding: 0; }
.ic-skill-servers li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.05);
}
.ic-skill-servers span { color: #8e8e98; }
.ic-skill .player-kit-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

@media (max-width: 700px) {
  .ic-skill-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

body.ic-profile-page {
  background: #0c0c10;
}
body.ic-profile-page .section--player {
  padding-top: 16px;
  padding-bottom: 40px;
}
body.ic-profile-page .pp-shell {
  gap: 0.85rem;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
}
body.ic-profile-page .pp-main {
  gap: 0.75rem;
}
body.ic-profile-page .pp-aside,
body.ic-profile-page .pp-card,
body.ic-profile-page .panel.rise {
  background: #16161c;
  border: 1px solid rgb(255 255 255 / 0.06);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.28);
}
body.ic-profile-page .pp-aside {
  overflow: visible;
}
body.ic-profile-page .pp-aside-hero {
  padding: 18px 14px 14px;
  gap: 8px;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgb(200 205 214 / 0.08), transparent 55%),
    #101014;
}
body.ic-profile-page .pp-aside-body {
  padding: 12px 14px 14px;
  gap: 10px;
}
body.ic-profile-page .pp-aside-actions {
  gap: 6px;
}
body.ic-profile-page .pp-aside-actions .btn {
  flex: 1 1 calc(50% - 6px);
  min-width: 0;
}
body.ic-profile-page .pp-aside-actions .btn-primary {
  flex: 1 1 100%;
}

body.ic-profile-page .wd-playing-block {
  width: 100%;
  margin: 2px 0 0;
}
body.ic-profile-page .wd-playing-badge {
  display: flex;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  white-space: normal;
  border-radius: 999px;
  border: 1px solid rgb(200 205 214 / 0.28);
  background: rgb(200 205 214 / 0.08);
  color: #e4e4e7;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
}
body.ic-profile-page .wd-playing-label {
  min-width: 0;
  overflow-wrap: anywhere;
}
body.ic-profile-page .wd-playing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7ddea8;
  box-shadow: 0 0 0 3px rgb(125 222 168 / 0.18);
  flex-shrink: 0;
}

body.ic-profile-page .player-feat-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 6px;
  justify-items: center;
}
body.ic-profile-page .player-feat-highlights .ach-chip {
  width: auto;
  max-width: 100%;
  aspect-ratio: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.ic-profile-page .player-feat-highlights .ach-chip img {
  width: 52px;
  height: 52px;
}

body.ic-profile-page .ic-skill-rank img,
body.ic-profile-page .pp-mil-chip .pp-rank-icon {
  filter: invert(1) brightness(1.08);
  color: #fff;
}
body.ic-profile-page .ic-skill-xp,
body.ic-profile-page .player-kit-kills,
body.ic-profile-page .player-kit-card h2,
body.ic-profile-page .accent-text {
  color: #c8cdd6 !important;
}
body.ic-profile-page .player-kit-card {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0.15rem 0 0 !important;
}
body.ic-profile-page .player-kit-row {
  border-color: rgb(255 255 255 / 0.06) !important;
  background: #101014 !important;
  border-radius: 8px;
}
body.ic-profile-page .player-kit-img {
  filter: none !important;
}
body.ic-profile-page .pp-card {
  padding: 12px 14px;
}
body.ic-profile-page .ic-skill-body {
  padding: 0 0.85rem 0.85rem;
}

.ic-post-dialog {
  border: 0;
  border-radius: 18px;
  padding: 0;
  background: #16161c;
  color: #eee;
  width: min(36rem, calc(100vw - 2rem));
}
.ic-post-dialog::backdrop { background: rgb(0 0 0 / 0.62); }
.ic-post-dialog__inner { padding: 1.2rem 1.25rem 1.35rem; }
.ic-post-dialog .caps { color: var(--accent, #c8cdd6); margin: 0 0 0.35rem; }
.ic-post-dialog h3 { margin: 0 0 0.75rem; }
.ic-post-dialog [data-post-body] { white-space: pre-wrap; line-height: 1.55; color: #c8c8d0; }
.ic-post-dialog form { margin-top: 1rem; }

body.ic-hub-page .streamer-promo { margin: 0 0 0.75rem; }
body.ic-hub-page #shop-goal,
body.ic-hub-page .shop-goal { display: none !important; }
body.ic-hub-page .shop-ad-actions {
  min-width: 240px;
  width: min(300px, 100%);
}
body.ic-hub-page .hero,
body.ic-hub-page .hero--wallpaper { display: none; }
body.ic-hub-page .server-block--add,
body.ic-hub-page #shop-add-server-card,
body.ic-hub-page #shop-list-cta {
  display: none !important;
}

.ic-server-head-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  min-width: 0;
}
body.ic-hub-page #servers-meta {
  color: #a8a8b0;
  font-size: 0.72rem;
  white-space: nowrap;
}
.ic-ban-chip {
  color: #c8cdd6;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ic-ban-chip strong {
  color: #f4f4f5;
  font-variant-numeric: tabular-nums;
  margin-right: 0.2rem;
}
.ic-ban-chip:hover { color: #fff; }

body.ic-hub-page .server-card-top {
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
}
body.ic-hub-page .server-id-copy {
  background: rgb(255 255 255 / 0.06) !important;
  border: 1px solid rgb(255 255 255 / 0.12) !important;
  color: #e4e4e7 !important;
  min-height: 26px;
  padding: 0 8px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body.ic-hub-page .server-id-copy-label {
  display: inline !important;
}
body.ic-hub-page .server-card-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
}
body.ic-hub-page .server-card-top .name,
body.ic-hub-page .server-card-id .name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  max-width: 100%;
}
body.ic-hub-page .sname {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  color: #a8a8b0;
  white-space: normal;
  overflow: hidden;
  line-height: 1.35;
  max-height: calc(1.35em * 2);
}
body.ic-hub-page .server-ping {
  position: static;
  margin-left: auto;
}
body.ic-hub-page .server-players-badge,
body.ic-hub-page .server-reserved-badge {
  height: 22px;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 3px;
  font-size: 0.72rem;
  line-height: 1;
}
body.ic-hub-page .server-players-badge {
  background: #c8cdd6;
  color: #101014;
}
body.ic-hub-page .server-players-badge.is-full {
  background: #c23b3b;
  color: #fff;
}
body.ic-hub-page .server-reserved-badge {
  background: rgb(200 205 214 / 0.18);
  color: #e8e8ee;
  border-radius: 3px;
}
