.cc-main{max-width:1100px}.cc-main h1{margin-bottom:8px;color:var(--forest)}.cc-lead{color:var(--muted);margin-top:0}.cc-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:end;padding:16px;background:var(--card);border:1px solid var(--line);border-radius:12px}.cc-filters label{display:grid;gap:6px;font-size:13px;flex:1;min-width:180px}.cc-filters input,.cc-filters select,.cc-filters button{font:inherit;min-height:44px;border:1px solid var(--line);border-radius:7px;padding:9px 12px;background:white;max-width:100%}.cc-filters button{background:var(--forest);color:white;cursor:pointer}.cc-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.cc-tabs a{padding:9px 14px;border:1px solid var(--line);border-radius:24px;color:var(--forest);text-decoration:none;background:var(--card)}.cc-tabs a[aria-current]{background:var(--forest);color:white}.cc-note{font-size:13px;line-height:1.8;color:var(--muted);max-width:800px}.cc-count{font-size:13px;color:var(--muted)}.cc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cc-card{min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--card);padding:18px}.cc-card h2{font-size:17px;color:var(--forest);margin:0 0 12px;overflow-wrap:anywhere}.cc-card h3{font-size:14px}.cc-card h2 small{font-size:12px}.cc-description{font-size:14px;line-height:1.9;overflow-wrap:anywhere}.cc-small{font-size:12px;color:var(--muted)}.cc-values{display:flex;gap:20px;margin:0}.cc-values div{display:flex;gap:12px;align-items:baseline}.cc-values dt{font-size:12px;color:var(--muted)}.cc-values dd{margin:0;font-weight:bold;font-variant-numeric:tabular-nums}.cc-pagination{display:flex;justify-content:center;align-items:center;gap:24px;margin:24px 0}.cc-pagination a{padding:10px 20px;border:1px solid var(--line);border-radius:8px;color:var(--forest);background:var(--card)}.cc-empty{padding:40px 20px;text-align:center;color:var(--muted)}@media(max-width:650px){.cc-grid{grid-template-columns:1fr}.cc-filters{display:grid;grid-template-columns:1fr}.cc-filters label{min-width:0}.cc-tabs{gap:6px}.cc-tabs a{font-size:13px;padding:8px 11px}.cc-card{padding:15px}}

