/* /ads/manage (public/ads/manage.js): 광고주 셀프 등록. Built on /styles.css and /owner.css (.owner-box, .btn, .check). */
.adm-ads { --am-accent: #e2663a; --am-ink: #1b1f24; --am-line: rgba(127, 127, 127, 0.25); --am-soft: rgba(127, 127, 127, 0.08); }
.am-hero { padding: 28px 0 8px; }
.am-kicker { margin: 0; font-size: 0.82rem; font-weight: 700; color: var(--am-accent); }
.am-hero h1 { margin: 6px 0 10px; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); line-height: 1.2; }
.am-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.am-step h2 { display: flex; align-items: center; gap: 10px; }
.am-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--am-accent); color: #fff; font-size: 0.9rem; }
.am-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 16px; align-items: end; }
.am-grid label, .am-upload { display: grid; gap: 4px; }
.am-choices, .am-billings { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-bottom: 14px; }
.am-choice { position: relative; display: flex; gap: 10px; padding: 12px 14px; border: 1px solid var(--am-line); border-radius: 12px; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.am-choice:hover { border-color: var(--am-accent); transform: translateY(-1px); }
.am-choice:has(input:checked) { border-color: var(--am-accent); box-shadow: 0 0 0 3px rgba(226, 102, 58, 0.18); }
.am-choice:focus-within { outline: 2px solid var(--am-accent); outline-offset: 2px; }
.am-choice span { display: grid; gap: 2px; font-size: 0.86rem; opacity: 0.9; }
.am-choice strong { font-size: 0.98rem; opacity: 1; }
.am-faces { display: grid; gap: 10px; margin-top: 12px; }
.am-upload span { font-size: 0.86rem; }
.am-preview { margin: 18px 0 6px; padding: 18px; border-radius: 14px; background: linear-gradient(160deg, var(--am-soft), transparent); border: 1px dashed var(--am-line); }
.am-preview figcaption { margin-top: 10px; font-size: 0.84rem; opacity: 0.75; text-align: center; }
.am-stage { height: 200px; display: grid; place-items: center; perspective: 700px; }
.am-box { position: relative; width: 150px; height: 150px; transform-style: preserve-3d; transform: rotateX(-14deg) rotateY(-28deg); }
.am-face { position: absolute; inset: 0; background: #dfe2e6 center / cover no-repeat; border: 1px solid rgba(0, 0, 0, 0.12); }
.am-front { transform: translateZ(75px); background-color: #fff; background-size: 92% 52%; background-position: 50% 22%; }
.am-side { transform: rotateY(90deg) translateZ(75px); background-color: #c9cdd3; }
.am-top { transform: rotateX(90deg) translateZ(75px); background-color: #2b3038; }
.am-face.am-tiled { background-size: 50% 50%; background-repeat: repeat; }
.am-char { position: relative; width: 120px; height: 190px; }
.am-body { position: absolute; left: 30px; bottom: 0; width: 60px; height: 170px; border-radius: 30px 30px 10px 10px; background: linear-gradient(#7a8796, #4f5b69); }
.am-board { position: absolute; left: 22px; top: 70px; width: 76px; display: grid; place-items: center; padding: 4px; background: #fff center / cover no-repeat; color: var(--am-ink); font-weight: 800; font-size: 0.8rem; border-radius: 4px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); }
.am-board[data-prop="picket"], .am-board[data-prop="flag"], .am-board[data-prop="balloon"] { left: 78px; top: 0; }
.am-size { font-size: 0.86rem; opacity: 0.8; }
.am-assets { list-style: none; padding: 0; font-size: 0.86rem; }
.am-assets .am-bad, .am-reason { color: #c0392b; }
.am-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--am-soft); }
.am-tab { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font: inherit; cursor: pointer; color: inherit; }
.am-tab[aria-selected="true"] { background: var(--am-accent); color: #fff; }
.am-tabhint { font-size: 0.86rem; opacity: 0.8; }
.am-spaces, .am-campaigns { list-style: none; padding: 0; display: grid; gap: 10px; }
.am-space, .am-camp { padding: 12px 14px; border: 1px solid var(--am-line); border-radius: 12px; }
.am-space-head, .am-camp-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.am-meta { font-size: 0.84rem; opacity: 0.8; margin: 4px 0; }
.am-slots { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 0.9rem; }
.am-slot:has(input:disabled) { opacity: 0.45; }
.am-badge { font-size: 0.78rem; padding: 2px 10px; border-radius: 999px; background: var(--am-soft); }
.am-active .am-badge { background: rgba(39, 174, 96, 0.16); }
.am-rejected .am-badge { background: rgba(192, 57, 43, 0.16); }
.am-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.am-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin: 8px 0 0; }
.am-stats div { padding: 8px 10px; border-radius: 10px; background: var(--am-soft); }
.am-stats dt { font-size: 0.78rem; opacity: 0.75; }
.am-stats dd { margin: 0; font-weight: 700; }
.am-grades { display: flex; flex-wrap: wrap; gap: 6px 16px; border: 0; padding: 0; }
.am-offer { font-weight: 700; color: var(--am-accent); }
.am-submit { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 8px 0 40px; }
.am-empty { opacity: 0.7; }
@media (max-width: 480px) { .am-stage { height: 170px; } .am-box { width: 120px; height: 120px; } .am-front, .am-side, .am-top { --d: 60px; } .am-front { transform: translateZ(60px); } .am-side { transform: rotateY(90deg) translateZ(60px); } .am-top { transform: rotateX(90deg) translateZ(60px); } }
.am-choice input, .am-grades input, .am-slot input, .radio-row input { width: auto; min-width: 0; height: auto; flex: none; margin: 3px 0 0; padding: 0; }
