.tonon-theme { --tonon-body: Arial, sans-serif; --tonon-surface: #1a2328; --tonon-text: #e9eef0; --tonon-border: #425159; background: #11181c; color: #e9eef0; }
.tonon-theme *, .tonon-theme *::before, .tonon-theme *::after { letter-spacing: 0; }
.tonon-theme .tonon-shell { width: min(1240px, calc(100% - 48px)); }
.tonon-theme .tonon-header { background: #171f24; border-bottom: 1px solid #425159; box-shadow: none; }
.tonon-theme .tonon-header-inner { min-height: 90px; gap: 24px; padding-block: 12px; }
.tonon-theme .tonon-header .tonon-wordmark { width: 190px; height: auto; filter: none; }
.tonon-theme .tonon-brand-caption { font-size: 10px; color: #b6c1c7; }
.tonon-theme .tonon-nav { gap: 3px; }
.tonon-theme .tonon-nav > a { min-height: 44px; padding: 11px 12px; font: 500 14px/1.4 var(--tonon-body); border: 0; color: #dce4e8; border-radius: 4px; }
.tonon-theme .tonon-nav > a[aria-current="page"] { background: #29363d; color: #f2dfb7; box-shadow: none; }
.tonon-theme .tonon-nav-icon { width: 18px; height: 18px; font-size: 16px; flex-shrink: 0; }
.tonon-theme .tonon-nav > .tonon-account { background: #8c3045 !important; border: 1px solid #ad5364; box-shadow: none; min-height: 44px; padding: 11px 15px; }
.tonon-theme .tonon-nav > .tonon-account > span { font-size: 13px; }
.tonon-theme .tonon-explore { padding: 6px 0 10px; gap: 4px; border: 0; }
.tonon-theme .tonon-category > summary { min-height: 36px; padding: 8px 12px; font-size: 13px; }
.tonon-theme .tonon-category > summary:hover, .tonon-theme .tonon-category[open] > summary { background: #29363d; }
.tonon-theme .tonon-category ul, .tonon-theme .tonon-resources-dropdown { background: #1c282f; border: 1px solid #54636b; border-radius: 4px; box-shadow: 0 12px 24px #0005; }
.tonon-theme .tonon-category ul a { font-size: 14px; min-height: 40px; color: #e4eaed; }
.tonon-theme .tonon-page, .tonon-inner .tonon-page { padding-top: 24px; }
.tonon-home-intro { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 24px 0; border-bottom: 1px solid #425159; }
.tonon-home-intro h1 { margin: 8px 0 8px; color: #f1dfb7; font: 600 34px/1.25 var(--tonon-body); }
.tonon-home-subtitle { margin: 0; font-size: 16px; color: #becbd2; }
.tonon-opening-label { display: flex; align-items: center; gap: 8px; margin: 0; color: #e5c88f; font-size: 13px; }
.tonon-opening-label span { width: 7px; height: 7px; border-radius: 50%; background: #e5c88f; }
.tonon-home-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tonon-theme .tonon-portal-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 12px 20px; border: 1px solid #ad5364; border-radius: 4px; background: #8c3045; color: #fff; font: 600 14px/1.4 var(--tonon-body); text-decoration: none; white-space: normal; text-align: center; }
.tonon-theme .tonon-portal-button:hover { background: #a53d55; color: #fff; }
.tonon-theme .tonon-portal-button.is-secondary { background: #26353d; border-color: #61747e; color: #e8edf0; }
.tonon-home-status { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; padding: 16px 0; font-size: 13px; color: #b8c7ce; }
.tonon-home-status > span, .tonon-home-status > a { display: inline-flex; align-items: center; gap: 8px; }
.tonon-home-status a { color: #e3cc9f; text-decoration: none; }
.tonon-home-status .tonon-status-dot { width: 7px; height: 7px; }
.tonon-theme .tonon-section-heading { position: static; display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; min-height: 0; padding: 20px 0 16px; margin: 0 0 20px; border: 0; border-bottom: 1px solid #425159; border-radius: 0; background: transparent; }
.tonon-theme .tonon-section-heading::before, .tonon-theme .tonon-heading-rule { display: none; }
.tonon-theme .tonon-section-heading :is(h1, h2) { margin: 0; color: #f1dfb7; font: 600 28px/1.3 var(--tonon-body); text-shadow: none; overflow-wrap: anywhere; }
.tonon-theme .tonon-heading-archive { color: #c6d2d8; font-size: 13px; text-decoration: none; }
.tonon-theme .tonon-breadcrumb { margin: 0 0 12px; font-size: 13px; color: #b5c3ca; }
.tonon-theme #ContentColumn { max-width: 1200px; margin-inline: auto; }
.tonon-theme .Content .Box { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.tonon-theme .Content .BoxContent { padding: 24px; color: #e9eef0; background: #1a2328 !important; font: 16px/1.65 var(--tonon-body); overflow-x: auto; }
.tonon-home .Content .BoxContent { padding: 0; background: transparent !important; }
.tonon-theme .Content :is(h1, h2, h3, h4) { color: #f1dfb7; font-family: var(--tonon-body); }
.tonon-theme .Content h2 { font-size: 22px; }
.tonon-theme .Content h3 { font-size: 19px; }
.tonon-theme .Content h4 { font-size: 16px; }
.tonon-theme .Content p { line-height: 1.65; }
.tonon-theme .Content .TableContainer { border: 0; border-top: 1px solid #425159; border-radius: 0; box-shadow: none; margin: 24px 0; }
.tonon-theme .Content .CaptionContainer { padding: 14px 0; background: transparent !important; border-bottom: 1px solid #425159; }
.tonon-theme .Content .CaptionContainer .Text { font: 600 18px/1.4 var(--tonon-body); }
.tonon-theme .Content .BoxContent :is(td, th) { padding: 12px; color: #e9eef0; font: 15px/1.5 var(--tonon-body); vertical-align: middle; }
.tonon-theme .Content td:has(> .InnerTableContainer), .tonon-theme .Content td:has(> .TableContentContainer), .tonon-theme .Content td:has(> table) { padding: 0 !important; }
.tonon-theme .Content .TableContent { width: 100%; }
.tonon-theme .Content .TableContent > tbody > tr { background: #1a2328 !important; }
.tonon-theme .Content .TableContent > tbody > tr:nth-child(even) { background: #202d34 !important; }
.tonon-theme .Content :is(th, .LabelH, .LabelH td) { color: #bccbd2; background: #28363e !important; font-weight: 600; }
.tonon-theme .Content .TableContent :is(td, th) { border-color: #3b4a53; }
.tonon-theme .Content input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="image"]), .tonon-theme .Content select, .tonon-theme .Content textarea { font-size: 15px; border-radius: 4px; }
.tonon-theme .Content .BigButtonText, .tonon-theme .Content input[type="submit"], .tonon-theme .Content input[type="button"], .tonon-theme .Content .tonon-button { min-height: 44px; border-radius: 4px; background: #8c3045 !important; box-shadow: none; font: 600 14px/1.4 var(--tonon-body); text-shadow: none; }
.tonon-theme .Content .BigButton { margin: 0; }
.tonon-theme .Content :is(.InnerTableContainer, .TableContentContainer, .TableContentAndRightShadow) { margin: 0; padding: 0; }
.tonon-theme .Content .tonon-table-outfit { position: static !important; width: 64px; height: 64px; margin: 0 !important; object-fit: contain; image-rendering: pixelated; }
.tonon-portal-scroll, .tonon-table-scroll { max-width: 100%; overflow-x: auto; }
.tonon-portal-scroll > table { min-width: 540px; }
.tonon-guild-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #425159; }
.tonon-guild-actions form, .tonon-guild-actions p { margin: 0; }
.tonon-guild-maintenance summary { color: #bbcbd3; cursor: pointer; font-size: 13px; }
.tonon-theme .Content .tonon-account-card { border: 0; border-top: 1px solid #425159; border-radius: 0; background: transparent; box-shadow: none; }
.tonon-theme .Content .tonon-account-card > header { padding: 16px 0; background: transparent !important; border-color: #425159; }
.tonon-theme .Content .tonon-account-card-body { padding: 20px 0; }
.tonon-theme .Content .tonon-account-card h3, .tonon-theme .Content .tonon-account-welcome h2 { font-size: 20px; }
.tonon-theme .Content .tonon-login-card, .tonon-theme .Content .tonon-login-invitation { min-width: 0; }
.tonon-theme .Content .tonon-login-invitation h3 { font-size: 23px; }
.tonon-theme .Content .tonon-action-link { border-radius: 4px; background: #26353d; box-shadow: none; }
.tonon-theme .Content .tonon-online-summary { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); gap: 24px; margin: 0 0 24px; }
.tonon-theme .Content .tonon-online-summary section { min-width: 0; padding: 16px 0; border-bottom: 1px solid #425159; border-radius: 0; background: transparent; }
.tonon-theme .Content .tonon-online-summary h3 { margin: 0 0 8px; color: #b8c7ce; font-size: 13px; }
.tonon-theme .Content .tonon-online-summary p { margin: 0; font-size: 24px; }
.tonon-theme .Content .tonon-search-form, .tonon-theme .Content .tonon-filter-grid { padding: 16px; background: #223039; border: 0; border-radius: 4px; box-shadow: none; }
.tonon-theme .Content .tonon-empty { background: transparent !important; border: 0; font-size: 15px !important; }
.tonon-theme .Content .tonon-news-entry { padding: 22px 0; border-bottom: 1px solid #425159; }
.tonon-theme .Content .tonon-news-entry:first-child { padding-top: 4px; }
.tonon-theme .Content .tonon-news-entry h3 { margin: 10px 0; font: 600 21px/1.4 var(--tonon-body); }
.tonon-theme .Content .tonon-news-entry h3 a { color: #f1dfb7; text-decoration: none; font-weight: 600; }
.tonon-theme .Content .tonon-news-meta { display: flex; align-items: center; gap: 10px 20px; font-size: 12px; }
.tonon-theme .Content .tonon-news-meta time { background: transparent; border: 0; padding: 0; color: #adbec7; font-size: 12px; }
.tonon-news-category { color: #d7bc83; font-size: 12px; }
.tonon-news-summary { max-width: 86ch; color: #c3d0d7; margin: 0 0 10px; font-size: 15px; }
.tonon-theme .Content .tonon-news-read { display: inline-flex; align-items: center; gap: 8px; color: #c6d2d8; font-size: 13px; text-decoration: none; }
.tonon-news-body { max-width: 88ch; font-size: 16px; }
.tonon-archive-item { grid-template-columns: 110px minmax(0, 1fr) auto; padding: 18px 0; border-bottom: 1px solid #425159; }
.tonon-archive-item h3 { margin: 0; font-size: 17px !important; }
.tonon-download-main { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: start; gap: 24px; padding: 8px 0 28px; border-bottom: 1px solid #425159; }
.tonon-download-symbol { display: flex; justify-content: center; padding-top: 8px; color: #d7bc83; font-size: 48px; }
.tonon-download-main h2 { margin: 0 0 10px; }
.tonon-download-main p { margin: 0; color: #c3d0d7; }
.tonon-download-specs { display: flex; flex-wrap: wrap; gap: 20px 40px; margin: 24px 0; }
.tonon-download-specs dt { font-size: 12px; color: #afc0c9; }
.tonon-download-specs dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; }
.tonon-download-steps { padding: 24px 0; }
.tonon-download-steps h2 { margin: 0 0 18px; }
.tonon-download-steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding-left: 24px; }
.tonon-download-steps li { padding-left: 6px; }
.tonon-download-steps strong { font-size: 15px; }
.tonon-download-steps p { margin: 8px 0 0; color: #c3d0d7; font-size: 14px; }
.tonon-download-disclaimer { padding: 16px 0; border-top: 1px solid #425159; color: #aebfc8; font-size: 13px; }
.tonon-download-disclaimer summary { cursor: pointer; }
.tonon-theme #donate h2 { font-size: 22px; }
.tonon-theme #donate .BoxContent > p { max-width: 80ch; }
.tonon-theme .tonon-footer { margin-top: 40px; padding: 28px 0 0; border-top: 1px solid #425159; background: #171f24; }
.tonon-theme .tonon-footer::before { display: none; }
.tonon-theme .tonon-footer-grid { gap: 32px; padding-block: 0; }
.tonon-theme .tonon-footer-about .tonon-wordmark { width: 160px; filter: none; }
.tonon-theme .tonon-footer-about p { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: #aebfc8; }
.tonon-theme .tonon-footer h2 { font-size: 14px; }
.tonon-theme .tonon-footer a { font-size: 13px; }
.tonon-theme .tonon-footer-bottom { margin-top: 24px; padding: 16px 0; color: #aebfc8; font-size: 12px; }
@media (max-width: 1050px) {
  .tonon-theme .tonon-header-inner { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .tonon-theme .tonon-nav { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .tonon-theme .tonon-shell { width: calc(100% - 32px); }
  .tonon-theme .tonon-header-inner { justify-content: space-between; }
  .tonon-theme .tonon-nav { justify-content: stretch; }
  .tonon-theme .tonon-nav > a { font-size: 14px; }
  .tonon-theme .tonon-menu-toggle { width: 44px; height: 44px; padding: 0; }
  .tonon-theme .tonon-explore { flex-wrap: wrap; }
  .tonon-home-intro { align-items: flex-start; flex-direction: column; gap: 20px; }
  .tonon-home-intro h1 { font-size: 30px; }
  .tonon-home-actions { width: 100%; }
  .tonon-home-actions > a { flex: 1; }
  .tonon-home-status { gap: 12px 20px; }
  .tonon-theme .tonon-section-heading :is(h1, h2) { font-size: 24px; }
  .tonon-theme .Content .BoxContent { padding: 20px 16px; }
  .tonon-home .Content .BoxContent { padding: 0; }
  .tonon-theme .Content .tonon-online-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tonon-theme .Content .tonon-online-summary section:last-child { grid-column: 1 / -1; }
  .tonon-archive-item { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tonon-download-main { grid-template-columns: minmax(0, 1fr); }
  .tonon-download-symbol { display: none; }
  .tonon-download-steps ol { grid-template-columns: minmax(0, 1fr); }
  .tonon-theme .tonon-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 420px) {
  .tonon-home-actions { flex-direction: column; align-items: stretch; }
  .tonon-theme .tonon-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .tonon-theme .Content .tonon-news-entry h3 { font-size: 19px; }
}
