:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #14171d;
  color: #f1f3f7;
  --muted: #aeb5c4;
  --line: #2b303a;
  --lime: #a6ed47;
  --sidebar: 218px;
  --top: 66px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 82px; }
body { margin: 0; }
[hidden] { display: none !important; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.top {
  position: sticky; top: 0; z-index: 8; min-height: var(--top); display: flex;
  justify-content: space-between; align-items: center; gap: 14px; padding: 10px 24px;
  background: #1c2028; border-bottom: 1px solid var(--line);
}
.top-left, .top-right, .brand { display: flex; align-items: center; gap: 13px; }
.brand strong { white-space: nowrap; letter-spacing: -.035em; font-size: 22px; font-style: italic; }
.brand strong span { color: var(--lime); margin-left: .22em; }
.icon-button, .top-search, .secondary, #language {
  border: 1px solid #353c48; border-radius: 8px; background: #232832; padding: 8px 12px;
}
.icon-button { min-width: 38px; min-height: 38px; padding: 4px 9px; font-size: 19px; }
.top-search { display: flex; align-items: center; gap: 8px; color: #d8dfeb; }
.top-search > span:first-child, .search > span { font-size: 23px; line-height: 1; }
#language { color: #eef2f9; max-width: 134px; font-size: 13px; }
.demo-badge { display: flex; gap: 7px; align-items: center; color: #d1e9b3; font-size: 12px; font-weight: 700; }
.demo-badge > span:first-child { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex: none; }
.sidebar {
  position: fixed; z-index: 7; top: var(--top); bottom: 0; width: var(--sidebar);
  padding: 16px 12px; background: #1c2028; border-right: 1px solid var(--line); overflow: auto;
}
.sidebar-head { display: flex; gap: 11px; align-items: center; padding: 13px 12px; border-radius: 8px; font-weight: 800; background: linear-gradient(110deg,#33462a,#252d2b); color: #eaf9db; }
.side-mark, .heading-icon { color: var(--lime); }
#side-menu { display: grid; gap: 4px; margin-top: 12px; }
.nav-button {
  display: flex; align-items: center; gap: 9px; border: 1px solid transparent; border-radius: 7px;
  background: transparent; color: #c2cad7; text-align: left; padding: 10px 11px; font-size: 13px; font-weight: 650;
}
.nav-button > span:first-child { font-size: 17px; width: 20px; text-align: center; flex: none; }
.nav-button:hover, .nav-button[aria-current="page"] { background: #2a313c; color: #fff; }
.nav-button[aria-current="page"] > span:first-child { color: var(--lime); }
.side-foot { color: #949eae; padding: 19px 8px; margin-top: 16px; border-top: 1px solid var(--line); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
main { margin-left: var(--sidebar); }
.content { max-width: 1570px; padding: 23px 28px 0; margin: auto; }
.page-heading { display: flex; align-items: center; gap: 9px; margin: 0 0 15px; }
.page-heading h1 { font-size: 21px; margin: 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero { isolation: isolate; overflow: hidden; position: relative; display: flex; align-items: center; min-height: 237px; border-radius: 12px; border: 1px solid #394b35; background: #183626; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#162f21 6%,#162f21f0 33%,transparent 82%); }
.hero > img { position: absolute; z-index: -2; inset: 0 0 0 auto; height: 100%; width: 72%; object-fit: cover; object-position: center 48%; }
.slots-hero { background: #342046; border-color: #624777; }
.slots-hero::after { background: linear-gradient(90deg,#352145 6%,#352145ee 33%,transparent 82%); }
.hero-card-action { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.hero-card-action:focus-visible { outline-offset: -3px; }
.hero-copy { position: relative; max-width: 77%; padding: 22px; pointer-events: none; }
.hero-copy .cta { pointer-events: auto; }
.eyebrow { margin: 0; color: #c4ef8f; text-transform: uppercase; font-weight: 800; letter-spacing: .12em; font-size: 10px; }
.slots-hero .eyebrow { color: #e3c4ff; }
.hero h2 { margin: 8px 0 18px; font-size: clamp(26px,3vw,42px); line-height: 1.03; letter-spacing: -.045em; }
.cta { border: 0; border-radius: 7px; padding: 10px 13px; background: var(--lime); color: #172212; font-size: 12px; font-weight: 800; }
.cta:hover { filter: brightness(1.1); }
.cta.purple { background: #d8b3ff; color: #321947; }
.search-row { display: flex; gap: 8px; margin-top: 19px; }
.search { display: flex; flex: 1; align-items: center; gap: 10px; color: #a4aec0; min-width: 0; background: #20252e; border: 1px solid #303744; padding: 0 12px; border-radius: 8px; }
.search input { border: 0; min-width: 0; width: 100%; background: transparent; padding: 12px 0; color: #fff; outline: none; font-size: 13px; }
.search:focus-within { border-color: var(--lime); }
.secondary { font-size: 12px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 25px; }
.filters .nav-button { background: #20252e; white-space: normal; }
.filters .nav-button[aria-current="page"] { border-color: #58743c; background: #2c3929; }
.shelf { margin: 0 0 27px; }
.shelf-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.shelf-title h2 { margin: 0; font-size: 18px; }
.shelf-title h2 span { color: var(--lime); margin-right: 7px; }
.cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }
.card { position: relative; min-width: 0; }
.card-preview { display: block; text-align: left; width: 100%; padding: 0; overflow: hidden; border: 1px solid #353c48; border-radius: 9px; background: #222631; }
.card-preview:hover { border-color: #91c95a; }
.card-preview img { width: 100%; height: auto; aspect-ratio: 1.42; object-fit: cover; }
.card-title { display: block; padding: 8px 9px; font-size: 13px; font-weight: 750; overflow-wrap: anywhere; }
.favorite { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border: 1px solid #ffffff40; border-radius: 50%; background: #13151bd9; font-size: 18px; line-height: 1; }
.favorite[aria-pressed="true"] { color: var(--lime); }
.empty { color: var(--muted); padding: 26px; border: 1px dashed #3a4353; border-radius: 9px; }
footer { display: flex; align-items: center; gap: 17px; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 26px; padding: 19px 0; color: var(--muted); font-size: 12px; }
footer p { margin: 0; text-align: right; }
.footer-brand { display: flex; flex: none; align-items: center; gap: 7px; color: #eef4fa; font-weight: 800; }
dialog { width: min(530px,calc(100% - 24px)); max-height: 90dvh; color: #f4f7fa; background: #20252e; padding: 22px; border: 1px solid #485465; border-radius: 13px; }
dialog::backdrop { background: #0a0b10bf; }
.dialog-close { position: absolute; right: 9px; top: 9px; }
#game-dialog { width: min(460px,calc(100% - 24px)); padding: 24px; background: radial-gradient(ellipse at 90% 0,#24443d,#1c232d 65%); border-color: #566e67; box-shadow: 0 20px 70px #0009; }
.registration-badge { display: inline-block; margin: 0 30px 10px 0; padding: 4px 9px; border: 1px solid #92e7cd70; border-radius: 99px; color: var(--lime); background: #92e7cd13; font-size: 11px; font-weight: 750; }
#registration-title { margin: 0 20px 8px 0; font-size: clamp(22px,5vw,31px); line-height: 1.16; text-wrap: balance; }
#registration-title:lang(zh) { font-size: clamp(21px,5vw,26px); }
#registration-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.registration-fields { display: grid; gap: 10px; min-width: 0; margin: 16px 0; padding: 0; border: 0; }
.registration-fields label { display: grid; gap: 5px; color: #eef5f3; font-size: 13px; }
.registration-fields input { width: 100%; min-width: 0; min-height: 39px; padding: 6px 10px; border: 1px solid #51615f; border-radius: 8px; background: #151b23; color: #eef5f3; opacity: .85; }
.registration-fields .cta:disabled { opacity: .6; cursor: default; filter: none; }
.dialog-body { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 9px; align-items: center; padding-top: 12px; border-top: 1px solid #566e6760; }
.dialog-body img { width: 44px; height: 44px; object-fit: cover; border-radius: 7px; }
.dialog-body h3 { margin: 3px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.dialog-body .secondary { min-height: 32px; padding: 6px 8px; max-width: 116px; }
.mobile-nav { display: none; }
body.sidebar-hidden .sidebar { display: none; }
body.sidebar-hidden main { margin-left: 0; }
@media (max-width: 1060px) {
  :root { --sidebar: 176px; }
  .content { padding-inline: 17px; }
  .hero-copy { padding: 15px; }
  .hero { min-height: 197px; }
}
@media (max-width: 760px) {
  :root { --top: 58px; }
  .top { padding: 7px 10px; }
  .top-left, .top-right, .brand { gap: 7px; }
  .brand strong { font-size: 17px; }
  .brand img { width: 25px; height: 25px; }
  .top-search { display: none; }
  #language { max-width: 104px; padding: 6px 4px; font-size: 11px; }
  .demo-badge { font-size: 9px; gap: 4px; }
  .sidebar { display: none; width: min(250px,80vw); }
  body.sidebar-open .sidebar { display: block; }
  #scrim { position: fixed; z-index: 6; inset: var(--top) 0 0; background: #090b10ab; border: 0; }
  main { margin-left: 0; padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .content { padding: 13px 10px 0; }
  .hero-grid { gap: 7px; }
  .hero { min-height: 167px; }
  .hero-copy { padding: 10px; max-width: 94%; }
  .hero h2 { font-size: clamp(18px,4.8vw,30px); margin-bottom: 10px; }
  .hero .cta { font-size: 10px; padding: 7px; }
  .eyebrow { font-size: 8px; }
  .filters .nav-button { font-size: 11px; padding: 6px; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .mobile-nav { display: flex; justify-content: space-around; gap: 2px; position: fixed; z-index: 5; bottom: 0; width: 100%; background: #1c2028; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-nav .nav-button { flex: 1; flex-direction: column; text-align: center; gap: 1px; padding: 4px 2px; font-size: 9px; }
  footer { flex-wrap: wrap; }
  footer p { text-align: left; }
}
@media (max-width: 420px) { .demo-badge { display: none; } }

/* OPALIS identity, icon system and site information. */
:root { --lime: #92e7cd; }
.brand strong { font-style: normal; font-size: 21px; letter-spacing: .045em; }
.brand strong span { font-size: .65em; letter-spacing: .12em; margin-left: .45em; }
.ui-icon { display: inline-block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; flex: none; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; }
.nav-button > .ui-icon { width: 21px; height: 21px; color: #a8bdce; }
.nav-button[aria-current="page"] > .ui-icon { color: var(--lime); }
.sidebar-head > .ui-icon, .page-heading > .ui-icon { width: 24px; height: 24px; color: var(--lime); }
.side-foot { display: flex; gap: 9px; align-items: center; letter-spacing: .1em; }
.side-foot img { flex: none; }
.shelf-title h2 { display: flex; align-items: center; gap: 9px; }
.shelf-title h2 > .ui-icon { color: var(--lime); }
.favorite { display: flex; align-items: center; justify-content: center; padding: 6px; }
.favorite .ui-icon { width: 18px; height: 18px; }
.site-footer { display: block; padding: 30px 0 24px; margin-top: 38px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { gap: 10px; font-size: 16px; letter-spacing: .08em; }
.footer-brand small { color: #92e7cd; font-size: 10px; }
#footer-pages { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.footer-link { background: transparent; color: #c5d3df; border: 1px solid transparent; border-radius: 9px; padding: 11px 12px; min-height: 44px; font-size: 12px; }
.footer-link:hover, .footer-link:focus-visible { color: #d6fff0; background: #243c39; border-color: #42655b; }
.footer-bottom { margin-top: 23px; padding-top: 18px; border-top: 1px solid #ffffff0c; display: flex; justify-content: space-between; align-items: center; gap: 15px; color: #8995a8; font-size: 10px; letter-spacing: .04em; }
.footer-signature { letter-spacing: .16em; color: #94bfb1; font-size: 9px; }
#info-dialog { width: min(640px,calc(100% - 28px)); padding: 30px; max-height: 88dvh; background: linear-gradient(150deg,#243136,#1c232d); border: 1px solid #52675f; box-shadow: 0 24px 100px #0008; overflow-y: auto; }
#info-dialog::backdrop { background: #050c14c9; backdrop-filter: blur(5px); }
.info-close { position: absolute; top: 14px; right: 14px; min-width: 42px; min-height: 42px; }
.info-heading { display: flex; align-items: center; gap: 11px; margin: 2px 45px 24px 0; font-size: 10px; letter-spacing: .18em; color: #b5dfcd; }
#info-title { margin: 0 0 24px; font-size: 28px; letter-spacing: -.02em; line-height: 1.25; overflow-wrap: anywhere; hyphens: auto; }
.info-section + .info-section { margin-top: 21px; padding-top: 20px; border-top: 1px solid #ffffff12; }
.info-section h3 { color: #e0f3eb; font-size: 15px; margin: 0 0 8px; }
.info-section p { font-size: 13px; line-height: 1.8; color: #b8c6d2; margin: 0; overflow-wrap: anywhere; }
@media (max-width:760px) {
  .brand strong { font-size: clamp(13px,3.8vw,18px); letter-spacing: .02em; }
  .brand strong span { margin-left: .3em; letter-spacing: .05em; }
  .top-left, .top-right, .brand { gap: 6px; }
  #menu { min-width: 40px; min-height: 40px; }
  #language { min-height: 40px; }
  .nav-button { min-height: 44px; }
  .mobile-nav .nav-button { min-height: 55px; gap: 4px; padding-top: 7px; }
  .site-footer { margin-top: 30px; padding: 25px 3px 28px; }
  .footer-top { gap: 19px; align-items: flex-start; flex-direction: column; }
  #footer-pages { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; width: 100%; }
  .footer-link { text-align: left; background: #1e2730; border: 1px solid #34414a; padding: 12px; line-height: 1.4; overflow-wrap: anywhere; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 9px; margin-top: 22px; }
  #info-dialog { padding: 24px 20px; max-height: calc(100dvh - 30px); }
  .info-heading { font-size: 9px; gap: 8px; margin-bottom: 22px; }
  .info-heading img { width: 34px; height: 34px; }
  #info-title { font-size: 25px; padding-right: 8px; }
}
