.support-trigger, .support-dialog { --accent: #2563eb; --line: #dce1e9; --ink: #17191e; --surface: #fff; --muted: #687286; }
.support-enabled .owner-mark { display: none; }
.support-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; background: #fff4e3; border: 1px solid #ead4b3; border-radius: 10px; padding: 10px 16px; min-height: 44px; color: #744820; font: inherit; font-weight: 500; white-space: nowrap; cursor: pointer; }
.support-coffee-icon { display: block; flex-shrink: 0; width: 22px; height: 22px; }
.support-choice { display: grid; justify-items: center; gap: 10px; }
.support-trigger:hover { background: #fce9cc; color: #583413; }
.support-trigger:active { transform: translateY(1px); }
.support-trigger:focus-visible, .support-dialog :focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.support-dialog { width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 28px; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); background: var(--surface); }
.support-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.support-heading h2 { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 600; line-height: 1.5; letter-spacing: -.025em; }
.support-heading .support-coffee-icon { width: 22px; height: 22px; }
.support-close { background: none; border: 0; width: 44px; height: 44px; flex-shrink: 0; font-size: 28px; color: var(--muted); cursor: pointer; }
.support-description { font-size: 14px; line-height: 1.75; color: var(--muted); margin: 10px 0 24px; overflow-wrap: anywhere; }
.support-options { border: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.support-options legend { font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.support-option { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 24px 12px 18px; min-height: 114px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: #fbfbfd; }
.support-option:has(input:checked) { border-color: var(--accent); background: #f0f6ff; }
.support-option input { position: absolute; top: 12px; left: 12px; accent-color: var(--accent); width: 16px; height: 16px; }
.support-option .support-choice-title { display: block; font-size: 20px; line-height: 1.4; font-weight: 600; letter-spacing: -.025em; text-align: center; word-break: keep-all; text-wrap: balance; }
.support-custom-field { margin-top: 18px; }
.support-custom-field > label { display: block; font-size: 14px; margin-bottom: 8px; }
.support-input-wrap { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding-right: 14px; gap: 10px; }
.support-input-wrap input { border: 0; background: none; margin: 0; padding: 12px 14px; width: 100%; min-width: 0; border-radius: 10px; font-size: 16px; font-variant-numeric: tabular-nums; }
.support-input-wrap > span { font-size: 14px; color: var(--muted); }
.support-error { font-size: 13px; color: #a32f25; margin-top: 8px; line-height: 1.6; }
.support-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.support-total strong { display: block; margin-top: 6px; font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.support-total button { min-height: 44px; flex-shrink: 0; padding: 8px 12px; border: 0; border-radius: 8px; background: #f5f5f7; color: var(--ink); font-size: 13px; cursor: pointer; }
.support-total button:hover:not(:disabled) { background: #e8e8ed; }
.support-total button:disabled { color: var(--muted); cursor: not-allowed; }
.support-transfer-hint { font-size: 13px; line-height: 1.65; color: var(--muted); margin-top: 12px; }
.support-methods { display: grid; gap: 10px; margin-top: 20px; }
.support-method { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 500; text-decoration: none; transition: filter .15s; }
.support-kakao { background: transparent; padding: 0; justify-content: center; min-height: 52px; }
.support-kakao img { display: block; width: 220px; max-width: 100%; height: auto; }
.support-naver { background: #03c75a; color: #06391d; }
.support-method[aria-disabled="true"] { background: #f5f5f7; color: var(--muted); cursor: not-allowed; }
.support-method[aria-disabled="false"]:hover { filter: brightness(.95); }
.support-method.support-kakao[aria-disabled="true"] { background: transparent; opacity: .5; }
.support-method.support-kakao[aria-disabled="false"]:hover { filter: none; }
.support-status { font-size: 13px; line-height: 1.65; color: var(--accent); margin-top: 12px; }
.support-status:empty { display: none; }
.support-thanks { font-size: 12px; line-height: 1.7; color: var(--muted); margin-top: 20px; }
@media (max-width: 800px) {
  .topbar.support-enabled { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; }
  .topbar.support-enabled .brand { max-width: none; min-width: 0; }
  .support-enabled .support-trigger { grid-column: 2; grid-row: 1; width: auto; padding: 10px 12px; font-size: 12px; }
  .topbar.support-enabled .tool-nav { grid-column: 1 / -1; grid-row: 2; margin: 0; justify-content: flex-start; flex-wrap: wrap; }
  body:not(.studio) .topbar.support-enabled .brand { grid-column: 1 / -1; grid-row: 1; }
  body:not(.studio) .support-enabled .support-trigger { grid-column: 1 / -1; grid-row: 2; justify-self: start; font-size: 14px; }
  body:not(.studio) .topbar.support-enabled .tool-nav { grid-row: 3; }
}
@media (max-width: 400px) {
  .support-dialog { padding: 20px; }
  .support-options { gap: 8px; }
  .support-option { padding: 24px 10px 18px; }
}
@media (prefers-reduced-motion: reduce) { .support-method { transition: none; } }
