@font-face {
  font-family: "Space Grotesk";
  src: url("../../assets/fonts/mahjong/SpaceGrotesk.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("../../assets/fonts/mahjong/Manrope.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --night: #071a23;
  --night-panel: #0c2530;
  --night-raised: #12323c;
  --night-line: #42616b;
  --night-muted: #bdd1d1;
  --mint: #9af9d2;
  --mist: #f5f7f2;
  --article: #eef1e9;
  --article-line: #a8b7ae;
  --article-ink: #112e33;
  --article-accent: #246454;
  --journal-heading: "Space Grotesk", Bahnschrift, "Segoe UI", Arial, sans-serif;
  --journal-text: Manrope, "Segoe UI", Arial, sans-serif;
}

.v11-hub, .mag-page, main.v10-maaluck {
  color: var(--article-ink);
  background: var(--article);
  font-family: var(--journal-text);
}

.v11-hub p:not([class]), .mag-page p:not([class]), .v10-maaluck p:not([class]) {
  font-size: 1rem;
  line-height: 1.65;
}

.v11-top, .v11-cover, .v11-latest { color: var(--mist); }
.v11-top { background: var(--night); border-bottom: 1px solid var(--night-line); }
.v11-top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 20px;
}
.v11-top nav { display: flex; flex-wrap: wrap; gap: 0 clamp(13px, 3vw, 34px); }
.v11-top a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .91rem; font-weight: 650; }
.v11-top a:hover, .v11-top .v11-path:hover { color: var(--mint); text-decoration: underline; text-underline-offset: .2em; }
.v11-top .v11-path { color: var(--mist); }
.v11-top .v11-path span { color: var(--mint); }

