.portrait{position:relative}.element-mark{position:absolute;left:0;bottom:0;display:grid;place-items:center;width:18px;height:18px;line-height:1;font-size:11px;font-weight:800;border-radius:0 5px 0 5px;border:1px solid #fff9;z-index:1;box-shadow:0 1px 3px #0004}.element-mark.light{background:#ffdf78;color:#604300}.element-mark.dark{background:#403350;color:#fff}.light-text,.dark-text{display:inline-block;padding:0 5px;margin:0 2px;border-radius:4px;font-size:11px;font-weight:600}.light-text{color:#785a10;background:#fff2bc}.dark-text{color:#fff;background:#52435f}.element-quick{display:flex;gap:6px;margin:12px 0 0}.element-quick button{flex:1;min-width:0;padding:6px 3px;font-size:11px;border:1px solid var(--line);background:#fff}.element-quick button.active{background:var(--green-soft);border-color:#8db9a9;color:var(--green)}.element-quick button[data-element="光"]{color:#8a6617}.element-quick button[data-element="暗"]{color:#675374}.condition-row label select#accountElement{max-width:130px}.card-summary{gap:10px;flex-wrap:wrap}.stats div{min-width:80px}
@media(max-width:760px){.stats span{font-size:10px}.element-mark{width:16px;height:16px;font-size:10px}.element-quick button{font-size:11px}.card-summary strong{font-size:14px}}

.catalog-entry{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:3px}
.catalog-actions,.catalog-actions[hidden]{display:flex!important;gap:2px;height:28px;flex-shrink:0}
.catalog-actions[hidden]{visibility:hidden;pointer-events:none}
.catalog-actions button{min-width:0;padding:2px 0;font-size:10px;line-height:1.2;border:1px solid #c4dcd3;background:var(--green-soft);color:var(--green);border-radius:4px;height:28px}
.catalog-minus{flex:0 0 18px}.catalog-cancel{flex:1}
.selector .panel-title .inline{gap:6px;flex-shrink:0}
.selector #catalogCount{font-size:11px;color:var(--muted)}
