/* 별빛보석 상점(2026-11-13). 사이트 CSP가 style-src self라 인라인 대신 파일. */
html body .starlight-art{image-rendering:pixelated}
html body .starlight-card{position:relative}
html body .product-card .starlight-tag{position:absolute!important;top:10px;right:10px;margin:0!important;font-size:12px;line-height:1.6;padding:0 8px;background:#f4c542!important;color:#5c3a10!important;border:2px solid #8a5a16;z-index:1}
html body .product-card .starlight-first{color:#8a5a16}
html body .starlight-notes{margin:0;padding-left:18px;line-height:1.7}
html body main p.starlight-launch{margin:16px 0!important;padding:12px 16px!important;background:#fff3b8!important;border:2px solid #b8801e!important;color:#5c3a10!important}
html body .catalog-hero-art{image-rendering:pixelated}
html body button.product-card.starlight-card{font:inherit;color:inherit;text-align:center;cursor:pointer;width:100%}
html body .starlight-dialog{max-width:min(92vw,420px);border:4px solid #8a5a16;background:#fff8e1;color:#3b2414;padding:0}
html body .starlight-dialog::backdrop{background:rgba(40,25,10,.55)}
html body .starlight-form{display:flex;flex-direction:column;gap:12px;padding:20px}
html body .starlight-form h2{margin:0;font-size:20px}
html body .starlight-form .sd-price{margin:0;font-weight:bold;color:#8a5a16}
html body .starlight-form fieldset{border:2px solid #b8801e;padding:8px 12px;display:flex;gap:16px}
html body .starlight-form label.sd-name{display:flex;flex-direction:column;gap:6px}
html body .starlight-form input[name="name"]{padding:8px;border:2px solid #8a5a16;font:inherit}
html body .starlight-form .sd-error{margin:0;color:#b3261e;min-height:1em}
html body .starlight-form .sd-actions{display:flex;gap:8px;justify-content:flex-end}
html body .starlight-form .sd-actions button{padding:8px 14px;border:2px solid #8a5a16;background:#f4c542;color:#3b2414;font:inherit;cursor:pointer}
html body .starlight-form .sd-actions .sd-cancel{background:#efe4c8}
html body .starlight-form .sd-note{margin:0;font-size:12px;color:#6b4a26}
html body .starlight-title{max-width:14em;text-wrap:balance}
/* 받을 계정 찾기(2026-11-14): 도움말·고르기 목록·처음 오는 계정 안내 */
html body .starlight-form .sd-hint{margin:-6px 0 0;font-size:12px;line-height:1.6;color:#6b4a26}
html body .starlight-form fieldset.sd-choices{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;border:0;min-width:0}
html body .starlight-form fieldset.sd-choices[hidden]{display:none}
html body .starlight-form .sd-choices legend{margin:0 0 6px;padding:0;font-size:14px;line-height:1.6;font-weight:bold}
html body .starlight-form label.sd-choice{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:2px solid #d9c08a;background:#fffdf3;cursor:pointer}
html body .starlight-form label.sd-choice:has(input:checked){border-color:#8a5a16;background:#fff3c4}
html body .starlight-form label.sd-choice input{margin:3px 0 0;flex:none}
html body .starlight-form label.sd-choice strong{display:block;overflow-wrap:anywhere}
html body .starlight-form label.sd-choice small{display:block;color:#6b4a26}
html body .starlight-form .sd-badge{display:inline-block;margin-top:4px;padding:0 6px;font-size:12px;line-height:1.7;background:#ffe1d6;color:#8a2c12;border:1px solid #e0a58f}
html body .starlight-form .sd-notice{margin:0;padding:10px 12px;background:#fff0d0;border:2px solid #d9a23a;color:#5c3a10;line-height:1.7}
html body .starlight-form .sd-notice[hidden]{display:none}
html body .starlight-form .sd-actions .sd-buy:disabled{opacity:.55;cursor:not-allowed}
/* 상품 칸은 스크립트가 채운다: 빈 동안 화면 높이만큼 자리를 잡아 꼬리말이 튀지 않게(CLS 0.25→, BUILD-30 4장 5, 2026-11-15) */
html body #package-catalog:empty{min-height:max(100vh,900px)}
/* 넓은 화면(1024+)에서는 제목 칸이 줄을 바꾸지 않는다: 글꼴이 오는 동안 제목이 잠깐 넓어지면 그림이 글 아래로 떨어졌다 올라왔다(데스크톱 CLS 0.67~0.73, 2026-11-15) */
@media (min-width:1024px){html body:not(.vl-home) .package-catalog>.catalog-heading{flex-wrap:nowrap}html body:not(.vl-home) .package-catalog>.catalog-heading>div{flex:0 1 680px;min-width:0}html body:not(.vl-home) .package-catalog>.catalog-heading>.catalog-hero-art{flex:none}}
