/* Service-only styling. The shared header and navigation keep their own contracts. */
.wallpaper-page { background: #fff; }
.wp-service { --wp-ink: #19212b; --wp-muted: #626c79; --wp-line: #e5e8ec; box-sizing: border-box; max-width: 1232px; margin: 0 auto; padding: 104px 16px calc(56px + env(safe-area-inset-bottom, 0px)); color: var(--wp-ink); font-family: Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.5; }
.wp-service *, .wp-service *::before, .wp-service *::after { box-sizing: border-box; }
.wp-service h1, .wp-service h2, .wp-service p { margin: 0; }
.wp-service button, .wp-service input { font: inherit; }
.wp-service button { appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 14px; border: 1px solid transparent; background: #fff; color: var(--wp-ink); cursor: pointer; font-weight: 600; line-height: 1.3; }
.wp-service button:disabled { cursor: default; }
.wp-service button:focus-visible, .wp-service summary:focus-visible { outline: 2px solid #1865ba; outline-offset: 3px; }
.wp-service [hidden] { display: none !important; }
.wp-heading { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: center; gap: 24px; min-height: 240px; padding: 22px 36px; margin-bottom: 30px; border-radius: 12px; background: #182731; color: #fff; overflow: hidden; }
.wp-heading__copy { min-width: 0; }
.wp-heading .wp-heading__eyebrow { margin-bottom: 8px; color: #b7d8df; font-size: 12px; font-weight: 650; letter-spacing: .3px; }
.wp-heading h1 { font-size: 32px; letter-spacing: -1px; line-height: 1.25; font-weight: 750; word-break: keep-all; }
.wp-heading .wp-heading__description { color: #c8d1d8; margin-top: 10px; font-size: 14px; line-height: 1.65; word-break: keep-all; }
.wp-heading__status { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; color: #b8c3cd; font-size: 11px; }
.wp-platform { display: inline-flex; align-items: center; padding: 4px 8px; border: 1px solid #71818c; border-radius: 4px; color: #fff; font-size: 11px; font-weight: 650; line-height: 1.3; }
.wp-heading__art { position: relative; justify-self: center; width: 312px; height: 196px; pointer-events: none; }
.wp-heading__device { position: absolute; display: block; width: 98px; height: 174px; overflow: hidden; border: 3px solid #65737e; border-radius: 16px; background: #293945; box-shadow: 0 9px 18px #080f1740; }
.wp-heading__device::after { content: ''; position: absolute; top: 5px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: #17222c; }
.wp-heading__device img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wp-heading__device--ocean { left: 20px; top: 14px; transform: rotate(-12deg); }
.wp-heading__device--art { left: 106px; top: 0; width: 110px; height: 196px; z-index: 2; transform: rotate(-2deg); }
.wp-heading__device--anime { left: 196px; top: 19px; transform: rotate(11deg); }
.wp-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 52px; align-items: start; }
.wp-preview, .wp-settings { min-width: 0; }
.wp-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.wp-service h2 { font-size: 17px; font-weight: 700; letter-spacing: -.4px; }
.wp-count { color: var(--wp-muted); font-size: 13px; }
.wp-preview-caption small { display: block; margin-top: 7px; color: var(--wp-muted); font-size: 11px; }
.wp-scene-card__meta { display: block; padding: 3px 3px 0; color: var(--wp-muted); font-size: 10px; font-weight: 400; }
.wp-service .wp-segment { display: inline-flex; border: 1px solid var(--wp-line); padding: 2px; border-radius: 7px; background: #f6f7f8; flex-shrink: 0; }
.wp-service .wp-segment button { min-height: 44px; padding: 0 12px; border-radius: 5px; background: transparent; font-size: 13px; color: #626c79; }
.wp-service .wp-segment button[aria-pressed='true'] { background: #fff; color: #1c2734; border-color: #e2e6ea; }
.wp-preview-stage { display: flex; justify-content: center; align-items: center; min-height: 630px; padding: 22px; background: #f3f5f6; border: 1px solid #edf0f2; border-radius: 12px; }
.wp-phone { position: relative; isolation: isolate; width: 286px; max-width: 100%; aspect-ratio: 9 / 18; overflow: hidden; border: 5px solid #202930; border-radius: 35px; background: #e6ecee; box-shadow: 0 10px 24px #15202b16; touch-action: pan-y pinch-zoom; }
.wp-phone canvas { width: 100%; height: 100%; display: block; }
.wp-phone video { width: 100%; height: 100%; display: block; object-fit: cover; pointer-events: none; }
.wp-service .wp-segment button:disabled { color: #8b939c; background: #f3f4f5; }
.wp-switch input:disabled + span { opacity: .45; }
.wp-phone__camera { position: absolute; top: 9px; left: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: #15212a; box-shadow: 0 0 0 2px #ffffff30; }
.wp-lock-sample, .wp-home-sample { position: absolute; inset: 0; color: white; pointer-events: none; text-align: center; text-shadow: 0 1px 8px #061b354d; }
.wp-lock-sample { padding-top: 62px; display: flex; align-items: center; flex-direction: column; }
.wp-lock-sample > span:first-child { font-size: 13px; letter-spacing: -.3px; }
.wp-lock-sample strong { font-size: 70px; font-weight: 350; line-height: 1.1; letter-spacing: -4px; }
.wp-sample-label { font-size: 10px; opacity: .92; }
.wp-lock-sample .wp-sample-label { margin-top: 14px; }
.wp-home-sample { display: none; padding: 48px 16px 45px; flex-direction: column; align-items: center; justify-content: space-between; }
.wp-phone[data-screen='home'] .wp-home-sample { display: flex; }
.wp-phone[data-screen='home'] .wp-lock-sample { display: none; }
.wp-home-sample__time strong { display: block; font-size: 42px; font-weight: 400; letter-spacing: -2px; line-height: 1.2; }
.wp-home-sample__time > span { font-size: 11px; }
.wp-sample-apps { display: flex; justify-content: space-around; gap: 15px; width: 100%; margin-top: auto; margin-bottom: 22px; }
.wp-sample-apps > span { display: flex; align-items: center; flex-direction: column; gap: 5px; font-size: 9px; }
.wp-sample-app { display: flex; align-items: center; justify-content: center; height: 38px; width: 38px; border-radius: 11px; color: white; font-size: 25px; font-style: normal; text-shadow: none; }
.wp-sample-app--phone { background: #309465; }
.wp-sample-app--message { background: #3b7ac3; }
.wp-sample-app--camera { background: #d8dce2; color: #233143; }
.wp-sample-app--folder { background: #697583; }
.wp-phone__gesture { position: absolute; bottom: 10px; left: 38%; width: 24%; height: 3px; border-radius: 3px; background: #fff; opacity: .85; }
.wp-preview-badge { position: absolute; right: 13px; bottom: 18px; padding: 3px 6px; border-radius: 4px; background: #12233470; color: #fff; font-size: 9px; letter-spacing: -.2px; }
.wp-viewer-nav, .wp-viewer-close { display: none; }
.wp-preview-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-top: 18px; }
.wp-preview-caption strong { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.5px; }
.wp-preview-caption p { margin-top: 4px; color: var(--wp-muted); font-size: 13px; }
.wp-service .wp-play { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; min-width: 100px; padding: 0 10px; border: 1px solid var(--wp-line); border-radius: 6px; font-size: 12px; }
.wp-play__icon { min-width: 12px; font-size: 12px; }
.wp-play:disabled { opacity: .55; }
.wp-service .wp-preview-tip { margin-top: 12px; color: var(--wp-muted); font-size: 12px; }
.wp-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.wp-service .wp-filters button { color: #5f6976; border-radius: 22px; padding: 0 18px; background: #f4f5f7; font-size: 13px; }
.wp-service .wp-filters button[aria-pressed='true'] { color: #fff; background: #26313e; }
.wp-scene-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 12px; }
.wp-service .wp-scene-card { position: relative; display: flex; flex-direction: column; text-align: left; min-width: 0; padding: 0; border: 0; background: transparent; border-radius: 8px; font-size: 13px; font-weight: 600; }
.wp-scene-card__image { position: relative; display: block; width: 100%; aspect-ratio: 4 / 4.7; border: 3px solid transparent; border-radius: 9px; overflow: hidden; background: #e6ecee; }
.wp-scene-card canvas { display: block; width: 100%; height: 100%; }
.wp-scene-card[aria-pressed='true'] .wp-scene-card__image { border-color: #e2ad09; }
.wp-scene-card__check { position: absolute; right: 7px; top: 7px; display: none; align-items: center; justify-content: center; width: 23px; height: 23px; background: #ffcf3f; color: #302800; border: 1px solid #fff8; border-radius: 50%; font-size: 14px; font-weight: 800; }
.wp-scene-card[aria-pressed='true'] .wp-scene-card__check { display: flex; }
.wp-scene-card__title { padding: 7px 3px 0; overflow-wrap: anywhere; }
.wp-catalog-status { display: flex; min-height: 230px; align-items: center; justify-content: center; flex-direction: column; padding: 24px; color: var(--wp-muted); background: #f5f7f8; text-align: center; font-size: 14px; }
.wp-service .wp-retry { margin-top: 15px; border-color: #ccd2da; border-radius: 6px; background: #fff; font-size: 13px; }
.wp-options { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--wp-line); }
.wp-options h2 { margin-bottom: 6px; }
.wp-options fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.wp-options fieldset:disabled { opacity: .5; }
.wp-option-row { display: flex; gap: 12px; justify-content: space-between; align-items: center; min-height: 76px; border-bottom: 1px solid #f0f1f3; }
label.wp-option-row { cursor: pointer; }
.wp-option-copy { display: block; min-width: 0; }
.wp-option-copy > span { display: block; font-size: 14px; font-weight: 600; }
.wp-option-copy small { display: block; font-size: 12px; color: var(--wp-muted); margin-top: 3px; }
.wp-switch { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; width: 48px; flex-shrink: 0; }
.wp-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.wp-switch > span { width: 40px; height: 24px; border: 1px solid #c5cbd1; border-radius: 20px; background: #cbd1d7; }
.wp-switch > span::before { content: ''; display: block; width: 18px; height: 18px; margin: 2px; border-radius: 50%; background: #fff; transition: transform .15s ease; }
.wp-switch input:checked + span { background: #263744; border-color: #263744; }
.wp-switch input:checked + span::before { transform: translateX(16px); }
.wp-switch input:focus-visible + span { outline: 2px solid #1865ba; outline-offset: 4px; }
.wp-motion-notice { margin-top: 12px !important; color: #5e6c7a; font-size: 12px; }
.wp-apply { margin-top: 24px; }
.wp-service .wp-primary { display: block; width: 100%; min-height: 52px; border-radius: 8px; padding: 12px 16px; background: #ffcf3f; color: #292515; font-size: 16px; font-weight: 750; }
.wp-service .wp-primary:disabled { background: #e9edf0; color: #77828e; }
.wp-apply-icon, .wp-apply-badge { display: none; }
.wp-service .wp-support { margin-top: 10px; color: var(--wp-muted); font-size: 12px; line-height: 1.6; text-align: center; }
.wp-apply-status { margin-top: 10px !important; font-size: 13px; text-align: center; line-height: 1.6; color: #285f68; overflow-wrap: anywhere; }
.wp-apply-status:empty { display: none; }
.wp-apply-status[data-state='error'] { color: #a23d36; }
.wp-help { margin-top: 22px; padding-top: 2px; border-top: 1px solid var(--wp-line); font-size: 12px; color: var(--wp-muted); }
.wp-help summary { min-height: 48px; padding: 14px 0; cursor: pointer; color: #3c4857; font-size: 13px; font-weight: 600; }
.wp-help > div { padding-bottom: 12px; }
.wp-help p + p { margin-top: 8px; }
.wp-noscript { margin: 24px 0 !important; padding: 18px; background: #f4f5f6; }
.wp-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (hover: hover) { .wp-service .wp-scene-card:hover .wp-scene-card__image { outline: 1px solid #7b8996; outline-offset: 1px; } .wp-service .wp-primary:not(:disabled):hover { background: #ffc52a; } }
@media (max-width: 1000px) { .wp-heading { grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; padding-left: 28px; padding-right: 20px; } .wp-heading h1 { font-size: 28px; } .wp-heading__art { width: 280px; } .wp-heading__device--ocean { left: 4px; } .wp-heading__device--art { left: 90px; } .wp-heading__device--anime { left: 180px; } .wp-workspace { gap: 30px; } .wp-preview-stage { min-height: 580px; padding: 20px; } .wp-phone { width: 260px; } .wp-preview .wp-section-heading { flex-wrap: wrap; } }
@media (max-width: 768px), (max-width: 1024px) and (max-height: 600px) and (pointer: coarse) {
    body.wallpaper-page.wp-viewer-open { position: fixed; top: var(--wp-scroll-top, 0px); left: 0; right: 0; width: 100%; overflow: hidden; }
    .wallpaper-page .footer { display: none; }
    .wp-service { max-width: none; padding: var(--wp-mobile-top-gap, 110px) 16px calc(28px + env(safe-area-inset-bottom, 0px)); }
    .wp-heading { display: block; min-height: 0; margin-bottom: 26px; padding: 0; border-radius: 0; background: transparent; color: var(--wp-ink); }
    .wp-heading .wp-heading__eyebrow, .wp-heading .wp-heading__description, .wp-heading__status, .wp-heading__art { display: none; }
    .wp-heading h1 { font-size: 23px; letter-spacing: -.7px; line-height: 1.3; }
    .wp-workspace, .wp-settings, .wp-library { display: block; }
    .wp-preview-heading, .wp-library > .wp-section-heading, .wp-filters, .wp-options, .wp-settings > .wp-apply, .wp-help { display: none; }
    .wp-service .wp-scene-grid { display: block; }
    .wp-category + .wp-category { margin-top: 30px; }
    .wp-category h2 { margin-bottom: 12px; font-size: 17px; }
    .wp-category__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
    .wp-scene-card__image { aspect-ratio: 9 / 16; }
    .wp-scene-card__meta, .wp-scene-card__check { display: none !important; }
    .wp-preview { display: none; }
    .wp-service[data-viewer-open='true'] .wp-preview { position: fixed; z-index: 20000; top: var(--wp-dialog-top, 0px); left: 0; right: 0; height: var(--wp-dialog-height, 100vh); display: flex; flex-direction: column; background: #182731; }
    .wp-service .wp-viewer-close { position: absolute; z-index: 4; top: calc(12px + env(safe-area-inset-top, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 1px solid #ffffff52; border-radius: 50%; background: #0a1422a6; color: #fff; }
    .wp-viewer-close svg { width: 20px; height: 20px; pointer-events: none; }
    .wp-preview-stage { flex: 1; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: #182731; }
    .wp-phone { width: 100%; max-width: none; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }
    .wp-phone:focus-visible { outline: 2px solid #1865ba; outline-offset: -3px; }
    .wp-service .wp-phone .wp-lock-sample, .wp-service .wp-phone .wp-home-sample, .wp-phone__camera, .wp-phone__gesture, .wp-preview-badge { display: none; }
    .wp-preview-caption { position: absolute; z-index: 2; bottom: calc(var(--wp-apply-height, 80px) + 16px); left: 16px; right: 16px; align-items: center; margin: 0; color: #fff; pointer-events: none; }
    .wp-preview-caption strong { font-size: 17px; text-shadow: 0 1px 5px #000b; }
    .wp-preview-caption p, .wp-preview-caption small, .wp-preview-tip[data-guide='true'] { display: none; }
    .wp-service .wp-play:not([data-required='true']), .wp-service .wp-viewer-nav { position: absolute; width: 1px; min-width: 0; height: 1px; min-height: 0; padding: 0; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; }
    .wp-service .wp-play { pointer-events: auto; }
    .wp-service .wp-play[data-required='true'], .wp-service .wp-play:focus-visible { position: static; width: auto; min-width: 100px; height: 44px; min-height: 44px; padding: 0 10px; overflow: visible; clip: auto; clip-path: none; border: 1px solid var(--wp-line); }
    .wp-service .wp-viewer-nav { display: block; top: 50%; }
    .wp-service .wp-viewer-nav--previous { left: 12px; }
    .wp-service .wp-viewer-nav--next { right: 12px; }
    .wp-service .wp-viewer-nav:focus-visible { width: auto; height: 44px; min-height: 44px; padding: 0 12px; overflow: visible; clip: auto; clip-path: none; border: 1px solid var(--wp-line); border-radius: 4px; }
    .wp-preview-feedback { position: absolute; z-index: 3; top: calc(68px + env(safe-area-inset-top, 0px)); left: 12px; right: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
    .wp-service .wp-preview-tip { margin: 0; padding: 8px 10px; background: #fffffff0; color: var(--wp-ink); border-radius: 4px; }
    .wp-preview-feedback .wp-retry { margin: 0; }
    .wp-preview > .wp-apply { position: absolute; z-index: 2; bottom: 0; left: 0; right: 0; margin: 0; padding: 28px 16px calc(16px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, #0a152000, #0a15208c 40%, #0a1520c9); }
    .wp-preview > .wp-apply .wp-primary { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 18px; border: 1px solid #ffffff80; border-radius: 16px; }
    .wp-preview > .wp-apply .wp-primary:disabled { background: #e0e5eb; color: #596573; }
    .wp-preview .wp-apply-icon { display: block; flex-shrink: 0; width: 24px; height: 24px; }
    .wp-preview .wp-apply-badge { display: inline-block; flex-shrink: 0; padding: 4px 8px; border: 1px solid #bbc3cb; border-radius: 6px; background: #cfd5dd; color: #4e5865; font-size: 11px; font-weight: 600; line-height: 1.3; }
    .wp-preview > .wp-apply .wp-support { display: none; }
}
@media (max-width: 768px) and (orientation: landscape), (max-width: 1024px) and (max-height: 600px) and (pointer: coarse) and (orientation: landscape) {
    .wp-phone video { object-fit: contain; background: #182731; }
}
@media (prefers-reduced-motion: reduce) { .wp-service *, .wp-service *::before, .wp-service *::after { transition: none; } }
@media (forced-colors: active) { .wp-service button { border: 1px solid ButtonText; } .wp-service button[aria-pressed='true'] { outline: 2px solid Highlight; outline-offset: -3px; } .wp-switch > span { forced-color-adjust: none; } .wp-heading, .wp-platform { border: 1px solid CanvasText; } .wp-heading__device { border-color: CanvasText; box-shadow: none; } }
