/* Patrion shared theme: stone panels, bronze headings and slate-blue edges. */
@property --patrion-edge-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

body.patrion-classic {
  --stone: #262a2b;
  --stone-deep: #1b2023;
  --stone-raised: #303638;
  --ink: #e3e1d8;
  --muted: #b5b8b6;
  --bronze: #b5a084;
  --edge: #4e606c;
  --edge-light: #8599a6;
  --stone-texture: url('/layout/images/classic/stone.png');
  color: var(--ink);
  background: #12191e url('/layout/images/classic/patrion-background-20261102.png') no-repeat center top / cover fixed;
  font-family: Verdana, Arial, sans-serif;
  color-scheme: dark;
}

/* Keep the existing page structure and artwork; give both sidebars real space. */
body.patrion-classic #ArtworkHelper { min-width: 0; padding-top: 140px; min-height: 100vh; background: transparent; }
body.patrion-classic #Bodycontainer { position: relative; width: calc(100% - 24px); max-width: 1240px; display: block; }
body.patrion-classic #MenuColumn { top: 0; left: 0; width: 184px; margin: 0; font-weight: normal; }
body.patrion-classic #ContentColumn { margin: 0 190px 0 198px; min-width: 0; }
body.patrion-classic #ThemeboxesColumn { top: 0; right: -190px; width: 176px; margin: 0; }
body.patrion-classic #PatrionBrandHeader { position: absolute; top: -134px; left: 50%; width: 128px; height: 128px; transform: translateX(-50%); }
body.patrion-classic .patrion-brand { position: relative; display: block; isolation: isolate; width: 128px; height: 128px; margin: 0 auto; }
body.patrion-classic .patrion-brand::before { content: ''; position: absolute; inset: 16px 7px; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, #9dc9df38, #44658120 45%, transparent 70%); filter: blur(8px); pointer-events: none; animation: patrion-brand-glow 7s ease-in-out infinite alternate; }
body.patrion-classic #PatrionLogo { display: block; width: 128px; height: 128px; object-fit: contain; filter: drop-shadow(0 0 3px #698ba780); }
@keyframes patrion-brand-glow { from { opacity: .5; } to { opacity: 1; } }

/* Reference-style framed panels. Borders never intercept clicks. */
body.patrion-classic :is(.classic-frame, .patrion-community-bar),
body.patrion-classic #Content .Box {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  border: 1px solid var(--edge);
  border-radius: 9px 9px 4px 4px;
  background: linear-gradient(#11182038, #11182038), var(--stone-texture) repeat;
  box-shadow: inset 0 0 0 2px #11171b, inset 0 0 0 3px #66737b55, 0 3px 9px #0008;
}
body.patrion-classic .classic-frame { margin: 0 0 12px; padding: 3px; }
body.patrion-classic :is(.classic-menu-title, .classic-panel-title),
body.patrion-classic #Content .BorderTitleText {
  box-sizing: border-box;
  background: linear-gradient(#625744, #473e32 48%, #302d27) !important;
  border: 1px solid #807665;
  border-bottom-color: #292a28;
  border-radius: 7px 7px 0 0;
  color: #e0d7c5;
  text-shadow: 0 2px 2px #000;
  font: normal 15px/1.3 Georgia, 'Times New Roman', serif;
  text-transform: uppercase;
  letter-spacing: .5px;
}
body.patrion-classic .classic-panel-title { margin: 0; padding: 6px; text-align: center; }
body.patrion-classic .classic-menu-title { position: relative; display: flex; align-items: center; gap: 7px; min-height: 32px; padding: 4px 8px; cursor: pointer; list-style: none; }
body.patrion-classic .classic-menu-title::-webkit-details-marker { display: none; }
body.patrion-classic .classic-menu-title img { width: 20px; height: 20px; object-fit: contain; image-rendering: pixelated; }
body.patrion-classic .classic-menu-title span { flex: 1; text-align: center; margin-right: 12px; }
body.patrion-classic .classic-menu-title::after { content: '+'; position: absolute; right: 8px; color: #a9b5bc; font: 12px Arial, sans-serif; }
body.patrion-classic details[open] > .classic-menu-title::after { content: '\2212'; }
body.patrion-classic .classic-menu-links { padding: 4px 5px 5px; }
body.patrion-classic .classic-menu-links a { display: block; padding: 4px 6px; border-bottom: 1px solid #89979c26; color: #dddcd4; font: 12px/1.25 Verdana, Arial, sans-serif; text-shadow: 0 1px #000; text-decoration: none; overflow-wrap: anywhere; }
body.patrion-classic .classic-menu-links a:last-child { border-bottom: 0; }
body.patrion-classic .classic-menu-links a:hover,
body.patrion-classic .classic-menu-links a[aria-current='page'] { color: #fff3d4; background: linear-gradient(90deg, #566e7e44, transparent); box-shadow: inset 2px 0 #879aa5; }
body.patrion-classic .classic-account-actions { display: grid; gap: 6px; margin-bottom: 12px; }
body.patrion-classic .classic-account-actions a { display: block; padding: 8px 6px; text-align: center; border: 1px solid #697986; border-radius: 5px; background: linear-gradient(#364754, #202e39); box-shadow: inset 0 0 0 2px #111c2470, 0 2px 4px #0006; color: #eee2ca; font: 15px/1.2 Georgia, serif; text-decoration: none; }
body.patrion-classic .classic-account-actions a:hover { background: linear-gradient(#445967, #273b49); }

/* A quiet travelling highlight around menus and tabs, not a flashing fill. */
@supports (mask-composite: exclude) or (-webkit-mask-composite: xor) {
  body.patrion-classic .classic-frame::before,
  body.patrion-classic .patrion-community-bar::after,
  body.patrion-classic #Content .Box::before,
  body.patrion-classic #Content :is(.shop-tabs, .pa-nav, .news-tabs) > a::after {
    content: '';
    position: absolute;
    inset: -1px;
    padding: 1px;
    border-radius: inherit;
    background: conic-gradient(from var(--patrion-edge-angle), #384955 0deg, #384955 65deg, #697f8e 100deg, #adc0c9 112deg, #536b7c 130deg, #384955 170deg, #384955 360deg);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: patrion-edge-travel 14s linear infinite;
    pointer-events: none;
    z-index: 5;
    opacity: .8;
  }
  body.patrion-classic .classic-frame:nth-of-type(2n)::before { animation-delay: -5s; }
  body.patrion-classic #Content :is(.shop-tabs, .pa-nav, .news-tabs) > a::after { animation-duration: 12s; }
}
@keyframes patrion-edge-travel { to { --patrion-edge-angle: 360deg; } }

/* The community bar is shared by every header. */
body.patrion-classic .patrion-community-bar { margin: 0 0 12px; padding: 5px 14px; min-height: 42px; gap: 16px; font-size: 12px; border-radius: 5px; background: linear-gradient(#334552, #1e303e 50%, #1a2730); }
body.patrion-classic .patrion-community-bar .patrion-ui-icon { width: 17px; height: 17px; }
body.patrion-classic .patrion-community-bar .community-ornament { display: none; }
body.patrion-classic .community-divider { background: linear-gradient(transparent, #8599a6, transparent); }

/* Back always performs a GET; Logout submits a protected account action. */
body.patrion-classic .patrion-page-navigation { display: flex; margin: 0 0 10px; }
body.patrion-classic .patrion-back { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 1px solid #6b7e8b; border-radius: 4px; background: linear-gradient(#354652, #23313b); color: #e5dfd1; text-decoration: none; font: 12px/1.4 Verdana, sans-serif; box-shadow: 0 1px 4px #0005; }
body.patrion-classic .patrion-back:hover { background: linear-gradient(#435967, #2a3d49); color: #fff3d4; }
body.patrion-classic .pa-logout-form { display: inline-flex; margin: 0; padding: 0; }
body.patrion-classic .pa-logout-form button { border: 1px solid #718390; border-radius: 3px; background: linear-gradient(#394c59, #24333f); color: #efe8da; padding: 6px 10px; cursor: pointer; font: 12px/1.4 Verdana, sans-serif; }
body.patrion-classic .classic-menu-links .pa-logout-form { display: block; }
body.patrion-classic .classic-menu-links .pa-logout-form button { display: block; width: 100%; text-align: left; padding: 4px 6px; border: 0; border-radius: 0; background: transparent; box-shadow: none; font: 12px/1.25 Verdana, sans-serif; color: #dddcd4; }
body.patrion-classic .classic-menu-links .pa-logout-form button:hover { color: #fff3d4; background: linear-gradient(90deg, #566e7e44, transparent); box-shadow: inset 2px 0 #879aa5; }
body.patrion-classic #Content .pa-nav .pa-logout-form button { min-height: 0; padding: 6px 10px; }

/* Sidebar content flows naturally, including long player names. */
body.patrion-classic #Themeboxes { width: 100%; }
body.patrion-classic #HighscoreBox,
body.patrion-classic .patrion-boosted,
body.patrion-classic #PremiumBox,
body.patrion-classic #ScreenshotBox { position: relative; top: auto; left: auto; width: 100%; height: auto; min-height: 0; margin: 0 0 12px; }
body.patrion-classic #Themeboxes #HighscoreBox .sidebar-ranking-content { position: static; box-sizing: border-box; width: auto; height: auto; margin: 0; padding: 10px 6px; inset: auto; overflow: visible; }
body.patrion-classic #Themeboxes #HighscoreBox .sidebar-ranking-list { margin: 0; padding: 0; list-style: none; }
body.patrion-classic #Themeboxes #HighscoreBox .sidebar-ranking-list li { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 4px; padding: 6px 2px; border-bottom: 1px solid #71808a3d; font-size: 11px; text-align: left; }
body.patrion-classic #Themeboxes #HighscoreBox .sidebar-ranking-list li:last-child { border-bottom: 0; }
body.patrion-classic #Themeboxes #HighscoreBox .sidebar-ranking-player { min-width: 0; }
body.patrion-classic #Themeboxes #HighscoreBox .sidebar-ranking-player a { display: block; width: auto; max-width: 100%; white-space: normal; overflow-wrap: anywhere; color: #e6cfa6; text-decoration: none; font-weight: bold; }
body.patrion-classic #Themeboxes #HighscoreBox .sidebar-ranking-level { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
body.patrion-classic #Themeboxes #PremiumBox { height: auto; }
body.patrion-classic .patrion-boosted { color: var(--ink); }
body.patrion-classic .patrion-boosted h3 { margin: 13px 0 7px; font: normal 14px Georgia, serif; color: #d9c6a9; }
body.patrion-classic .boosted-frame { border-color: #6a7c88; background: #192229; }
body.patrion-classic .boosted-name { color: var(--ink); font-size: 11px; overflow-wrap: anywhere; }
body.patrion-classic .boosted-empty { color: var(--muted); padding: 0 5px 8px; }
body.patrion-classic .classic-shop-link { display: grid; justify-items: center; gap: 10px; padding: 14px 8px; color: #e6cfa6; font: bold 12px/1.5 Verdana, sans-serif; text-decoration: none; }
body.patrion-classic .classic-shop-link img { width: 64px; height: 64px; object-fit: contain; image-rendering: pixelated; }
body.patrion-classic #ScreenshotBox a { display: block; padding: 8px; }
body.patrion-classic #ScreenshotBox img { position: static; display: block; max-width: 100%; width: 100%; height: auto; margin: 0; border: 1px solid #566a77; box-sizing: border-box; }

/* Main content: remove parchment and old raster frame pieces. */
body.patrion-classic #Content .Box { margin: 0 0 12px; padding: 3px; color: var(--ink); }
body.patrion-classic #Content :is(.Corner-tl, .Corner-tr, .CornerWrapper-b, .Border_1) { display: none; }
body.patrion-classic #Content .BorderTitleText { position: relative; min-height: 30px; height: 30px; }
body.patrion-classic #Content :is(.Title, .news-banner-title) { top: 13px; left: 18px; max-width: calc(100% - 36px); }
body.patrion-classic #Content :is(.classic-page-title, .pa-title, .news-banner-title) { position: absolute; top: 3px; left: 13px; right: 13px; margin: 0; padding: 7px 0; height: 30px; box-sizing: border-box; color: #e0d7c5; font: normal 15px/1.1 Georgia, serif; text-shadow: 0 2px 2px #000; letter-spacing: .5px; text-transform: uppercase; }
body.patrion-classic #Content :is(.Border_2, .Border_3) { border: 0; background: transparent; margin: 0; }
body.patrion-classic #Content .BoxContent { box-sizing: border-box; margin: 0; padding: 14px; color: var(--ink); background: linear-gradient(#151c2045, #151c2045), var(--stone-texture) !important; border: 1px solid #151c20; font: 12px/1.5 Verdana, Arial, sans-serif; overflow-wrap: anywhere; }
body.patrion-classic #Content :is(.patrion-account, .patrion-news, .patrion-shop, .patrion-ranking, .patrion-downloads) { color: var(--ink); }
body.patrion-classic #Content :is(h1, h2, h3, h4) { color: #e0d4bf; }
body.patrion-classic #Content :is(h1, h2) { font-family: Georgia, 'Times New Roman', serif; }
body.patrion-classic #Content .BoxContent a { color: #d8c19a; }
body.patrion-classic #Content .BoxContent a:hover { color: #fff0d1; }
body.patrion-classic #Content :is(.Odd, .Even) { background: #283034; color: var(--ink); }
body.patrion-classic #Content .Even { background: #22292d; }
body.patrion-classic #Content :is(hr, .news-tabs, .pa-nav, .shop-tabs, .download-section > h2) { border-color: #596771; }
body.patrion-classic #Content :is(.NewsHeadline, .TableContainer .CaptionContainer) { background: linear-gradient(#534a3d, #302e29) !important; color: #e5d8c3; }
body.patrion-classic #Content :is(.NewsHeadlineText, .NewsHeadlineDate) { color: #e5d8c3; }

/* Shared form controls and tabs. Payment QR images keep their own white backing. */
body.patrion-classic #Content :is(input, select, textarea):not([type=checkbox]):not([type=radio]):not([type=image]):not([type=hidden]):not([type=submit]):not([type=button]) {
  box-sizing: border-box; max-width: 100%; background: #192126; color: var(--ink); border: 1px solid #667984; border-radius: 3px; padding: 6px 8px; font: 12px/1.5 Verdana, sans-serif;
}
body.patrion-classic #Content input::placeholder,
body.patrion-classic #Content textarea::placeholder { color: #9facae; opacity: 1; }
body.patrion-classic #Content :is(button, input[type=submit], input[type=button], .pa-button, .news-button, .download-button, .shop-button, .ranking-pages a, .ranking-pages span) {
  border: 1px solid #718390; border-radius: 3px; background: linear-gradient(#394c59, #24333f); color: #efe8da !important; box-shadow: inset 0 1px #b2c7d329, 0 1px 3px #0005; text-shadow: 0 1px #0006;
}
body.patrion-classic #Content :is(button, input[type=submit], input[type=button]) { min-height: 32px; padding: 7px 13px; cursor: pointer; }
body.patrion-classic #Content :is(button, .pa-button, .news-button, .download-button, .shop-button):hover:not(:disabled) { filter: brightness(1.15); }
body.patrion-classic #Content :is(button, input):disabled { opacity: .55; cursor: not-allowed; }
body.patrion-classic #Content :is(.shop-tabs, .pa-nav, .news-tabs) { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 8px; border-bottom-width: 1px; }
body.patrion-classic #Content :is(.shop-tabs, .pa-nav, .news-tabs) > a { position: relative; isolation: isolate; padding: 6px 10px; border: 1px solid #526673; border-radius: 4px; background: linear-gradient(#373d3f, #252b2e); color: #d9dedc !important; box-shadow: inset 0 1px #ffffff0c; text-decoration: none; }
body.patrion-classic #Content :is(.shop-tabs, .pa-nav, .news-tabs) > a:is(.active, [aria-current='page'], [aria-current='true']) { background: linear-gradient(#4b463d, #343330); color: #f3e0b9 !important; border-color: #889ba6; }
body.patrion-classic :is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid #a1c0d2 !important; outline-offset: 3px; }

/* Data tables retain their column widths and alignment. */
body.patrion-classic #Content .BoxContent table { max-width: 100%; width: 100%; color: var(--ink); border-color: #53636d; }
body.patrion-classic #Content .BoxContent table th { background: linear-gradient(#51493d, #36332d) !important; color: #eee1c9 !important; border-color: #65717a !important; }
body.patrion-classic #Content .BoxContent table td { background-color: #283034 !important; color: var(--ink) !important; border-color: #495760 !important; }
body.patrion-classic #Content .BoxContent table tr:nth-child(even) > td { background-color: #232b2f !important; }
body.patrion-classic #Content .BoxContent table tr.special:hover > td { background-color: #34444f !important; }
body.patrion-classic #Content #highscoresTable :is(.rank-number, .rank-level, .rank-experience, .rank-vocation) { color: var(--ink); }

/* Feature panels all use the same palette instead of page-specific parchment. */
body.patrion-classic #Content :is(.pa-section, .shop-product, .download-platform, .download-requirements > div, .news-card, .release-summary, .news-admin-form, .pc-panels section, .pc-outfits) {
  background: linear-gradient(#303638e8, #242b2ee8); border-color: #596b76; box-shadow: inset 0 0 0 1px #11191e70, 0 2px 5px #0003; color: var(--ink);
}
body.patrion-classic #Content :is(.pa-section h2, .pc-panels h2, .pc-outfits summary) { background: linear-gradient(#544b3e, #332f28); border-color: #716a5d; color: #e4d7c0; }
body.patrion-classic #Content .pa-section { margin-bottom: 16px; }
body.patrion-classic #Content .pa-section h2 { padding: 7px 16px; font-size: 14px; }
body.patrion-classic #Content .pa-body { padding: 12px; }
body.patrion-classic #Content .pa-table :is(th, td) { padding: 8px; }
body.patrion-classic #Content :is(.pa-section h2)::before,
body.patrion-classic #Content :is(.pa-section h2)::after { color: #a2acac; }
body.patrion-classic #Content :is(.pa-info, .pa-badge, .pa-code, .pa-status.offline, .shop-account, .shop-notice, .shop-delivery, .ranking-filter, .news-filters, .news-empty, .download-support) { background: #293740; border-color: #647885; color: #d8e0e2; }
body.patrion-classic #Content :is(.pa-character, .pa-nav, .pc-items div, .pc-stats dl div, .pc-outfit-grid figure, .news-admin-entry) { border-color: #53636c; }
body.patrion-classic #Content :is(.pa-notice, .news-notice, .pa-status:not(.offline), .release-latest) { background: #293c32; color: #cce1ce; border-color: #62816d; }
body.patrion-classic #Content :is(.pa-error, .news-error) { background: #492f2d; color: #f2cec5; border-color: #986b63; }
body.patrion-classic #Content .pa-danger { color: #efb1a5 !important; }
body.patrion-classic #Content :is(.pa-muted, .news-muted, .shop-bonus, .ranking-total, .download-platform small, .download-platform p, .download-intro p, .pc-note, .pc-items dt, .pc-stats dt, .news-card-heading time, .event-dates) { color: var(--muted); }
body.patrion-classic #Content :is(.shop-price, .download-steps strong, .pc-items dd, .pc-stats dd, .pc-outfit-grid figcaption) { color: var(--ink); }
body.patrion-classic #Content :is(.download-platform-icon, .download-platform-ready .download-platform-icon, .download-support > svg) { color: #9db5c3; }
body.patrion-classic #Content .download-platform-ready { border-color: #8b9c9e; }
body.patrion-classic #Content .download-steps li > span { background: #4a5355; color: #e5d7bc; border: 1px solid #71818a; }
body.patrion-classic #Content .shop-pix { background: linear-gradient(#3c5b50, #2b423b); border-color: #718e81; }
body.patrion-classic #Content .shop-product-art :is(h3, .shop-art-label) { color: #f4deac; }
body.patrion-classic #Content #pix-payment img { background: #fff; color-scheme: light; }
body.patrion-classic #Content .patrion-pix { padding: 24px; color: var(--ink); }
body.patrion-classic #Content :is(.patrion-pix, #pix-payment) :is(p, label, small, strong, [role=status]) { color: var(--ink); }
body.patrion-classic #Content .patrion-pix small { color: var(--muted); }
body.patrion-classic #Content .patrion-pix .pix-amount { color: #f4deac; font-size: 24px; }
body.patrion-classic #Content [role=alert] { background: #443c2d !important; color: #eee0c5; border-color: #9a8867 !important; }
body.patrion-classic #Content .pc-bar b { color: #fff; }

/* Calendar categories keep meaningful, readable colours. */
body.patrion-classic #Content .event-bonus { background: #51472c; color: #f1dfa0; border-color: #948456; }
body.patrion-classic #Content .event-raid { background: #512f2f; color: #efc0b8; border-color: #9e6d66; }
body.patrion-classic #Content .event-community { background: #304737; color: #c5e3c7; border-color: #6f8b74; }
body.patrion-classic #Content .event-other { background: #2b4355; color: #c7dfed; border-color: #68899d; }
body.patrion-classic #Content .event-calendar td.outside-month { background-color: #202629 !important; color: #929d9f !important; }
body.patrion-classic #Content .event-calendar td.calendar-today { background-color: #35434a !important; box-shadow: inset 0 0 0 2px #8fa6b3; }
body.patrion-classic #Content .release-tag { background: #5b5141; color: #e9ddc9; }
body.patrion-classic #Content details summary { color: #d3dfe4; }
body.patrion-classic #Footer { color: #c0c6c6; padding: 20px 8px; font: 11px/1.8 Verdana, sans-serif; }
body.patrion-classic #Footer a { color: #d2bf9e; }
body.patrion-classic #Footer .patrion-developer-credit { display: inline-block; color: #e5bf65; font-weight: bold; filter: drop-shadow(0 0 3px #c98a3030); }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  body.patrion-classic #Footer .patrion-developer-credit { background: linear-gradient(110deg, #cfa54c 0%, #ecd083 35%, #fff3ba 48%, #ecd083 61%, #cfa54c 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: patrion-gold-shimmer 7s linear infinite; }
}
@keyframes patrion-gold-shimmer { from { background-position: 200% 50%; } to { background-position: -50% 50%; } }

/* Stack the existing columns on narrow screens without changing their data. */
@media (max-width: 1079px) {
  body.patrion-classic #Bodycontainer { width: calc(100% - 24px); }
  body.patrion-classic #MenuColumn { width: 184px; }
  body.patrion-classic #ContentColumn { margin-left: 198px; margin-right: 0; }
  body.patrion-classic #ThemeboxesColumn { position: relative; inset: auto; width: 100%; margin: 18px 0 0; }
  body.patrion-classic #Themeboxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
  body.patrion-classic #Themeboxes > .classic-frame { margin-bottom: 0; }
}
@media (max-width: 760px) {
  body.patrion-classic #ArtworkHelper { padding-top: 22px; }
  body.patrion-classic #Bodycontainer { width: calc(100% - 20px); }
  body.patrion-classic #MenuColumn { position: relative; width: 100%; }
  body.patrion-classic #PatrionBrandHeader { position: relative; inset: auto; transform: none; margin: 0 auto 12px; }
  body.patrion-classic .classic-account-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.patrion-classic .classic-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; margin-bottom: 16px; }
  body.patrion-classic .classic-navigation > .classic-frame { margin: 0; }
  body.patrion-classic #ContentColumn { margin: 0; }
  body.patrion-classic #Content .BoxContent { padding: 14px 10px; }
  body.patrion-classic .patrion-community-bar { gap: 12px; padding: 5px 10px; font-size: 12px; }
  body.patrion-classic #Content .shop-tabs a { padding: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  body.patrion-classic #Footer .patrion-developer-credit { animation: none; }
  body.patrion-classic .patrion-brand::before { animation: none; opacity: .7; }
  body.patrion-classic .classic-frame::before,
  body.patrion-classic .patrion-community-bar::after,
  body.patrion-classic #Content .Box::before,
  body.patrion-classic #Content :is(.shop-tabs, .pa-nav, .news-tabs) > a::after { animation: none; opacity: .65; }
}
