/* Shared visual system and responsive home, September 2026. */
:root{--brand:#cf1629;--brand-deep:#ae1020;--red:#d7192d;--navy:#8d2630;--navy-deep:#171b24;--text:#191d26;--text-sub:#6a707c;--line:#eee5de;--container:1640px;--gutter:32px;--shadow:0 3px 12px #8b4d2710}
html{scroll-behavior:smooth;scroll-padding-top:110px}
body{background:#fffdfa}
[hidden]{display:none!important}
.site-header{background:linear-gradient(110deg,#d6192d,#be1023);box-shadow:0 2px 8px #a9342122}
.header-inner{height:82px;gap:24px}
.logo-text{font-size:31px}.logo-domain{font-size:.66em;color:inherit}.logo-mark{width:32px;height:40px}.site-header .logo-text em{color:#ffdc76}
.gnb{margin-left:10px;gap:5px}.gnb a{padding:14px 12px;font-size:1.06rem;font-weight:750}.gnb a.is-active::after{bottom:2px}
.search{width:280px;min-width:180px}.search input{height:46px;font-size:.93rem;padding-left:18px}.search button svg{width:23px;height:23px}.header-actions{gap:14px}.btn-fontsize{height:46px;padding:0 20px;font-size:1.08rem}
.site-footer{background:#fffaf6;border-top:1px solid var(--line);margin-top:28px}.footer-inner{padding-top:28px;padding-bottom:28px}.footer-slogan{color:#777}.logo--dark .logo-text{color:#24202a}.logo--dark .logo-text em{color:var(--brand)}
.portal-hero{background:#faf0e3;position:relative;overflow:hidden}
.portal-hero-inner{position:relative;padding-top:25px;padding-bottom:28px;min-height:320px}
.portal-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff9ef 0%,#fff9ef 40%,#fff9ef00 67%),url('/images/welcome-couple.png') right 40%/auto 155% no-repeat}
.portal-greeting{position:relative;z-index:1;display:flex;align-items:center;gap:24px;margin-bottom:12px;font-size:1.14rem;font-weight:650;color:#464039}
.portal-free{padding:9px 18px;background:#ffffffd9;border:1px solid #f3e3d0;border-radius:30px;font-size:.91rem;color:#67554a;box-shadow:var(--shadow)}
.portal-hero-content{position:relative}.portal-hero-copy{position:relative;z-index:1;max-width:64%}
.portal-hero h1{font-size:clamp(2rem,3.25vw,3.25rem);line-height:1.2;letter-spacing:-.055em;font-weight:850;color:#131821}.portal-hero h1 em{color:#c91629;font-style:normal}
.portal-hero-copy>p{margin-top:14px;color:#6b707b;font-size:1.25rem;font-weight:550;line-height:1.6}.mobile-break{display:none}
.portal-hand{position:absolute;right:0;top:0;transform:rotate(-7deg);font-family:var(--font-hand);font-size:1.5rem;color:#874827;line-height:1.15}.portal-hand b{font-weight:400}.portal-hand span{color:#f46272}
.portal-hero-actions{display:flex;gap:14px;position:relative;margin-top:25px;z-index:1}.portal-hero-actions a{display:flex;align-items:center;justify-content:center;gap:13px;padding:15px 24px;border-radius:38px;font-size:1.25rem;font-weight:800;min-height:60px;box-shadow:0 3px 10px #bf6e2915}
.portal-primary{background:linear-gradient(120deg,#db1e30,#c81023);color:white}.portal-primary>svg:first-child{width:32px;height:32px;--play-fg:#cf1629}.portal-secondary{background:white;border:1px solid #f1e3d7}.portal-secondary>svg:first-child{color:var(--brand);width:29px;height:29px}.portal-hero-actions a>svg:last-child{width:20px;height:20px}
.portal-fun{padding-top:14px;padding-bottom:18px}.portal-fun-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.portal-tile{min-width:0;display:flex;align-items:center;gap:13px;border:1px solid #f3e5da;border-radius:15px;background:#fff;padding:15px 16px;box-shadow:var(--shadow);transition:transform .15s,border-color .15s}
.portal-tile:hover{border-color:#de9d91;transform:translateY(-2px)}.portal-tile>span:nth-child(2){min-width:0}.portal-tile strong{display:block;font-size:1.06rem;line-height:1.25;font-weight:800;letter-spacing:-.03em}.portal-tile small{display:block;margin-top:5px;color:var(--text-sub);font-size:.8rem;line-height:1.35}.portal-tile>svg{width:16px;height:16px;flex-shrink:0;margin-left:auto;color:#92949d}.portal-emoji{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;flex-shrink:0;font-size:2.35rem;line-height:1.2}.portal-calendar{display:grid;place-items:center;width:38px;height:40px;border:3px solid #e41b34;border-top-width:10px;border-radius:5px;font:800 25px var(--font);background:#fff;color:#202128}
.portal-topics-inner{padding:17px 18px;background:linear-gradient(100deg,#fbefed,#fff6f2);border-radius:18px}.portal-heading{display:flex;align-items:center;gap:14px;margin-bottom:12px}.portal-heading h2{font-size:1.5rem;line-height:1.25;font-weight:850;letter-spacing:-.045em}.portal-heading>p{margin-left:auto;color:var(--text-sub);font-size:.86rem}.portal-heading>a{display:flex;align-items:center;gap:3px;margin-left:auto;font-size:.88rem;font-weight:650;color:#4b526d;white-space:nowrap;min-height:32px}.portal-heading>a svg{width:16px;height:16px}.portal-topics .portal-heading>a{display:none}.portal-topic-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px}.portal-topic-grid .portal-tile{gap:9px;padding:14px 10px}.portal-topic-grid .portal-tile>svg{display:none}.portal-topic-grid .portal-emoji{font-size:2rem}.portal-topic-grid .portal-tile strong{font-size:.98rem}.portal-topic-grid .portal-tile small{font-size:.73rem}
.portal-content{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(0,1fr) minmax(0,.8fr);gap:24px;margin-top:24px}.portal-content>section{min-width:0}.portal-content .portal-heading{gap:5px;margin-bottom:8px}.portal-content .portal-heading h2{font-size:1.35rem}.portal-section-note{font-size:.83rem;color:var(--text-sub);margin-bottom:12px}.portal-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.portal-video{display:block;min-width:0}.portal-video-image{display:block;position:relative;aspect-ratio:16/9;background-size:cover;background-position:center;border-radius:10px;overflow:hidden;background-color:#f2e9e4}.portal-video-image .duration{font-size:.85rem;padding:2px 5px;bottom:5px;right:5px}.portal-video-body{display:block;padding:9px 2px}.portal-video-body>strong{font-size:1rem;font-weight:750;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.portal-video-body>small{display:block;color:var(--text-sub);font-size:.84rem;margin-top:4px}.portal-video-meta{display:flex;align-items:center;gap:5px;color:#7b818c;font-size:.85rem;margin-top:5px}.portal-video-meta svg{width:14px;height:14px}.portal-video-meta>span{font-size:.75rem}
.portal-resume-panel,.portal-ranking{border-left:1px solid var(--line);padding-left:20px}.portal-resume-empty{border:1px solid var(--line);border-radius:13px;padding:22px 12px;background:white;display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px}.portal-resume-empty>svg{width:31px;height:31px;color:#d78977}.portal-resume-empty>strong{font-size:1rem}.portal-resume-empty p{font-size:.86rem;color:var(--text-sub);line-height:1.5}.portal-resume-empty a{display:flex;align-items:center;gap:5px;color:var(--brand);font-size:.88rem;font-weight:700;padding-top:5px}.portal-resume-empty a svg{width:14px;height:14px}.portal-resume-content .resume-card{display:flex;gap:10px;padding:10px;border:1px solid var(--line);border-radius:12px;background:white}.portal-resume-content .resume-thumb{width:85px;height:65px;flex-shrink:0;border-radius:8px;background-size:cover;background-position:center}.portal-resume-content .resume-body{min-width:0;flex:1}.portal-resume-content .resume-body>strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.9rem}.portal-resume-content .resume-bar{display:block;background:#e5e7ed;height:5px;border-radius:5px;margin:8px 0 4px;overflow:hidden}.portal-resume-content .resume-bar i{display:block;background:var(--brand);height:100%}.portal-resume-content small{font-size:.75rem;color:var(--text-sub)}.portal-resume-play svg{width:31px;height:31px;color:var(--brand)}.portal-resume-library{display:flex;gap:5px;align-items:center;padding-top:14px;color:#776761;font-size:.85rem}.portal-resume-library svg{width:15px;height:15px}
.portal-ranking ol{display:grid;gap:10px}.portal-ranking li a{display:flex;gap:9px;align-items:center}.portal-rank{display:grid;place-items:center;flex-shrink:0;width:22px;height:26px;border-radius:5px;background:#ce162a;color:white;font-size:.9rem}.portal-ranking li:nth-child(2) .portal-rank{background:#8e929a}.portal-ranking li:nth-child(3) .portal-rank{background:#b87e53}.portal-rank-image{width:78px;aspect-ratio:16/10;background-size:cover;background-position:center;flex-shrink:0;border-radius:7px}.portal-rank-body{min-width:0}.portal-rank-body strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.87rem;line-height:1.35}.portal-rank-body small{display:flex;gap:4px;align-items:center;font-size:.8rem;color:var(--text-sub);margin-top:3px}.portal-rank-body svg{width:12px;height:12px}
.portal-life{margin-top:16px}.portal-life-inner{background:#fcf1e9;border-radius:17px;padding:14px 18px}.portal-life .portal-heading{margin-bottom:10px}.portal-life .portal-heading>p{margin-left:0}.portal-life-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 1.3fr;gap:10px}.portal-life .portal-tile{padding:12px}.portal-life .portal-tile>svg{display:none}.portal-life .portal-emoji{font-size:2rem}.portal-good-day{display:flex;gap:12px;align-items:center;background:#fde8e6;color:#c92134;padding:12px 16px;border-radius:13px;font-size:.85rem}.portal-good-day>span{font-size:2rem}.portal-good-day svg{width:18px;height:18px;margin-left:auto}.portal-more-content{display:grid;grid-template-columns:2fr 1fr;gap:28px;margin-top:30px}.portal-more-content .home-block{margin:0;padding:20px;background:#fff;border:1px solid var(--line);border-radius:16px}.portal-more-content .pick-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.portal-more-content .pick-row{margin:0;border:0;padding:8px 0}.portal-more-content .pick-thumb{width:110px}.portal-more-content .pick-body h3{font-size:1rem}.portal-more-content .pick-meta{font-size:.8rem}.portal-more-content .tags{display:none}
.tabbar{border-radius:20px 20px 0 0;box-shadow:0 -3px 20px #6c432a10}.tabbar a{flex:1}.tabbar .is-active{color:var(--brand)}.tabbar a:nth-child(2) svg{filter:grayscale(1)}.tabbar a:nth-child(2).is-active svg{filter:none}.tabbar svg{width:26px;height:26px}
.page-head--cat,.info-block,.inquiry-form,.fun-article{background:#fff}.sort-tabs a.is-active,.btn-primary,.btn-submit{background:var(--brand);border-color:var(--brand)}
@media(min-width:1500px){.portal-life-inner{display:flex;gap:22px;align-items:center}.portal-life .portal-heading{display:block;flex-shrink:0;margin:0}.portal-life .portal-heading p{font-size:.72rem;margin-top:5px}.portal-life-grid{flex:1}.portal-life .portal-tile strong{font-size:.95rem}.portal-life .portal-tile small{font-size:.73rem}}
@media(max-width:1400px){.header-inner{gap:15px}.logo-text{font-size:27px}.gnb{margin-left:0}.gnb a{font-size:.96rem;padding:12px 8px}.search{width:240px;min-width:160px}.btn-fontsize{padding:0 14px}.portal-tile{padding:13px 10px;gap:8px}.portal-fun .portal-tile>svg{display:none}.portal-topic-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.portal-topic-grid .portal-tile{padding:11px 15px}.portal-topic-grid .portal-tile small{font-size:.8rem}.portal-content{grid-template-columns:1.7fr 1fr}.portal-ranking{grid-column:1/-1;border:0;padding:0}.portal-ranking ol{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-hero h1{font-size:2.65rem}.portal-hand{font-size:1.3rem}}
@media(max-width:1100px){.header-inner{height:76px;gap:16px}.gnb{display:none}.search{max-width:350px;width:100%;margin-left:auto}.portal-hero-copy{max-width:70%}.portal-hero h1{font-size:2.45rem}.portal-hero-copy>p{font-size:1.08rem}.portal-hero-actions a{font-size:1.1rem;padding:14px 20px}.portal-hand{display:none}.portal-fun-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-life-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.portal-good-day{grid-column:1/-1;justify-content:center}.portal-good-day svg{margin-left:0}.portal-more-content{grid-template-columns:1fr}.portal-more-content .live-list{display:grid;grid-template-columns:1fr 1fr;gap:16px}.chips{top:76px}}
@media(max-width:768px){
 :root{--gutter:18px;--tabbar-h:70px}html{scroll-padding-top:100px}body{padding-bottom:calc(78px + env(safe-area-inset-bottom))}.site-header .header-inner{height:76px;gap:12px;flex-wrap:nowrap}.logo-text{font-size:27px}.logo-mark{width:28px;height:34px}.logo{gap:7px}.logo-domain{font-size:.59em}.header-actions{margin-left:auto;gap:9px}.btn-fontsize{display:block;height:38px;padding:0 12px;font-size:.95rem}.btn-search-toggle{display:grid;place-items:center;background:#fff;border-radius:50%;padding:10px;width:38px;height:38px;color:var(--brand)}.btn-search-toggle svg{width:20px;height:20px}.search{display:none;position:absolute;top:76px;left:0;max-width:none;width:100%;margin:0;padding:12px 18px;background:var(--brand)}.site-header.is-search-open .search{display:block}.search input{height:45px}.search button{right:25px}.tabbar{display:flex;justify-content:space-around;height:calc(70px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.tabbar a{font-size:.82rem;gap:3px}.site-footer{display:block;margin-top:22px}.footer-inner{gap:15px}.site-footer .logo,.footer-slogan{display:none}.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}.footer-links a{font-size:.78rem}.copyright{font-size:.7rem}.chips{top:76px}
 .portal-hero{background:#fffdfa;overflow:visible}.portal-hero:before{display:none}.portal-hero-inner{padding-top:14px;padding-bottom:0;min-height:0}.portal-greeting{gap:8px;margin-bottom:12px;justify-content:space-between;font-size:.86rem;flex-wrap:wrap}.portal-free{padding:0;border:0;background:none;font-size:.73rem;box-shadow:none;color:#8c7667}.portal-hero-content{min-height:292px;border-radius:22px;overflow:hidden;padding:24px 18px 17px;background:linear-gradient(90deg,#fff5e8 0%,#fff5e8e8 25%,#fff5e826 62%),url('/images/welcome-couple.png') 65% 35%/auto 120% no-repeat}
 .portal-hero-copy{max-width:100%;width:100%}.portal-hero h1{font-size:clamp(1.8rem,5.4vw,2.7rem);max-width:85%;line-height:1.23}.portal-hero h1 em{display:block}.portal-hero-copy>p{font-size:.96rem;line-height:1.55;max-width:75%;margin-top:12px;text-shadow:0 1px 6px #fff}.mobile-break{display:block}.portal-hero-actions{gap:8px;margin-top:62px;align-items:stretch}.portal-hero-actions a{border-radius:30px;padding:12px 10px;gap:7px;font-size:.89rem;min-height:47px;flex:1}.portal-hero-actions a>svg:first-child{width:24px;height:24px;flex-shrink:0}.portal-hero-actions a>svg:last-child{width:12px;height:12px;flex-shrink:0}.portal-hero-actions .portal-secondary{font-size:.82rem}.portal-hand{display:none}
 .portal-fun{padding-top:14px;padding-bottom:17px}.portal-fun-grid{gap:9px}.portal-fun .portal-tile{padding:13px 8px;gap:7px;min-height:78px;border-radius:12px}.portal-fun .portal-emoji{font-size:1.7rem}.portal-fun .portal-tile strong{font-size:.91rem}.portal-fun .portal-tile small{font-size:.65rem;line-height:1.45;margin-top:3px}.portal-calendar{width:28px;height:32px;font-size:21px;border-top-width:7px}
 .portal-topics-inner{padding:0;background:none;border-radius:0}.portal-heading h2{font-size:1.4rem}.portal-topics .portal-heading>p{display:none}.portal-topics .portal-heading>a{display:flex;font-size:.85rem}.portal-topic-grid{display:flex;gap:9px;overflow-x:auto;padding:2px 1px 9px;scrollbar-width:thin;scrollbar-color:#ebd1c7 transparent}.portal-topic-grid .portal-tile{flex:0 0 82px;min-width:0;flex-direction:column;text-align:center;justify-content:flex-start;gap:7px;padding:13px 7px;border-radius:14px}.portal-topic-grid .portal-tile strong{font-size:.92rem;line-height:1.25;word-break:normal}.portal-topic-grid .portal-tile small{display:none}.portal-topic-grid .portal-emoji{font-size:2rem}
 .portal-content{display:flex;flex-direction:column;gap:22px;margin-top:17px}.portal-content .portal-heading h2{font-size:1.4rem}.portal-section-note{font-size:.8rem;margin-bottom:10px}.portal-video-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.portal-video-grid>li:nth-child(3){display:none}.portal-video{background:#fff;border-radius:13px;overflow:hidden;box-shadow:var(--shadow)}.portal-video-image{border-radius:11px 11px 0 0}.portal-video-body{padding:10px}.portal-video-body>strong{font-size:1.02rem;line-height:1.4}.portal-video-body>small{font-size:.84rem}.portal-video-meta{font-size:.87rem}.portal-video-image .duration{font-size:.78rem}
 .portal-resume-panel{padding:0;border:0}.portal-resume-empty{display:grid;grid-template-columns:36px 1fr;text-align:left;padding:16px;column-gap:12px;row-gap:4px}.portal-resume-empty>svg{grid-row:1/3}.portal-resume-empty strong{font-size:.93rem}.portal-resume-empty p{font-size:.79rem}.portal-resume-empty p br{display:none}.portal-resume-empty a{grid-column:2;font-size:.82rem}.portal-resume-content .resume-thumb{width:83px;height:56px}.portal-resume-content .resume-card{align-items:center}.portal-resume-content .resume-body>strong{font-size:.96rem}.portal-resume-play svg{width:37px;height:37px}.portal-resume-library{padding-top:8px}.portal-ranking{display:none}
 .portal-life{margin-top:22px}.portal-life-inner{background:none;padding:0}.portal-life .portal-heading p{display:none}.portal-life-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.portal-life .portal-tile{padding:13px 8px;gap:6px;align-items:flex-start}.portal-life .portal-emoji{font-size:1.65rem}.portal-life .portal-tile strong{font-size:.9rem}.portal-life .portal-tile small{font-size:.73rem}.portal-life .portal-tile:nth-child(4){display:none}.portal-good-day{font-size:.83rem;padding:11px;grid-column:1/-1}.portal-good-day br{display:none}.portal-good-day>span{font-size:1.5rem}
 .portal-more-content{margin-top:24px;gap:18px}.portal-more-content .home-block{padding:16px}.portal-more-content .pick-list,.portal-more-content .live-list{grid-template-columns:1fr}.portal-more-content .home-block-title{font-size:1.18rem}.portal-more-content .pick-thumb{width:115px}.portal-more-content .pick-body h3{font-size:.95rem}.portal-more-content .pick-list>li:nth-child(n+5){display:none}.home .ad-wrap:has(.ad-empty){display:none}
}
@media(max-width:390px){:root{--gutter:12px}.logo-text{font-size:23px}.logo-mark{width:24px}.header-actions{gap:6px}.btn-fontsize{padding:0 9px;font-size:.85rem}.site-header .header-inner{gap:5px}.portal-fun .portal-tile{gap:5px;padding:11px 6px}.portal-fun .portal-emoji{font-size:1.5rem}.portal-fun .portal-tile strong{font-size:.82rem}.portal-fun .portal-tile small{font-size:.61rem}.portal-hero-content{padding:22px 14px 14px}.portal-hero-actions a{font-size:.78rem;padding:11px 7px}.portal-hero-actions .portal-secondary{font-size:.73rem}.portal-hero-actions a>svg:first-child{width:21px;height:21px}.portal-hero-actions a>svg:last-child{display:none}.portal-life .portal-tile{flex-direction:column}.portal-greeting{font-size:.8rem}}
html.is-large .portal-tile{flex-wrap:wrap}html.is-large .portal-hero-copy{max-width:80%}html.is-large .portal-content{grid-template-columns:1.5fr 1fr}html.is-large .portal-ranking{grid-column:1/-1;border:0;padding:0}html.is-large .portal-ranking ol{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:768px){html.is-large .portal-hero-copy{max-width:100%}html.is-large .portal-hero-actions{flex-direction:column;margin-top:25px}html.is-large .portal-topic-grid .portal-tile{flex-basis:96px}html.is-large .portal-fun-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html.is-large .portal-life-grid{grid-template-columns:1fr}html.is-large .portal-life .portal-tile{flex-direction:row}html.is-large .portal-free{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.portal-tile{transition:none}}
/* Isolate reused components from the legacy home grid's named areas. */
.portal-more-content>.home-block{grid-area:auto;min-width:0;width:100%}
.portal-more-content .live-row{grid-template-columns:120px minmax(0,1fr);padding:10px;gap:12px}
.portal-more-content .live-body h3{font-size:1rem}.portal-more-content .live-meta{font-size:.8rem}
.portal-video-image,.portal-rank-image{--thumb-bg:linear-gradient(#f3e9e3,#f3e9e3)}
.portal-emoji svg{width:1.15em;height:1.15em}
.portal-hero:before{background-position:right 15%;background-size:auto,auto 135%}
.portal-hand{right:3%;top:7px;padding:7px 10px;border-radius:12px;background:#fff8ecdb;font-size:1.15rem}
@media(max-width:768px){.portal-more-content .pick-list{display:grid;grid-template-columns:minmax(0,1fr)}.portal-more-content .live-list{display:grid;grid-template-columns:minmax(0,1fr)}.portal-more-content .live-row{grid-template-columns:110px minmax(0,1fr)}.portal-hero-content{background-position:0 0,65% 15%;background-size:auto,auto 115%}}
@media(min-width:1101px){.portal-hand{right:32%;top:68px;background:transparent;font-size:1.45rem;padding:0}}
@media(min-width:769px){.portal-hero:before{background-image:linear-gradient(90deg,#fff9ef 0%,#fff9ef 49%,#fff9ef00 74%),url('/images/welcome-couple.png')}}
/* Keep the hero photograph aligned with the content, independent of viewport width. */
@media (min-width: 769px) {
  .portal-hero { background: #fff9ef; }
  .portal-hero::before { display: none; }
  .portal-hero-inner::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: var(--gutter);
    width: 54%;
    background: url('/images/welcome-couple.png') right 10% / cover no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 34%, #000 92%, transparent);
    pointer-events: none;
  }
  .portal-hand { right: 35%; top: 90px; }
}

/* Ten-image hero: two photo layers cross-fade without exposing an empty frame. */
.portal-carousel .portal-hero-inner::before,
.portal-carousel::before { display: none; }
.portal-carousel .portal-hero-inner { min-height: 374px; padding-bottom: 20px; }
.portal-carousel .portal-hero-content { position: static; background: none; }
.portal-carousel-media {
  position: absolute;
  top: 0; bottom: 0; right: var(--gutter);
  width: 54%;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 34%, #000 92%, transparent);
}
.portal-carousel-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: right 10%;
  opacity: 0;
  transition: opacity 600ms ease;
}
.portal-carousel-photo.is-visible { opacity: 1; }
.portal-carousel .portal-hero-copy { max-width: 62%; }
.portal-carousel h1 { min-height: 2.4em; font-size: clamp(2.15rem, 3vw, 3rem); }
.portal-carousel h1 em { display: block; }
.portal-carousel .portal-hero-copy > p { min-height: 3.2em; max-width: 640px; margin-top: 10px; }
.portal-carousel .portal-hero-actions { margin-top: 13px; }
.portal-carousel .portal-hand { top: 174px; right: 34%; z-index: 1; font-size: 1.35rem; }
.portal-carousel-controls {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 7px;
  width: fit-content; margin-top: 14px;
  color: #665b52;
}
.portal-carousel-controls > button {
  min-width: 40px; min-height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fffcf6e6; border: 1px solid #e9d9c8; border-radius: 50%;
}
.portal-carousel-controls > button:hover { background: #fff; border-color: #bd7d70; }
.portal-carousel-controls svg { width: 17px; height: 17px; }
.portal-carousel-prev svg { transform: rotate(180deg); }
.portal-carousel-count { min-width: 48px; text-align: center; font-size: .9rem; font-variant-numeric: tabular-nums; }
.portal-carousel-count b { color: var(--brand); }
.portal-carousel-dots { display: flex; align-items: center; }
.portal-carousel-dots button { display: grid; place-items: center; width: 25px; height: 40px; padding: 0; }
.portal-carousel-dots span { width: 6px; height: 6px; background: #cdbdaf; border-radius: 8px; transition: width .2s; }
.portal-carousel-dots [aria-current] span { width: 17px; background: var(--brand); }
.portal-carousel-controls .portal-carousel-pause { padding: 0 14px; min-width: 72px; border-radius: 22px; font-size: .85rem; font-weight: 700; }
@media (max-width: 1100px) and (min-width: 769px) {
  .portal-carousel .portal-hero-copy { max-width: 67%; }
  .portal-carousel h1 { font-size: 2.25rem; }
  .portal-carousel .portal-hero-copy > p { max-width: 90%; }
}
@media (max-width: 768px) {
  .portal-carousel .portal-hero-inner { min-height: 0; padding-bottom: 0; }
  .portal-carousel .portal-hero-content {
    position: relative; background: #fff5e8;
    padding: 23px 18px 12px; min-height: 348px;
    display: flex; flex-direction: column;
  }
  .portal-carousel-media {
    inset: 0; width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 48%);
    mask-image: linear-gradient(90deg, transparent, #000 48%);
  }
  .portal-carousel-photo { object-position: 72% 12%; }
  .portal-carousel-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, #fff5e8e8 0%, #fff5e880 44%, transparent 73%), linear-gradient(0deg, #fff5e8 0%, transparent 36%);
  }
  .portal-carousel .portal-hero-copy { max-width: 100%; z-index: 1; }
  .portal-carousel h1 { font-size: clamp(1.7rem, 5.4vw, 2.7rem); min-height: 2.4em; max-width: 100%; }
  .portal-carousel .portal-hero-copy > p { min-height: 4.8em; max-width: 75%; font-size: .95rem; }
  .portal-carousel .portal-hero-actions { margin-top: auto; padding-top: 25px; }
  .portal-carousel-controls { margin-top: 10px; width: 100%; justify-content: center; gap: 6px; }
  .portal-carousel-dots { display: none; }
  .portal-carousel-controls > button { min-width: 36px; min-height: 36px; }
  .portal-carousel-controls .portal-carousel-pause { margin-left: 10px; }
  .portal-carousel .portal-hand { display: none; }
  html.is-large .portal-carousel .portal-hero-content { min-height: 420px; }
  html.is-large .portal-carousel .portal-hero-actions { margin-top: auto; }
}
@media (max-width: 390px) {
  .portal-carousel .portal-hero-content { padding-left: 14px; padding-right: 14px; }
  .portal-carousel h1 { font-size: 1.65rem; }
  .portal-carousel .portal-hero-copy > p { font-size: .9rem; max-width: 78%; }
}
@media (prefers-reduced-motion: reduce) {
  .portal-carousel-photo, .portal-carousel-dots span { transition: none; }
}
.portal-carousel .js-banner-slogan { color: #874827; }
@media (max-width: 768px) {
  .portal-carousel-media { top: 92px; bottom: 42px; left: auto; right: 0; width: 92%; }
  .portal-carousel .portal-hero-copy > p { max-width: 59%; }
  .portal-carousel-media::after { background: linear-gradient(90deg, #fff5e8e8, #fff5e855 35%, transparent 62%), linear-gradient(0deg, #fff5e8, transparent 25%); }
}
@media (max-width: 768px) {
  .portal-carousel-media { top: 76px; }
  .portal-carousel-media::after {
    background: linear-gradient(180deg, #fff5e8, transparent 25%),
      linear-gradient(90deg, #fff5e8e8, #fff5e855 35%, transparent 62%),
      linear-gradient(0deg, #fff5e8, transparent 25%);
  }
}
/* Today's 20 recommendations: 3 cards on desktop, 2 on mobile. */
.portal-recommend .daily-video-track {
  position: relative; display: flex; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 3px;
}
.daily-video-track::-webkit-scrollbar { display: none; }
.portal-recommend .daily-video-track > li {
  display: block; min-width: 0; flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
}
.daily-video-track .portal-video-body > strong { min-height: 2.7em; }
.daily-video-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 8px; color: #74665b; }
.daily-video-controls button { display: grid; place-items: center; min-width: 36px; min-height: 36px; border: 1px solid #eadcd0; border-radius: 20px; background: #fff; font-size: 1.25rem; }
.daily-video-controls .js-daily-pause { padding: 0 13px; font-size: .85rem; font-weight: 700; }
.js-daily-count { min-width: 82px; text-align: center; font-size: .85rem; font-variant-numeric: tabular-nums; }
@media(max-width: 768px) {
  .portal-recommend .daily-video-track { gap: 12px; }
  .portal-recommend .daily-video-track > li { display: block; flex-basis: calc((100% - 12px) / 2); }
}

/* Mobile topics and footer: complete menus without horizontal scrolling. */
@media (max-width: 768px) {
  .portal-topic-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px; overflow: visible; padding: 2px 0 9px;
  }
  .portal-topic-grid .portal-tile {
    padding: 12px 4px; min-height: 112px; gap: 8px;
  }
  .portal-topic-grid .portal-tile > span:last-of-type { width: 100%; min-width: 0; }
  .portal-topic-grid .portal-tile strong {
    font-size: .85rem; line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere;
  }
  .portal-topics .portal-heading { flex-wrap: wrap; gap: 6px 12px; }
  html.is-large .portal-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .footer-inner { flex-direction: column; gap: 16px; }
  .site-footer .footer-links {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%; max-width: 420px; gap: 0;
  }
  .site-footer .footer-links a {
    display: flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 8px 4px; border: 0;
    font-size: .85rem; text-align: center; word-break: keep-all;
  }
  .site-footer .footer-links a:nth-child(even) { border-left: 1px solid #e5ddd6; }
  .site-footer .copyright { margin: 0; line-height: 1.7; text-align: center; text-wrap: balance; }
}

.hobby-topics { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.hobby-topics a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border: 1px solid #eadcd0; border-radius: 24px; background: #fff; font-weight: 700; }
.hobby-topics a.is-active { color: #fff; background: var(--brand); border-color: var(--brand); }
@media (max-width: 768px) {
  .hobby-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hobby-topics a { padding: 10px 4px; }
}

.today-page--current { padding-top: 24px; }
.today-page--current .portal-recommend { margin-bottom: 28px; }
.today-page--current .portal-recommend .portal-heading > a { display: none; }

/* Readable defaults for older visitors; the font-size toggle remains an extra step. */
html { font-size: 18px; }
html.is-large { font-size: 21px; }
:root { --text-sub: #505866; }
.portal-tile strong,
.portal-topic-grid .portal-tile strong,
.portal-life .portal-tile strong { font-size: 1.1rem; line-height: 1.45; word-break: keep-all; }
.portal-tile small,
.portal-topic-grid .portal-tile small,
.portal-life .portal-tile small { font-size: .9rem; line-height: 1.55; color: var(--text-sub); word-break: keep-all; }
.portal-topic-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.portal-topic-grid .portal-tile { padding: 16px; min-height: 100px; }
.portal-tile > span:not(.portal-emoji) { min-width: 0; }
.portal-heading > p, .portal-section-note { font-size: .95rem; color: var(--text-sub); line-height: 1.6; }
.portal-video-body > strong, .vcard-body h3,
.portal-ranking strong, .portal-more-content .pick-body h3 { font-size: 1.05rem; line-height: 1.5; }
.portal-video-body > small, .portal-video-meta, .vcard-meta,
.portal-ranking small, .portal-more-content .pick-body p { font-size: .9rem; line-height: 1.5; color: var(--text-sub); }
.portal-life-grid { gap: 12px; }
.footer-links a { font-size: .95rem; }
.portal-heading > a { min-height: 44px; font-size: 1rem; }
@media (max-width: 1400px) {
  .portal-fun-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 769px) and (max-width: 1600px) {
  .header-inner { gap: 12px; }
  .gnb { gap: 0; margin-left: 0; }
  .gnb a { padding-left: 8px; padding-right: 8px; font-size: 1rem; }
  .search { width: 210px; min-width: 150px; }
}
@media (max-width: 768px) {
  .portal-fun-grid, .portal-topic-grid, .portal-life-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  }
  .portal-fun .portal-tile, .portal-topic-grid .portal-tile, .portal-life .portal-tile {
    padding: 14px 10px; min-height: 108px; gap: 8px;
    flex-direction: column; align-items: center; justify-content: flex-start; text-align: center;
  }
  .portal-fun .portal-tile strong, .portal-topic-grid .portal-tile strong,
  .portal-life .portal-tile strong { font-size: 1.05rem; line-height: 1.45; }
  .portal-fun .portal-tile small, .portal-life .portal-tile small { font-size: .9rem; line-height: 1.5; }
  .portal-topic-grid .portal-tile small { display: none; }
  .portal-life .portal-tile:nth-child(4) { display: flex; }
  .portal-fun .portal-emoji, .portal-topic-grid .portal-emoji, .portal-life .portal-emoji { font-size: 2rem; }
  .portal-heading h2 { font-size: 1.4rem; }
  .portal-topics .portal-heading > a { font-size: .95rem; }
  .portal-carousel .portal-hero-actions { flex-direction: column; }
  .portal-carousel .portal-hero-actions a { font-size: 1rem; min-height: 50px; }
  .portal-carousel .portal-hero-copy > p { font-size: 1rem; max-width: 70%; }
  .portal-greeting { font-size: .95rem; flex-wrap: wrap; gap: 8px; }
  .portal-carousel .portal-free { display: none; }
  .site-footer .footer-links a { font-size: .95rem; min-height: 48px; }
  .site-footer .copyright { font-size: .8rem; }
  .tabbar a { font-size: .85rem; }
  .logo-text { font-size: 24px; }
  .btn-fontsize { font-size: .9rem; }
}

/* ===== 첫 화면 개편: 한 줄 설명 + 오늘 고른 영상 3개 (2026-09-21) ===== */
.portal-hero-copy h1 { font-size: 2.35rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.22; color: #1b1b1f; }
.portal-hero-copy h1 em { display: block; font-style: normal; color: #c8232c; }
.portal-hero-tagline { margin-top: 8px; font-size: 1.15rem; font-weight: 700; color: #4a4038; }
.portal-hero-tagline b { font-weight: 800; color: #1b1b1f; }
.portal-hero-desc { margin-top: 4px; font-size: 1.02rem; line-height: 1.5; color: #6b6259; }

.portal-hero-picks { position: relative; z-index: 2; margin-top: 16px; padding: 14px 16px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 6px 20px rgba(80, 50, 20, 0.12); }
.portal-hero-picks-title { display: flex; align-items: center; gap: 6px; font-size: 1.02rem; font-weight: 800; color: #1b1b1f; }
.portal-hero-picks-title svg { width: 22px; height: 22px; color: #c8232c; --play-fg: #fff; }
.portal-hero-picks-title span { font-weight: 600; color: #8c7667; }
.portal-hero-picks ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 10px; padding: 0; list-style: none; }
.portal-hero-picks a { display: block; min-width: 0; }
.portal-hero-pick-image { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; background-size: cover; background-position: center; background-color: #e7e2db; }
.portal-hero-pick-image .duration { right: 5px; bottom: 5px; padding: 1px 6px; font-size: 0.82rem; }
.portal-hero-picks strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 6px; font-size: 1rem; font-weight: 700; line-height: 1.35; color: #1b1b1f; }
.portal-hero-picks small { display: block; margin-top: 2px; font-size: 0.86rem; color: #7b7369; }
.portal-hero-picks-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 0.95rem; font-weight: 700; color: #c8232c; }
.portal-hero-picks-more svg { width: 18px; height: 18px; }

@media (max-width: 768px) {
  .portal-hero-content { min-height: 0; padding: 18px 14px 14px; background-size: auto 150%; background-position: 78% 18%; }
  .portal-hero-copy h1 { font-size: 1.72rem; }
  .portal-hero-tagline { margin-top: 6px; font-size: 0.98rem; }
  .portal-hero-desc { display: none; }
  .portal-hand { display: none; }
  .portal-hero-actions { margin-top: 12px; }
  .portal-hero-picks { margin-top: 12px; padding: 10px 10px 8px; border-radius: 14px; }
  .portal-hero-picks ul { gap: 8px; }
  .portal-hero-picks strong { font-size: 0.86rem; -webkit-line-clamp: 2; }
  .portal-hero-picks small { display: none; }
  .portal-hero-picks-title { font-size: 0.92rem; }
  .portal-hero-picks-title span { display: none; }
}

/* ===== 첫 화면 정리 2차 (2026-09-21): 제목 줄바꿈·순서·모바일 군더더기 ===== */
.portal-hero-copy h1 { font-size: 2.1rem; line-height: 1.25; }
.portal-hero-copy h1 span { display: block; }
.portal-hero-copy h1 em { display: block; margin-top: 2px; }
.portal-hero-picks { margin-top: 14px; }

@media (max-width: 768px) {
  /* 사진은 배경으로만, 글은 한눈에 */
  .portal-hero-content { padding: 16px 13px 12px; background-size: auto 130%; background-position: 88% 12%; }
  .portal-hero-copy h1 { font-size: 1.5rem; line-height: 1.28; }
  .portal-hero-copy h1 span { font-size: 1.32rem; }
  .portal-hero-tagline, .portal-hero-desc, .portal-hand, .portal-carousel-controls { display: none !important; }

  /* 썸네일 카드가 먼저, 버튼은 그 아래 한 줄씩 */
  .portal-hero-picks { margin-top: 10px; padding: 9px 9px 7px; }
  .portal-hero-picks ul { gap: 7px; margin-top: 7px; }
  .portal-hero-picks strong { margin-top: 4px; font-size: 0.82rem; line-height: 1.3; }
  .portal-hero-picks-more { margin-top: 7px; font-size: 0.9rem; }
  .portal-hero-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 10px; }
  .portal-hero-actions .portal-primary { min-height: 52px; font-size: 1.12rem; }
  .portal-hero-actions .portal-secondary { min-height: 46px; font-size: 1rem; background: rgba(255, 255, 255, 0.9); }
}

/* ===== 첫 화면 3차 (2026-09-21): 설명 + 큰 선택 버튼 ===== */
.portal-hero-lede { margin-top: 8px; font-size: 1.12rem; font-weight: 600; line-height: 1.45; color: #4a4038; }
.portal-hero-menu { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.portal-hero-menu a {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px 14px; text-align: center;
  border: 2px solid #f0e2c8; border-radius: 18px; background: rgba(255, 255, 255, 0.96); box-shadow: 0 4px 14px rgba(80, 50, 20, 0.1);
  transition: transform .15s, border-color .15s;
}
.portal-hero-menu a:hover { transform: translateY(-2px); border-color: #c8232c; }
.portal-hero-menu-icon svg { width: 46px; height: 46px; }
.portal-hero-menu strong { font-size: 1.15rem; font-weight: 800; color: #1b1b1f; }
.portal-hero-menu small { font-size: 0.9rem; color: #7b7369; }
.portal-hero-picks { display: none; }

@media (max-width: 768px) {
  .portal-hero-lede { margin-top: 6px; font-size: 0.98rem; }
  .portal-hero-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
  .portal-hero-menu a { padding: 12px 8px 10px; border-radius: 15px; }
  .portal-hero-menu-icon svg { width: 38px; height: 38px; }
  .portal-hero-menu strong { font-size: 1.02rem; }
  .portal-hero-menu small { font-size: 0.8rem; }
  .portal-hero-actions { margin-top: 10px; }
}

/* ===== 첫 화면 4차 (2026-09-21): 모바일 한 화면에 다 들어오게 ===== */
.portal-hero-copy { position: relative; z-index: 2; }
.portal-hero-lede { max-width: 26em; }

@media (max-width: 768px) {
  /* 글이 사진 위로 나가지 않도록 폭을 잡고, 뒤에 흰 그라데이션을 깐다 */
  .portal-hero-content { padding: 14px 13px 12px; }
  .portal-hero-content::before {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(100deg, rgba(255, 252, 246, 0.96) 52%, rgba(255, 252, 246, 0.35) 84%, rgba(255, 252, 246, 0) 100%);
  }
  .portal-greeting { margin-bottom: 6px; }
  .portal-hero-copy { max-width: 100%; }
  .portal-hero-copy h1 { font-size: 1.44rem; line-height: 1.26; }
  .portal-hero-copy h1 span { font-size: 1.26rem; }
  .portal-hero-lede { margin-top: 5px; max-width: 19em; font-size: 0.94rem; line-height: 1.4; }

  /* 선택 버튼: 아이콘 왼쪽 + 제목 오른쪽으로 납작하게 */
  .portal-hero-menu { gap: 8px; margin-top: 10px; }
  .portal-hero-menu a { flex-direction: row; justify-content: flex-start; align-items: center; gap: 9px; padding: 11px 10px; text-align: left; border-radius: 14px; }
  .portal-hero-menu-icon { display: flex; flex: 0 0 auto; }
  .portal-hero-menu-icon svg { width: 30px; height: 30px; }
  .portal-hero-menu strong { font-size: 1rem; line-height: 1.2; }
  .portal-hero-menu small { display: none; }

  /* '보던 영상'은 아래 고정 메뉴(최근 본 영상)에 있으므로 첫 화면에서는 뺀다 */
  .portal-hero-actions { margin-top: 10px; }
  .portal-hero-actions .portal-secondary { display: none; }
  .portal-hero-actions .portal-primary { min-height: 50px; font-size: 1.08rem; }
}


/* ===== 첫 화면 5차 (2026-09-21): 빈 공간 제거 + 글씨·버튼 다시 크게 ===== */
@media (max-width: 768px) {
  /* 카드 높이를 고정해 두어 버튼이 아래로 밀리며 빈 공간이 생기던 것을 없앤다 */
  .portal-carousel .portal-hero-content { min-height: 0; padding: 18px 16px 16px; }
  html.is-large .portal-carousel .portal-hero-content { min-height: 0; }
  .portal-carousel .portal-hero-actions { margin-top: 14px; padding-top: 0; }
  .portal-carousel h1 { min-height: 0; }
  .portal-carousel .portal-hero-copy > p { min-height: 0; }

  /* 어르신 화면이므로 글씨는 키운다 */
  .portal-hero-copy h1 { font-size: 1.62rem; line-height: 1.24; }
  .portal-hero-copy h1 span { display: block; font-size: 1.42rem; }
  .portal-hero-lede { display: block; margin-top: 7px; max-width: 20em; font-size: 1.02rem; line-height: 1.42; }

  .portal-hero-menu { gap: 10px; margin-top: 14px; }
  .portal-hero-menu a { padding: 14px 12px; gap: 11px; border-radius: 16px; }
  .portal-hero-menu-icon svg { width: 36px; height: 36px; }
  .portal-hero-menu strong { font-size: 1.12rem; }

  .portal-hero-actions .portal-primary { min-height: 58px; font-size: 1.2rem; }
}
