:root {
  --page: #ffffff;
  --paper: #ffffff;
  --ink: #202020;
  --muted: #65615a;
  --line: #d5dfcf;
  --line-dark: #9bb292;
  --nav: #5fa463;
  --nav-dark: #2f6f35;
  --nav-light: #86c989;
  --gold: #efc64a;
  --green: #447a4d;
  --blue: #38678f;
  --red: #9f4e3f;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Microsoft YaHei", "SimSun", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.page-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 320px;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  width: calc(100% - 8px);
  min-height: calc(100vh - 8px);
  margin: 4px auto;
  background: var(--paper);
  border: 1px solid #d9e9d3;
  border-radius: 8px;
  box-shadow: none;
}

.masthead {
  grid-column: 1 / -1;
  height: 430px;
  position: relative;
  overflow: hidden;
  background-image: url("images/web_header.jpg");
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line-dark);
}

.masthead::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 72px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.28));
}

.masthead-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.site-logo {
  display: block;
  width: min(420px, 72%);
  height: 126px;
  color: transparent;
  background: url("images/komro_logo_transparent.png?v=20260707-3") center center / contain no-repeat;
  filter: drop-shadow(0 5px 9px rgba(0, 38, 66, 0.36));
}

.site-logo:hover {
  text-decoration: none;
}

.logo-main {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.logo-sub {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.page-nav {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-self: start;
  min-height: 0;
  margin: 18px 14px 0 18px;
  padding: 14px 12px 18px;
  background: #d8ead2;
  border: 0;
  border-radius: 8px;
}

.page-nav::before {
  content: "Main Menu";
  display: block;
  margin: 2px 4px 12px;
  padding-bottom: 6px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.page-nav a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: 38px;
  padding: 5px 14px;
  color: #fff;
  background: var(--nav-light);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 400;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.36);
}

.page-nav a:hover,
.page-nav a.active {
  color: #fff;
  background: var(--nav-dark);
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.42);
}

.site-body {
  display: contents;
}

.sidebar,
.content {
  min-width: 0;
}

.sidebar {
  grid-column: 3;
  grid-row: 2;
  margin: 14px 14px 24px 0;
}

.content {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  align-content: start;
  gap: 16px;
  margin: 14px 12px 24px 0;
}

.side-box,
.content-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.side-box {
  margin-bottom: 16px;
}

.side-box h2,
.content-box h2,
.content-box h1 {
  margin: 0;
  color: #27231c;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
}

.side-box h2 {
  padding: 10px 12px;
  color: #fff;
  background: var(--nav-dark);
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.account-box {
  padding-bottom: 14px;
}

.tabbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 12px;
  border: 1px solid var(--line);
  background: #efe7d7;
}

.tab {
  min-height: 34px;
  color: #3f3a32;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.tab + .tab {
  border-left: 1px solid var(--line);
}

.tab.active {
  background: #fff;
}

.account-form {
  display: none;
  padding: 0 14px;
}

.account-form.active {
  display: grid;
  gap: 9px;
}

.account-form label,
.account-form .form-field {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
}

