/* Requested frame height: 216px × 1.5 on desktop; same width on mobile. */
@media (min-width: 701px) {
  .category-row { grid-template-columns: 52px minmax(0, 1fr); }
  .category-row .category-button,
  .category-row .cover {
    height: 324px;
    min-height: 324px;
    aspect-ratio: auto;
  }
}

@media (max-width: 700px) {
  .category-row { grid-template-columns: 32px minmax(0, 1fr); }
  /* Covers use the row-content container; tags use the whole row container. */
  .category-row .cover {
    height: calc((100cqw - 21px) / 3.25 * 2.25);
    min-height: calc((100cqw - 21px) / 3.25 * 2.25);
    aspect-ratio: auto;
  }
  .category-row .category-button {
    height: calc((100cqw - 55px) / 3.25 * 2.25);
    min-height: calc((100cqw - 55px) / 3.25 * 2.25);
  }
}

.cover-title-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  max-height: 2.8em;
}

.category-row .category-button{min-height:0}
.pickups>.ranking-scrollbar,.youtube-pickup>.ranking-scrollbar,.instagram-section>.ranking-scrollbar{position:static;display:block;width:100%;height:20px;margin:0 0 8px}
.pickups>.pickup-subtitle,.youtube-pickup>.pickup-subtitle{margin-bottom:6px}
.instagram-section .instagram-profile-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;margin-top:0;scrollbar-width:none}
.instagram-section .instagram-profile-grid::-webkit-scrollbar{display:none}
.instagram-section .instagram-profile-card{flex:0 0 min(360px,90%);width:min(360px,90%);scroll-snap-align:start}
.pickups>.ranking-scrollbar,.youtube-pickup>.ranking-scrollbar{position:static;display:block;width:100%;height:20px;margin:4px 0 0}
.pickup-track,.youtube-pickup-track{scrollbar-width:none}
.pickup-track::-webkit-scrollbar,.youtube-pickup-track::-webkit-scrollbar{display:none}
.instagram-section .instagram-profile-grid{max-width:740px;margin-inline:auto;gap:20px}
.instagram-section .instagram-profile-card{width:100%;max-width:360px;justify-self:center}
.instagram-section .instagram-profile-frame{height:400px}
.category-row{padding-top:17px}
.category-row .row-content{position:relative}
.ranking-scrollbar{position:absolute;left:0;top:-18px;display:block;width:100%;height:16px;margin:0;padding:0;border:0;background:transparent;appearance:none;-webkit-appearance:none;cursor:ew-resize;touch-action:pan-y}
.ranking-scrollbar::-webkit-slider-runnable-track{height:4px;border-radius:8px;background:#70634c}
.ranking-scrollbar::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:var(--scroll-thumb-width,35%);height:8px;margin-top:-2px;border:1px solid #fff0bb;border-radius:8px;background:linear-gradient(#fff3ca,#d4b15f);box-shadow:0 0 6px #eac66a44}
.ranking-scrollbar::-moz-range-track{height:4px;border-radius:8px;background:#70634c}
.ranking-scrollbar::-moz-range-thumb{width:var(--scroll-thumb-width,35%);height:7px;border:1px solid #fff0bb;border-radius:8px;background:#e4c780}
.ranking-scrollbar:disabled{opacity:.25;cursor:default}
.instagram-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:20px}
.instagram-profile-card{min-width:0;overflow:hidden;border:1px solid #e9e4eb;border-radius:10px;background:#fff}
.instagram-profile-link{display:block;padding:16px;color:#242126;font-size:16px;font-weight:750;line-height:1.5;overflow-wrap:anywhere}
.instagram-profile-link:hover{text-decoration:underline}
.instagram-profile-frame{display:block;width:100%;height:560px;border:0;background:#fff}
@media(max-width:700px){.instagram-profile-grid{grid-template-columns:minmax(0,1fr);gap:20px}.features .banner.instagram-section{padding-inline:0;background:transparent!important;border:0}.instagram-profile-link{font-size:15px}}

/* The category tab follows the entire ranking viewport, including its bottom edge. */
.category-row .category-button {
  box-shadow: 0 0 7px #e4bd6740, inset 0 0 0 1px #fff5cb66;
}
.category-row .category-button::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  left: 0;
  transform: none;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(ellipse 2px 7px at 80% 12%, #fff9d8, transparent 85%),
    radial-gradient(ellipse 7px 2px at 80% 12%, #fff9d8, transparent 85%),
    radial-gradient(ellipse 1px 5px at 18% 86%, #fff, transparent 85%),
    linear-gradient(110deg, transparent 40%, #fff7ce38 50%, transparent 60%);
  opacity: .45;
  animation: category-glimmer 5s ease-in-out infinite;
}
.category-row:nth-child(even) .category-button::after { animation-delay: -2s; }
@keyframes category-glimmer { 0%, 100% { opacity: .2; } 50% { opacity: .7; } }

.page-heading .ranking-catchphrase {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 3px;
  padding: 0 12px;
  text-align: center;
  font-family: 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  font-size: clamp(20px, 5.6vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .06em;
  color: #fff9eb;
  text-shadow: 0 1px 2px #402308, 0 0 9px #ffe7a56b, 0 0 20px #e9aa3d30;
}
.page-heading .ranking-catchphrase span {
  margin: 0;
  color: #ffe4a1;
  white-space: nowrap;
}
.ranking-catchphrase::before,
.ranking-catchphrase::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  background:
    radial-gradient(ellipse 1px 6px, #fff8d7 20%, transparent 85%),
    radial-gradient(ellipse 6px 1px, #fff8d7 20%, transparent 85%);
  filter: drop-shadow(0 0 3px #efc777);
}
.ranking-catchphrase::before { left: -5px; }
.ranking-catchphrase::after { right: -5px; }

@media (prefers-reduced-motion: reduce) {
  .category-row .category-button::after { animation: none; }
}

.page-heading:has(.ranking-catchphrase){padding-bottom:6px}

/* Stretch only the decorative panel. Render the label as undistorted text. */
.category-row .category-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}
.category-name {
  position: relative;
  z-index: 2;
  display: block;
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
  font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .12em;
  color: #242332;
  text-shadow: 0 1px 1px #ffffffa6;
}
@media (max-width: 700px) {
  .category-name { font-size: 16px; }
}

.feature-banner-image{display:block;width:100%;height:auto;object-fit:contain;margin:16px 0;border-radius:6px}

.features .banner.banner-image{padding:0;min-height:0;border:0;box-shadow:none;background:transparent}
.banner-image .feature-banner-image{margin:0;border-radius:0}
.features .fortune-heading{margin:0 0 14px;text-align:center;font-size:clamp(18px,2.2vw,26px);line-height:1.5;font-weight:800;color:#fff2d4;text-shadow:0 0 10px #e6c67955}
.features .youtube-pickup{min-width:0;margin:12px 0 22px}
.youtube-pickup h2{display:flex;align-items:center;gap:12px;margin:0 0 18px;font-family:'Hiragino Mincho ProN','Yu Mincho',serif;font-size:clamp(20px,2.3vw,27px);line-height:1.35;color:#fff0c7}
.youtube-pickup .pickup-super{flex:none;font-size:2.15em;font-weight:900;line-height:1.05;color:#fff8dc;transform:rotate(-8deg);text-shadow:0 0 3px #fff,0 0 12px #ffdf72,0 0 25px #ffbe3866}
.youtube-pickup-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.youtube-pickup-card{display:block;min-width:0}
.youtube-pickup-image{position:relative;aspect-ratio:16/9;overflow:hidden;border:1px solid #d9b565;border-radius:7px;background:#171411}
.youtube-pickup-image img{display:block;width:100%;height:100%;object-fit:cover}
.youtube-pickup-badge{position:absolute;right:8px;bottom:8px;padding:2px 8px;border-radius:4px;background:#c00;color:#fff;font:bold 12px/1.6 Arial,sans-serif}
.features .youtube-pickup-card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:10px 0 0;font-size:16px;line-height:1.6;color:#fff4da}
@media(max-width:700px){.youtube-pickup-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}.youtube-pickup-card{flex:0 0 82%;scroll-snap-align:start}}

/* Match the two pickup sections with a brighter, larger marquee treatment. */
.pickups h2,.youtube-pickup h2{
 position:relative;isolation:isolate;display:flex;align-items:center;gap:15px;
 width:fit-content;max-width:100%;margin:0 0 24px;padding:12px 20px 14px 8px;
 font-size:clamp(28px,3.1vw,40px);font-weight:900;line-height:1.25;
 letter-spacing:.04em;color:#fff5d7;
 text-shadow:0 1px 0 #b67b27,0 0 10px #ffd56a99,0 0 25px #e9a32b44;
 background:radial-gradient(ellipse at 30% 65%,#e9a32b26,transparent 72%);
}
.pickups h2:after,.youtube-pickup h2:after{
 content:'✦';position:absolute;right:0;top:3px;width:auto;height:auto;
 flex:none;background:none;font-size:16px;color:#fffbe9;
 text-shadow:0 0 5px #fff,0 0 14px #ffcd58;
}
.pickups h2 .pickup-super,.youtube-pickup h2 .pickup-super{
 color:#fffbea;-webkit-text-fill-color:#fffbea;
 text-shadow:0 0 3px #fff,0 0 14px #ffe18e,0 0 30px #ffc34d99;
}
.pickup-card,.youtube-pickup-image{
 border-color:#e5bf70;box-shadow:0 0 0 1px #ffe8ac26,0 5px 22px #0006,0 0 16px #d39a3026;
}
@media(min-width:701px){
 .pickups{margin-block:30px 32px}
 .pickup-track{gap:22px}
 .pickup-card{flex-basis:46%;aspect-ratio:3/2}
 .youtube-pickup-track{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;padding:3px 2px 14px;scrollbar-width:thin;scrollbar-color:#a8853b #15100b}
 .youtube-pickup-card{flex:0 0 46%;scroll-snap-align:start}
 .features .youtube-pickup-card h3{font-size:20px}
 .features .banner.banner-image{width:min(100%,600px);justify-self:center}
}
@media(max-width:700px){
 .pickups h2,.youtube-pickup h2{gap:10px;font-size:clamp(20px,5.6vw,26px);letter-spacing:0;padding:8px 14px 10px 2px;margin-bottom:16px}
 .pickups h2:after,.youtube-pickup h2:after{font-size:11px;top:0}
}
.pickups h2,.youtube-pickup h2{margin-bottom:8px}
.pickup-subtitle{margin:0 0 22px;padding-left:8px;font-family:'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;font-size:clamp(17px,2vw,24px);font-weight:800;line-height:1.6;letter-spacing:.04em;color:#fff;text-shadow:0 0 7px #eff5ff70,0 0 20px #c4d5ef35}
@media(max-width:700px){.pickup-subtitle{padding-left:2px;margin-bottom:16px;letter-spacing:.01em}}
.pickups h2::after,.youtube-pickup h2::after,.pickups h2 .pickup-super::after{content:none;display:none}

/* One square card spans approximately two of the previous narrow cards. */
@media(min-width:701px){
 .category-row .ranking-card{flex:0 0 calc((100cqw - 80px) / 3 + 16px);width:calc((100cqw - 80px) / 3 + 16px)}
}
@media(min-width:1024px){
 .category-row .poster-track{gap:16px}
 .category-row .ranking-card{flex:0 0 calc((100cqw - 64px) / 5);width:calc((100cqw - 64px) / 5)}
}
@media(max-width:700px){
 .category-row .ranking-card{flex:0 0 calc((100cqw - 21px) / 3.25 * 2 + 7px);width:calc((100cqw - 21px) / 3.25 * 2 + 7px)}
}
.category-row .cover{width:100%;height:auto;min-height:0;aspect-ratio:1 / 1}
.category-row .category-button{min-height:0}

/* Cap decorative images on desktop; retain the approved mobile sizes. */
@media(min-width:1024px){
 .features .banner.banner-image{width:min(100%,420px);justify-self:center}
}
@media(min-width:701px){
 header:has(.theater-sign)>.logo{width:min(100%,400px)}
 header .theater-sign{display:block;width:auto;height:auto;max-width:100%;max-height:150px;object-fit:contain;margin-inline:auto}
 .page-heading>.gold-banner{width:auto;height:auto;max-width:100%;max-height:120px;margin-inline:auto}
}

/* Stars occupy the title's side space without increasing the header height. */
header[data-site-header],.page-heading[data-site-title]{position:relative;isolation:isolate;background-color:#020305}
header[data-site-header]::before,header[data-site-header]::after,.page-heading[data-site-title]::before,.page-heading[data-site-title]::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background-repeat:repeat}
header[data-site-header]::before,.page-heading[data-site-title]::before{background-image:radial-gradient(circle at 19px 28px,#fff9e6 0 .8px,transparent 1.9px),radial-gradient(circle at 93px 121px,#d4e6ff 0 1px,transparent 2px),radial-gradient(circle at 171px 54px,#fff 0 .6px,transparent 1.5px),radial-gradient(circle at 227px 173px,#ffe5b3 0 .8px,transparent 1.8px),radial-gradient(circle at 61px 192px,#bcd6ff 0 .7px,transparent 1.6px);background-size:263px 219px;animation:title-night-twinkle 6.4s ease-in-out infinite}
header[data-site-header]::after,.page-heading[data-site-title]::after{background-image:radial-gradient(ellipse 1px 5px at 42px 76px,#fffbe9 15%,transparent 90%),radial-gradient(ellipse 5px 1px at 42px 76px,#fffbe9 15%,transparent 90%),radial-gradient(circle at 206px 148px,#e2edff 0 1px,transparent 2.4px);background-size:317px 207px;animation:title-night-twinkle 7.6s ease-in-out -3s infinite}
@keyframes title-night-twinkle{0%,100%{opacity:.28}45%{opacity:.85}75%{opacity:.48}}
.page-heading .ranking-catchphrase,.page-heading .ranking-catchphrase span,.pickups h2>span,.pickups h2 .pickup-super{background-image:linear-gradient(110deg,#fff0c7 0%,#fff7e8 30%,#fff 43%,#fff 48%,#ffe5a4 54%,#fffdf6 65%,#fff0cf 100%);background-size:240% 100%;background-clip:text;-webkit-background-clip:text;color:#fff9e9;-webkit-text-fill-color:transparent;text-shadow:0 0 8px #fff4dc66,0 0 20px #ffe0a633;animation:entame-title-shimmer 4.8s linear infinite}
@keyframes entame-title-shimmer{from{background-position:180% 50%}to{background-position:-80% 50%}}
.features .banner .fortune-subheading{margin:0 0 14px;text-align:center;font-size:clamp(16px,1.9vw,22px);font-weight:750;line-height:1.6;color:#fff3d7;text-shadow:0 0 10px #e8d3a744}
.features .instagram-section>.pickup-subtitle{color:#fff;margin:0 0 10px;padding-left:0}
@media(prefers-reduced-motion:reduce){header[data-site-header]::before,header[data-site-header]::after,.page-heading[data-site-title]::before,.page-heading[data-site-title]::after,.page-heading .ranking-catchphrase,.page-heading .ranking-catchphrase span,.pickups h2>span,.pickups h2 .pickup-super{animation:none;background-position:50% 50%}}

/* More visible starlight and a slow, readable pulse on the requested titles. */
header[data-site-header],.page-heading[data-site-title]{background-image:radial-gradient(ellipse at 10% 45%,#18305755,transparent 34%),radial-gradient(ellipse at 91% 35%,#39284d44,transparent 32%)}
header[data-site-header]::before,.page-heading[data-site-title]::before{background-image:radial-gradient(circle at 19px 28px,#fff 0 1px,transparent 2.2px),radial-gradient(circle at 83px 120px,#d1e6ff 0 1.1px,transparent 2.6px),radial-gradient(circle at 171px 54px,#fff8d8 0 .8px,transparent 2px),radial-gradient(circle at 194px 159px,#ffe1a3 0 .9px,transparent 2.3px),radial-gradient(circle at 61px 96px,#c1dcff 0 .7px,transparent 1.9px);background-size:211px 173px;animation:title-night-twinkle 4.6s ease-in-out infinite}
header[data-site-header]::after,.page-heading[data-site-title]::after{background-size:293px 197px;animation:title-night-twinkle 6.2s ease-in-out -2.8s infinite}
@keyframes title-night-twinkle{0%,100%{opacity:.3}28%{opacity:.7}46%{opacity:1}72%{opacity:.4}86%{opacity:.85}}
.page-heading .ranking-catchphrase,.pickups h2>span,.pickups h2 .pickup-super{animation:entame-title-shimmer 3.6s linear infinite,entame-title-pulse 2.8s ease-in-out infinite}
.page-heading .ranking-catchphrase span{animation:entame-title-shimmer 3.6s linear infinite}
@keyframes entame-title-pulse{0%,100%{opacity:.74;text-shadow:0 0 4px #fff1d666,0 0 10px #ffd57644}45%{opacity:1;text-shadow:0 0 5px #fff,0 0 14px #fff3dccc,0 0 28px #ffd879bb,0 0 42px #f4c15d66}72%{opacity:.86;text-shadow:0 0 7px #fff5dd99,0 0 20px #ffdf9599}}
.features .banner .fortune-subheading{color:#fff;text-shadow:0 0 8px #fff5,0 0 18px #d8e4ff33}
.features .instagram-section>.pickup-subtitle{font-size:clamp(20px,2.1vw,26px);font-weight:800;line-height:1.65;color:#fff;text-shadow:0 0 8px #eff5ff66}
@media(prefers-reduced-motion:reduce){header[data-site-header]::before,header[data-site-header]::after,.page-heading[data-site-title]::before,.page-heading[data-site-title]::after,.page-heading .ranking-catchphrase,.page-heading .ranking-catchphrase span,.pickups h2>span,.pickups h2 .pickup-super{animation:none;opacity:1}}

/* The four requested headings share a quicker shimmer and a readable light pulse. */
.features .banner.instagram-section{background:transparent;border:0;box-shadow:none;min-height:0;padding:0}
.features .instagram-section>h2{
 position:relative;display:flex;align-items:center;gap:15px;width:fit-content;max-width:100%;
 margin:0 0 8px;padding:12px 20px 14px 8px;
 font-family:'Hiragino Mincho ProN','Yu Mincho',serif;
 font-size:clamp(28px,3.1vw,40px);font-weight:900;line-height:1.25;letter-spacing:.04em;
 background:radial-gradient(ellipse at 30% 65%,#e9a32b26,transparent 72%);
}
.features .instagram-section>h2>span{display:block;font-size:inherit;border:0;padding:0}
.features .instagram-section>h2>.pickup-super{flex:none;font-size:2.15em;line-height:1.05;transform:rotate(-8deg)}
.page-heading .ranking-catchphrase,.page-heading .ranking-catchphrase span,
.pickups h2>span,.pickups h2 .pickup-super,
.youtube-pickup h2>span,.youtube-pickup h2 .pickup-super,
.features .instagram-section>h2>span{
 background-image:linear-gradient(110deg,#fff0c7 0%,#fff7e8 30%,#fff 43%,#fff 48%,#ffe5a4 54%,#fffdf6 65%,#fff0cf 100%);
 background-size:240% 100%;background-clip:text;-webkit-background-clip:text;
 color:#fff9e9;-webkit-text-fill-color:transparent;
 animation:entame-title-shimmer 1.8s linear infinite,entame-title-pulse 1.6s ease-in-out infinite;
}
.page-heading .ranking-catchphrase span{animation:entame-title-shimmer 1.8s linear infinite}
.features .instagram-section>.pickup-subtitle{font-size:clamp(20px,2.1vw,26px);line-height:1.6;font-weight:800;color:#fff}
.features .banner .fortune-subheading{color:#fff}
@media(max-width:700px){
 .features .instagram-section>h2{gap:10px;font-size:clamp(20px,5.6vw,26px);letter-spacing:0;padding:8px 14px 10px 2px}
}
@media(prefers-reduced-motion:reduce){
 .page-heading .ranking-catchphrase,.page-heading .ranking-catchphrase span,
 .pickups h2>span,.pickups h2 .pickup-super,
 .youtube-pickup h2>span,.youtube-pickup h2 .pickup-super,
 .features .instagram-section>h2>span{animation:none;opacity:1;background-position:50% 50%}
}

/* User-supplied cat emblem: trailing title emblem, bounded to the 超 size. */
.pickups h2>.section-mascot,.youtube-pickup h2>.section-mascot,
.features .instagram-section>h2>.section-mascot{
 display:block;font-size:inherit;width:clamp(56px,7.5vw,72px);height:clamp(56px,7.5vw,72px);
 max-width:72px;max-height:72px;flex:0 0 auto;
 object-fit:contain;border-radius:50%;
}

/* Keep the complete official artwork inside the existing ranking frame. */
.ranking-card .cover>img.fit-artwork{
 object-fit:contain;object-position:center;transform:none;filter:none;
}
