/* Ōbo – application form (matches the jpop-clean-grid theme) */
.obo { max-width: 720px; margin: 0 auto; font-size: 15px; line-height: 1.6; color: var(--text-main, #1a1a1a); }
.obo-card { background: #fff; border-radius: var(--radius, 16px); box-shadow: var(--shadow, 0 4px 20px -5px rgba(0,0,0,.05)); padding: 28px 30px; }
.obo-card[hidden] { display: none; }
.obo h3 { margin: 0 0 14px; font-size: 20px; font-weight: 800; line-height: 1.35; }
.obo h3 .obo-ja { display: block; font-size: 13px; font-weight: 600; color: #999; margin-top: 2px; }
.obo-ja { color: var(--text-muted, #666); font-size: 13px; }
p.obo-ja { margin-top: -6px; }
.obo-form { display: grid; gap: 16px; margin-top: 18px; }
.obo-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.obo-form label .obo-ja { font-weight: 500; font-size: 12px; }
.obo-form input[type=text] {
    font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(0,0,0,.1);
    background: var(--bg-color, #f8f9fa); outline: none; transition: .15s;
}
.obo-form input[type=text]:focus { border-color: var(--accent, #3b82f6); background: #fff; box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.obo-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.obo-privacy { background: var(--bg-color, #f8f9fa); border-radius: 12px; padding: 14px 16px; font-size: 13px; color: var(--text-muted, #555); }
.obo-privacy ul { margin: 8px 0; padding-left: 18px; }
.obo-privacy li { margin-bottom: 4px; }
.obo-form .obo-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 13px; }
.obo-consent input { margin-top: 3px; width: 16px; height: 16px; }
.obo-btn {
    font: inherit; font-weight: 800; font-size: 15px; border: 0; border-radius: 12px; padding: 13px 20px; cursor: pointer;
    background: var(--accent, #3b82f6); color: #fff; transition: .15s; justify-self: start;
}
.obo-btn .obo-ja { color: rgba(255,255,255,.85); font-weight: 600; margin-left: 6px; }
.obo-btn:hover { filter: brightness(1.08); }
.obo-btn:disabled { opacity: .6; cursor: wait; }
.obo-link { font: inherit; font-size: 13px; background: none; border: 0; color: var(--text-muted, #666); text-decoration: underline; cursor: pointer; margin-left: 12px; }
.obo-msg { white-space: pre-line; font-size: 14px; font-weight: 600; color: #b91c1c; margin: 10px 0 0; min-height: 1em; }
.obo-msg.is-ok { color: #15803d; }
.obo ol { padding-left: 20px; margin: 0 0 14px; }
.obo ol li { margin-bottom: 10px; }
.obo-code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 14px; }
.obo-code code {
    font: 800 24px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em;
    background: #0f172a; color: #fff; padding: 14px 18px; border-radius: 12px;
}
.obo-copy { font: inherit; font-weight: 700; font-size: 13px; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(0,0,0,.1); background: #fff; cursor: pointer; }
.obo-small { font-size: 13px; color: var(--text-muted, #666); margin-bottom: 16px; }
@media (max-width: 600px) { .obo-card { padding: 20px 18px; } .obo-code code { font-size: 20px; } }

.obo-note { background: rgba(59,130,246,.08); border-left: 4px solid var(--accent, #3b82f6); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
p.obo-note.obo-ja { margin-top: -8px; font-size: 13px; }

/* Optional avatar upload */
.obo-avatar-field .obo-avatar-row { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.obo-avatar-preview { width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--bg-color, #f3f4f6) center / cover no-repeat; border: 2px dashed rgba(0,0,0,.15); }
.obo-avatar-preview.has-image { border: 2px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.obo-avatar-field input[type=file] { font: inherit; font-size: 14px; }
.obo-hint { font-size: 12px; font-weight: 500; color: var(--text-muted, #666); line-height: 1.5; }
