/* Smeargle Sketch - the big screen's round (smeargle-big.js). Sketch-Off's board and parts (sketch-big.css .skb-*): on the
   left the portrait everyone is copying, in a porthole at --toy-art-scale 1 (framed as the phones' canvas is), its name and
   the counts; on the right the wall, four drawings live on paper (.skb-canvas); Smeargle painting in the corner. */
#smArena{ position:fixed; inset:0; z-index:55; overflow:hidden; background:radial-gradient(ellipse at 50% 30%, #FFD43B 0%, #F59F00 55%, #D9480F 100%); }
#smArena .skb-host{ position:absolute; inset:0; }
.smb-body{ gap:80px; bottom:60px; }
.smb-side{ flex:none; display:flex; flex-direction:column; align-items:stretch; gap:26px; width:500px; }
.smb-ref{ width:500px; height:500px; border-radius:36px; --toy-art-scale:1; }
.smb-card{ transform:rotate(-1.5deg); padding:18px 30px 22px; }
.smb-card .skb-ptext{ font-size:72px; line-height:1; }
.smb-counts{ display:flex; gap:22px; }
.smb-count{ flex:1; display:flex; flex-direction:column; align-items:center; padding:12px 10px 16px; color:var(--toy-ink-color); background:var(--toy-bg-eggshell);
  border:var(--toy-border-dark); border-radius:24px; box-shadow:none; --toy-drop:6px; --toy-drop-c:var(--toy-ink-color); --toy-under:opacity(1);
  filter:var(--toy-fx, opacity(1)) drop-shadow(0 var(--toy-drop, 0px) 0 var(--toy-drop-c, transparent)) var(--toy-under, opacity(1)); }
.smb-count b{ font-family:'Lilita One',sans-serif; font-weight:400; font-size:54px; line-height:1; }
.smb-count span{ font-size:24px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }

/* THE WALL: two by two, best first, the random one last */
.smb-wall{ display:grid; grid-template-columns:repeat(2, 370px); gap:26px 34px; }
.smb-slot{ position:relative; display:flex; flex-direction:column; gap:10px; padding:12px; color:var(--toy-ink-color); background:var(--toy-bg-eggshell);
  border:var(--toy-border-dark); border-radius:24px; box-shadow:none; --toy-drop:6px; --toy-drop-c:var(--toy-ink-color); --toy-under:opacity(1);
  filter:var(--toy-fx, opacity(1)) drop-shadow(0 var(--toy-drop, 0px) 0 var(--toy-drop-c, transparent)) var(--toy-under, opacity(1)); transition:background-color .3s; }
.smb-slot.lead{ background:linear-gradient(180deg, #FFE066, #FAB005); }
.smb-paper{ position:relative; }
.smb-paper .skb-canvas{ width:100%; height:auto; }
.smb-wait{ position:absolute; inset:0; display:none; align-items:center; justify-content:center; font-family:'Lilita One',sans-serif; font-size:34px; color:#ADB5BD; }
.smb-slot.empty .smb-wait{ display:flex; }
.smb-slot.empty{ opacity:.55; }
.smb-tag{ display:flex; align-items:center; gap:10px; min-height:40px; }
.smb-rank{ flex:none; font-family:'Lilita One',sans-serif; font-size:22px; line-height:1; letter-spacing:.04em; text-transform:uppercase; padding:6px 12px 8px; border-radius:99px;
  color:#fff; background:var(--toy-ink-color); }
.smb-rank:empty{ display:none; }
.smb-name{ flex:1; min-width:0; font-family:'Lilita One',sans-serif; font-weight:400; font-size:32px; line-height:1.1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.smb-pct{ flex:none; font-family:'Lilita One',sans-serif; font-size:34px; line-height:1; }

/* Smeargle at work, in the corner under the counts */
.smb-mascot{ position:absolute; left:26px; bottom:8px; width:230px; height:auto; z-index:2; pointer-events:none; transform-origin:50% 100%;
  --toy-fx:drop-shadow(0 8px 0 rgba(0,0,0,.25)); filter:var(--toy-fx, opacity(1)) drop-shadow(0 var(--toy-drop, 0px) 0 var(--toy-drop-c, transparent)) var(--toy-under, opacity(1)); animation:smbPaint 1.1s ease-in-out infinite alternate; }
@keyframes smbPaint{ from{ transform:rotate(-3deg); } to{ transform:rotate(3deg); } }

/* THE TOP FOUR, held up before the results board (smeargle-big.js renderTop): the round's best drawings, bigger than the
   wall's and drawn in together from nothing; the winner's card gold, as the wall's leader is. Its own body, a column,
   so the row sits under the portrait rather than beside it */
.smt-body{ position:absolute; left:60px; right:60px; top:140px; bottom:70px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:34px; }
.smt-head{ display:flex; align-items:center; gap:30px; }
.smt-ref{ width:190px; height:190px; border-radius:28px; }
.smt-card{ transform:rotate(-1.5deg); }
.smt-card .skb-ptext{ font-size:60px; }
.smt-row{ display:flex; align-items:flex-start; justify-content:center; gap:26px; }
.smt-slot{ width:420px; }
.smt-slot .smb-rank{ font-size:26px; }
.smt-slot .smb-name{ font-size:34px; }
.smt-slot .smb-pct{ font-size:38px; }
