/* v58: Crystal Places links on glamour detail, share page and maker (self-contained, cpl- prefix) */
.cpl-wrap{margin:14px 0 4px;display:grid;gap:10px}
.cpl-box{padding:12px 14px;border:1px solid #9ccfd944;border-radius:14px;background:#9ccfd90a}
.cpl-box h4{margin:0 0 8px;font-size:14px;color:#ede2c8}
.cpl-box h4::before{content:'📍 '}.cpl-box h4.cpl-suits::before{content:'✦ '}
.cpl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px}
.cpl-mini{display:grid;grid-template-columns:56px minmax(0,1fr);gap:10px;align-items:center;padding:6px;border:1px solid #ffffff1a;border-radius:12px;background:#06111b99;color:#e7edf5;text-decoration:none;cursor:pointer;text-align:left}
.cpl-mini:hover,.cpl-mini:focus-visible{border-color:#9ccfd9aa;outline:none}
.cpl-cover{display:grid;place-items:center;aspect-ratio:4/3;border-radius:8px;overflow:hidden;background:linear-gradient(140deg,#1e3550,#0b1626);font-size:20px}
.cpl-cover img{width:100%;height:100%;object-fit:cover}
.cpl-body{display:grid;min-width:0}.cpl-body strong{font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cpl-body small{color:#9eb3c7;font-size:11.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cpl-warn{color:#ffcf8a!important}
.cpl-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;align-items:center}
.cpl-btn{min-height:36px;padding:6px 14px;border-radius:999px;border:1px solid #43566a;background:#0d1a29;color:#e7edf5;font:inherit;font-size:13px;cursor:pointer}
.cpl-btn:hover{border-color:#e5cf93;color:#f3e6c2}.cpl-primary{border-color:#ad985c;background:linear-gradient(135deg,#4a4a35,#202d37);color:#f6e9bd}
.cpl-dialog{width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 40px);padding:16px;border:1px solid #c9b27866;border-radius:18px;background:#0b1626;color:#e7edf5;overflow:auto}
.cpl-dialog::backdrop{background:#020610c0;backdrop-filter:blur(3px)}
.cpl-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.cpl-top h2{margin:0;font-size:18px;color:#f6e9bd}
.cpl-x{width:36px;height:36px;border-radius:50%;border:1px solid #43566a;background:none;color:#e7edf5;font-size:20px;cursor:pointer}
.cpl-dialog input,.cpl-dialog select{min-height:40px;padding:8px 12px;border-radius:10px;border:1px solid #43566a;background:#06111b;color:#e7edf5;font:inherit;font-size:14px}
.cpl-dialog>input{width:100%;margin:12px 0 8px;box-sizing:border-box}
.cpl-list{display:grid;gap:6px;max-height:300px;overflow:auto}
.cpl-quick{margin-top:14px;padding-top:12px;border-top:1px solid #ffffff1a}.cpl-quick h3{margin:0 0 4px;font-size:14px;color:#ede2c8}
.cpl-quick .cpl-row input{flex:1 1 180px;min-width:0}
.cpl-note{margin:4px 0;color:#9eb3c7;font-size:12.5px}
.cpl-maker .cpl-label{display:block;font-weight:600;margin-bottom:6px}.cpl-maker .cpl-cur{max-width:360px}
@media (max-width:600px){.cpl-grid{grid-template-columns:1fr}}
/* v59: creator page — Crystal Places statistics */
.creator-places{display:grid;gap:12px;margin:0 22px 18px;padding:14px 16px;border:1px solid #9ccfd944;border-radius:16px;background:#9ccfd90a}
.creator-places>h3{margin:0;font-size:14px;color:#ede2c8;letter-spacing:.06em}.creator-places>h3::before{content:'📍 '}
.creator-places .cpl-stats{margin:0}
.cpl-plain{margin:0 0 8px;font-size:13px;color:#c4d4e2;font-weight:600}
.cpl-mixbar{display:flex;gap:2px;height:10px;border-radius:999px;overflow:hidden;background:#ffffff10}
.cpl-seg{flex:1 1 0;min-width:6px}
.cpl-mixlegend{display:flex;flex-wrap:wrap;gap:6px 14px;margin:8px 0 0;padding:0;list-style:none;font-size:12.5px;color:#c4d4e2}
.cpl-mixlegend li{display:flex;align-items:center;gap:6px}
.cpl-dot{width:10px;height:10px;border-radius:3px;display:inline-block}
.cpl-t-studio{background:#e5cf93}.cpl-t-rp_shop{background:#e59ac0}.cpl-t-housing{background:#9fe6cf}.cpl-t-map_spot{background:#7fb8f0}.cpl-t-duty_spot{background:#b8a2f0}
.cpl-extra{color:#f3e6c2!important}
.cpl-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px}
.cpl-foot .cpl-note{margin:0}
.cpl-more{color:#9ccfd9;font-size:13px;text-decoration:underline;text-underline-offset:3px}
@media (max-width:640px){.creator-places{margin:0 12px 14px;padding:12px}.creator-places .cpl-stats li{min-width:0;flex:1 1 calc(50% - 10px)}}

/* v101: check-ins wearing this look */
.cpl-worn-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px}
.cpl-worn-item{position:relative;display:block;aspect-ratio:1;border-radius:12px;overflow:hidden;border:1px solid #9ccfd944;background:#0b1626;text-decoration:none}
.cpl-worn-item img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.cpl-worn-item:hover img{transform:scale(1.06)}
.cpl-worn-item span{position:absolute;left:0;right:0;bottom:0;padding:14px 6px 4px;font-size:11px;color:#f3e6c2;background:linear-gradient(transparent,#050b15e6);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cpl-worn-item:focus-visible{outline:2px solid #a8e2f7;outline-offset:2px}