.account-form input {
  width: 100%;
  height: 34px;
  padding: 5px 8px;
  border: 1px solid #cfc4ad;
  background: #fffefb;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

.password-wrap {
  position: relative;
  display: block;
}

.password-wrap input {
  padding-right: 40px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 28px;
  padding: 0;
  color: #5d6a56;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.password-toggle:hover {
  color: var(--nav-dark);
}

.password-toggle:focus-visible {
  outline: 2px solid var(--nav);
  outline-offset: 1px;
}

.password-toggle svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.account-form button {
  height: 36px;
  color: #fff;
  background: var(--nav-light);
  border: 1px solid var(--nav);
  cursor: pointer;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.form-link {
  display: inline-flex;
  justify-self: start;
  color: var(--nav-dark);
  font-size: 13px;
  font-weight: 700;
}

.wide-form-link {
  align-self: center;
}

.account-form .password-toggle,
.wide-form .password-toggle,
.compact-form .password-toggle {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 28px;
  min-height: 0;
  padding: 0;
  color: #5d6a56;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-shadow: none;
}

.account-form .password-toggle:hover,
.wide-form .password-toggle:hover,
.compact-form .password-toggle:hover {
  color: var(--nav-dark);
  background: transparent;
  border: 0;
}

.form-message {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.form-message.error {
  color: var(--red);
}

.form-message.success {
  color: var(--green);
}

.wide-form .form-message {
  grid-column: 1 / -1;
}

.account-center-tabs .tabbar {
  margin: 12px 0 16px;
  max-width: 420px;
}

.account-narrow-box,
.account-center-tabs,
.account-form-box,
.account-table-box {
  width: 100%;
  max-width: 860px;
  margin-right: auto;
  margin-left: 0;
}

.account-center-tabs .wide-form {
  display: none;
  grid-template-columns: 1fr;
}

.account-center-tabs .wide-form.active {
  display: grid;
}

.account-form-box .wide-form {
  grid-template-columns: 1fr;
}

.account-form select,
.wide-form select {
  height: 34px;
  border: 1px solid #cfc4ad;
  background: #fffefb;
}

.master-summary {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
}

.master-summary strong {
  font-size: 16px;
}

.master-summary span {
  color: var(--muted);
  font-size: 13px;
}

.server-list {
  margin: 0;
  padding: 10px 12px 12px;
}

.community-links {
  display: grid;
  gap: 8px;
  padding: 12px 16px;
}

.community-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 30px;
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.community-button:hover,
.community-button:focus-visible {
  color: #fff;
  filter: brightness(0.92);
}

.community-button.qq {
  background: #2f92d8;
  gap: 7px;
  padding-right: 12px;
  padding-left: 12px;
}

.community-button.kook {
  background: #87eb00;
}

.community-button.discord {
  background: #5865f2;
}

.community-icon {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.qq-icon {
  width: 20px;
  height: 28px;
}

.kook-icon {
  width: 72px;
  height: 24px;
  object-fit: contain;
}

.community-button.kook span {
  display: none;
}

.discord-icon {
  width: 19px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.server-list div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dotted var(--line);
}

.server-list div:last-child {
  border-bottom: 0;
}

.server-list dt {
  color: var(--muted);
  font-weight: 700;
}

.server-list dd {
  margin: 0;
}

.online {
  color: var(--green);
  font-weight: 700;
}

.checking,
.partial {
  color: #9a6a19;
  font-weight: 700;
}

.offline {
  color: var(--red);
  font-weight: 700;
}

.content-box {
  padding: 22px;
}

.notice {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-weight: 700;
}

.notice.success {
  color: #245f2e;
  background: #edf7ee;
  border-color: #bdd9c1;
}

.notice.error {
  color: #8a2c20;
  background: #f8e9e5;
  border-color: #ddb9b0;
}

.content-box h1 {
  margin-bottom: 10px;
  font-size: 30px;
}

.content-box h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.lead {
  color: #3d3932;
  font-size: 15px;
}

.feature-row,
.link-grid,
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.feature-row section,
.link-card,
.download-card {
  padding: 14px;
  background: #fbf7ed;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.feature-row h2,
.link-card h2,
.download-card h2 {
  margin-bottom: 6px;
  font-size: 18px;
}

.feature-row p,
.link-card p,
.download-card p,
.split-news p {
  margin: 0;
  color: var(--muted);
}

.qq-download-icon {
  width: 24px;
  height: 32px;
  object-fit: contain;
}

.split-news {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 22px;
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list li {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dotted var(--line);
}

.news-list time {
  color: var(--red);
  font-weight: 700;
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.image-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.text-list {
  margin: 0;
  padding-left: 20px;
}

.text-list li {
  margin: 8px 0;
}

.plain-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.plain-table th,
.plain-table td {
  padding: 10px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.plain-table th {
  width: 138px;
  background: #f2eadb;
}

.data-table {
  width: 100%;
  overflow-x: auto;
  margin-top: 18px;
}

.data-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fffefb;
}

.data-table th,
.data-table td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: #2c261d;
  background: #f2eadb;
  font-weight: 700;
  white-space: nowrap;
}

.admin-donation-table table {
  min-width: 980px;
}

.admin-donation-table td {
  white-space: nowrap;
}

.order-time-cell {
  min-width: 190px;
}

.order-time-cell span {
  display: block;
  margin-bottom: 4px;
}

.order-action-cell {
  min-width: 150px;
}

.order-action-cell form {
  margin: 0;
}

.order-action-cell button {
  width: auto;
  min-width: 128px;
  padding: 7px 10px;
}

.table-box {
  width: 100%;
  max-width: 1040px;
}

.account-table-box {
  max-width: 860px;
}

.password-change {
  min-width: 220px;
}

.password-change summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  color: #fff;
  background: var(--nav-light);
  border: 1px solid var(--nav);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.password-change summary::-webkit-details-marker {
  display: none;
}

.password-change summary:hover {
  background: var(--nav-dark);
  border-color: var(--nav-dark);
}

.compact-form {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.compact-form label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.compact-form input {
  width: 100%;
  height: 34px;
  padding: 5px 8px;
  border: 1px solid #cfc4ad;
  background: #fffefb;
}

.compact-form button {
  min-height: 34px;
  color: #fff;
  background: var(--nav-light);
  border: 1px solid var(--nav);
  cursor: pointer;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.wide-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wide-form label,
.wide-form .form-field {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-weight: 700;
}

.wide-form input,
.wide-form select,
.wide-form textarea {
  width: 100%;
  padding: 7px 9px;
  border: 1px solid #cfc4ad;
  background: #fffefb;
}

.wide-form textarea {
  min-height: 150px;
  resize: vertical;
}

.wide-form .full-field {
  grid-column: 1 / -1;
}

.forgot-password-box {
  width: 100%;
  max-width: 860px;
  margin-right: auto;
  margin-left: 0;
}

.forgot-password-form {
  grid-template-columns: 1fr;
  gap: 14px;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.inline-action-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 10px;
  align-items: center;
}

.account-form .inline-action-field {
  grid-template-columns: minmax(0, 1fr) 124px;
  gap: 6px;
}

.account-form .inline-action-field button {
  min-height: 34px;
  padding: 0 6px;
  font-size: 12px;
  line-height: 1.2;
}

.wide-form button {
  align-self: end;
  min-height: 38px;
  color: #fff;
  background: var(--nav-light);
  border: 1px solid var(--nav);
  cursor: pointer;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 12px;
  padding: 0 18px;
  color: #fff;
  background: var(--nav-light);
  border: 1px solid var(--nav);
  border-radius: 4px;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.secondary-link {
  align-self: end;
  min-height: 38px;
  margin-top: 0;
}

.account-form button:hover,
.wide-form button:hover,
.compact-form button:hover,
.button-link:hover {
  color: #fff;
  background: var(--nav-dark);
  border-color: var(--nav-dark);
  text-decoration: none;
}

.button-link.qq-download-link {
  gap: 8px;
  min-height: 42px;
  padding-right: 14px;
  padding-left: 14px;
  background: #2f92d8;
  border-color: #237bbe;
}

.button-link.qq-download-link:hover,
.button-link.qq-download-link:focus-visible {
  background: #237bbe;
  border-color: #1f6ba5;
}

.donate-entry {
  display: grid;
  justify-items: start;
  gap: 14px;
  max-width: 860px;
  min-height: 170px;
}

.donate-main-button {
  min-width: 140px;
  margin-top: 6px;
}

.donate-product-box {
  max-width: 1100px;
}

.donate-payment-box {
  max-width: 760px;
}

.donate-product {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 16px;
}

.donate-product-art {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.donate-product-art img {
  display: block;
  width: 100%;
  max-width: 296px;
  height: auto;
  object-fit: contain;
}

.donate-form {
  grid-template-columns: 1fr 1fr;
  max-width: 600px;
}

.donate-payment-form {
  grid-template-columns: 1fr;
  max-width: 520px;
}

.donate-product-heading {
  grid-column: 1 / -1;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.donate-product-heading h2 {
  margin-bottom: 4px;
}

.donate-product-heading p {
  margin: 0;
  color: var(--muted);
}

.donate-total {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-weight: 400;
}

.donate-total strong {
  color: #d52b1e;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
}

.donate-summary {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  background: #fffefb;
  border: 1px solid var(--line);
}

.donate-summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.donate-summary span {
  color: var(--muted);
}

.donate-summary strong {
  font-weight: 700;
}

.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wide-form .payment-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  color: #3f3a32;
  background: #fffefb;
  border: 1px solid #cfc4ad;
  cursor: pointer;
  font-weight: 700;
}

.wide-form .payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wide-form .payment-option:has(input:checked) {
  border-color: #3f7fc6;
  box-shadow: inset 0 0 0 1px #3f7fc6;
}

.payment-icon {
  width: 26px;
  height: 26px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.donate-qr {
  display: grid;
  justify-items: start;
  padding-top: 4px;
}

.donate-qr img {
  width: 220px;
  max-width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid var(--line);
}

.donate-qr img[hidden] {
  display: none;
}

.donate-note {
  margin: 0;
  color: #2d2d2d;
  font-weight: 400;
}

.donate-pay-highlight {
  color: #e1281d;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
}

.donate-confirm-note {
  color: #2d2d2d;
  line-height: 1.6;
}

.site-footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  color: #e9fffb;
  background: var(--nav-dark);
  border-top: 1px solid #063f40;
  font-size: 13px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: 320px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(38, 34, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 32, 18, 0.42);
}

.dialog-overlay[hidden] {
  display: none;
}

.dialog-box {
  width: min(420px, 100%);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.dialog-box h2 {
  margin: 0;
  padding: 12px 16px;
  color: #fff;
  background: var(--nav-dark);
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  font-size: 18px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.dialog-box p {
  margin: 0;
  padding: 20px 18px;
  color: #302b24;
  font-size: 15px;
}

.dialog-box.error p {
  color: var(--red);
  font-weight: 700;
}

.dialog-box.success p {
  color: var(--green);
  font-weight: 700;
}

.dialog-box button {
  display: block;
  width: calc(100% - 36px);
  min-height: 38px;
  margin: 0 18px 18px;
  color: #fff;
  background: var(--nav-light);
  border: 1px solid var(--nav);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.dialog-box button:hover,
.dialog-box button:focus-visible {
  background: var(--nav-dark);
  border-color: var(--nav-dark);
}

  @media (max-width: 980px) {
  .page-shell {
    display: block;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .masthead {
    height: 300px;
  }

  .site-logo {
    width: min(340px, 76%);
    height: 104px;
  }

  .page-nav {
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    border-radius: 0;
  }

  .page-nav::before {
    flex: 1 1 100%;
    margin: 0;
    padding: 8px 12px;
    background: var(--nav-dark);
    border-bottom: 0;
  }

  .page-nav a {
    flex: 1 1 33.333%;
    justify-content: center;
    min-width: 0;
    min-height: 42px;
    padding: 0 10px;
  }

  .site-body {
    display: block;
  }

  .sidebar,
  .content {
    margin: 14px;
  }

  .feature-row,
  .link-grid,
  .download-grid,
  .split-news,
  .image-strip,
  .wide-form {
    grid-template-columns: 1fr;
  }

  .inline-action-field {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 13px;
  }

  .masthead {
    height: 230px;
  }

  .site-logo {
    width: min(280px, 80%);
    height: 84px;
  }

  .page-nav a {
    flex-basis: 50%;
    padding: 0 10px;
  }

  .content-box {
    padding: 16px;
  }

  .content-box h1 {
    font-size: 24px;
  }

  .news-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
