/* AI Design Skills: existing product content, measured type/spacing and real UI captures. */
html body #viewHyeol .home-hero{min-height:304px;border-radius:16px;background:#151b2b}
html body #viewHyeol .home-hero-copy{padding:32px;width:60%}
html body #viewHyeol .hy-home .home-hero h2{font-size:36px!important;line-height:1.2!important;font-weight:700!important;letter-spacing:-.02em!important;margin:0 0 16px!important;text-wrap:balance}
html body #viewHyeol .home-hero-copy>p{font-size:16px;line-height:1.5;margin:0 0 24px;text-wrap:pretty}
html body #viewHyeol .home-actions{gap:12px}
html body #viewHyeol .home-actions .home-button{padding:8px 12px;min-height:44px;font:600 14px/20px var(--font-sans)}
html body #viewHyeol .home-hero-copy>small{margin-top:24px;font-size:12px;line-height:16px}
html body #viewHyeol .home-how{margin:24px 0 32px;padding:24px;border-radius:12px;background:var(--t-surface);border-color:var(--t-panel-border)}
html body #viewHyeol :is(.home-how,.home-features) h3{font-size:18px;line-height:28px;margin:0 0 16px;font-weight:650}
html body #viewHyeol .home-how ol{gap:24px}
html body #viewHyeol .home-how h4{font-size:14px;line-height:20px;margin:0 0 8px}
html body #viewHyeol .home-how p{font-size:14px;line-height:20px;text-wrap:pretty}
html body #viewHyeol .home-feature-grid{gap:16px!important}
html body #viewHyeol .home-feature{border-radius:12px;border-color:var(--t-panel-border)}
html body #viewHyeol .home-preview{aspect-ratio:16/9!important;max-height:240px;padding:12px}
html body #viewHyeol .home-current-shot{object-fit:contain;object-position:center;width:100%;height:100%}
html body #viewHyeol .home-feature-copy{padding:24px!important;display:flex;flex-direction:column;gap:12px}
html body #viewHyeol .home-feature-label{margin:0;font-size:12px;line-height:16px}
html body #viewHyeol .home-feature-copy h4{font-size:20px!important;line-height:28px;margin:0;letter-spacing:-.02em;text-wrap:balance}
html body #viewHyeol .home-feature-copy p{font-size:14px;line-height:20px;margin:0;text-wrap:pretty}
html body #viewHyeol .home-feature-cta{margin-top:auto;padding-top:4px;font-size:14px;line-height:20px}
html body #viewHyeol .home-feature-cta svg{transition:transform 300ms cubic-bezier(.22,1,.36,1)}
html body #viewHyeol .home-catalog-slot{padding:16px 24px;border-style:solid;border-radius:12px;color:var(--t-text);gap:16px}
@media(max-width:900px){html body #viewHyeol .home-hero-copy{width:72%}}
@media(max-width:650px){
 html body #viewHyeol .home-hero{min-height:0}
 html body #viewHyeol .home-hero-copy{width:100%;padding:24px}
 html body #viewHyeol .hy-home .home-hero h2{font-size:30px!important;line-height:36px!important}
 html body #viewHyeol .home-hero-copy>p{font-size:14px;line-height:20px}
 html body #viewHyeol .home-how{padding:16px;margin:16px 0 24px}
 html body #viewHyeol .home-how ol{gap:16px}
 html body #viewHyeol .home-feature-copy{padding:16px!important}
 html body #viewHyeol .home-catalog-slot{padding:16px;align-items:flex-start;flex-direction:column;gap:8px}
}

/* 2026-11-04 첫 화면: 처음 온 사람만 한 줄 안내 → 바로 누를 최근 갱신 덱 → 그림 띠(글·단추 없음) → 기능 소개 */
.hy-home{display:flex!important;flex-direction:column;gap:16px}
.hy-home .home-guide{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0;padding:10px 12px 10px 14px;border:1px solid var(--t-line);border-radius:12px;background:var(--home-ground);color:var(--t-text);font-size:13px;line-height:1.45}
.hy-home .home-guide b{color:var(--t-accent,#aec2f4);font-weight:700}
.hy-home .home-guide button{margin-left:auto;width:28px;height:28px;min-height:0;padding:0;border:0;border-radius:8px;background:transparent;color:var(--t-muted);font-size:18px;line-height:1;cursor:pointer}
.hy-home .home-recent{padding:16px;border:1px solid var(--t-line);border-radius:14px;background:var(--home-ground)}
.hy-home .home-recent header{display:flex;align-items:baseline;gap:10px;margin-bottom:12px}
.hy-home .home-recent h3{margin:0;font-size:17px;line-height:1.3;font-weight:650;color:var(--t-text)}
.hy-home .home-recent header small{font-size:12px;color:var(--t-muted)}
.hy-home .home-recent-all{margin-left:auto;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px;border:1px solid var(--t-control);border-radius:10px;background:transparent;color:var(--t-text);font:600 12.5px/1 var(--font-sans,inherit);cursor:pointer;white-space:nowrap}
.hy-home .home-recent-all svg{width:14px;height:14px}
.hy-home .home-recent-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px}
.hy-home .home-recent-deck{display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;align-items:center;padding:6px;border-radius:10px;background:var(--home-raised);color:var(--t-text);text-decoration:none}
.hy-home .home-recent-deck>img,.hy-home .home-recent-deck>.hy-mix{grid-row:1/3;width:40px;height:40px;border-radius:8px;object-fit:cover;overflow:hidden}
.hy-home .home-recent-deck span{font-size:13px;font-weight:650;line-height:1.25;overflow-wrap:anywhere}
.hy-home .home-recent-deck small{font-size:11px;color:var(--t-muted);font-variant-numeric:tabular-nums}
.hy-home .home-recent-deck:hover{outline:1px solid var(--t-accent,#aec2f4)}
.hy-home .home-hero-art-only{position:relative;min-height:150px!important;height:150px;overflow:hidden;border-radius:14px}
.hy-home .home-hero-art-only .home-hero-art{inset:0!important;mask-image:none;-webkit-mask-image:none}
.hy-home .home-hero-art-only .home-hero-art:after{background:linear-gradient(0deg,rgba(15,19,32,.45),transparent 60%)}
.hy-home .home-hero-art-only .home-hero-art>div{width:36%}
@media (max-width:720px){
 .hy-home .home-recent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hy-home .home-recent header{flex-wrap:wrap}
 .hy-home .home-hero-art-only{height:110px;min-height:110px!important}
}

.hy-home>*+*{margin-top:16px!important}
.hy-home .home-recent-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:720px){.hy-home .home-recent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.hy-item>small{white-space:nowrap;min-width:max-content}
.hy-item{grid-template-columns:40px minmax(0,1fr) auto 7px auto!important}
.hy-item>small{font-size:11px;color:var(--t-muted)}

/* 그림 띠는 맨 위 제목 줄의 배너로(첫 화면 가운데 뜬금없이 남지 않게) */
.hy-heading{position:relative!important;overflow:hidden!important;min-height:112px;padding:22px 24px!important;border-radius:14px!important;border:1px solid var(--t-line);background:#131827!important;align-items:center!important}
.hy-heading button,.hy-heading .hy-theme-trigger{background:var(--t-surface,#141824)!important}

/* Artwork banners retain a dark ground in both themes. */
html[data-theme=light] body #viewHyeol .hy-heading h1{color:#f2f5ff!important}
html[data-theme=light] body #viewHyeol .hy-heading .hy-sub{color:#c1cee4!important}
html[data-theme=light] body #viewHyeol .hy-heading button[data-site-help]{background:#eef3fc!important;color:#203753!important;border-color:#c3cde0!important}
html[data-theme=light] body #viewHyeol .home-feature-copy{color:#20324e}
html[data-theme=light] body #viewHyeol .home-feature-copy :is(p,.home-feature-label){color:#4b607c!important}
html[data-theme=light] body #viewHyeol .home-feature-copy h4{color:#172b43!important}
html[data-theme=light] body #viewHyeol .home-feature-cta{color:#2f5190!important}
.hy-lb-related{display:inline-flex;align-items:center;margin-top:16px;padding:9px 14px;border:1px solid currentColor;border-radius:6px;text-decoration:none;color:inherit;font-weight:650}

/* 2026-11-04 제목 배너 다듬기: 그림마다 얼굴(용은 몸통)이 보이게 자르고, 첫 그림이 흐림에 묻히지 않게, 그림 사이에 카드 뒷면 구리색 선 */
#viewHyeol .hy-heading{min-height:132px}
#viewHyeol .hy-heading button[data-site-help]{background:rgba(14,18,30,.88)!important;border:1px solid rgba(255,255,255,.22)!important;color:#eef1fa!important;backdrop-filter:blur(4px)}

/* 제목 배너 그림: 등반 기록의 여러 덱 그림처럼 비스듬히 부드럽게 이어 붙임(app.js layoutArtwork). 왼쪽은 글자 쪽으로 서서히 사라짐 */
#viewHyeol .hy-heading .art.hy-heading-art{position:absolute!important;inset:0 0 0 36%!important;z-index:0!important;background:none;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14%);mask-image:linear-gradient(90deg,transparent 0,#000 14%)}
#viewHyeol .hy-heading .art.hy-heading-art img{object-fit:cover;opacity:1;filter:saturate(.95)}

@media (max-width:720px){#viewHyeol .hy-heading .art.hy-heading-art{display:none!important}}

/* Heading artwork is a flat collage, without the generic artwork frame. */
html body #viewHyeol .hy-heading,html body #viewHyeol .hy-heading .art.hy-heading-art{border:0!important;box-shadow:none!important;outline:0!important}
html body #viewHyeol .hy-heading .art.hy-heading-art{border-radius:0!important}
/* Preserve the screenshot canvas and its native aspect ratio. */
html[data-theme="light"] body #viewHyeol .home-preview-maker .home-current-shot{width:100%;height:100%;max-width:100%;transform:none;object-fit:contain;border:0!important;box-shadow:none!important}
#viewHyeol .hy-heading .hy-home-link{color:inherit;text-decoration:none;border-radius:3px}
#viewHyeol .hy-heading .hy-home-link:hover{text-decoration:underline;text-underline-offset:5px}
#viewHyeol .hy-heading .hy-home-link:focus-visible{outline:2px solid currentColor;outline-offset:5px}

/* Keep the collage on the archive home only. */
html body #viewHyeol.hy-deck-page .hy-heading .art.hy-heading-art{display:none!important}
