/* Squardle Portrait Row (Option 2) with moderately rounded squares.
   Color Block: no glow, gradient, or blur. Pills stay on buttons and tags only.
   Specificity matches colorblock.css :not(#cb) overrides. */
#view-squardle .sq-root .sq-name:not(#cb){
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 8px;
  min-width:0;
}
#view-squardle .sq-root .sq-who:not(#cb){
  flex:1;
  min-width:0;
  margin:0;
  font-size:15px;
  font-weight:800;
  letter-spacing:-0.02em;
  line-height:1.2;
  overflow-wrap:anywhere;
}
#view-squardle .sq-root .sq-name > span:not(#cb){
  flex:none;
  font-size:12px;
  font-weight:700;
  color:var(--muted);
  font-variant-numeric:tabular-nums;
}
#view-squardle .sq-root .sq-who-photo:not(#cb){
  flex:none;
  width:56px;
  height:56px;
  border:2px solid var(--cb-cream, #F7F2E8);
  background:var(--cb-panel, #16181E);
  border-radius:10px;
  overflow:hidden;
}
#view-squardle .sq-root .sq-who-photo .sq-who-img:not(#cb){
  display:block;
  width:56px;
  height:56px;
  object-fit:cover;
  object-position:top center;
  border-radius:8px;
}
#view-squardle .sq-root .sq-who-mono:not(#cb){
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  font-size:16px;
  font-weight:800;
  letter-spacing:0.04em;
  color:var(--cb-cream, #F7F2E8);
  background:var(--cb-panel2, #1D2029);
}
#view-squardle .sq-root .sq-tiles:not(#cb){gap:6px}
#view-squardle .sq-root .sq-labels:not(#cb){gap:6px}
#view-squardle .sq-root .sq-tile:not(#cb){
  border-radius:10px;
  box-shadow:none;
  filter:none;
  background-image:none;
  overflow:hidden;
  min-height:64px;
}
#view-squardle .sq-root .sq-tile:hover:not(#cb){
  transform:none;
  box-shadow:none;
}
#view-squardle .sq-root .sq-tile.sq-empty:not(#cb){
  background-image:none;
  background-color:transparent;
  border-radius:10px;
}
#view-squardle .sq-root .sq-tile.sq-green:not(#cb){
  background-color:#3DDB8A;
  color:#0E1013;
}
#view-squardle .sq-root .sq-tile.sq-yellow:not(#cb){
  background-color:#F5B82E;
  color:#0E1013;
}
#view-squardle .sq-root .sq-tile.sq-gray:not(#cb){
  background-color:#2A2E38;
  color:#F7F2E8;
}
#view-squardle .sq-root .sq-tile-val:not(#cb){
  font-weight:800;
  line-height:1.15;
  white-space:nowrap;
}
#view-squardle .sq-root .sq-tile-marks:not(#cb){
  display:flex;
  align-items:center;
  justify-content:center;
  gap:2px;
  margin-top:4px;
  line-height:1;
}
#view-squardle .sq-root .sq-tile-marks .sq-mark:not(#cb),
#view-squardle .sq-root .sq-tile-marks .sq-arr:not(#cb){
  font-size:13px;
  font-weight:900;
  margin:0;
  opacity:1;
  line-height:1;
}
#view-squardle .sq-root .sq-legend:not(#cb){
  flex-wrap:wrap;
  gap:10px 14px;
}
#view-squardle .sq-root .sq-legend b:not(#cb){font-weight:800}

@media (min-width:600px){
  #view-squardle .sq-root .sq-tile:not(#cb),
  #view-squardle .sq-root .sq-tile.sq-empty:not(#cb),
  #view-squardle .sq-root .sq-who-photo:not(#cb){
    border-radius:10px;
  }
  #view-squardle .sq-root .sq-who-photo .sq-who-img:not(#cb){border-radius:8px}
}

@media (max-width:599.98px){
  #view-squardle .sq-root .sq-who-photo:not(#cb){
    width:44px;
    height:44px;
    border-radius:8px;
  }
  #view-squardle .sq-root .sq-who-photo .sq-who-img:not(#cb){
    width:44px;
    height:44px;
    border-radius:6px;
  }
  #view-squardle .sq-root .sq-who:not(#cb){font-size:14px}
  #view-squardle .sq-root .sq-tile:not(#cb),
  #view-squardle .sq-root .sq-tile.sq-empty:not(#cb){
    border-radius:8px;
    min-height:62px;
    padding:6px 1px;
  }
  #view-squardle .sq-root .sq-tile-val:not(#cb){font-size:10px}
  #view-squardle .sq-root .sq-labels:not(#cb){
    font-size:8px;
    letter-spacing:0.02em;
  }
}

@media (prefers-reduced-motion:reduce){
  #view-squardle .sq-root .sq-tile.sq-reveal:not(#cb),
  #view-squardle .sq-root .sq-tile.sq-reveal:last-child:not(#cb){
    animation:none !important;
  }
}

@media (max-width:340px){
  #view-squardle .sq-root .sq-tiles:not(#cb),
  #view-squardle .sq-root .sq-labels:not(#cb){gap:3px}
  #view-squardle .sq-root .sq-tile:not(#cb),
  #view-squardle .sq-root .sq-tile.sq-empty:not(#cb){
    min-height:56px;
    padding:4px 0;
  }
  #view-squardle .sq-root .sq-tile-val:not(#cb){
    font-size:9px;
    letter-spacing:-0.04em;
    white-space:normal;
    overflow-wrap:anywhere;
    word-break:break-word;
    line-height:1.05;
    max-width:100%;
  }
  #view-squardle .sq-root .sq-tile-marks .sq-mark:not(#cb),
  #view-squardle .sq-root .sq-tile-marks .sq-arr:not(#cb){font-size:11px}
  #view-squardle .sq-root .sq-labels:not(#cb){
    font-size:7px;
    letter-spacing:0;
  }
}
