/* Styles ("스타일 1", "스타일 2" ...): chips on the start step, the admin card, the header link. Loaded after theme-ref.css. */
.stylewrap{margin:14px 0 18px;padding-top:12px;border-top:1px solid var(--line)}
.stylewrap.off{display:none}
.stylewrap .lbl{display:inline-block;font-weight:800}
.stylechips{margin-top:8px}
.stylechip{display:inline-flex;align-items:center;gap:8px;padding:6px 16px;min-height:44px}
.stylechip[disabled]{opacity:.55;cursor:not-allowed}
.stylechip.sugg:not(.on){border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}
.yearbadge{display:inline-block;font-size:.75rem;font-weight:800;line-height:1;padding:4px 8px;border-radius:99px;background:var(--accent-soft);color:var(--accent-dark)}
.stylechip.on .yearbadge{background:rgba(255,255,255,.22);color:var(--accent-ink)}
.actmark{font-size:.75rem;font-weight:700;opacity:.9}
.stylenote{margin:6px 0 0;min-height:1.2em;font-size:.95rem;color:var(--muted)}
.stylenote.sugg{color:var(--ink);background:var(--accent-soft);border-radius:10px;padding:8px 12px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.stylenote.ok{color:var(--ok);font-weight:600}
.stylenote.err{color:var(--err);font-weight:600}
.stylesave{margin-top:8px}
.styleform{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.styleform input{max-width:220px}
.styleform input[type=number]{max-width:140px}
.styleform .msg.err{flex:1 1 100%}
.firstrunrow{margin:0 0 10px}
.btnlink{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 18px;border-radius:10px;font-weight:700;text-decoration:none}
.btnlink.ghost{background:var(--card);border:1.5px solid var(--accent);color:var(--accent)}
.btnlink.ghost:hover{background:var(--accent-soft)}
.setuplink{white-space:nowrap}
a.banner.firstrun-note,div.banner.firstrun-note{display:block;text-align:center;padding:9px 16px;background:var(--accent-soft);color:var(--accent-dark);font-weight:700;font-size:.92rem;text-decoration:none;border-bottom:1px solid var(--line)}
/* admin card */
.stylegroup{margin:14px 0}
.subh{margin:16px 0 6px;font-size:1rem}
.styleitems{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:12px}
.styleitem{border:1.5px solid var(--line);border-radius:14px;padding:14px 16px;background:var(--card)}
.styleitem.active{border-color:var(--accent);background:var(--accent-soft)}
.stylehead{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.stylehead strong{font-size:1.1rem}
.stylesum{margin:4px 0 10px;color:var(--muted);font-size:.92rem}
.styleacts{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.styleacts .msg{flex:1 1 100%}
.styleedit{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.styleedit[hidden]{display:none}
.styleedit input{max-width:220px}
.styleedit input[type=number]{max-width:120px}
button.danger{border-color:var(--err);color:var(--err)}
button.danger:hover:not(:disabled){background:var(--err-bg)}
.emptynote{color:var(--muted);margin:8px 0}
@media (max-width:640px){
  .styleitems{grid-template-columns:1fr}
  .styleacts button{flex:1 1 calc(50% - 8px)}
  .styleform input,.styleedit input{max-width:none;flex:1 1 100%}
  .stylenote.sugg button{width:100%}
}
