
/* Bright, nostalgic wuxia portal. */
:root {
  --paper: #f9f1dc;
  --ivory: #fffaf0;
  --jade: #386650;
  --jade-dark: #234d3e;
  --red: #a53d2c;
  --gold: #c89b50;
  --ink: #463c29;
  --muted: #85795e;
  --serif: 'STKaiti', 'KaiTi', 'Noto Serif SC', 'Songti SC', serif;
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
  color: var(--ink);
  background: #eee3c9;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}
body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(ellipse at 50% 45%, #fffaf0, #efe5ce 72%);
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #3c846c;
  outline-offset: 4px;
}
button:disabled {
  cursor: not-allowed;
}
.wrap {
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 150;
  padding: 14px;
  background: white;
}
.skip-link:focus {
  top: 12px;
}
.utility-bar {
  background: #faf8ef;
  border-bottom: 1px solid #e5d9be;
  font-size: 12px;
  color: #807660;
}
.utility-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 33px;
}
.utility-bar .wrap > div {
  display: flex;
  align-items: center;
  gap: 24px;
}
.utility-bar button {
  background: none;
  border: 0;
  padding: 6px 0;
  font-size: 12px;
}
.utility-bar button:hover,
.utility-bar a:hover {
  color: var(--red);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff9ebf5;
  backdrop-filter: blur(12px);
  box-shadow:
    0 2px 0 #bca16b,
    0 5px 0 #fff3d3,
    0 8px 20px #5c754220;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-seal {
  display: grid;
  place-items: center;
  width: 42px;
  height: 46px;
  border: 2px solid #a3422b;
  color: var(--red);
  font: 700 28px var(--serif);
  transform: rotate(-5deg);
  box-shadow:
    inset 0 0 0 3px var(--ivory),
    inset 0 0 0 4px #b56345;
}
.brand b {
  font: 900 31px var(--serif);
  letter-spacing: 0.08em;
  color: var(--jade-dark);
}
.brand small {
  display: block;
  color: #ab8c55;
  font-size: 9px;
  letter-spacing: 0.24em;
  margin-top: 2px;
}
#main-nav {
  display: flex;
  align-items: stretch;
  gap: 20px;
}
#main-nav a,
#main-nav button {
  position: relative;
  min-width: 90px;
  padding: 19px 9px 15px;
  text-align: center;
  background: none;
  border: 0;
  font: 700 17px var(--serif);
  color: #5f6349;
  transition:
    color 0.2s,
    transform 0.2s;
}
#main-nav small {
  display: block;
  font:
    9px/1.8 Arial,
    sans-serif;
  letter-spacing: 0.13em;
  color: #a59c80;
}
#main-nav a::after,
#main-nav button::after {
  content: '◆';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  color: #b28d4a;
  font-size: 8px;
  transition: transform 0.2s;
}
#main-nav a:hover,
#main-nav a.active,
#main-nav button:hover {
  color: var(--red);
  transform: translateY(-2px);
}
#main-nav a.active::after,
#main-nav a:hover::after,
#main-nav button:hover::after {
  transform: translateX(-50%) scale(1);
}
.mobile-toggle {
  display: none;
}
.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #c6e9de;
}
.hero-art,
.hero-wash {
  position: absolute;
  inset: 0;
}
.hero-art {
  background: url('https://fishroad-1421635048.cos.ap-guangzhou.myqcloud.com/web/furong/1.png') center center / cover no-repeat;
  animation: arrival 1.2s ease both;
}
.hero-wash {
  background:
    linear-gradient(90deg, #e8f4dc80, #fff9db22 39%, transparent 63%),
    linear-gradient(0deg, #faf0d6, transparent 24%);
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 640px;
}
.hero-copy {
  padding-bottom: 35px;
  width: 55%;
  text-align: center;
}
.hero-kicker {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  color: #55785a;
  font: 700 17px var(--serif);
  letter-spacing: 0.25em;
}
.hero-kicker span {
  width: 38px;
  height: 1px;
  background: #6f966c;
}
.hero h1 {
  margin: 12px 0 0;
  font: 900 clamp(58px, 6.6vw, 100px)/1.05 var(--serif);
  letter-spacing: -0.07em;
  color: #ad422c;
  text-shadow:
    1px 1px 0 #fffbc9,
    3px 3px 0 #f2ce77,
    5px 7px 0 #59372740;
  -webkit-text-stroke: 1px #f3d897;
}
.hero-subtitle {
  margin: 13px 0 18px;
  font: 700 29px var(--serif);
  letter-spacing: 0.17em;
  color: #356349;
  text-shadow: 0 1px 0 #fff;
}
.hero-description {
  font: 16px/1.9 var(--serif);
  color: #597c59;
}
.hero-pills {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 18px 0 25px;
}
.hero-pills span {
  border: 1px solid #7c9b6380;
  border-radius: 20px;
  padding: 4px 13px;
  font-size: 12px;
  color: #5d7448;
  background: #ffffe23f;
}
.ornate-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 65px;
  padding: 12px 32px;
  border: 1px solid #873d27;
  border-radius: 8px 24px 8px 24px;
  background: linear-gradient(#d68445 0%, #ab4128 54%, #913622);
  color: #fff4ce;
  box-shadow:
    inset 0 0 0 3px #e4bd75,
    inset 0 0 0 4px #985433,
    0 5px 0 #753a26,
    0 10px 19px #73573b35;
  transition:
    transform 0.2s,
    filter 0.2s,
    box-shadow 0.2s;
  font: 700 22px var(--serif);
}
.ornate-button::before,
.ornate-button::after {
  content: '◆';
  position: absolute;
  top: 50%;
  margin-top: -7px;
  font-size: 11px;
  color: #f3d891;
}
.ornate-button::before {
  left: 10px;
}
.ornate-button::after {
  right: 10px;
}
.ornate-button:hover {
  transform: translateY(-4px);
  filter: brightness(1.12);
  box-shadow:
    inset 0 0 0 3px #f6d88f,
    inset 0 0 0 4px #985433,
    0 7px 0 #753a26,
    0 15px 22px #73573b35;
}
.ornate-button:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 0 0 3px #e4bd75,
    0 1px 0 #753a26;
}
.hero-download {
  min-width: 285px;
}
.hero-download b,
.hero-download small {
  display: block;
}
.hero-download b {
  font-size: 25px;
  letter-spacing: 0.12em;
}
.hero-download small {
  margin-top: 4px;
  font:
    12px Arial,
    sans-serif;
  letter-spacing: 0.18em;
  color: #f7d895;
}
.download-symbol {
  font:
    34px Arial,
    sans-serif;
}
.hero-download i {
  font:
    28px Arial,
    sans-serif;
}
.hero-note {
  position: absolute;
  right: 12px;
  top: 90px;
  writing-mode: vertical-rl;
  display: flex;
  gap: 8px;
  color: #386c54;
  font: 700 22px var(--serif);
  letter-spacing: 0.3em;
  text-shadow: 0 1px 3px white;
}
.hero-note span {
  font-size: 15px;
}
.hero-note i {
  width: 1px;
  height: 48px;
  background: #64947a;
  margin-top: 12px;
}
.hero-edge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 12px;
  background: linear-gradient(
    #d7c398 1px,
    #fff7e4 2px 5px,
    #c1a46f 6px 7px,
    #f8f0dc 8px
  );
}
.portal {
  position: relative;
  z-index: 2;
  padding-bottom: 65px;
}
.action-dock {
  position: relative;
  margin-top: -30px;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.1fr 1fr;
  min-height: 110px;
  padding: 9px;
  border: 1px solid #be9d5e;
  border-radius: 16px 6px 16px 6px;
  background: linear-gradient(#fff9e8, #ebd6ad);
  box-shadow:
    0 4px 0 #9d7944,
    inset 0 0 0 4px #fbf0d5,
    0 15px 28px #806b3922;
}
.action-dock > * {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 12px;
  border: 0;
  border-right: 1px solid #bb9e6266;
  background: transparent;
  transition:
    transform 0.2s,
    color 0.2s;
}
.action-dock > *:last-child {
  border: 0;
}
.action-dock > *:hover {
  transform: translateY(-4px);
  color: var(--red);
}
.action-dock b {
  display: block;
  font: 700 23px var(--serif);
  letter-spacing: 0.05em;
}
.action-dock small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: #9b8057;
}
.action-dock .dock-download {
  border-radius: 28px 8px 28px 8px;
  background: linear-gradient(#598f6b, #2b604a);
  border: 1px solid #214a35;
  color: #fff2c7;
  box-shadow: inset 0 0 0 3px #cfca7e;
  margin-right: 10px;
}
.dock-download small {
  color: #c8d6a4;
  font-size: 9px;
  letter-spacing: 0.12em;
}
.dock-icon {
  font-size: 38px;
  font-family: Arial, sans-serif;
}
.round-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 3px double #b99555;
  border-radius: 50%;
  background: radial-gradient(#fff9d7, #ddbd7c);
  font: 700 24px var(--serif);
  color: #88613a;
  box-shadow: 0 3px 0 #ba975a60;
}
.news-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 24px;
  margin-top: 43px;
  scroll-margin-top: 115px;
}
.framed {
  position: relative;
  background: linear-gradient(110deg, #fffcf2, #f8ebcc);
  border: 1px solid #c3a165;
  box-shadow:
    inset 0 0 0 4px #f7e7bf,
    inset 0 0 0 5px #d6ba80,
    0 8px 18px #8c744c12;
  border-radius: 4px 16px 4px 16px;
}
.framed::before,
.framed::after {
  content: '◆';
  position: absolute;
  font-size: 8px;
  color: #b28a48;
}
.framed::before {
  top: 9px;
  left: 10px;
}
.framed::after {
  bottom: 9px;
  right: 10px;
}
.notice-board,
.guide-board {
  padding: 30px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-heading p {
  margin: 0 0 5px;
  color: #ac8e53;
  font:
    10px Arial,
    sans-serif;
  letter-spacing: 0.16em;
}
.panel-heading h2 {
  margin: 0;
  color: var(--jade-dark);
  font: 700 30px var(--serif);
  letter-spacing: 0.08em;
}
.small-seal {
  color: #a7422d;
  border: 1px solid #b36a43;
  padding: 3px 5px;
  font: 19px var(--serif);
  transform: rotate(5deg);
}
.news-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #d8c392;
  margin-top: 22px;
  padding-bottom: 10px;
}
.news-tabs button {
  border: 1px solid transparent;
  border-radius: 18px 4px 18px 4px;
  background: transparent;
  padding: 6px 22px;
  font: 700 17px var(--serif);
  color: #8e7f5c;
}
.news-tabs button.active {
  border-color: #3e6f4d;
  background: linear-gradient(#689265, #3e704c);
  color: #fff6ce;
  box-shadow: inset 0 0 0 2px #91ad71;
}
.news-tabs button:not(.active):hover {
  background: #ecdcb7;
  color: var(--red);
}
.news-list {
  min-height: 223px;
}
.news-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-bottom: 1px dashed #d4c397;
  padding: 15px 0;
  background: none;
  text-align: left;
  font-size: 14px;
  transition:
    background 0.2s,
    padding 0.2s;
}
.news-row:hover {
  color: var(--red);
  padding-left: 8px;
  background: #f3e2b755;
}
.news-row span {
  color: #7e9065;
  font-size: 12px;
  flex-shrink: 0;
}
.news-row b {
  font-weight: 400;
  line-height: 1.5;
}
.news-row time {
  margin-left: auto;
  color: #9a8f73;
  font-size: 12px;
  flex-shrink: 0;
}
.news-row.pinned b {
  color: var(--red);
  font-weight: 700;
}
.preview-note {
  margin: 15px 0 0;
  font-size: 12px;
  color: #9b8c69;
}
.guide-board > p {
  color: #8d7d5f;
  font-size: 14px;
  margin: 17px 0;
}
.guide-link {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px dashed #d6c095;
  padding: 13px 0;
  transition: transform 0.2s;
}
.guide-link > b {
  font: 700 25px var(--serif);
  color: #b28b4e;
}
.guide-link span {
  font: 700 19px var(--serif);
  color: #4f6e4d;
}
.guide-link small {
  display: block;
  font: 12px sans-serif;
  color: #9e8c69;
  margin-top: 5px;
}
.guide-link i {
  margin-left: auto;
  font:
    24px Arial,
    sans-serif;
  color: #af8950;
}
.guide-link:hover {
  transform: translateX(5px);
}
.guide-foot {
  margin-top: 16px;
  font: 700 16px var(--serif);
  letter-spacing: 0.1em;
  color: #a79163;
  text-align: center;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 54px 0 28px;
  text-align: center;
}
.section-title > span {
  width: 110px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b8975d);
  position: relative;
}
.section-title > span:last-child {
  transform: rotate(180deg);
}
.section-title > span::after {
  content: '◆';
  position: absolute;
  right: -4px;
  top: -6px;
  font-size: 8px;
  color: #ad874e;
}
.section-title p {
  font:
    10px Arial,
    sans-serif;
  color: #a89263;
  letter-spacing: 0.2em;
  margin: 0 0 9px;
}
.section-title h2 {
  margin: 0;
  font: 700 32px var(--serif);
  letter-spacing: 0.07em;
  color: #365e47;
}
.class-stage {
  display: grid;
  grid-template-columns: 125px 1fr 43%;
  min-height: 410px;
  padding: 25px;
  gap: 24px;
  overflow: hidden;
}
.class-menu {
  display: flex;
  flex-direction: column;
  gap: 9px;
  justify-content: center;
}
.class-menu button {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #c4a66b;
  border-radius: 28px 4px 28px 4px;
  padding: 7px 12px;
  background: linear-gradient(#fff7dc, #e5cf9e);
  color: #89704d;
  font: 700 17px var(--serif);
  transition: transform 0.2s;
}
.class-menu b {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  border: 1px solid #b08c4f;
  font-size: 21px;
}
.class-menu button.active {
  background: linear-gradient(#bd6945, #973b2b);
  border-color: #884331;
  color: #fff1c8;
  box-shadow: inset 0 0 0 2px #d5a75e;
}
.class-menu button.active b {
  border-color: #ddb775;
}
.class-menu button:hover {
  transform: translateX(4px);
}
.class-detail {
  position: relative;
  z-index: 2;
  padding: 32px 0 25px;
}
.class-detail > p {
  color: #a18756;
  font-size: 12px;
  letter-spacing: 0.15em;
  margin: 0;
}
.class-detail h3 {
  margin: 10px 0;
  font: 700 54px var(--serif);
  color: #a84630;
}
.class-detail blockquote {
  margin: 0 0 15px;
  font: 700 24px var(--serif);
  color: #486b48;
}
.class-detail .class-description {
  font-size: 14px;
  line-height: 1.9;
  color: #867756;
  letter-spacing: 0;
  max-width: 330px;
}
.class-tags {
  display: flex;
  gap: 7px;
  margin: 16px 0 20px;
}
.class-tags span {
  padding: 4px 10px;
  background: #e9d8ae;
  border-radius: 12px;
  font-size: 12px;
  color: #81663d;
}
.class-stats {
  display: grid;
  gap: 10px;
  max-width: 290px;
}
.stat-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #97815a;
}
.stat-track {
  display: flex;
  gap: 4px;
}
.stat-track i {
  height: 6px;
  flex: 1;
  border-radius: 2px;
  background: #dccdaa;
}
.stat-track i.filled {
  background: #749161;
}
.class-art {
  position: relative;
  margin: -25px -25px -25px 0;
  background:
    linear-gradient(90deg, #f8ebcc, transparent 35%),
    url('https://fishroad-1421635048.cos.ap-guangzhou.myqcloud.com/web/furong/1.png') 85% 56% / auto 105% no-repeat;
}
.class-art span {
  position: absolute;
  right: 21px;
  bottom: 20px;
  writing-mode: vertical-rl;
  font: 700 18px/1.9 var(--serif);
  color: #2c5944;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 4px #fff;
}
.scenery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
}
.scenery-card {
  position: relative;
  padding: 7px;
  border: 1px solid #b59a65;
  border-radius: 5px 18px 5px 18px;
  background: #fff4d5;
  box-shadow:
    0 6px 0 #dac499,
    0 10px 20px #8c754522;
  overflow: hidden;
  text-align: left;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.scenery-card img {
  width: 100%;
  height: 218px;
  object-fit: cover;
  border-radius: 2px 12px 2px 12px;
  transition: transform 0.6s;
}
.scenery-card > span {
  display: block;
  position: relative;
  padding: 16px 12px 13px;
}
.scenery-card small {
  font-size: 11px;
  color: #a08c63;
}
.scenery-card b {
  display: block;
  margin-top: 7px;
  font: 700 22px var(--serif);
  color: #426548;
}
.scenery-card i {
  display: grid;
  place-items: center;
  position: absolute;
  right: 12px;
  bottom: 20px;
  width: 32px;
  height: 32px;
  border: 1px solid #b59a65;
  border-radius: 50%;
  font:
    21px Arial,
    sans-serif;
  color: #a4854b;
}
.scenery-card:hover {
  transform: translateY(-7px);
  box-shadow:
    0 9px 0 #dac499,
    0 18px 25px #8c75452c;
}
.scenery-card:hover img {
  transform: scale(1.045);
}
.closing-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 52px;
  padding: 35px 45px;
  border-top: 1px solid #bf9d64;
  border-bottom: 1px solid #bf9d64;
  background: linear-gradient(100deg, #e4e8c7, #f5e2b8);
  border-radius: 40px 6px 40px 6px;
}
.closing-banner p {
  font: 16px var(--serif);
  color: #829062;
  margin: 0 0 8px;
  letter-spacing: 0.15em;
}
.closing-banner h2 {
  margin: 0;
  font: 700 31px var(--serif);
  color: #4b6945;
}
footer {
  background: #dfd2b4;
  padding: 32px 0;
  border-top: 5px double #bea374;
  color: #9a8863;
}
footer .wrap {
  display: flex;
  align-items: center;
  gap: 25px;
}
.footer-brand {
  flex-shrink: 0;
  font: 700 27px var(--serif);
  color: #6d7753;
}
footer p {
  font-size: 11px;
  line-height: 1.9;
}
footer .wrap > div {
  margin-left: auto;
  font-size: 11px;
}
footer button {
  background: none;
  border: 0;
  padding: 6px 7px;
  font-size: 12px;
}
footer span {
  display: block;
  margin-top: 7px;
}
.floating-tools {
  position: fixed;
  z-index: 35;
  right: 18px;
  bottom: 50px;
  display: grid;
  gap: 9px;
}
.floating-tools button,
.floating-tools a {
  width: 48px;
  height: 54px;
  border: 1px solid #a8915f;
  background: linear-gradient(#fffae5, #e2cea0);
  border-radius: 21px 5px 21px 5px;
  box-shadow:
    inset 0 0 0 2px #fff4cf,
    0 4px 7px #735a3930;
  font: 700 20px var(--serif);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.floating-tools span {
  display: block;
  font: 10px sans-serif;
  margin-top: 3px;
  color: #8c7957;
}
.floating-tools button:hover,
.floating-tools a:hover {
  transform: translateX(-5px);
  color: var(--red);
}
dialog {
  max-height: calc(100dvh - 40px);
  border: 0;
  padding: 0;
}
dialog::backdrop {
  background: #1f362de0;
  backdrop-filter: blur(5px);
}
.parchment-dialog {
  width: min(570px, calc(100% - 34px));
  padding: 34px 38px;
  border: 1px solid #9a7d45;
  border-radius: 9px 30px 9px 30px;
  background: linear-gradient(110deg, #fff9e9, #f1ddb2);
  box-shadow:
    inset 0 0 0 5px #f4ddaa,
    inset 0 0 0 6px #b79150,
    0 25px 80px #10231a80;
  color: var(--ink);
}
dialog[open] {
  animation: dialogIn 0.22s ease both;
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid #b79962;
  border-radius: 50%;
  background: #f8e8c3;
  font:
    27px Arial,
    sans-serif;
  color: #9b5937;
}
.dialog-close:hover {
  background: #c15a39;
  color: white;
}
.dialog-heading p {
  color: #ac8b52;
  font-size: 11px;
  letter-spacing: 0.2em;
  margin: 0 0 7px;
}
.dialog-heading h2 {
  margin: 0 0 22px;
  color: #385e47;
  font: 700 30px var(--serif);
}
#dialog-body p,
#dialog-body li {
  font-size: 14px;
  line-height: 1.9;
  color: #807050;
}
#dialog-body ul,
#dialog-body ol {
  padding-left: 23px;
}
.dialog-note {
  padding: 12px 16px;
  border: 1px dashed #bc9a5b;
  background: #ecd8ad77;
  border-radius: 12px 3px;
}
.dialog-links {
  display: grid;
  gap: 12px;
  margin-top: 23px;
}
.dialog-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border: 1px solid #9e7f44;
  border-radius: 24px 5px 24px 5px;
  background: linear-gradient(#668c60, #3b6648);
  color: #fff5d4;
  font: 700 18px var(--serif);
  box-shadow: inset 0 0 0 2px #a8b77b;
}
.dialog-link:hover {
  filter: brightness(1.13);
}
.dialog-secondary {
  padding: 10px 18px;
  border: 1px solid #bca067;
  border-radius: 20px 4px;
  background: #ead7ac;
  font-size: 14px;
}
.register-form {
  display: grid;
  gap: 15px;
}
.register-form > label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  color: #78633e;
}
.register-form input:not([type='checkbox']) {
  width: 100%;
  border: 1px solid #bda574;
  border-radius: 16px 4px 16px 4px;
  background: #fffaf0;
  padding: 11px 14px;
  color: #493d28;
  font-size: 16px;
}
.register-form .terms {
  display: flex;
  gap: 8px;
  align-items: start;
  font-size: 12px;
  line-height: 1.8;
}
.register-form input[type='checkbox'] {
  margin-top: 4px;
  accent-color: #3c6b4d;
}
.register-form .ornate-button {
  width: 100%;
  min-height: 53px;
  font-size: 19px;
}
.form-error {
  min-height: 23px;
  color: #b0442e !important;
  font-size: 13px !important;
  margin: 0;
}
.form-success {
  padding: 19px;
  border: 1px solid #8caa68;
  background: #e3ebc4;
  border-radius: 18px 4px;
}
.form-success h3 {
  margin: 0 0 8px;
  color: #3e6548;
  font: 700 25px var(--serif);
}
.gallery-dialog {
  width: min(1100px, calc(100% - 32px));
  background: #16372c;
  border: 3px double #d6b872;
  border-radius: 10px;
  overflow: hidden;
  color: #f9edc8;
}
.gallery-image-wrap {
  position: relative;
  background: #10291f;
}
.gallery-image-wrap img {
  display: block;
  width: 100%;
  max-height: 74dvh;
  object-fit: contain;
}
.gallery-close {
  position: absolute;
  z-index: 2;
  right: 12px;
  top: 10px;
  border: 1px solid #ddcc9a;
  border-radius: 50%;
  background: #1c3c2caa;
  color: white;
  width: 38px;
  height: 38px;
  font:
    27px Arial,
    sans-serif;
}
.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 43px;
  height: 58px;
  background: #1b382cb0;
  color: #ffeab5;
  border: 1px solid #d7bc81;
  border-radius: 25px 5px;
  font:
    36px Arial,
    sans-serif;
}
.gallery-prev {
  left: 13px;
}
.gallery-next {
  right: 13px;
}
.gallery-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 22px;
}
.gallery-caption h2 {
  margin: 0;
  font: 700 23px var(--serif);
}
.gallery-caption span {
  font-size: 13px;
  color: #bed0ad;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
@keyframes arrival {
  from {
    opacity: 0.5;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1050px) {
  #main-nav {
    gap: 4px;
  }
  #main-nav a,
  #main-nav button {
    min-width: 82px;
  }
  .action-dock {
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
  }
  .action-dock > * {
    gap: 9px;
  }
  .action-dock b {
    font-size: 20px;
  }
  .round-icon {
    width: 34px;
    height: 34px;
    font-size: 19px;
  }
  .dock-action small {
    font-size: 10px;
  }
  .class-stage {
    grid-template-columns: 110px 1fr 38%;
    gap: 19px;
  }
  .floating-tools {
    right: 7px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 34px);
  }
  .utility-bar .wrap > span {
    display: none;
  }
  .utility-bar .wrap {
    justify-content: flex-end;
  }
  .utility-bar .wrap > div {
    gap: 17px;
  }
  .header-inner {
    min-height: 70px;
  }
  .brand b {
    font-size: 27px;
  }
  .brand-seal {
    width: 35px;
    height: 39px;
    font-size: 24px;
  }
  .mobile-toggle {
    display: grid;
    gap: 5px;
    border: 1px solid #bd9b5c;
    border-radius: 13px 3px;
    padding: 10px;
    background: #f9eac8;
  }
  .mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #41684b;
  }
  #main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 13px;
    background: #fff5db;
    border-bottom: 3px double #b69459;
    box-shadow: 0 12px 24px #596e392b;
  }
  #main-nav.open {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  #main-nav a,
  #main-nav button {
    padding: 13px 5px;
  }
  .hero,
  .hero-inner {
    min-height: 670px;
  }
  .hero-art {
    background-position: 70% center;
  }
  .hero-wash {
    background: linear-gradient(0deg, #f8eed2, #f3f3d588 45%, #edf8dc33);
  }
  .hero-inner {
    align-items: flex-end;
  }
  .hero-copy {
    width: 100%;
    padding-bottom: 71px;
  }
  .hero-kicker {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .hero h1 {
    font-size: 71px;
  }
  .hero-subtitle {
    font-size: 25px;
    margin: 8px 0 12px;
  }
  .hero-description {
    font-size: 14px;
    margin: 0;
    line-height: 1.7;
  }
  .hero-pills {
    margin: 14px 0 18px;
  }
  .hero-note {
    top: 40px;
    right: 0;
    font-size: 18px;
  }
  .hero-download {
    min-width: 255px;
    min-height: 65px;
  }
  .action-dock {
    margin-top: -28px;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }
  .action-dock > * {
    min-height: 76px;
    border: 0;
    justify-content: flex-start;
  }
  .action-dock .dock-download {
    margin-right: 0;
    justify-content: center;
  }
  .action-dock small {
    font-size: 10px;
  }
  .news-layout {
    grid-template-columns: 1fr;
    margin-top: 30px;
    gap: 20px;
  }
  .notice-board,
  .guide-board {
    padding: 25px 21px;
  }
  .news-tabs {
    gap: 4px;
  }
  .news-tabs button {
    padding: 6px 17px;
  }
  .news-row {
    gap: 7px;
    font-size: 13px;
  }
  .news-row time {
    font-size: 11px;
  }
  .news-row span {
    font-size: 11px;
  }
  .guide-board {
    display: none;
  }
  .section-title {
    gap: 15px;
    margin-top: 39px;
  }
  .section-title > span {
    width: 30px;
  }
  .section-title h2 {
    font-size: 25px;
  }
  .section-title p {
    font-size: 8px;
    letter-spacing: 0.13em;
  }
  .class-stage {
    display: block;
    padding: 20px;
    min-height: 500px;
  }
  .class-menu {
    flex-direction: row;
    gap: 6px;
    position: relative;
    z-index: 3;
    justify-content: space-between;
  }
  .class-menu button {
    flex-direction: column;
    gap: 2px;
    padding: 6px 9px;
    font-size: 13px;
  }
  .class-menu b {
    width: 29px;
    height: 29px;
    font-size: 21px;
  }
  .class-menu button:hover {
    transform: translateY(-2px);
  }
  .class-detail {
    padding-top: 28px;
    width: 100%;
  }
  .class-detail h3 {
    font-size: 44px;
  }
  .class-detail blockquote {
    font-size: 22px;
  }
  .class-detail .class-description {
    max-width: 100%;
    color: #796a48;
  }
  .class-stats {
    max-width: 270px;
  }
  .class-art {
    position: absolute;
    inset: 90px 0 0;
    margin: 0;
    opacity: 0.13;
    background-size: auto 110%;
  }
  .class-art span {
    display: none;
  }
  .scenery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .scenery-card img {
    height: 225px;
  }
  .closing-banner {
    flex-direction: column;
    gap: 24px;
    padding: 30px 18px;
    text-align: center;
  }
  .closing-banner h2 {
    font-size: 25px;
  }
  .closing-banner .ornate-button {
    font-size: 19px;
    min-height: 56px;
  }
  .portal {
    padding-bottom: 35px;
  }
  footer .wrap {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }
  footer .wrap > div {
    margin-left: 0;
  }
  .floating-tools {
    bottom: 15px;
    right: 10px;
    gap: 6px;
  }
  .floating-tools button,
  .floating-tools a {
    width: 40px;
    height: 44px;
    font-size: 17px;
  }
  .floating-tools span {
    font-size: 9px;
  }
  .parchment-dialog {
    padding: 30px 24px;
  }
  .dialog-heading h2 {
    font-size: 26px;
  }
  .gallery-caption h2 {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
