/* Atlas contents: scoped extension; source artwork stays at native size. */
.ct-section{margin-top:24px;padding:24px;background:#0d1c2a;border:1px solid var(--line);border-top:2px solid #8c7951;border-radius:7px;min-width:0}
.ct-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;min-width:0}
.ct-section-head>div{min-width:0}.ct-section-head .over{margin-bottom:6px;font-size:10px}
.ct-section h2{margin:0;color:var(--gold-hi);font-size:23px;letter-spacing:-.02em}
.ct-rule{margin:7px 0 0;color:var(--muted);font-size:13px;overflow-wrap:anywhere}
.ct-status{display:inline-flex;flex:0 0 auto;align-items:center;gap:5px;padding:5px 9px;border:1px solid var(--line2);border-radius:20px;font-size:10px;line-height:1.4;font-weight:600;white-space:nowrap}
.ct-status-decoded{color:#a8d8c5;background:#16382e;border-color:#315e4c}.ct-status-partial{color:#f1cf8a;background:#382e1b;border-color:#75613b}.ct-status-unknown{color:#c1cbd7;background:#243244;border-color:#4c5d74}
.ct-conditions{list-style:none;padding:0;margin:0 0 18px;display:flex;flex-wrap:wrap;gap:7px}
.ct-conditions li{padding:5px 9px;border:1px solid #48536a;border-radius:4px;background:#152537;color:var(--text);font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.ct-official{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin:0 0 18px;padding:12px 15px;border:1px solid #61583f;border-radius:5px;background:#212b2c;font-size:12px}
.ct-official a{color:var(--gold-hi);font-weight:600}.ct-official span{color:var(--muted);font-size:11px}
.ct-caution{margin:0 0 18px;padding:12px 15px;border-left:3px solid #ba9654;border-radius:0 4px 4px 0;background:#332c1e;color:#e6d4b1;font-size:12px;line-height:1.75;overflow-wrap:anywhere}
.ct-caution strong{display:block;color:#f2d79f;font-weight:650}
.ct-note,.ct-group-note{margin:0 0 14px;color:var(--muted);font-size:12px;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere}
.ct-toolbar{display:flex;align-items:flex-end;gap:12px;margin:22px 0;padding:15px;background:#111f2e;border:1px solid var(--line);border-radius:5px}
.ct-toolbar label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:11px;color:var(--muted)}.ct-toolbar label:first-child{flex:1}
.ct-toolbar input,.ct-toolbar select,.ct-browse-filter input,.ct-browse-filter select{width:100%;min-width:0;min-height:41px;padding:9px 11px;background:#091725;border:1px solid var(--line2);border-radius:4px;color:var(--text);font-size:12px}
.ct-toolbar input::placeholder,.ct-browse-filter input::placeholder{color:var(--faint)}
.ct-result-count{margin:0 0 9px;min-width:100px;text-align:right;color:var(--faint);font-size:11px;white-space:nowrap}
.ct-group{margin-top:24px;min-width:0;scroll-margin-top:calc(var(--header-offset) + 20px)}
.ct-group-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 15px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.ct-group-head h3{margin:0;font-size:16px;font-weight:600;color:var(--text);overflow-wrap:anywhere}.ct-group-head>span{flex:0 0 auto;font-size:11px;color:var(--faint)}
.ct-bucket{min-width:0;margin-top:18px}.ct-bucket-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 10px}
.ct-bucket-head h4{margin:0;color:var(--parch);font-size:12px;font-weight:600;overflow-wrap:anywhere}.ct-bucket-head span{color:var(--faint);font-size:10px;text-align:right}
.ct-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:0;padding:0;list-style:none}
.ct-tile{display:flex;flex-direction:column;min-width:0;position:relative;padding:14px;background:#132437;border:1px solid #34475c;border-radius:6px;transition:border-color .15s,background .15s}
.ct-tile:hover,.ct-tile:focus-within{background:#172b40;border-color:#8c7951}.ct-tile-top{min-width:0}
.ct-item-link{display:flex;align-items:flex-start;gap:11px;min-width:0;line-height:1.45}.ct-item-name{font-size:12px;font-weight:550;overflow-wrap:anywhere;min-width:0}
.ct-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:48px;overflow:hidden;border:1px solid #5e5b4d;border-radius:4px;background:#08131f}
.ct-icon img{width:auto;height:auto;max-width:40px;max-height:40px;object-fit:contain;display:block}.ct-icon .noart{font-size:24px;color:var(--faint)}
.ct-unresolved{color:var(--muted)}
.ct-tile-facts{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px;margin-top:13px}
.ct-quantity{color:var(--gold-hi);font-size:13px;font-weight:650;overflow-wrap:anywhere}
.ct-quantity.ct-quantity-unknown,.ct-source-facts strong.ct-quantity-unknown{flex-basis:100%;font-size:10px;font-weight:450;line-height:1.7;color:var(--muted);white-space:pre-line;overflow-wrap:anywhere}
.ct-trade{font-size:9px;line-height:1.4;padding:3px 5px;border:1px solid #415268;border-radius:3px;overflow-wrap:anywhere}
.ct-tradable{color:#a2d7c0}.ct-bound{color:#e1b6b2}.ct-trade-unknown{color:var(--faint)}
.ct-chance{display:flex;flex-direction:column;gap:2px;margin-top:10px;padding-top:9px;border-top:1px solid #34475c;line-height:1.5}
.ct-chance strong{color:#e3d0a2;font-weight:600;font-size:14px}.ct-chance span{font-size:10px;color:var(--muted);overflow-wrap:anywhere}
.ct-odds-unknown,.ct-choice-label{margin:9px 0 0;font-size:10px;line-height:1.6;color:var(--faint)}.ct-choice-label{color:#c5d1e2}
.ct-entry-note{margin:8px 0 0;font-size:10px;line-height:1.7;color:#bcc8d5;overflow-wrap:anywhere;white-space:pre-line}
.ct-item-details{margin-top:auto;padding-top:12px;min-width:0}.ct-item-details>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;list-style:none;min-height:30px;margin:0 -3px -3px;padding:5px 3px;color:var(--gold);font-size:10px}
.ct-item-details>summary::-webkit-details-marker{display:none}.ct-item-details>summary::after{display:none}.ct-item-details>summary:hover{color:var(--gold-hi)}
.ct-item-details[open]>.ct-preview-content{margin-top:8px;padding-top:13px;border-top:1px solid var(--line)}
.ct-preview-head{display:flex;align-items:center;gap:12px;min-width:0}.ct-preview-head>div{min-width:0}.ct-preview-head h3{font-size:15px;font-weight:650;line-height:1.45;margin:0;overflow-wrap:anywhere}
.ct-preview-category{margin:0 0 4px;color:var(--faint);font-size:10px;letter-spacing:.035em;text-transform:uppercase;overflow-wrap:anywhere}
.ct-preview-meta{display:flex;flex-wrap:wrap;gap:6px 13px;margin:13px 0;color:var(--muted);font-size:10px}.ct-preview-stats{display:grid;gap:5px;margin:0 0 15px}
.ct-preview-stats>div{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding-bottom:5px;border-bottom:1px solid #314359;font-size:11px}.ct-preview-stats dt{color:var(--muted)}.ct-preview-stats dd{margin:0;color:var(--text);text-align:right;overflow-wrap:anywhere}
.ct-preview-description{margin:14px 0;color:var(--muted);font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.ct-preview-link{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:17px;padding-top:13px;border-top:1px solid #405065;color:var(--gold-hi);font-size:11px}
.ct-hover-card{position:fixed;z-index:60;inset:auto 22px 22px auto;width:340px;max-width:calc(100vw - 36px);max-height:70vh;padding:20px;overflow:auto;border:1px solid #88734c;border-top:2px solid var(--gold);border-radius:8px;background:#142437;box-shadow:0 15px 55px #0009;pointer-events:auto}
.ct-dialog{position:fixed;inset:0;margin:auto;width:min(480px,calc(100vw - 28px));max-height:85dvh;padding:0;background:#132336;border:1px solid #8c7951;border-radius:8px;color:var(--text);box-shadow:0 20px 80px #000a}
.ct-dialog::backdrop{background:#030a12c9;backdrop-filter:blur(3px)}
.ct-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;background:#1a2c40;border-bottom:1px solid var(--line2)}.ct-dialog-head h2{font-size:13px;line-height:1.5;margin:0;color:var(--gold-hi)}
.ct-dialog-head form{margin:0}.ct-dialog-head button{display:flex;align-items:center;gap:10px;min-height:36px;padding:5px 9px;border:1px solid var(--line2);border-radius:4px;background:#102033;color:var(--text);font-size:11px}.ct-dialog-head button span{font-size:21px;line-height:1}
.ct-dialog-body{padding:22px;overflow:auto;max-height:calc(85dvh - 65px)}
.ct-empty-filter{margin:18px 0;padding:20px;border:1px dashed var(--line2);border-radius:5px;color:var(--muted);font-size:13px}
.ct-footnote{margin:22px 0 0;color:var(--faint);font-size:10px;line-height:1.8;overflow-wrap:anywhere}
.ct-source-grid{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0}
.ct-source-card{min-width:0;padding:15px;border:1px solid #34475c;border-radius:5px;background:#122235}
.ct-source-facts{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-top:12px;font-size:11px;color:var(--muted)}.ct-source-facts strong{color:var(--gold-hi);font-size:13px}.ct-source-facts span{overflow-wrap:anywhere}
.ct-source-chance{margin:9px 0 0;color:var(--gold-hi);font-size:12px}.ct-source-chance span{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.ct-source-partial{display:inline-block;margin-top:10px;color:#e7c98b;font-size:10px}
.ct-browse-link{color:var(--gold);font-size:11px;white-space:nowrap}
.ct-browse-lead{max-width:780px;margin-bottom:28px;font-size:14px;line-height:1.8;color:var(--muted)}
.ct-catalogue-stats{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}.ct-catalogue-stats>span{padding:7px 11px;border:1px solid var(--line);border-radius:5px;background:#101e2d;color:var(--muted);font-size:11px}.ct-catalogue-stats b{color:var(--gold-hi);font-size:13px;font-weight:600}
.ct-browse-filter{display:grid;grid-template-columns:minmax(200px,1fr) repeat(3,minmax(120px,160px)) auto;align-items:end;gap:12px;padding:17px;background:#122132;border:1px solid var(--line);border-radius:6px;margin-bottom:20px}
.ct-browse-filter label{display:flex;flex-direction:column;gap:6px;min-width:0;color:var(--muted);font-size:11px}.ct-browse-filter .button{min-height:41px;white-space:nowrap}
.ct-catalogue-summary{display:flex;justify-content:space-between;gap:16px;margin:0 0 15px;color:var(--faint);font-size:11px}.ct-catalogue-summary a{color:var(--gold)}
.ct-catalogue-grid{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:0}
.ct-container-card{display:flex;flex-direction:column;min-width:0;padding:19px;border:1px solid #34465c;border-radius:6px;background:#122234}.ct-container-card:hover{border-color:#8c7951;background:#162a3e}
.ct-container-card .ct-item-name{font-size:14px;line-height:1.5}.ct-container-card .ct-icon{flex-basis:52px;width:52px;height:55px}.ct-container-card .ct-icon img{max-width:44px;max-height:44px}
.ct-container-kind{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:15px 0 10px;font-size:10px;color:var(--gold-hi)}.ct-container-kind .ct-status{font-size:9px;padding:3px 7px}
.ct-container-description{margin:0 0 13px;color:var(--muted);font-size:11px;line-height:1.7;overflow-wrap:anywhere}.ct-container-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:13px;border-top:1px solid var(--line);color:var(--faint);font-size:10px}.ct-container-foot a{color:var(--gold-hi)}
.ct-catalogue-empty{padding:32px;border:1px dashed var(--line2);border-radius:6px;color:var(--muted);font-size:14px}
@media(min-width:1450px){.ct-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.ct-catalogue-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1120px){.ct-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ct-catalogue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ct-browse-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.ct-browse-filter label:first-child{grid-column:1/-1}.ct-browse-filter .button{justify-self:start}}
@media(max-width:800px){.ct-section{padding:19px}.ct-source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ct-catalogue-summary{flex-wrap:wrap;gap:5px}.ct-container-card{padding:15px}.ct-toolbar{flex-wrap:wrap}.ct-result-count{min-width:0;margin:0;flex-basis:100%;text-align:left}}
@media(max-width:600px){
  .ct-section{padding:18px 12px;margin-top:18px}.ct-section-head{gap:12px;flex-wrap:wrap;margin-bottom:15px}.ct-section h2{font-size:21px}.ct-section-head .ct-status{font-size:9px;padding:4px 8px}.ct-rule{font-size:12px}
  .ct-conditions{gap:6px;margin-bottom:15px}.ct-conditions li{font-size:10px;padding:4px 7px}.ct-caution{padding:11px 12px;font-size:11px}.ct-note,.ct-group-note{font-size:11px}
  .ct-toolbar{padding:12px;gap:10px;margin:18px 0}.ct-toolbar label{flex-basis:100%;width:100%;font-size:10px}.ct-toolbar label:first-child{flex-basis:100%}.ct-toolbar input,.ct-toolbar select{min-height:40px;font-size:12px}
  .ct-group{margin-top:20px}.ct-group-head{flex-wrap:wrap;gap:4px;margin-bottom:12px}.ct-group-head h3{font-size:15px}.ct-group-head>span{font-size:10px}.ct-bucket-head{align-items:flex-start;gap:7px}.ct-bucket-head h4{font-size:11px}.ct-bucket-head span{font-size:9px;max-width:55%}
  .ct-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ct-tile{padding:11px 9px}.ct-item-link{flex-direction:column;gap:9px}.ct-item-name{font-size:11px;line-height:1.5}.ct-icon{width:43px;height:45px;flex-basis:auto}.ct-icon img{max-width:37px;max-height:37px}.ct-tile-facts{align-items:flex-start;flex-direction:column;gap:5px;margin-top:9px}.ct-quantity{font-size:12px}.ct-trade{font-size:8px;padding:2px 4px}.ct-chance strong{font-size:13px}.ct-chance span{font-size:9px}.ct-item-details>summary{min-height:36px;font-size:9px}.ct-entry-note{font-size:9px}
  .ct-source-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ct-source-card{padding:12px 9px}.ct-source-card .ct-item-link{gap:8px}.ct-source-facts{font-size:10px;gap:3px;align-items:flex-start;flex-direction:column}.ct-source-chance{font-size:11px}.ct-source-chance span{display:block;font-size:9px}
  .ct-browse-lead{font-size:13px}.ct-catalogue-stats{gap:6px}.ct-catalogue-stats>span{font-size:10px;padding:6px 8px}.ct-catalogue-stats b{font-size:12px}.ct-browse-filter{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px;gap:11px}.ct-browse-filter label:first-child,.ct-browse-filter label:last-of-type{grid-column:1/-1}.ct-browse-filter label{font-size:10px}.ct-browse-filter .button{grid-column:1/-1;justify-self:stretch;min-height:42px}
  .ct-catalogue-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ct-container-card{padding:13px 10px}.ct-container-card .ct-item-name{font-size:12px}.ct-container-card .ct-icon{width:48px;height:50px;flex-basis:auto}.ct-container-card .ct-icon img{max-width:40px;max-height:40px}.ct-container-kind{font-size:9px;gap:6px;margin-top:12px}.ct-container-description{font-size:10px}.ct-container-foot{flex-wrap:wrap;gap:6px;font-size:9px}.ct-container-kind .ct-status{font-size:8px}.ct-catalogue-summary{font-size:10px}
  .ct-preview-head .ct-item-link{flex-direction:row}.ct-preview-head h3{font-size:15px}.ct-preview-category{font-size:9px}.ct-dialog-body{padding:18px}.ct-dialog-head{padding:11px 15px}.ct-preview-description{font-size:12px}
}
@media(max-width:340px){.ct-grid,.ct-source-grid,.ct-catalogue-grid{grid-template-columns:1fr}.ct-item-link{flex-direction:row}.ct-tile-facts{flex-direction:row;align-items:center}.ct-browse-filter{grid-template-columns:1fr}.ct-browse-filter label{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.ct-tile{transition:none}}
