/* Classic MyAAC textures, with an isolated responsive shell. */
.saphira-rl { background: #051122 url('../images/header/background-artwork.jpg') center top no-repeat; color: #5a2800; font-family: Verdana, Arial, sans-serif; }
.rl-header { height: 215px; max-width: 1200px; margin: auto; overflow: hidden; text-align: center; }
.rl-header a { display: inline-block; width: 520px; max-width: 100%; }
.rl-header img { display: block; width: 100%; height: auto; }
.rl-layout { display: grid; grid-template-columns: 180px minmax(0,1fr) 180px; gap: 18px; max-width: 1200px; padding: 0 18px; margin: 0 auto 28px; align-items: start; }
.rl-left,.rl-right { min-width: 0; font-size: 11px; }
.rl-panel { margin: 5px 0 22px;   position: relative; }
.rl-panel::before,.rl-menu::before { content: ''; display: block; height: 12px; position: absolute; top: -9px; left: -4px; right: -4px;  }
.rl-panel::after,.rl-menu::after { content: ''; display: block; height: 12px; position: absolute; bottom: -8px; left: -4px; right: -4px;  pointer-events: none; }
.rl-panel h2 { margin: 0; padding: 9px 4px 7px; font: bold 16px Georgia,serif; color: #f7e6b5; text-shadow: 1px 2px #15120d; text-align: center;  }
.rl-panel-body { padding: 12px 10px; line-height: 1.6; }
.rl-panel a { color: #795000; }
.rl-login,.rl-status,.rl-start { text-align: center; }
.rl-login .rl-panel-body > a { display: block; }
.rl-button,.rl-panel a.rl-button { display: block; box-sizing: border-box; margin: 0 auto 10px; padding: 7px 3px;   font: bold 12px Georgia,serif; text-align: center; text-decoration: none;   }
.rl-button:active { transform: translateY(1px); }
.rl-menu { position: relative;   color: #f6e5bf; margin: 0 0 18px; }
.rl-menu summary { cursor: pointer; padding: 10px 8px; font: bold 17px Georgia,serif;  text-shadow: 1px 1px #000; }
.rl-menu-links { padding: 4px 7px 6px;  }
.rl-menu a { display: block; color: #d8d3bf; text-decoration: none; padding: 5px 8px; font: 11px/1.25 Verdana,sans-serif; }
.rl-menu a:hover,.rl-menu a[aria-current] { color: #fff;  }
.rl-menu a[aria-current]::before { content: '\203A  '; color: #f2d28e; }
.rl-count { display: block; font: bold 29px Georgia,serif; color: #5a2800; }
.rl-status p { margin: 5px 0; }
.rl-ranking { padding-left: 20px; margin: 0 0 12px; }
.rl-ranking li { padding: 4px 0; border-bottom: 1px solid #c8ae87; }
.rl-ranking a { overflow-wrap: anywhere; font-weight: bold; }
.rl-ranking span { display: block; font-size: 10px; }
.rl-more { display: block; text-align: center; }
.rl-start p { margin-top: 0; }
.saphira-rl .Content { min-width: 0; }
.saphira-rl .Content .BoxContent { background-image: url('../images/content/scroll.gif'); padding: 18px; line-height: 1.65; overflow-wrap: anywhere; overflow-x: auto; }
.saphira-rl .Content .BoxContent img { max-width: 100%; height: auto; }
.saphira-rl .Content .Border_1 { background-image: url('../images/content/border-1.gif'); }
.saphira-rl .Content .Corner-tl { background-image: url('../images/content/corner-tl.gif'); }
.saphira-rl .Content .Corner-tr { background-image: url('../images/content/corner-tr.gif'); }
.saphira-rl .Content .Corner-bl { background-image: url('../images/content/corner-bl.gif'); }
.saphira-rl .Content .Corner-br { background-image: url('../images/content/corner-br.gif'); }
.rl-content-title { margin: 0; padding: 2px 12px 4px;  color: #fff1c7; text-shadow: 1px 1px #17241a; font: bold 21px/1.2 Georgia,serif; }
.rl-skip { position: absolute; left: 12px; top: -100px; z-index: 100; background: #fff2db; padding: 12px; }
.rl-skip:focus { top: 12px; }
.saphira-rl a:focus-visible,.saphira-rl summary:focus-visible { outline: 3px solid #d3a447; outline-offset: 2px; }
#Footer { line-height: 1.8; }
.rl-demo-article + .rl-demo-article { margin-top: 26px; border-top: 1px solid #bda17e; padding-top: 18px; }
.rl-demo-article h2 { font: bold 21px Georgia,serif; margin: 8px 0; }
.rl-demo-article time { font-size: 10px; }
@media(max-width: 1000px) { .rl-layout { grid-template-columns: 180px minmax(0,1fr); } .rl-right { grid-column: 2; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; } .rl-left { grid-row: span 2; } }
@media(max-width: 640px) { .rl-header { height: auto; } .rl-header a { width: 100%; max-width: 430px; } .rl-layout { display: flex; flex-direction: column; padding: 0 12px; gap: 12px; } .rl-left,.rl-right,.rl-layout > main { width: 100%; } .rl-left { display: flex; flex-direction: column; } .rl-menu { order: -1; } .rl-menu summary { font-size: 16px; } .rl-menu-links { display: grid; grid-template-columns: 1fr 1fr; } .rl-login { margin-bottom: 8px; } .rl-right { display: grid; grid-template-columns: 1fr; } .saphira-rl .Content .BoxContent { padding: 12px; } }
.rl-menu-group { display: block; padding: 10px 8px 4px; color: #f5d38d; font: bold 13px Georgia,serif; border-top: 1px solid #55716a; margin-top: 5px; }
.rl-panel::before,.rl-panel::after,.rl-menu::before,.rl-menu::after { display: none; }
.rl-panel h2,.rl-menu summary,.rl-content-title {
  
  color: #f9e4af; text-shadow: 0 2px 2px #000;
}
.rl-panel h2 { padding: 13px 8px; font-size: 15px; }
.rl-menu summary { padding: 13px 10px; font-size: 16px; }
.rl-menu summary:hover {  color: #fff4ce;  }
.rl-menu-links {  padding: 5px 6px 8px; }
.rl-menu a { color: #e5d5b5; padding: 6px 7px; }
.rl-menu a:hover,.rl-menu a[aria-current] {  color: #fff3cc; }
.rl-button,.rl-panel a.rl-button {
   
  padding: 12px 10px; min-height: 40px;  font-size: 12px;
}
.rl-content-title { padding: 13px 24px; font-size: 21px; }
.saphira-rl .Content .Box > .Border_1,
.saphira-rl .Content .Box > .Corner-tl,.saphira-rl .Content .Box > .Corner-tr,
.saphira-rl .Content .Box > .CornerWrapper-b { display: none; }
.saphira-rl .Content .Box > .Border_2 { margin: 0; background: transparent; }
.saphira-rl .Content .Box > .Border_2 > .Border_3 { margin: 0; border: 0; }
.saphira-rl .Content .BoxContent { background: url('../images/saphira/parchment.png') repeat; border: 0; color: #492c18; }
.rl-demo-article + .rl-demo-article { border: 0; background: url('../images/saphira/separator.png') center top / min(75%,360px) 25px no-repeat; padding-top: 35px; }
.saphira-rl .Content hr { height: 25px; border: 0; background: url('../images/saphira/separator.png') center / min(75%,360px) 25px no-repeat; }
.rl-count { color: #624516; }
@media(max-width:640px) {
  .rl-panel h2,.rl-menu summary { background-size: 100% 100%; }
  .rl-content-title { font-size: 20px; }
}
/* Brief 3: shared alignment and spacing, keeping the existing artwork. */
.rl-header,.rl-layout { box-sizing: border-box; width: 100%; max-width: 1236px; }
.rl-header { display: flex; justify-content: center; align-items: center; height: auto; min-height: 215px; padding: 0 18px; }
.rl-header a { display: block; }
.rl-layout { grid-template-columns: 200px minmax(0,1fr) 200px; gap: 18px; }
.rl-left,.rl-right,.saphira-rl .Content { display: flex; flex-direction: column; gap: 18px; }
.rl-panel,.rl-menu,.saphira-rl .Content .Box { margin: 0; min-width: 0; }
.rl-panel h2,.rl-menu summary,.rl-content-title {
  box-sizing: border-box; display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 14px; line-height: 1.25; text-align: center;
}
.rl-panel h2,.rl-menu summary { font-size: 15px; }
.rl-panel-body { padding: 14px 10px; text-align: center; overflow-wrap: anywhere; }
.rl-button,.rl-panel a.rl-button { width: 160px; max-width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; line-height: 1.3; }
.rl-login .rl-panel-body > a.rl-button { display: flex; }
.rl-menu summary { position: relative; padding-inline: 24px; list-style: none; }
.rl-menu summary::-webkit-details-marker { display: none; }
.rl-menu summary::before { content: '\203A'; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: 17px; line-height: 1; }
.rl-menu details[open] > summary::before { transform: translateY(-50%) rotate(90deg); }
.rl-menu-links { padding: 5px 0 8px; }
.rl-menu a { position: relative; padding: 7px 16px; overflow-wrap: anywhere; }
.rl-menu a[aria-current]::before { position: absolute; left: 5px; }
.rl-menu-group { padding-inline: 16px; }
.rl-ranking { list-style: none; counter-reset: rank; padding: 0; margin: 0 0 12px; text-align: left; font-variant-numeric: tabular-nums; }
.rl-ranking li { counter-increment: rank; display: grid; grid-template-columns: 16px minmax(0,1fr); column-gap: 6px; padding: 6px 0; }
.rl-ranking li::before { content: counter(rank) '.'; grid-row: span 2; text-align: right; }
.rl-ranking span { grid-column: 2; }
.saphira-rl #Footer { box-sizing: border-box; max-width: 1236px; margin-inline: auto; padding: 0 18px 24px; overflow-wrap: anywhere; }
.saphira-rl .Content .BoxContent { margin: 0; padding: 18px; }
.rl-demo-article h2,.rl-demo-article p,.rl-demo-article time { margin-left: 0; margin-right: 0; }
/* Allow native MyAAC news titles and dates to wrap inside the content frame. */
.saphira-rl .Content #News .NewsHeadlineBackground { height: auto; min-height: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 8px 12px; }
.saphira-rl .Content #News .NewsHeadlineIcon { position: static; margin: 0; flex: 0 0 auto; }
.saphira-rl .Content #News .NewsHeadlineDate,.saphira-rl .Content #News .NewsHeadlineText { position: static; width: auto; overflow-wrap: anywhere; }
@media (min-width: 901px) { .rl-right { grid-column: auto; } .rl-left { grid-row: auto; } }
@media (max-width: 900px) {
  .rl-header { min-height: 0; padding: 0 12px; }
  .rl-header a { width: 520px; max-width: 100%; }
  .rl-layout { display: flex; flex-direction: column; padding: 0 12px; gap: 18px; }
  .rl-left,.rl-right,.rl-layout > main { width: 100%; }
  .rl-right { display: flex; }
  .rl-menu { order: -1; }
  .rl-menu-links { display: block; }
  .saphira-rl .Content .BoxContent { padding: 14px; }
}

/* Brief 4 â€” content skin. Scoped to this template; module rules are emitted
   after the head stylesheet, so intentional !important wins their inline paint.
   Geometry, visibility, event handlers and form semantics remain module-owned. */
.saphira-rl #page-content { --rl-ink:#492c18; --rl-muted:#69523b; --rl-line:#b69a69; --rl-paper:#f3e4c8; --rl-alt:#e6d2ac; --rl-gold:#795000; }
.saphira-rl #page-content .BoxContent { font-size:13px; }
.saphira-rl #page-content :is(.cb,.bz,.sp-wrap,.cr-wrap,.ilib-wrap) { color:var(--rl-ink); }
.saphira-rl #page-content a { color:var(--rl-gold); }
.saphira-rl #page-content a:hover { color:#763e14; }
.saphira-rl #page-content :is(h1,h2,h3,h4,.hs-title,.cb-head-title,.bz-title,.store-page-title,.prem-page-title,.ex-page-title,.dl-title,.dl-howto-title,.pay-title,.ex-group-label,.topexp-hdr) {
 color:var(--rl-ink)!important; font-family:Georgia,'Times New Roman',serif!important; text-shadow:none!important; letter-spacing:.025em!important;
}
.saphira-rl #page-content :is(.BoxContent>h2,.hs-title,.cb-head,.bz-hdr,.store-page-title,.prem-page-title,.ex-page-title,.shop-header h1,.dl-title,.dl-howto-title,.pay-title,.ex-group-header,.topexp-hdr,.CaptionContainer) {
  color:#fff0c9!important;  border-radius:2px!important; padding:10px 14px; font:700 19px/1.35 Georgia,serif!important; 
}
.saphira-rl #page-content .rl-content-title { color:#f9e4af!important; }
.saphira-rl #page-content :is(.cb-head-title,.bz-title) { color:#fff0c9!important; }
.saphira-rl #page-content :is(.cb-head-sub,.bz-sub) { color:#ead8b5!important; }
.saphira-rl #page-content :is(.hs-sub,.hs-total,.hs-voc-label,.char-voc,.cb-fl,.cb-bar,.cb-bar em,.cb-s-meta,.cb-s-skill,.cb-bid-lbl,.cb-bid-tc,.cb-hint,.cb-timer,.bz-fl,.bz-cnt,.dl-version,.dl-desc,.dl-spec,.dl-note,.sp-info,.cr-info,.cr-cat-count,.cr-card-stats,.ilib-stats,.iid,.icat,.shop-header p,.store-page-sub,.prem-page-sub,.ex-page-sub,.service-desc,.service-price-label,.field-label,.field-hint,.pay-btn-desc,.pay-summary-label,.pkg-label,.pkg-coins-label,.pkg-price-label,.prem-plan-label,.prem-plan-price-label,.prem-plan-perk,.mount-desc,.mount-rarity,.ex-item-dur) { color:var(--rl-muted)!important; text-shadow:none!important; }
.saphira-rl #page-content :is(.shop-card-title,.service-title,.service-price,.pkg-coins,.pkg-price,.prem-plan-days,.prem-plan-price,.mount-name,.mount-price,.ex-item-name,.ex-item-price,.pay-btn-name,.pay-summary-val,.cb-s-name,.cb-s-meta strong,.cb-s-skill strong,.cb-bid-val,.cr-card-name,.cr-card-stats b,.iname,.sp-name,.sp-words,.sp-lvl,.sp-mana,.sp-cd,.sp-prem) { color:var(--rl-ink)!important; text-shadow:none!important; }
/* Data tables, including old bgcolor attributes; nested layout tables are exempt. */
.saphira-rl #page-content table { max-width:100%; color:var(--rl-ink); font-variant-numeric:tabular-nums; }
.saphira-rl #page-content :is(.myaac-table,.hs-table,.sp-tbl,.bz-tbl,table[bgcolor],.TableContent) {   border-radius:0!important; border-collapse:collapse; }
.saphira-rl #page-content :is(.myaac-table,.hs-table,.sp-tbl,.bz-tbl)>tbody>tr>td,
.saphira-rl #page-content tr[bgcolor]>td {   border-bottom:1px solid #cdb68e!important; padding:9px 10px; }
.saphira-rl #page-content :is(thead th,thead td,th,.LabelH,.white,tr[bgcolor="#505050" i]>td) {
 background:#493225!important; color:#fff0c9!important; border-color:#967340!important; padding:10px; font-family:Georgia,serif!important; font-size:13px!important; letter-spacing:.02em!important;
}
.saphira-rl #page-content :is(thead,th,.LabelH,.white) a { color:#fff0c9!important; }
.saphira-rl #page-content :is(.val-cell,.exp-cell,.rank-cell,td[align=right],th[align=right]) { text-align:right; font-variant-numeric:tabular-nums; }
.saphira-rl #page-content .hs-table :is(th,td):nth-child(n+3),
.saphira-rl #page-content .sp-tbl :is(th,td):nth-child(3),
.saphira-rl #page-content .sp-tbl :is(th,td):nth-child(4) { text-align:right; }
.saphira-rl #page-content .char-link { color:var(--rl-gold)!important; }
.saphira-rl #page-content :is(.Table1,.Table2,.Table3,.Table4,.Table5,.InnerTableContainer,.TableContentContainer,.TableContentAndRightShadow) { background:var(--rl-paper)!important; border-color:var(--rl-line)!important; box-shadow:none!important; }
.saphira-rl #page-content .TableContainer { border:1px solid var(--rl-line); margin:14px 0; }
.saphira-rl #page-content .CaptionContainer { margin:0; min-height:20px; }
.saphira-rl #page-content .CaptionContainer .Text { color:#fff0c9!important; font:700 16px/1.4 Georgia,serif; }
.saphira-rl #page-content :is(.CaptionInnerContainer,.CaptionContainer .Text) { position:static; }
.saphira-rl #page-content :is(.TableShadowRightTop,.TableBottomShadow,.TableBottomLeftShadow,.TableBottomRightShadow) { background-image:none!important; }
/* Fields: exclude hidden controls, checkboxes, radios and graphic submit controls. */
.saphira-rl #page-content :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]):not([type=image]),select,textarea) {
 box-sizing:border-box; max-width:100%; min-width:0; background:#fff5df!important; color:#382719!important; border:1px solid #9b7e50!important; border-radius:2px!important; padding:8px 10px; font:13px/1.4 Verdana,sans-serif; box-shadow:inset 0 1px 3px #68492122!important;
}
.saphira-rl #page-content :is(input,select,textarea,button,a,[tabindex]):focus-visible { outline:3px solid #946400!important; outline-offset:2px; }
.saphira-rl #page-content input::placeholder,.saphira-rl #page-content textarea::placeholder { color:#79664e!important; opacity:1; }
.saphira-rl #page-content :is(input[type=checkbox],input[type=radio]) { accent-color:#795000; }
/* Reuse Brief 2 endcaps for actions, tabs and filters. */
.saphira-rl #page-content :is(button,input[type=submit],input[type=button],input[type=reset],.hs-tab,.hs-voc-btn,.hs-pg,.sp-tab,.sp-pages a,.sp-pages .cur,.cr-pages a,.cr-pages .cur,.ilib-pager a,.ilib-pager .cur,.reset-btn,.cb-nav a,.bz-nav a,.cb-pg,.cb-list-btn,.cb-buy-btn,.shop-card-btn,.pay-proceed,.dl-btn,.ex-tier-btn) {
 box-sizing:border-box;   
  border-radius:2px!important; padding:11px 18px; min-height:38px; font:700 12px/1.4 Georgia,serif!important; letter-spacing:.02em;  text-decoration:none;  cursor:pointer;
}
.saphira-rl #page-content :is(button,input):disabled { opacity:.6; cursor:not-allowed; }
.saphira-rl #page-content :is(.BigButton,.MediumButtonBackground) { background:none!important; border:0!important; height:auto!important; min-height:40px; max-width:100%; }
.saphira-rl #page-content :is(.BigButtonOver,.MediumButtonOver) { background:none!important; pointer-events:none; }
.saphira-rl #page-content :is(.BigButtonText,.MediumButtonText) { position:relative!important; top:auto!important; left:auto!important; width:100%!important; height:auto!important; min-height:40px; }
/* Module surfaces: preserve their grid, selection and show/hide behavior. */
.saphira-rl #page-content :is(.cb-flt,.cb-card,.cb-empty,.cb-s-outfit,.cb-eq-slot,.bz-flt,.dl-card,.dl-howto,.shop-card,.shop-card-img-wrap,.service-box,.service-price-box,.notice-box,.pkg-card,.prem-card,.mount-card,.ex-card,.ex-group,.pay-section,.pay-summary,.pay-btn,.cr-sidebar,.cr-card,.cr-img-box,.ilib-item,.itip) {
 background:var(--rl-paper)!important; color:var(--rl-ink)!important; border-color:var(--rl-line)!important; border-radius:3px!important; box-shadow:0 2px 5px #6646231a!important;
}
.saphira-rl #page-content :is(.cb-flt-hdr,.bz-flt,.dl-howto,.service-price-box,.pay-summary,.cr-img-box,.shop-card-img-wrap) { background:var(--rl-alt)!important; }
.saphira-rl #page-content .cb-flt-hdr span { color:var(--rl-ink)!important; }
.saphira-rl #page-content :is(.pkg-card,.prem-card,.mount-card,.ex-card,.pay-btn).selected { border-color:#795000!important; outline:2px solid #795000; outline-offset:1px; background:#eddaac!important; }
.saphira-rl #page-content :is(.pkg-card,.prem-card,.mount-card,.ex-card,.pay-btn,.shop-card,.cr-card,.ilib-item):hover { border-color:#795000!important; box-shadow:0 3px 8px #66462333!important; }
.saphira-rl #page-content :is(.shop-card-title,.mount-name,.ex-item-name) { font-size:13px; }
.saphira-rl #page-content .shop-card-btn { margin-top:auto; }
.saphira-rl #page-content .shop-card.disabled { opacity:.75; }
.saphira-rl #page-content :is(.shop-soon-badge,.shop-w1-badge,.pkg-badge,.prem-card-badge,.ex-tier-badge,.bz-badge,.sp-grp,.vk,.vp,.vs,.vd,.vall) { background:#e4d2ac!important; color:#51361f!important; border:1px solid #a98a53!important; border-radius:2px!important; text-shadow:none!important; }
.saphira-rl #page-content :is(.st-sold,.success,.message.success) { background:#e0ead2!important; color:#315027!important; border-color:#7d9964!important; }
.saphira-rl #page-content :is(.st-cancelled,.error,.errors,.FormFieldError,.message.error) { color:#8a2921!important; }
.saphira-rl #page-content :is(.error,.errors,.warning,.notice,.success) { border:1px solid #b89a68; padding:10px 12px; background:#f4dfb8; }
.saphira-rl #page-content .FormFieldError { font-size:12px; }
.saphira-rl #page-content .cr-cat-link { color:var(--rl-gold)!important; }
.saphira-rl #page-content .cr-cat-link:is(.active,:hover) { background:#d6c097!important; color:#392a1b!important; }
.saphira-rl :is(#cr-tt,#ilib-tt) { background:#f3e4c8!important; color:#492c18!important; border-color:#967340!important; box-shadow:0 3px 12px #49322544!important; }
.saphira-rl :is(#cr-tt,#ilib-tt) :is(div,span,b) { color:#492c18!important; border-color:#b69a69!important; }
.saphira-rl :is(#cr-tt,#ilib-tt) :is(.tt-el,.tt-imm span) { background:#e6d2ac!important; }
/* Known fixed outfit offset in the character module. */
.saphira-rl #page-content div[style*="margin-left:459px"] { position:static!important; margin:0!important; float:right; }
.saphira-rl #page-content :is(.cr-topbar,.cb-head,.cb-bar) { flex-wrap:wrap; gap:8px; }
@media(max-width:600px) {
 .saphira-rl #page-content :is(.shop-grid,.prem-grid,.pkg-grid,.mount-grid,.ex-weapons-grid) { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .saphira-rl #page-content .cr-wrap { flex-direction:column; }
 .saphira-rl #page-content .cr-sidebar { position:static; flex:auto; width:100%; max-height:220px; box-sizing:border-box; }
 .saphira-rl #page-content .cr-main { width:100%; }
 .saphira-rl #page-content :is(.cb-card,.pay-methods) { flex-wrap:wrap; }
 .saphira-rl #page-content :is(.dl-card,.service-box) { padding:16px; }
 .saphira-rl #page-content .LabelV { width:auto!important; }
}
/* Inline content authored by server modules (not visibility or positioning). */
.saphira-rl #page-content .CaptionContainer { box-sizing:border-box; }
.saphira-rl #page-content .CaptionInnerContainer { background:transparent!important; padding:0; }
.saphira-rl #page-content .CaptionContainer .Text { padding:0; }
.saphira-rl #page-content [style*="color:#c0b898"] { color:#69523b!important; }
.saphira-rl #page-content .myaac-table>tfoot>tr>td { background:#e6d2ac!important; color:#492c18!important; }

/* Explicit legacy inline palette, collected from the 49 supplied snapshots. */
.saphira-rl #page-content :is([style*="color:#00ff55" i],[style*="color: #00ff55" i]) { color:#315c36!important; }
.saphira-rl #page-content :is([style*="color:#44aa66" i],[style*="color: #44aa66" i]) { color:#315c36!important; }
.saphira-rl #page-content :is([style*="color:#4888c8" i],[style*="color: #4888c8" i]) { color:#795000!important; }
.saphira-rl #page-content :is([style*="color:#50c870" i],[style*="color: #50c870" i]) { color:#315c36!important; }
.saphira-rl #page-content :is([style*="color:#668877" i],[style*="color: #668877" i]) { color:#315c36!important; }
.saphira-rl #page-content :is([style*="color:#70b8e8" i],[style*="color: #70b8e8" i]) { color:#795000!important; }
.saphira-rl #page-content :is([style*="color:#70c890" i],[style*="color: #70c890" i]) { color:#315c36!important; }
.saphira-rl #page-content :is([style*="color:#7289da" i],[style*="color: #7289da" i]) { color:#795000!important; }
.saphira-rl #page-content :is([style*="color:#8060d0" i],[style*="color: #8060d0" i]) { color:#795000!important; }
.saphira-rl #page-content :is([style*="color:#8899aa" i],[style*="color: #8899aa" i]) { color:#795000!important; }
.saphira-rl #page-content :is([style*="color:#8a7858" i],[style*="color: #8a7858" i]) { color:#69523b!important; }
.saphira-rl #page-content :is([style*="color:#8b6914" i],[style*="color: #8b6914" i]) { color:#69523b!important; }
.saphira-rl #page-content :is([style*="color:#99ccaa" i],[style*="color: #99ccaa" i]) { color:#315c36!important; }
.saphira-rl #page-content :is([style*="color:#99ddbb" i],[style*="color: #99ddbb" i]) { color:#315c36!important; }
.saphira-rl #page-content :is([style*="color:#b0b8c8" i],[style*="color: #b0b8c8" i]) { color:#69523b!important; }
.saphira-rl #page-content :is([style*="color:#b890e0" i],[style*="color: #b890e0" i]) { color:#795000!important; }
.saphira-rl #page-content :is([style*="color:#c0b898" i],[style*="color: #c0b898" i]) { color:#69523b!important; }
.saphira-rl #page-content :is([style*="color:#c85050" i],[style*="color: #c85050" i]) { color:#943f2c!important; }
.saphira-rl #page-content :is([style*="color:#c870e0" i],[style*="color: #c870e0" i]) { color:#69523b!important; }
.saphira-rl #page-content :is([style*="color:#c8a848" i],[style*="color: #c8a848" i]) { color:#69523b!important; }
.saphira-rl #page-content :is([style*="color:#c8b890" i],[style*="color: #c8b890" i]) { color:#69523b!important; }
.saphira-rl #page-content :is([style*="color:#cd7f32" i],[style*="color: #cd7f32" i]) { color:#943f2c!important; }
.saphira-rl #page-content :is([style*="color:#d8caa8" i],[style*="color: #d8caa8" i]) { color:#69523b!important; }
.saphira-rl #page-content :is([style*="color:#e07030" i],[style*="color: #e07030" i]) { color:#943f2c!important; }
.saphira-rl #page-content :is([style*="color:#e07850" i],[style*="color: #e07850" i]) { color:#943f2c!important; }
.saphira-rl #page-content :is([style*="color:#e08080" i],[style*="color: #e08080" i]) { color:#943f2c!important; }
.saphira-rl #page-content :is([style*="color:#e8d8a0" i],[style*="color: #e8d8a0" i]) { color:#69523b!important; }
.saphira-rl #page-content :is([style*="color:#e8d8ff" i],[style*="color: #e8d8ff" i]) { color:#69523b!important; }
.saphira-rl #page-content :is([style*="color:#f0d060" i],[style*="color: #f0d060" i]) { color:#69523b!important; }
.saphira-rl #page-content :is([style*="color:#ff6666" i],[style*="color: #ff6666" i]) { color:#943f2c!important; }
.saphira-rl #page-content :is([style*="color:#ffaa44" i],[style*="color: #ffaa44" i]) { color:#943f2c!important; }
.saphira-rl #page-content :is([style*="color:#ffcc44" i],[style*="color: #ffcc44" i]) { color:#69523b!important; }
.saphira-rl #page-content [style*="background:linear-gradient(135deg,rgba(0,30,10,0.8),rgba(0,15,5,0.9))"]:not(.online-dot),.saphira-rl #page-content [style*="background: linear-gradient(135deg,rgba(0,30,10,0.8),rgba(0,15,5,0.9))"]:not(.online-dot) { background:#e6d2ac!important; border-color:#b69a69!important; }
.saphira-rl #page-content [style*="background:linear-gradient(135deg,rgba(0,30,10,0.9),rgba(0,10,3,0.95))"]:not(.online-dot),.saphira-rl #page-content [style*="background: linear-gradient(135deg,rgba(0,30,10,0.9),rgba(0,10,3,0.95))"]:not(.online-dot) { background:#e6d2ac!important; border-color:#b69a69!important; }
.saphira-rl #page-content [style*="background:linear-gradient(180deg,#0f1018,#080910)"]:not(.online-dot),.saphira-rl #page-content [style*="background: linear-gradient(180deg,#0f1018,#080910)"]:not(.online-dot) { background:#e6d2ac!important; border-color:#b69a69!important; }
.saphira-rl #page-content [style*="background:rgba(0,20,8,0.7)"]:not(.online-dot),.saphira-rl #page-content [style*="background: rgba(0,20,8,0.7)"]:not(.online-dot) { background:#e6d2ac!important; border-color:#b69a69!important; }
.saphira-rl #page-content [style*="background:rgba(114,137,218,0.1)"]:not(.online-dot),.saphira-rl #page-content [style*="background: rgba(114,137,218,0.1)"]:not(.online-dot) { background:#e6d2ac!important; border-color:#b69a69!important; }
.saphira-rl #page-content [style*="background:rgba(120,60,200,0.15)"]:not(.online-dot),.saphira-rl #page-content [style*="background: rgba(120,60,200,0.15)"]:not(.online-dot) { background:#e6d2ac!important; border-color:#b69a69!important; }
.saphira-rl #page-content [style*="background:rgba(180,140,40,0.15)"]:not(.online-dot),.saphira-rl #page-content [style*="background: rgba(180,140,40,0.15)"]:not(.online-dot) { background:#e6d2ac!important; border-color:#b69a69!important; }
.saphira-rl #page-content [style*="background:rgba(200,168,72,0.04)"]:not(.online-dot),.saphira-rl #page-content [style*="background: rgba(200,168,72,0.04)"]:not(.online-dot) { background:#e6d2ac!important; border-color:#b69a69!important; }
.saphira-rl #page-content [style*="background:rgba(200,80,80,0.15)"]:not(.online-dot),.saphira-rl #page-content [style*="background: rgba(200,80,80,0.15)"]:not(.online-dot) { background:#e6d2ac!important; border-color:#b69a69!important; }
.saphira-rl #page-content [style*="background:rgba(40,140,80,0.15)"]:not(.online-dot),.saphira-rl #page-content [style*="background: rgba(40,140,80,0.15)"]:not(.online-dot) { background:#e6d2ac!important; border-color:#b69a69!important; }
.saphira-rl #page-content [style*="background:rgba(60,160,220,0.15)"]:not(.online-dot),.saphira-rl #page-content [style*="background: rgba(60,160,220,0.15)"]:not(.online-dot) { background:#e6d2ac!important; border-color:#b69a69!important; }
.saphira-rl #page-content :is(.bz-cn,.dl-howto ol li span,.topexp-name a) { color:#795000!important; }
.saphira-rl #page-content :is(.dl-howto ol,.dl-howto ol li,.topexp-sublvl,.topexp-empty,.topexp-rank) { color:#69523b!important; }
.saphira-rl #page-content :is(.pkg-bonus,.topexp-lvlg) { color:#315c36!important; }
.saphira-rl #page-content .topexp-exp { color:#492c18!important; }
.saphira-rl #page-content :is(.topexp-tile,.topexp-row) { background:#f3e4c8!important; border-color:#b69a69!important; }
.saphira-rl #page-content :is(.topexp-row:nth-child(even),.topexp-empty) { background:#e6d2ac!important; }
/* Graphic label used by the legacy lost-account button keeps its image. */
.saphira-rl #page-content .BigButton:has(input[type=image]) { background:#e6d2ac!important; border:1px solid #9b7e50!important; }
.saphira-rl #page-content table:has(>tbody>tr[bgcolor]) { border:1px solid #b69a69; border-spacing:0; }
.saphira-rl #page-content table:has(>tbody>tr[bgcolor])>tbody>tr>td { font-size:12px; }
/* Guild list uses its own independent module stylesheet. */
.saphira-rl #page-content :is(.gl-wrap,.gl-name) { color:#492c18!important; }
.saphira-rl #page-content :is(.gl-header,.gl-card,.gl-logo,.gl-empty,.gl-footer,.gl-count) { background:#f3e4c8!important; border-color:#b69a69!important; border-radius:3px; }
.saphira-rl #page-content .gl-header { background:#e6d2ac!important; flex-wrap:wrap; gap:12px; }
.saphira-rl #page-content :is(.gl-header-sub,.gl-desc,.gl-empty,.gl-create-text,.gl-help,.gl-count) { color:#69523b!important; }
.saphira-rl #page-content :is(.gl-found-btn,.gl-view-btn) { background:transparent!important; border:0!important; border-image:url('../images/saphira/button.png') 35 60 fill / 10px 18px / 0 stretch!important; color:#fff0c9!important; padding:12px 18px; font:700 12px/1.4 Georgia,serif; }
.saphira-rl #page-content :is(.gl-found-btn,.gl-view-btn):hover { border-image-source:url('../images/saphira/button-hover.png')!important; }
.saphira-rl #page-content .gl-del-btn { background:#f5dfce!important; color:#8a2921!important; border-color:#a86950!important; }
@media(max-width:600px) {
 .saphira-rl #page-content :is(.gl-card,.gl-create-row,.topexp-wrap) { flex-wrap:wrap; }
 .saphira-rl #page-content .gl-actions { flex-direction:row; }
 .saphira-rl #page-content .topexp-tile { flex-basis:100%; }
}
.saphira-rl #page-content .bz-tbl :is(th,td):nth-child(2),
.saphira-rl #page-content .bz-tbl :is(th,td):nth-child(4) { text-align:right; font-variant-numeric:tabular-nums; }
.saphira-rl #page-content .myaac-table tr.LabelH>td,
.saphira-rl #page-content tr.LabelH>td { background:#493225!important; color:#fff0c9!important; }
.saphira-rl #page-content tr.LabelH>td a { color:#fff0c9!important; }
.saphira-rl #page-content .ex-group-header .ex-group-label { color:#fff0c9!important; }
@media(max-width:600px) {
 /* Account tables are form layout, not data grids: stack their labels. */
 .saphira-rl #page-content #createaccount :is(table,tbody,tr,td) { display:block; box-sizing:border-box; width:100%!important; min-width:0; }
 .saphira-rl #page-content #createaccount :is(input:not([type=radio]):not([type=checkbox]):not([type=hidden]),select) { width:100%; }
 .saphira-rl #page-content #createaccount .LabelV { padding-top:8px; }
 .saphira-rl #page-content #createaccount .TableContent { padding:8px; }
 .saphira-rl #page-content #createaccount .TableContentAndRightShadow { margin-right:0; }
 .saphira-rl #page-content #createaccount .InnerTableContainer { padding:4px; }
}
/* Legacy numeric tables have no module classes. Match their actual structure. */
.saphira-rl #page-content tr[bgcolor]:not([bgcolor="#505050" i]):nth-child(even)>td { background:#e6d2ac!important; }
.saphira-rl #page-content table:has(>tbody>tr>td>form[action$="/houses"])>tbody>tr>:is(td,th):nth-child(2),
.saphira-rl #page-content table:has(>tbody>tr>td>form[action$="/houses"])>tbody>tr>:is(td,th):nth-child(3),
.saphira-rl #page-content table[cellpadding="2"][cellspacing="1"] td { text-align:right; font-variant-numeric:tabular-nums; }
.saphira-rl #page-content table[cellpadding="2"][cellspacing="1"]>tbody>tr:first-child>td { background:#493225!important; color:#fff0c9!important; }
.saphira-rl #page-content .myaac-table:has(a[href*="online?order=level"])>tbody>tr>td:nth-child(4) { text-align:right!important; }

/* Brief 6: shared frame baseline, transparent wordmark and service strip. */
.rl-layout { position:relative; margin-top:190px; gap:10px; align-items:stretch; }
.rl-left,.rl-right,.saphira-rl .Content { gap:10px; }
.rl-left > .rl-header { position:absolute; top:-170px; left:18px; width:350px; max-width:calc(100% - 36px); min-height:0; height:auto; padding:0; margin:0; overflow:visible; }
.rl-left > .rl-header a { width:100%; }
.rl-header img { mask-image:none; -webkit-mask-image:none; filter:drop-shadow(0 2px 9px #dab86866); }
.rl-shortcuts { position:absolute; bottom:calc(100% + 16px); left:368px; right:228px; display:flex; justify-content:flex-end; flex-wrap:wrap; gap:10px; }
.rl-shortcuts > * { display:flex; align-items:center; justify-content:center; width:44px; height:44px;  border-radius:8px;  color:#efd49b;  }
.rl-shortcuts svg { width:26px; height:26px; }
.rl-shortcuts span span,.rl-shortcuts a span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.rl-shortcuts .rl-shortcut-unavailable { opacity:.5; cursor:not-allowed; }
.rl-shortcuts a:hover {  color:#fff1cb; }
.rl-panel,.rl-menu,.saphira-rl .Content .Box { box-sizing:border-box; width:100%; border-width:10px;  }
.saphira-rl .Content > #News { flex:1; }
.saphira-rl #page-content :is(.TableContainer,.Table1,.Table2,.Table3,.Table4,.Table5,.TableContent,.myaac-table,.hs-table,.sp-tbl,.bz-tbl) { width:100%; box-sizing:border-box; }
.saphira-rl #page-content .TableContentContainer { margin:0; }
.saphira-rl #page-content .TableContentAndRightShadow { margin-right:0; }
.saphira-rl #page-content .CaptionContainer { width:100%; }
.saphira-rl #page-content :is(.hs-tabs,.hs-vocs,.sp-tabs,.cb-nav,.bz-nav) { display:flex; flex-wrap:wrap; gap:6px; }
.saphira-rl #page-content :is(.hs-header,.sp-header,.ilib-topbar) { flex-wrap:wrap; gap:10px; }
.saphira-rl #page-content :is(.ilib-grid,.cr-grid) { display:block!important; }
.saphira-rl #page-content :is(.ilib-item,.cr-card) { display:flex!important; align-items:center; gap:12px; width:100%!important; box-sizing:border-box; min-height:56px; padding:8px 12px!important; margin:0!important; border-radius:0!important; border-bottom:1px solid #b69a69!important; text-align:left!important; }
.saphira-rl #page-content :is(.ilib-item,.cr-card):nth-child(even) { background:#e6d2ac!important; }
.saphira-rl #page-content .ilib-item img { width:32px; height:32px; object-fit:contain; }
@media(max-width:900px) {
 .rl-layout { margin-top:16px; gap:10px; }
 .rl-left > .rl-header { position:static; width:350px; max-width:100%; margin:0 auto; }
 .rl-shortcuts { position:static; order:1; width:100%; justify-content:center; }
 .rl-left { order:0; } .rl-layout > main { order:2; } .rl-right { order:3; }
 .rl-menu { order:0; }
 .saphira-rl #page-content :is(.shop-grid,.prem-grid,.pkg-grid,.mount-grid,.ex-weapons-grid) { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:480px) {
 .saphira-rl #page-content :is(.shop-grid,.prem-grid,.pkg-grid,.mount-grid,.ex-weapons-grid) { grid-template-columns:minmax(0,1fr); }
 .saphira-rl #page-content :is(.cb-flt-row,.bz-flt,.hs-filter) { flex-wrap:wrap; }
 .saphira-rl #page-content .BoxContent { padding:10px; }
}
/* Library rows retain the module's tooltips and filters. */
.saphira-rl #page-content .ilib-item { flex-direction:row!important; }
.saphira-rl #page-content .ilib-item .iname { flex:1; max-width:none; text-align:left; font-size:12px; }
.saphira-rl #page-content .ilib-item .iid { min-width:48px; text-align:right; }
.saphira-rl #page-content .cr-img-box { margin:0; }
.saphira-rl #page-content .NewsHeadlineBackground {  color:#fff0c9;  }
.saphira-rl #page-content #NewsTicker .Row { padding:7px 0; border-bottom:1px solid #cdb68e; }
.saphira-rl #page-content #NewsTicker .NewsTickerShortText { height:auto; min-height:18px; padding-right:20px; }
@media(max-width:600px) {
 .saphira-rl #page-content #NewsTicker .NewsTickerDate { position:static; float:none; }
 .saphira-rl #page-content #NewsTicker :is(.NewsTickerShortText,.NewsTickerFullText) { margin-left:0; }
}
/* Inline legacy heading labels must not add a second cell's padding. */
.saphira-rl #page-content span.white { padding:0; background:transparent!important; }
.saphira-rl #page-content td:has(>span.white) { background:#493225!important; color:#fff0c9!important; white-space:nowrap; }
.saphira-rl #page-content td[width="22"] { width:54px; min-width:44px; }
.saphira-rl #page-content td[width="50"] { min-width:64px; }
.saphira-rl #page-content td[width="8%"] { min-width:54px; }
/* Brief 7: gold actions, crimson registration, compact logo and inset plaques. */
.rl-layout { margin-top:125px; }
.rl-left > .rl-header { position:absolute; width:250px; max-width:none; top:-100px; left:0; z-index:2; }
.rl-header img { filter:drop-shadow(0 2px 4px #0009); }
.rl-panel h2,.rl-menu summary,.rl-content-title { width:calc(100% - 36px); margin:8px 18px 0;  padding:10px 5px; min-height:44px; }
.rl-menu summary { padding-inline:18px; }
.rl-panel a,.rl-count { color:#795000; }
.rl-panel a:hover { color:#684300; text-decoration:underline; }
.rl-menu a,.rl-menu a[aria-current],.rl-menu a:hover,#Footer a { color:#e8c46a; }
.rl-shortcuts > * { color:#2b1a08;   }
.rl-shortcuts a:hover { color:#2b1a08;  }
.saphira-rl #page-content a:hover { text-decoration:underline; }
@media(max-width:900px) {
 .rl-layout { margin-top:115px; }
 .rl-left > .rl-header { position:absolute; top:-100px; left:50%; transform:translateX(-50%); width:250px; margin:0; }
}

.saphira-rl .rl-panel a[href$="account/create"],.saphira-rl #page-content #createaccount input[type=submit],.saphira-rl #page-content #createaccount button[type=submit] { display:flex; align-items:center; justify-content:center; box-sizing:border-box; width:160px; max-width:100%; min-height:44px; margin:0 auto 10px; padding:11px 18px;      font:700 12px/1.4 Georgia,serif; text-decoration:none; }
.rl-skip { color:#795000; }
.saphira-rl #Footer,.saphira-rl #Footer a { color:#e8c46a!important; text-shadow:0 1px 2px #000; }
.rl-left > .rl-header { top:-80px; }
@media(max-width:900px) { .rl-left > .rl-header { top:-80px; } }
.saphira-rl #page-content :is([style*="color:#607080" i],[style*="color: #607080" i]) { color:#795000!important; }
/* Brief 8: reference geometry at 1920px / 100%, original Saphira artwork. */
@font-face {font-family:MedievalSharp;src:url('../fonts/MedievalSharp.ttf') format('truetype');font-display:swap}
.rl-layout {grid-template-columns:170px minmax(0,855px) 175px;max-width:1250px;gap:25px;padding:0;margin:160px auto 28px;align-items:start;width:calc(100% - 32px)}
.rl-left,.rl-right {display:flex;flex-direction:column;gap:16px;grid-column:auto;grid-row:auto}
.rl-left > .rl-header {width:220px;top:-145px;left:-25px;max-width:none}
.rl-panel,.rl-menu,.saphira-rl .Content .Box {margin:0;border-width:7px;}
.rl-panel h2,.rl-menu summary,.rl-content-title {box-sizing:border-box;width:100%;margin:0;min-height:30px;padding:5px 4px;font:400 19px/20px MedievalSharp,Georgia,serif;overflow:hidden}
.rl-menu summary {font-size:18px;list-style:none;display:flex;align-items:center;gap:4px;text-align:left;letter-spacing:-.5px}
.rl-menu summary::-webkit-details-marker {display:none}
.rl-category-icon {font:16px Georgia;color:#e4bd61;text-shadow:1px 1px #000}
.rl-menu-links {padding:0 2px;}
.rl-menu a {font:700 12px/17px Verdana,Tahoma,sans-serif;padding:2px 4px;min-height:21px;box-sizing:border-box}
.rl-menu a[aria-current]::before {content:'> ';}
.rl-panel-body {padding:8px 5px;font:12px/1.4 Verdana,Tahoma,sans-serif}
.rl-login h2 {display:none}
.rl-login .rl-panel-body {padding:4px}
.saphira-rl .rl-panel a.rl-button {width:100%;min-height:30px;height:auto;padding:7px 3px;margin:0;font:700 13px/16px Verdana,Tahoma,sans-serif}
.saphira-rl .rl-login a[href$='account/create'] {width:100%;min-height:20px;margin:3px 0 0;padding:3px;font:700 11px/14px Verdana,Tahoma,sans-serif;border-image-width:3px!important}
.rl-download .rl-panel-body {padding:5px 4px}
.saphira-rl .Content {display:flex;flex-direction:column;gap:20px}
.saphira-rl .Content > #News {flex:none}
.rl-shortcuts {position:static;box-sizing:border-box;display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:12px;width:100%;min-height:40px;padding:6px 10px;}
.rl-shortcuts > * {width:auto;height:20px;gap:4px;border-radius:0;color:#ffe9bd;font:700 11px Verdana,sans-serif}
.rl-shortcuts svg {width:18px;height:18px}
.rl-shortcuts span span,.rl-shortcuts a span {position:static;clip-path:none;width:auto;height:auto;overflow:visible}
.rl-shortcuts .rl-shortcut-unavailable {opacity:.75}
.rl-shortcuts .rl-online {margin-left:auto;color:#ffe9bd}
.rl-shortcuts a:hover {color:#fff}
.rl-store .rl-panel-body {text-align:center}
.rl-store img {display:block;object-fit:contain;width:120px;height:100px;margin:0 auto 5px}
.saphira-rl .rl-store a.rl-button {font-size:11px}
.rl-networks .rl-panel-body {display:flex;justify-content:center;gap:10px}
.rl-networks span {display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;background:#6c261d;color:#f3d68d;font:bold 22px Georgia;opacity:.75}
.saphira-rl .Content .BoxContent {padding:12px;font:13px/1.35 Verdana,Tahoma,sans-serif}
.saphira-rl #page-content .NewsHeadlineBackground {color:#fff0c9!important;min-height:28px;display:flex;align-items:center;gap:4px;padding:3px 6px;box-sizing:border-box}
.saphira-rl #page-content .NewsHeadlineDate,.saphira-rl #page-content .NewsHeadlineText {position:static;float:none;color:#fff0c9!important;font:700 13px/18px Verdana,Tahoma,sans-serif;margin:0}
.saphira-rl #page-content .NewsHeadlineIcon {width:18px;height:18px;position:static}
.saphira-rl #page-content .NewsHeadline {height:auto;min-height:30px}
.rl-ticker-list {list-style:none;margin:0;padding:5px 7px}
.rl-ticker-list li {display:flex;gap:5px;font:12px/21px Verdana,sans-serif;border-bottom:1px solid #b89f79}
.rl-ticker-list a {white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.rl-ticker-list li::before {content:'â—†';color:#705021}
@media(max-width:900px) {
 .rl-layout {display:flex;flex-direction:column;width:calc(100% - 24px);padding:0;margin:12px auto 24px;gap:16px}
 .rl-left,.rl-right,.rl-layout > main {width:100%;order:initial}
 .rl-left > .rl-header {position:static;transform:none;width:220px;margin:0 auto;max-width:100%}
 .rl-shortcuts {order:initial;gap:8px}
 .rl-menu-links {display:block}
 .rl-panel h2,.rl-menu summary,.rl-content-title {font-size:19px}
 .rl-ticker-list a {white-space:normal}
}
.rl-menu summary::before {display:none}
.rl-menu a[aria-current] {padding-left:14px}
.saphira-rl #page-content .rl-shortcuts a {color:#ffe19a}
.saphira-rl #page-content .rl-content-title {font:400 20px/20px MedievalSharp,Georgia,serif!important;text-align:left;letter-spacing:0!important;padding-left:12px;text-shadow:0 1px 2px #000!important}
.saphira-rl #page-content .BoxContent :is(p,li,td),.saphira-rl #page-content .rl-ticker-list a {font-family:Verdana,Tahoma,sans-serif}
/* Green enamel behind the restored engraved wooden rails. */
.saphira-rl #page-content .rl-content-title {position:relative;isolation:isolate}
.saphira-rl #page-content .rl-content-title::before {content:'';position:absolute;inset:5px 23px;opacity:.65;mix-blend-mode:screen;z-index:-1;pointer-events:none}
@media(max-width:900px) {.rl-menu {order:0}}
.saphira-rl #page-content #newsticker .Row {padding:0;min-height:21px}
.saphira-rl #page-content #newsticker .NewsTickerShortText {height:21px;line-height:21px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding-right:20px}
.saphira-rl #page-content #newsticker .BoxContent {padding:6px}
@media(max-width:600px) {
 .saphira-rl #page-content #newsticker .NewsTickerDate {position:static;float:none}
 .saphira-rl #page-content #newsticker :is(.NewsTickerShortText,.NewsTickerFullText) {margin-left:0}
}

/* Brief 9 / iteration 1: reference rails and thin inset caption frames. */
.saphira-rl #page-content :is(.CaptionContainer,.hs-title,.cb-head,.bz-hdr,.ex-group-header,.topexp-hdr) {
   
  border-radius:0!important;
  padding:6px 10px!important;
}
.saphira-rl #page-content :is(thead th,thead td,th,tr.LabelH>td,tr[bgcolor="#505050" i]>td,td:has(>span.white)) {
 box-shadow:inset 0 1px #d7b98b,inset 0 -1px #c5a371; border-top:1px solid #39291e!important;border-bottom:1px solid #39291e!important;
}
.saphira-rl #page-content .CaptionContainer {position:relative}
.saphira-rl #page-content .CaptionContainer::after {content:'';position:absolute;inset:3px;pointer-events:none;}
.rl-menu summary {min-height:32px;font-size:20px;padding:4px 6px}
.rl-menu a {font-size:12px;line-height:17px}
.saphira-rl #page-content .rl-content-title {text-align:left!important;padding:3px 8px!important;min-height:28px}
.rl-shortcuts {min-height:40px}
.saphira-rl #page-content .NewsHeadlineBackground {padding:4px 10px;min-height:32px}

/* Brief 9 / iteration 2: media boxes and reference heading alignment. */
.saphira-rl #page-content .rl-content-title {justify-content:flex-start!important;font-size:23px!important}
.rl-menu summary {justify-content:flex-start}
.rl-client .rl-panel-body,.rl-screenshots .rl-panel-body {padding:3px}
.rl-client img,.rl-screenshots img {display:block;width:100%;height:100px;object-fit:cover}
.rl-client a {display:block;position:relative}
.rl-media-label {position:absolute;bottom:0;left:0;right:0;padding:4px;background:#1a100dcc;color:#ffe3a2;font-weight:bold;text-align:center}
.rl-gallery-empty {min-height:100px;display:flex;align-items:center;justify-content:center;padding:8px;box-sizing:border-box}
.rl-poll p {font-weight:bold;margin:5px 0 20px}
.rl-right {gap:16px}
.rl-right .rl-panel h2 {min-height:28px;padding:3px 2px;font-size:18px}
.rl-login,.rl-download {background:#302e25 url('../images/saphira/header.png') center/100% 100%}
.saphira-rl .rl-login a.rl-button,.saphira-rl .rl-download a.rl-button {font-size:19px}
.rl-left > .rl-header {top:-155px;width:220px}

/* Brief 9 / iteration 3: consistent vertical rhythm, compact article/caption rails. */
@media(min-width:901px) {
 .saphira-rl #page-content :is(#NewsTicker,#newsticker) {min-height:150px}
 .rl-layout {grid-template-columns:170px minmax(0,855px) 175px}
}
.saphira-rl #page-content :is(td.white,td[bgcolor="#505050" i]) {
 
 color:#fff0c9!important;padding:6px 10px;
}
.rl-ticker-list {padding:5px 7px}
.rl-ticker-list li {font-size:13px;font-weight:400}
.saphira-rl #page-content .rl-ticker-list a {font-weight:400;color:#654019}
.rl-ticker-list li::before {content:'\25C6';font-size:10px}
.rl-menu summary::after {content:'+';margin-left:auto;font:12px Verdana;color:#c9ad70}
.rl-menu details[open]>summary::after {content:'\2212'}
.rl-menu a {border-bottom:1px solid #57706755}
.rl-panel h2 {letter-spacing:-.5px}
.saphira-rl #page-content .NewsHeadlineDate {font-size:10px}
.saphira-rl #page-content .NewsHeadlineText {font-size:13px}

/* Brief 9 / review: single-line category rails and legacy caption corners. */
.rl-menu summary {font-size:18px;white-space:nowrap;gap:3px;padding-inline:4px;letter-spacing:-.6px}
.rl-category-icon {font-size:12px;flex-shrink:0}
.rl-menu summary::after {position:static;flex-shrink:0}
.rl-shortcuts {padding-block:4px}
.saphira-rl .Content {gap:18px}
.rl-left {gap:12px}
@media(min-width:901px) {.saphira-rl #page-content :is(#NewsTicker,#newsticker) {min-height:153px}}
.saphira-rl #page-content .rl-shortcuts > * {font-family:Verdana,Tahoma,sans-serif!important}
.saphira-rl #page-content :is(.NewsHeadlineDate,.NewsHeadlineText) {font-family:Verdana,Tahoma,sans-serif!important;letter-spacing:0!important}
.saphira-rl #page-content :is(td.white,td[bgcolor="#505050" i]) {position:relative}
.saphira-rl #page-content :is(td.white,td[bgcolor="#505050" i])::after {
 content:'';position:absolute;inset:3px;pointer-events:none;
 
}


/* Brief 11: imagegen artwork; dimensions remain in CSS, decoration lives in PNGs. */
.rl-panel,.rl-menu,.saphira-rl .Content .Box {
 border:7px solid transparent; border-image:url('../images/ui11/frame.png') 40 / 8px / 0 stretch;
 background:url('../images/ui11/parchment.png') repeat; box-shadow:none;
}
.saphira-rl .Content .BoxContent {background:url('../images/ui11/parchment.png') repeat}
.rl-panel::after,.rl-menu::before,.rl-menu::after {display:none}
.rl-panel h2,.rl-menu summary,.saphira-rl #page-content .rl-content-title {
 background:transparent!important;border:0;border-image:var(--rl-green-rail) 1 fill / 4px 14px / 0 stretch!important;
 box-shadow:none!important;outline:none;filter:none!important;
}
.rl-menu summary {font-size:16px;letter-spacing:-.6px;gap:3px;padding-inline:2px}
.saphira-rl #page-content .rl-content-title::before {display:none}
.rl-menu,.rl-menu-links,.rl-login,.rl-download {background:url('../images/ui11/menu.png') repeat}
.rl-menu a,.rl-ranking li,.rl-ticker-list li {border:0;background-image:url('../images/ui11/separator.png');background-repeat:repeat-x;background-position:left bottom;background-size:128px 1px}
.rl-menu a:hover,.rl-menu a[aria-current] {background-color:#426047}
.rl-category-icon {display:inline-block;width:24px;height:24px;flex:0 0 24px;background:center/contain no-repeat;font-size:0;text-shadow:none}
.rl-menu summary::after {content:'';display:block;width:12px;height:12px;background:url('../images/ui11/icon-plus.png') center/contain no-repeat}
.rl-menu details[open]>summary::after {content:'';background-image:url('../images/ui11/icon-minus.png')}
.rl-shortcuts,.saphira-rl #page-content .NewsHeadlineBackground {
 background:transparent!important;border:6px solid transparent!important;border-image:url('../images/ui11/red.png') 12 45 fill / 4px 14px / 0 stretch!important;
 box-shadow:none!important;outline:none!important;
}
.rl-shortcuts {min-height:40px;padding:4px 10px}
.saphira-rl #page-content .NewsHeadlineBackground {border-width:0!important}
.rl-shortcuts svg {display:none}
.rl-shortcuts > :not(.rl-online)::before {content:'';display:block;width:24px;height:24px;flex:0 0 24px;background:var(--social-icon) center/contain no-repeat}
.rl-shortcuts > :nth-child(1) {--social-icon:url('../images/ui11/icon-discord.png')}
.rl-shortcuts > :nth-child(2) {--social-icon:url('../images/ui11/icon-facebook.png')}
.rl-shortcuts > :nth-child(3) {--social-icon:url('../images/ui11/icon-youtube.png')}
.rl-shortcuts > a[title='Download Client'] {--social-icon:url('../images/ui11/icon-download.png')}
.rl-shortcuts > a[title='Webshop'] {--social-icon:url('../images/ui11/icon-webshop.png')}
.rl-networks .rl-panel-body > span {font-size:0;background:transparent center/contain no-repeat;width:28px;height:28px;opacity:1}
.rl-networks .rl-panel-body > span:nth-child(1) {background-image:url('../images/ui11/icon-facebook.png')}
.rl-networks .rl-panel-body > span:nth-child(2) {background-image:url('../images/ui11/icon-youtube.png')}
.rl-networks .rl-panel-body > span:nth-child(3) {background-image:url('../images/ui11/icon-discord.png')}
.rl-store h2::before {content:'';display:inline-block;width:22px;height:22px;vertical-align:middle;margin-right:3px;background:url('../images/ui11/icon-webshop.png') center/contain no-repeat}
.saphira-rl #page-content :is(.CaptionContainer,.hs-title,.cb-head,.bz-hdr,.ex-group-header,.topexp-hdr,td.white,td[bgcolor="#505050" i]) {
 background:transparent!important;border:0!important;border-image:var(--rl-green-rail) 1 fill / 3px 12px / 0 stretch!important;outline:none!important;box-shadow:none!important;color:#ffe4aa!important;
}
.saphira-rl #page-content :is(.CaptionContainer,td.white,td[bgcolor="#505050" i])::after {display:none}
.saphira-rl #page-content :is(thead th,thead td,th,tr.LabelH>td,tr[bgcolor="#505050" i]>td,td:has(>span.white)) {box-shadow:none;border:0!important;background-image:var(--rl-green-rail)!important;background-size:100% 100%!important}
.saphira-rl .Content hr,.rl-demo-article + .rl-demo-article {background-image:url('../images/ui11/separator.png');background-size:min(75%,360px) 8px}
.rl-login {position:relative;isolation:isolate;overflow:visible}
.rl-login::before {content:'';display:block;position:absolute;pointer-events:none;z-index:-1;width:170px;height:58px;left:50%;right:auto;top:-53px;transform:translateX(-50%);background:url('../images/ui11/collar.png') center bottom/100% 100% no-repeat;border:0;box-shadow:none}
@media(max-width:900px) {.rl-left > .rl-header {margin-bottom:20px}}
.rl-menu details:nth-of-type(1) .rl-category-icon {background-image:url('../images/ui11/icon-news.png')}
.rl-menu details:nth-of-type(2) .rl-category-icon {background-image:url('../images/ui11/icon-about.png')}
.rl-menu details:nth-of-type(3) .rl-category-icon {background-image:url('../images/ui11/icon-account.png')}
.rl-menu details:nth-of-type(4) .rl-category-icon {background-image:url('../images/ui11/icon-community.png')}
.rl-menu details:nth-of-type(5) .rl-category-icon {background-image:url('../images/ui11/icon-bazaar.png')}
.rl-menu details:nth-of-type(6) .rl-category-icon {background-image:url('../images/ui11/icon-library.png')}
.rl-menu details:nth-of-type(7) .rl-category-icon {background-image:url('../images/ui11/icon-shop.png')}
.rl-menu details:nth-of-type(8) .rl-category-icon {background-image:url('../images/ui11/icon-support.png')}
:is(.saphira-rl #page-content :is(button,input[type=submit],input[type=button],input[type=reset],.hs-tab,.hs-voc-btn,.hs-pg,.sp-tab,.sp-pages a,.sp-pages .cur,.cr-pages a,.cr-pages .cur,.ilib-pager a,.ilib-pager .cur,.reset-btn,.cb-nav a,.bz-nav a,.cb-pg,.cb-list-btn,.cb-buy-btn,.shop-card-btn,.pay-proceed,.dl-btn,.ex-tier-btn,.gl-found-btn,.gl-view-btn,.gl-del-btn,.pay-btn),.saphira-rl .rl-panel a:is(.rl-button,[href$="account/create"],[href$="account/logout"])) {
 --button-normal:url('../images/ui13/button-medium-normal.png');--button-hover:url('../images/ui13/button-medium-hover.png');--button-active:url('../images/ui13/button-medium-active.png');
 box-sizing:border-box;border:0!important;border-radius:0!important;background:transparent!important;
 border-image:var(--button-normal) 6 10 fill / 3px 3px / 0 stretch!important;
 box-shadow:none!important;outline:none!important;filter:none!important;transform:none!important;
 color:#f5d36a!important;text-shadow:1px 1px 1px #071021,-1px -1px 1px #071021!important;
 font-weight:700!important;text-align:center;padding:5px 10px;min-height:30px;text-decoration:none;transition:none;
}
:is(.saphira-rl #page-content :is(button,input[type=submit],input[type=button],input[type=reset],.hs-tab,.hs-voc-btn,.hs-pg,.sp-tab,.sp-pages a,.sp-pages .cur,.cr-pages a,.cr-pages .cur,.ilib-pager a,.ilib-pager .cur,.reset-btn,.cb-nav a,.bz-nav a,.cb-pg,.cb-list-btn,.cb-buy-btn,.shop-card-btn,.pay-proceed,.dl-btn,.ex-tier-btn,.gl-found-btn,.gl-view-btn,.gl-del-btn,.pay-btn),.saphira-rl .rl-panel a:is(.rl-button,[href$="account/create"],[href$="account/logout"])):is(:hover,:focus-visible) {border-image-source:var(--button-hover)!important}
:is(.saphira-rl #page-content :is(button,input[type=submit],input[type=button],input[type=reset],.hs-tab,.hs-voc-btn,.hs-pg,.sp-tab,.sp-pages a,.sp-pages .cur,.cr-pages a,.cr-pages .cur,.ilib-pager a,.ilib-pager .cur,.reset-btn,.cb-nav a,.bz-nav a,.cb-pg,.cb-list-btn,.cb-buy-btn,.shop-card-btn,.pay-proceed,.dl-btn,.ex-tier-btn,.gl-found-btn,.gl-view-btn,.gl-del-btn,.pay-btn),.saphira-rl .rl-panel a:is(.rl-button,[href$="account/create"],[href$="account/logout"])):is(:active,.active,.on,.cur,.selected,[aria-pressed=true]) {border-image-source:var(--button-active)!important}
:is(.saphira-rl #page-content :is(button,input[type=submit],input[type=button],input[type=reset],.hs-tab,.hs-voc-btn,.hs-pg,.sp-tab,.sp-pages a,.sp-pages .cur,.cr-pages a,.cr-pages .cur,.ilib-pager a,.ilib-pager .cur,.reset-btn,.cb-nav a,.bz-nav a,.cb-pg,.cb-list-btn,.cb-buy-btn,.shop-card-btn,.pay-proceed,.dl-btn,.ex-tier-btn,.gl-found-btn,.gl-view-btn,.gl-del-btn,.pay-btn),.saphira-rl .rl-panel a:is(.rl-button,[href$="account/create"],[href$="account/logout"])):focus-visible {text-decoration:underline!important;text-underline-offset:3px}
.saphira-rl :is(.rl-login,.rl-download) a.rl-button {--button-normal:url('../images/ui13/button-large-normal.png');--button-hover:url('../images/ui13/button-large-hover.png');--button-active:url('../images/ui13/button-large-active.png');padding:4px 3px;min-height:30px}
.saphira-rl #page-content :is(.hs-tab,.hs-voc-btn,.hs-pg,.sp-tab,.cb-pg),.saphira-rl .rl-panel a[href$="account/create"] {--button-normal:url('../images/ui13/button-small-normal.png');--button-hover:url('../images/ui13/button-small-hover.png');--button-active:url('../images/ui13/button-small-active.png');min-height:26px;padding:3px 8px}
.saphira-rl #page-content .pay-btn :is(.pay-btn-name,.pay-btn-desc) {color:#f5d36a!important;text-shadow:1px 1px #071021!important}
/* Size-specific sources override the shared action selector without changing geometry. */
.saphira-rl :is(.rl-login,.rl-download) a.rl-button {--button-normal:url('../images/ui13/button-large-normal.png')!important;--button-hover:url('../images/ui13/button-large-hover.png')!important;--button-active:url('../images/ui13/button-large-active.png')!important}
.saphira-rl #page-content :is(.hs-tab,.hs-voc-btn,.hs-pg,.sp-tab,.cb-pg),.saphira-rl .rl-panel a[href$="account/create"] {--button-normal:url('../images/ui13/button-small-normal.png')!important;--button-hover:url('../images/ui13/button-small-hover.png')!important;--button-active:url('../images/ui13/button-small-active.png')!important}
.saphira-rl #page-content :is(button,input[type=submit],input[type=button],.hs-tab,.hs-voc-btn,.hs-pg,.sp-tab,.cb-pg,.pay-btn):is(:hover,:active,:focus-visible,.active,.on,.selected) {color:#f5d36a!important;filter:none!important;box-shadow:none!important;outline:none!important}
/* Module panels and table surfaces use the same generated material set. */
.saphira-rl #page-content :is(.myaac-table,.hs-table,.sp-tbl,.bz-tbl)>tbody>tr>td,.saphira-rl #page-content tr[bgcolor]>td {background:#f2e3c5 url('../images/ui11/parchment.png') repeat!important;color:var(--rl-ink)}
.saphira-rl #page-content :is(.BoxContent>h2,.store-page-title,.prem-page-title,.ex-page-title,.shop-header h1,.dl-title,.dl-howto-title,.pay-title) {background:transparent!important;border:0!important;border-image:var(--rl-green-rail) 1 fill / 3px 12px / 0 stretch!important;box-shadow:none!important;color:#ffe4aa!important}
.saphira-rl #page-content :is(.cb-flt,.cb-card,.cb-empty,.bz-flt,.dl-card,.dl-howto,.shop-card,.service-box,.service-price-box,.notice-box,.pkg-card,.prem-card,.mount-card,.ex-card,.ex-group,.pay-section,.pay-summary,.cr-sidebar,.cr-card,.ilib-item,.TableContainer) {background:url('../images/ui11/parchment.png') repeat!important;border:1px solid transparent!important;border-image:url('../images/ui11/frame.png') 40 / 4px / 0 stretch!important;box-shadow:none!important;border-radius:0!important}
.saphira-rl #page-content .NewsHeadline ~ div[style*='border'] {border-image:url('../images/ui11/frame.png') 40 / 4px / 0 stretch!important;box-shadow:none!important}
/* Generated title rail replaces legacy corner and edge GIF overlays. */
.saphira-rl #page-content .CaptionInnerContainer > span[class^='Caption'] {display:none!important}
/* Brief 12: measured reference proportions, shared column and heading rhythm. */
.rl-left,.rl-right {gap:16px;min-width:0}
.rl-left {position:relative}
.rl-login h2 {display:none}
.rl-left > :is(.rl-panel,.rl-menu),.rl-right > .rl-panel {box-sizing:border-box;width:100%}
@media(min-width:901px) {
 .rl-layout {grid-template-columns:175px minmax(0,850px) 175px}
 .rl-left > .rl-header {left:50%;transform:translateX(-50%);width:220px;top:-155px}
}
.rl-panel:not(.rl-login) h2,.rl-right .rl-panel h2 {min-height:24px;height:24px;padding:2px 3px;font-size:16px;line-height:20px;letter-spacing:0;display:flex;align-items:center;justify-content:center}
.rl-store h2::before {width:20px;height:20px;flex:0 0 20px}
.rl-menu summary {height:28px;min-height:28px;padding:2px 3px;font-size:16px;line-height:24px;letter-spacing:-.6px}
.rl-menu a {font-size:12px;line-height:17px;min-height:21px;padding:2px 8px}
.rl-menu a[aria-current] {padding-left:8px}
.rl-menu a[aria-current]::before {left:0}
/* Brief 14: graphite category plaques, inset from the outer 7px frame. */
.rl-menu summary {
 width:calc(100% - 2px);margin-inline:1px;
 border-image:none!important;
 background:
  repeating-linear-gradient(113deg,transparent 0 3px,#ffffff06 3px 4px,transparent 4px 7px),
  repeating-linear-gradient(23deg,#00000009 0 1px,transparent 1px 5px),
  linear-gradient(#535656,#353838)!important;
 box-shadow:inset 0 1px #858781,inset 1px 0 #696c68,inset -1px 0 #272a29,inset 0 -1px #202322!important;
 color:#dbc9a5;text-shadow:1px 1px 1px #161918;
}
.rl-menu summary:hover {color:#eadbbb}
.rl-menu summary:focus-visible {outline:1px solid #c9b58b;outline-offset:-2px}
.rl-menu a,.rl-menu a[aria-current] {padding-left:6px}
.saphira-rl #page-content .rl-content-title {height:26px;min-height:26px;font-size:19px!important;line-height:22px!important;padding:2px 4px!important}
.saphira-rl #page-content .NewsHeadlineBackground {height:auto;min-height:24px!important;padding:3px 8px!important;gap:4px}
.saphira-rl #page-content .NewsHeadline {min-height:24px}
.saphira-rl #page-content .NewsHeadlineIcon {width:18px;height:18px;flex:0 0 18px}
.saphira-rl #page-content .NewsHeadlineText {font-size:13px;line-height:18px}
.saphira-rl .rl-login .rl-panel-body {padding:2px 6.5px}
.saphira-rl .rl-download .rl-panel-body {padding:5px 6.5px}
.saphira-rl .rl-login a[href$='account/create'],.saphira-rl .rl-login a[href$='account/logout'] {display:flex;align-items:center;justify-content:center;width:100%;min-height:20px!important;padding:3px!important;margin:2px 0 0;font:700 11px/14px Verdana,sans-serif}
.rl-login {margin-bottom:0}
.rl-shortcuts {min-height:40px;gap:12px;padding:4px 10px;align-items:center}
.rl-shortcuts > * {display:inline-flex;align-items:center;height:20px}
.rl-shortcuts .rl-online {margin-left:auto;white-space:nowrap}
.rl-right .rl-panel-body > a:has(img) {display:block;margin-inline:auto}
.rl-right .rl-panel-body img {margin-inline:auto}
@media(max-width:900px) {
 .rl-left > .rl-header {left:auto;top:auto;transform:none}
 .rl-shortcuts {column-gap:12px;row-gap:8px}
 .rl-shortcuts .rl-online {flex-basis:100%;justify-content:flex-end}
}

.rl-shortcuts > :not(.rl-online)::before {width:20px;height:20px;flex-basis:20px}
.saphira-rl #page-content .rl-shortcuts :is(a,span) {font-family:Verdana,Tahoma,sans-serif!important;letter-spacing:0!important}
.saphira-rl .Content .BoxContent {padding:10px;font-size:13px;line-height:18px}
.rl-ticker-list {padding:5px 10px}
.saphira-rl #page-content :is(.myaac-table,.hs-table,.sp-tbl,.bz-tbl) :is(td,th) {font-family:Verdana,Tahoma,sans-serif!important;font-size:13px!important;line-height:18px;letter-spacing:0!important;padding:3px 8px}
@media(max-width:600px) {
 .saphira-rl #page-content .NewsHeadlineBackground {row-gap:2px}
 .saphira-rl #page-content .NewsHeadlineText {overflow-wrap:anywhere;min-width:0;max-width:100%}
}

/* Brief 15: brighter greens; sampled reference rail #325022 / #264a14.
   Menu intentionally lifted above reference #0d2e2b to the requested range. */
.saphira-rl {
 --rl-green-rail:linear-gradient(to bottom,#78905b 0%,#486b32 12%,#325022 30%,#294719 65%,#3e602b 88%,#718452 100%);
}
.rl-menu,.rl-menu-links,.rl-login,.rl-download {
 background:linear-gradient(100deg,#1b4a3f,#235a4c);
}
.rl-menu a {
 background-image:none;
 box-shadow:inset 0 -1px #548477;
 color:#f1ead6;text-shadow:0 1px 1px #102e26;
}
.rl-menu a:is(:hover,:focus-visible,[aria-current]) {
 background:#306b59;color:#fff6dd;
}

/* Brief 16: thorn suspension outside content and hit areas. */
@media(min-width:901px) {
 .rl-left,.rl-right {position:relative;isolation:isolate}
 .rl-left::before,.rl-left::after,.rl-right::before,.rl-right::after {
  content:'';display:block;position:absolute;top:-10px;bottom:-10px;width:14px;
  pointer-events:none;z-index:3;
  background:url('../images/ui16/top.png') center top / 14px 20px no-repeat,
   url('../images/ui16/bottom.png') center bottom / 14px 20px no-repeat,
   url('../images/ui16/tile.png') center top / 12px auto repeat-y;
 }
 .rl-left::before,.rl-right::before {left:-8px}
 .rl-left::after,.rl-right::after {right:-8px;transform:scaleX(-1)}
 .rl-left > :is(.rl-panel,.rl-menu),.rl-right > .rl-panel {position:relative;overflow:visible}
 .rl-left > :is(.rl-panel,.rl-menu)::after,.rl-right > .rl-panel::after {
  content:'';display:block;position:absolute;inset:-15px;height:auto;
  pointer-events:none;z-index:4;
  /* Brief 17: full-width gold caps; first/last panels also finish the columns. */
  background:url('../images/ui17/top.png') center 3px / calc(100% - 8px) 16px no-repeat,
   url('../images/ui17/bottom.png') center calc(100% - 3px) / calc(100% - 8px) 14px no-repeat,
   url('../images/ui16/clasp.png') left top / 18px 18px no-repeat,
   url('../images/ui16/clasp.png') right top / 18px 18px no-repeat,
   url('../images/ui16/clasp.png') left bottom / 18px 18px no-repeat,
   url('../images/ui16/clasp.png') right bottom / 18px 18px no-repeat;
 }
 .rl-left > :is(.rl-panel,.rl-menu) + :is(.rl-panel,.rl-menu)::before,
 .rl-right > .rl-panel + .rl-panel::before {
  content:'';display:block;position:absolute;left:-12px;right:-12px;top:-23px;
  height:16px;pointer-events:none;z-index:4;
  background:url('../images/ui16/connector.png') left center / 12px 26px no-repeat,
   url('../images/ui16/connector.png') right center / 12px 26px no-repeat;
 }
}

/* 28.11 user: znacznik aktywnej pozycji menu nie może być zakryty – odsunięcie od lewej ścianki */
.saphira-rl .rl-menu a {padding-left:17px!important;position:relative}
.saphira-rl .rl-menu a[aria-current] {padding-left:17px!important}
.saphira-rl .rl-menu a[aria-current]::before {position:absolute;left:3px!important;top:50%;transform:translateY(-50%);content:'>'!important}

/* Brief 18: section rails, compact tables and working local filters.
   The outer title remains green; inner section titles are brown. */
.saphira-rl #page-content [hidden] {display:none!important}
.saphira-rl #page-content .rl-module {margin:0 0 16px;padding:0;border:1px solid #785b3c;background:#f1e0c6;min-width:0;font:13px/18px Verdana,sans-serif;color:#33291f}
.saphira-rl #page-content .rl-section-title,
.saphira-rl #page-content .CaptionContainer {
 background:linear-gradient(#806143,#59402c)!important;color:#fff0cd!important;
 min-height:26px;margin:0;padding:4px 8px!important;border-bottom:1px solid #3d291c;
 font:700 13px/18px Verdana,sans-serif!important;text-align:left;text-shadow:0 1px #362419;
}
.saphira-rl #page-content .CaptionContainer .Text {color:#fff0cd!important}
.saphira-rl #page-content .rl-module > :not(.rl-section-title):not(.rl-table-scroll) {margin:10px}
.saphira-rl #page-content .rl-filter {display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;padding:8px;background:#e5d1b3}
.saphira-rl #page-content .rl-filter label {display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-weight:bold}
.saphira-rl #page-content .rl-filter input {width:220px;max-width:100%}
.saphira-rl #page-content .rl-select-label {display:inline-flex;align-items:center;gap:8px;padding:8px;font:700 13px/18px Verdana,sans-serif;color:#33291f}
.saphira-rl #page-content .rl-result-count {font-size:11px;font-weight:normal;flex-basis:100%}
.saphira-rl #page-content .rl-alphabet {display:flex;flex-wrap:wrap;gap:4px;flex-basis:100%}
.saphira-rl #page-content .rl-alphabet button {min-width:24px;padding:2px 5px!important}
.saphira-rl #page-content .rl-table-scroll {max-width:100%;overflow-x:auto}
.saphira-rl #page-content .rl-data-table {width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.saphira-rl #page-content .rl-data-table :is(td,th) {padding:4px 8px!important;font:13px/18px Verdana,sans-serif!important;text-align:left;border-bottom:1px solid #c8ae89}
.saphira-rl #page-content .rl-data-table tbody tr:nth-child(odd) > * {background:#f1e0c6!important;color:#33291f!important}
.saphira-rl #page-content .rl-data-table tbody tr:nth-child(even) > * {background:#dfc7a4!important;color:#33291f!important}
.saphira-rl #page-content .rl-data-table thead th {background:#a5855f!important;color:#201810!important;font-weight:bold!important;white-space:nowrap}
.saphira-rl #page-content .rl-data-table .rl-sort-button {background:none!important;border:0!important;border-image:none!important;box-shadow:none!important;color:inherit!important;text-shadow:none!important;padding:0!important;margin:0;min-height:0!important;width:auto;font:inherit!important;text-align:left}
.saphira-rl #page-content th[aria-sort='ascending'] .rl-sort-button::after {content:' ↑'}
.saphira-rl #page-content th[aria-sort='descending'] .rl-sort-button::after {content:' ↓'}
.saphira-rl #page-content :is(.gl-grid,.shop-grid) {gap:0;grid-template-columns:1fr}
.saphira-rl #page-content .gl-card {border-radius:0!important;border-bottom:1px solid #b79a74!important}
.saphira-rl #page-content .shop-card {display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;border-radius:0!important;border-bottom:1px solid #b79a74!important}
.saphira-rl #page-content .shop-card-img-wrap {height:80px!important;min-height:0}
.saphira-rl #page-content .shop-card-img-wrap img {max-height:70px;width:auto}
.saphira-rl #page-content .shop-card-body {padding:8px 12px!important}
@media(max-width:600px) {
 .saphira-rl #page-content .rl-filter {align-items:stretch}
 .saphira-rl #page-content .rl-filter label {width:100%}
 .saphira-rl #page-content .rl-select-label {display:flex;flex-wrap:wrap}
}

/* 28.11 user: zakladki bazaru precz (nawigacja w lewym menu jak tibia.com) */
.cb-nav{display:none!important}

/* BRIEF_WSZYSTKO: isolated inner-page skin, intentionally after legacy !important rules.
   sph-page is emitted only for the requested routes; no Char Bazaar selectors. */
.saphira-rl #page-content .sph-page {--rl-ink:#5a2800;--rl-muted:#5a2800;--rl-paper:#f1e0c6;--rl-alt:#d4c0a1;--rl-line:#5f4d41;--rl-gold:#004294;color:#5a2800!important;font:12px/1.5 Verdana,Arial,sans-serif!important}
.saphira-rl #page-content .sph-page :is(p,div,span,td,th,label,li,a,h1,h2,h3,h4,strong,b,small) {font-family:Verdana,Arial,sans-serif!important;letter-spacing:normal!important;text-shadow:none!important}
.saphira-rl #page-content .sph-page :is(p,div,span,td,th,label,li,small) {color:#5a2800;font-size:12px}
.saphira-rl #page-content .sph-page a {color:#004294!important;font-weight:bold!important;text-decoration:none}
.saphira-rl #page-content .sph-page a:hover {text-decoration:underline}
.saphira-rl #page-content .sph-page :is(.tbx,.TableContainer,.rl-module) {margin:0 0 12px;padding:0;border:1px solid #5f4d41!important;border-image:none!important;background:#f1e0c6!important;box-shadow:none!important;border-radius:0!important;min-width:0}
.saphira-rl #page-content .sph-page :is(.tbx-cap,.CaptionContainer,.rl-section-title,.topexp-hdr,.hs-title,.store-page-title,.prem-page-title,.ex-page-title,.pay-title,.dl-title,.dl-howto-title,.ex-group-header,.shop-header h1,.ilib-header h2) {margin:0 0 0!important;padding:4px 10px!important;min-height:0!important;background:#5f4d41!important;border:0!important;border-bottom:1px solid #3a2a1a!important;border-image:none!important;border-radius:0!important;color:#fff!important;font:700 12px/18px Verdana,Arial,sans-serif!important;text-align:left!important;box-shadow:none!important}
.saphira-rl #page-content .sph-page :is(.tbx-cap,.CaptionContainer,.rl-section-title,.ex-group-header) :is(span,div,b,strong,h2) {color:#fff!important;font-size:12px!important}
.saphira-rl #page-content .sph-page :is(.InnerTableContainer,.TableContentContainer,.TableContentAndRightShadow,.Table1,.Table2,.Table3,.Table4,.Table5) {background:#f1e0c6!important;border-image:none!important;border-color:#5f4d41!important;box-shadow:none!important}
.saphira-rl #page-content .sph-page .InnerTableContainer {padding:6px}
.saphira-rl #page-content .sph-page table {max-width:100%;border-collapse:collapse;color:#5a2800!important;font:12px/18px Verdana,Arial,sans-serif!important}
.saphira-rl #page-content .sph-page table :is(td,th) {font:12px/18px Verdana,Arial,sans-serif!important;padding:3px 6px!important;letter-spacing:normal!important;border-color:#5f4d41!important;color:#5a2800!important}
.saphira-rl #page-content .sph-page :is(.sph-table,.hs-table,.sp-tbl,.myaac-table,table[border],.rl-data-table) {width:100%;border:1px solid #5f4d41!important;border-image:none!important}
.saphira-rl #page-content .sph-page :is(.sph-table,.hs-table,.sp-tbl,.myaac-table,table[border],.rl-data-table)>tbody>tr:nth-child(odd):not(.white):not(.LabelH):not(.sph-column-header)>td:not(.white):not(:has(>span.white)) {background:#f1e0c6!important}
.saphira-rl #page-content .sph-page :is(.sph-table,.hs-table,.sp-tbl,.myaac-table,table[border],.rl-data-table)>tbody>tr:nth-child(even):not(.white):not(.LabelH):not(.sph-column-header)>td:not(.white):not(:has(>span.white)) {background:#d4c0a1!important}
.saphira-rl #page-content .sph-page table tr :is(th,.white),
.saphira-rl #page-content .sph-page table tr.LabelH>td,
.saphira-rl #page-content .sph-page table thead tr>td,
.saphira-rl #page-content .sph-page table tr.white>td {background:#5f4d41!important;color:#fff!important;font-weight:bold!important;border-image:none!important}
.saphira-rl #page-content .sph-page table :is(th,.white,.LabelH) :is(a,span,b,strong,div) {color:#fff!important}
.saphira-rl #page-content .sph-page table tr :is(.sph-number,.val-cell,.exp-cell) {text-align:right!important;font-variant-numeric:tabular-nums}
.saphira-rl #page-content .sph-page :is(.sph-table-scroll,.rl-table-scroll) {max-width:100%;overflow-x:auto}
.saphira-rl #page-content .sph-page :is(.sph-filter,.hs-filters) {display:grid;grid-template-columns:110px minmax(140px,230px);align-items:center;gap:6px 12px;padding:10px;margin:0;background:#d4c0a1!important;border:0;border-radius:0!important}
.saphira-rl #page-content .sph-page :is(label,.LabelV,.LabelV150,.hs-fl,.field-label,.char-select-label) {font-weight:bold!important}
.saphira-rl #page-content .sph-page .sph-filter-actions {grid-column:1/-1;text-align:center;padding:4px}
.saphira-rl #page-content .sph-page :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]):not([type=image]),select,textarea) {box-sizing:border-box;background:#fff!important;color:#000!important;-webkit-text-fill-color:#000!important;border:1px solid #7f7f7f!important;border-radius:0!important;border-image:none!important;box-shadow:none!important;font:11px/18px Verdana,Arial,sans-serif!important;padding:0 2px!important;min-height:0!important;height:20px!important;max-width:100%}
.saphira-rl #page-content .sph-page textarea {height:auto!important;min-height:80px!important;line-height:1.5!important;padding:4px!important}
.saphira-rl #page-content .sph-page select[multiple] {height:auto!important;min-height:80px!important}
.saphira-rl #page-content .sph-page option {background:white!important;color:black!important}
.saphira-rl #page-content .sph-page :is(input[type=checkbox],input[type=radio]) {accent-color:#004294;width:auto!important;height:auto!important;margin:3px;vertical-align:middle}
.saphira-rl #page-content .sph-page :is(button,input[type=submit],input[type=button],input[type=reset],a.tbtn,.dl-btn,.shop-card-btn,.pay-proceed,.gl-view-btn,.gl-found-btn) {display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:135px!important;max-width:100%;height:25px!important;min-height:0!important;padding:0 5px!important;border:1px solid #172c54!important;border-image:none!important;border-radius:0!important;background:linear-gradient(#5179bb,#1b3972 48%,#112956 52%,#25467e)!important;box-shadow:inset 0 0 0 1px #8a9dbf!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:700 11px/23px Verdana,Arial,sans-serif!important;text-shadow:none!important;text-decoration:none!important;cursor:pointer;white-space:nowrap}
.saphira-rl #page-content .sph-page :is(button,input[type=submit],input[type=button],a.tbtn,.dl-btn,.shop-card-btn,.pay-proceed):hover {filter:brightness(1.15)!important}
.saphira-rl #page-content .sph-page :is(input,select,textarea,button,a,[tabindex]):focus-visible {outline:2px solid #004294!important;outline-offset:2px!important}
.saphira-rl #page-content .sph-page :is(.BigButton,.MediumButtonBackground) {width:135px!important;height:25px!important;min-height:0!important;background:none!important;border:0!important;margin:3px 0}
.saphira-rl #page-content .sph-page :is(.BigButtonText,.MediumButtonText) {width:135px!important;height:25px!important;min-height:0!important;position:static!important}
.saphira-rl #page-content .sph-page :is(.sph-pagination,.hs-pagination,.sp-pages,.cr-pages,.ilib-pager) {display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;padding:4px 8px;margin:0;background:#d4c0a1!important;color:#5a2800!important;font:11px/18px Verdana,sans-serif!important}
.saphira-rl #page-content .sph-page :is(.sph-pagination,.hs-pagination,.sp-pages,.cr-pages,.ilib-pager) :is(a,strong,span) {width:auto!important;min-height:0!important;height:auto!important;border:0!important;border-image:none!important;background:none!important;box-shadow:none!important;padding:0 3px!important;font:11px/18px Verdana,sans-serif!important}
.saphira-rl #page-content .sph-page :is(.sph-pagination,.hs-pagination,.sp-pages,.cr-pages,.ilib-pager) :is(.active,.cur,[aria-current]) {font-weight:bold!important;color:#5a2800!important;text-decoration:underline}
.saphira-rl #page-content .sph-page :is(.hs-sub,.hs-reset-note,.hs-month-badge,.hs-period,.hs-fg,.gl-wrap,.gl-header,.gl-footer,.gl-empty,.gl-card,.gl-logo,.gl-actions,.gl-count,.sp-filters,.sp-tabs,.cr-sidebar,.cr-card,.cr-img-box,.ilib-bar,.ilib-item,.dl-card,.dl-howto,.shop-card,.shop-card-img-wrap,.service-box,.service-price-box,.notice-box,.pkg-card,.prem-card,.mount-card,.ex-card,.ex-group,.pay-section,.pay-summary,.pay-btn,.mounts-toolbar,.mount-info) {background:#f1e0c6!important;border-color:#5f4d41!important;border-image:none!important;border-radius:0!important;box-shadow:none!important;color:#5a2800!important}
.saphira-rl #page-content .sph-page :is(.hs-sub,.hs-reset-note,.hs-month-badge,.hs-period,.gl-header,.gl-footer,.gl-empty,.service-box,.notice-box) {padding:8px;margin:0 0 10px}
.saphira-rl #page-content .sph-page :is(.hs-period a,.sp-tab,.ex-tier-btn,.cr-cat-link,.ilib-bar a) {background:#d4c0a1!important;border:1px solid #5f4d41!important;border-radius:0!important;font:700 11px/20px Verdana,sans-serif!important;padding:2px 8px!important;min-height:0!important}
.saphira-rl #page-content .sph-page :is(.hs-period a.active,.sp-tab.active,.ex-tier-btn.active,.cr-cat-link.active) {background:#5f4d41!important;color:white!important}
.saphira-rl #page-content .sph-page :is(.char-voc,.rank-num,.rank-cell,.kills-val,.unjust-val,.exp-val,.lvl-gain,.gl-header-sub,.gl-desc,.gl-help,.gl-create-text,.gl-name,.sp-name,.sp-words,.sp-lvl,.sp-mana,.sp-cd,.sp-prem,.cr-card-name,.cr-card-stats,.cr-cat-count,.ilib-stats,.iname,.iid,.icat,.dl-desc,.dl-version,.dl-spec,.dl-note,.shop-card-title,.shop-header p,.service-title,.service-desc,.service-price,.service-price-label,.field-label,.field-hint,.pay-btn-name,.pay-btn-desc,.pay-summary-label,.pay-summary-val,.pkg-label,.pkg-coins,.pkg-coins-label,.pkg-price,.pkg-price-label,.pkg-bonus,.prem-plan-label,.prem-plan-days,.prem-plan-price,.prem-plan-price-label,.prem-plan-perk,.mount-name,.mount-desc,.mount-price,.mount-rarity,.ex-item-name,.ex-item-price,.ex-item-dur,.store-page-sub,.prem-page-sub,.ex-page-sub) {color:#5a2800!important;font-size:12px!important;letter-spacing:normal!important}
.saphira-rl #page-content .sph-page :is(.pkg-card,.prem-card,.mount-card,.ex-card,.pay-btn).selected {outline:2px solid #004294!important;outline-offset:-3px;background:#d4c0a1!important}
.saphira-rl #page-content .sph-page :is(.pkg-badge,.prem-card-badge,.ex-tier-badge,.shop-soon-badge,.shop-w1-badge,.mount-badge,.sp-grp,.vk,.vp,.vs,.vd,.vall) {background:#d4c0a1!important;color:#5a2800!important;border-color:#5f4d41!important;border-radius:0!important}
.saphira-rl #page-content .sph-page .shop-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.saphira-rl #page-content .sph-page .shop-card {display:flex;flex-direction:column;border:1px solid #5f4d41!important}
.saphira-rl #page-content .sph-page .shop-card-body {display:flex;flex:1;flex-direction:column;gap:8px;width:100%;box-sizing:border-box}
.saphira-rl #page-content .sph-page .shop-card-img-wrap {width:100%;height:100px!important;background:#d4c0a1!important}
.saphira-rl #page-content .sph-page .shop-card-btn {align-self:center;margin-top:auto}
.saphira-rl #page-content .sph-page .pay-btn {height:auto!important;min-height:52px!important;width:auto!important;white-space:normal;display:flex}
.saphira-rl #page-content .sph-page .pay-btn :is(.pay-btn-name,.pay-btn-desc) {color:#5a2800!important;text-shadow:none!important}
.saphira-rl #page-content .sph-page .topexp-wrap {display:grid;gap:12px}
.saphira-rl #page-content .sph-page .topexp-tile {border:1px solid #5f4d41;background:#f1e0c6}
.saphira-rl #page-content .sph-page .topexp-row {display:grid;grid-template-columns:30px 40px minmax(0,1fr) auto;gap:8px;align-items:center;padding:3px 8px}
.saphira-rl #page-content .sph-page .topexp-row:nth-child(odd) {background:#d4c0a1}
.saphira-rl #page-content .sph-page .topexp-outfit {width:40px;height:40px;overflow:hidden}
.saphira-rl #page-content .sph-page .topexp-gain {text-align:right}
.saphira-rl #page-content .sph-page .topexp-empty {padding:12px}
.saphira-rl #page-content .sph-page .sph-character-outfit {float:right;position:static;margin:0 8px;width:64px}
.saphira-rl #page-content .sph-page .sph-character-outfit img {max-width:64px!important}
.saphira-rl #page-content .sph-page .sph-character-table td:first-child {width:22%}
.saphira-rl #page-content .sph-page .sph-town-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px 16px}
.saphira-rl #page-content .sph-page .sph-house-options {display:flex;flex-wrap:wrap;gap:20px;padding:10px 0}
.saphira-rl #page-content .sph-page .sph-faq-answer {padding:6px 12px}
.saphira-rl #page-content .sph-page .rl-alphabet button {width:24px!important;min-width:0!important;padding:0!important}
.saphira-rl #page-content .sph-page table .rl-sort-button {display:inline;width:auto!important;height:auto!important;padding:0!important;background:none!important;box-shadow:none!important;border:0!important;color:inherit!important;-webkit-text-fill-color:inherit!important;text-align:left;font:inherit!important}
.saphira-rl #page-content .sph-page :is(.error,.errors,.FormFieldError,.red) {color:#a02020!important}
.saphira-rl #page-content .sph-page :is(.success,.message.success) {color:#245526!important;background:#e2e8cc!important}
@media(max-width:600px) {
 .saphira-rl #page-content .sph-page .sph-filter {grid-template-columns:100px minmax(0,1fr)}
 .saphira-rl #page-content .sph-page :is(.shop-grid,.sph-town-grid) {grid-template-columns:1fr}
 .saphira-rl #page-content .sph-page .gl-card {flex-wrap:wrap}
 .saphira-rl #page-content .sph-page .gl-actions {border:0!important;padding:6px}
 .saphira-rl #page-content .sph-page #LoginFormButtonCell {width:145px}
}
/* Page-specific structure retained from the original modules. */
.saphira-rl #page-content .sph-page .gl-header {display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;border:1px solid #5f4d41}
.saphira-rl #page-content .sph-page .gl-header h2 {font-size:12px!important;margin:0}
.saphira-rl #page-content .sph-page .gl-grid {display:flex;flex-direction:column;gap:0}
.saphira-rl #page-content .sph-page .gl-card {display:flex;border-bottom:1px solid #5f4d41!important}
.saphira-rl #page-content .sph-page .gl-card:nth-child(even) {background:#d4c0a1!important}
.saphira-rl #page-content .sph-page :is(.gl-body,.gl-logo,.gl-actions) {padding:8px;background:transparent!important}
.saphira-rl #page-content .sph-page .gl-body {flex:1;min-width:0}
.saphira-rl #page-content .sph-page .gl-logo {flex:0 0 64px}
.saphira-rl #page-content .sph-page .gl-logo img {width:64px;height:64px;object-fit:contain}
.saphira-rl #page-content .sph-page .gl-actions {display:flex;flex-direction:column;justify-content:center;gap:6px}
.saphira-rl #page-content .sph-page .gl-name {font-weight:bold}
.saphira-rl #page-content .sph-page .gl-footer-row {display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.saphira-rl #page-content .sph-page .hs-fg {display:flex;align-items:center;gap:8px}
.saphira-rl #page-content .sph-page .hs-filters {display:flex;flex-wrap:wrap;align-items:center}
.saphira-rl #page-content .sph-page .sph-news {border:1px solid #5f4d41;margin-bottom:14px}
.saphira-rl #page-content .sph-page .sph-news .NewsHeadlineBackground {background:#5f4d41!important;border-image:none!important;color:white!important;padding:4px 8px!important;min-height:0!important}
.saphira-rl #page-content .sph-page .sph-news .NewsHeadlineBackground :is(div,b,i) {color:white!important;font-size:12px!important}
.saphira-rl #page-content .sph-page .sph-news table {border:0!important}
.saphira-rl #page-content .sph-page .sph-news table tr td {background:#f1e0c6!important;padding:8px!important}
.saphira-rl #page-content .sph-page .sph-faq-question {display:block;width:auto!important;max-width:100%;height:auto!important;min-height:25px!important;padding:3px 6px!important;background:none!important;box-shadow:none!important;border:0!important;color:#004294!important;-webkit-text-fill-color:#004294!important;white-space:normal;text-align:left;line-height:18px!important}
.saphira-rl #page-content .sph-page .sph-gallery-entry {width:100%;border-bottom:1px solid #5f4d41}
.saphira-rl #page-content .sph-page .sph-gallery-entry:nth-of-type(even) {background:#d4c0a1}
.saphira-rl #page-content .sph-page .sph-gallery-entry img {max-width:180px}
.saphira-rl #page-content .sph-page .sph-gallery-detail {padding:8px}
.saphira-rl #page-content .sph-page .sph-account-view :is(.SmallBox,.MessageContainer,.Message,.TableContent) {background:#f1e0c6!important;color:#5a2800!important;border-color:#5f4d41!important;border-image:none!important;box-shadow:none!important}
.saphira-rl #page-content .sph-page .sph-account-view .TableContent:not(:has(table))>tbody>tr:nth-child(even):not(.white):not(.LabelH):not(.sph-column-header)>td:not(.white):not(:has(>span.white)) {background:#d4c0a1!important}
.saphira-rl #page-content .sph-page .sph-account-view :is(.BoxFrameHorizontal,.BoxFrameVerticalLeft,.BoxFrameVerticalRight,[class^='BoxFrameEdge']) {background:none!important}
.saphira-rl #page-content .sph-page #account-manage {box-sizing:border-box;padding:0}
.saphira-rl #page-content .sph-page .vertical-menu a {background:#d4c0a1!important;padding:5px 8px;border-bottom:1px solid #5f4d41}
.saphira-rl #page-content .sph-page .store-back {margin-bottom:10px}
.saphira-rl #page-content .sph-page .field-label {display:block;margin:10px 0 4px}
.saphira-rl #page-content .sph-page .pay-proceed {width:auto!important;min-width:135px;white-space:normal;height:auto!important;min-height:25px!important;padding:3px 8px!important;line-height:18px!important}
.saphira-rl #page-content .sph-page :is(#cr-tt,#ilib-tt) {background:#f1e0c6!important;border:1px solid #5f4d41!important;color:#5a2800!important;box-shadow:none!important}
.saphira-rl #page-content .sph-page :is(#cr-tt,#ilib-tt) :is(div,span,b,strong) {color:#5a2800!important;font-size:11px!important}
.saphira-rl #page-content .sph-page .cr-card:focus-visible {outline:2px solid #004294!important}
.saphira-rl #page-content .sph-page .sph-world-controls {display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px}
/* Final cascade corrections for nested legacy table rows and graphic links. */
.saphira-rl #page-content .sph-page.sph-page table tr:nth-child(n)>:is(th,td.white),
.saphira-rl #page-content .sph-page.sph-page table tr:is(.white,.LabelH,.sph-column-header)>td,
.saphira-rl #page-content .sph-page.sph-page table thead tr>td {background:#5f4d41!important;color:#fff!important;font-weight:bold!important}
.saphira-rl #page-content .sph-page.sph-page table :is(td.white,th,tr.white,tr.LabelH,tr.sph-column-header) :is(span,b,strong,a,div) {color:#fff!important;font-family:Verdana,Arial,sans-serif!important}
.saphira-rl #page-content .sph-page .BigButton input.BigButtonText {background:linear-gradient(#5179bb,#1b3972 48%,#112956 52%,#25467e)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #172c54!important;box-shadow:inset 0 0 0 1px #8a9dbf!important;text-align:center!important;font:700 11px/23px Verdana,Arial,sans-serif!important;cursor:pointer}
.saphira-rl #page-content .sph-page :is(.dl-btn,.shop-card-btn) {text-transform:none!important;letter-spacing:normal!important;font-size:10px!important}
.saphira-rl #page-content .sph-page :is(.cr-grid,.ilib-grid) {display:grid!important;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:6px}
.saphira-rl #page-content .sph-page :is(.cr-card,.ilib-item) {display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:4px!important;padding:8px 4px!important;width:auto!important;height:auto!important;border:1px solid #5f4d41!important;background:#f1e0c6!important}
.saphira-rl #page-content .sph-page .ilib-item .iname {text-align:center!important;flex:0!important}
.saphira-rl #page-content .sph-page :is(.cr-card,.ilib-item):hover {background:#d4c0a1!important}
.saphira-rl #page-content .sph-page .sph-account-view h1 {font-size:16px!important;margin:12px 0}
.saphira-rl #page-content .sph-page .dl-howto {margin:12px 8px 8px!important;padding:0!important}
.saphira-rl #page-content .sph-page .dl-howto ol {padding:8px 24px!important;margin:0!important}
.saphira-rl #page-content .sph-page :is(.dl-desc,.dl-specs,.dl-note,.dl-version) {padding:4px 10px!important}
.saphira-rl #page-content .sph-page .dl-btn {margin-left:10px}
.saphira-rl #page-content .sph-page {min-width:0;max-width:100%;box-sizing:border-box;overflow-x:auto}
.saphira-rl #page-content .sph-page .shop-card-img-wrap {box-sizing:border-box}
.saphira-rl #page-content .sph-page table.sph-table th {text-align:left}
.saphira-rl #page-content .sph-page .gl-name span {border-radius:0!important;color:#5a2800!important;border-color:#5f4d41!important;font-size:11px!important}
@media(max-width:600px) {
 .saphira-rl #page-content .sph-page .sph-account-view table:has(>tbody>tr>#LoginFormButtonCell)>tbody>tr {display:flex;flex-direction:column}
 .saphira-rl #page-content .sph-page .sph-account-view table:has(>tbody>tr>#LoginFormButtonCell)>tbody>tr>td {display:block;width:auto!important}
 .saphira-rl #page-content .sph-page #LoginFormButtonCell>div {float:none!important;display:flex;gap:6px;flex-wrap:wrap}
 .saphira-rl #page-content .sph-page .sph-account-view .LabelV {width:110px!important}
}
/* Legacy noSubmit buttons omit type and otherwise match the many :not() field rules. */
.saphira-rl #page-content .sph-page .BigButton input.BigButtonText:not([type=submit]):not([type=button]):not([type=reset]):not([type=image]):not([type=hidden]):not([type=checkbox]):not([type=radio]) {background:linear-gradient(#5179bb,#1b3972 48%,#112956 52%,#25467e)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #172c54!important;box-shadow:inset 0 0 0 1px #8a9dbf!important;height:25px!important;font:700 11px/23px Verdana,Arial,sans-serif!important;text-align:center;cursor:pointer}
.saphira-rl #page-content .sph-page.sph-page table tr:nth-child(n):is(.white,.LabelH,.sph-column-header)>td {background:#5f4d41!important;color:#fff!important;font-weight:bold!important}
.saphira-rl #page-content .sph-page button.sph-faq-question {display:block;width:auto!important;max-width:100%;height:auto!important;min-height:25px!important;padding:3px 6px!important;background:none!important;box-shadow:none!important;border:0!important;color:#004294!important;-webkit-text-fill-color:#004294!important;white-space:normal;text-align:left;line-height:18px!important}
.saphira-rl #page-content .sph-page button.pay-proceed {width:auto!important;min-width:135px;max-width:100%;height:auto!important;min-height:25px!important;padding:3px 8px!important;white-space:normal!important;line-height:18px!important}
.saphira-rl #page-content .sph-page div.pay-btn {flex-direction:column;gap:2px;white-space:normal;min-width:90px}
.saphira-rl #page-content .sph-page .pay-methods {flex-wrap:wrap}
.saphira-rl #page-content .sph-page .sph-pagination-table {border:0!important}
.saphira-rl #page-content .sph-page table:has(table):not(.sph-table):not(.TableContent) {border:0!important}


/* POPRAWKI1: one final component contract. The repeated existing ID intentionally
   beats legacy :is() selectors, including their ID-bearing alternatives.
   Background AND border-image are reset: both can paint over a solid rail. */
.saphira-rl #page-content#page-content .sph-page :is(h1,h2,h3,.tbx-cap,.CaptionContainer,.rl-section-title,.hs-title,.cb-head,.bz-hdr,.topexp-hdr,.store-page-title,.prem-page-title,.ex-page-title,.pay-title,.dl-title,.dl-howto-title,.ex-group-header,.NewsHeadlineBackground,.login-section-header) {
 background:#5f4d41!important;background-image:none!important;border-image:none!important;border-radius:0!important;box-shadow:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:700 12px/18px Verdana,Arial,sans-serif!important;text-shadow:none!important;margin:0!important;padding:4px 8px!important;min-height:0!important;text-align:left!important;
}
.saphira-rl #page-content#page-content .sph-page :is(.tbx-cap,.CaptionContainer,.rl-section-title,.hs-title,.cb-head,.topexp-hdr,.NewsHeadlineBackground,.login-section-header,h1,h2,h3) :is(span,div,b,strong,a) {color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:12px!important}
.saphira-rl #page-content#page-content .sph-page table :is(th,td.white,td:has(>span.white),td[bgcolor="#505050" i]),
.saphira-rl #page-content#page-content .sph-page table :is(tr.white,tr.LabelH,tr.sph-column-header,thead tr,tr[bgcolor="#505050" i])>td {
 background:#5f4d41!important;background-image:none!important;border-image:none!important;box-shadow:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:700 12px/18px Verdana,Arial,sans-serif!important;text-shadow:none!important;padding:4px 6px!important;
}
.saphira-rl #page-content#page-content .sph-page table :is(th,td.white,td:has(>span.white),tr.white,tr.LabelH,tr.sph-column-header,thead) :is(span,b,strong,a,div) {color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:700!important}
.saphira-rl #page-content#page-content .sph-page :is(td.white,.CaptionContainer,.hs-title,.cb-head)::after {display:none!important}
.saphira-rl #page-content#page-content .sph-page :is(.online-dot,.offline-dot,.status-dot,.rank-medal,.medal) {display:none!important}
.saphira-rl #page-content#page-content .sph-page :is(.char-link,.char-name,.topexp-name a)::before {content:none!important;display:none!important}
/* Standard actions. Semantic exceptions are declared immediately below. */
.saphira-rl #page-content#page-content .sph-page :is(button,input[type=submit],input[type=button],input[type=reset],input[type=image],.BigButton,.BigButtonText,.MediumButtonText,.tbtn,.shop-card-btn,.dl-btn,.gl-view-btn,.gl-found-btn,.gl-del-btn,.pay-proceed,.login-btn) {
 box-sizing:border-box!important;flex:none!important;width:135px!important;min-width:135px!important;max-width:135px!important;height:25px!important;min-height:25px!important;max-height:25px!important;margin-inline:0;padding:0 4px!important;border:1px solid #172c54!important;border-image:none!important;border-radius:0!important;background:linear-gradient(#5179bb,#1b3972 48%,#112956 52%,#25467e)!important;box-shadow:inset 0 0 0 1px #8a9dbf!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:700 10px/23px Verdana,Arial,sans-serif!important;text-shadow:none!important;white-space:nowrap!important;text-align:center!important;letter-spacing:normal!important;
}
.saphira-rl #page-content#page-content .sph-page :is(a.tbtn,.shop-card-btn,.dl-btn,.gl-view-btn,.gl-found-btn,.login-btn) {display:inline-flex!important;align-items:center!important;justify-content:center!important}
.saphira-rl #page-content#page-content .sph-page .BigButton {border:0!important;background:none!important;box-shadow:none!important}
.saphira-rl #page-content#page-content .sph-page input[type=image] {object-fit:fill}
/* Exceptions: alphabet index, sortable column labels, FAQ disclosure text,
   and final payment actions containing an amount (must not truncate a price). */
.saphira-rl #page-content#page-content .sph-page .rl-alphabet button {width:24px!important;min-width:24px!important;max-width:24px!important}
.saphira-rl #page-content#page-content .sph-page.sph-page :is(.rl-sort-button,.sph-faq-question) {width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;max-height:none!important;white-space:normal!important;background:none!important;border:0!important;box-shadow:none!important;color:#004294!important;-webkit-text-fill-color:currentColor!important;text-align:left!important;line-height:18px!important}
.saphira-rl #page-content#page-content .sph-page.sph-page th .rl-sort-button {color:#fff!important}
.saphira-rl #page-content#page-content .sph-page.sph-page .pay-proceed {width:auto!important;max-width:100%!important;height:auto!important;max-height:none!important;white-space:normal!important;line-height:18px!important;padding:3px 8px!important}
.saphira-rl #page-content#page-content .sph-page select {height:20px!important;min-height:20px!important;font:11px/18px Verdana,Arial,sans-serif!important}
.saphira-rl #page-content#page-content .sph-page label {font-weight:700!important}
.saphira-rl #page-content#page-content .sph-page .sph-character-search-form {display:grid!important;grid-template-columns:120px minmax(100px,1fr) 135px;align-items:center;gap:10px;padding:10px;background:#d4c0a1!important}
.saphira-rl #page-content#page-content .sph-page .sph-character-search-form input {width:100%!important}
.saphira-rl #page-content#page-content .sph-page .sph-character-card {position:relative;border:1px solid #5f4d41;margin:0}
.saphira-rl #page-content#page-content .sph-page .sph-character-card>.sph-character-table {border:0!important;margin:0}
.saphira-rl #page-content#page-content .sph-page .sph-character-tools {position:absolute;z-index:1;right:8px;top:32px;display:flex;align-items:flex-start;gap:8px}
.saphira-rl #page-content#page-content .sph-page .sph-character-outfit {float:none;position:static;width:64px;height:64px;margin:0}
.saphira-rl #page-content#page-content .sph-page .sph-character-outfit img {width:64px;height:64px;object-fit:contain}
.saphira-rl #page-content#page-content .sph-page .sph-character-edit {display:inline-flex;align-items:center;gap:3px}
.saphira-rl #page-content#page-content .sph-page .sph-character-edit img {width:16px;height:16px}
.saphira-rl #page-content#page-content .sph-page .sph-character-table>tbody>tr>td:first-child {width:auto}
.saphira-rl #page-content#page-content .sph-page :is(.sph-character-info,.sph-character-account)>tbody>tr>td:first-child:not([colspan]) {width:120px!important;font-weight:700!important}
.saphira-rl #page-content#page-content .sph-page .sph-character-info>tbody>tr:nth-child(-n+4)>td:nth-child(2) {padding-right:130px!important}
.saphira-rl #page-content#page-content .sph-page .shop-grid {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;padding:10px!important;margin:0!important}
.saphira-rl #page-content#page-content .sph-page .shop-card {display:flex!important;flex-direction:column!important;align-items:stretch!important;border:1px solid #5f4d41!important;transform:none!important}
.saphira-rl #page-content#page-content .sph-page .shop-card-body {align-items:center!important;text-align:center!important;padding:10px 4px!important;gap:10px!important}
.saphira-rl #page-content#page-content .sph-page .shop-card-img-wrap {display:flex!important;align-items:center!important;justify-content:center!important;height:100px!important}
.saphira-rl #page-content#page-content .sph-page .shop-card-img-wrap img {max-width:96px!important;max-height:80px!important;object-fit:contain}
.saphira-rl #page-content#page-content .sph-page .shop-card-btn {align-self:center!important;margin-top:auto!important}
@media(max-width:650px) {
 .saphira-rl #page-content#page-content .sph-page .shop-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .saphira-rl #page-content#page-content .sph-page .sph-character-search-form {grid-template-columns:1fr;gap:6px}
}
@media(max-width:400px) {.saphira-rl #page-content#page-content .sph-page .shop-grid {grid-template-columns:1fr!important}}

.saphira-rl #page-content#page-content .sph-page .sph-account-view td:is(.LabelV,.LabelV150) {width:120px!important;min-width:120px!important;white-space:normal!important}
.saphira-rl #page-content#page-content .sph-page .sph-account-view td:is(.LabelV,.LabelV150)+td {width:auto!important}
.saphira-rl #page-content#page-content .sph-page .login-page-layout {display:grid;grid-template-columns:1fr 1fr;gap:12px}
.saphira-rl #page-content#page-content .sph-page .login-section {border:1px solid #5f4d41;background:#f1e0c6}
.saphira-rl #page-content#page-content .sph-page .login-section-body {padding:10px}
.saphira-rl #page-content#page-content .sph-page .login-field {display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:6px;margin-bottom:6px}
.saphira-rl #page-content#page-content .sph-page .login-section-actions {display:flex;flex-wrap:wrap;gap:8px;padding:10px}
.saphira-rl #page-content#page-content .sph-page .login-field input {width:100%}
@media(max-width:650px) {.saphira-rl #page-content#page-content .sph-page .login-page-layout {grid-template-columns:1fr}}


/* PRZYCISKI 2026-11-28: geometry only; keep ui13 artwork untouched. */
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-filter {display:grid!important;grid-template-columns:120px minmax(100px,1fr) 135px!important;align-items:start!important;gap:10px!important;padding:10px!important}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-filter>label {grid-column:1}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-filter>:is(select,input:not([type=hidden])) {grid-column:2;width:100%!important;max-width:300px}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-filter .sph-filter-actions {grid-column:3!important;grid-row:1 / span 4!important;display:flex!important;flex-direction:column;align-items:flex-end;gap:10px!important;margin:0!important;padding:0!important}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-character-search-form {display:flex!important;justify-content:center!important;align-items:center;gap:10px!important}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-character-search-form input {width:220px!important;min-width:0}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-house-search {position:relative;padding-right:155px;min-height:25px}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-house-search>center {position:absolute;right:10px;top:4px;margin:0}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page :is(.sph-bottom-actions,.login-section-actions) {display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;margin:12px 0!important;flex-wrap:wrap}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-bottom-actions form {margin:0!important;padding:0!important}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page table.sph-action-table {width:auto!important;margin:12px auto!important;border-spacing:10px 0!important}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-action-table :is(td,form,table) {margin:0!important;padding:0!important;width:auto!important}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-action-table td:empty {display:none}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page table.sph-table>tbody>tr>td:last-child:has(>form .BigButton) {text-align:right!important;width:145px}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page td:last-child>form .BigButton {margin-left:auto!important}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .gl-actions {margin-left:auto;align-items:flex-end!important;min-width:135px}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .gl-del-btn {align-self:flex-end;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;background:none!important;border:0!important;box-shadow:none!important;color:#004294!important;-webkit-text-fill-color:currentColor!important;font:11px/18px Verdana!important;text-decoration:underline}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .gl-footer-row {align-items:flex-start!important}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page :is(.rl-filter,.mounts-toolbar,.sph-world-controls) {display:flex!important;align-items:flex-start!important;gap:10px!important}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .mounts-toolbar button {margin-left:auto!important}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .shop-w1-badge {position:static!important;inset:auto!important;transform:none!important;align-self:center;margin:6px 4px!important;max-width:calc(100% - 8px);box-sizing:border-box}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page button.pay-proceed {display:block!important;width:135px!important;min-width:135px!important;max-width:135px!important;height:25px!important;min-height:25px!important;max-height:25px!important;margin:12px auto!important;padding:0!important;white-space:nowrap!important}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page :is(.dl-btn,.store-back) {display:block;margin:12px auto!important;text-align:center}
.saphira-rl #page-content#page-content .sph-page[data-sph-route="polls"] form>input[type=submit] {display:block;margin:12px auto!important}
.saphira-rl #page-content#page-content:has([data-sph-route="highscores"]) .rl-content-title {display:none!important}
@media(max-width:550px) {
 .saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-filter {grid-template-columns:90px minmax(80px,1fr)!important}
 .saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-filter .sph-filter-actions {grid-column:1 / -1!important;grid-row:auto!important;flex-direction:row;justify-content:center}
 .saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-character-search-form {flex-wrap:wrap}
 .saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-house-search {padding-right:0;padding-top:35px}
}

.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-action-table .sph-action-table {border-spacing:0!important}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-action-table form {display:inline-block;margin:0!important}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-action-table td:has(>form+form) {display:flex;justify-content:center;gap:10px}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .shop-card-img-wrap:has(.shop-w1-badge) {flex-direction:column!important;height:130px!important;gap:4px}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-guild-actions {width:auto!important;margin:0 auto!important;border-spacing:10px 0!important}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-guild-actions td {float:none!important;padding:0!important}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-secondary-action input {width:auto!important;min-width:0!important;background:none!important;border:0!important;box-shadow:none!important;color:#004294!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;text-decoration:underline}

.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-action-table {border-collapse:separate!important}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page table:not(:has(table))>tbody>tr>td:last-child:has(input[name="View"]) {text-align:right!important}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page table:not(:has(table))>tbody>tr>td:last-child:has(input[name="View"]) form {display:flex;justify-content:flex-end}

.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-action-table td table {border:0!important;border-spacing:0!important}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page table:has(>form input[name="View"]) {width:135px!important;margin-left:auto!important}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page #account-manage #two>div:has(>form) {position:relative;text-align:left!important;padding-right:155px;min-height:25px}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page #account-manage #two>div>form {position:absolute;right:0;top:0;margin:0}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page #account-manage #two>form {display:flex;justify-content:center;margin-top:10px}
.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page #account-manage td>form {float:right;margin:0 0 0 10px}

.saphira-rl #page-content#page-content .sph-page.sph-page.sph-page .sph-guild-actions {border-collapse:separate!important}
/* 28.11 przyciski jak tibia.com: zlota rama + szafir (ui13) */
html body.saphira-rl #page-content#page-content#page-content :is(button,input[type=submit],input[type=button],.tbtn,.cb-flt-sub,a.sbtn):not(.tb-green):not(.tbc-watch):not(.InInputResetButton){background:url(../images/ui13/button-medium-normal.png) center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#fff3c4!important;-webkit-text-fill-color:#fff3c4!important;font:bold 11px/25px Verdana,Arial,sans-serif!important;text-shadow:1px 1px 0 #000!important;height:25px!important;min-height:0!important;padding:0 8px!important;cursor:pointer}
html body.saphira-rl #page-content#page-content#page-content :is(button,input[type=submit],input[type=button],.tbtn,.cb-flt-sub,a.sbtn):not(.tb-green):not(.tbc-watch):hover{background-image:url(../images/ui13/button-medium-hover.png)!important}
html body.saphira-rl #page-content#page-content#page-content :is(button,input[type=submit],input[type=button],.tbtn,.cb-flt-sub,a.sbtn):not(.tb-green):not(.tbc-watch):active{background-image:url(../images/ui13/button-medium-active.png)!important}
html body.saphira-rl #page-content#page-content#page-content :is(button,input[type=submit],input[type=button]):disabled{opacity:.55;cursor:default}
/* 28.11 tibia BigButton: wrapper bez tla, jeden przycisk (bez nakladania) */
html body.saphira-rl #page-content#page-content#page-content :is(.BigButton,.MediumButtonBackground,.SmallButtonBackground){background:none!important;background-image:none!important;border:0!important;box-shadow:none!important;width:135px!important;height:25px!important;padding:0!important;position:relative!important;display:inline-block!important}
html body.saphira-rl #page-content#page-content#page-content :is(.BigButton,.MediumButtonBackground) > div{position:static!important;width:auto!important;height:auto!important;background:none!important;padding:0!important;margin:0!important}
html body.saphira-rl #page-content#page-content#page-content :is(.BigButtonOver,.MediumButtonOver){display:none!important}
html body.saphira-rl #page-content#page-content#page-content :is(.BigButtonText,.MediumButtonText,.ButtonText){position:static!important;margin:0!important;left:auto!important;top:auto!important;width:135px!important}
html body.saphira-rl #page-content#page-content#page-content a:is([class*="-btn"],[class*="btn-"],.button,.Button):not(.tb-green):not(.tbc-watch){display:inline-block!important;width:135px!important;height:25px!important;line-height:25px!important;text-align:center!important;background:url(../images/ui13/button-medium-normal.png) center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#fff3c4!important;font:bold 11px/25px Verdana,Arial,sans-serif!important;text-shadow:1px 1px 0 #000!important;text-decoration:none!important;padding:0!important}
html body.saphira-rl #page-content#page-content#page-content a:is([class*="-btn"],[class*="btn-"],.button,.Button):not(.tb-green):not(.tbc-watch):hover{background-image:url(../images/ui13/button-medium-hover.png)!important}
/* 28.11 Delete na czerwono */
html body.saphira-rl #page-content#page-content#page-content :is(a,button,input):is([class*="del" i],[name*="delete" i],[value="Delete" i]):not(.zz1):not(.zz2):not(.zz3):not(.zz4){filter:none!important;background-image:url(../images/ui13/button-medium-red-normal.png?v=2)!important}
html body.saphira-rl #page-content#page-content#page-content :is(a,button,input):is([class*="del" i],[name*="delete" i],[value="Delete" i]):not(.zz1):not(.zz2):not(.zz3):not(.zz4):hover{background-image:url(../images/ui13/button-medium-red-hover.png?v=2)!important}
/* 28.11 struktura na brazowych naglowkach */
html body.saphira-rl #page-content#page-content#page-content :is(.tbx-cap,.hs-title,h2.rl-section-title,tr.LabelH>td,tr.white>td,.sph-column-header>td,thead tr>td,td:has(>span.white),.NewsHeadlineBackground,.dl-howto-title,.ex-group-header,.shop-header h1,.ilib-header h2,.CaptionContainer,.CaptionInnerContainer,tr[bgcolor="#505050" i],.sp-cap,.bzd-cap,td.white,tr[bgcolor="#505050" i] > td,tr[bgcolor="#505050" i] > th,table th):not(.zz1):not(.zz2){background:linear-gradient(#6e594a 0%,#5f4d41 45%,#56463b 100%)!important;box-shadow:inset 0 1px 0 rgba(255,240,215,.22),inset 0 -1px 0 rgba(0,0,0,.25)!important;border-color:#3b2e25!important;text-shadow:1px 1px 0 rgba(0,0,0,.45)!important}
/* naglowki kolumn: zwykly bialy tekst jak tibia, nie przyciski */
html body.saphira-rl #page-content#page-content#page-content :is(th,td.white) :is(a,button):not(.zz1):not(.zz2):not(.zz3):not(.zz4):not(.zz5){background:none!important;width:auto!important;height:auto!important;line-height:inherit!important;padding:0!important;border:0!important;box-shadow:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:bold 12px Verdana,Arial,sans-serif!important;display:inline!important;text-decoration:none!important}
/* 28.11 rowne ramki boxow tibia (TableContainer) bez defektow na rogach */
html body.saphira-rl #page-content#page-content#page-content .TableContainer{border:1px solid #5f4d41!important;box-shadow:1px 1px 2px rgba(0,0,0,.25)!important;background:#f1e0c6!important;padding:0!important;margin-bottom:10px!important;border-radius:0!important;overflow:hidden!important}
html body.saphira-rl #page-content#page-content#page-content .TableContainer::before,html body.saphira-rl #page-content#page-content#page-content .TableContainer::after,html body.saphira-rl #page-content#page-content#page-content .CaptionContainer::before,html body.saphira-rl #page-content#page-content#page-content .CaptionContainer::after{display:none!important;content:none!important}
html body.saphira-rl #page-content#page-content#page-content .CaptionContainer{margin:0!important;border:0!important;width:auto!important}
html body.saphira-rl #page-content#page-content#page-content :is(.CaptionEdgeLeftTop,.CaptionEdgeRightTop,.CaptionEdgeLeftBottom,.CaptionEdgeRightBottom,.CaptionBorderTop,.CaptionBorderBottom,.CaptionVerticalLeft,.CaptionVerticalRight){display:none!important}
html body.saphira-rl #page-content#page-content#page-content .hs-header{display:none!important}
html body.saphira-rl #page-content#page-content#page-content .lostacc h3:not(.zz1):not(.zz2){color:#5a2800!important;-webkit-text-fill-color:#5a2800!important;background:none!important;font:bold 15px Verdana,Arial,sans-serif!important;text-shadow:none!important;margin:10px 0 12px!important;padding:0!important;box-shadow:none!important;border:0!important}
html body.saphira-rl #page-content#page-content#page-content a.logout-btn:not(.zz1):not(.zz2):not(.zz3){background-image:url(../images/ui13/button-medium-red-normal.png?v=2)!important}
/* przyciski tibia zrobione z input type=text (np. Account lost?) */
html body.saphira-rl #page-content#page-content#page-content input:is(.BigButtonText,.MediumButtonText,.ButtonText):not(.zz1):not(.zz2):not(.zz3){background:url(../images/ui13/button-medium-normal.png) center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#fff3c4!important;-webkit-text-fill-color:#fff3c4!important;font:bold 11px/25px Verdana,Arial,sans-serif!important;text-shadow:1px 1px 0 #000!important;height:25px!important;width:135px!important;padding:0!important;text-align:center!important;cursor:pointer!important;caret-color:transparent}
html body.saphira-rl #page-content#page-content#page-content input:is(.BigButtonText,.MediumButtonText,.ButtonText):not(.zz1):not(.zz2):not(.zz3):hover{background-image:url(../images/ui13/button-medium-hover.png)!important}
html body.saphira-rl #page-content#page-content#page-content :is(input[type=password],input[name=account_login],input[name=password_login],input[name=account],input[name=password]):not(.zz1):not(.zz2){width:100%!important;max-width:none!important;box-sizing:border-box!important}
/* 28.11 Account Management jak tibia: bez lewego podmenu, H1 jak tytul strony, rowne przyciski */
html body.saphira-rl #page-content#page-content#page-content .accmgmt .vertical-menu{display:none!important}
html body.saphira-rl #page-content#page-content#page-content .accmgmt #one{display:block!important;width:100%!important}
html body.saphira-rl #page-content#page-content#page-content .accmgmt h1:not(.zz1){display:none!important}
html body.saphira-rl #page-content#page-content#page-content .accmgmt :is(.BigButton,form,div):has(> input.BigButtonText){vertical-align:top!important;margin-top:0!important}
html body.saphira-rl #page-content#page-content#page-content input.BigButtonText:is([value*="Delete" i]):not(.zz1):not(.zz2):not(.zz3):not(.zz4){background-image:url(../images/ui13/button-medium-red-normal.png?v=2)!important}
html body.saphira-rl #page-content#page-content#page-content .accmgmt #account-manage{display:block!important;grid-template-columns:none!important;padding:0!important;margin:0!important}
html body.saphira-rl #page-content#page-content#page-content .accmgmt #account-manage > *:not(.vertical-menu){margin-left:0!important;width:100%!important;max-width:none!important;float:none!important;grid-column:1/-1!important}
html body.saphira-rl #page-content#page-content#page-content :is(input,button,a):is(.BigButtonText,.MediumButtonText,.ButtonText,[class*=-btn],.tbtn):not(.zz1):not(.zz2):not(.zz3):not(.zz4):not(.zz5){border:0!important;box-shadow:none!important;outline:none!important}
/* napisy na srodku przyciskow */
html body.saphira-rl #page-content#page-content#page-content :is(input,button,a):is(.BigButtonText,.MediumButtonText,.ButtonText,[class*=-btn],.tbtn,.acc-btn,.tb-green):not(.zz1):not(.zz2):not(.zz3):not(.zz4):not(.zz5):not(.zz6){text-align:center!important;line-height:25px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important;box-sizing:border-box!important}
html body.saphira-rl #page-content#page-content#page-content input:is(.BigButtonText,.MediumButtonText,.ButtonText):not(.zz1):not(.zz2):not(.zz3):not(.zz4):not(.zz5):not(.zz6){display:inline-block!important}
/* wszystkie przyciski: zlota ramka z grafiki ui13 (takze .acc-btn i linki-przyciski) */
html body.saphira-rl #page-content#page-content#page-content#page-content :is(a,button,input):is(.acc-btn,.tbtn,[class*=-btn],.BigButtonText,.MediumButtonText):not(.tb-green):not(.tbc-watch):not([value*="Delete" i]):not([class*="del" i]){background:url(../images/ui13/button-medium-normal.png) center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html body.saphira-rl #page-content#page-content#page-content#page-content :is(a,button,input):is(.acc-btn,.tbtn,[class*=-btn],.BigButtonText,.MediumButtonText):not(.tb-green):not(.tbc-watch):not([value*="Delete" i]):not([class*="del" i]):hover{background-image:url(../images/ui13/button-medium-hover.png)!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .acc-btn.tb-green{background:url(../images/ui13/button-medium-green-normal.png) center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .acc-btn.tb-green:hover{background-image:url(../images/ui13/button-medium-green-hover.png)!important}
html body.saphira-rl #page-content#page-content#page-content#page-content :is(a,button,input):is([value*="Delete" i],[class*="del" i],[name*="delete" i],.logout-btn){background-size:100% 100%!important;background-position:center!important;background-repeat:no-repeat!important;border:0!important;box-shadow:none!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .acc-char-actions{width:auto!important;margin:0!important}html body.saphira-rl #page-content#page-content#page-content#page-content .acc-char-actions td{width:auto!important;padding:0 10px 0 0!important;text-align:left!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .acc-actions{display:flex!important;align-items:center!important;justify-content:space-between!important}html body.saphira-rl #page-content#page-content#page-content#page-content .acc-actions :is(form,.BigButton,.BigButton>div){margin:0!important;padding:0!important;display:block!important;line-height:0!important;height:25px!important}
/* 28.11 mniejsze kafelki sklepu: 4 w rzedzie, zwarte */
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .shop-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;grid-auto-rows:auto!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .shop-card{min-height:0!important;padding:10px 6px 10px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .shop-card :is(img,svg){width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important;margin:0 auto 6px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .shop-card .shop-card-title{font-size:14px!important;margin:0 0 3px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .shop-card .shop2-description{font-size:10px!important;white-space:normal!important;line-height:1.3!important;min-height:26px}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .shop-card .shop2-from{margin:3px 0 6px!important;font-size:12px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .shop-card .shop-card-btn{width:120px!important}
@media(max-width:700px){html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 form.rl-filter{display:none!important}
/* 28.11 sklep zwarty - wszystko na jednym ekranie */
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-card,.pkg-card,.service-card){min-height:0!important;padding:8px 6px 8px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-card,.pkg-card) :is(img,svg){width:44px!important;height:44px!important;max-height:44px!important;margin:0 auto 4px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-plan-label,.pkg-label){font-size:14px!important;margin:0!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-plan-days,.pkg-coins-label,.pkg-bonus){font-size:10px!important;margin:0 0 4px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .prem-card :is(ul,li,.prem-feature,.prem-features>*){font-size:10px!important;line-height:1.35!important;margin:0!important;padding:0!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-plan-price,.pkg-price){font-size:16px!important;margin:2px 0!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .prem-plan-price-label{font-size:9px!important;margin-top:4px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .shop2-buy{margin-top:6px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-grid,.pkg-grid){gap:8px!important;margin-bottom:10px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .pkg-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 table :is(td,th){padding:2px 6px!important;line-height:15px!important;font-size:11px!important;height:auto!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 table td small,html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 table td .muted{display:none!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(h1,h2,.shop2-title,.prem-page-title,.store-page-title){font-size:18px!important;margin:6px 0 2px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 form.rl-filter{display:none!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .shop2-tabs :is(a,button){padding:4px 2px!important;min-height:0!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .shop2-tabs :is(img,svg){width:20px!important;height:20px!important}
@media(max-width:700px){html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .pkg-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
/* 28.11 sklep: bez pustych dziur, przyciski w kartach */
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-card,.pkg-card) *{flex-grow:0!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .prem-card :is(img,svg,.prem-crown,.prem-icon){width:52px!important;height:auto!important;max-height:44px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .prem-card .prem-plan-price-label{margin-top:6px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-card,.pkg-card){justify-content:flex-start!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .pkg-card :is(a,button,input,.shop2-buy){width:100%!important;max-width:110px!important;min-width:0!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-grid,.pkg-grid){grid-auto-rows:auto!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .tbx-cap,html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 h2{font-size:13px!important;padding:3px 8px!important}
/* 28.11 premium jeszcze ciasniej, ceny w jednej linii */
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .prem-card .crown-wrap{height:52px!important;min-height:0!important;margin:0 0 2px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .prem-card .crown-wrap>*{max-height:48px!important;width:auto!important;height:48px!important;transform:none!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .prem-card .prem-plan-perks{flex:1 1 auto!important;flex-grow:1!important;margin:2px 0 0!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .prem-card .prem-plan-perks *{font-size:10px!important;line-height:14px!important;padding:0!important;margin:0!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .prem-card{padding:6px 6px 8px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .shop2-tabs{margin:4px 0 6px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .shop2-tabs>*{padding:3px 2px!important;height:auto!important;min-height:0!important;font-size:10px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.shop2-hero,.shop2-balance,.shop2-head){padding:4px 8px!important;margin:0 0 4px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(h1,.prem-page-title,.store-page-title)+p{margin:0 0 4px!important;font-size:10px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .prem-card .crown-wrap>.shop2-crown{display:block!important;width:52px!important;height:40px!important;max-height:40px!important;background-size:400% 100%!important;background-repeat:no-repeat!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .prem-card .crown-wrap{height:42px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .prem-card .prem-plan-perks>*{position:relative!important;padding-left:12px!important;text-align:left!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .prem-card .prem-plan-perks>*::before{left:0!important;top:0!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-plan-price){font-size:14px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .prem-plan-price-label{display:none!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(h1,h2,h3,.prem-page-title,.store-page-title,.shop2-title){font-size:14px!important;margin:4px 0 2px!important;line-height:18px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .tbx-cap{font-size:12px!important;padding:2px 8px!important;line-height:16px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .prem-grid{margin-bottom:6px!important}
/* 28.11 sklep jak tibia: klik w kafel, bez przyciskow Buy */
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-card,.pkg-card) .shop2-buy{display:none!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-card,.pkg-card){cursor:pointer!important;transition:none!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-card,.pkg-card):hover{outline:2px solid #c9a24a!important;outline-offset:-3px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-card,.pkg-card).selected{outline:3px solid #2e7d32!important;outline-offset:-3px!important;background:linear-gradient(#f3f8e8,#d9e8c4)!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .pay-proceed{display:block!important;margin:8px auto 0!important;width:135px!important;height:25px!important;padding:0!important;border:0!important;background:url(../images/ui13/button-medium-green-normal.png) center/100% 100% no-repeat!important;color:#fff3c4!important;font:bold 11px/25px Verdana,Arial,sans-serif!important;text-shadow:1px 1px 0 #000!important}
/* 28.11 kwadraciki jak tibia: naglowek, obrazek, cena */
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-grid,.pkg-grid){grid-template-columns:repeat(4,128px)!important;justify-content:center!important;gap:14px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-card,.pkg-card){width:128px!important;height:128px!important;aspect-ratio:1/1;padding:0!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;align-items:center!important;overflow:hidden!important;background:linear-gradient(#2f3a33,#1e2824)!important;border:2px solid #c9a24a!important;box-shadow:0 0 0 1px #3b2e25!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-plan-perks,.prem-plan-label,.prem-plan-price-label,.pkg-label,.pkg-bonus,.prem-badge,.pkg-badge,[class*=ribbon],[class*=badge]){display:none!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-plan-days,.pkg-coins){order:-1;width:100%!important;margin:0!important;padding:4px 2px!important;background:#151d19!important;color:#fff!important;font:bold 11px/1.2 Verdana,Arial,sans-serif!important;text-align:center!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .pkg-coins-label{display:none!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-plan-price,.pkg-price){width:100%!important;margin:0!important;padding:4px 2px!important;background:#151d19!important;color:#fff!important;font:bold 11px/1.2 Verdana,Arial,sans-serif!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .prem-card .crown-wrap{height:auto!important;flex:1!important;display:flex!important;align-items:center!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .prem-card .crown-wrap>.shop2-crown{width:72px!important;height:56px!important;max-height:56px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .pkg-card :is(img,svg){width:56px!important;height:56px!important;max-height:56px!important;margin:auto!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-card,.pkg-card).selected{background:linear-gradient(#3c5a3a,#24402a)!important;border-color:#7fdc6a!important;outline:none!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-card,.pkg-card):hover{outline:none!important;border-color:#ffe08a!important}
@media(max-width:700px){html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-grid,.pkg-grid){grid-template-columns:repeat(2,128px)!important}}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .pkg-price-label{display:none!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .pkg-coins::after{content:" Coins"}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .prem-plan-days{color:#fff!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .prem-card .crown-wrap>.shop2-crown:not(.zz1){width:54px!important;height:72px!important;max-height:72px!important;background-size:400% 100%!important}
/* 28.11 ladne ramki: produkty i metody platnosci */
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-card,.pkg-card){border:3px solid transparent!important;border-image:linear-gradient(135deg,#f6dc8a,#9a6b1f 35%,#ffe9a8 50%,#9a6b1f 65%,#f6dc8a) 1!important;box-shadow:0 0 0 1px #2b1d10,inset 0 0 0 1px rgba(255,230,160,.25),inset 0 0 14px rgba(0,0,0,.55),0 3px 6px rgba(0,0,0,.45)!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-card,.pkg-card).selected{border-image:linear-gradient(135deg,#c8ffb0,#3f9a2a 40%,#e6ffd8 50%,#3f9a2a 60%,#c8ffb0) 1!important;box-shadow:0 0 0 1px #102b10,inset 0 0 16px rgba(120,255,120,.25),0 0 10px rgba(110,220,90,.55)!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.prem-grid,.pkg-grid){padding:14px 8px!important;background:radial-gradient(ellipse at center,#f6e7c9,#e2caa0)!important;border:1px solid #8b6d4a!important;box-shadow:inset 0 0 0 3px #f8ecd2,inset 0 0 0 4px #b89566!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .pay-btn{position:relative;background:linear-gradient(#2f3a33,#1e2824)!important;border:3px solid transparent!important;border-image:linear-gradient(135deg,#f6dc8a,#9a6b1f 35%,#ffe9a8 50%,#9a6b1f 65%,#f6dc8a) 1!important;box-shadow:0 0 0 1px #2b1d10,inset 0 0 12px rgba(0,0,0,.55),0 2px 5px rgba(0,0,0,.4)!important;cursor:pointer!important;padding:10px 6px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .pay-btn :is(.pay-btn-name,.pay-btn-desc,*){color:#fff3d8!important;-webkit-text-fill-color:#fff3d8!important;text-shadow:1px 1px 0 #000!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .pay-btn:hover{filter:brightness(1.15)}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .pay-btn.selected{background:linear-gradient(#3c5a3a,#24402a)!important;border-image:linear-gradient(135deg,#c8ffb0,#3f9a2a 40%,#e6ffd8 50%,#3f9a2a 60%,#c8ffb0) 1!important;box-shadow:0 0 0 1px #102b10,0 0 10px rgba(110,220,90,.55)!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 :is(.pay-section,.pay-box){border:1px solid #8b6d4a!important;box-shadow:inset 0 0 0 3px #f8ecd2,inset 0 0 0 4px #b89566!important;background:radial-gradient(ellipse at center,#f6e7c9,#e2caa0)!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .pay-summary{border:1px solid #b89566!important;background:#fbf2df!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .pay-btn img{width:44px!important;height:44px!important;display:block!important;margin:0 auto 4px!important}
html body.saphira-rl #page-content#page-content#page-content#page-content .shop2 .pkg-card img{width:64px!important;height:64px!important;max-height:64px!important;object-fit:contain!important}
/* 28.11 naglowki kolumn: jeden ciagly pasek zamiast osobnych prostokatow */
html body.saphira-rl #page-content#page-content#page-content#page-content table:has(> tbody > tr:is(.sph-column-header,.LabelH,.white),> thead){border-collapse:collapse!important;border-spacing:0!important}
html body.saphira-rl #page-content#page-content#page-content#page-content tr:is(.sph-column-header,.LabelH,.white,[bgcolor="#505050" i]),html body.saphira-rl #page-content#page-content#page-content#page-content thead tr{background:linear-gradient(#6e594a 0%,#5f4d41 45%,#56463b 100%)!important}
html body.saphira-rl #page-content#page-content#page-content#page-content tr:is(.sph-column-header,.LabelH,.white,[bgcolor="#505050" i])>:is(td,th),html body.saphira-rl #page-content#page-content#page-content#page-content thead tr>:is(td,th){background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important}
html body.saphira-rl #page-content#page-content#page-content#page-content span.white:not(.zz1):not(.zz2){background:none!important;background-image:none!important;padding:0!important;box-shadow:none!important;display:inline!important}
