/* Statistics: five real user-selected drawings, visually paired with Featured Badges. */
.profile-featured-drawings{margin:29px 0 30px}
.profile-featured-drawings .section-title{margin-bottom:13px}
.profile-featured-drawings-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.profile-drawing-slot{position:relative;display:flex;flex-direction:column;min-width:0;
 aspect-ratio:4/5;overflow:hidden;border:1.5px solid var(--line,#dedee4);
 border-radius:15px;background:var(--soft,#f5f6f8);color:var(--text,#16181d);
 padding:10px;gap:6px;text-align:left;font:inherit}
button.profile-drawing-slot{cursor:pointer}
button.profile-drawing-slot:hover{border-color:#9e8ac8;transform:translateY(-1px);box-shadow:0 5px 15px #18152113}
button.profile-drawing-slot:focus-visible{outline:3px solid #88a6e7;outline-offset:3px}
.profile-drawing-slot.has-drawing{background:var(--panel,#fff)}
.profile-drawing-slot img{display:block;width:100%;min-height:0;flex:1 1 0;object-fit:contain;
 border-radius:10px;background:#fff;box-shadow:inset 0 0 0 1px #e6e6e6}
.profile-drawing-slot-meta{display:flex;align-items:center;justify-content:space-between;gap:4px;flex-wrap:wrap;
 color:var(--muted,#6c7380);font:750 10px/1.35 system-ui,sans-serif}
.profile-drawing-slot-meta strong{font-size:10px;color:var(--text,#16181d)}
.profile-drawing-slot.is-empty{align-items:center;justify-content:center;border-style:dashed;
 border-color:color-mix(in srgb,var(--line,#d9dce4) 72%,#957ab9)}
.profile-drawing-slot.is-empty .profile-drawing-plus{display:grid;place-items:center;
 width:38px;height:38px;border-radius:50%;background:color-mix(in srgb,var(--panel,#fff) 75%,#dcd0f0);
 color:#8463a6;font:500 29px/1 system-ui,sans-serif}
.profile-drawing-slot.is-empty .profile-drawing-empty-caption{text-align:center;font:800 11px/1.45 system-ui,sans-serif;
 color:var(--muted,#787783)}
.profile-drawing-slot.is-empty[disabled]{cursor:default;opacity:.72}
.profile-drawings-loading{grid-column:1/-1;padding:16px;color:var(--muted,#737780);font-size:13px}
.profile-drawings-hint{margin:9px 0 0;color:var(--muted,#737780);font-size:11px;line-height:1.5}
.profile-drawings-hint:empty{display:none}
.profile-drawing-dialog{position:fixed;inset:0;width:min(700px,calc(100vw - 24px));max-width:none;
 max-height:min(85dvh,860px);border:1px solid var(--line,#d7dbe2);border-radius:18px;
 background:var(--panel,#fff);color:var(--text,#16181d);padding:21px;box-sizing:border-box;
 overflow-y:auto;box-shadow:0 20px 70px #0f152743}
.profile-drawing-dialog:not([open]){display:none}
.profile-drawing-dialog::backdrop{background:#13171fba}
.profile-drawing-dialog-header{display:flex;gap:20px;align-items:start;justify-content:space-between;
 padding-right:38px;margin-bottom:18px}
.profile-drawing-dialog h2{margin:5px 0 8px;font-size:clamp(21px,4vw,28px);font-weight:900;letter-spacing:-.04em}
.profile-drawing-dialog p{margin:4px 0 0;font-size:12px;line-height:1.5;color:var(--muted,#747b84)}
.profile-drawing-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;
 width:38px;height:38px;border:1px solid var(--line,#d9dfe4);border-radius:10px;
 background:var(--panel,#fff);color:var(--text,#1a1b20);font-size:26px;line-height:1;cursor:pointer}
.profile-drawing-close:hover{background:var(--soft,#f1f2f5)}
.profile-drawing-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-height:80px}
.profile-drawing-choice{min-width:0;display:flex;flex-direction:column;gap:7px;text-align:left;
 border:1.5px solid var(--line,#d8dce2);background:var(--soft,#f8f8f8);color:var(--text,#181a20);
 border-radius:12px;padding:9px;cursor:pointer;font:750 11px/1.4 system-ui,sans-serif}
.profile-drawing-choice img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#fff;
 border-radius:8px;box-shadow:inset 0 0 0 1px #eee}
.profile-drawing-choice small{color:var(--muted,#707a83);font-size:10px}
.profile-drawing-choice.is-selected{border-color:#9f7ac9;background:color-mix(in srgb,var(--panel,#fff) 70%,#e4d6f4);
 box-shadow:0 0 0 1px #9f7ac9}
.profile-drawing-choice:disabled{opacity:.57;cursor:not-allowed}
.profile-drawing-choice:focus-visible,.profile-drawing-close:focus-visible,
.profile-drawing-more:focus-visible,.profile-drawing-picker-actions button:focus-visible{
 outline:3px solid #88a6e7;outline-offset:3px}
.profile-drawing-more{display:block;margin:14px auto 0;min-height:42px;padding:9px 18px;
 background:var(--soft,#f5f6f7);border:1px solid var(--line,#d8dce2);border-radius:10px;
 color:var(--text,#16181d);font:850 11px system-ui,sans-serif;cursor:pointer}
.profile-drawing-more[hidden]{display:none}
.profile-drawing-status{min-height:17px;padding-top:12px;font-weight:720}
.profile-drawing-picker-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;
 padding-top:12px;border-top:1px solid var(--line,#e4e5e8)}
.profile-drawing-picker-actions button{min-height:42px;border-radius:10px}
.profile-drawing-picker-actions button:disabled{opacity:.45;cursor:not-allowed}
.profile-drawing-preview{width:min(560px,calc(100vw - 24px));text-align:center}
.profile-drawing-preview .eyebrow{text-align:left;margin-right:40px}
.profile-drawing-preview h2{margin:7px 38px 17px}
.profile-drawing-preview img{display:block;width:100%;height:auto;max-height:min(60dvh,560px);
 object-fit:contain;background:#fff;border-radius:12px;border:1px solid #e5e6e8}
.profile-drawing-preview p{margin-top:11px;font-weight:700}
@media(max-width:790px){
 .profile-featured-drawings-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
}
@media(max-width:480px){
 .profile-featured-drawings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .profile-drawing-slot{aspect-ratio:4/4.7;padding:8px}
 .profile-drawing-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .profile-drawing-dialog{padding:14px}
}
@media(prefers-reduced-motion:reduce){
 button.profile-drawing-slot:hover{transform:none}
}

/* The saved Daily is a square image, but the artwork is drawn on the wheel.
   Match the circular wheel preview used in Spin History, including for
   the picker and full-size preview. Never change the original saved pixels. */
.profile-drawing-slot.has-drawing img{
  width:100%;height:auto;aspect-ratio:1 / 1;flex:0 0 auto;
  display:block;box-sizing:border-box;object-fit:cover;
  border:3px solid #202329;border-radius:50%;background:#fff;
  box-shadow:none;
}
.profile-drawing-choice img{
  width:100%;aspect-ratio:1 / 1;box-sizing:border-box;object-fit:cover;
  border:2px solid #202329;border-radius:50%;background:#fff;
  box-shadow:none;
}
.profile-drawing-preview img{
  width:min(100%, 55dvh, 510px);height:auto;max-height:none;
  aspect-ratio:1 / 1;box-sizing:border-box;object-fit:cover;
  border:4px solid #202329;border-radius:50%;
  margin-inline:auto;background:#fff;
}
