:root { color-scheme: dark; font-family: -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; }
[hidden] { display: none !important; }
body { margin: 0; background: #121212; color: #fff; }
main { max-width: 480px; margin: 0 auto; padding: 24px 16px; }
h1 { font-size: 20px; margin: 0 0 16px; }
form { display: flex; gap: 8px; }
input { flex: 1; min-width: 0; padding: 12px; border: 1px solid #333; border-radius: 8px; background: #1e1e1e; color: #fff; font-size: 16px; }
button { padding: 12px 16px; border: 0; border-radius: 999px; background: #1db954; color: #000; font-weight: 700; font-size: 16px; cursor: pointer; }
button.secondary { background: #2a2a2a; color: #fff; }
button:disabled { opacity: .5; }
#status { min-height: 1.5em; color: #b3b3b3; }
canvas { width: 100%; height: auto; border-radius: 12px; }
#actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
#actions > button { flex: 1; }
#styles { display: flex; justify-content: center; gap: 16px; width: 100%; margin-bottom: 8px; }
#styles button { width: 44px; height: 44px; padding: 0; border: 3px solid transparent; }
#styles button[aria-pressed="true"] { border-color: #fff; }
#styles [data-style="solid"] { background: var(--main); }
#styles [data-style="gradient"] { background: linear-gradient(var(--main), #000); }
#styles [data-style="black"] { background: #121212; outline: 1px solid #444; }
.render main { max-width: none; padding: 0; }
.render main > :not(#card) { display: none !important; }
.render canvas { width: 1080px; height: 1920px; border-radius: 0; }
