/* R9: no carousel; current ownership before secondary telemetry. */
.owned-build{display:grid;gap:16px;min-width:0;overflow-wrap:anywhere}.owned-build *{box-sizing:border-box;min-width:0}.owned-overview{padding:14px;border:1px solid #786985;border-radius:14px;background:#252132}.owned-overview h3,.owned-overview p{margin:0 0 6px}.owned-overview small,.owned-state-note,.owned-alias{color:#c6bfd1}.owned-core-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.owned-slot{min-width:0}.owned-slot>h4{display:flex;align-items:center;gap:6px;margin:0;padding:6px 2px;font-size:.85rem}.owned-slot>h4 .icon{width:18px;height:18px}.owned-item-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.owned-item{border:1px solid #61586d;border-radius:10px;align-self:start;background:#25212f;overflow:hidden}.owned-item.dormant{border-style:dashed}.owned-item>summary{display:flex;align-items:center;gap:8px;min-height:64px;padding:10px;cursor:pointer;list-style:none}.owned-item>summary::-webkit-details-marker{display:none}.owned-item>summary:after{content:'＋';flex:none;font-size:1.1em;color:#d6bddb}.owned-item[open]>summary:after{content:'−'}.owned-item>summary:focus-visible,.owned-build button:focus-visible,.owned-build summary:focus-visible{outline:3px solid #f2cd71;outline-offset:-3px}.owned-icon{display:grid;place-items:center;flex:none;width:28px;height:28px}.owned-icon .icon{width:24px;height:24px}.owned-identity{flex:1}.owned-identity b{display:block;font-size:.9rem}.owned-identity small,.owned-rank small{display:block;font-size:.72rem;color:#c6bfd1;margin-top:3px}.owned-rank{font-size:.78rem;flex:none;text-align:right}.owned-item[open]{grid-column:1/-1}.owned-detail{padding:0 12px 12px;border-top:1px solid #61586d}.owned-detail-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:10px}.owned-detail h4{margin:0;font-size:1rem}.owned-detail p{font-size:.9rem;line-height:1.65;margin:10px 0}.owned-detail button{min-width:88px;min-height:44px;padding:8px 12px;border:1px solid #9f8bac;border-radius:8px;background:#373044;color:inherit;font:inherit;cursor:pointer}.owned-trigger{display:flex;align-items:center;gap:6px}.owned-trigger .icon{width:18px;height:18px;flex:none}.owned-current{padding:10px;border-radius:8px;background:#393146}.owned-current b,.owned-current strong{display:block}.owned-current strong{margin-top:5px;color:#f7dc9d;font-size:1rem}.owned-dormant{border-left:3px solid #e5b981;padding-left:10px}.owned-state-note{font-size:.78rem!important}.owned-source-group{border:1px solid #5e5469;border-radius:10px;margin:8px 0;overflow:hidden}.owned-source-group>summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:52px;padding:10px;cursor:pointer;background:#302939}.owned-source-group>summary .icon{width:20px;height:20px}.owned-source-group>summary span{margin-left:auto;font-size:.78rem}.owned-source-group>.owned-item-grid{padding:8px}.owned-empty{display:flex;align-items:center;min-height:64px;margin:0;padding:12px;border:1px dashed #675d73;border-radius:10px;color:#bbb2c8;font-size:.85rem}.owned-next{margin-top:12px;padding:8px;border:1px dashed #81758f;border-radius:8px}.owned-next>summary,.owned-direction-reference>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:.86rem}.owned-max{color:#e2c993}.owned-build .ink-source-meter{margin:0}.owned-build .ink-section-heading{flex-wrap:wrap;gap:6px}.owned-build .ink-section-heading h3{margin:0 0 6px}.owned-build .ink-section-heading>span{font-size:.78rem}.owned-build .ink-source-meter ol{grid-template-columns:repeat(4,minmax(0,1fr))}.owned-build .ink-source-meter .ink-source{white-space:normal;justify-content:center;padding:4px}.owned-build .ink-source-meter .icon{width:14px;height:14px;flex:none}.owned-direction-reference{padding:10px;border:1px solid #5e5469;border-radius:10px}
@media(max-width:420px){.owned-core-grid,.owned-item-grid{grid-template-columns:1fr}.owned-item>summary{min-height:60px}.owned-overview{padding:12px}.owned-source-group>summary span{width:100%;margin-left:28px}.owned-build .ink-source-meter ol{gap:4px}.owned-build .ink-source-meter small{white-space:normal}.owned-rank{max-width:76px}}
@media(min-width:740px){.owned-core-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.owned-build *{scroll-behavior:auto}}

/* Keep the five action slots compact on narrow screens; opened rules span the grid. */
@media(max-width:420px){.owned-core-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.owned-slot .owned-item>summary{display:grid;grid-template-columns:24px minmax(0,1fr);gap:6px;padding:8px}.owned-slot .owned-rank{grid-column:2;text-align:left;max-width:none}.owned-slot .owned-item>summary:after{display:none}.owned-slot .owned-identity small{font-size:.68rem}.owned-slot.owned-slot-open{grid-column:1/-1}.owned-slot.owned-slot-open .owned-item>summary{display:flex}.owned-slot .owned-empty{min-height:88px}}
/* Pause groups are dark; existing game-panel headings otherwise inherit dark ink. */
.owned-build{color:#edf5df;text-align:left}.owned-build h3,.owned-build h4{color:#edf5df}.owned-build .ink-section-heading>span,.owned-build .ink-empty-note{color:#c8ddcb}.owned-build .ink-section-heading h3 b{color:#304c38}.owned-build .ink-source-meter{color:#304c38}.owned-build .ink-source-meter p,.owned-build .ink-source-meter small{color:#49613d}.owned-build .ink-source-meter li.empty{color:#49613d}.owned-build .ink-prerequisites{color:#304c38}.owned-build .owned-direction-reference .ink-directions{color:#304c38;background:#f3f3e4;border-radius:8px;padding:10px}.owned-build .owned-direction-reference .ink-directions h3,.owned-build .owned-direction-reference .ink-directions p,.owned-build .owned-direction-reference .ink-directions small,.owned-build .owned-direction-reference .ink-section-heading>span{color:#304c38}
