/* 내 프로필 */
.who { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.who .mk { width: 40px; height: 40px; }
.who h2 { margin: 0; }
.who-edit { margin-left: 3px; font-size: calc(12.5px * var(--fs)); color: var(--ink-soft); text-decoration: underline; }
.groups, .menu { list-style: none; padding: 0; margin: 0; }
.groups li, .menu li { border-bottom: 1px dashed #b3a690; }
.grow { display: flex; align-items: center; gap: 4px; }
.gopen, .menu button, .grow-new {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 13px 2px 14px 1px;
  text-align: left;
  font-size: 15.5px;
}
.gopen { flex: 1; min-width: 0; }
.gdot {
  flex: none;
  width: 26px;
  height: 26px;
  margin: 0 5px 0 1px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--g);
  box-shadow: 2px 2px 0 var(--ink);
}
.painting .gdot { transform: translate(1px, 1px); box-shadow: none; outline: 2px solid var(--hi); outline-offset: 2px; }
.gname { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gname.heart { font-size: calc(19px * var(--fs)); line-height: 1; font-family: system-ui, sans-serif; color: var(--g); }
.gopen span { margin-left: auto; font-size: calc(12.5px * var(--fs)); color: var(--ink-soft); }
.gopen i { font-style: normal; font-size: calc(20px * var(--fs)); color: var(--ink-soft); }
.grow-new { color: var(--ink-soft); font-size: calc(14px * var(--fs)); }

/* 그룹 색 팔레트 */
.pal { display: flex; flex-wrap: wrap; gap: 9px 8px; padding: 2px 0 15px 38px; }
.sw {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--c);
  cursor: pointer;
}
.sw.on { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.sw.add { background: var(--paper); border-style: dashed; font-size: calc(19px * var(--fs)); font-weight: 700; line-height: 1; color: var(--ink); }
.sw.add input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.groups li:last-child { border-bottom: 0; }
.menu { border-top: 2px solid var(--ink); }
.menu button { font-weight: 700; }
.menu-link { display: flex; align-items: center; gap: 9px; padding: 13px 2px 14px 1px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: calc(15.5px * var(--fs)); }
.to-settings { display: block; }
.menu .danger { color: var(--mood); font-weight: 500; font-size: 13.5px; }
.menu i { margin-left: auto; font-style: normal; font-size: 20px; color: var(--ink-soft); }
.live { padding: 1px 6px 2px; background: var(--mood); color: var(--paper); font-size: calc(10.5px * var(--fs)); font-weight: 700; font-style: normal; }


/* 그룹을 보고 있을 땐 핀도 그룹 색 */
.pin-g b { background: var(--g); }
.pick b { border-left: 5px solid var(--g, transparent); padding-left: 7px; }
.pick.on .box { background: var(--g, var(--ink)); box-shadow: inset 0 0 0 3px var(--paper); }

/* 설정 */
.w-head.has-back { padding-left: 50px; }
.w-back {
  position: absolute;
  left: 7px;
  top: calc(env(safe-area-inset-top) + 9px);
  width: 40px;
  height: 42px;
  font-size: 30px;
  line-height: 1;
}
.seg { display: flex; border: 2px solid var(--ink); }
.seg button { flex: 1; padding: 11px 0 12px; border-left: 1.5px solid var(--ink); font-weight: 700; }
.seg button:first-child { border-left: 0; }
.seg-s { font-size: 12.5px; }
.seg-m { font-size: 14px; }
.seg-l { font-size: 16px; }
.seg-xl { font-size: 17.5px; }
.seg button.on { background: var(--ink); color: var(--paper); }
.fs-preview { margin-top: 13px; padding: 12px 14px 13px 15px; border: 1.5px dashed var(--ink-soft); }
.fs-preview strong { display: block; margin: 5px 0 1px; font-size: calc(17px * var(--fs)); letter-spacing: -.02em; }
.fs-preview small { font-size: calc(12.5px * var(--fs)); color: var(--ink-soft); }
.fs-preview p { margin-top: 6px; font-size: calc(13.5px * var(--fs)); line-height: 1.5; }
.fs-preview + .w-hint { margin-top: 7px; }
.to-settings { margin-top: 21px; font-size: 12.5px; color: var(--ink-soft); text-decoration: underline; }

/* 내가 후기 쓴 카페 */
.pin.mine b::before {
  content: '★';
  position: absolute;
  top: -10px;
  right: -11px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--hi);
  color: var(--ink);
  font-size: 10px;
  line-height: 1;
}
.tag-mine { background: var(--hi); color: var(--ink); }

/* 프로필의 새 그룹 입력칸 */
.new-row { display: flex; gap: 6px; padding: 12px 0 4px; border-bottom: 0 !important; }
.new-row input {
  flex: 1;
  min-width: 0;
  padding: 9px 10px 10px;
  border: 1.5px dashed var(--ink);
  border-radius: 0;
  background: #f6f1e7;
  color: var(--ink);
  font: inherit;
  font-size: calc(14.5px * var(--fs));
}
.new-row input:focus { outline: 2px solid var(--hi); outline-offset: 1px; border-style: solid; }
.new-row button { flex: none; padding: 0 12px; border: 1.5px solid var(--ink); background: var(--hi); font-weight: 700; font-size: calc(13.5px * var(--fs)); }
.new-row button:disabled { opacity: .5; }
