.my-content-app { width:min(100%,520px); min-height:100vh; padding:calc(env(safe-area-inset-top) + 10px) 20px calc(32px + env(safe-area-inset-bottom)); background:linear-gradient(155deg,#fff 0%,#fff8fa 50%,#f4f6fb 100%); color:var(--ink,var(--ecreat-ink)); }
.my-content-actions { display:flex; align-items:center; gap:6px; }
.usage-trigger { text-decoration:none; }
.registration-card { margin-top:18px; padding:20px 18px 18px; border:1px solid #f0e4e8; border-radius:16px; background:#fff; box-shadow:0 5px 18px #243c5908; }
.registration-card[hidden] { display:none; }
.section-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:17px; }
.section-heading > div { display:flex; align-items:center; gap:9px; }
.section-step { display:grid; width:25px; height:25px; place-items:center; border-radius:50%; background:#fff0f4; color:#e72b6a; font-size:11px; font-weight:900; }
.section-heading h2 { margin:0; color:#1a2d48; font-size:18px; font-weight:900; letter-spacing:-.03em; }
.cancel-register { padding:7px 10px; border:1px solid #e7eaf0; border-radius:8px; background:#fff; color:#748195; font-size:12px; }
.field-label { display:block; margin:0 0 8px; color:#263a57; font-size:13px; font-weight:800; }
.text-input,.source-panel textarea { width:100%; border:2px solid var(--ecreat-input-border); border-radius:10px; background:#fff; color:#1d304a; font:inherit; font-size:14px; outline:none; }
.text-input { height:49px; padding:0 13px; font-size:14px; font-weight:400; }
.text-input:focus,.source-panel textarea:focus { border-color:var(--ecreat-input-focus); box-shadow:none; }
.text-input.is-invalid { border-color:var(--ecreat-input-focus); }
#contentTitle { border:0; background:#fafbfe; }
#contentTitle:focus-visible { outline:2px solid var(--ecreat-input-focus); outline-offset:2px; }
.text-input::placeholder,.source-panel textarea::placeholder { color:#738096; opacity:1; }
.field-error { display:flex; align-items:center; gap:6px; margin:7px 0 0; color:#b93e65; font-size:12px; line-height:1.45; }
.field-error[hidden] { display:none; }
.field-error::before { width:6px; height:6px; flex:0 0 6px; border-radius:50%; background:var(--ecreat-input-focus); content:""; }
.source-panel textarea { min-height:132px; resize:vertical; padding:12px 13px; line-height:1.6; }
.source-panel[hidden] { display:none; }
.field-foot { display:flex; justify-content:space-between; gap:8px; margin-top:7px; color:#929eac; font-size:10px; }
.upload-dropzone { min-height:80px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; padding:8px 10px; border:1px dashed #ef9bb7; border-radius:12px; background:#fff9fb; text-align:center; cursor:pointer; }
.upload-dropzone.is-invalid { border-color:var(--ecreat-input-focus); background:#fff4f7; }
.upload-icon { width:24px; height:24px; display:grid; place-items:center; border-radius:50%; background:#ffe7ef; color:#e72b6a; font-size:22px; font-weight:700; }
.upload-dropzone strong { max-width:100%; overflow:hidden; color:#273a55; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.upload-dropzone small { color:#8c98a7; font-size:10px; line-height:1.45; }
.upload-dropzone input { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.upload-dropzone:focus-within { outline:3px solid #ff4e8b33; }
.upload-note { margin:8px 0 0; color:#a0aab6; font-size:10px; line-height:1.5; }
.my-content-list-section { margin-top:26px; }
.list-heading { margin-bottom:12px; }
.content-count { color:#8491a2; font-size:12px; font-weight:700; }
.empty-state { display:flex; min-height:215px; flex-direction:column; align-items:center; justify-content:center; padding:21px 15px; border:1px solid #e9edf3; border-radius:15px; background:#fff; text-align:center; }
.empty-state[hidden] { display:none; }
.empty-illustration { position:relative; width:70px; height:62px; margin-bottom:10px; border-radius:18px; background:#fff2f6; }
.empty-illustration span { position:absolute; left:15px; top:8px; color:#e72b6a; font-size:34px; font-weight:800; }
.empty-illustration i { position:absolute; right:12px; bottom:3px; color:#ff9db9; font-size:25px; font-style:normal; }
.empty-state strong { color:#293d58; font-size:14px; font-weight:900; }
.empty-state p { margin:6px 0 13px; color:#8c98a7; font-size:12px; line-height:1.55; }
.sample-shelf { overflow:hidden; padding:10px; border:1px solid #e9edf3; border-radius:15px; background:#fff; }
.sample-book-track { display:flex; gap:10px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; overscroll-behavior-x:contain; scrollbar-width:none; touch-action:pan-x; }
.sample-book-track::-webkit-scrollbar { display:none; }
.sample-book-card { flex:0 0 86%; display:grid; grid-template-columns:36% 1fr; align-items:center; overflow:hidden; border:1px solid #e9edf3; border-radius:13px; background:#fff; color:inherit; text-decoration:none; scroll-snap-align:start; }
.sample-book-cover { min-height:116px; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:8px; color:#fff; }
.sample-book-cover img { display:block; width:100%; height:auto; }
.sample-book-cover > span { align-self:flex-start; margin-bottom:7px; padding:3px 6px; border:1px solid #ffffff75; border-radius:99px; font-size:8px; }
.sample-book-cover strong { font-size:14px; line-height:1.35; letter-spacing:-.04em; }
.sample-book-cover small { margin-top:5px; font-size:8px; line-height:1.35; opacity:.88; }
.cover-mom { background:#fff; }
.cover-money,.cover-kids { position:relative; isolation:isolate; overflow:hidden; background:linear-gradient(135deg,#fff2a8 0%,#ffe07e 62%,#ffd1d9 100%); color:#593b37; }
.cover-money::before,.cover-kids::before { content:"✿  ✿"; position:absolute; z-index:0; top:1px; right:3px; color:#ed8296; font-size:20px; letter-spacing:3px; }
.cover-money::after,.cover-kids::after { content:"✿"; position:absolute; z-index:0; bottom:0; left:5px; color:#eb8295; font-size:20px; }
.sample-book-cover > * { position:relative; z-index:1; }
.sample-book-info { min-width:0; padding:10px; }
.sample-book-info h3 { overflow:hidden; margin:0 0 7px; color:#263a57; font-size:13px; font-weight:900; line-height:1.35; text-overflow:ellipsis; }
.sample-book-info p { margin:4px 0 0; color:#66758a; font-size:10px; }
.sample-book-info p span { display:inline-block; width:38px; color:#8793a3; }
.sample-dots { display:flex; justify-content:center; gap:6px; margin-top:9px; }
.sample-dots button { width:7px; height:7px; padding:0; border:0; border-radius:99px; background:#dce1e8; }
.sample-dots button.is-current { width:19px; background:#ff4e8b; }
.empty-cta { padding:8px 14px; border:1px solid #ffd0df; border-radius:9px; background:#fff7fa; color:#de2867; font-size:12px; font-weight:800; }
.add-content-button { width:100%; min-height:44px; margin-top:11px; border:1px solid #ffd0df; border-radius:10px; background:#fff7fa; color:#de2867; font-size:13px; font-weight:800; }
.add-content-button[hidden] { display:none; }
.content-list { display:grid; gap:10px; }
.registration-fields { min-width:0; margin:0; padding:0; border:0; }
.personal-heading { margin-top:20px; }
.submission-card { align-items:flex-start; margin-top:10px; }
.content-review-cover { flex:0 0 72px; width:72px; height:96px; object-fit:cover; border-radius:7px; }
.content-card-body .source-filename { overflow:visible; white-space:normal; overflow-wrap:anywhere; }
.content-asset-actions { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
#uploadFeedback { margin-top:12px; }
#uploadProgress { width:100%; margin-top:8px; }
#registrationGuide { margin-bottom:16px; }
.content-card { display:flex; align-items:center; gap:11px; padding:13px 12px; border:1px solid #e9edf3; border-radius:13px; background:#fff; }
.content-kind-icon { width:42px; height:42px; flex:0 0 42px; display:grid; place-items:center; border-radius:12px; background:#fff0f4; color:#e72b6a; font-size:22px; font-weight:800; }
.content-kind-icon.is-audio { background:#edf4ff; color:#3867a5; }
.content-card-body { flex:1; min-width:0; }
.content-card-body h3 { overflow:hidden; margin:0; color:#263a57; font-size:14px; font-weight:900; text-overflow:ellipsis; white-space:nowrap; }
.content-card-body p { overflow:hidden; margin:4px 0 6px; color:#8d99a8; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.content-status { display:inline-block; padding:4px 7px; border-radius:99px; background:#fff3e5; color:#bd7921; font-size:10px; font-weight:800; }
.content-status.is-audio { background:#edf4ff; color:#426da3; }
.make-audio-button { flex:0 0 auto; padding:8px 9px; border:1px solid #ffd0df; border-radius:8px; background:#fff7fa; color:#d92b66; font-size:10px; font-weight:800; }
.toast { position:fixed; left:50%; bottom:24px; z-index:30; transform:translate(-50%,15px); opacity:0; padding:10px 16px; border-radius:99px; background:#17283e; color:#fff; font-size:13px; pointer-events:none; transition:.2s; }
.toast.show { transform:translate(-50%,0); opacity:1; }
@media (min-width:521px) { .my-content-app { box-shadow:0 0 28px #0b193018; } }
@media (max-width:360px) { .my-content-app { padding-right:15px; padding-left:15px; } .source-option { gap:7px; padding:8px; } .source-option small { font-size:10px; } .make-audio-button { padding:7px 6px; font-size:9px; } }

.registration-section { margin-top:18px; }
.registration-section > .registration-card { margin-top:0; }

.submission-section { margin-top:26px; }


.registration-section > .page-section-title { margin-bottom:16px; }

.selected-content-file { margin-top:12px; padding:12px; border-radius:12px; background:#f0f3fc; }
.selected-content-file-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.selected-content-file-heading span { min-width:0; overflow-wrap:anywhere; font-size:14px; }
.selected-content-file audio { width:100%; margin-top:10px; }
.selected-content-file p { margin:8px 0 0; color:#68758a; font-size:12px; }
.creation-guide { margin:0 0 16px; color:#45546b; font-size:16px; line-height:1.7; }
.source-panel .form-field,.author-voice-panel .form-field { display:grid; gap:10px; margin:18px 0; font-size:18px; font-weight:700; }
.source-panel textarea { width:100%; box-sizing:border-box; font-size:16px; font-weight:400; }
.source-panel input[type=file],.author-voice-panel input[type=file] { width:100%; font-size:14px; font-weight:400; }
.author-voice-panel[hidden] { display:none; }
.author-voice-panel h3 { margin:18px 0 10px; font-size:18px; }
.author-record-actions { display:flex; align-items:center; gap:18px; margin:20px 0; }
.author-record-actions .voice-letter-record-button { flex:0 0 100px; width:100px; height:100px; border-radius:50%; }
#authorRecordStatus { font-size:14px; line-height:1.6; }
.content-list-status { margin-top:18px; }

.cardbook-intro { display:flex; align-items:center; container-type:inline-size; box-sizing:border-box; width:100%; aspect-ratio:486 / 78; margin:0 0 18px; padding:0 24% 0 20px; background:url("banner-cardbook.jpg") center / contain no-repeat; }
.cardbook-intro p { margin:0; color:#fff; font-family:"Poor Story","Malgun Gothic",sans-serif; font-size:5cqw; line-height:1.35; white-space:nowrap; }
.cardbook-section { margin-top:26px; padding-top:22px; border-top:1px solid #f0e4e8; }
.cardbook-section .form-section-heading { margin-bottom:16px; }
.cardbook-section .page-section-title small,.cardbook-optional-title small { font-family:Arial,"Malgun Gothic",sans-serif; color:#68758a; font-size:13px; font-weight:400; }
.cardbook-production-notes { margin-top:16px; }
.cardbook-production-notes textarea { min-height:82px; }
.cardbook-author-summary { display:flex; align-items:center; gap:10px; list-style:none; cursor:pointer; }
.cardbook-author-summary::-webkit-details-marker { display:none; }
.cardbook-optional-title { flex:1; color:var(--ecreat-ink); font-size:21px; line-height:1.4; font-weight:700; }
.cardbook-fold-label { color:#68758a; font-size:12px; }
.author-voice-panel[open] .cardbook-fold-label { font-size:0; }
.author-voice-panel[open] .cardbook-fold-label::after { content:'접기'; font-size:12px; }
#coverDesignList img { display:block; max-height:140px; margin:10px auto 0; object-fit:contain; }
.manuscript-guide-app { width:min(100%,520px); padding:10px 20px 32px; background:linear-gradient(155deg,#fff,#fff8fa 52%,#f4f6fb); }
.manuscript-guide-intro { margin:20px 0; }
.manuscript-guide-intro p,.manuscript-guide-steps p { color:#68758a; font-size:14px; line-height:1.7; }
.manuscript-video-frame { aspect-ratio:16 / 9; border-radius:12px; overflow:hidden; background:#f5f0f5; }
.manuscript-video-frame video { display:block; width:100%; height:100%; background:#111; }
.manuscript-video-frame video[hidden],.manuscript-video-pending[hidden] { display:none; }
.manuscript-video-pending { height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; padding:12px; text-align:center; }
.manuscript-video-pending > span { color:var(--ecreat-input-focus); font-size:26px; }
.manuscript-video-pending strong { color:#263a57; font-size:14px; }
.manuscript-video-pending p { margin:0; color:#68758a; font-size:12px; line-height:1.5; }
.manuscript-guide-steps { padding-left:20px; }
.manuscript-guide-steps li { margin-bottom:18px; }
.manuscript-guide-steps p { margin:6px 0 0; }
.manuscript-guide-return { display:flex; justify-content:center; align-items:center; text-decoration:none; }

.cardbook-section .form-field { min-width:0; }
.cardbook-section input[type=file] { width:100%; max-width:100%; min-width:0; font-size:14px; }

.cardbook-author-summary { width:100%; border:0; padding:0; background:transparent; text-align:left; }
.cardbook-cover-request { display:flex; align-items:center; gap:8px; margin-top:18px; font-size:15px; }
.cardbook-cover-request input { width:18px; height:18px; flex-shrink:0; }
.cardbook-dialog { box-sizing:border-box; width:min(92vw,520px); max-height:85dvh; overflow:auto; border:1px solid #efdae2; border-radius:18px; padding:22px; color:var(--ecreat-ink); background:#fff; }
.cardbook-dialog::backdrop { background:rgb(18 28 45 / 55%); }
.cardbook-dialog > header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:22px; }
.cardbook-dialog h2 { margin:0; font-size:21px; }
.cardbook-dialog .author-record-actions { display:flex; flex-direction:column; align-items:center; gap:18px; margin:26px 0; }
.cardbook-dialog input[type=file] { width:100%; min-width:0; }
body:has(.cardbook-dialog[open]) { overflow:hidden; }

.cardbook-manuscript-part + .cardbook-manuscript-part { margin-top:22px; padding-top:22px; border-top:1px solid #f0e4e8; }
.cardbook-part-number { color:var(--ecreat-ink); font-size:18px; font-weight:700; }
.cardbook-manuscript-part .cardbook-optional-title { font-size:18px; }

.cardbook-guide-actions { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.25fr); container-type:inline-size; width:100%; gap:6px; align-items:center; margin-bottom:16px; }
.cardbook-guide-actions .cardbook-help-button { margin:0; }

.cardbook-guide-actions .cardbook-help-button { width:100%; min-width:0; padding:8px 2px; font-size:clamp(9.5px,4cqw,14px); }
.cardbook-open-action { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; min-height:34px; padding:6px 12px; border:1px solid #edb3c5; border-radius:6px; background:#fff2f7; color:#b72a5d; font-size:14px; font-weight:700; }

.manuscript-text-field { margin:0 0 20px; }.manuscript-text-field textarea { min-height:180px; resize:vertical; padding:12px 13px; line-height:1.8; }

.cardbook-assistance .form-section-heading { margin-bottom:14px; }.assistance-fields { display:grid; gap:16px; margin-top:18px; }.assistance-fields .form-field { margin:0; }.assistance-fields textarea { min-height:110px; resize:vertical; }.cardbook-direct-heading { margin-bottom:22px; }.cardbook-cover-section .page-section-title { font-size:18px; }.cardbook-guide-actions { margin-top:24px; }

/* 제작문의신청 / 직접신청 tabs (2026-11-11), as folder tabs joined to their form (2026-11-13 user design): the open form's tab is white with pink text, the other tab has black text. */
.cardbook-apply-tabs { display:grid; grid-template-columns:1fr 1fr; margin:0; }
.cardbook-apply-tab { position:relative; min-height:48px; margin-bottom:-1px; padding:0 12px; border:1px solid #f0e4e8; border-radius:14px 14px 0 0; background:#f7f8fa; color:#152b45; font:inherit; font-size:16px; font-weight:700; white-space:nowrap; cursor:pointer; }
.cardbook-apply-tab + .cardbook-apply-tab { border-left:0; }
.cardbook-apply-tab[aria-selected="true"] { z-index:1; border-bottom-color:#fff; background:#fff; color:var(--red, #ff075f); }
.cardbook-apply-tab:focus-visible { outline:none; text-decoration:underline; }
.cardbook-apply-tabs ~ .cardbook-assistance, .cardbook-apply-tabs ~ #registrationCard { margin-top:0; border-top-left-radius:0; border-top-right-radius:0; }
