/* Encyclopedia within Мир CSO. Scoped to avoid changing account/game controls. */
.ency-group-tabs{display:flex;gap:.55rem;flex-wrap:wrap;margin:0 0 1.2rem}.ency-group-tab{display:flex;align-items:center;gap:.7rem;background:#202328;border:1px solid #3a3e45;color:#d9dce2;padding:.75rem 1rem;font:inherit;font-size:.9rem;font-weight:600;line-height:1.25;cursor:pointer;border-radius:.4rem;transition:background .15s,border-color .15s}.ency-group-tab small{font-size:.78rem;color:#8c939e;font-variant-numeric:tabular-nums}.ency-group-tab.active{background:#f0c923;border-color:#f0c923;color:#151719}.ency-group-tab.active small{color:#464024}.ency-group-tab:hover,.ency-group-tab:focus-visible{border-color:#f0c923}.item-card.ency-reference-card{border-color:#3e4350}.item-card .ency-card-note{font-size:.75rem;color:#aeb7c9}.item-card .item-art img{object-fit:contain;max-width:100%;max-height:100%}.item-card .item-art:has(.ency-image-unavailable){padding:1rem}.ency-image-unavailable{display:grid;place-items:center;min-height:5rem;text-align:center;color:#9299a4;font-size:.8rem;line-height:1.5}.ency-details{margin-top:1.3rem}.ency-detail-facts{display:flex;flex-wrap:wrap;gap:.5rem .9rem;color:#b6bcc7;font-size:.85rem;margin-bottom:1rem}.ency-detail-facts span{padding:.3rem .55rem;background:#242830;border-radius:.25rem}.ency-stat-section{padding:1.15rem 0;border-top:1px solid #3a3d44}.ency-stat-heading{display:flex;align-items:center;justify-content:space-between;gap:.7rem;flex-wrap:wrap;margin-bottom:.45rem}.ency-stat-heading h3,.ency-stat-section>h3{font-size:1.05rem;line-height:1.4;margin:0 0 .5rem;color:#f1f3f6}.ency-data-badge{display:inline-flex;padding:.2rem .45rem;border:1px solid #566272;border-radius:.25rem;color:#aebed2;font-size:.7rem;white-space:nowrap}.ency-data-badge.native{color:#e3cd7b;border-color:#6f653d}.ency-stat-note,.ency-reference-note{font-size:.84rem;line-height:1.65;color:#aab1bd;margin:.45rem 0 .9rem}.ency-reference-note{border-left:3px solid #d4b85d;padding:.65rem .85rem;background:#272729}.ency-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin:0}.ency-stat-pair{min-width:0;padding:.7rem .8rem;background:#24272c;border:1px solid #343840;border-radius:.35rem}.ency-stat-pair dt{font-size:.78rem;line-height:1.5;color:#aab2be;margin-bottom:.35rem}.ency-stat-pair dd{font-size:1rem;font-weight:650;line-height:1.5;color:#f1eee4;margin:0;overflow-wrap:anywhere;white-space:pre-line}.ency-mode{padding:.75rem .85rem;background:#24272d;border-left:2px solid #d8bd60;margin:.6rem 0}.ency-mode strong{font-size:.9rem;color:#e7d594}.ency-mode p{font-size:.88rem;line-height:1.7;margin:.4rem 0 0}.ency-abilities ul{list-style:disc;padding-left:1.3rem;margin:.5rem 0}.ency-abilities li{font-size:.88rem;line-height:1.8;margin:.5rem 0;color:#c7cdd7}.ency-source{display:inline-block;color:#e2c865;text-decoration:underline;text-underline-offset:.2em;font-size:.8rem;line-height:1.6;margin:.65rem 0 .1rem;overflow-wrap:anywhere}.ency-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.65rem}.ency-gallery-photo{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:.6rem;border:1px solid #3a3f48;background:#171a20;color:#b9c2d1;border-radius:.35rem;padding:.6rem;cursor:pointer;min-width:0}.ency-gallery-photo img{height:130px;width:100%;object-fit:contain}.ency-gallery-photo span{font-size:.75rem;line-height:1.5}.ency-gallery-photo:hover,.ency-gallery-photo:focus-visible{border-color:#e1c455}.ency-photo-dialog{width:min(94vw,1050px);max-height:94dvh;background:#101216;color:#e9ebf0;border:1px solid #4a505a;border-radius:.5rem;padding:1rem}.ency-photo-dialog::backdrop{background:#000c}.ency-photo-stage{text-align:center}.ency-photo-stage img{display:block;max-width:100%;max-height:76dvh;width:auto;height:auto;object-fit:contain;margin:0 auto}.ency-photo-stage p{font-size:.9rem}.ency-photo-close{display:block;margin:0 0 .7rem auto;background:#262b33;border:1px solid #555e6a;color:#eee;padding:.5rem .9rem;border-radius:.25rem;cursor:pointer}.ency-compare table{min-width:720px;width:100%;table-layout:fixed}.ency-compare .compare-table th:first-child{width:24%}.ency-compare .compare-table th,.ency-compare .compare-table td{white-space:pre-line;overflow-wrap:anywhere;vertical-align:top;line-height:1.65;font-size:.85rem}.ency-compare .compare-table thead{position:sticky;top:0;z-index:1}.ency-compare-item{background:#20252b}.ency-compare-item img{height:100px;width:100%;object-fit:contain;margin-bottom:.5rem}.ency-compare-item strong{display:block;font-size:1rem;line-height:1.4}.ency-compare-item small{display:block;font-size:.72rem;color:#929eae;margin-top:.4rem}.ency-compare .ency-compare-group th{background:#323124!important;color:#edda8c;padding:.8rem 1rem!important}.ency-compare-group strong{display:block;font-size:.9rem}.ency-compare-group small{display:block;color:#bbb59a;font-size:.74rem;line-height:1.5;font-weight:400;max-width:75ch;margin-top:.3rem}.calendar-day.reward-card{display:flex;flex-direction:column;align-items:center;padding:1rem .7rem;gap:.65rem;border:1px solid #3d424a;background:linear-gradient(155deg,#2a2f36,#1e2126);border-radius:.5rem;min-width:0}.reward-art-button{display:grid;place-items:center;width:100%;height:96px;border:0;background:transparent;padding:.3rem;cursor:pointer}.reward-art-button img{width:100%;height:100%;object-fit:contain}.reward-card .reward-name{font-size:.88rem;line-height:1.45;text-align:center;color:#f0eee5;min-height:2.6em;font-weight:600;overflow-wrap:anywhere}.reward-card .reward-count{font-size:.8rem;color:#d6bf72}.reward-art-button:focus-visible{outline:2px solid #f0cf52;outline-offset:3px;border-radius:.3rem}.reward-card .reward-missing{font-size:.8rem;line-height:1.5;color:#969fab}.native-calendar .calendar-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.7rem}.ency-compare .compare-table td{background:#20242a}.ency-compare .compare-table tbody tr:nth-child(even):not(.ency-compare-group) td{background:#23282f}@media(max-width:700px){.ency-group-tabs{flex-wrap:nowrap;overflow:auto;padding-bottom:.6rem;scrollbar-width:thin}.ency-group-tab{flex:none}.ency-stat-grid{grid-template-columns:1fr}.ency-stat-pair{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;align-items:start}.ency-stat-pair dt{margin:0}.ency-stat-pair dd{text-align:right;font-size:.92rem}.ency-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.ency-compare .compare-table th:first-child{width:27%}.native-calendar .calendar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.ency-group-tab{transition:none}}

.ency-client-description {font-size:.9rem;line-height:1.75;white-space:pre-line;color:#c7cdd7}