.cc-category{margin:0 0 7px;color:var(--muted);font-size:11px}.cc-stage{display:inline-block;vertical-align:middle;margin-left:6px;padding:3px 9px;border-radius:20px;background:#e8eee8;color:var(--forest);font-weight:700;white-space:nowrap}

.cc-stage-list{list-style:none;margin:0;padding:0}.cc-stage-list>li{padding:12px 0;border-top:1px solid var(--line)}.cc-stage-list .cc-stage{margin-left:0}.cc-stage-list .cc-description{margin:8px 0 0}.cc-progression{align-self:start}

.cc-evidence{display:inline-block;margin-left:8px;color:var(--muted);font-size:10px}

.cc-grid--souvenirs{grid-template-columns:1fr}.cc-growth{margin-top:24px}.cc-growth-intro{display:flex;align-items:center;gap:8px}.cc-growth-intro h3{margin:0 0 12px}.cc-help{display:inline-block;font-size:12px;font-weight:normal;vertical-align:middle}.cc-help summary{list-style:none;cursor:pointer;display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:50%;width:22px;height:22px;color:var(--forest);background:var(--card)}.cc-help summary::-webkit-details-marker{display:none}.cc-help p{font-size:12px;line-height:1.7;padding:10px;background:#edf0e8;border-radius:6px;max-width:500px}.cc-growth-phase{margin:12px 0;border:1px solid var(--line);border-radius:10px;padding:12px}.cc-growth-phase>summary{cursor:pointer;display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 18px;color:var(--forest)}.cc-growth-phase>summary:before{content:'▸'}.cc-growth-phase[open]>summary:before{content:'▾'}.cc-growth-phase>summary span{font-size:12px;color:var(--muted)}.cc-growth-phase>summary small{font-size:11px}.cc-growth-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.cc-growth-column{min-width:0}.cc-growth-column h4{font-size:12px;color:var(--forest);margin:0 0 8px}.cc-growth-column ol{list-style:none;margin:0;padding:0;display:grid;gap:7px}.cc-growth-column li{display:flex;flex-direction:column;align-items:flex-start;gap:5px;border:1px solid var(--line);border-radius:7px;padding:9px;background:#f6f5ef;overflow-wrap:anywhere}.cc-node-order{font-size:10px;color:var(--muted)}.cc-node-name{font-size:12px}.cc-node-value{font-size:15px;font-weight:700;color:var(--forest);font-variant-numeric:tabular-nums}.cc-growth-totals{display:flex;flex-wrap:wrap;gap:12px 28px;margin:16px 0 8px}.cc-growth-totals h4{font-size:12px;margin:0 0 8px}.cc-growth-totals ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px}.cc-next-stage{font-size:12px;color:var(--forest);text-align:right;margin:14px 0 0}@media(max-width:500px){.cc-growth-phase{padding:8px}.cc-growth-columns{gap:5px}.cc-growth-column li{padding:6px 4px}.cc-node-name{font-size:10px}.cc-node-value{font-size:13px}.cc-growth-phase>summary{gap:5px}.cc-growth-phase>summary span{width:100%}.cc-growth-phase>summary small{display:block}.cc-help p{max-width:100%}.cc-growth-intro{align-items:flex-start}}

.cc-growth-table-wrap{overflow-x:auto}.cc-growth-table{border-collapse:collapse;width:100%;font-size:12px;line-height:1.6;font-variant-numeric:tabular-nums}.cc-growth-table th,.cc-growth-table td{border-bottom:1px solid var(--line);padding:9px 12px;text-align:left;vertical-align:top}.cc-growth-table thead th{font-weight:600;color:var(--muted);background:#f6f5ef}.cc-growth-table tbody th{white-space:nowrap;color:var(--forest)}.cc-growth-table small{display:block;font-size:10px;font-weight:normal;color:var(--muted)}.cc-growth-table td span{display:block;white-space:nowrap}.cc-growth-table strong{color:var(--forest)}.cc-growth-detail>summary{cursor:pointer;color:var(--forest);font-size:13px;padding:14px 0}.cc-unlock{margin:18px 0;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:18px}.cc-unlock h2{font-size:16px;margin:0;color:var(--forest)}@media(max-width:500px){.cc-growth-table{font-size:11px}.cc-growth-table th,.cc-growth-table td{padding:7px 5px}.cc-unlock{padding:12px}}

.cc-growth-table--totals td,.cc-growth-table--totals thead th:not(:first-child){text-align:right}.cc-growth-table--totals td{vertical-align:middle;font-size:14px}
.cc-level-control{padding:16px;border:1px solid var(--line);border-radius:10px;background:#f6f5ef}.cc-level-label{display:flex;justify-content:space-between;align-items:center;gap:12px}.cc-level-label label{font-weight:700;color:var(--forest)}.cc-level-label>span{font-size:11px;color:var(--muted)}.cc-level-number{font:inherit;width:72px;border:1px solid var(--line);border-radius:6px;padding:6px;background:white}.cc-level-range{width:100%;margin:18px 0 3px;accent-color:var(--forest);cursor:pointer;min-height:28px}.cc-level-ends{display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.cc-boundary{margin:12px 0;display:flex;align-items:center;gap:10px;font-size:13px}.cc-boundary[hidden]{display:none}.cc-boundary select{font:inherit;padding:7px;border:1px solid var(--line);border-radius:6px;background:white}.cc-level-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.cc-level-values>div{display:grid;gap:5px}.cc-level-values span{font-size:11px;color:var(--muted)}.cc-level-values strong{font-size:24px;color:var(--forest);font-variant-numeric:tabular-nums}@media(max-width:500px){.cc-level-control{padding:12px}.cc-level-values strong{font-size:21px}.cc-level-label>span{font-size:10px}}
.cc-star-track{position:relative;height:17px;margin:0 8px;color:#9b7424;font-size:12px}.cc-star-track span{position:absolute;transform:translateX(-50%)}.cc-progress-state{font-size:13px;color:var(--forest);margin:12px 0 0;min-height:20px}.cc-progress-state.is-breakthrough{font-weight:700;color:#926515}

/* Read-only counterpart of the detailed comparison inscription table. */
.cc-unlock-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.cc-expand-inscriptions,.cc-inscription-nav button{font:inherit;font-size:12px;border:1px solid var(--line);border-radius:7px;background:var(--card);color:var(--forest);padding:9px 12px;cursor:pointer}
.cc-inscription-nav{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}
.cc-inscription-nav button{min-height:32px;padding:5px 9px;font-size:11px;line-height:1.4}
.cc-matrix-wrap{box-sizing:border-box;width:100%;max-width:100%;min-width:0;overflow-x:auto;padding:3px;overscroll-behavior-inline:contain;scroll-padding-inline:71px;scrollbar-width:thin}
.cc-inscription-matrix{width:100%;table-layout:fixed;min-width:1318px;border-collapse:separate;border-spacing:0;font-size:12px}
.cc-inscription-matrix th,.cc-inscription-matrix td{box-sizing:border-box;text-align:left;vertical-align:top;padding:8px;border-right:1px solid #d8dfd0;border-bottom:1px solid #d8dfd0;background:#fafbf5;white-space:normal}
.cc-inscription-matrix thead th{border-top:1px solid #d8dfd0;background:#eef3e7;font-size:12px;line-height:1.6}
.cc-inscription-matrix th:first-child{position:sticky;left:0;z-index:1;width:68px;min-width:68px;padding:12px 6px;border-left:1px solid #d8dfd0;background:#f0f4e9;font-size:11px;line-height:1.6;text-align:center}
.cc-inscription-matrix thead th:first-child{z-index:2}
.cc-inscription-cell{margin:0 0 8px;padding:7px 9px;border:1px solid #dce2d4;border-radius:7px;background:#fffdf8}
.cc-inscription-cell:last-child{margin-bottom:0}
.cc-inscription-cell summary{box-sizing:border-box;cursor:pointer;color:#52634c;font-size:11px;font-weight:400;line-height:1.8;overflow-wrap:anywhere;padding:5px 0;min-height:32px}
.cc-inscription-cell p{font-size:11px;line-height:1.65;overflow-wrap:anywhere;margin:0}
.cc-inscription-cell[open] summary{margin-bottom:3px}
.cc-matrix-wrap:focus-visible,.cc-inscription-matrix th:focus-visible{outline:2px solid var(--forest);outline-offset:2px}
@media(max-width:780px),(pointer:coarse){.cc-expand-inscriptions,.cc-inscription-nav button{min-height:44px}.cc-inscription-cell summary{min-height:44px;padding-block:11px}}

/* Match the optimizer's 2-column, portrait-first character chooser. */
.cc-filters .cc-character-native[hidden],.cc-character-field[hidden]{display:none}
.cc-character-field{display:grid;gap:6px;font-size:13px;flex:1;min-width:min(180px,100%)}
.cc-character-picker{border:1px solid #bdcdc1;border-radius:7px;background:white;min-width:0}
.cc-character-picker summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:5px 10px;list-style:none;user-select:none}
.cc-character-picker summary::-webkit-details-marker{display:none}
.cc-character-picker summary::after{content:"⌄";color:#39715a;font-size:12px}
.cc-character-picker[open] summary{border-bottom:1px solid #d9e6df;background:#f2f8f4;border-radius:7px 7px 0 0}
.cc-character-picker[open] summary::after{content:"⌃"}
#cc-character-current{display:flex;align-items:center;min-width:0;gap:9px;font-size:14px;font-weight:600}
#cc-character-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:260px;overflow-y:auto;overscroll-behavior:contain;padding:7px;scroll-padding:7px}
.cc-filters #cc-character-options button{display:flex;align-items:center;text-align:left;gap:7px;min-width:0;min-height:44px;padding:5px 7px;border:1px solid #bdcdc1;border-radius:7px;background:white;color:#294d3c;font-size:12px}
.cc-filters #cc-character-options button:hover{background:#edf6f0;border-color:#689e88}
.cc-filters #cc-character-options button[aria-pressed=true]{background:#e8f4eb;border-color:#3a7759;color:#194f36}
#cc-character-current img,#cc-character-options img,.cc-character-fallback{width:32px;height:32px;flex:none}
#cc-character-current span,#cc-character-options button span{overflow-wrap:anywhere;min-width:0}
.cc-character-fallback{display:grid;place-items:center;border-radius:8px;background:#e5eee8;color:#345846;font-weight:750}
.cc-character-picker summary:focus-visible,.cc-filters #cc-character-options button:focus-visible{outline:2px solid var(--forest);outline-offset:-2px}
