/* L2Pearl white and red theme. Loaded after site.css and account.css; it only changes colours.
   Structure: white pages, one strong red for actions and accents, near-black text.
   Everything that sits on game art (hero worlds, server buttons) keeps its own light text. */

:root {
  color-scheme: light;
  --ink: #FFFFFF;
  --ink-2: #F4F9FB;
  --surface: #FFFFFF;
  --surface-2: #F1F7FA;
  --edge: #D5E2E8;
  --edge-soft: #E6EFF3;

  --bone: #131A1D;
  --muted: #4E585C;
  --faint: #748085;
  --text: #131A1D;

  --gold: #0D7AA8;
  --gold-2: #0B6389;
  --gold-deep: #CDEAF6;
  --pearl: #131A1D;
  --amethyst: #22292C;
  --amethyst-deep: #FFFFFF;
  --teal: #0D7AA8;
  --teal-deep: #FFFFFF;

  --live: #0E7C4A;
  --down: #B3470F;

  --red-grad: linear-gradient(180deg, #1B8EBF, #0A6C96);
  --tint: rgba(13, 122, 168, .055);
}

html, body { background: #fff; }
::selection { background: #0D7AA8; color: #fff; }

/* ------------------------------------------------------------ ambient */
#atmos, .veil { display: none; }

/* ------------------------------------------------------------ top bar */
.bar { background: rgba(255, 255, 255, .92); border-bottom: 2px solid #0D7AA8; }
.sigil img { filter: none; }
.sigil__l2 { background: none; -webkit-text-fill-color: #131A1D; color: #131A1D; }
.sigil__name { background: none; -webkit-text-fill-color: #0D7AA8; color: #0D7AA8; }

/* ------------------------------------------------------------ buttons */
.btn--gold { background: var(--red-grad); color: #fff; }
.btn--gold::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); background-size: 250% 100%; }
.btn--ghost { background: #fff; color: #131A1D; box-shadow: inset 0 0 0 1px #C2D2D9; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px #0D7AA8; color: #0D7AA8; }

/* ---------------------------------------------------------------- hero */
.hero { background: #fff; border-bottom: 0; }
.art { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%); mask-image: linear-gradient(90deg, transparent 0%, #000 26%); }
#motes { display: none; }
.hero__scrim {
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .86) 30%, transparent 56%),
    linear-gradient(0deg, #fff 0%, transparent 16%);
}
.hero__tag { color: #0D7AA8; font-weight: 600; }
.hero__title { background: linear-gradient(100deg, #084D6A 0%, #0D7AA8 55%, #1F9BD0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: none; }
.hero__lede { color: #40484C; text-shadow: none; }
.hero__lede strong { color: #131A1D; }
.status { background: rgba(255, 255, 255, .92); }
.scroll-cue { color: #748085; }

/* the three worlds sit on game art, so their text stays light */
.worlds__k { color: #0D7AA8; }
.wcard { --live: #46D69A; border-color: #0D7AA8; box-shadow: 0 10px 22px rgba(8, 55, 76, .18); }
.wcard:hover { box-shadow: 0 14px 28px rgba(8, 55, 76, .26), 0 0 0 1px #0D7AA8; }
.wcard b { color: #fff; }
.wcard b em { color: #C9EFFF; }
.wcard small { color: #E5ECEF; }
.wcard--live small[data-state="down"] { color: #B3E8FF; }

/* ---------------------------------------------------------------- rates: the one solid red band */
.rates { background: linear-gradient(90deg, #096085, #0D7AA8 50%, #096085); border-bottom: 0; }
.rate { background: none; border-inline-end-color: rgba(255, 255, 255, .22); }
.rate::before { display: none; }
.rate__k { color: #D9F4FF; }
.rate__v { color: #fff; }
.rate__v small { color: #D9F4FF; }
@media (max-width: 760px) { .rate:nth-child(-n+2) { border-bottom-color: rgba(255, 255, 255, .22); } }

/* ------------------------------------------------------------ sections */
.section:nth-of-type(even) { background: #F6FAFC; }
.section + .section { border-top-color: #E6EFF3; }
.section__title { color: #131A1D; }
.stop[data-state="next"]::before { border-color: #fff; box-shadow: 0 0 0 3px rgba(13, 122, 168, .28); }
@keyframes beacon { 50% { box-shadow: 0 0 0 7px rgba(13, 122, 168, .16); } }
.stop::before { background: #fff; }
.cd { background: #fff; }

/* ---------------------------------------------------------------- hover tints that were cream on dark */
.sheet__tab:hover, .rk-tab:hover, .legal__tabs a:hover, .lang-switch-menu button:hover, .side__tab:hover,
.lt tbody tr:hover, .rk-tt tbody tr:hover, .social:hover { background: var(--tint); }

/* ---------------------------------------------------------------- medals on white */
.lt tr:nth-child(2) .rank, .rk-tt tr.top2 .rk-rank { color: #6E7682; }
.lt tr:nth-child(3) .rank, .rk-tt tr.top3 .rk-rank { color: #9A5A25; }
.rk-tt tr.top1 .rk-rank { color: #0D7AA8; }
.pod { --medal: #6E7682; }
.pod--1 { --medal: #0D7AA8; box-shadow: 0 10px 30px rgba(13, 122, 168, .14); }
.pod--3 { --medal: #9A5A25; }

/* --------------------------------------------------------------- cards and panels */
.discord { background: radial-gradient(90% 120% at 100% 0%, rgba(13, 122, 168, .09), transparent 60%), #fff; }
.social { background: #fff; }
.social--tiktok svg { color: #111; }
.season--now, .realm--live { box-shadow: inset 0 3px 0 #0D7AA8, 0 10px 30px rgba(13, 122, 168, .08); }
.realm--soon { box-shadow: inset 0 3px 0 #22292C; }
.realm__art::after { background: linear-gradient(180deg, transparent 40%, #F1F7FA); }
.realm__state { background: rgba(255, 255, 255, .92); }
.realm__state--soon { color: #131A1D; border-color: #C2D2D9; }
.realm--soon .realm__name em, .compare__row--head span:nth-child(3), .compare__row--head span:last-child { color: #0B6389; }
.realm--soon .realm__line { color: #0D7AA8; }
.realm--soon .realm__list li::before { background: #0D7AA8; }
.fx__btn { box-shadow: none; background: #fff; }
.fx__btn--sub { background: #fff; }
.fx__btn[aria-current="true"], .fx__group.is-current > .fx__btn--group { background: linear-gradient(90deg, rgba(13, 122, 168, .12), #fff); }
.fx-switch a { background: #fff; }
.fx-switch a[aria-current="page"], .srv-pick button[aria-current="true"], .srv-opt:has(input:checked) { background: linear-gradient(180deg, rgba(13, 122, 168, .11), #fff); }
.fx__panels { background: #fff; }

/* server buttons with art keep a dark veil and light text */
.srv-pick button[style*="--srv-bg"], .srv-opt[style*="--srv-bg"] { color: #EAF0F3; }
.srv-pick button[style*="--srv-bg"] small, .srv-opt[style*="--srv-bg"] small { color: #D6DFE3; }
.srv-pick button[style*="--srv-bg"]:hover, .srv-opt[style*="--srv-bg"]:hover { color: #fff; }
.srv-pick button[style*="--srv-bg"][aria-current="true"], .srv-opt[style*="--srv-bg"]:has(input:checked) {
  color: #fff;
  background: linear-gradient(180deg, rgba(13, 122, 168, .62), rgba(7, 58, 81, .9)), var(--srv-bg) center 30% / cover no-repeat;
}

/* screenshots stay on a dark frame so the game art reads as usual */
.shot__frame, .panel__shot { background: #131A1D; }
.shot__frame img, .panel__shot img { box-shadow: 0 10px 28px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .14); }
.shot__frame:hover img { box-shadow: 0 14px 34px rgba(0, 0, 0, .5), 0 0 0 1px #0D7AA8; }

/* ---------------------------------------------------------------- softer shadows on white */
.dpop__panel, .modal__panel, .auth__card { box-shadow: 0 24px 60px rgba(8, 38, 50, .16), 0 0 0 1px rgba(13, 122, 168, .1); }
.lang-switch-menu, .refbar { box-shadow: 0 14px 34px rgba(8, 38, 50, .14); }
.sound { box-shadow: 0 8px 20px rgba(8, 38, 50, .14); }
.dpop__seal, .auth__seal { filter: none; }
.dpop__badges .hot { color: #fff; }
.modal__backdrop, .dpop__backdrop { background: rgba(7, 26, 34, .55); }
.article .modal__close { background: rgba(255, 255, 255, .85); color: #131A1D; }

/* ------------------------------------------------------------ account and login */
/* warnings keep their own burnt orange, so errors do not read as the blue of the links */
.msg--err, .chip--bad, .field__err { color: #B3470F; }
.auth__art { opacity: .34; }
/* the ice peaks of the elf art, without the elf: a head cut off by the band looks wrong. No dwarf at any screen density. */
.acct-hero__art { background: url("elf-hero.webp?v=fc8465b8a7") 100% 34% / 190% auto no-repeat; opacity: .8; }
/* no round marks: a diamond for the coins, small diamonds for the status lights */
.purse__coin { width: 26px; height: 26px; margin: 0 8px; border-radius: 0; transform: rotate(45deg); background: var(--red-grad); box-shadow: none; animation: none; }
.stat::after { display: none; }
.dot { border-radius: 0; transform: rotate(45deg); }
.inv-view[aria-selected="true"] { color: #fff; background: var(--red-grad); }
.inv-grade--D { color: #2C6AA8; }
.inv-grade--C { color: #1E8449; }
.inv-grade--B { color: #6F42B5; }
.inv-grade--A { color: #B85A12; }
.wheel__spin { background: var(--red-grad); color: #fff; }
.wheel__spin:disabled { background: #DDE5E9; color: #748085; }
.wheel__prize--coin { border-color: #0D7AA8; background: linear-gradient(90deg, rgba(13, 122, 168, .1), #fff); }
.wheel__prize--ticket { border-color: #1C3F7A; background: linear-gradient(90deg, rgba(28, 63, 122, .1), #fff); }
.wheel__dot--coin { background: linear-gradient(135deg, #BFE8F7, #1B8EBF); }
.wheel__dot--ticket { background: linear-gradient(135deg, #9DB8E8, #1C3F7A); }
.wheel__stage::before { display: none; }
.wheel__bulb { fill: #DFF3FB; animation: none; }
.wheel__svg { filter: drop-shadow(0 10px 14px rgba(13, 60, 90, .22)); }
.wheel { --wheel-edge-top: #4FB4DE; --wheel-edge-bottom: #06324A; --wheel-floor: rgba(13, 60, 90, .38); --wheel-slot: linear-gradient(135deg, #F0FAFE, #6CC4E8 45%, #18688A 55%, #B4E8FB); }
.wheel__prize--boost { border-color: #2FB383; background: linear-gradient(90deg, rgba(16, 150, 105, .1), #fff); }
.wheel__dot--boost { background: linear-gradient(135deg, #BFF5DF, #0E7A55); }
.wheel__boost { border-color: #8FD9BC; border-radius: 12px; background: linear-gradient(90deg, rgba(16, 150, 105, .09), #fff); }
.early--boost { border-color: #8FD9BC; background: linear-gradient(110deg, rgba(16, 150, 105, .1), #fff 60%); }
.early--boost .early__badge { color: #0E7A55; }
.pack--boost { border-color: #8FD9BC; }
.pack__boost { color: #0E7A55; background: rgba(16, 150, 105, .1); }
.raffle { border-color: var(--ice-line, #CFE6F0); border-radius: 18px; background: radial-gradient(70% 120% at 100% 0%, rgba(27, 142, 191, .1), transparent 60%), linear-gradient(180deg, #FFFFFF, #F4FAFD); box-shadow: 0 10px 26px rgba(13, 70, 100, .08); }
.raffle__next, .raffle__prize { border-color: var(--ice-line, #CFE6F0); border-radius: 14px; background-color: #fff; }
.raffle__prize { box-shadow: 0 6px 16px rgba(13, 70, 100, .06); }
.raffle__prize:hover { box-shadow: 0 14px 26px rgba(13, 90, 130, .14); }
.raffle__eyebrow { color: #0D7AA8; }
.raffle__next b { color: #0B6389; }
.paytile--apple:hover:not(:disabled) .paytile__logo { color: #000; }
.meter span[data-level="2"] { background: #0D7AA8; }

/* ---------------------------------------------------------------- wiki */
.wiki .wbar { background: #fff; border-bottom: 1px solid #D5E2E8; }
.wiki .wsw a[aria-current] { color: #fff; background: var(--red-grad); }
.wiki .wcard { background: #fff; box-shadow: none; display: block; min-height: 0; border-color: #D5E2E8; }
.wiki .wcard:hover { transform: none; box-shadow: none; border-color: #D5E2E8; }
.wiki .wcard b { color: #131A1D; text-shadow: none; white-space: normal; }
.wiki .wskill b { color: #131A1D; }
.wiki .wcard small { color: var(--muted); text-shadow: none; }
.wiki .wchip { background: #F1F7FA; }
.wiki table.wlist tbody tr:hover td { background: var(--tint); }
.wiki .wg { background: #E6EFF3; color: #4E585C; }
.wiki .wg-c { background: #E2F2E7; color: #1E7A40; }
.wiki .wg-b { background: #FBEBD3; color: #9A5A12; }
.wiki .wg-a { background: #DDF2FB; color: #0B6389; }
.wiki .wg-s, .wiki .wg-s80, .wiki .wg-s84 { background: #EBDFF7; color: #5C2F9A; }
.wiki .whead img { box-shadow: none; image-rendering: auto; }
.wiki .wmap { background: #EFE7DD; }
.wiki .wfilter button[aria-pressed="true"] { color: #fff; }
.wiki .wsearch__res { box-shadow: 0 12px 28px rgba(8, 38, 50, .16); }

/* ======================================================================
   Layout in the style of a bright launch page: pills, rounded cards,
   centered titles, art that dissolves into white mist.
   ====================================================================== */

/* pills instead of angled buttons, everywhere */
.btn, .btn--sm { clip-path: none; border-radius: 999px; text-transform: none; letter-spacing: .01em; font-family: var(--body); font-weight: 600; }
.btn { padding: 14px 34px; font-size: 1rem; }
.btn--sm { padding: 9px 20px; font-size: .9rem; }
.btn--gold { box-shadow: 0 8px 20px rgba(13, 122, 168, .28), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--ghost { background: linear-gradient(180deg, #fff, #EDF2F4); box-shadow: inset 0 0 0 1px #C9D6DC, 0 6px 14px rgba(8, 38, 50, .06); }
.lang-switch-btn { border-radius: 999px; padding: 0 12px; }
.lang-switch-menu { border-radius: 12px; }

/* main menu: one bar of real buttons, each lights up in the colour of the main button */
.menu { gap: 2px; flex-wrap: nowrap; padding: 4px; border-radius: 999px; background: #EFF6FA; box-shadow: inset 0 0 0 1px #D5E2E8; }
.menu a { padding: 8px 17px; border-radius: 999px; font-family: var(--label); font-weight: 600; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: #243842; transition: color .16s, box-shadow .16s, transform .16s; }
.menu a:hover, .menu a:focus-visible, .menu a[aria-current="page"] {
  background: var(--red-grad); -webkit-background-clip: border-box; background-clip: border-box; color: #fff;
  box-shadow: 0 6px 14px rgba(13, 90, 130, .3), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.menu a:hover { transform: translateY(-1px); }
.menu a[aria-current="page"]::after, .menu a[aria-current="page"]::before { display: none; }
/* bigger on computers, in the letters of the titles, with a small diamond between the buttons */
@media (min-width: 761px) {
  .menu { gap: 4px; padding: 5px; }
  .menu a { position: relative; padding: 11px 17px; font-family: var(--display); font-size: 1.02rem; font-weight: 700; letter-spacing: .07em; }
  .menu a + a::before { content: ""; position: absolute; left: -4.5px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; background: #7FB9D2; transform: rotate(45deg); transition: opacity .16s; }
  .menu a:hover::before, .menu a:hover + a::before, .menu a:focus-visible::before, .menu a:focus-visible + a::before, .menu a[aria-current="page"] + a::before { opacity: 0; }
  .bar__cta .btn { padding: 11px 22px; font-size: .98rem; }
  .sigil { gap: 8px; margin-inline-end: 8px; letter-spacing: .12em; }
  .sigil img { height: 52px; }
}
/* on tablets the menu takes its own line instead of running into Login and Register */
@media (min-width: 761px) and (max-width: 1259px) {
  .bar__row { flex-wrap: wrap; row-gap: 3px; }
  .bar__row::after { content: ""; order: 2; flex-basis: 100%; height: 0; }
  .menu { order: 3; margin-inline: auto; }
}
.bar { border-bottom: 1px solid #E2ECF0; }
/* over the hero the bar is glass, so the art shows through */
.home2 .bar:not(.is-solid) .menu { background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 10px 26px rgba(13, 60, 90, .16); }

/* rounded cards */
.news-card, .season, .realm, .ladder, .castles, .bosses, .discord, .votes, .sheet, .shot, .card, .fx__card, .fx__panels, .fx__btn, .fx-switch a,
.compare__table, .rk-tabs, .pod, .legal__body, .auth__card, .modal__panel, .dpop__panel, .countdown, .rk-soon, .box, .srv-pick button, .srv-opt, .manual, .refbar {
  border-radius: 16px;
}
.castles, .bosses, .ladder, .sheet, .compare__table, .shot, .news-card, .realm, .rk-tabs { overflow: hidden; }
.fx__panels { overflow-y: auto; }
.shot__frame img, .panel__shot img { border-radius: 8px; }
.social, .vote-banner, .cd, .tag { border-radius: 10px; }
.news-card, .realm, .ladder, .castles, .bosses, .season, .discord, .votes, .box { box-shadow: 0 10px 28px rgba(8, 38, 50, .06); }
.news-card { background: #fff; }
.news-card__title { font-family: var(--body); font-weight: 600; font-size: 1.28rem; }
.news-card__more { font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: .92rem; }

/* titles: dark first part, red second part */
.section__title { text-transform: uppercase; letter-spacing: .02em; font-weight: 700; }
.section__title em { font-style: normal; color: #0D7AA8; }

/* ---------------------------------------------------------------- home */
.home2 .bar { position: fixed; inset-inline: 0; top: 0; background: transparent; border-bottom: 1px solid transparent; backdrop-filter: none; transition: background .25s, box-shadow .25s; }
.home2 .bar.is-solid { background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 #E2ECF0, 0 8px 22px rgba(8, 38, 50, .06); }

.home2 .hero { min-height: max(680px, min(100vh, 960px)); display: grid; align-content: end; justify-items: center; text-align: center; }
/* the elf stands in the middle; the painting melts into white at both sides on wide screens */
.home2 .art {
  left: 50%; right: auto; top: 0; height: auto; width: clamp(1120px, 100%, 1660px); aspect-ratio: 1456 / 910;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.home2 .art__drift { animation: none; }
/* the light layers of the dwarf's cave have no place on this art */
.home2 .rays, .home2 .wave, .home2 .glow, .home2 .lit, .home2 .mist { display: none; }
.home2 .hero__scrim {
  background: linear-gradient(180deg, rgba(255, 255, 255, .86) 0%, rgba(255, 255, 255, .42) 7%, transparent 16%);
}
.home2 .hero::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 40%; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, #fff 24%, rgba(255, 255, 255, .62) 50%, transparent 86%), url(mist.webp?v=79bbd290ce) bottom center / 120% 86% no-repeat;
}
.home2 .hero__inner { padding-block: 0 44px; justify-items: center; }
.home2 .hero__copy { max-width: 760px; justify-items: center; gap: 16px; }
.home2 .hero__title {
  position: relative; font-size: clamp(3.2rem, 8.4vw, 6.4rem); letter-spacing: .09em; margin-inline-end: -.09em; line-height: 1;
  background: linear-gradient(180deg, #F4FDFF 8%, #BDEBFF 36%, #F4FDFF 48%, #0B5F86 51%, #0E7FB0 70%, #66CBF0 96%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* a line of light crosses the name now and then */
.home2 .hero__title::after {
  content: attr(data-text); position: absolute; inset: 0; pointer-events: none; color: transparent;
  background: linear-gradient(105deg, transparent 44%, #fff 50%, transparent 56%) 130% 0 / 300% 100% no-repeat; -webkit-background-clip: text; background-clip: text;
  animation: title-glint 8s ease-in-out infinite;
}
@keyframes title-glint { 0%, 60% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
@media (prefers-reduced-motion: reduce) { .home2 .hero__title::after { animation: none; } }
.home2 .hero__rule { position: relative; display: block; width: min(420px, 74%); height: 1px; margin-top: -2px; background: linear-gradient(90deg, transparent, #0D7AA8 28%, #0D7AA8 72%, transparent); }
.home2 .hero__rule::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border: 1.5px solid #0D7AA8; background: #fff; transform: rotate(45deg); }
.home2 .hero__lede { color: #131A1D; font-size: 1.14rem; font-weight: 500; }
.home2 .hero__cta { justify-content: center; margin-top: 4px; }
.home-manual { display: flex; justify-content: center; }
.home-manual .manual { margin-top: 18px; }

.hworlds {
  position: absolute; z-index: 3; top: 92px; left: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
  display: grid; gap: 2px; min-width: 248px; padding: 10px; text-align: start;
  background: rgba(255, 255, 255, .96); border: 1px solid #D8E5EB; border-radius: 16px; box-shadow: 0 14px 34px rgba(8, 38, 50, .14);
}
.hworld { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: #131A1D; }
.hworld:hover { background: var(--tint); }
.hworld b { font-family: var(--display); font-size: 1rem; color: #0D7AA8; }
.hworld small { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: #4E585C; white-space: nowrap; }
.hworld small i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.hworld small[data-state="down"] i { background: #0D7AA8; }

.home2 .rates { width: min(1240px - 2 * var(--gutter), 100% - 2 * var(--gutter)); margin: 0 auto; border-radius: 18px; overflow: hidden; position: relative; z-index: 2; box-shadow: 0 16px 36px rgba(13, 122, 168, .22); }
.home2 .rate { padding-block: 18px; }
.home2 .rate__v { font-size: clamp(1.9rem, 4vw, 2.7rem); }

.home2 .section { background: none; padding-block: clamp(52px, 7vw, 92px); }
.home2 .section + .section { border-top: 0; }
.home2 .section__head { margin-inline: auto; justify-items: center; text-align: center; }
.home2 .section__lede { max-width: 62ch; }
.home2 .eyebrow { color: #0D7AA8; letter-spacing: .2em; }

.home2 .news-card--featured { grid-column: auto; grid-template-rows: auto 1fr; grid-template-columns: none; }
.home2 .news-card--featured .news-card__img { height: auto; aspect-ratio: 16 / 9; min-height: 0; }
.home2 .news-card--featured .news-card__body { padding: 20px 22px 24px; justify-content: flex-start; gap: 8px; }
.home2 .news-card--featured .news-card__title { font-size: 1.28rem; }
.home2 .news:not(.news--all) .news-card:nth-child(n+4) { display: none; }
.news-more { display: flex; justify-content: center; margin-top: 26px; }
@media (max-width: 960px) { .home2 .news { max-width: none; } }

.home2 #worlds .realms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home2 .realm__art { height: 220px; }
@media (max-width: 900px) { .home2 #worlds .realms { grid-template-columns: 1fr; } }

/* full width scene with mist above and below and a white card on it */
.scene { position: relative; overflow: hidden; padding-block: clamp(120px, 15vw, 210px); }
.scene__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.42) saturate(1.04); }
.scene__mist { position: absolute; inset-inline: 0; bottom: -2px; height: clamp(170px, 26vw, 360px); background: linear-gradient(0deg, #fff 22%, rgba(255, 255, 255, .5) 52%, transparent 88%), url(mist.webp?v=79bbd290ce) bottom center / 120% 86% no-repeat; pointer-events: none; }
.scene__mist--top { top: -2px; bottom: auto; transform: scaleY(-1); }
.scene .wrap { position: relative; z-index: 1; }
.scene__card {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(22px, 4vw, 48px); align-items: center;
  padding: clamp(24px, 3.6vw, 44px); background: rgba(255, 255, 255, .96); border: 1px solid #D8E5EB; border-radius: 20px; box-shadow: 0 22px 54px rgba(7, 20, 25, .22);
}
.scene__card .section__head { margin: 0; justify-items: start; text-align: start; }
.scene__card .seasons { grid-template-columns: 1fr; gap: 10px; }
.scene__card .season { padding: 16px 20px; box-shadow: none; background: #F4F9FB; gap: 2px; }
.scene__card .season__no { font-size: 3rem; top: 8px; }
.scene__card .season__date { font-size: 1.1rem; }
.scene__card .season p { font-size: .94rem; }
@media (max-width: 860px) { .scene__card { grid-template-columns: 1fr; } }

/* the road: a big clock first, the dates under it */
#launch .wrap { display: flex; flex-direction: column; align-items: stretch; }
#launch .section__head { order: 0; }
#launch .countdown { order: 1; margin: 0 auto 44px; border: 0; background: none; display: grid; justify-items: center; gap: 12px; padding: 0; }
#launch .countdown__label { letter-spacing: .04em; text-transform: none; font-family: var(--body); font-size: 1.06rem; color: var(--muted); }
#launch .countdown__label strong { color: #0D7AA8; }
#launch .cd { background: none; border: 0; min-width: 92px; border-inline-end: 1px solid #D8E5EB; border-radius: 0; }
#launch .cd:last-child { border-inline-end: 0; }
#launch .cd b { font-family: var(--body); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.4rem); color: #131A1D; }
#launch .cd span { letter-spacing: .08em; text-transform: none; font-family: var(--body); font-size: .84rem; color: #748085; }
#launch .road { order: 2; grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 28px; }
#launch .road::before { display: none; }
@media (max-width: 1020px) { #launch .road { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { #launch .road { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.home2 .fx-switch { margin-inline: auto; }

@media (max-width: 760px) {
  .sigil { margin-inline-end: 6px; font-size: .95rem; gap: 7px; }
  .sigil img { height: 44px; }
  .bar__cta { gap: 6px; }
  .lang-switch-btn { padding: 0 8px; }
  .home2 .hero { min-height: 0; padding-top: 396px; align-content: start; }
  .home2 .art { top: 40px; width: 690px; transform: translateX(-50%); -webkit-mask-image: none; mask-image: none; }
  .home2 .hero::after { top: 300px; bottom: auto; height: 180px; background: linear-gradient(0deg, #fff 30%, rgba(255, 255, 255, .6) 62%, transparent 100%); }
  .hworlds { position: relative; top: auto; left: auto; order: 3; margin: 0 auto 16px; width: min(320px, calc(100% - 32px)); }
  .home2 .hero__scrim { background: linear-gradient(180deg, #fff 0, #fff 40px, rgba(255, 255, 255, .5) 76px, transparent 130px); }
  .home2 .rates { grid-template-columns: repeat(2, 1fr); }
  #launch .cd { min-width: 70px; }
}

/* ======================================================================
   The home page without boxes: everything floats on white, with real depth.
   depth3d.js adds the lean of the pictures and the rise of the sections.
   ====================================================================== */
.home2 { --deep: 0 34px 46px -20px rgba(8, 55, 76, .42), 0 12px 18px -8px rgba(8, 55, 76, .18); }
.home2 main, .home2 .bar, .home2 .footer { position: relative; z-index: 1; }

/* footer links: quiet text, a small diamond between them, a thin ice line on hover */
.footer nav { gap: 0; }
.footer nav a { position: relative; padding: 4px 14px; color: #5A7482; font-size: .9rem; transition: color .18s; }
.footer nav a:last-child { padding-inline-end: 0; }
.footer nav a + a::before { content: ""; position: absolute; left: -2px; top: 50%; width: 4px; height: 4px; margin-top: -2px; background: #BFDDEA; transform: rotate(45deg); }
.footer nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 1px; background: #1B8EBF; transform: scaleX(0); transform-origin: left; transition: transform .22s; }
.footer nav a:last-child::after { right: 0; }
.footer nav a:hover { color: #0B6389; }
.footer nav a:hover::after { transform: scaleX(1); }

/* 3D letters */
.home2 .hero__title { filter: drop-shadow(0 0 1px #05405F) drop-shadow(0 1px 0 #084F73) drop-shadow(0 2px 0 #06466A) drop-shadow(0 3px 0 #053A58) drop-shadow(0 14px 14px rgba(4, 40, 60, .38)); }
.home2 .section__title { text-shadow: 0 1px 0 #C8D4D9, 0 2px 0 #BAC7CD, 0 3px 0 #ACBAC0, 0 7px 12px rgba(8, 38, 50, .2); }
.home2 .section__title em { text-shadow: 0 1px 0 #0B6389, 0 2px 0 #085677, 0 3px 0 #084D6A, 0 7px 12px rgba(8, 73, 101, .32); }

/* the three worlds in the hero: a path of ice marks on a patch of mist */
.hworlds { background: none; border: 0; box-shadow: none; padding: 2px 0 2px 26px; min-width: 0; gap: 15px; isolation: isolate; }
.hworlds::before { content: ""; position: absolute; z-index: -1; inset: -40px -84px -40px -72px; background: radial-gradient(closest-side, rgba(255, 255, 255, .9) 38%, rgba(255, 255, 255, 0)); pointer-events: none; }
.hworlds::after { content: ""; position: absolute; left: 6px; top: 12px; bottom: 24px; width: 1px; background: linear-gradient(180deg, #0D7AA8, #0D7AA8 70%, rgba(13, 122, 168, .25)); }
.hworld { position: relative; display: grid; justify-content: start; gap: 3px; padding: 0; }
.hworld:hover { background: none; }
.hworld b { width: fit-content; font-size: 1.36rem; line-height: 1.05; letter-spacing: .05em; color: transparent; background: linear-gradient(180deg, #1B8EBF 10%, #094A68 90%); -webkit-background-clip: text; background-clip: text; transition: letter-spacing .3s cubic-bezier(.2, .7, .2, 1); }
.hworld:hover b { letter-spacing: .09em; }
.hworld small { gap: 0; font-family: var(--label); font-size: .76rem; font-weight: 600; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; color: #2F4C5B; }
.hworld small em { font-style: normal; color: #0B6389; }
.hworld small em::before { content: "·"; margin-inline: 7px; color: #6F8A97; }
.hworld--live small em { color: var(--live); }
.hworld small[data-state="down"] em { color: #B3470F; }
.hworld small i { position: absolute; left: -24px; top: 8px; z-index: 1; width: 9px; height: 9px; border: 1.5px solid #0D7AA8; border-radius: 0; background: #fff; transform: rotate(45deg); transition: background .25s; }
.hworld:hover small i { background: #0D7AA8; }
.hworld--live small i { border-color: var(--live); background: var(--live); animation: world-live 2.6s ease-out infinite; }
.hworld--live:hover small i { background: var(--live); }
.hworld small[data-state="down"] i { border-color: #B3470F; background: #B3470F; animation: none; }
@keyframes world-live { 0% { box-shadow: 0 0 0 0 rgba(14, 124, 74, .5); } 70%, 100% { box-shadow: 0 0 0 7px rgba(14, 124, 74, 0); } }
@media (prefers-reduced-motion: reduce) { .hworld--live small i { animation: none; } }
@media (min-width: 761px) and (max-width: 1259px) { .hworlds { top: 138px; } }
@media (max-width: 760px) { .hworlds::before, .hworlds::after { display: none; } .hworlds { justify-items: center; padding-left: 0; } .hworld { justify-items: center; } .hworld small i { position: static; display: inline-block; margin-inline-end: 9px; transform: translateY(-1px) rotate(45deg); } }

/* rates: big numbers, no band */
.home2 .rates { background: none; box-shadow: none; overflow: visible; border-radius: 0; padding-block: 14px 0; }
.home2 .rate { border: 0; background: none; padding-block: 8px; }
.home2 .rate__k { color: #4E585C; order: 2; }
.home2 .rate__v { font-size: clamp(3.2rem, 6.4vw, 5.4rem); line-height: 1; color: #0D7AA8; text-shadow: 0 1px 0 #0B6389, 0 2px 0 #085677, 0 3px 0 #084D6A, 0 4px 0 #07435C, 0 12px 14px rgba(8, 73, 101, .3); }
.home2 .rate__v small { color: #0D7AA8; }
.home2 .manual, .home2 .manual > summary { background: none; border: 0; box-shadow: none; }

/* pictures that float */
.home2 .news-card__img, .home2 .realm__art, .home2 .shot__frame {
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(calc(var(--base-y, 0deg) + var(--ry, 0deg))) translateZ(var(--tz, 0px));
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; will-change: transform; box-shadow: var(--deep); border-radius: 16px;
}

/* news */
.home2 .news-card, .home2 .news-card--featured { background: none; border: 0; box-shadow: none; overflow: visible; }
.home2 .news-card:hover { transform: none; box-shadow: none; }
.home2 .news-card__img { overflow: hidden; }
.home2 .news-card--featured .news-card__body, .home2 .news-card__body { padding: 22px 6px 0; background: none; }

/* worlds */
.home2 .realm, .home2 .realm--live, .home2 .realm--soon { background: none; border: 0; box-shadow: none; overflow: visible; grid-template-rows: auto 1fr; }
.home2 .realm:hover { transform: none; box-shadow: none; border: 0; }
.home2 .realm__art { height: 290px; overflow: hidden; }
.home2 .realm__art::after { display: none; }
.home2 .realm:nth-child(1) .realm__art { --base-y: 7deg; }
.home2 .realm:nth-child(3) .realm__art { --base-y: -7deg; }
.home2 .realm__body { background: none; margin-top: 0; padding: 26px 6px 0; }
.home2 .realm__top { position: static; margin: 0 0 2px; transform: none; }
.home2 .realm__state, .home2 .realm__state--soon { position: static; background: none; border: 0; box-shadow: none; padding: 0; color: #0D7AA8; }
.home2 .realm__body { gap: 12px; }
.home2 .realm__rates, .home2 .realm__rates > div { background: none; border: 0; box-shadow: none; }
.home2 .realm__rates b { font-size: 1.9rem; color: #0D7AA8; text-shadow: 0 1px 0 #0B6389, 0 2px 0 #085677, 0 6px 8px rgba(8, 73, 101, .26); }

/* seasons: words on the landscape */
.home2 .scene__img { filter: brightness(1.02) saturate(1.06); }
/* a soft dusk over the landscape, so the words read without a box behind them */
.home2 .scene .wrap { z-index: 2; }
.home2 .scene::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(86% 66% at 50% 50%, rgba(6, 10, 20, .56), rgba(6, 10, 20, .4) 62%, transparent 100%); }
.home2 .scene__card { background: none; border: 0; box-shadow: none; padding: 0; color: #fff; text-shadow: 0 2px 4px rgba(6, 10, 20, .72), 0 4px 22px rgba(6, 10, 20, .62); }
.home2 .scene__card .section__title { color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .35), 0 4px 18px rgba(6, 10, 20, .7); }
.home2 .scene__card .section__title em { color: #41C6FF; text-shadow: inherit; }
.home2 .scene__card .eyebrow, .home2 .scene__card .season__k { color: #B3E8FF; }
.home2 .scene__card .section__lede, .home2 .scene__card .season p { color: #ECF2F4; }
.home2 .scene__card .season, .home2 .scene__card .season--now { background: none; border: 0; box-shadow: none; padding: 8px 0 8px 22px; }
.home2 .scene__card .season::before { content: ""; position: absolute; left: 1px; top: 17px; width: 9px; height: 9px; transform: rotate(45deg); background: #23BDFF; }
.home2 .scene__card .season__date { color: #fff; }
.home2 .scene__card .season__no { display: none; }

/* the road and the clock */
#launch .road, .home2 .discord, .home2 .votes {
  border: 1px solid #BFDDEA; border-radius: 20px;
  background: radial-gradient(120% 90% at 100% 0, rgba(127, 216, 255, .2), transparent 60%), radial-gradient(90% 70% at 0 100%, rgba(27, 142, 191, .1), transparent 60%), linear-gradient(170deg, #fff, #EEF7FB);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255, 255, 255, .7), 0 24px 46px -18px rgba(13, 90, 130, .3);
}
#launch .road { gap: 10px; padding: 14px; }
.home2 .stop { padding: 46px 16px 16px; border: 1px solid #D5E7EF; border-radius: 12px; background: rgba(255, 255, 255, .74); box-shadow: inset 0 1px 0 #fff; transition: transform .18s, border-color .18s, box-shadow .18s; }
.home2 .stop:hover { transform: translateY(-2px); border-color: #7FC4E3; box-shadow: inset 0 1px 0 #fff, 0 10px 18px rgba(13, 90, 130, .14); }
.home2 .stop::before { top: 17px; left: 18px; width: 15px; height: 15px; }
.home2 .stop[data-state="past"] .stop__title, .home2 .stop[data-state="past"] .stop__text { opacity: .74; }
.home2 .stop[data-state="next"] { border-color: #0B6389; background: var(--red-grad); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 24px rgba(13, 90, 130, .3); }
.home2 .stop[data-state="next"] .stop__title, .home2 .stop[data-state="next"] .stop__text { color: #fff; }
.home2 .stop[data-state="next"] .stop__date { color: #D9EEF7; }
#launch .countdown__clock { gap: 12px; }
#launch .cd { min-width: clamp(76px, 12vw, 128px); padding: 14px 10px 12px; border: 1px solid #CFE3EC; border-radius: 14px; background: linear-gradient(170deg, #fff, #E9F4F9); box-shadow: inset 0 1px 0 #fff, 0 10px 22px -12px rgba(13, 90, 130, .35); }
#launch .cd:last-child { border: 1px solid #CFE3EC; }
#launch .cd b { font-family: var(--display); color: #0D7AA8; font-size: clamp(2.2rem, 5vw, 3.8rem); text-shadow: 0 1px 0 #0B6389, 0 2px 0 #085677, 0 3px 0 #084D6A, 0 10px 12px rgba(8, 73, 101, .3); }

/* features: blocks of ice, the open one is solid ice (owner: without boxes it looked like it was floating) */
.fx-switch { gap: 14px; margin-bottom: 30px; }
.fx-switch a, .fx__btn, .fx__btn--sub {
  border: 1px solid #CFE3EC; background: linear-gradient(170deg, #fff, #E9F4F9); box-shadow: inset 0 1px 0 #fff, 0 6px 14px rgba(13, 90, 130, .08);
  transition: transform .18s, box-shadow .18s, border-color .18s, color .18s;
}
.fx-switch a:hover, .fx__btn:hover { transform: translateY(-2px); border-color: #7FC4E3; box-shadow: inset 0 1px 0 #fff, 0 12px 22px rgba(13, 90, 130, .16); }
.fx-switch a[aria-current="page"], .fx__btn[aria-current="true"], .fx__group.is-current > .fx__btn--group {
  border-color: #0B6389; background: var(--red-grad); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 24px rgba(13, 90, 130, .3);
}
.fx-switch a[aria-current="page"] small { color: #D9EEF7; }
.fx-switch a small { color: #4A6675; }
.fx__btn[aria-current="true"] svg, .fx__group.is-current > .fx__btn--group svg { color: #fff; }
.fx__sub { border-inline-start-color: #BFDDEA; }
.fx__panels {
  border: 1px solid #BFDDEA; border-radius: 20px;
  background: radial-gradient(120% 90% at 100% 0, rgba(127, 216, 255, .2), transparent 60%), radial-gradient(90% 70% at 0 100%, rgba(27, 142, 191, .1), transparent 60%), linear-gradient(170deg, #fff, #EEF7FB);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255, 255, 255, .7), 0 24px 46px -18px rgba(13, 90, 130, .3);
}
.fx__rows { gap: 10px 12px; }
.fx__row, .fx__card, .fx__list li, .fx__cmd { border: 1px solid #D5E7EF; border-radius: 12px; background: rgba(255, 255, 255, .74); box-shadow: inset 0 1px 0 #fff; }
.fx__row { align-items: center; padding: 12px 16px; }
.fx__k { color: #3D5866; }
.fx__v, .fx__v em { color: #0B6389; font-weight: 700; }
.fx__list { gap: 8px; }
.fx__list li { padding: 10px 14px 10px 34px; }
.fx__list li::before { left: 14px; top: 17px; background: #1B8EBF; }
.fx__cmds { gap: 8px 12px; }
.fx__cmd { padding: 9px 14px; }
.fx__cmd code { color: #0B6389; }
.fx__note { border-inline-start-color: #1B8EBF; border-radius: 10px; background: #E3F1F8; color: #2F4C5B; }

/* in game */
.home2 .shot { background: none; border: 0; box-shadow: none; overflow: visible; }
.home2 .shot__frame { background: none; box-shadow: none; padding: 0; }
.home2 .shot__frame img, .home2 .shot__frame:hover img { box-shadow: var(--deep); border-radius: 14px; }
.home2 .shot figcaption { background: none; padding: 24px 6px 0; text-align: center; }

/* castles, bosses, community */
.castles, .bosses {
  display: grid; align-content: start; gap: 8px; padding: 14px; border: 1px solid #BFDDEA; border-radius: 20px;
  background: radial-gradient(120% 90% at 100% 0, rgba(127, 216, 255, .2), transparent 60%), radial-gradient(90% 70% at 0 100%, rgba(27, 142, 191, .1), transparent 60%), linear-gradient(170deg, #fff, #EEF7FB);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255, 255, 255, .7), 0 24px 46px -18px rgba(13, 90, 130, .3);
}
.castle, .boss { padding: 12px 16px; border: 1px solid #D5E7EF; border-radius: 12px; background: rgba(255, 255, 255, .74); box-shadow: inset 0 1px 0 #fff; transition: transform .18s, border-color .18s, box-shadow .18s; }
.castle:last-child, .boss:last-child { border-bottom: 1px solid #D5E7EF; }
.castle:hover, .boss:hover { transform: translateY(-1px); border-color: #7FC4E3; box-shadow: inset 0 1px 0 #fff, 0 8px 16px rgba(13, 90, 130, .14); }
.castle__name, .boss__name { color: #0B4F70; }
.castle__owner, .boss__meta { color: #4A6675; }
.boss { justify-content: flex-start; gap: 14px; padding: 8px 14px 8px 8px; }
.boss__gem { flex: none; width: 64px; height: 64px; border-radius: 10px; box-shadow: 0 0 0 1px #0B6389, 0 6px 12px rgba(6, 63, 92, .28); }
.home2 .boss .tag { margin-inline-start: auto; padding: 5px 11px; border: 1px solid #A9DCC1; border-radius: 8px; background: #E6F6EE; }
.home2 .boss .tag--dead { border-color: #EDC9B2; background: #FBEEE5; }
.home2 .tag { background: none; border: 0; padding: 0; }
.home2 .discord, .home2 .votes { padding: 26px 22px; text-align: center; justify-items: center; }
.home2 .discord .hero__cta, .home2 .socials, .home2 .vote-banners { justify-content: center; }
.home2 .social, .home2 .vote-banner { border: 1px solid #D5E7EF; border-radius: 12px; background: rgba(255, 255, 255, .74); box-shadow: inset 0 1px 0 #fff; transition: transform .18s, border-color .18s, box-shadow .18s; }
.home2 .social { padding: 11px 14px; }
.home2 .vote-banner { padding: 6px; }
.home2 .social:hover, .home2 .vote-banner:hover { transform: translateY(-2px); border-color: #7FC4E3; background: #fff; box-shadow: inset 0 1px 0 #fff, 0 10px 18px rgba(13, 90, 130, .16); }
.home2 .vote-banner img { border-radius: 8px; box-shadow: none; }
.home2 .vote-banners { gap: 10px; }

/* sections rise out of the page */
.home2 .d3 { opacity: 0; transform: perspective(1000px) translateY(46px) rotateX(14deg); transform-origin: 50% 100%; transition: opacity .7s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.home2 .d3.d3--in { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .home2 .realm__art { height: 220px; --base-y: 0deg !important; }
  .home2 .scene__card .season { padding-left: 22px; }
}

/* ======================================================================
   Rankings: war banners over the ice, and a ladder in place of the table.
   The script comes from gen-home.cjs (override/rankings-board.js).
   ====================================================================== */
.rk { gap: 36px; padding-block: 30px 90px; }
.rk-tabs { display: flex; flex-wrap: wrap; justify-content: center; width: fit-content; max-width: 100%; margin-inline: auto; gap: 2px; padding: 4px; border: 0; border-radius: 26px; background: #EFF6FA; box-shadow: inset 0 0 0 1px #D5E2E8; overflow: visible; }
.rk-tab { padding: 10px 24px; gap: 9px; border: 0; border-radius: 999px; background: none; box-shadow: none; color: #243842; font-family: var(--label); font-weight: 600; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; transition: color .16s, background-color .16s, box-shadow .16s; }
.rk-tab:hover { background: #DCEDF5; color: #0B6389; }
.rk-tab[aria-selected="true"], .rk-tab[aria-selected="true"]:hover { color: #fff; background: var(--red-grad); box-shadow: 0 6px 14px rgba(13, 90, 130, .3), inset 0 1px 0 rgba(255, 255, 255, .3); }

/* three banners hanging from their rods; the winner hangs lowest */
.podium { position: relative; grid-template-columns: repeat(3, minmax(0, 268px)); justify-content: center; gap: clamp(14px, 3vw, 34px); align-items: start; padding-block: 26px 10px; }
#rk .podium::before {
  content: ""; position: absolute; z-index: 0; left: 50%; top: -34px; bottom: -46px; width: min(1560px, 100vw); transform: translateX(-50%);
  background: url("rk-stage.webp?v=fed99944ab") 50% 34% / cover no-repeat;
  -webkit-mask-image: radial-gradient(52% 50% at 50% 50%, #000 42%, transparent 100%); mask-image: radial-gradient(52% 50% at 50% 50%, #000 42%, transparent 100%);
}
.pod, .pod--1 { position: relative; z-index: 1; display: block; justify-items: normal; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; text-align: center; filter: drop-shadow(0 16px 18px rgba(8, 50, 75, .34)); transform-origin: top center; }
.pod::before { content: ""; position: absolute; z-index: 2; left: -12px; right: -12px; top: -6px; height: 8px; border-radius: 3px; background: linear-gradient(180deg, #F2F8FB, #9DB4BF 55%, #5C7380); }
.pod--1 { --c1: #1B8EBF; --c2: #094A68; --medal: #fff; }
.pod--2 { --c1: #8493A0; --c2: #46545F; --medal: #fff; }
.pod--3 { --c1: #BC8049; --c2: #6B411E; --medal: #fff; }
.pod__cloth {
  position: relative; display: grid; width: 100%; justify-items: center; align-content: start; gap: 7px; min-height: 276px; padding: 34px 18px 62px; color: #fff;
  background: linear-gradient(90deg, rgba(0, 0, 0, .2), rgba(255, 255, 255, .08) 20%, transparent 44%, rgba(255, 255, 255, .07) 72%, rgba(0, 0, 0, .22)), linear-gradient(180deg, var(--c1), var(--c2));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 38px), 50% 100%, 0 calc(100% - 38px));
}
.pod__cloth::before { content: ""; position: absolute; inset: 7px 7px 0; border: 1px solid rgba(255, 255, 255, .34); border-bottom: 0; pointer-events: none; }
.pod--1 .pod__cloth { min-height: 330px; padding-top: 44px; }
.pod__medal, .pod--1 .pod__medal { width: 58px; height: 58px; margin: 0 0 16px; border: 2px solid rgba(255, 255, 255, .85); border-radius: 0; background: rgba(255, 255, 255, .12); box-shadow: none; color: #fff; font-size: 1.45rem; }
.pod--1 .pod__medal { width: 68px; height: 68px; font-size: 1.8rem; }
.pod__name, .pod--1 .pod__name { max-width: 100%; color: #fff; font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.15; overflow-wrap: anywhere; text-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.pod--1 .pod__name { font-size: clamp(1.3rem, 2.3vw, 1.85rem); }
.pod__sub { color: rgba(255, 255, 255, .84); }
.pod__value { margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .34); color: #fff; font-size: 1.02rem; }
.pod-in .pod { animation: unfurl .55s cubic-bezier(.2, .8, .3, 1) both; }
.pod-in .pod--1 { animation-delay: .08s; }
.pod-in .pod--3 { animation-delay: .16s; }
@keyframes unfurl { from { opacity: 0; transform: scaleY(.82) translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .pod-in .pod { animation: none; } }

/* the ladder: every row fills with ice as far as its score reaches the leader's */
.rk-table { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.rk-table::before, .rk-table::after { display: none; }
.rk-title { margin-bottom: 18px; text-align: center; color: inherit; letter-spacing: 0; text-transform: none; font-size: 1rem; }
.rk-title b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: #131A1D; }
.rk-title span { display: block; margin-top: 4px; font-family: var(--body); color: var(--muted); font-size: .95rem; }
.rk-tt { border-collapse: separate; border-spacing: 0 6px; }
.rk-tt thead th { padding: 2px 16px 6px; border: 0; color: var(--faint); letter-spacing: .14em; font-size: .74rem; }
.rk-tt td, .rk-tt tr:last-child td { padding: 13px 16px; border: 0; font-size: 1rem; }
.rk-tt tbody tr, .rk-tt tr.top1 { background: linear-gradient(90deg, #CFE8F4 calc(var(--v, 0) * 100%), #F4F9FB calc(var(--v, 0) * 100%)); transition: filter .16s; }
.rk-tt tbody tr:hover { background: linear-gradient(90deg, #BCDFF0 calc(var(--v, 0) * 100%), #EAF4F9 calc(var(--v, 0) * 100%)); }
.rk-tt tbody td:first-child { border-radius: 10px 0 0 10px; }
.rk-tt tbody td:last-child { border-radius: 0 10px 10px 0; }
.rk-rank { width: 1%; }
.rk-rank span { position: relative; z-index: 0; display: inline-grid; place-items: center; width: 30px; height: 30px; font-family: var(--display); font-weight: 700; color: #243842; }
.rk-rank span::before { content: ""; position: absolute; z-index: -1; inset: 5px; transform: rotate(45deg); border-radius: 3px; background: #fff; box-shadow: inset 0 0 0 1px #C4DAE4; }
.rk-tt tr.top1 .rk-rank, .rk-tt tr.top2 .rk-rank, .rk-tt tr.top3 .rk-rank { color: inherit; }
.rk-tt tr.top1 .rk-rank span, .rk-tt tr.top2 .rk-rank span, .rk-tt tr.top3 .rk-rank span { color: #fff; }
.rk-tt tr.top1 .rk-rank span::before { background: linear-gradient(135deg, #1B8EBF, #094A68); box-shadow: none; }
.rk-tt tr.top2 .rk-rank span::before { background: linear-gradient(135deg, #8493A0, #46545F); box-shadow: none; }
.rk-tt tr.top3 .rk-rank span::before { background: linear-gradient(135deg, #BC8049, #6B411E); box-shadow: none; }
.rk-name { font-family: var(--display); font-weight: 700; font-size: 1.04rem; color: #131A1D; }
.rk-tt .num { color: #0B6389; font-weight: 700; }

@media (max-width: 720px) {
  .podium { grid-template-columns: minmax(0, 300px); gap: 26px; }
  .pod--1 { order: -1; }
  .pod__cloth, .pod--1 .pod__cloth { min-height: 0; padding-bottom: 56px; }
  .rk-tab { padding: 9px 14px; font-size: .92rem; }
}

/* ---------------------------------------------------------------- Discord popup: art on top, crest on the fold, the five seconds run out along the top edge */
.dpop__backdrop { background: rgba(6, 36, 52, .6); -webkit-backdrop-filter: blur(7px) saturate(1.2); backdrop-filter: blur(7px) saturate(1.2); }
.dpop__panel {
  width: min(440px, 100%); max-height: calc(100vh - 32px); gap: 0; padding: 0 30px 28px; overflow: hidden auto; border: 0; border-radius: 24px;
  background: linear-gradient(180deg, #fff 45%, #EDF6FA);
  box-shadow: 0 40px 90px rgba(3, 30, 46, .5), 0 0 0 1px rgba(255, 255, 255, .55);
}
.dpop__panel::before { z-index: 3; height: 3px; background: linear-gradient(90deg, #7FD8FF, #1B8EBF); transform-origin: left; }
.dpop.is-open .dpop__panel::before { animation: dpop-time 5s linear forwards; }
.dpop__panel:focus-within::before { animation-play-state: paused; }
@keyframes dpop-time { to { transform: scaleX(0); } }
.dpop__timer { display: none; }
.dpop .modal__close { position: absolute; z-index: 4; top: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #0B4F70; font-size: 1.25rem; line-height: 1; box-shadow: 0 6px 14px rgba(3, 30, 46, .2); }
.dpop .modal__close:hover { background: #fff; }
.dpop__art { position: relative; justify-self: stretch; height: 204px; margin-inline: -30px; overflow: hidden; }
.dpop__art::before { content: ""; position: absolute; inset: 0; background: url(elf-hero.webp?v=fc8465b8a7) 50% 11% / 178% auto no-repeat; -webkit-mask-image: linear-gradient(#000 58%, transparent); mask-image: linear-gradient(#000 58%, transparent); }
.dpop.is-open .dpop__art::before { animation: dpop-drift 8s ease-out both; }
@keyframes dpop-drift { from { transform: scale(1.1); } }
.dpop__crest { position: relative; z-index: 2; margin: -62px 0 8px; }
.dpop__crest .dpop__seal { display: block; height: 96px; filter: drop-shadow(0 12px 16px rgba(9, 74, 104, .32)); }
.dpop__title { margin-top: 6px; font-size: 1.62rem; line-height: 1.14; color: transparent; background: linear-gradient(180deg, #1B8EBF 10%, #094A68 90%); -webkit-background-clip: text; background-clip: text; }
.dpop__sub { margin-top: 6px; font-size: .95rem; color: #4A6675; }
.dpop__servers { width: 100%; margin: 18px 0 20px; text-align: start; }
.dpop__servers li { position: relative; flex-wrap: wrap; gap: 2px 12px; padding: 11px 0 11px 24px; border-bottom: 0; border-top: 1px solid #DCEBF2; }
.dpop__servers li:last-child { border-bottom: 1px solid #DCEBF2; }
.dpop__servers b { font-size: 1.1rem; letter-spacing: .04em; color: #0B4F70; }
.dpop__servers span { font-family: var(--label); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #2F4C5B; white-space: nowrap; text-align: start; }
.dpop__servers em { font-style: normal; color: #0B6389; }
.dpop__servers em::before { content: "·"; margin-inline: 7px; color: #6F8A97; }
.dpop__servers .is-live em { color: var(--live); }
.dpop__servers i { position: absolute; left: 3px; top: 19px; width: 9px; height: 9px; border: 1.5px solid #0D7AA8; background: #fff; transform: rotate(45deg); }
.dpop__servers .is-live i { border-color: var(--live); background: var(--live); animation: world-live 2.6s ease-out infinite; }
.dpop__join { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; margin-top: 0; overflow: hidden; font-size: 1.05rem; }
.dpop__join svg { width: 22px; height: 22px; }
.dpop__join::after { content: ""; position: absolute; inset: 0 auto 0 -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .42), transparent); transform: skewX(-18deg); animation: dpop-glint 3.4s ease-in-out infinite; }
@keyframes dpop-glint { 0%, 55% { left: -40%; } 100% { left: 120%; } }
@media (prefers-reduced-motion: reduce) { .dpop.is-open .dpop__art::before, .dpop__join::after, .dpop__servers .is-live i { animation: none; } }
@media (max-width: 480px) {
  .dpop__panel { padding: 0 20px 22px; }
  .dpop__art { height: 164px; margin-inline: -20px; }
  .dpop__title { font-size: 1.42rem; }
}
@media (max-height: 640px) { .dpop__art { height: 120px; } }

/* In game: real pictures at their own size, so the client's pixels stay sharp, with the text beside each one. */
.showcase--trio { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 24px; max-width: none; align-items: center; }
.showcase--trio .shot:first-child { grid-column: 1 / -1; }
.showcase--trio .shot { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto; align-items: center; gap: 28px; }
.showcase--trio .shot__frame { width: auto; }
.showcase--trio .shot__frame img { display: block; max-width: 100%; height: auto; }
.home2 .showcase--trio .shot figcaption { text-align: left; padding: 0; }
@media (max-width: 1180px) {
  .showcase--trio { grid-template-columns: minmax(0, 1fr); }
  .showcase--trio .shot { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; }
  .home2 .showcase--trio .shot figcaption { text-align: center; max-width: 560px; }
}

/* ======================================================================
   5 Nov (owner, on the worlds and the in-game pictures: "παραθυράκια και εδώ, όπως κάναμε και στα άλλα"):
   the same ice boxes as Features, Castles and Bosses wherever a picture and its text still floated.
   The picture sits inside the box like a window; the text and the buttons stay in the box.
   ====================================================================== */
.home2 .realm, .home2 .realm--live, .home2 .realm--soon, .home2 .shot {
  border: 1px solid #BFDDEA; border-radius: 20px;
  background: radial-gradient(120% 90% at 100% 0, rgba(127, 216, 255, .2), transparent 60%), radial-gradient(90% 70% at 0 100%, rgba(27, 142, 191, .1), transparent 60%), linear-gradient(170deg, #fff, #EEF7FB);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255, 255, 255, .7), 0 24px 46px -18px rgba(13, 90, 130, .3);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.home2 .realm[data-href]:hover { transform: translateY(-3px); border-color: #7FC4E3; box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255, 255, 255, .7), 0 30px 54px -18px rgba(13, 90, 130, .38); }

/* worlds */
.home2 .realm { padding: 12px; }
.home2 .realm:nth-child(n) .realm__art { --base-y: 0deg; height: 250px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(11, 99, 137, .16), 0 14px 24px -14px rgba(8, 50, 75, .5); }
.home2 .realm__body { display: flex; flex-direction: column; gap: 12px; padding: 20px 12px 8px; }
.home2 .realm__line { margin-top: -6px; }
.home2 .realm__rates { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.home2 .realm__rates > div { gap: 4px; padding: 12px 4px 10px; border: 1px solid #D5E7EF; border-radius: 12px; background: rgba(255, 255, 255, .74); box-shadow: inset 0 1px 0 #fff; }
.home2 .realm__rates b { font-size: clamp(1.15rem, 1.65vw, 1.55rem); white-space: nowrap; }
.home2 .realm__rates span { font-size: .64rem; letter-spacing: .1em; line-height: 1.3; }
.home2 .realm__cta { margin-top: auto; padding-top: 8px; }

/* in game: each picture in its own box, the words beside it behind a thin ice line */
.home2 .showcase--trio { align-items: stretch; gap: 28px 24px; }
.home2 .shot { padding: 16px; }
.home2 .shot__frame img, .home2 .shot__frame:hover img { border-radius: 10px; box-shadow: 0 0 0 1px rgba(11, 99, 137, .16), 0 14px 26px -14px rgba(8, 50, 75, .55); }
.home2 .showcase--trio .shot figcaption { align-self: stretch; align-content: center; padding: 6px 12px 6px 26px; border-inline-start: 1px solid #D5E7EF; }

@media (max-width: 1180px) {
  .home2 .showcase--trio .shot figcaption { align-self: auto; padding: 18px 8px 4px; border-inline-start: 0; border-top: 1px solid #D5E7EF; }
}
@media (max-width: 760px) {
  .home2 .realm:nth-child(n) .realm__art { height: 210px; }
}
@media (max-width: 520px) {
  .home2 .realm__rates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* the two buttons one under the other, the same in all three boxes; the NPC words keep their line */
.home2 .realm__cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.home2 .realm__cta .btn { justify-content: center; text-align: center; }
.home2 .showcase--trio .shot { gap: 0; }
@media (min-width: 1181px) { .home2 .showcase--trio .shot__t { white-space: nowrap; } .home2 .showcase--trio .shot figcaption { padding-inline-start: 24px; } }

/* ======================================================================
   Rankings as one list, 5 Nov (owner: "no banners, everything in the list, nice colours, buttons and UI,
   on every tab", and the clans with their crests from the game). rankings-list.js writes it; the banner and
   ladder rules above no longer match anything.
   ====================================================================== */
.rk { gap: 22px; }

/* the four boards: ice tiles with an icon chip, the open one solid ice */
.rk .rk-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 1000px; margin-inline: auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
/* each tab a small window, one colour for all four (owner, 6 Nov 2026: "not so colourful, simpler") */
.rk .rk-tabs .rk-tab {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: 12px; row-gap: 2px;
  min-height: 76px; padding: 12px 16px 12px 12px; overflow: hidden;
  border: 1px solid #D5E7EF; border-radius: 16px; background: #fff; box-shadow: none;
  color: #1F3A48; font-family: var(--label); font-weight: 700; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; text-align: left;
  transition: border-color .18s, background-color .18s, color .18s;
}
.rk .rk-tabs .rk-tab::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: #1B8EBF; transform: scaleX(0); transition: transform .2s; }
.rk .rk-tabs .rk-tab:hover { border-color: #9FD0E6; background: #F6FBFD; color: #0B6389; }
.rk-tab__ic { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-style: normal; color: #0D7AA8;
  background: #EEF6FA; box-shadow: inset 0 0 0 1px #D5E7EF; transition: background-color .18s, color .18s; }
.rk .rk-tab svg { width: 22px; height: 22px; stroke-width: 2; }
.rk-tab__t { align-self: end; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-tab__s { align-self: start; font-family: var(--body); font-weight: 500; font-size: .8rem; letter-spacing: 0; text-transform: none; color: #5B7482; }
.rk .rk-tabs .rk-tab[aria-selected="true"], .rk .rk-tabs .rk-tab[aria-selected="true"]:hover {
  color: #0B6389; border-color: #1B8EBF; background: #F2F9FC; box-shadow: inset 0 0 0 1px #1B8EBF;
}
.rk .rk-tabs .rk-tab[aria-selected="true"]::after { transform: scaleX(1); }
.rk .rk-tab[aria-selected="true"] .rk-tab__ic { color: #fff; background: #1B8EBF; box-shadow: none; }
.rk .rk-tab[aria-selected="true"] .rk-tab__s { color: #3E6475; }

/* the board: one slab of ice with its title, the rows inside it */
.rk-board {
  position: relative; padding: clamp(14px, 2.4vw, 26px); border: 1px solid #D5E7EF; border-radius: 20px;
  background: #fff; box-shadow: 0 18px 40px -24px rgba(13, 90, 130, .28);
}
.rk-head { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 4px 14px; margin: 2px 0 18px; text-align: center; }
.rk-head__t { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: #0E2430; }
.rk-head__s { margin: 0; color: #4A6675; font-size: .95rem; }
.rk-head__s::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-end: 12px; transform: translateY(-2px) rotate(45deg); background: #1B8EBF; }

/* the rows */
.rk-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rk-row {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 12px 10px 10px;
  border: 1px solid #E1EDF2; border-radius: 12px; background: #fff; box-shadow: none;
  transition: border-color .18s, background-color .18s;
}
.rk-list--clans .rk-row { grid-template-columns: 40px 34px minmax(0, 1fr) auto; }
.rk-row:hover { border-color: #9FD0E6; background-color: #F8FCFD; }
.rk-pos { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #EEF6FA; box-shadow: inset 0 0 0 1px #D5E7EF; font-family: var(--label); font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; color: #2F4C5B; }
/* the first three: only their number stands out, in the same ice (owner, 6 Nov 2026: simpler, no steel or bronze) */
.rk-row--1 .rk-pos, .rk-row--2 .rk-pos, .rk-row--3 .rk-pos { background: #1B8EBF; box-shadow: none; color: #fff; }

/* clan crest, small like a flag beside the name (6 Nov 2026, owner: "still awful, maybe smaller"): the game picture is
   enlarged x3 with Scale3x in rankings-list.js and drawn smoothly at 28x21, so no blocks show */
.rk-crest { display: grid; place-items: center; width: 34px; height: 34px; }
.rk-crest img { display: block; width: 28px; height: 21px; border-radius: 3px; image-rendering: auto; background: #10202A;
  box-shadow: 0 0 0 1px rgba(14, 36, 48, .3), 0 2px 5px rgba(13, 90, 130, .18); }
.rk-crest--none { color: #B5CFDA; }
.rk-crest--none svg { width: 20px; height: 20px; }

.rk-who { display: grid; gap: 3px; min-width: 0; }
/* names and numbers exactly as in the game: Cinzel draws 1 as I and 0 as O (D1 read "DI", F1RE "FIRE") */
.rk-name { font-family: var(--body); font-weight: 700; font-size: 1.12rem; line-height: 1.2; letter-spacing: .01em; color: #0E2430; overflow-wrap: anywhere; }
.rk-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 9px; color: #4A6675; font-size: .9rem; }
.rk-dot { width: 4px; height: 4px; transform: rotate(45deg); background: #9DBCCB; }
.rk-k { font-family: var(--label); font-weight: 600; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #6F8A97; }
.rk-sub .rk-k { margin-inline-end: 3px; }
.rk-stats { display: flex; align-items: stretch; justify-content: flex-end; gap: 8px; }
/* every number in its own box: an icon chip, the label, the value (owner, 6 Nov 2026) */
.rk-stat { display: grid; grid-template-columns: auto minmax(0, auto); grid-template-rows: auto auto; align-items: center; justify-items: start; column-gap: 10px; row-gap: 1px;
  min-width: 132px; padding: 8px 16px 8px 8px; border-radius: 12px; background: linear-gradient(180deg, #FFFFFF, #EEF6FA); box-shadow: inset 0 0 0 1px #D5E7EF; }
.rk-stat__ic { grid-row: 1 / 3; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font-style: normal; color: #0D7AA8;
  background: #E3F1F8; box-shadow: inset 0 0 0 1px #CFE3EC; }
.rk-stat__ic svg { width: 19px; height: 19px; }
.rk-stat .rk-k { align-self: end; }
.rk-stat b { align-self: start; font-family: var(--label); font-weight: 700; font-size: 1.3rem; line-height: 1.1; font-variant-numeric: tabular-nums; color: #0E2430; white-space: nowrap; }
.rk-stat--main .rk-stat__ic { background: #1B8EBF; color: #fff; box-shadow: none; }
.rk-stat--main b { color: #0B6389; }

/* a board slides its rows in when it opens, not at the refresh every minute */
.rk-list--in .rk-row { animation: rk-in .45s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes rk-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .rk-list--in .rk-row { animation: none; } }

@media (max-width: 820px) {
  .rk .rk-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .rk .rk-tabs .rk-tab { min-height: 68px; padding: 10px 10px 10px 8px; column-gap: 10px; font-size: .88rem; letter-spacing: .05em; border-radius: 14px; }
  .rk-tab__ic { width: 42px; height: 42px; border-radius: 12px; }
  .rk .rk-tab svg { width: 21px; height: 21px; }
  .rk-tab__s { font-size: .72rem; }
  .rk-row { grid-template-columns: 36px minmax(0, 1fr); gap: 10px 12px; }
  .rk-list--clans .rk-row { grid-template-columns: 36px 34px minmax(0, 1fr); }
  .rk-pos { width: 36px; height: 36px; }
  .rk-stats { grid-column: 1 / -1; }
  .rk-stat { flex: 1; min-width: 0; padding: 7px 10px 7px 7px; column-gap: 8px; }
  .rk-stat__ic { width: 30px; height: 30px; border-radius: 9px; }
  .rk-stat__ic svg { width: 16px; height: 16px; }
}


/* ================================================================ wiki, ice edition
   Owner, 2 Nov: the wiki and the account "need work". Same ice as the home page: frosted tiles, slabs, diamonds, Cinzel titles.
   Only this file changes: the pages of the wiki keep their markup. gen-palettes.cjs adds it to theme-ice.css. */
body.wiki { --ice-line: #D3E6EF; --ice-soft: #E9F4F9; --ice-ink: #12303F; --ice-sub: #4C6B7A; --ice-deep: #0B6389; --ice-link: #0B7FB0; --ice-shadow: 0 10px 28px rgba(13, 70, 100, .08); }
html:has(body.wiki), body.wiki { background: #F2F8FB; }

/* the band under the menu: the ice scene behind glass */
.wiki .wbar { background: linear-gradient(90deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .7) 55%, rgba(255, 255, 255, .9)), url("rk-stage.webp?v=fed99944ab") 50% 38% / cover no-repeat; border-bottom: 1px solid var(--ice-line); box-shadow: 0 10px 24px rgba(13, 70, 100, .06); }
.wiki .wbar__top { gap: 12px 18px; padding-top: 16px; padding-bottom: 10px; }
.wiki .wsw, .wiki .wsec { background: rgba(255, 255, 255, .74); border: 1px solid var(--ice-line); border-radius: 14px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wiki .wsw { gap: 3px; padding: 4px; }
.wiki .wsw a { gap: 7px; padding: 8px 16px; border: 0; border-radius: 10px; color: #33586B; transition: color .16s, background .16s; }
.wiki .wsw a b { font: 700 .98rem "Cinzel", Georgia, serif; letter-spacing: .02em; }
.wiki .wsw a small { font: 600 .8rem "Barlow Condensed", sans-serif; letter-spacing: .06em; opacity: .78; }
.wiki .wsw a:hover, .wiki .wsec a:hover { color: var(--ice-deep); background: #fff; }
.wiki .wsw a[aria-current], .wiki .wsec a[aria-current] { color: #fff; background: var(--red-grad); box-shadow: 0 6px 14px rgba(13, 122, 168, .28); }
.wiki .wsearch { max-width: 620px; }
.wiki .wsearch input { height: 46px; padding: 0 16px 0 44px; border: 1px solid var(--ice-line); border-radius: 14px; color: var(--ice-ink); font-size: 1rem; background: rgba(255, 255, 255, .88) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D7AA8' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M16.5 16.5 21 21'/%3E%3C/svg%3E") 15px 50% / 18px no-repeat; transition: border-color .16s, box-shadow .16s; }
.wiki .wsearch input::placeholder { color: #6C8D9C; }
.wiki .wsearch input:focus { border-color: #1B8EBF; box-shadow: 0 0 0 3px rgba(27, 142, 191, .18); background-color: #fff; }
.wiki .wsearch__res { top: calc(100% + 6px); background: #fff; border-color: var(--ice-line); border-radius: 14px; box-shadow: 0 18px 38px rgba(13, 70, 100, .18); }
.wiki .wsearch__res a { color: var(--ice-ink); border-bottom-color: var(--ice-soft); }
.wiki .wsearch__res a:hover, .wiki .wsearch__res a.on { background: #EFF8FC; }
.wiki .wsec { width: fit-content; max-width: 100%; gap: 2px; margin-bottom: 14px; padding: 4px; }
.wiki .wsec a { padding: 7px 15px; border-radius: 10px; color: #33586B; font-size: 1rem; letter-spacing: .08em; transition: color .16s, background .16s; }

/* page head */
.wiki .wmain { padding-top: 26px; padding-bottom: 64px; }
.wiki .wcrumbs { color: #7B98A6; font-size: .86rem; }
.wiki .wcrumbs a { color: var(--ice-sub); }
.wiki .wcrumbs a:hover { color: var(--ice-link); }
.wiki .wcrumbs i { display: inline-block; width: 5px; height: 5px; margin: 0 7px; vertical-align: middle; font-size: 0; opacity: 1; background: #9CC7DA; transform: rotate(45deg); }
.wiki .whead { position: relative; overflow: hidden; gap: 20px; margin-bottom: 20px; padding: 20px 24px; background: linear-gradient(105deg, #fff 45%, #E9F4F9); border: 1px solid var(--ice-line); border-radius: 18px; box-shadow: var(--ice-shadow); }
.wiki .whead::after { content: ""; position: absolute; right: 26px; top: -62px; width: 170px; height: 170px; border: 1px solid rgba(13, 122, 168, .16); background: linear-gradient(135deg, rgba(27, 142, 191, .1), transparent 70%); transform: rotate(45deg); pointer-events: none; }
.wiki .whead > div { position: relative; z-index: 1; min-width: 0; }
.wiki .whead img { position: relative; z-index: 1; width: 72px; height: 72px; box-sizing: border-box; padding: 3px; border: 1px solid #BFDDEA; border-radius: 14px; background: #fff; box-shadow: 0 8px 18px rgba(13, 70, 100, .14); }
.wiki .whead h1, .wiki .whero h1 { background: linear-gradient(180deg, #1B8EBF, #0B6389); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wiki .whead h1 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); }
.wiki .whead h1 em { margin-inline-start: 8px; font: 600 .5em "Barlow Condensed", sans-serif; letter-spacing: .1em; text-transform: uppercase; -webkit-text-fill-color: #5B7F90; }
.wiki .wlead { color: var(--ice-sub); font-size: 1.02rem; }
.wiki .wchips { margin-top: 10px; }
.wiki .wchip { padding: 4px 10px; border: 1px solid #CFE4EE; border-radius: 8px; background: #EAF5FA; color: #2F5A6E; font-size: .84rem; }
.wiki .wchip--on { color: #0E7C4A; border-color: #A9DCC1; background: #E8F6EE; }
.wiki .wchip--warn { color: #B3470F; border-color: #EFC7A9; background: #FCF0E7; }

/* hero of the wiki home and of each server */
.wiki .whero { position: relative; overflow: hidden; margin-bottom: 22px; padding: 46px 24px 42px; border: 1px solid var(--ice-line); border-radius: 20px; box-shadow: var(--ice-shadow); background: linear-gradient(0deg, rgba(242, 248, 251, .95), rgba(255, 255, 255, .52)), url("rk-stage.webp?v=fed99944ab") 50% 40% / cover no-repeat; }
.wiki .whero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.wiki .whero p { color: #2F5062; font-size: 1.06rem; font-weight: 500; }

/* tiles */
.wiki .wtiles { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.wiki .wtile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 64px; box-sizing: border-box; padding: 10px 14px; border: 1px solid var(--ice-line); border-radius: 14px; background: linear-gradient(140deg, #fff, #F0F8FC); box-shadow: 0 6px 16px rgba(13, 70, 100, .06); color: var(--ice-ink); font-size: 1.04rem; font-weight: 600; transition: transform .16s, border-color .16s, box-shadow .16s, color .16s; }
.wiki .wtile::before { content: ""; width: 10px; height: 10px; margin-inline: 6px 4px; transform: rotate(45deg); background: linear-gradient(135deg, #7CCBE8, #0D7AA8); }
.wiki .wtile:hover { transform: translateY(-2px); border-color: #7CBEDA; box-shadow: 0 12px 24px rgba(13, 90, 130, .14); color: var(--ice-deep); }
.wiki .wtile small { padding: 2px 10px; border-radius: 8px; background: #E6F3F9; color: var(--ice-deep); font: 700 .9rem "Barlow Condensed", sans-serif; letter-spacing: .04em; }
.wiki .wtile:hover small { background: #D5ECF6; }
.wiki .wtile[href$="/items"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 3.5h6v6L9 21l-6-6z'/%3E%3Cpath d='m5 13 6 6M16 8l-5 5'/%3E%3C/svg%3E"); }
.wiki .wtile[href$="/monsters"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c-4.5 0-8 3.2-8 7.4 0 2.7 1.4 4.5 3 5.6v3h10v-3c1.6-1.1 3-2.900 3-5.600C20 6.200 16.500 3 12 3z'/%3E%3Cpath d='M9 11h.01M15 11h.01M10 19v2M14 19v2M10.500 15h3'/%3E%3C/svg%3E"); }
.wiki .wtile[href$="/raids"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 8 4.5 4L12 5l4.5 7L21 8l-2 11H5z'/%3E%3C/svg%3E"); }
.wiki .wtile[href$="/recipes"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v15a3 3 0 0 0 3 3H9a3 3 0 0 1-3-3z'/%3E%3Cpath d='M10 8h4M10 12h4'/%3E%3C/svg%3E"); }
.wiki .wtile[href$="/classes"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v6c0 4.5 3 7.5 7 9 4-1.5 7-4.5 7-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.wiki .wtile[href$="/quests"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4M5 4h13l-3 4.5 3 4.5H5'/%3E%3C/svg%3E"); }
.wiki .wtile[href$="/npcs"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E"); }
.wiki .wtile[href$="/guides"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6c-2-1.5-4.5-2-8-2v15c3.5 0 6 .5 8 2 2-1.500 4.500-2 8-2V4c-3.500 0-6 .5-8 2zM12 6v15'/%3E%3C/svg%3E"); }
.wiki .wtile:is([href$="/items"], [href$="/monsters"], [href$="/raids"], [href$="/recipes"], [href$="/classes"], [href$="/quests"], [href$="/npcs"], [href$="/guides"])::before { width: 42px; height: 42px; margin: 0; transform: none; border-radius: 11px; background: var(--ic) center / 23px no-repeat, linear-gradient(160deg, #2FA3D1, #0B6389); box-shadow: 0 6px 12px rgba(11, 99, 137, .26); }
.wiki .wgroup { display: flex; align-items: center; gap: 12px; margin: 28px 0 12px; color: var(--ice-deep); font: 700 1.1rem "Cinzel", Georgia, serif; letter-spacing: .02em; text-transform: none; }
.wiki .wgroup::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, #BFDDEA, transparent); }

/* the three servers on the wiki home: their own art */
.wiki .wtiles:has(.wtile--big) { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.wiki .wtile--big { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 3px; min-height: 250px; padding: 22px; border: 0; overflow: hidden; color: #fff; background: linear-gradient(180deg, rgba(6, 30, 44, .02) 26%, rgba(6, 30, 44, .86)), var(--art) 50% 22% / cover no-repeat; box-shadow: 0 14px 30px rgba(13, 70, 100, .2); }
.wiki .wtile--big::before { display: none; }
.wiki .wtile--big:hover { color: #fff; box-shadow: 0 20px 38px rgba(13, 70, 100, .3); }
.wiki .wtile--big b { color: #fff; font-size: 1.7rem; }
.wiki .wtile--big span { color: #DCEEF6; font-size: .98rem; }
.wiki .wtile--big span:last-child { color: #BCD8E4; font-size: .86rem; font-weight: 500; }
.wiki .wtile--big[href="/wiki/elvaris/"] { --art: url("server-x5.jpg?v=e11fdf761b"); }
.wiki .wtile--big[href="/wiki/kaelor/"] { --art: url("server-x45.jpg?v=3728a41d04"); }
.wiki .wtile--big[href="/wiki/vaelorn/"] { --art: url("server-h5.jpg?v=51538c6d91"); }

/* cards */
.wiki .wgrid { gap: 18px; }
.wiki .wcol { gap: 18px; }
.wiki .wcard, .wiki .wcard:hover { padding: 18px 20px; border: 1px solid var(--ice-line); border-radius: 16px; box-shadow: var(--ice-shadow); }
.wiki .wcard > h2 { display: flex; align-items: baseline; gap: 9px; margin: 0 0 12px; padding-bottom: 11px; border-bottom: 1px solid var(--ice-soft); color: var(--ice-deep); font: 700 1.06rem "Cinzel", Georgia, serif; letter-spacing: .02em; text-transform: none; }
.wiki .wcard > h2::before { content: ""; flex: none; align-self: center; width: 8px; height: 8px; transform: rotate(45deg); background: linear-gradient(135deg, #7CCBE8, #0D7AA8); }
.wiki .wcard > h2 small { display: inline; margin-inline-start: auto; color: #6C8D9C; font: 600 .84rem "Barlow Condensed", sans-serif; letter-spacing: .06em; }
.wiki .wcard p { color: #1C3A49; line-height: 1.6; }
.wiki .wcard p a, .wiki .wlead a, .wiki .wart a { color: var(--ice-link); text-decoration-color: rgba(11, 127, 176, .35); text-underline-offset: 3px; }
.wiki .wnote { color: #6C8D9C; }
.wiki .wstats td { padding: 8px 0; border-bottom-color: var(--ice-soft); font-size: .98rem; }
.wiki .wstats tr:last-child td { border-bottom: 0; }
.wiki .wstats td:first-child { color: #557586; }
.wiki .wstats td:last-child { color: var(--ice-ink); font-variant-numeric: tabular-nums; }
.wiki .wcard > div > a { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid var(--ice-soft); color: var(--ice-ink); font-weight: 600; text-decoration: none; transition: color .16s, padding .16s; }
.wiki .wcard > div:last-child > a { border-bottom: 0; }
.wiki .wcard > div > a::before { content: ""; flex: none; width: 6px; height: 6px; transform: rotate(45deg); background: #9CC7DA; transition: background .16s; }
.wiki .wcard > div > a:hover { padding-inline-start: 6px; color: var(--ice-link); }
.wiki .wcard > div > a:hover::before { background: #0D7AA8; }
.wiki .wcardrow { padding: 10px 0; border-bottom-color: var(--ice-soft); }

/* lists */
.wiki .wmain > .wscroll { padding: 6px 14px 10px; background: #fff; border: 1px solid var(--ice-line); border-radius: 16px; box-shadow: var(--ice-shadow); }
.wiki table.wlist { border-collapse: separate; border-spacing: 0; }
.wiki table.wlist th { padding: 11px 12px; color: #4C7488; font-size: .82rem; font-weight: 700; background: #EEF6FA; border-bottom: 0; }
.wiki table.wlist th:first-child { border-radius: 10px 0 0 10px; }
.wiki table.wlist th:last-child { border-radius: 0 10px 10px 0; }
.wiki table.wlist td { padding: 9px 12px; border-bottom: 1px solid var(--ice-soft); color: #1C3A49; font-size: .98rem; font-weight: 500; transition: background .12s; }
.wiki table.wlist tbody tr:last-child td { border-bottom: 0; }
.wiki table.wlist tbody tr:hover td { background: #EFF8FC; }
.wiki table.wlist tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 #1B8EBF; }
.wiki table.wlist a:not(.wit) { color: var(--ice-ink); font-weight: 600; text-decoration: none; }
.wiki table.wlist a:not(.wit):hover { color: var(--ice-link); }
.wiki table.wlist .c { color: var(--ice-deep); font-weight: 700; }
.wiki .wit { color: var(--ice-ink); font-weight: 600; }
.wiki a.wit:hover span { color: var(--ice-link); }
.wiki .wit img { width: 34px; height: 34px; border: 0; border-radius: 8px; background: #0F2430; box-shadow: 0 0 0 1px #BFDDEA; }
.wiki .wmat .wit img { width: 26px; height: 26px; border-radius: 6px; }
.wiki .wskill img { border-radius: 8px; box-shadow: 0 0 0 1px #BFDDEA; }
.wiki .wskill b { font-weight: 600; }
.wiki .wfilter { gap: 8px; margin-bottom: 14px; }
.wiki .wfilter button { padding: 7px 14px; border: 1px solid var(--ice-line); border-radius: 10px; background: #fff; color: #33586B; font-size: .94rem; transition: color .16s, border-color .16s; }
.wiki .wfilter button:hover { border-color: #7CBEDA; color: var(--ice-deep); }
.wiki .wfilter button[aria-pressed="true"] { color: #fff; border-color: transparent; background: var(--red-grad); box-shadow: 0 6px 14px rgba(13, 122, 168, .28); }
.wiki .wfilter input { height: 38px; box-sizing: border-box; min-width: 240px; padding: 0 14px; border: 1px solid var(--ice-line); border-radius: 10px; background: #fff; color: var(--ice-ink); }
.wiki .wfilter input:focus { outline: 0; border-color: #1B8EBF; box-shadow: 0 0 0 3px rgba(27, 142, 191, .18); }

/* class trees and guides */
.wiki .wclass { gap: 16px; }
.wiki .wtree ul { margin: 4px 0 8px 3px; padding-inline-start: 16px; border-inline-start-color: #BFDDEA; }
.wiki .wtree li { padding: 3px 0; }
.wiki .wtree a { color: var(--ice-ink); font-weight: 600; text-decoration: none; }
.wiki .wtree a:hover { color: var(--ice-link); }
.wiki .wart { max-width: none; box-sizing: border-box; padding: 24px 28px; background: #fff; border: 1px solid var(--ice-line); border-radius: 16px; box-shadow: var(--ice-shadow); color: #1C3A49; line-height: 1.65; }
.wiki .wart > .whead { margin-bottom: 14px; padding: 0 0 14px; border: 0; border-bottom: 1px solid var(--ice-soft); border-radius: 0; background: none; box-shadow: none; }
.wiki .wart > .whead::after { display: none; }
.wiki .wart h2 { color: var(--ice-deep); }
.wiki .wart h2:first-child { margin-top: 0; }
.wiki .wart code { padding: 1px 6px; border-radius: 6px; background: #EAF5FA; color: var(--ice-deep); }
.wiki .wmap, .wiki .wshot { border-color: var(--ice-line); border-radius: 12px; }
.wiki .footer { border-top-color: var(--ice-line); }
@media (max-width: 860px) {
  .wiki .wsearch { max-width: none; }
  .wiki .wsec a { padding: 6px 11px; font-size: .94rem; }
  .wiki .whead { padding: 16px; gap: 14px; }
  .wiki .whead img { width: 60px; height: 60px; }
  .wiki .whero { padding: 34px 16px 30px; }
  .wiki .wtiles { grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
  .wiki .wart { padding: 18px 16px; }
  .wiki .wmain > .wscroll { padding-inline: 8px; }
}

/* ================================================================ account, ice edition */
body:has(.acct) { --ice-line: #D3E6EF; --ice-soft: #E9F4F9; --ice-ink: #12303F; --ice-deep: #0B6389; --ice-shadow: 0 10px 28px rgba(13, 70, 100, .08); }
html:has(.acct), body:has(.acct) { background: #F2F8FB; }
.acct-hero { border-bottom: 0; }
.acct-hero__art { opacity: 1; background: url("rk-stage.webp?v=fed99944ab") 50% 40% / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .16) 0, #000 66%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, .16) 0, #000 66%); animation: none; }
/* the menu, the language, Sign out and Download on one line from 1260px, as on the other pages */
@media (min-width: 1260px) {
  body:has(.acct) .menu a { padding-inline: 13px; }
  body:has(.acct) .bar__cta { gap: 6px; }
  body:has(.acct) .bar__cta .btn { padding-inline: 18px; }
  body:has(.acct) .lang-switch-btn { padding-inline: 9px; }
}
.acct-hero__shade { background: linear-gradient(0deg, #F2F8FB 0%, rgba(242, 248, 251, 0) 48%); }
.acct-hero__inner { padding-block: 58px 42px; }
.acct-hero__name { background: linear-gradient(180deg, #1B8EBF, #0B6389); -webkit-background-clip: text; background-clip: text; color: transparent; }
.acct-hero__name span { color: inherit; }
.purse { padding: 12px 14px 12px 12px; border: 1px solid var(--ice-line); border-radius: 20px; background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(229, 244, 251, .92)); box-shadow: 0 16px 34px rgba(13, 70, 100, .18), inset 0 1px 0 #fff; }
.purse__v { color: #0B6389; }
.purse__add { color: #fff; background: var(--red-grad); box-shadow: 0 8px 16px rgba(13, 122, 168, .3), inset 0 1px 0 rgba(255, 255, 255, .3); }
.acct { grid-template-columns: 272px minmax(0, 1fr); gap: 28px; padding-block: 12px 90px; }

/* the buttons on the left: one ice tile each, a chip for the icon, solid ice for the open tab */
.side { gap: 12px; }
.side__status { padding: 14px 16px; border: 1px solid var(--ice-line); border-radius: 16px; background: linear-gradient(140deg, #fff, #EEF7FB); box-shadow: var(--ice-shadow); }
.side__nav { gap: 6px; padding: 0; border: 0; background: none; }
.side__tab { position: relative; gap: 12px; min-height: 48px; box-sizing: border-box; padding: 6px 14px 6px 7px; border: 1px solid var(--ice-line); border-radius: 12px; background: linear-gradient(120deg, #fff, #F3FAFD); box-shadow: 0 3px 9px rgba(13, 70, 100, .05); color: #2C4F61; font-size: 1rem; letter-spacing: .1em; transition: color .16s, background .16s, border-color .16s, box-shadow .16s, transform .16s; }
.side__tab:last-child { border-bottom: 1px solid var(--ice-line); }
.side__tab svg { box-sizing: border-box; width: 34px; height: 34px; padding: 8px; border-radius: 9px; background: #E6F3F9; color: #0D7AA8; transition: color .16s, background .16s; }
.side__tab::after { content: ""; flex: none; width: 7px; height: 7px; margin-inline-start: auto; border-top: 2px solid currentColor; border-right: 2px solid currentColor; opacity: 0; transform: translateX(-5px) rotate(45deg); transition: opacity .16s, transform .16s; }
.side__tab:hover { color: var(--ice-deep); border-color: #8CC8E0; background: #fff; box-shadow: 0 8px 18px rgba(13, 90, 130, .12); transform: translateX(3px); }
.side__tab:hover svg { background: linear-gradient(160deg, #2FA3D1, #0B6389); color: #fff; }
.side__tab:hover::after { opacity: .7; transform: rotate(45deg); }
.side__tab[aria-selected="true"], .side__tab[aria-selected="true"]:hover { color: #fff; border-color: transparent; background: linear-gradient(115deg, #1B8EBF, #0B6389); box-shadow: 0 10px 20px rgba(11, 99, 137, .3), inset 0 1px 0 rgba(255, 255, 255, .28); transform: none; }
.side__tab[aria-selected="true"] svg { background: rgba(255, 255, 255, .18); color: #fff; }
.side__tab[aria-selected="true"]::after { opacity: 1; transform: rotate(45deg); }
.side__tab:focus-visible { outline: 2px solid #1B8EBF; outline-offset: 2px; }
/* a thin line between account, coins and community */
.side__tab[data-tab="coins"], .side__tab[data-tab="creator"]:not([hidden]), .side__tab[data-tab="creator"][hidden] + .side__tab[data-tab="players"]:not([hidden]), .side__tab[data-tab="creator"][hidden] + .side__tab[data-tab="players"][hidden] + .side__tab[data-tab="rankings"] { margin-top: 15px; }
.side__tab[data-tab="coins"]::before, .side__tab[data-tab="creator"]:not([hidden])::before, .side__tab[data-tab="creator"][hidden] + .side__tab[data-tab="players"]:not([hidden])::before, .side__tab[data-tab="creator"][hidden] + .side__tab[data-tab="players"][hidden] + .side__tab[data-tab="rankings"]::before { content: ""; position: absolute; left: 12px; right: 12px; top: -12px; height: 1px; background: linear-gradient(90deg, transparent, #BFDDEA 20%, #BFDDEA 80%, transparent); }

/* one shape for every box of the account */
.box { border-color: var(--ice-line); border-radius: 16px; background: #fff; box-shadow: var(--ice-shadow); }
.box::before { display: none; }
.box__title { color: var(--ice-deep); }
.stat, .quick__item, .pack, .acc, .char, .early, .invite { border-color: var(--ice-line); border-radius: 14px; }
.stat { background: linear-gradient(140deg, #fff, #F0F8FC); box-shadow: 0 6px 16px rgba(13, 70, 100, .06); }
.stat__v { color: var(--ice-deep); }
.pack { box-shadow: 0 6px 16px rgba(13, 70, 100, .06); }
.pack:hover { box-shadow: 0 14px 26px rgba(13, 90, 130, .14); }
.pack--best { border-color: #7CBEDA; box-shadow: 0 12px 26px rgba(13, 122, 168, .16); }
.pack--best::before { border-radius: 7px; color: #fff; background: var(--red-grad); }
.sp-srv, .sp-tile, .sp-armor, .sp-weapon, .sp-hats, .sp-hat, .method, .inv-item, .mk-server, .mk-stat, .mk-cat, .mk-parts li, .mk-pick__item, .wheel__stat, .wheel__prize { border-color: var(--ice-line); border-radius: 12px; }
.sp-hero { border-color: var(--ice-line); border-radius: 16px; }
.mk-dialog { border-radius: 16px; }
.sp-hero__box, .sp-ico { border-radius: 10px; }
.chip, .inv-grade { border-radius: 7px; }
.stepper, .chips button, .reflink input, .gift__form select, .inv-views, .inv-search, .mk-field, .field input, .field select, .field textarea, .msg { border-radius: 10px; }
.stepper, .inv-views { overflow: hidden; }
.pane__title { color: var(--ice-ink); }

/* the sound button: a tile, not a ball, and out of the way of the left column */
.sound, .sound__pulse { border-radius: 12px; }
.sound { width: 44px; height: 44px; }
body:has(.acct) .sound { left: auto; right: 18px; }
body:has(.acct):has(.preview-flag) .sound { bottom: 58px; }
@media (max-width: 900px) {
  .acct { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .side__nav { gap: 6px; padding-bottom: 6px; }
  .side__tab, .side__tab[data-tab] { min-height: 44px; margin-top: 0; padding-inline-end: 12px; }
  .side__tab::before, .side__tab::after { display: none; }
  .side__tab:hover { transform: none; }
  .acct-hero__inner { padding-block: 36px 26px; }
}

/* written by gen-wiki-tiles.cjs */
.wiki .wtile[href$="/c/weapon-dual-swords"]::before { --tile: url("/wiki/i/weapon_dual_sword_i00.webp"); }
.wiki .wtile[href$="/c/weapon-blunt"]::before { --tile: url("/wiki/i/weapon_bone_of_kaim_vanul_i00.webp"); }
.wiki .wtile[href$="/c/weapon-sword"]::before { --tile: url("/wiki/i/time_weapon_sword_of_valhalla_i00.webp"); }
.wiki .wtile[href$="/c/weapon-two-handed-blunt"]::before { --tile: url("/wiki/i/weapon_tuning_fork_of_behemoth_i01.webp"); }
.wiki .wtile[href$="/c/weapon-dagger"]::before { --tile: url("/wiki/i/time_weapon_dagger_of_magicflame_i00.webp"); }
.wiki .wtile[href$="/c/weapon-polearm"]::before { --tile: url("/wiki/i/weapon_lancia_i00.webp"); }
.wiki .wtile[href$="/c/weapon-bow"]::before { --tile: url("/wiki/i/time_weapon_dark_elven_long_bow_i00.webp"); }
.wiki .wtile[href$="/c/weapon-fist"]::before { --tile: url("/wiki/i/weapon_blood_tornado_i00.webp"); }
.wiki .wtile[href$="/c/weapon-two-handed-sword"]::before { --tile: url("/wiki/i/weapon_dragon_slayer_i01.webp"); }
.wiki .wtile[href$="/c/weapon-other"]::before { --tile: url("/wiki/i/weapon_divine_tome_i00.webp"); }
.wiki .wtile[href$="/c/weapon-fishing-rod"]::before { --tile: url("/wiki/i/weapon_fishing_rod_i03.webp"); }
.wiki .wtile[href$="/c/armor-boots"]::before { --tile: url("/wiki/i/armor_t73_b_i00.webp"); }
.wiki .wtile[href$="/c/armor-gloves"]::before { --tile: url("/wiki/i/armor_t64_g_i02.webp"); }
.wiki .wtile[href$="/c/armor-legs"]::before { --tile: url("/wiki/i/armor_t48_l_i00.webp"); }
.wiki .wtile[href$="/c/armor-chest"]::before { --tile: url("/wiki/i/armor_t48_u_i00.webp"); }
.wiki .wtile[href$="/c/armor-full-body"]::before { --tile: url("/wiki/i/armor_t1005_ul_i02.webp"); }
.wiki .wtile[href$="/c/armor-helmet"]::before { --tile: url("/wiki/i/armor_helmet_i00.webp"); }
.wiki .wtile[href$="/c/armor-shield"]::before { --tile: url("/wiki/i/shield_eldarake_i00.webp"); }
.wiki .wtile[href$="/c/armor-formal-wear"]::before { --tile: url("/wiki/i/bm2018_dragon_i01.webp"); }
.wiki .wtile[href$="/c/jewelry-ring"]::before { --tile: url("/wiki/i/accessary_adamantite_ring_i00.webp"); }
.wiki .wtile[href$="/c/jewelry-earring"]::before { --tile: url("/wiki/i/accessary_adamantite_earing_i00.webp"); }
.wiki .wtile[href$="/c/jewelry-necklace"]::before { --tile: url("/wiki/i/accessary_necklace_of_protection_i00.webp"); }
.wiki .wtile[href$="/c/accessory-hair-accessory"]::before { --tile: url("/wiki/i/accessory_eye_bandage_i00.webp"); }
.wiki .wtile[href$="/c/accessory-cloak"]::before { --tile: url("/wiki/i/vesper_cloack_i00.webp"); }
.wiki .wtile[href$="/c/consumable-scroll"]::before { --tile: url("/wiki/i/etc_scroll_of_return_i00.webp"); }
.wiki .wtile[href$="/c/consumable-potion"]::before { --tile: url("/wiki/i/etc_lesser_potion_green_i00.webp"); }
.wiki .wtile[href$="/c/consumable-herb"]::before { --tile: url("/wiki/i/etc_recovery_set_i00.webp"); }
.wiki .wtile[href$="/c/consumable-spiritshot"]::before { --tile: url("/wiki/i/etc_spell_shot_red_i01.webp"); }
.wiki .wtile[href$="/c/consumable-soulshot"]::before { --tile: url("/wiki/i/etc_spirit_bullet_green_i00.webp"); }
.wiki .wtile[href$="/c/consumable-arrow"]::before { --tile: url("/wiki/i/etc_silver_quiver_i00.webp"); }
.wiki .wtile[href$="/c/material-material"]::before { --tile: url("/wiki/i/etc_gem_clear_i00.webp"); }
.wiki .wtile[href$="/c/recipe-recipe"]::before { --tile: url("/wiki/i/etc_recipe_blue_i00.webp"); }
.wiki .wtile[href$="/c/spellbook-spellbook"]::before { --tile: url("/wiki/i/etc_spell_books_hfighter_i00.webp"); }
.wiki .wtile[href$="/c/pet-pet-equipment"]::before { --tile: url("/wiki/i/etc_pet_arms_i10.webp"); }
.wiki .wtile[href$="/c/quest-quest-item"]::before { --tile: url("/wiki/i/etc_royal_seal_of_lord_i03.webp"); }
.wiki .wtile[href$="/c/other-mercenary-ticket"]::before { --tile: url("/wiki/i/mticket_pole_move_i00.webp"); }
.wiki .wtile[href$="/c/other-other"]::before { --tile: url("/wiki/i/etc_int_hena_i02.webp"); }
.wiki .wtile[href$="/c/other-fishing"]::before { --tile: url("/wiki/i/etc_bait_i01.webp"); }
.wiki .wtile[href$="/c/other-currency"]::before { --tile: url("/wiki/i/etc_wind_rune_i00.webp"); }
.wiki .wtile[href$="/c/other-pet"]::before { --tile: url("/wiki/i/etc_bugle_i00.webp"); }
.wiki .wtile[href$="/c/weapon-rapier"]::before { --tile: url("/wiki/i/weapon_dynasty_rapier_i01.webp"); }
.wiki .wtile[href$="/c/weapon-crossbow"]::before { --tile: url("/wiki/i/weapon_sarnga_i00.webp"); }
.wiki .wtile[href$="/c/weapon-ancient-sword"]::before { --tile: url("/wiki/i/weapon_gram_i01.webp"); }
.wiki .wtile[href$="/c/weapon-dual-daggers"]::before { --tile: url("/wiki/i/dual_dagger_i00.webp"); }
.wiki .wtile[href$="/c/armor-sigil"]::before { --tile: url("/wiki/i/weapon_pricklelotus_i01.webp"); }
.wiki .wtile[href$="/c/accessory-belt"]::before { --tile: url("/wiki/i/armor_magic_deco_belt_i01.webp"); }
.wiki .wtile[href$="/c/accessory-shirt"]::before { --tile: url("/wiki/i/etc_shirts_a_i04.webp"); }
.wiki .wtile[href$="/c/accessory-talisman"]::before { --tile: url("/wiki/i/etc_talisman_i02.webp"); }
.wiki .wtile[href$="/c/accessory-bracelet"]::before { --tile: url("/wiki/i/etc_rbracelet_aga_agit_i00.webp"); }
.wiki .wtile[href$="/c/consumable-bolt"]::before { --tile: url("/wiki/i/etc_silver_bolt_i00.webp"); }
.wiki .wtile[href$="/c/other-dye"]::before { --tile: url("/wiki/i/etc_men_hena_i02.webp"); }
.wiki .wtile[href$="/c/other-crop"]::before { --tile: url("/wiki/i/etc_coda_i06.webp"); }
.wiki .wtile[href$="/c/other-npc"]::before { --tile: url("/wiki/i/etc_pet_arms_i00.webp"); }
.wiki .wtile:is([href$="/c/weapon-dual-swords"],[href$="/c/weapon-blunt"],[href$="/c/weapon-sword"],[href$="/c/weapon-two-handed-blunt"],[href$="/c/weapon-dagger"],[href$="/c/weapon-polearm"],[href$="/c/weapon-bow"],[href$="/c/weapon-fist"],[href$="/c/weapon-two-handed-sword"],[href$="/c/weapon-other"],[href$="/c/weapon-fishing-rod"],[href$="/c/armor-boots"],[href$="/c/armor-gloves"],[href$="/c/armor-legs"],[href$="/c/armor-chest"],[href$="/c/armor-full-body"],[href$="/c/armor-helmet"],[href$="/c/armor-shield"],[href$="/c/armor-formal-wear"],[href$="/c/jewelry-ring"],[href$="/c/jewelry-earring"],[href$="/c/jewelry-necklace"],[href$="/c/accessory-hair-accessory"],[href$="/c/accessory-cloak"],[href$="/c/consumable-scroll"],[href$="/c/consumable-potion"],[href$="/c/consumable-herb"],[href$="/c/consumable-spiritshot"],[href$="/c/consumable-soulshot"],[href$="/c/consumable-arrow"],[href$="/c/material-material"],[href$="/c/recipe-recipe"],[href$="/c/spellbook-spellbook"],[href$="/c/pet-pet-equipment"],[href$="/c/quest-quest-item"],[href$="/c/other-mercenary-ticket"],[href$="/c/other-other"],[href$="/c/other-fishing"],[href$="/c/other-currency"],[href$="/c/other-pet"],[href$="/c/weapon-rapier"],[href$="/c/weapon-crossbow"],[href$="/c/weapon-ancient-sword"],[href$="/c/weapon-dual-daggers"],[href$="/c/armor-sigil"],[href$="/c/accessory-belt"],[href$="/c/accessory-shirt"],[href$="/c/accessory-talisman"],[href$="/c/accessory-bracelet"],[href$="/c/consumable-bolt"],[href$="/c/other-dye"],[href$="/c/other-crop"],[href$="/c/other-npc"])::before { width: 40px; height: 40px; margin: 0; transform: none; border-radius: 9px; background: #0F2430 var(--tile) center / cover no-repeat; box-shadow: 0 0 0 1px #BFDDEA, 0 4px 10px rgba(13, 70, 100, .16); }