.v11-cover {
  position: relative;
  isolation: isolate;
  min-height: clamp(455px, 43vw, 650px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--night);
}
.v11-cover-photo { position: absolute; inset: 0 0 0 23%; z-index: -2; margin: 0; }
.v11-cover-photo img, .v11-cover-photo picture { display: block; width: 100%; height: 100%; }
.v11-cover-photo img { object-fit: cover; object-position: 74% 61%; }
.v11-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #071a23 18%, #071a23fa 26%, #071a23dc 36%, #071a238f 54%, #071a2337 62%, transparent 73%),
    linear-gradient(0deg, #071a23bf, transparent 22%),
    linear-gradient(180deg, #071a237d, transparent 22%);
}
.v11-cover-inner { padding-block: clamp(46px, 5.3vw, 83px) clamp(54px, 6.6vw, 94px); }
.v11-label {
  color: var(--article-accent);
  font: 750 .79rem/1.5 var(--journal-text);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.v11-cover .v11-label, .v11-latest .v11-label { color: var(--mint); }
.v11-cover .v11-label { display: flex; align-items: center; gap: 12px; }
.v11-cover .v11-label::before { content: ""; width: 25px; height: 2px; background: var(--mint); }
.v11-cover h1 {
  margin: clamp(10px, 1.45vw, 24px) 0 23px;
  color: var(--mist);
  font: 750 clamp(3.25rem, 11.8vw, 11.5rem)/.9 var(--journal-heading);
  letter-spacing: -.082em;
  text-transform: uppercase;
}
.v11-cover-copy { max-width: 28rem; }
.v11-cover h2 {
  color: var(--mint);
  font: 650 clamp(1.85rem, 4.2vw, 3.9rem)/1.03 var(--journal-heading);
  letter-spacing: -.05em;
}
.v11-cover-copy p { max-width: 32ch; margin-top: 12px; color: #e0ece9; }
.v11-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 19px; margin-top: 21px; }
.v11-primary, .v11-secondary, .v11-more {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-content: space-between;
  min-height: 44px;
  font-size: .94rem;
  font-weight: 750;
}
.v11-primary {
  padding: 9px 15px;
  background: var(--mint);
  border: 1px solid var(--mint);
  border-radius: 2px;
  color: var(--night);
  transition: background-color .16s ease;
}
.v11-primary:hover { background: #c6ffe8; }
.v11-secondary, .v11-more { text-decoration: underline; text-underline-offset: .24em; }
.v11-secondary.v11-inline { display: inline; font-size: inherit; font-weight: 650; }
.v11-more { color: inherit; }
.v11-more > span[aria-hidden="true"] { transition: translate .16s ease; }
.v11-more:hover > span[aria-hidden="true"] { translate: 2px -1px; }
.v11-secondary:hover, .v11-latest .v11-more:hover { color: var(--mint); }
.v11-hub .v11-top a:focus-visible, .v11-hub .v11-cover a:focus-visible,
.v11-hub .v11-hero-credit a:focus-visible, .v11-hub .v11-latest a:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }
.v11-cover-photo .v11-photo-frame {
  position: absolute;
  inset: clamp(14px, 3vw, 44px) clamp(14px, 3.5vw, 54px) auto auto;
  width: 49px;
  height: 49px;
  border-top: 1px solid var(--mint);
  border-right: 1px solid var(--mint);
}
.v11-hero-credit { background: var(--night); color: var(--night-muted); border-bottom: 1px solid var(--night-line); }
.v11-hero-credit .wrap { padding-block: 3px 4px; }
.v11-hub .v10-credit { font-size: .81rem; line-height: 1.5; }
.v11-hero-credit .v10-credit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 10px;
  margin: 0;
}
.v11-hero-credit a { display: inline-flex; align-items: center; min-height: 28px; }

.v11-latest { background: var(--night-panel); padding-block: clamp(29px, 4.6vw, 66px); }
.v11-hub .v11-heading {
  margin: 6px 0 0;
  color: inherit;
  font: 650 clamp(2rem, 4.45vw, 4.65rem)/1.02 var(--journal-heading);
  letter-spacing: -.057em;
  text-wrap: balance;
}
.v11-section-head { display: flex; align-items: end; flex-wrap: wrap; justify-content: space-between; gap: 9px 20px; margin-bottom: 22px; }
.v11-latest .v11-edition { color: var(--night-muted); font-size: .84rem; }
.v11-news {
  display: grid;
  grid-template-columns: minmax(0,1.12fr) minmax(0,.87fr) minmax(0,1fr);
  border-top: 1px solid var(--night-line);
}
.v11-news > * { min-width: 0; padding: clamp(18px, 2.5vw, 34px) clamp(13px, 2.1vw, 29px) 0; }
.v11-news > :first-child { padding-left: 0; }
.v11-news > :last-child { padding-right: 0; }
.v11-news > * + * { border-left: 1px solid var(--night-line); }
.v11-news article .v11-label { color: var(--night-muted); }
.v11-news h3 {
  margin: 11px 0 10px;
  font: 650 clamp(1.3rem, 2.03vw, 2rem)/1.1 var(--journal-heading);
  letter-spacing: -.04em;
}
.v11-news .v11-news-lead h3 { font-size: clamp(1.65rem, 3.2vw, 3.45rem); }
.v11-news-lead h3 span { color: var(--mint); }
.v11-news article p:not([class]) { max-width: 45ch; color: #e0ece9; }
.v11-coming { scroll-margin-top: 20px; }
.v11-coming ul { margin: 5px 0 2px; padding: 0; list-style: none; }
.v11-event {
  display: grid;
  grid-template-columns: minmax(3.8rem, .31fr) minmax(0,1fr) 12px;
  gap: 10px;
  min-height: 59px;
  align-items: center;
  padding: 8px 0;
}
.v11-coming li + li { border-top: 1px solid var(--night-line); }
.v11-event .v11-when { color: var(--mint); font: 650 clamp(1.25rem, 2.55vw, 2rem)/.9 var(--journal-heading); white-space: nowrap; letter-spacing: -.048em; }
.v11-event .v11-when span { display: block; margin-top: 6px; font: 700 .75rem/1.2 var(--journal-text); letter-spacing: .03em; }
.v11-event strong { display: block; font-size: 1rem; line-height: 1.2; }
.v11-event small { display: block; margin-top: 4px; color: var(--night-muted); font-size: .86rem; line-height: 1.35; }
.v11-event:hover strong { text-decoration: underline; }
.v11-event > :last-child { color: var(--mint); }

.v11-history {
  color: var(--article-ink);
  background: #e4ece4;
  border-bottom: 1px solid var(--article-line);
  padding-block: clamp(30px, 5.2vw, 78px);
}
.v11-history-grid { display: grid; grid-template-columns: minmax(0, .68fr) minmax(0,1fr); align-items: center; gap: 20px clamp(24px, 5vw, 80px); }
.v11-history-year { margin-top: 4px; color: #15565c; font: 650 clamp(4.8rem, 13vw, 13.5rem)/.9 var(--journal-heading); letter-spacing: -.075em; }
.v11-history-copy { border-left: 1px solid var(--article-line); padding-left: clamp(20px, 4vw, 66px); }
.v11-history-copy p { margin-top: 11px; max-width: 47ch; color: inherit; }

.v11-hub .v10-cabinet {
  color: var(--article-ink);
  background: var(--article);
  border-bottom: 1px solid var(--article-line);
}
.v11-hub .v10-cabinet-grid {
  grid-template-columns: minmax(0,.84fr) minmax(0,1fr);
  align-items: center;
  gap: 17px clamp(26px, 7vw, 108px);
}
.v11-cabinet-copy { max-width: 37rem; }
.v11-cabinet-copy .v11-heading { max-width: 13ch; }
.v11-cabinet-copy p:not([class]) { margin-top: 15px; color: inherit; }
.v11-cabinet-display { width: min(100%, 440px); justify-self: center; }
.v11-hub .v10-cabinet-buttons { margin: 0 0 10px; }
.v11-hub .v10-cabinet button {
  background: #e3ebe2;
  border-color: #668179;
  color: var(--article-ink);
  transition: background-color .16s ease;
}
.v11-hub .v10-cabinet button:hover { background: #d0e9dd; }
.v11-hub .v10-cabinet button[aria-pressed="true"] { border-color: #246d57; background: var(--mint); box-shadow: inset 0 -3px #246d57; }
.v11-hub .v10-cabinet-figure .v10-cabinet-mat { aspect-ratio: 4/5; padding: 0; background: #15343b; border: 1px solid #638079; overflow: hidden; }
.v11-hub .v10-cabinet-mat img { width: 100%; height: 100%; }
.v11-hub .v10-cabinet .v10-credit { color: #3d5c60; }

.v11-hub .v10-front-section .mag-front-lead,
.v11-hub .v10-front-section .mag-front-side .mag-front-rules { background: #e2ebe4; color: var(--article-ink); }
.v11-hub .v10-front-section .mag-front-side article:first-child { background: var(--night-panel); color: var(--mist); }
.v11-hub .v10-front-section .mag-front-side article:first-child .hub-kicker,
.v11-hub .v10-front-section .mag-front-side article:first-child .hub-link { color: var(--mint); }
.v11-hub .mag-front-side .mag-front-rules { border-top: 2px solid #62877f; }
.v11-hub .mag-front-lead figcaption { background: #d9e5dd; }
.v11-hub .mag-front-grid h3,
.v11-hub .mag-workbench h2, .v11-hub .mag-hub-tiles h2,
.v11-hub .mag-hub-events h3 {
  font-family: var(--journal-heading);
  font-style: normal;
  font-weight: 650;
}
.v11-hub .hub-kicker { color: var(--article-accent); }
.v11-hub .hub-link { color: inherit; }
.v11-hub .v10-archive-teaser { background: var(--night-panel); color: var(--mist); }
.v11-hub .v10-archive-grid { align-items: center; }
.v11-hub .v10-archive-grid img { width: 100%; height: auto; max-height: none; object-fit: initial; }
.v11-hub .v10-archive-grid > div { background: transparent; padding: 0; }
.v11-hub .v10-archive-grid .v10-credit { color: var(--night-muted); }
.v11-hub .v10-archive-grid .v11-label { color: var(--mint); }
.v11-hub .v10-archive-grid p:not([class]) { margin-top: 10px; }
.v11-hub .mag-workbench { background: var(--article); color: var(--article-ink); border-bottom: 1px solid var(--article-line); }
.v11-hub .mag-workbench-grid > div + div { border-color: var(--article-line); }
.v11-hub .table-reportage figcaption { background: #dce7df; color: var(--article-ink); }
.v11-hub .mag-hub-events { background: #e4ece4; color: var(--article-ink); }
.v11-hub .mahjong-game { background: var(--night); color: var(--night-muted); }
.v11-hub .game-details p { font-size: .92rem; }

.mag-header {
  background: var(--article);
  color: var(--article-ink);
  border-bottom-color: var(--article-line);
}
.mag-header .wrap::before { background: var(--article-accent); }
.mag-header .hub-kicker, .mag-header .mag-kicker, .mag-header .mag-checked { color: var(--article-accent); }
.mag-header h1, .mag-content h2, .mag-content h3, .mag-related h2,
.v10-maaluck .article-heading h1 { font-family: var(--journal-heading); font-weight: 650; }
.v10-maaluck .article-heading { background: var(--night-panel); color: var(--mist); }
.v10-maaluck .article-heading h1 { font-style: normal; }
.v10-maaluck .article-heading .mahjong-kicker { color: var(--mint); }
.v10-maaluck .article-copy h2 { font-family: var(--journal-heading); font-weight: 650; }
.v10-maaluck .article-opinion { background: #dce9df; border-color: var(--article-accent); }
.v10-maaluck .article-opinion .mahjong-kicker { color: var(--article-accent); }
.v10-case-view .visual-story-copy { border-color: var(--article-accent); }
.v10-case-view .visual-story-copy .v10-eyebrow { color: var(--article-accent); }
.mag-page .hub-kicker, .mag-page .mag-kicker { color: var(--article-accent); }
.mag-nav { background: var(--night-panel); color: var(--mist); }
.mag-nav a[aria-current="page"], .mag-nav a:hover { color: var(--mint); }
.mag-related li { background: #dce9df; }
.mag-related li a { color: var(--article-ink); }
.mag-page .mag-term-grid, .mag-content .set-gallery,
.mag-page .tile-fact, .mag-page .tile-label, .mag-page .object-view { border-color: var(--article-line); }
.mag-page .mag-term-grid > div, .mag-page .tile-fact { background: #e3ece3; }
.mag-page .object-choice:checked + label,
.mag-page .tile-choice:checked + .tile-label { background: var(--mint); color: var(--article-ink); border-color: #246454; }
.mag-page .object-choice:focus-visible + label,
.mag-page .tile-choice:focus-visible + .tile-label { outline-color: var(--article-ink); }
.v11-hub .mag-front-heading .hub-link { align-self: end; }
.v10-events .mag-event { background: var(--mist); border-color: var(--article-line); }
.v10-events .mag-event .mag-event-when { background: #dce9e1; color: var(--article-ink); }
.v10-events .mag-event:nth-child(-n+2) .mag-event-when { background: var(--night-panel); color: var(--mist); }
.v10-events .mag-event:nth-child(-n+2) .mag-event-when .mag-kicker { color: var(--mint); }
.v10-events .mag-event .mag-date { font-family: var(--journal-heading); }
.v10-events .mag-event .mag-links .mag-link {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  min-height: 44px;
}

.v10-directory .mag-directory-grid article:last-child { grid-column: auto; }
.v11-shanghai .mag-header { background: #e0ebe3; }
.v11-shanghai-sources {
  padding: clamp(14px, 2.5vw, 27px);
  border-inline-start: 3px solid var(--article-accent);
  background: #e0ebe3;
}
.v11-shanghai-sources ul { margin: 0; padding-inline-start: 20px; }

@media (max-width: 950px) {
  .v11-news { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .v11-news > :nth-child(2) { padding-right: 0; }
  .v11-news > .v11-coming { grid-column: 1/-1; border-left: 0; border-top: 1px solid var(--night-line); padding-left: 0; margin-top: 12px; }
  .v11-coming ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 20px; }
  .v11-coming li + li { border-top: 0; }
}

@media (max-width: 650px) {
  .v11-top .wrap { justify-content: flex-start; column-gap: 14px; }
  .v11-top nav { column-gap: 13px; }
  .v11-top a { min-height: 44px; font-size: .82rem; }
  .v11-cover { display: block; min-height: 0; }
  .v11-cover::before { display: none; }
  .v11-cover-inner { display: grid; padding-block: 16px 11px; }
  .v11-cover h1 { font-size: clamp(2.7rem, 14vw, 5.8rem); margin: 7px 0 11px; }
  .v11-cover-photo {
    position: relative;
    inset: auto;
    z-index: auto;
    width: 100%;
    aspect-ratio: 1.54;
    grid-row: 3;
    margin-bottom: 14px;
  }
  .v11-cover-photo img { object-position: center 76%; }
  .v11-cover-photo .v11-photo-frame { width: 22px; height: 22px; }
  .v11-cover-copy p { max-width: 39ch; margin-top: 7px; }
  .v11-actions { margin-top: 12px; }
  .v11-primary, .v11-secondary, .v11-more { font-size: .89rem; }
  .v11-latest { padding-top: 23px; }
  .v11-section-head { margin-bottom: 15px; }
  .v11-news { display: block; }
  .v11-news > * { padding: 17px 0 8px; }
  .v11-news > * + * { border: 0; border-top: 1px solid var(--night-line); }
  .v11-news > .v11-coming { margin-top: 0; }
  .v11-coming ul { display: block; }
  .v11-coming li + li { border-top: 1px solid var(--night-line); }
  .v11-history-grid, .v11-hub .v10-cabinet-grid { grid-template-columns: 1fr; }
  .v11-history-copy { border-left: 0; padding-left: 0; }
  .v11-cabinet-display { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.v11-hub), html:has(.mag-page) { scroll-behavior: auto; }
  .v11-primary, .v11-hub .v10-cabinet button, .v11-more > span[aria-hidden="true"] { transition: none; }
  .v11-more:hover > span[aria-hidden="true"] { translate: none; }
}
