:root {
  color-scheme: dark;
  --bg: #17191e;
  --ink: #f1ede7;
  --muted: #b4b2b2;
  --accent: #e3b28b;
  --line: #36373b;
  --surface: #1e2227;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
}
body.avalon-site {
  --bg: #0d2027;
  --accent: #dfbc7e;
  --line: #304249;
  --surface: #132a32;
  --muted: #bac7c8;
}
body.brand-site {
  --bg: #091c24;
  --surface: #112e37;
  --line: #35505a;
  --muted: #c3ccd0;
  position: relative;
  isolation: isolate;
}
.brand-backdrop {
  position: absolute;
  inset: 0 0 auto;
  height: 1100px;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.brand-backdrop > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.brand-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #06172285, #06172208 72%),
    linear-gradient(0deg, #091c24 1%, #091c2400 64%),
    linear-gradient(180deg, #06172275, #06172200 28%);
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
a,
summary {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.3;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
.wrap {
  width: min(1240px, calc(100% - 112px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 20px;
  z-index: 10;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 100px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  flex-shrink: 0;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.game-wordmark {
  font-family: "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 21px;
  letter-spacing: 0.02em;
}
.brand-divider {
  margin-inline: 3px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}
.site-header nav > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.site-header nav > a:hover,
.text-link:hover,
.subtle-link:hover,
.site-footer a:hover {
  color: var(--accent);
}
.nav-action {
  border: 1px solid #6b6c6d;
  padding: 7px 18px;
  border-radius: 5px;
}
.nav-action:hover {
  border-color: var(--accent);
}
.follow-trigger {
  background: transparent;
  border: 0;
  padding: 0;
  min-height: 44px;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
}
.follow-trigger:hover {
  color: #ffe0b2;
}
.brand-hero {
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  min-height: 700px;
  padding-block: 66px 94px;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.intro-note {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 25px;
}
.status-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  background: currentColor;
  border-radius: 50%;
}
.hero-copy h1 {
  font-size: clamp(45px, 4.7vw, 68px);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.22;
}
.hero-description {
  color: var(--muted);
  margin-top: 26px;
  font-size: 17px;
  line-height: 1.9;
}
.hero-copy > .button {
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 12px 25px;
  font-weight: 600;
  font-size: 15px;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.button.primary {
  background: var(--accent);
  color: #202328;
}
.button.primary:hover {
  background: #f3cea2;
  transform: translateY(-2px);
}
.button.outline {
  border-color: #697b7f;
  color: var(--ink);
  background: #0d202770;
}
.button.outline:hover {
  border-color: var(--accent);
  background: #193c46;
}
.button:active {
  transform: translateY(1px);
}
.hero-footnote {
  color: var(--muted);
  font-size: 12px;
  margin-top: 17px;
}
.worlds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-left: 20px;
}
.world {
  display: block;
  min-height: 455px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 90px 90px 8px 8px;
  background: #17232d;
  border: 1px solid #4d5156;
}
.world-avalon {
  transform: translateY(44px);
  border-color: #6e6857;
}
.world::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    180deg,
    #06131c00 33%,
    #06131c3d 55%,
    #06131ceb 83%,
    #06131c 100%
  );
}
.world-art {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.world-wolf .world-art {
  object-position: 45% center;
}
.world-avalon .world-art {
  object-position: 24% center;
}
.world:hover .world-art {
  transform: scale(1.045);
}
.world-copy {
  position: absolute;
  bottom: 29px;
  left: 28px;
  right: 20px;
}
.world-caption {
  font-size: 12px;
  color: #e2d5c2;
}
.world-copy h2 {
  font-family: "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 40px;
  font-weight: 700;
  margin-block: 6px 20px;
  letter-spacing: 0.08em;
}
.world-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding-top: 15px;
  border-top: 1px solid #ffffff40;
}
.world-link span {
  font-size: 20px;
  color: var(--accent);
}
.brand-interlude {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-block: 26px;
  border-block: 1px solid var(--line);
  background: #071b2240;
}
.brand-interlude span {
  font-size: 17px;
}
.brand-interlude p {
  color: var(--muted);
  font-size: 14px;
}
.games-section {
  padding-top: 114px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 43px;
}
.section-heading h2,
.together-section h2,
.modes-section h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
}
.section-heading > p {
  color: var(--muted);
  font-size: 14px;
}
.game-feature {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  margin-bottom: 112px;
}
.feature-scene {
  min-height: 465px;
  border-radius: 8px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #101a21;
}
.feature-scene > img:first-child {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.forest-scene > img:first-child {
  object-position: 48% center;
}
.forest-scene::after,
.hall-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #03111a00 43%,
    #03111a30 62%,
    #03111ade 100%
  );
  z-index: -1;
}
.scene-lettering {
  position: absolute;
  left: 35px;
  bottom: 77px;
  font-family: "Songti SC", "Noto Serif CJK SC", serif;
  font-size: clamp(27px, 2.8vw, 36px);
  line-height: 1.55;
}
.scene-tag {
  position: absolute;
  left: 35px;
  bottom: 28px;
  font-size: 13px;
  color: #d8c5a2;
}
.hall-scene > img:first-child {
  object-position: center center;
}
.game-category {
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 15px;
}
.feature-copy h3 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.5;
}
.feature-copy > p:not(.game-category) {
  margin-top: 22px;
  max-width: 440px;
  color: var(--muted);
  font-size: 15px;
}
.feature-points {
  padding: 0;
  margin: 22px 0 28px;
  list-style: none;
  font-size: 14px;
}
.feature-points li {
  padding-left: 20px;
  position: relative;
  margin-block: 7px;
}
.feature-points li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border: 1px solid var(--accent);
  transform: rotate(45deg);
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px 25px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  font-size: 14px;
  border-bottom: 1px solid #79766c;
}
.device-entries {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}
.device-entries a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
.device-entries a:hover {
  color: var(--accent);
}
.subtle-link {
  display: inline-block;
  color: var(--muted);
  font-size: 13px;
  padding-block: 10px;
  margin-top: 12px;
}
.avalon-feature .feature-scene {
  order: 2;
}
.avalon-feature .feature-copy {
  padding-left: 25px;
}
.together-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
  padding: 75px 65px 85px;
  background:
    linear-gradient(90deg, #0c2731ec, #0c2731df),
    url("https://lrs-static.itse.cc/awl/h5/releases/20261105T160239Z/website/club-background-f00eddef3363.webp") center 65% / cover;
  border-radius: 8px;
  margin-bottom: 105px;
}
.together-section h2 {
  line-height: 1.5;
}
.together-section p:not(.game-category) {
  color: var(--muted);
  max-width: 500px;
  font-size: 15px;
  margin-block: 20px 17px;
}
.gather-mark {
  width: 185px;
  height: 185px;
  border: 1px solid #75726f;
  border-radius: 50%;
  position: relative;
  margin: auto;
}
.gather-mark::after {
  content: "";
  position: absolute;
  inset: 21px;
  border: 1px solid #575958;
  border-radius: 50%;
}
.gather-mark span {
  position: absolute;
  width: 15px;
  height: 15px;
  background: var(--accent);
  border: 5px solid var(--surface);
  box-sizing: content-box;
  border-radius: 50%;
}
.gather-mark span:nth-child(1) {
  top: -13px;
  left: 79px;
}
.gather-mark span:nth-child(2) {
  top: 51px;
  right: -8px;
}
.gather-mark span:nth-child(3) {
  bottom: 3px;
  right: 19px;
}
.gather-mark span:nth-child(4) {
  bottom: 3px;
  left: 19px;
}
.gather-mark span:nth-child(5) {
  top: 51px;
  left: -8px;
}
.gather-mark i {
  position: absolute;
  left: 61px;
  top: 67px;
  width: 62px;
  height: 45px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  padding-block: 37px 28px;
  border-top: 1px solid var(--line);
}
.footer-brand p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}
.site-footer nav {
  display: flex;
  align-items: start;
  flex-wrap: wrap;
  gap: 25px;
  padding-top: 6px;
  font-size: 13px;
}
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.copyright {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--muted);
}
.avalon-site .site-header {
  position: relative;
  z-index: 2;
}
.avalon-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: -101px;
  padding-top: 101px;
}
.avalon-backdrop {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  opacity: 0.7;
}
.avalon-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, #0d2027fa 3%, #0d2027c9 38%, #0d20271c 79%),
    linear-gradient(0deg, #0d2027 0%, #0d202700 35%);
}
.avalon-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  min-height: 695px;
  padding-block: 55px 70px;
}
.avalon-site .hero-copy h1 {
  font-family: "Songti SC", "Noto Serif CJK SC", serif;
  font-size: clamp(42px, 4.7vw, 64px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.025em;
}
.hero-entry {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
}
.desktop-qr {
  flex: 0 0 clamp(176px, 17.2vw, 220px);
  padding: 12px;
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: 8px;
}
.desktop-qr > img {
  width: 100%;
  height: auto;
}
.hero-entry-copy {
  min-width: 0;
}
.scan-instructions strong {
  display: block;
  font-size: clamp(20px, 1.8vw, 22px);
  font-weight: 600;
  line-height: 1.5;
}
.scan-instructions p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-top: 8px;
}
.avalon-site .hero-copy .hero-entry .actions {
  gap: 12px;
  margin-top: 18px;
}
.hero-entry .button {
  min-height: 46px;
  padding: 9px 16px;
  font-size: 14px;
  gap: 12px;
}
.game-showcase {
  position: relative;
  justify-self: center;
  padding: 4px 40px 30px;
}
.phone-frame {
  width: 239px;
  padding: 6px;
  border: 2px solid #8f9187;
  border-radius: 36px;
  background: #10181a;
  position: relative;
  box-shadow: 0 35px 65px #020a11a6;
  transform: rotate(4deg);
}
.phone-frame > img {
  width: 100%;
  height: auto;
  border-radius: 28px;
}
.phone-notch {
  width: 71px;
  height: 16px;
  background: #10181a;
  position: absolute;
  top: 6px;
  left: calc(50% - 35px);
  border-radius: 0 0 12px 12px;
}
.showcase-halo {
  width: 390px;
  height: 390px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #c5ae6a59;
  border-radius: 50%;
}
.showcase-halo::before,
.showcase-halo::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid #c5ae6a3b;
  border-radius: 50%;
}
.showcase-halo::after {
  inset: -22px;
  border-style: dashed;
  opacity: 0.6;
}
.showcase-caption {
  display: block;
  font-size: 11px;
  color: #dfceae;
  text-align: center;
  margin-top: 25px;
}
.promise-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-block: 33px;
  border-block: 1px solid var(--line);
}
.promise-strip > div {
  display: grid;
  gap: 3px;
}
.promise-strip strong {
  font-weight: 500;
  font-size: 16px;
}
.promise-strip span {
  font-size: 12px;
  color: var(--muted);
}
.how-section {
  padding-block: 103px 90px;
}
.play-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin: 0;
  gap: 32px;
  list-style: none;
}
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #82744e;
  border-radius: 50%;
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 20px;
}
.play-steps h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 13px;
}
.play-steps p {
  font-size: 14px;
  color: var(--muted);
}
.rule-note {
  margin-top: 38px;
  display: flex;
  gap: 15px;
  align-items: start;
  padding: 20px 22px;
  background: #17313a;
  border-radius: 5px;
}
.rule-symbol {
  color: var(--accent);
  font-size: 24px;
  line-height: 1.25;
}
.rule-note p {
  font-size: 13px;
  color: var(--muted);
}
.roles-section {
  padding-block: 82px 67px;
  background: #102830;
}
.role-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.role-portrait {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 65px 65px 5px 5px;
  min-height: 346px;
  background: #142630;
  border: 1px solid #456271;
}
.red-role {
  border-color: #725159;
}
.role-art {
  position: absolute;
  inset: 0 0 auto;
  height: 76%;
  background-image: url("https://lrs-static.itse.cc/awl/h5/releases/20261105T160239Z/website/portraits-614e3ff956d1.jpg");
  background-size: 300% 400%;
}
.merlin {
  background-position: 0 0;
}
.percival {
  background-position: 50% 0;
}
.morgana {
  background-position: 0 33.3333%;
}
.assassin {
  background-position: 50% 33.3333%;
}
.role-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 50px 20px 21px;
  background: linear-gradient(transparent, #10242df2 30%, #10242d);
}
.red-role .role-copy {
  background: linear-gradient(transparent, #29212bf2 30%, #29212b);
}
.role-copy > span {
  font-size: 11px;
  color: #b2d8e6;
}
.red-role .role-copy > span {
  color: #f1bac5;
}
.role-copy h3 {
  font-size: 25px;
  font-family: "Songti SC", "Noto Serif CJK SC", serif;
  margin-block: 3px 8px;
}
.role-copy p {
  font-size: 12px;
  color: #dde0df;
}
.roles-footnote {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  margin-top: 26px;
}
.modes-section {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
  gap: 80px;
  padding-block: 110px 100px;
}
.modes-section h2 {
  line-height: 1.5;
  margin-bottom: 30px;
}
.mode-list article {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding-block: 22px;
}
.mode-list article:first-child {
  padding-top: 0;
}
.mode-glyph {
  width: 35px;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 27px;
  line-height: 1.3;
  text-align: center;
}
.mode-list h3 {
  font-size: 19px;
  font-weight: 500;
}
.mode-list h3 span {
  display: inline-block;
  color: var(--muted);
  font-size: 12px;
  margin-left: 12px;
}
.mode-list p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}
.questions-section {
  display: grid;
  grid-template-columns: 0.85fr 1.2fr;
  gap: 75px;
  padding-block: 0 110px;
}
.questions-section h2 {
  font-size: 24px;
  line-height: 1.6;
}
.question-list details {
  border-bottom: 1px solid var(--line);
}
.question-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  min-height: 60px;
  font-size: 15px;
}
.question-list summary::-webkit-details-marker {
  display: none;
}
.question-list summary::after {
  content: "+";
  font-size: 20px;
  color: var(--accent);
}
.question-list details[open] summary::after {
  content: "−";
}
.question-list details:first-child summary {
  padding-top: 0;
  min-height: 44px;
}
.question-list p {
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 20px;
  max-width: 65ch;
}
.final-invitation {
  padding-block: 70px;
  background: #15303a;
  text-align: center;
  border-top: 1px solid #4a564d;
}
.final-invitation img {
  margin: 0 auto 22px;
}
.final-invitation h2 {
  font-family: "Songti SC", "Noto Serif CJK SC", serif;
  font-size: clamp(35px, 4vw, 48px);
  line-height: 1.45;
  margin-bottom: 28px;
}
.final-invitation .subtle-link {
  display: block;
  margin-top: 16px;
}
.avalon-site .site-footer {
  margin-top: 45px;
}
.follow-section {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
  padding: 55px 64px;
  margin-block: -45px 85px;
  border: 1px solid #576459;
  border-radius: 8px;
  background: #13343e;
}
.follow-copy h2 {
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.45;
  font-weight: 600;
}
.follow-copy > p:not(.game-category) {
  font-size: 15px;
  color: var(--muted);
  margin-top: 20px;
}
.follow-copy button {
  background: transparent;
  color: var(--accent);
  border: 0;
  border-bottom: 1px solid #80937c;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  margin-top: 15px;
}
.follow-code {
  margin: 0;
  text-align: center;
}
.qr-frame {
  width: 244px;
  max-width: 100%;
  padding: 13px;
  background: #fff;
  border-radius: 9px;
}
.qr-frame > img {
  width: 100%;
  height: auto;
}
.follow-code figcaption {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}
.service-dialog {
  width: min(410px, calc(100% - 32px));
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  padding: 43px 30px 26px;
  border: 1px solid #8b916d;
  border-radius: 15px;
  background: #0d2a34;
  color: #f1ede7;
  text-align: center;
}
.service-dialog::backdrop {
  background: #02121bd4;
  backdrop-filter: blur(5px);
}
.service-dialog h2 {
  font-size: 29px;
  font-weight: 600;
}
.service-dialog .game-category {
  color: #e3b28b;
  font-size: 12px;
  margin-bottom: 10px;
}
.dialog-description {
  margin-top: 13px;
  font-size: 13px;
  color: #c3ccd0;
}
.service-dialog .qr-frame {
  margin: 23px auto 17px;
  width: 258px;
}
.dialog-close {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #e4c39a;
  font-size: 29px;
  cursor: pointer;
}
.dialog-footnote {
  font-size: 12px;
  color: #c3ccd0;
}
body.dialog-open {
  overflow: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .brand-hero .hero-copy,
  .avalon-hero .hero-copy {
    animation: settle 0.7s both cubic-bezier(0.22, 1, 0.36, 1);
  }
  @keyframes settle {
    from {
      transform: translateY(12px);
      opacity: 0.65;
    }
    to {
      transform: none;
      opacity: 1;
    }
  }
  .service-dialog[open] {
    animation: settle 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  }
}
@media (min-width: 1600px) {
  .brand-hero {
    min-height: 760px;
  }
  .world {
    min-height: 500px;
  }
}
@media (max-width: 1080px) {
  .wrap {
    width: calc(100% - 72px);
  }
  .brand-hero {
    grid-template-columns: 43% 57%;
    min-height: 635px;
    padding-block: 65px 85px;
  }
  .worlds {
    gap: 14px;
    padding-left: 5px;
  }
  .world {
    min-height: 396px;
    border-radius: 70px 70px 7px 7px;
  }
  .world-copy {
    left: 21px;
  }
  .world-copy h2 {
    font-size: 33px;
  }
  .hero-description {
    font-size: 15px;
  }
  .site-header nav {
    gap: 23px;
  }
  .avalon-site .site-header nav {
    gap: 20px;
  }
  .network-link {
    display: none !important;
  }
  .game-feature {
    gap: 40px;
  }
  .feature-scene {
    min-height: 430px;
  }
  .feature-copy .actions {
    gap: 12px;
  }
  .together-section {
    gap: 45px;
    padding-inline: 40px;
  }
  .role-gallery {
    gap: 14px;
  }
  .role-portrait {
    min-height: 330px;
  }
  .role-copy {
    padding-inline: 15px;
  }
  .play-steps {
    gap: 23px;
  }
  .modes-section,
  .questions-section {
    gap: 45px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 78px;
    gap: 15px;
  }
  .wordmark {
    font-size: 20px;
    gap: 7px;
  }
  .wordmark > img {
    width: 29px;
  }
  .site-header nav {
    gap: 18px;
    font-size: 12px;
  }
  .site-header nav > a {
    gap: 8px;
  }
  .site-header nav > a[href="#together"] {
    display: none;
  }
  .brand-site .site-header nav > a[href="#games"]:not(.nav-action) {
    display: none;
  }
  .brand-site .site-header nav {
    gap: 15px;
  }
  .brand-backdrop {
    height: 1160px;
  }
  .brand-backdrop > img {
    object-position: 53% top;
  }
  .nav-action {
    padding: 6px 12px;
  }
  .brand-hero {
    display: block;
    padding-block: 42px 67px;
  }
  .brand-hero .intro-note {
    margin-bottom: 18px;
  }
  .hero-copy h1 {
    font-size: clamp(41px, 8.5vw, 58px);
  }
  .hero-description {
    margin-top: 20px;
    font-size: 14px;
  }
  .brand-hero .hero-copy > .button {
    margin-top: 23px;
  }
  .hero-footnote {
    font-size: 11px;
    margin-top: 13px;
  }
  .worlds {
    padding-left: 0;
    margin-top: 36px;
    gap: 14px;
  }
  .world {
    min-height: 285px;
    border-radius: 65px 65px 5px 5px;
  }
  .world-avalon {
    transform: translateY(23px);
  }
  .world-copy {
    left: 19px;
    right: 17px;
    bottom: 19px;
  }
  .world-copy h2 {
    font-size: 31px;
    margin-block: 4px 14px;
  }
  .world-caption {
    font-size: 10px;
  }
  .world-link {
    font-size: 11px;
    padding-top: 8px;
  }
  .brand-interlude {
    display: block;
    padding-block: 23px;
  }
  .brand-interlude span {
    font-size: 16px;
  }
  .brand-interlude p {
    font-size: 12px;
    margin-top: 6px;
  }
  .games-section {
    padding-top: 64px;
  }
  .section-heading {
    display: block;
    margin-bottom: 27px;
  }
  .section-heading > p {
    margin-top: 12px;
    font-size: 13px;
  }
  .section-heading h2,
  .together-section h2,
  .modes-section h2 {
    font-size: 28px;
  }
  .game-feature {
    grid-template-columns: 1fr;
    gap: 29px;
    margin-bottom: 69px;
  }
  .feature-scene {
    min-height: 330px;
  }
  .scene-lettering {
    font-size: 31px;
    left: 28px;
    bottom: 86px;
  }
  .scene-tag {
    left: 28px;
  }
  .feature-copy h3 {
    font-size: 29px;
  }
  .feature-copy > p:not(.game-category) {
    font-size: 14px;
    margin-top: 18px;
  }
  .feature-points {
    margin-block: 17px 23px;
    font-size: 13px;
  }
  .avalon-feature .feature-scene {
    order: 0;
  }
  .avalon-feature .feature-copy {
    padding-left: 0;
  }
  .together-section {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 45px 27px;
    margin-bottom: 60px;
  }
  .gather-mark {
    width: 155px;
    height: 155px;
  }
  .gather-mark span:nth-child(1) {
    left: 64px;
  }
  .gather-mark span:nth-child(2),
  .gather-mark span:nth-child(5) {
    top: 43px;
  }
  .gather-mark i {
    left: 48px;
    top: 56px;
    width: 57px;
    height: 37px;
  }
  .together-section p:not(.game-category) {
    font-size: 14px;
  }
  .follow-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 33px 25px;
    margin-block: -15px 60px;
  }
  .follow-copy h2 {
    font-size: 30px;
  }
  .follow-copy > p:not(.game-category) {
    font-size: 14px;
    margin-top: 15px;
  }
  .follow-copy button {
    display: none;
  }
  .follow-code {
    justify-self: center;
  }
  .follow-code .qr-frame {
    width: 240px;
  }
  .site-footer {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 30px 25px;
  }
  .site-footer nav {
    gap: 23px;
    font-size: 12px;
    padding-top: 0;
  }
  .copyright {
    font-size: 10px;
  }
  .avalon-site .game-wordmark {
    font-size: 17px;
  }
  .avalon-site .game-wordmark img {
    width: 24px;
    height: 32px;
  }
  .avalon-site .site-header nav {
    gap: 12px;
  }
  .avalon-site .site-header nav > a:not(.nav-action) {
    display: none;
  }
  .avalon-hero {
    margin-top: -79px;
    padding-top: 79px;
  }
  .avalon-backdrop {
    object-position: 60% 22%;
    opacity: 0.58;
  }
  .avalon-hero::after {
    background:
      linear-gradient(0deg, #0d2027 0%, #0d202700 40%),
      linear-gradient(90deg, #0d2027b3, #0d202733);
  }
  .avalon-hero-inner {
    grid-template-columns: 1fr;
    padding-block: 40px 25px;
  }
  .avalon-site .hero-copy h1 {
    font-size: clamp(38px, 9.5vw, 53px);
  }
  .avalon-hero .intro-note {
    margin-bottom: 19px;
  }
  .hero-entry {
    display: block;
    margin-top: 26px;
  }
  .avalon-site .hero-copy .hero-entry .actions {
    margin-top: 0;
    gap: 12px;
  }
  .avalon-site .hero-copy .button {
    padding-inline: 22px;
    min-height: 49px;
    font-size: 14px;
  }
  .desktop-qr,
  .scan-instructions {
    display: none;
  }
  .game-showcase {
    margin-top: 42px;
    padding-bottom: 20px;
  }
  .phone-frame {
    width: 211px;
    border-radius: 32px;
  }
  .phone-frame > img {
    border-radius: 24px;
  }
  .showcase-halo {
    width: 285px;
    height: 285px;
  }
  .promise-strip {
    gap: 16px;
    justify-content: space-between;
    padding-block: 26px;
  }
  .promise-strip strong {
    font-size: 12px;
  }
  .promise-strip span {
    font-size: 10px;
  }
  .how-section {
    padding-block: 65px 55px;
  }
  .play-steps {
    grid-template-columns: 1fr 1fr;
    gap: 30px 23px;
  }
  .step-number {
    margin-bottom: 14px;
  }
  .play-steps h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .play-steps p {
    font-size: 12px;
  }
  .rule-note {
    margin-top: 29px;
    padding: 17px;
    gap: 10px;
  }
  .rule-note p {
    font-size: 12px;
  }
  .roles-section {
    padding-block: 55px 40px;
  }
  .role-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 17px 13px;
  }
  .role-portrait {
    min-height: 300px;
    border-radius: 46px 46px 5px 5px;
  }
  .role-copy {
    padding: 44px 14px 17px;
  }
  .role-copy h3 {
    font-size: 23px;
  }
  .role-copy p {
    font-size: 11px;
  }
  .roles-footnote {
    font-size: 11px;
    line-height: 1.9;
  }
  .modes-section {
    grid-template-columns: 1fr;
    gap: 37px;
    padding-block: 65px;
  }
  .modes-section h2 {
    margin-bottom: 23px;
  }
  .mode-list article {
    gap: 16px;
  }
  .mode-list h3 {
    font-size: 18px;
  }
  .questions-section {
    grid-template-columns: 1fr;
    gap: 29px;
    padding-bottom: 60px;
  }
  .questions-section h2 {
    font-size: 24px;
  }
  .question-list summary {
    font-size: 14px;
  }
  .final-invitation {
    padding-block: 55px;
  }
  .final-invitation h2 {
    font-size: 36px;
  }
  .avalon-site .site-footer {
    margin-top: 20px;
  }
}
@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .wordmark {
    font-size: 18px;
  }
  .site-header nav {
    gap: 12px;
    font-size: 11px;
  }
  .site-header nav > a[href="#games"]:not(.nav-action) {
    display: none;
  }
  .hero-copy h1 {
    font-size: 40px;
  }
  .world {
    min-height: 265px;
  }
  .world-copy {
    left: 14px;
    right: 14px;
  }
  .world-copy h2 {
    font-size: 27px;
  }
  .world-link {
    font-size: 10px;
  }
  .worlds {
    gap: 11px;
  }
  .actions {
    gap: 13px;
  }
  .button {
    padding-inline: 18px;
    font-size: 14px;
  }
  .text-link {
    font-size: 13px;
  }
  .role-portrait {
    min-height: 280px;
  }
  .role-copy {
    padding-inline: 10px;
  }
  .promise-strip {
    gap: 8px;
  }
  .promise-strip strong {
    font-size: 12px;
  }
  .promise-strip span {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
