.terms-page { background: radial-gradient(ellipse at 50% 35%, #16252b66, transparent 65%), #071116; }
.terms-hero { position: relative; padding: 24px 0 30px; border-bottom: 1px solid #967337;
  background: linear-gradient(90deg, #030c12eb, #0610198c 54%, #06101930),
    linear-gradient(0deg, #071116d9, transparent 75%), url("artwork/news-citadel-v1.c97432c72dc5.png") center 44% / cover; }
.terms-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; color: #b5c0c1; margin-bottom: 24px; }
.terms-breadcrumb a { color: #cbbb96; }.terms-breadcrumb a:hover { color: #ffe1a0; }
.terms-hero .eyebrow { font-size: 10px; letter-spacing: .2em; color: #d6b16c; }
.terms-hero h1 { margin-top: 12px; font-size: clamp(36px, 4vw, 54px); color: #ffe7aa;
  text-shadow: 0 2px 18px #000b; }
.terms-intro { color: #d1d7d6; margin: 15px 0 20px; max-width: 600px; line-height: 1.9; font-size: 14px; }
.terms-draft-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px;
  border: 1px solid #a783428c; border-radius: 3px; background: #1c1b13b3; color: #e9c479; font-size: 11px; }
.terms-draft-badge .ui-icon { width: 14px; height: 14px; }
.terms-shell { display: grid; grid-template-columns: 178px minmax(0, 1fr) 240px; align-items: start;
  gap: 20px; padding-block: 28px 48px; }
.terms-shell > * { min-width: 0; }
.terms-sidebar { align-self: stretch; }
.terms-page .ornate-panel { background: linear-gradient(135deg, #112129ed, #071117f5); }
.terms-contents { position: sticky; top: 92px; padding: 0; }
.terms-contents summary { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 20px 16px; color: #efcf8c; font: 600 17px var(--serif); cursor: pointer; list-style: none; }
.terms-contents summary::-webkit-details-marker { display: none; }
.terms-page .terms-contents > summary::after { display: none; }
.terms-contents summary > span { font-family: sans-serif; font-size: 14px; color: #b79d6b; }
.terms-contents[open] summary > span { transform: rotate(180deg); }
.terms-contents nav { display: grid; padding: 0 8px 10px; }
.terms-contents nav a { display: flex; align-items: baseline; gap: 9px; padding: 13px 8px; font-size: 12px;
  color: #bec8c9; line-height: 1.7; border-top: 1px solid #71848a24; overflow-wrap: anywhere; }
.terms-contents nav a:hover { background: #b78d3515; color: #ffe0a0; }
.terms-nav-number { flex: 0 0 auto; white-space: nowrap; font-size: 10px; color: #c5a260;
  font-variant-numeric: tabular-nums; }
.terms-document { padding: 25px 28px 0; }
.terms-document-heading { display: flex; align-items: center; gap: 10px; padding-bottom: 20px;
  border-bottom: 1px solid #a78b492e; color: #ebcb88; }
.terms-document-heading > .ui-icon { width: 21px; height: 21px; }
.terms-document-heading h2 { font-size: 24px; color: #f4d99c; }
.terms-review-note { display: flex; gap: 12px; padding: 16px; margin-top: 22px; border-left: 2px solid #bc914b;
  background: linear-gradient(90deg, #ad7d2320, #7e632a08); }
.terms-review-note > .ui-icon { width: 18px; height: 18px; color: #e3bc72; flex: 0 0 auto; margin-top: 3px; }
.terms-review-note strong { display: block; color: #efcc84; font-size: 12px; font-weight: 600; }
.terms-review-note p { color: #b8bdb5; font-size: 12px; line-height: 1.9; margin-top: 7px; }
.terms-sections section { padding: 27px 0; border-bottom: 1px solid #52616a3d; scroll-margin-top: 100px; }
.terms-sections section:last-child { border-bottom: 0; }
.terms-sections header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.terms-section-number { color: #c49b52; font: 400 22px var(--serif); font-variant-numeric: tabular-nums; }
.terms-sections h2 { color: #eddbb1; font-size: 21px; line-height: 1.6; overflow-wrap: anywhere; }
.terms-sections p { color: #bdc8ca; font-size: 14px; line-height: 2.05; overflow-wrap: anywhere; }
.terms-document-footer { display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  justify-content: space-between; border-top: 1px solid #a78b492e; padding: 19px 0; font-size: 11px; }
.terms-document-footer > span { color: #8e9fa5; }.terms-document-footer a { color: #d5b87a; }
.terms-document-footer a:hover { text-decoration: underline; }
.terms-related { display: grid; gap: 16px; }
.terms-related section, .terms-policy-links { padding: 22px 19px; }
.terms-related h2 { font-size: 20px; color: #efcf8d; line-height: 1.5; }
.terms-related p { color: #9fb1b8; font-size: 12px; line-height: 1.9; margin-top: 12px; }
.terms-card-icon { display: inline-flex; padding: 12px; border: 1px solid #98763e66; border-radius: 50%;
  background: radial-gradient(circle, #b58d3326, transparent); color: #e8c177; margin-bottom: 15px; }
.terms-card-icon .ui-icon { width: 27px; height: 27px; }
.terms-review-status { display: flex; align-items: center; gap: 7px; color: #d2b477; font-size: 10px;
  border-top: 1px solid #6b7d872e; padding-top: 17px; margin-top: 19px; }
.terms-review-status .ui-icon { width: 14px; height: 14px; }
.terms-policy-links h2 { margin-bottom: 9px; }
.terms-policy-links a { display: flex; align-items: center; gap: 10px; color: #c1cccf; font-size: 12px;
  padding: 15px 0; border-bottom: 1px solid #52616a3d; }
.terms-policy-links a:last-child { border-bottom: 0; padding-bottom: 0; }
.terms-policy-links a > .ui-icon { color: #c8ab72; width: 17px; height: 17px; }
.terms-policy-links a > span:last-child { margin-left: auto; font-size: 18px; color: #c8ab72; }
.terms-policy-links a:hover { color: #ffe0a0; }
.terms-help > .ui-icon { color: #d1ae6b; width: 24px; height: 24px; margin-bottom: 12px; }
.terms-help .button { display: flex; justify-content: space-between; margin-top: 20px; width: 100%;
  padding: 12px 14px; min-width: 0; font-size: 12px; }
.terms-page a:focus-visible, .terms-contents summary:focus-visible { outline: 2px solid #f0ce83; outline-offset: 3px; }
.page-terms .site-footer, .page-privacy .site-footer, .page-refunds .site-footer { margin-top: 0; }
.terms-version { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 17px;
  color: #b9c4c8; font-size: 11px; line-height: 1.8; }
.terms-operator { display: grid; gap: 12px; padding: 20px 0; border-bottom: 1px solid #52616a3d;
  font-size: 13px; line-height: 1.8; }
.terms-operator > div { display: grid; grid-template-columns: minmax(100px, 1fr) 2fr; gap: 12px; }
.terms-operator dt { color: #bdc6c9; }.terms-operator dd { color: #eddbb1; margin: 0; overflow-wrap: anywhere; }
.terms-page .terms-contact, .terms-operator a { color: #f2d18c; overflow-wrap: anywhere; }
.terms-contact { display: block; margin-top: 14px; font-size: 12px; line-height: 1.8; }
.terms-supplement { padding: 24px 0; border-top: 1px solid #52616a3d; }
.terms-supplement h2 { color: #eddbb1; font-size: 21px; line-height: 1.6; }
.terms-supplement p { font-size: 13px; color: #bdc8ca; line-height: 1.9; margin-top: 13px; }
.terms-storage-wrap { overflow-x: auto; margin-top: 18px; }
.terms-storage { border-collapse: collapse; width: 100%; font-size: 12px; line-height: 1.8; }
.terms-storage th, .terms-storage td { text-align: left; padding: 12px 10px; border: 1px solid #52616a60;
  overflow-wrap: anywhere; vertical-align: top; min-width: 110px; }
.terms-storage thead th { color: #eed8a3; background: #94713822; }.terms-storage tbody th { color: #d0bc91; }
.terms-storage td { color: #bccacf; }
.terms-mail-template { margin-top: 18px; border: 1px solid #52616a60; padding: 13px 15px; }
.terms-mail-template summary, .terms-pending summary { cursor: pointer; color: #edcb88; font-size: 12px; line-height: 1.8; }
.terms-mail-template pre { margin: 15px 0 2px; font: 12px/2 var(--sans); white-space: pre-wrap;
  overflow-wrap: anywhere; color: #bdc8ca; }
.terms-mail-action { margin-top: 18px; max-width: 100%; white-space: normal; }
.terms-references { padding-left: 18px; display: grid; gap: 12px; margin-top: 18px; color: #b49a66; }
.terms-references a { color: #dfc78f; font-size: 12px; overflow-wrap: anywhere; line-height: 1.8; }
.terms-references a:hover, .terms-contact:hover, .terms-operator a:hover { text-decoration: underline; }
.terms-feature-status dl { margin-top: 16px; display: grid; gap: 15px; font-size: 12px; line-height: 1.8; }
.terms-feature-status dd { margin: 4px 0 0; color: #e2c789; }.terms-feature-status dt { color: #c1ced2; }
.terms-pending { margin-top: 16px; border-top: 1px solid #52616a3d; padding-top: 15px; }
.terms-pending ul { padding-left: 17px; display: grid; gap: 9px; color: #aebfc5; font-size: 12px;
  line-height: 1.8; margin-top: 13px; }
.terms-page summary:focus-visible, .terms-storage-wrap:focus-visible { outline: 2px solid #f0ce83; outline-offset: 3px; }
@media (min-width: 701px) {
  .terms-contents nav { max-height: calc(100dvh - 190px); overflow-y: auto; scrollbar-color: #886631 #111f27; }
}
@media (max-width: 1150px) {
  .terms-shell { grid-template-columns: 168px minmax(0, 1fr); gap: 18px; }
  .terms-related { grid-column: 2; grid-template-columns: 1fr 1fr; }
  .terms-review-card { grid-column: 1 / -1; }
  .terms-document { padding-inline: 24px; }.terms-sidebar { align-self: stretch; grid-row: span 2; }
}
@media (max-width: 700px) {
  .terms-shell { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 20px 30px; }
  .terms-sidebar { grid-row: auto; }.terms-contents { position: relative; top: auto; }
  .terms-contents summary { padding: 16px; font-size: 17px; }
  .terms-contents nav { grid-template-columns: 1fr 1fr; gap: 0 10px; padding-inline: 12px; }
  .terms-contents nav a { padding-block: 11px; }
  .terms-related { grid-column: auto; }.terms-related section, .terms-policy-links { padding: 19px 17px; }
  .terms-document { padding: 22px 20px 0; }.terms-document-heading h2 { font-size: 23px; }
  .terms-hero { padding: 20px 0 25px; background-position: center, center, 59% center; }
  .terms-breadcrumb { margin-bottom: 23px; }.terms-hero h1 { font-size: 38px; }
  .terms-intro { font-size: 13px; margin-top: 13px; }.terms-sections h2 { font-size: 20px; }
  .terms-sections p { font-size: 14px; line-height: 1.95; }.terms-review-note { padding: 14px 12px; gap: 10px; }
  .terms-sections section { padding-block: 23px; scroll-margin-top: 90px; }
  .terms-review-card { grid-column: auto; }
  .terms-operator > div { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .terms-version { flex-direction: column; gap: 5px; }
}
@media (max-width: 420px) {
  .terms-related { grid-template-columns: minmax(0, 1fr); }.terms-hero .eyebrow { font-size: 9px; }
  .terms-document { padding-inline: 17px; }.terms-sections header { gap: 10px; }
}
