/* Home-only layout. Shared header/footer and other pages are intentionally unscoped. */
.hl-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.home-layout { --hl-ink: #283f31; --hl-muted: #66715f; --hl-line: #dce3d4; }
.home-layout #quick-play, .home-layout #news { scroll-margin-top: 104px; }
.hl-slides { overflow: hidden; border-radius: 24px; border: 1px solid #dde5d5; background: #ebf0e4; }
.hl-slide { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 24px; min-height: 370px; padding: 34px 48px; color: var(--hl-ink); background: #ebf0e4; touch-action: pan-y; }
.hl-slide-copy { min-width: 0; position: relative; z-index: 1; }
.hl-kicker { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: #60734f; margin: 0 0 18px; }
.hl-kicker > span { color: #ad783d; font-size: 20px; line-height: 1; }
.hl-slide h2 { font-size: clamp(34px, 4.25vw, 54px); letter-spacing: -.055em; line-height: 1.2; margin: 0 0 18px; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.hl-slide-description { max-width: 420px; min-height: 3.6em; font-size: 15px; line-height: 1.8; color: #5d6c55; margin: 0; word-break: keep-all; }
.hl-slide-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 17px 0 24px; }
.hl-slide-tags li { padding: 4px 9px; border: 1px solid #cdd9bf; border-radius: 5px; font-size: 11px; color: #5d704c; }
.hl-slide-play { min-height: 48px; font-size: 14px; }
.hl-slide-art { position: relative; height: 310px; min-width: 0; display: grid; place-items: center; }
.hl-art-circle { position: absolute; width: min(88%, 296px); aspect-ratio: 1; border-radius: 50%; background: #dbe7c9; }
.hl-art-circle::after { position: absolute; content: ''; inset: -12px; border: 1px dashed #a4b78e; border-radius: inherit; }
.hl-character { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.hl-poster { position: relative; z-index: 1; width: 96%; height: auto; max-height: 88%; object-fit: contain; border-radius: 14px; box-shadow: 0 12px 30px #35446218; }
.hl-art-spark { position: absolute; color: #b07b3e; font-size: 28px; }
.hl-art-spark-one { top: 42px; left: 8px; }
.hl-art-spark-two { right: 6px; bottom: 34px; font-size: 36px; }
.hl-slide[data-content-id="sparkle-card"] { background: #ece7f5; color: #514164; }
.hl-slide[data-content-id="sparkle-card"] .hl-kicker, .hl-slide[data-content-id="sparkle-card"] .hl-slide-description { color: #71617c; }
.hl-slide[data-content-id="sparkle-card"] .hl-slide-tags li { border-color: #d2c7e1; color: #756184; }
.hl-slide[data-content-id="sparkle-card"] .hl-slide-play { background: #635078; }
.hl-slide[data-content-id="sparkle-card"] .hl-slide-play:hover { background: #4f3c65; }
.hl-slide[data-content-id="sparkle-card"] .hl-art-circle { background: #dcd2ed; }
.hl-slide[data-content-id="sparkle-card"] .hl-art-circle::after { border-color: #b6a1cf; }
.hl-slide[data-content-id="sparkle-card"] .hl-art-spark { color: #a186bd; }
.hl-slide[data-content-id="dog-walk"] { background: #e7eee1; }
.hl-slide[data-content-id="dog-walk"] .hl-art-circle { background: #d3e1c5; }
.hl-slide[data-content-id="no-wrong-exam"] { background: #e8edf6; color: #364965; }
.hl-slide[data-content-id="no-wrong-exam"] .hl-kicker, .hl-slide[data-content-id="no-wrong-exam"] .hl-slide-description { color: #5e6d86; }
.hl-slide[data-content-id="no-wrong-exam"] .hl-slide-tags li { border-color: #c6d2e6; color: #5a6c8b; }
.hl-slide[data-content-id="no-wrong-exam"] .hl-slide-play { background: #4e6385; }
.hl-slide[data-content-id="no-wrong-exam"] .hl-slide-play:hover { background: #394d6d; }
.hl-slide[data-content-id="no-wrong-exam"] .hl-art-circle { background: #d8e1f0; }
.hl-slide[data-content-id="no-wrong-exam"] .hl-art-circle::after { border-color: #a4b5d2; }
.hl-slide[data-content-id="no-wrong-exam"] .hl-art-spark { color: #879cbd; }
.hl-mosaic { position: relative; z-index: 1; width: 240px; max-width: 84%; aspect-ratio: 1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: repeat(3,minmax(0,1fr)); gap: 9px; transform: rotate(-8deg); }
.hl-mosaic img { width: 100%; height: 100%; min-height: 0; padding: 8%; background: #fffdfa; border: 1px solid #d4c8e1; border-radius: 10px; box-shadow: 0 4px 0 #c9bbd7; object-fit: contain; }
.hl-mosaic img:nth-child(5) { transform: rotate(7deg) translateY(-4px); background: #fff0b8; border-color: #dbc078; }
.hl-carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.hl-carousel-position, .hl-counter, .hl-slide-dots, .hl-carousel-arrows { display: flex; align-items: center; }
.hl-carousel-position { gap: 16px; }
.hl-counter { gap: 9px; font-size: 12px; color: #89917d; font-variant-numeric: tabular-nums; }
.hl-counter strong { color: #36523c; font-weight: 750; }
.hl-counter > span { color: #c2c9b9; }
.hl-carousel-arrows { gap: 8px; }
.hl-arrow, .hl-dot { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hl-arrow { background: transparent; border: 1px solid #cfd9c6; border-radius: 50%; color: #35513b; font-size: 20px; }
.hl-arrow:hover { background: #e8efdf; border-color: #92a47f; }
.hl-dot { background: transparent; border: 0; }
.hl-dot > span { width: 7px; height: 7px; border-radius: 7px; background: #c8d0be; }
.hl-dot[aria-pressed="true"] > span { width: 22px; background: #567344; }
.hl-dot:focus-visible { outline-offset: -3px; border-radius: 8px; }

.hl-catalog { margin-top: 34px; }
.hl-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 22px; }
.hl-overline { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: #7b876d; margin: 0 0 7px; }
.hl-section-heading h2 { margin: 0; color: var(--hl-ink); font-size: 29px; line-height: 1.3; letter-spacing: -.045em; }
.hl-total, .hl-news-caption { color: #7b8570; font-size: 12px; margin: 0 0 4px; white-space: nowrap; }
.hl-content-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; padding: 0; margin: 0; list-style: none; }
.hl-content-tile { min-width: 0; }
.hl-content-link { display: block; height: 100%; border-radius: 12px; color: var(--hl-ink); }
.hl-content-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border: 1px solid #e1d8c7; border-radius: 12px; overflow: hidden; background: #f3e6cc; background-image: radial-gradient(#d5bc8b 1px,transparent 1px); background-size: 18px 18px; }
.hl-thumb-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hl-content-thumb[data-content-id="sparkle-card"] { background-color: #ece7f5; border-color: #dfd5ed; background-image: radial-gradient(#c8b5e1 1px,transparent 1px); }
.hl-content-thumb[data-content-id="dog-walk"] { background-color: #e7eee1; border-color: #d8e2cf; background-image: radial-gradient(#bccda8 1px,transparent 1px); }
.hl-content-thumb[data-content-id="no-wrong-exam"] { background: #101e37; border-color: #233652; }
.hl-content-thumb .hl-mosaic { width: 47%; max-width: none; gap: 4px; }
.hl-content-thumb .hl-mosaic img { border-radius: 4px; box-shadow: 0 2px 0 #c9bbd7; }
.hl-content-title { margin: 13px 0 0; font-size: 18px; font-weight: 700; line-height: 1.5; letter-spacing: -.035em; word-break: keep-all; overflow-wrap: anywhere; }
.hl-content-link:hover .hl-content-thumb { border-color: #90a47f; }
.hl-content-link:hover .hl-content-title { text-decoration: underline; text-underline-offset: 4px; }
.hl-content-link:focus-visible { outline: 2px solid #567344; outline-offset: 5px; }

.hl-news { margin-top: 48px; }
.hl-news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #d8e0d0; }
.hl-news-list li { display: grid; grid-template-columns: 95px 80px minmax(0,1fr); align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid #e1e6da; }
.hl-news-list time { color: #859079; font-size: 11px; font-variant-numeric: tabular-nums; }
.hl-news-kind { justify-self: start; padding: 4px 8px; border-radius: 5px; background: #eaf0e0; color: #697c57; font-size: 10px; }
.hl-news-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; color: #3f5238; font-size: 14px; font-weight: 600; word-break: keep-all; overflow-wrap: anywhere; }
.hl-news-list a > span { font-size: 20px; flex-shrink: 0; font-weight: 400; padding-right: 7px; }
.hl-news-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hl-news-empty { padding: 24px 0; color: var(--hl-muted); border-top: 1px solid var(--hl-line); font-size: 14px; }

@media (max-width:960px) {
 .hl-content-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 20px; }
}
@media (max-width:860px) {
 .hl-slide { padding: 28px 32px; gap: 12px; min-height: 350px; }
 .hl-slide h2 { font-size: 37px; }
 .hl-slide-description { font-size: 14px; }
 .hl-slide-art { height: 270px; }
 .hl-mosaic { width: 205px; gap: 7px; }
 .hl-art-spark-one { left: 0; top: 28px; }
 .hl-art-spark-two { right: 0; font-size: 26px; }
}
@media (max-width:600px) {
 .hl-slides { border-radius: 18px; }
 .hl-slide { grid-template-columns: 1fr; padding: 17px 24px 25px; gap: 9px; min-height: 0; }
 .hl-slide-art { grid-row: 1; height: 205px; width: 100%; max-width: 300px; margin: 0 auto; }
 .hl-art-circle { width: 73%; }
 .hl-art-circle::after { inset: -9px; }
 .hl-art-spark-one { left: 8px; top: 29px; font-size: 23px; }
 .hl-art-spark-two { right: 3px; bottom: 29px; font-size: 28px; }
 .hl-mosaic { width: 168px; max-width: 75%; gap: 7px; }
 .hl-mosaic img { border-radius: 7px; box-shadow: 0 3px 0 #c9bbd7; }
 .hl-kicker { margin-bottom: 10px; font-size: 11px; }
 .hl-slide h2 { font-size: 31px; margin-bottom: 12px; }
 .hl-slide-description { min-height: 0; font-size: 13px; line-height: 1.8; }
 .hl-slide-tags { margin: 13px 0 18px; gap: 5px; }
 .hl-slide-tags li { font-size: 10px; padding: 3px 7px; }
 .hl-slide-play { min-height: 46px; font-size: 13px; }
 .hl-carousel-controls { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; margin-top: 10px; }
 .hl-carousel-position { display: contents; }
 .hl-counter { font-size: 11px; gap: 7px; }
 .hl-counter { grid-column: 1; grid-row: 1; }
 .hl-carousel-arrows { grid-column: 2; grid-row: 1; }
 .hl-slide-dots { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
 .hl-arrow { width: 44px; height: 44px; }
 .hl-catalog { margin-top: 29px; }
 .hl-section-heading { margin-bottom: 17px; gap: 10px; }
 .hl-section-heading h2 { font-size: 25px; }
 .hl-overline { font-size: 9px; margin-bottom: 5px; }
 .hl-total, .hl-news-caption { font-size: 10px; margin-bottom: 3px; }
 .hl-content-grid { gap: 21px 14px; }
 .hl-content-thumb { border-radius: 9px; background-size: 14px 14px; }
 .hl-content-thumb .hl-mosaic { gap: 3px; }
 .hl-content-thumb .hl-mosaic img { border-radius: 3px; box-shadow: 0 1px 0 #c9bbd7; }
 .hl-content-title { font-size: 16px; line-height: 1.45; margin-top: 10px; }
 .hl-news { margin-top: 36px; }
 .hl-news-caption { display: none; }
 .hl-news-list li { grid-template-columns: auto 1fr; gap: 3px 11px; padding: 15px 0 11px; }
 .hl-news-list time { font-size: 10px; }
 .hl-news-kind { font-size: 9px; padding: 3px 7px; }
 .hl-news-list a { grid-column: 1 / -1; min-height: 44px; font-size: 12px; line-height: 1.7; }
 .hl-news-list a > span { font-size: 18px; }
}
@media (max-width:360px) {
 .hl-slide { padding-left: 20px; padding-right: 20px; }
 .hl-slide h2 { font-size: 28px; }
 .hl-content-grid { column-gap: 12px; }
 .hl-content-title { font-size: 15px; }
}
