/* TONON OT / refined fantasy interface. Loaded after the legacy theme bridge. */
@font-face {
  font-family: 'Tonon Sans';
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Tonon Display';
  src: url('../fonts/marcellus-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
body.tonon-theme {
  --tonon-body: 'Tonon Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tonon-heading: 'Tonon Display', Georgia, serif;
  --tonon-bg: #10161b;
  --tonon-surface: #1a2228;
  --tonon-raised: #222b31;
  --tonon-text: #e0e4e5;
  --tonon-muted: #a7b1b8;
  --tonon-gold: #c1a16c;
  --tonon-gold-bright: #e8d4ac;
  --tonon-border: #635c4d;
  --tonon-line: #ffffff12;
  --tonon-radius: 8px;
  margin: 0;
  color: var(--tonon-text);
  background-color: var(--tonon-bg);
  background-image: linear-gradient(180deg, #0d13182b, #0f151a69 280px, #10161be8 850px, #10161b 1300px), url('../images/tononot/fortress-desktop.webp');
  background-position: center top;
  background-size: 100% 1400px, max(1800px, 100vw) auto;
  background-repeat: no-repeat;
  background-attachment: scroll;
  font: 14px/1.65 var(--tonon-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scrollbar-color: #766549 #141c22;
}
.tonon-theme .Content {
  --tonon-text: #e0e4e5;
  --tonon-muted: #a7b1b8;
  --tonon-gold-bright: #e8d4ac;
  --tonon-surface: #1a2228;
  --tonon-line: #ffffff12;
}
.tonon-theme ::selection { background: #a58a5866; color: #fff8e8; }
.tonon-theme .tonon-shell { width: min(1320px, calc(100% - 64px)); }
.tonon-theme :focus-visible { outline: 2px solid #e3c692; outline-offset: 4px; }
.tonon-theme a { transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
.tonon-theme a:hover { text-decoration: none; }
.tonon-theme .tonon-header { isolation: isolate; }
.tonon-theme .tonon-header-inner { min-height: 226px; padding: 32px 0 38px; }
.tonon-theme .tonon-header .tonon-wordmark { width: 360px; height: auto; filter: drop-shadow(0 8px 16px #000a); }
.tonon-theme .tonon-brand { position: relative; transition: filter .25s ease; }
.tonon-theme .tonon-brand:hover { filter: brightness(1.1); }
.tonon-theme .tonon-brand-caption { display: flex; align-items: center; gap: 13px; margin-top: 0; font: 600 9px/1.5 var(--tonon-body); letter-spacing: .34em; color: #ede2cd; text-shadow: 0 2px 8px #000; }
.tonon-brand-caption::before, .tonon-brand-caption::after { content: ''; width: 28px; height: 1px; background: #d5b78088; }
.tonon-theme .tonon-header-inner::after { content: ''; position: absolute; bottom: 4px; left: 50%; width: min(520px, 80%); height: 20px; transform: translateX(-50%); background: url('../images/tononot/portal-ornament.svg') center / contain no-repeat; opacity: .9; pointer-events: none; }
.tonon-theme .tonon-header-inner::before { content: ''; position: absolute; z-index: -1; left: 36%; top: 130px; width: 2px; height: 2px; border-radius: 50%; background: #eac88c; box-shadow: 130px -80px 0 #eac88c, 300px -10px 1px #eac88c, 390px -100px 0 #eac88c, -150px -60px 0 #eac88c, 80px 40px 1px #eac88c, -260px 15px 0 #eac88c; animation: tonon-motes 9s ease-in-out infinite; pointer-events: none; }
.tonon-theme .tonon-reference-layout { grid-template-columns: 216px minmax(0, 1fr) 216px; gap: 22px; padding-top: 10px; padding-bottom: 48px; }
.tonon-theme .tonon-left-sidebar, .tonon-theme .tonon-right-sidebar { min-width: 0; }

/* One frame treatment for the menu, widgets and editorial sections. */
.tonon-theme .tonon-side-section,
.tonon-theme .tonon-side-group,
.tonon-theme .tonon-news-home > section {
  position: relative;
  border: 1px solid transparent;
  border-radius: var(--tonon-radius);
  background: linear-gradient(140deg, #222b31, #171f25 70%) padding-box, linear-gradient(135deg, #a68c5d99, #52606a66 36%, #3a444b 70%, #a68c5d66) border-box;
  box-shadow: inset 0 1px 0 #ffffff07, 0 8px 24px #0004, 0 1px 3px #0005;
}
.tonon-theme .tonon-side-section { margin-bottom: 18px; }
.tonon-theme .tonon-side-section::after,
.tonon-theme .tonon-news-home > section::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 4px;
  pointer-events: none;
  background:
    linear-gradient(#d6b77b99, #d6b77b99) left top / 9px 1px,
    linear-gradient(#d6b77b99, #d6b77b99) left top / 1px 9px,
    linear-gradient(#d6b77b99, #d6b77b99) right top / 9px 1px,
    linear-gradient(#d6b77b99, #d6b77b99) right top / 1px 9px,
    linear-gradient(#d6b77b44, #d6b77b44) left bottom / 6px 1px,
    linear-gradient(#d6b77b44, #d6b77b44) left bottom / 1px 6px,
    linear-gradient(#d6b77b44, #d6b77b44) right bottom / 6px 1px,
    linear-gradient(#d6b77b44, #d6b77b44) right bottom / 1px 6px;
  background-repeat: no-repeat;
}
.tonon-theme .tonon-strip-title,
.tonon-theme .tonon-side-group > summary,
.tonon-theme .tonon-section-heading,
.tonon-theme .Content .tonon-news-home .tonon-strip-title {
  position: relative;
  min-height: 48px;
  padding: 13px 16px;
  margin: 0;
  gap: 10px;
  color: #ead8b5;
  border: 0;
  border-bottom: 1px solid #b69a683d;
  border-radius: 7px 7px 0 0;
  background: radial-gradient(ellipse at 40% 0, #9c4c5330, transparent 80%), linear-gradient(115deg, #462731, #2c222b);
  box-shadow: inset 0 1px 0 #ffffff0c, inset 0 -1px 0 #0003;
  font: 400 14px/1.4 var(--tonon-heading);
  text-transform: none;
  letter-spacing: .025em;
  text-shadow: 0 1px 2px #0005;
}
.tonon-theme .tonon-strip-title > :is(i, svg) { width: 15px; height: 15px; color: #c3a575; font-size: 13px; flex-shrink: 0; }
.tonon-theme .tonon-side-actions { padding: 18px 15px; gap: 10px; }
.tonon-theme .tonon-side-group { margin-bottom: 10px; }
.tonon-theme .tonon-side-group > summary { min-height: 46px; padding: 13px 15px; border-bottom-color: transparent; border-radius: 7px; background: linear-gradient(120deg, #30343a, #232b32); color: #d9d6cd; font-size: 13px; }
.tonon-theme .tonon-side-group[open] > summary { border-bottom-color: #b69a6829; border-radius: 7px 7px 0 0; color: #ead8b5; background: linear-gradient(115deg, #483039, #292730); }
.tonon-theme .tonon-side-group > summary:hover { color: #f2e0bc; box-shadow: inset 0 1px #ffffff10, inset 3px 0 #c6a56a; }
.tonon-theme .tonon-side-group > summary > :is(i, svg) { width: 9px; color: #bba27c; }
.tonon-theme .tonon-side-group > ul { border: 0; border-radius: 0 0 7px 7px; background: transparent; padding: 7px 0; }
.tonon-theme .tonon-side-navigation a { position: relative; min-height: 38px; padding: 9px 15px; gap: 9px; color: #b8c2c9; font: 500 12px/1.5 var(--tonon-body); }
.tonon-theme .tonon-side-navigation a > :is(i, svg) { width: 7px; color: #8e816a; transition: transform .18s ease, color .18s ease; }
.tonon-theme .tonon-side-navigation a:hover, .tonon-theme .tonon-side-navigation a[aria-current] { background: linear-gradient(90deg, #c9a76714, transparent); color: #f0debc; }
.tonon-theme .tonon-side-navigation a:hover > :is(i, svg) { transform: translateX(2px); color: #e1bf80; }
.tonon-theme .tonon-side-navigation a[aria-current] { box-shadow: inset 2px 0 #c6a56a; }

/* Buttons: a clear hierarchy, tactile edges and a quiet highlight on hover. */
.tonon-theme .tonon-portal-button,
.tonon-theme .Content .tonon-portal-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid #ae7180;
  border-radius: 5px;
  background: linear-gradient(180deg, #98475b, #763147);
  box-shadow: inset 0 1px 0 #ffe3dc26, inset 0 -1px 0 #0003, 0 3px 7px #0003;
  color: #fff0ed;
  font: 600 12px/1.5 var(--tonon-body);
  letter-spacing: .01em;
  text-shadow: 0 1px 1px #0004;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.tonon-theme .tonon-portal-button::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 25%, #fff1 48%, transparent 70%); transform: translateX(-120%); pointer-events: none; transition: transform .6s ease; }
.tonon-theme .tonon-portal-button:hover { background: linear-gradient(180deg, #ab566a, #85394f); border-color: #d19b9e; box-shadow: inset 0 1px #ffe3dc33, 0 5px 14px #0005; transform: translateY(-1px); color: #fff; }
.tonon-theme .tonon-portal-button:hover::after { transform: translateX(120%); }
.tonon-theme .tonon-portal-button:active { transform: translateY(1px); }
.tonon-theme .tonon-portal-button.is-secondary { background: linear-gradient(180deg, #35414b, #28333d); border-color: #62717c; box-shadow: inset 0 1px #ffffff10, 0 2px 6px #0002; color: #e1e6e9; }
.tonon-theme .tonon-portal-button.is-secondary:hover { background: linear-gradient(180deg, #404f5a, #303e48); border-color: #89949b; }
.tonon-theme .tonon-side-actions .tonon-portal-button { min-height: 41px; padding: 10px; font-size: 11.5px; }
.tonon-theme .tonon-side-download { margin-bottom: 20px; min-height: 48px; padding: 12px 10px; border-color: #779881; background: linear-gradient(180deg, #3d6855, #2a4e41); color: #eff8f0; font-size: 11.5px; }
.tonon-theme .tonon-side-download:hover { background: linear-gradient(180deg, #4c7b65, #345e4e); border-color: #a4b99a; }

/* Center quick links and the live state. */
.tonon-theme .tonon-quickbar { min-height: 52px; justify-content: flex-start; gap: 6px 18px; padding: 10px 18px; margin-bottom: 20px; border: 1px solid #a68c5d66; border-radius: 7px; background: linear-gradient(110deg, #293038f5, #1a2229f5); box-shadow: inset 0 1px #ffffff09, 0 5px 16px #0003; font-size: 11px; }
.tonon-theme .tonon-quickbar a { min-height: 30px; color: #cbd2d7; font-weight: 500; gap: 7px; }
.tonon-theme .tonon-quickbar a:hover { color: #f2ddaf; }
.tonon-theme .tonon-quickbar a > :is(i, svg) { width: 12px; height: 12px; font-size: 12px; color: #c5a775; }
.tonon-theme .tonon-quick-status { margin-left: auto; padding-left: 16px; border-left: 1px solid #ffffff14; color: #bcc9c6; font-size: 10px; gap: 8px; }
.tonon-theme .tonon-status-dot { width: 6px; height: 6px; flex-basis: 6px; }
.tonon-theme .tonon-status-dot.is-online { background: #8bc8a3; box-shadow: 0 0 0 3px #8bc8a310, 0 0 12px #8bc8a32b; }

/* Editorial panels keep the same contents, with more deliberate typography. */
.tonon-theme .tonon-news-home > section { margin-bottom: 22px; }
.tonon-theme .Content .tonon-news-home .tonon-strip-title { min-height: 49px; padding: 15px 22px; font-size: 14px; }
.tonon-theme .tonon-updates { padding: 5px 0; background: transparent; border: 0; border-radius: 0 0 7px 7px; }
.tonon-theme .tonon-updates > li { border-color: #ffffff0a; background: transparent; }
.tonon-theme .tonon-updates > li:nth-child(even) { background: #ffffff02; }
.tonon-theme .tonon-update-row summary { min-height: 49px; grid-template-columns: 16px 72px minmax(0, 1fr) 10px; gap: 10px; padding: 12px 22px; color: #c4cbd0; font: 400 11px/1.55 var(--tonon-body); transition: background-color .18s ease; }
.tonon-theme .tonon-update-row summary:hover { background: #c9a7670b; color: #e9dcc5; }
.tonon-theme .tonon-update-row summary > :is(i, svg) { width: 12px; color: #bc9e6a; }
.tonon-theme .tonon-update-row summary > :is(i, svg):last-child { width: 8px; transition: transform .2s ease; }
.tonon-theme .tonon-update-row time { color: #a7b1ba; font: 400 10px/1.5 var(--tonon-body); font-variant-numeric: tabular-nums; }
.tonon-theme .tonon-update-row > p { padding: 2px 22px 14px 48px; font-size: 11px; }
.tonon-theme .tonon-update-row[open] summary { color: #e9dcc5; }
.tonon-theme .tonon-home-publication { padding: 28px 30px 24px; border: 0; border-radius: 0 0 7px 7px; background: radial-gradient(ellipse at 100% 0, #bb945d08, transparent 60%); }
.tonon-theme .Content .tonon-news-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; font: 500 10px/1.5 var(--tonon-body); }
.tonon-theme .Content .tonon-news-meta time { color: #a6b0b8; font-size: 10px; }
.tonon-theme .Content .tonon-news-category { padding: 4px 9px; border: 1px solid #b89b6238; border-radius: 3px; background: #b89b620a; color: #dec69a; font: 600 9px/1.5 var(--tonon-body); letter-spacing: .075em; text-transform: uppercase; }
.tonon-theme .Content .tonon-news-entry h3 { margin: 17px 0 20px; color: #f0e1c6; font: 400 clamp(25px, 2.25vw, 32px)/1.3 var(--tonon-heading); text-wrap: balance; }
.tonon-theme .Content .tonon-news-entry h3 a { font: inherit; color: inherit; }
.tonon-theme .Content .tonon-news-body { color: #c7cfd4; font: 400 14px/1.85 var(--tonon-body); }
.tonon-theme .Content .tonon-news-body p { margin-bottom: 18px; line-height: 1.85; }
.tonon-theme .Content .tonon-news-body strong { color: #e5e7e7; font-weight: 600; }
.tonon-theme .Content .tonon-news-body a { color: #e2c48c; text-decoration-color: #e2c48c66; text-underline-offset: 4px; }
.tonon-theme .Content .tonon-news-body :is(ul, ol) { padding-left: 20px; }
.tonon-theme .Content .tonon-news-body li { padding-left: 4px; margin-block: 8px; }
.tonon-theme .tonon-news-pagination { gap: 12px; margin-top: 28px; padding-top: 20px; border-color: #ffffff12; }
.tonon-theme .tonon-news-pagination > a,
.tonon-theme .tonon-news-pagination > span[aria-disabled] { min-height: 37px; padding: 9px 12px; gap: 8px; border: 1px solid #61707a66; border-radius: 4px; background: #ffffff04; color: #c4cfd6; font: 500 10px/1.5 var(--tonon-body); text-decoration: none; box-shadow: inset 0 1px #ffffff05; }
.tonon-theme .tonon-news-pagination > a:hover { border-color: #c7a66c88; color: #efddb7; background: #c7a66c0a; }
.tonon-theme .tonon-news-pagination > span[aria-disabled] { border-color: #ffffff09; background: transparent; color: #85929c; }
.tonon-theme .tonon-news-pagination > span[aria-live] { font: 500 10px/1.5 var(--tonon-body); color: #a5b1bb; }
.tonon-theme .tonon-news-archive-link { margin-top: 20px; color: #bca986; font: 500 10px/1.5 var(--tonon-body); text-decoration: none; }
.tonon-theme .tonon-news-archive-link:hover { color: #f0d6a3; }

/* Sidebar illustrations use local vectors, not heavy looping media. */
.tonon-theme .tonon-side-content { padding: 20px 16px 22px; color: #bac5cc; font: 400 11px/1.65 var(--tonon-body); }
.tonon-theme .tonon-side-content h3 { margin: 0 0 18px; color: #ead8b5; font: 400 21px/1.35 var(--tonon-heading); }
.tonon-theme .tonon-side-donation .tonon-side-content { padding-top: 12px; background: radial-gradient(ellipse at 50% 20%, #bb945d0a, transparent 75%); }
.tonon-theme .tonon-side-donation .tonon-side-content::before { content: ''; display: block; width: 112px; height: 96px; margin: 0 auto 0; background: url('../images/tononot/coin-medallion.svg') center / contain no-repeat; }
.tonon-theme .tonon-side-donation .tonon-side-symbol { display: none; }
.tonon-theme .tonon-side-content .tonon-portal-button { min-height: 39px; padding: 10px; font-size: 10.5px; }
.tonon-theme .tonon-side-community .tonon-side-symbol { width: 44px; height: 44px; margin: 0 auto 4px; padding: 8px; border: 1px solid #9ab2d340; border-radius: 12px; background: #829cc410; color: #b5c6e2; font-size: 24px; }
.tonon-theme .tonon-side-community .tonon-portal-button { background: linear-gradient(180deg, #435775, #31435e); border-color: #7386a2; }
.tonon-theme .tonon-side-community .tonon-portal-button:hover { background: linear-gradient(180deg, #536b8f, #3c5475); border-color: #9bafca; }
.tonon-theme .tonon-side-content .tonon-opening-label { margin: 0 0 10px; color: #e8d1a8; font: 400 20px/1.4 var(--tonon-heading); }
.tonon-theme .tonon-side-note { font-size: 11px; color: #acb8bf; line-height: 1.7; }
.tonon-theme .tonon-side-content > a:not(.tonon-portal-button) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; color: #d0bb94; font-size: 10px; }
.tonon-theme .tonon-boosted-pair { gap: 12px; padding: 20px 16px; }
.tonon-theme .tonon-boosted-pair img { width: 72px; height: 72px; margin-bottom: 12px; border: 1px solid #9c875633; border-radius: 5px; background: radial-gradient(ellipse at 50% 75%, #9e835e25, #0f171d); box-shadow: inset 0 1px #ffffff05, 0 3px 10px #0003; }
.tonon-theme .tonon-boosted-pair strong { color: #cbb182; font: 600 9px/1.5 var(--tonon-body); letter-spacing: .07em; }
.tonon-theme .tonon-boosted-pair span { color: #b6c1c8; font: 400 10px/1.5 var(--tonon-body); }
.tonon-theme .tonon-tool-content { padding: 14px; border: 0; border-radius: 0 0 7px 7px; background: transparent; }
.tonon-theme .tonon-tool-content .rank_text { font-size: 11px; }
.tonon-theme .tonon-left-sidebar > .tonon-side-resources { min-width: 0; }

/* Interior pages inherit the same frames, forms and readable data surfaces. */
.tonon-theme .tonon-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0 3px; background: transparent; color: #acb9c3; font: 400 10px/1.6 var(--tonon-body); }
.tonon-theme .tonon-breadcrumb a { color: #d6bd8e; }
.tonon-theme .tonon-section-heading { min-height: 53px; padding: 16px 23px; border: 1px solid #a68c5d66; border-bottom-color: #a68c5d44; }
.tonon-theme .tonon-section-heading :is(h1, h2) { color: #ead8b5; font: 400 18px/1.4 var(--tonon-heading); text-transform: none; }
.tonon-theme .Content .tonon-content-box { margin-bottom: 0; overflow: visible; }
.tonon-theme.tonon-inner .Content .tonon-content-box > .Border_3 { border: 1px solid #a68c5d55; border-top: 0; border-radius: 0 0 8px 8px; background: #1a2228; box-shadow: inset 0 1px #ffffff03, 0 10px 30px #0004; }
.tonon-theme .Content .BoxContent { padding: 26px 24px; border-bottom: 0; border-radius: 0 0 8px 8px; color: #d5dce1; background: #1a2228 !important; font: 400 13px/1.8 var(--tonon-body); }
.tonon-theme.tonon-home .Content .BoxContent { padding: 0; border-radius: 0; background: transparent !important; }
.tonon-theme .Content :is(h2, h3, h4) { font-family: var(--tonon-heading); font-weight: 400; color: #e8d4ac; }
.tonon-theme .Content p { line-height: 1.8; }
.tonon-theme .Content .TableContainer { margin: 22px 0; border: 1px solid #6d716a44; border-radius: 5px; background: #ffffff02; box-shadow: inset 0 1px #ffffff03; }
.tonon-theme .Content .CaptionContainer { padding: 13px 15px; background: linear-gradient(110deg, #30363c, #252e36) !important; border-bottom: 1px solid #ffffff0d; }
.tonon-theme .Content .CaptionContainer .Text { color: #ddc8a1; font: 400 16px/1.5 var(--tonon-heading); }
.tonon-theme .Content .BoxContent :is(td, th) { padding: 11px 12px; font: 400 12px/1.6 var(--tonon-body); color: #cbd5dc; }
.tonon-theme .Content .TableContent > tbody > tr { background: #1a2228 !important; }
.tonon-theme .Content .TableContent > tbody > tr:nth-child(even) { background: #ffffff03 !important; }
.tonon-theme .Content .TableContent > tbody > tr:hover { background: #c6a56a08 !important; }
.tonon-theme .Content :is(th, .LabelH, .LabelH td) { background: #2b343c !important; color: #dfd2ba; font-weight: 600; }
.tonon-theme .Content .TableContent :is(td, th) { border-color: #ffffff0b; }
.tonon-theme .tonon-profile-table-scroll { position: relative; }
.tonon-theme .Content input:not([type='hidden']):not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='button']):not([type='image']),
.tonon-theme .Content :is(select, textarea) { min-height: 44px; padding: 10px 12px; border: 1px solid #60717e80; border-radius: 5px; background: #111a21; color: #e4e9ec; box-shadow: inset 0 2px 4px #0003, 0 1px #ffffff04; font: 400 13px/1.5 var(--tonon-body); transition: border-color .2s, box-shadow .2s; }
.tonon-theme .Content :is(input, textarea)::placeholder { color: #8e9da7; opacity: 1; }
.tonon-theme .Content :is(input, select, textarea):focus-visible { border-color: #d6b77b; outline: 2px solid #d6b77b66; outline-offset: 2px; box-shadow: 0 0 0 3px #d6b77b14; }
.tonon-theme .Content :is(input[type='checkbox'], input[type='radio']) { accent-color: #ba8e73; }
.tonon-theme .Content .BigButtonText,
.tonon-theme .Content input[type='submit'],
.tonon-theme .Content input[type='button'],
.tonon-theme .Content .tonon-button {
  min-height: 42px; padding: 11px 18px; border: 1px solid #ae7180; border-radius: 5px;
  background: linear-gradient(180deg, #98475b, #763147) !important;
  color: #fff0ed; box-shadow: inset 0 1px #ffe3dc26, 0 3px 8px #0003;
  font: 600 12px/1.5 var(--tonon-body); text-shadow: none; letter-spacing: 0;
}
.tonon-theme .Content .BigButtonText:hover { background: linear-gradient(180deg, #ab566a, #85394f) !important; }
.tonon-theme .Content :is(.tonon-search-form, .tonon-filter-grid) { padding: 18px; border: 1px solid #ffffff0c; border-radius: 5px; background: #ffffff03; }
.tonon-theme .Content .tonon-account-card { border: 1px solid #ffffff12; border-radius: 5px; background: #ffffff02; }
.tonon-theme .Content .tonon-account-card > header { padding: 14px 16px; background: #ffffff03 !important; border-bottom: 1px solid #ffffff0c; }
.tonon-theme .Content .tonon-account-card-body { padding: 16px; }
.tonon-theme .Content .tonon-online-summary { gap: 12px; }
.tonon-theme .Content .tonon-online-summary section { padding: 14px; border: 1px solid #ffffff0c; border-radius: 5px; background: #ffffff02; }
.tonon-theme .Content .tonon-online-summary h3 { font: 500 10px/1.5 var(--tonon-body); }
.tonon-theme .Content .tonon-online-summary p { color: #ead8b5; font: 400 23px/1.5 var(--tonon-heading); }
.tonon-theme .Content .tonon-login-form { gap: 10px 20px; margin-top: 24px; }
.tonon-theme .Content .tonon-login-form > label { color: #bfc9d0; font: 500 12px/1.6 var(--tonon-body); }
.tonon-theme .Content .tonon-form-intro { margin: 0; color: #b3c0c9; font-size: 13px; }
.tonon-theme .Content .tonon-login-form > .tonon-remember { display: flex; gap: 8px; align-items: center; margin: 10px 0; color: #b2c0ca; font-size: 11px; }
.tonon-theme .Content .tonon-recovery-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid #ffffff0c; }
.tonon-theme .Content .tonon-recovery-form .BigButtonText { background: #ffffff04 !important; border-color: #65758177; color: #c3ced6; box-shadow: inset 0 1px #ffffff06; font-weight: 500; }
.tonon-theme .Content .tonon-bazaar-tabs { gap: 0 15px; border-color: #ffffff14; }
.tonon-theme .Content .tonon-bazaar-tabs a { color: #acbbc5; font-size: 11px; }
.tonon-theme .Content .tonon-bazaar-tabs a[aria-current] { color: #e5cc9f; border-color: #c1a16c; }
.tonon-theme .Content .tonon-bazaar-auction { padding: 18px; border: 1px solid #9b8e6744; border-radius: 6px; background: linear-gradient(135deg, #263139, #202930); box-shadow: inset 0 1px #ffffff05, 0 3px 12px #0002; }
.tonon-theme .Content .tonon-bazaar-auction > header, .tonon-theme .Content .tonon-bazaar-auction-actions { border-color: #ffffff10; }
.tonon-theme .Content .tonon-bazaar-auction h2 { font-family: var(--tonon-heading); font-weight: 400; }
.tonon-theme .Content .tonon-bazaar-empty { padding: 40px 16px; border: 1px dashed #a68c5d44; border-radius: 6px; background: radial-gradient(ellipse at 50% 0, #c1a16c08, transparent 80%); }
.tonon-theme .Content .tonon-bazaar-empty h2 { font-family: var(--tonon-heading); font-weight: 400; }
.tonon-theme .Content .tonon-bazaar-icon { border-color: #73828b77; background: linear-gradient(#35414b, #28333d); }
.tonon-theme .tonon-archive-item { padding: 20px 0; border-color: #ffffff12; }
.tonon-theme .tonon-download-specs { gap: 20px 32px; }
.tonon-theme .tonon-download-specs > div { padding-left: 14px; border-left: 1px solid #b99b6344; }
.tonon-theme .tonon-download-specs dt { font-size: 10px; color: #a6b4bd; }
.tonon-theme .tonon-download-specs dd { font-size: 13px; color: #ead8b5; }
.tonon-theme .tonon-download-steps strong { font-size: 12px; color: #d9d5ca; }
.tonon-theme .tonon-download-steps p { font-size: 12px; }

/* Footer and utilities finish the same material language. */
.tonon-theme .tonon-footer { position: relative; padding-top: 36px; border-top: 1px solid #a68c5d55; background: linear-gradient(180deg, #182027, #10161b); box-shadow: 0 -12px 40px #0002; }
.tonon-theme .tonon-footer::before { content: ''; display: block; position: absolute; top: -1px; left: 50%; width: min(520px, 80%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, #d0ac6a99, transparent); }
.tonon-theme .tonon-footer-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px 24px; }
.tonon-theme .tonon-footer-about { display: flex; align-items: center; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid #ffffff0b; }
.tonon-theme .tonon-footer-about .tonon-wordmark { width: 150px; height: auto; }
.tonon-theme .tonon-footer-about p { margin: 0; color: #a2b0ba; font: 400 11px/1.7 var(--tonon-body); }
.tonon-theme .tonon-footer nav h2 { margin-bottom: 16px; color: #d3be98; font: 400 13px/1.5 var(--tonon-heading); text-transform: none; }
.tonon-theme .tonon-footer li { margin-bottom: 9px; }
.tonon-theme .tonon-footer a { color: #a5b1bb; font: 400 11px/1.6 var(--tonon-body); }
.tonon-theme .tonon-footer a:hover { color: #e5cc9f; }
.tonon-theme .tonon-footer-bottom { margin-top: 30px; padding: 20px 0; border-color: #ffffff0c; color: #97a6b2; font: 400 10px/1.7 var(--tonon-body); }
.tonon-theme .tonon-back-top { width: 42px; height: 42px; border: 1px solid #a68c5d88; border-radius: 6px; background: #202a32f2; color: #e5cc9f; box-shadow: inset 0 1px #ffffff10, 0 5px 16px #0005; }

@keyframes tonon-motes { 0%, 100% { opacity: .15; transform: translateY(8px); } 50% { opacity: .6; transform: translateY(-12px); } }
@keyframes tonon-arrive { from { opacity: .5; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .tonon-theme .tonon-reference-layout > main { animation: tonon-arrive .45s ease-out both; }
  .tonon-theme .tonon-reference-layout > aside { animation: tonon-arrive .6s ease-out both; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .tonon-theme .tonon-shell { width: calc(100% - 40px); }
  .tonon-theme .tonon-reference-layout { grid-template-columns: 190px minmax(0, 1fr) 190px; gap: 16px; }
  .tonon-theme .tonon-strip-title { padding-inline: 13px; font-size: 12px; }
  .tonon-theme .tonon-quickbar { padding: 8px 12px; gap: 6px 12px; }
  .tonon-theme .tonon-quick-status { padding-left: 10px; font-size: 9px; }
  .tonon-theme .tonon-home-publication { padding: 24px; }
  .tonon-theme .tonon-update-row summary { padding-inline: 18px; }
}
@media (max-width: 1023px) {
  .tonon-theme .tonon-shell { width: min(820px, calc(100% - 40px)); }
  .tonon-theme .tonon-header-inner { min-height: 170px; padding: 22px 0 32px; }
  .tonon-theme .tonon-header .tonon-wordmark { width: 280px; }
  .tonon-theme .tonon-reference-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .tonon-theme .tonon-sidebar-toggle, .tonon-theme .tonon-mobile-account { display: flex; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid #b69a6877; border-radius: 6px; background: linear-gradient(#303a41e8, #182129f5); box-shadow: inset 0 1px #ffffff10, 0 3px 10px #0004; color: #e2cc9f; font-size: 16px; }
  .tonon-theme .tonon-sidebar-toggle:hover, .tonon-theme .tonon-mobile-account:hover { border-color: #e1bf80; background: #34404a; }
  .tonon-theme .tonon-left-sidebar { gap: 18px; }
  .tonon-theme .tonon-right-sidebar { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .tonon-theme .tonon-right-sidebar > section { margin-bottom: 0; }
  .tonon-theme .tonon-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body.tonon-theme { background-image: linear-gradient(180deg, #0d13182b, #10161bb3 350px, #10161b 700px), url('../images/tononot/fortress-mobile.webp'); background-size: 100% 760px, auto 740px; }
  .tonon-theme .tonon-shell { width: calc(100% - 28px); }
  .tonon-theme .tonon-header-inner { min-height: 150px; padding: 20px 0 30px; gap: 9px; }
  .tonon-theme .tonon-header .tonon-wordmark { width: min(230px, 57vw); }
  .tonon-theme .tonon-brand-caption { gap: 8px; font-size: 7px; letter-spacing: .24em; }
  .tonon-brand-caption::before, .tonon-brand-caption::after { width: 18px; }
  .tonon-theme .tonon-header-inner::before { display: none; }
  .tonon-theme .tonon-header-inner::after { bottom: 3px; width: 74%; }
  .tonon-theme .tonon-reference-layout { padding-top: 6px; padding-bottom: 32px; gap: 18px; }
  .tonon-theme .tonon-left-sidebar, .tonon-theme .tonon-right-sidebar { grid-template-columns: minmax(0, 1fr); }
  .tonon-theme .tonon-quickbar { justify-content: center; gap: 5px 22px; padding: 9px 14px; margin-bottom: 18px; }
  .tonon-theme .tonon-quickbar a { font-size: 11px; }
  .tonon-theme .tonon-quick-status { justify-content: center; flex: 1 0 100%; margin: 2px 0 0; padding: 7px 0 0; border: 0; border-top: 1px solid #ffffff0a; font-size: 10px; }
  .tonon-theme .Content .tonon-news-home .tonon-strip-title { padding: 14px 18px; font-size: 13px; }
  .tonon-theme .tonon-update-row summary { grid-template-columns: 16px minmax(0, 1fr) 10px; gap: 5px 10px; padding: 12px 17px; }
  .tonon-theme .tonon-update-row time { grid-column: 2; grid-row: 1; }
  .tonon-theme .tonon-update-text { grid-column: 2; grid-row: 2; }
  .tonon-theme .tonon-update-row summary > :is(i, svg):first-child { grid-row: 1 / 3; }
  .tonon-theme .tonon-update-row summary > :is(i, svg):last-child { grid-column: 3; grid-row: 1 / 3; }
  .tonon-theme .tonon-home-publication { padding: 23px 20px 22px; }
  .tonon-theme .Content .tonon-news-entry h3 { margin: 16px 0 18px; font-size: 26px; }
  .tonon-theme .Content .tonon-news-body { font-size: 14px; line-height: 1.85; }
  .tonon-theme .tonon-news-pagination { gap: 8px; margin-top: 24px; }
  .tonon-theme .tonon-news-pagination > a, .tonon-theme .tonon-news-pagination > span[aria-disabled] { padding: 8px; gap: 6px; font-size: 9px; }
  .tonon-theme .tonon-news-pagination > span[aria-live] { font-size: 9px; }
  .tonon-theme .Content .BoxContent { padding: 22px 18px; }
  .tonon-theme.tonon-home .Content .BoxContent { padding: 0; }
  .tonon-theme .tonon-section-heading { padding: 15px 18px; }
  .tonon-theme .tonon-section-heading :is(h1, h2) { font-size: 17px; }
  .tonon-theme .tonon-side-content { padding: 22px; }
  .tonon-theme .tonon-side-content .tonon-portal-button { max-width: 280px; margin-inline: auto; font-size: 12px; }
  .tonon-theme .tonon-boosted-pair { max-width: 260px; margin: 0 auto; padding-block: 22px; }
  .tonon-theme .tonon-footer { padding-top: 28px; }
  .tonon-theme .tonon-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
  .tonon-theme .tonon-footer-about { gap: 16px; }
  .tonon-theme .tonon-footer-about .tonon-wordmark { width: 130px; }
  .tonon-theme .tonon-footer-about p { font-size: 10px; }
  .tonon-theme .tonon-footer a { display: inline-block; padding-block: 3px; font-size: 11px; }
  .tonon-theme .tonon-footer-bottom { gap: 12px; flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .tonon-theme .tonon-shell { width: calc(100% - 20px); }
  .tonon-theme .tonon-home-publication { padding-inline: 16px; }
  .tonon-theme .tonon-quickbar { gap: 5px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .tonon-theme .tonon-header-inner::before { animation: none; opacity: .25; }
  .tonon-theme .tonon-portal-button, .tonon-theme .tonon-portal-button::after,
  .tonon-theme .tonon-side-navigation a > :is(i, svg),
  .tonon-theme .tonon-update-row summary > :is(i, svg):last-child { transition: none; transform: none; }
  .tonon-theme .tonon-portal-button::after { display: none; }
}
