/* Use the observed game's Archon border as a nine-slice; preserve original art/text/rank/drain. */
.of-native .Mod_mod__EtiTZ.service-archon-mod:before,.of-native .Mod_mod__EtiTZ.service-archon-mod:after{background:none!important}.of-native .service-archon-mod .Mod_border__i5za9:before,.of-native .service-archon-mod .Mod_border__i5za9:after{display:none!important}.of-native .service-archon-mod .Mod_content__dRinI{background:#302b16!important;color:#eadb99!important}.of-native .service-archon-mod .Mod_description__BauHO{background:linear-gradient(#2f2917,#272312)!important;color:#eadb99!important}.of-native .service-archon-mod .Mod_itemCompatibility__ekki1{color:#e5ce7a!important;border-color:#b49d48!important;background:#15150f!important}.service-archon-frame{position:absolute;inset:0;pointer-events:none;z-index:4;border:solid transparent;border-width:16px 10px 20px;box-sizing:border-box!important;border-image-source:url("../arsenal-assets/archon-border-reference-20261027.png");border-image-slice:26 16 32;border-image-width:16px 10px 20px;border-image-repeat:stretch}.source-translation-note{font-size:13px;line-height:1.7;color:var(--muted);padding:10px;border-left:2px solid var(--accent)}.source-mod-missing-note{font-size:13px;line-height:1.7;padding:10px;border:1px solid var(--line);color:var(--ink)}

.of-native .Mod_mod__EtiTZ.service-special-mod:before,.of-native .Mod_mod__EtiTZ.service-special-mod:after{background:none!important}.of-native .service-special-mod .Mod_border__i5za9:before,.of-native .service-special-mod .Mod_border__i5za9:after{display:none!important}.service-game-frame{position:absolute;inset:0;pointer-events:none;z-index:4;border:solid transparent;border-width:16px 10px 20px;box-sizing:border-box!important;border-image-slice:26 16 32;border-image-width:16px 10px 20px;border-image-repeat:stretch}.of-native .service-tome-mod .Mod_content__dRinI{background:#15282e!important;color:#eadba9!important}.of-native .service-tome-mod .Mod_description__BauHO{color:#eadba9!important;background:linear-gradient(#15282e,#20282b)!important}.of-native .service-umbra-mod .Mod_content__dRinI{background:#14282d!important;color:#edf6f6!important}
#amps .aa-artifact-slots .mod-card{border:solid transparent!important;border-width:18px 10px 22px!important;border-image-source:url("../arsenal-assets/tektolyst-border-reference-20261028.webp")!important;border-image-slice:26 16 32!important;border-image-width:18px 10px 22px!important;border-image-repeat:stretch!important;border-radius:0!important;background:#142331!important;color:#b6d9ef!important}#amps .aa-artifact-slots .mod-art-frame{border:0!important;background:transparent!important}#amps .aa-artifact-slots .mod-name{color:#c2e4fa!important}
#amps .aa-artifact-slots .mod-art-frame:after{box-shadow:none!important;background:none!important}#amps .aa-artifact-slots .mod-meta{border-color:#6294ac!important}#amps .aa-artifact-slots .mod-effects,#amps .aa-artifact-slots .mod-label,#amps .aa-artifact-slots .mod-drain-note{color:#c2e4fa!important}#amps .aa-artifact-slots .mod-rank i.on{background:#81bce2!important}


/* Special border captures include painted rank pips. Mask that small band, then
   render the preserved rank row outside the clipped art/content container. */
.of-native .service-special-mod>.service-game-frame{
 --rank-art-start:10px;--rank-art-end:0px;
 -webkit-mask-image:linear-gradient(to right,#000 18%,transparent 18%,transparent 82%,#000 82%),linear-gradient(to bottom,#000 calc(100% - var(--rank-art-start)),transparent calc(100% - var(--rank-art-start)),transparent calc(100% - var(--rank-art-end)),#000 calc(100% - var(--rank-art-end)));
 mask-image:linear-gradient(to right,#000 18%,transparent 18%,transparent 82%,#000 82%),linear-gradient(to bottom,#000 calc(100% - var(--rank-art-start)),transparent calc(100% - var(--rank-art-start)),transparent calc(100% - var(--rank-art-end)),#000 calc(100% - var(--rank-art-end)));
 -webkit-mask-composite:source-over;mask-composite:add;
}
.of-native .service-umbra-mod>.service-game-frame{--rank-art-start:12px}
.of-native .service-tome-mod>.service-game-frame{--rank-art-start:20px;--rank-art-end:8px}
.of-native .Mod_mod__EtiTZ>.Mod_fusion__biWTp{left:50%;transform:translateX(-50%);z-index:30}
.of-native .service-special-mod>.Mod_fusion__biWTp{bottom:0px;font-size:0;line-height:12px}
.of-native .service-special-mod>.Mod_fusion__biWTp i{font-size:11px;line-height:12px;}

.of-native .Mod_mod__EtiTZ>.Mod_fusion__biWTp i{color:#b7c4d4}
