#ui-layer .tp-btn{color:#f6ebd8;white-space:nowrap;background:linear-gradient(#3a2f43,#231d2c);border:1px solid #c7ad7e88;border-radius:20px;flex-shrink:0;align-items:center;gap:6px;max-width:240px;min-height:40px;margin-left:auto;margin-right:8px;padding:4px 12px 4px 8px;font-size:13px;display:inline-flex}#ui-layer .tp-btn svg{width:18px;height:18px;color:var(--gold-hi,#f2d69c);flex-shrink:0}#ui-layer .tp-btn .tp-btn-k{color:#c7ad7e;letter-spacing:.04em;font-size:10px}#ui-layer .tp-btn b{text-overflow:ellipsis;min-width:0;font-weight:600;overflow:hidden}#ui-layer .tp-btn .tp-caret{border:5px solid #0000;border-top-color:#c7ad7e;width:0;height:0;margin-top:5px;transition:transform .18s}#ui-layer .tp-btn.is-open{border-color:#eac57d;box-shadow:0 0 0 3px #eac57d22}#ui-layer .tp-btn.is-open .tp-caret{margin-top:-5px;transform:rotate(180deg)}#ui-layer .tp-pop{z-index:40;box-sizing:border-box;background:linear-gradient(160deg,#2f2738f7,#191722fa);border:1px solid #c7ad7eaa;border-radius:14px;flex-direction:column;gap:8px;width:min(400px,100% - 24px);max-height:calc(100% - 70px);padding:12px;animation:.16s ease-out tp-in;display:flex;position:absolute;top:58px;right:12px;box-shadow:0 18px 50px #000b,inset 0 0 0 3px #d6b67b0d}@keyframes tp-in{0%{opacity:0;transform:translateY(-6px)scale(.98)}to{opacity:1;transform:none}}#ui-layer .tp-pop-head{justify-content:space-between;align-items:baseline;gap:10px;padding:0 2px;display:flex}#ui-layer .tp-pop-head b{color:#f2d69c;letter-spacing:.04em;font:600 15px Cinzel,Mali,serif}#ui-layer .tp-pop-head small{color:#bbafc4;font-size:11px}#ui-layer .tp-list{overscroll-behavior:contain;flex-direction:column;gap:6px;min-height:0;padding:2px;display:flex;overflow:auto}#ui-layer .tp-row{grid-template-columns:minmax(0,1fr) 44px;align-items:stretch;gap:6px;display:grid}#ui-layer .tp-more{border-radius:11px;place-items:center;min-height:52px;padding:0;display:grid}#ui-layer .tp-more svg{width:18px;height:18px}#ui-layer .tp-row.is-edit .tp-more{color:#f2d69c;border-color:#eac57d}#ui-layer .tp-edit{background:#0f0d16b3;border:1px dashed #c7ad7e66;border-radius:10px;flex-direction:column;grid-column:1/-1;gap:8px;padding:10px;display:flex}#ui-layer .tp-edit label{color:#c7ad7e;align-items:center;gap:8px;font-size:12px;display:flex}#ui-layer .tp-edit input{color:#f6ebd8;min-width:0;min-height:40px;font:inherit;background:#16131f;border:1px solid #c7ad7e66;border-radius:8px;flex:1;padding:6px 10px}#ui-layer .tp-edit-acts{flex-wrap:wrap;gap:6px;display:flex}#ui-layer .tp-edit-acts button{flex:auto;min-height:40px;font-size:12px}#ui-layer .tp-edit-acts .tp-del{color:#ff9a8a;flex:none}#ui-layer .tp-new{color:#f2d69c;border-style:dashed;border-color:#c7ad7e88;justify-content:center;align-items:center;gap:8px;min-height:46px;display:flex}#ui-layer .tp-new svg{width:18px;height:18px}#ui-layer .tp-full{color:#bbafc4;text-align:center;margin:0;font-size:11px}#ui-layer .tp-full svg{vertical-align:-2px;width:13px;height:13px}#ui-layer .tp-cards{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;display:grid}#ui-layer .tp-card{text-align:left;background:linear-gradient(145deg,#28323a,#1a212b);border:1px solid #6a604a88;border-radius:11px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:52px;padding:6px 10px 6px 6px;display:grid;position:relative}#ui-layer .tp-card:not(:disabled):hover{border-color:#c7ad7e}#ui-layer .tp-card.is-on{outline-offset:-2px;background:linear-gradient(145deg,#4f412b,#2b2619);outline:2px solid #eac57d}#ui-layer .tp-letter{color:#231b21;background:radial-gradient(circle at 35% 25%,#f2d69c,#a9844f);border-radius:9px;place-items:center;width:34px;height:34px;font:700 17px Cinzel,serif;display:grid;box-shadow:inset 0 -2px #0003}#ui-layer .tp-card.is-on .tp-letter{box-shadow:0 0 12px #eac57d88}#ui-layer .tp-meta{flex-direction:column;min-width:0;line-height:1.25;display:flex}#ui-layer .tp-meta b{color:#f6ebd8;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}#ui-layer .tp-meta small{color:#c7ad7e;text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;overflow:hidden}#ui-layer .tp-faces{flex-direction:row-reverse;justify-content:flex-end;display:flex}#ui-layer .tp-face{object-fit:cover;object-position:50% 12%;background:#2d3640;border:1.5px solid #1a212b;border-radius:50%;flex-shrink:0;width:30px;height:30px;margin-left:-8px;overflow:hidden;box-shadow:0 2px 4px #0006}#ui-layer .tp-faces .tp-face:last-child{margin-left:0}#ui-layer .tp-face.initial{color:#fff;place-items:center;font-size:12px;display:grid}#ui-layer .tp-on{color:#c9f5e4;background:#2f5a4c;border:1px solid #85e0c6;border-radius:50%;place-items:center;width:20px;height:20px;display:grid;position:absolute;top:-6px;right:-6px}#ui-layer .tp-on svg{width:12px;height:12px}@media (width<=900px){#ui-layer .tp-btn{max-width:170px;min-height:36px;padding:3px 10px 3px 6px;font-size:12px}#ui-layer .tp-btn .tp-btn-k{display:none}#ui-layer .tp-card{min-height:46px}#ui-layer .tp-face{width:26px;height:26px}}#ui-layer .ar-tpbtn{color:#f6ebd8;white-space:nowrap;background:linear-gradient(#3a2f43e6,#231d2ce6);border:1px solid #c7ad7e88;border-radius:20px;align-items:center;gap:6px;min-height:38px;margin-left:auto;margin-right:10px;padding:4px 12px;font-size:13px;display:inline-flex}#ui-layer .ar-tpbtn .tp-caret{border:5px solid #0000;border-top-color:#c7ad7e;width:0;height:0;margin-top:5px}#ui-layer .ar-tpbtn.is-open{border-color:#eac57d}#ui-layer .ar-tp{top:64px;right:16px}@media (width<=900px){#ui-layer .ar-tp{top:52px}#ui-layer .ar-tpbtn{min-height:34px;margin-right:6px;padding:3px 10px;font-size:12px}}
