:root {
  --ink: #090014;
  --paper: #fff8b8;
  --hot-pink: #ff00cc;
  --toxic-green: #3cff00;
  --electric-blue: #00e5ff;
  --danger-red: #ff1a00;
  --sun-yellow: #fff000;
  --deep-purple: #360057;
  --panel-shadow: 8px 8px 0 #000;
  --pixel-border: 4px ridge #efefef;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background-color: #00155c;
  background-image:
    radial-gradient(circle at 10% 20%, #ff00cc 0 2px, transparent 3px),
    radial-gradient(circle at 70% 40%, #fff000 0 2px, transparent 3px),
    radial-gradient(circle at 30% 80%, #00e5ff 0 2px, transparent 3px),
    linear-gradient(135deg, #00155c 0%, #360057 28%, #8b004f 55%, #003c72 80%, #00155c 100%);
  background-size: 48px 48px, 68px 68px, 88px 88px, 100% 100%;
  font-family: "MS PGothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

button, a { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: .7rem 1rem;
  background: #fff;
  color: #000;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  z-index: 1000;
  background-image: repeating-linear-gradient(0deg, transparent 0 2px, #fff 3px, transparent 4px);
  mix-blend-mode: overlay;
}

.site-header { position: relative; z-index: 10; }
.top-warning {
  padding: .45rem .75rem;
  color: #fff;
  text-align: center;
  background: repeating-linear-gradient(135deg, #000 0 12px, #ffcc00 12px 24px);
  text-shadow: 2px 2px #000, -1px -1px #000;
  border-bottom: 4px outset #fff;
  font-weight: 800;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: .35rem 0;
  color: #fff;
  background: #ff0000;
  border-block: 5px double #ffff00;
  font-weight: 900;
  text-shadow: 2px 2px #000;
}
.marquee-track {
  display: inline-block;
  min-width: max-content;
  padding-left: 100%;
  animation: marquee 24s linear infinite;
}

.utility-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem 1rem;
  padding: .45rem;
  background: #c0c0c0;
  border: 4px outset #fff;
}
.tiny-button {
  min-height: 34px;
  padding: .25rem .75rem;
  color: #000;
  background: #c0c0c0;
  border: 3px outset #fff;
  cursor: pointer;
}
.tiny-button:active { border-style: inset; }
.counter-wrap {
  padding: .15rem .55rem;
  color: #00ff4c;
  background: #000;
  border: 3px inset #fff;
  font-family: ui-monospace, "Courier New", monospace;
}
.counter-wrap strong { color: #ffea00; letter-spacing: .12em; }

.page-shell {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 24px));
  margin: 1.2rem auto 3rem;
}

.retro-window {
  background: #c0c0c0;
  border: var(--pixel-border);
  box-shadow: var(--panel-shadow);
}
.window-titlebar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .3rem .55rem;
  color: #fff;
  background: linear-gradient(90deg, #000080, #1084d0);
  font-family: ui-monospace, "Courier New", monospace;
  font-weight: 800;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 1.1rem;
  padding: clamp(1rem, 4vw, 2.2rem);
  background:
    linear-gradient(rgba(255,255,255,.78), rgba(255,255,255,.78)),
    repeating-conic-gradient(#ff00cc 0 10deg, #00e5ff 10deg 20deg, #fff000 20deg 30deg);
}
.hero-copy { min-width: 0; }
.blink-badge {
  display: inline-block;
  margin: 0;
  padding: .25rem .6rem;
  color: #fff;
  background: #ff0000;
  border: 4px double #ffff00;
  font-weight: 900;
  animation: blink .8s steps(2, jump-none) infinite;
}
.rainbow-text {
  margin: .45rem 0 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(3.4rem, 10vw, 7.6rem);
  line-height: .95;
  letter-spacing: -.04em;
  text-align: center;
  background: linear-gradient(90deg, #ff0000, #ff7b00, #ffe600, #00b935, #00bbff, #5c00ff, #ff00c8, #ff0000);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 3px #000;
  filter: drop-shadow(5px 5px 0 #fff) drop-shadow(9px 9px 0 #ff00cc);
  animation: rainbowMove 3s linear infinite;
}
.reading {
  margin: .65rem 0;
  text-align: center;
  font-family: ui-monospace, "Courier New", monospace;
  font-weight: 900;
  letter-spacing: .25em;
}
.catchphrase {
  margin: 1rem 0 .5rem;
  padding: .55rem;
  color: #fff;
  background: #000;
  border: 5px double var(--toxic-green);
  text-align: center;
  font-size: clamp(1.2rem, 3.5vw, 2rem);
  font-weight: 900;
  transform: rotate(-1deg);
}
.intro {
  padding: .8rem;
  background: #fff;
  border: 4px dashed #ff00cc;
  font-weight: 700;
}
.primary-links {
  display: grid;
  gap: .7rem;
  margin-top: 1rem;
}
.mega-button {
  display: grid;
  gap: .15rem;
  min-height: 70px;
  padding: .7rem 1rem;
  color: #fff;
  text-decoration: none;
  border: 6px outset #fff;
  box-shadow: 5px 5px 0 #000;
  transition: transform .12s ease;
}
.mega-button:hover, .mega-button:focus-visible { transform: translate(-3px, -3px) rotate(-.4deg); }
.mega-button:active { border-style: inset; transform: translate(2px, 2px); }
.mega-button.youtube { background: linear-gradient(#ff4e4e, #b00000); }
.mega-button.x { background: linear-gradient(#4c4c4c, #000); }
.mega-button.litlink { background: linear-gradient(#ff70ca, #7337ff); }
.button-label { font-size: clamp(1.1rem, 3vw, 1.55rem); font-weight: 900; text-shadow: 2px 2px #000; }
.button-description { font-size: .85rem; }
.micro-copy { margin: .8rem 0 0; font-size: .78rem; text-align: center; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.sparkle-frame {
  display: grid;
  place-items: end center;
  width: min(100%, 410px);
  height: 100%;
  min-height: 410px;
  overflow: hidden;
  background:
    radial-gradient(circle, #fff 0 2px, transparent 3px) 0 0 / 24px 24px,
    radial-gradient(circle, #fff 0 1px, transparent 2px) 12px 12px / 32px 32px,
    linear-gradient(135deg, #ff00cc, #2d00ff 48%, #00f7ff);
  border: 10px groove #ffe600;
  border-radius: 48% 48% 15% 15%;
  box-shadow: inset 0 0 30px #fff, 0 0 20px #ff00cc, 0 0 45px #00e5ff;
}
.sparkle-frame img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(8px 8px 0 rgba(0,0,0,.45)); }
.new-sticker {
  position: absolute;
  top: 7%;
  right: -2%;
  padding: .5rem .8rem;
  color: #fff;
  background: #ff0000;
  border: 5px double #fff000;
  font-size: 1.8rem;
  font-weight: 900;
  transform: rotate(12deg);
  animation: pulse 1s ease-in-out infinite alternate;
}
.rotate-seal {
  position: absolute;
  left: -2%;
  bottom: 4%;
  display: grid;
  place-items: center;
  width: 100px;
  aspect-ratio: 1;
  color: #ffe600;
  background: #ba0000;
  border: 8px double #ffe600;
  border-radius: 50%;
  font-family: serif;
  font-size: 2.1rem;
  font-weight: 900;
  box-shadow: 4px 4px 0 #000;
  animation: spin 8s linear infinite;
}

.construction-strip {
  margin: 1.4rem 0;
  padding: .45rem;
  color: #000;
  background: repeating-linear-gradient(135deg, #ffdd00 0 18px, #111 18px 36px);
  border: 5px ridge #fff;
  text-align: center;
  font-weight: 900;
  text-shadow: 1px 1px #fff, -1px -1px #fff;
}

.section-block {
  margin: 1.5rem 0;
  padding: clamp(1rem, 3vw, 1.6rem);
  background: var(--paper);
  border: 7px ridge #fff;
  box-shadow: var(--panel-shadow);
}
.section-block h2 {
  margin: 0 0 1rem;
  padding: .45rem .7rem;
  color: #fff;
  background: linear-gradient(90deg, #000080, #ff00cc, #d50000);
  border: 5px double #ffff00;
  text-align: center;
  text-shadow: 3px 3px #000;
  font-size: clamp(1.3rem, 4vw, 2rem);
}
.section-lead { text-align: center; font-weight: 800; }
.hot-section { background: repeating-linear-gradient(45deg, #fff3a0 0 12px, #fff8e5 12px 24px); }
.recommend-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 1fr);
  grid-template-rows: repeat(2, minmax(165px, auto));
  gap: 1rem;
}
.recommend-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 165px;
  padding: 1.2rem 1rem 1rem;
  color: #000;
  text-decoration: none;
  border: 7px outset #fff;
  box-shadow: 5px 5px 0 #000;
  transition: transform .15s ease;
}
.recommend-card:hover, .recommend-card:focus-visible { transform: scale(1.035) rotate(.6deg); }
.card-1 { background: linear-gradient(135deg, #ffec00, #ff7900); }
.card-2 { background: linear-gradient(135deg, #ff98e6, #a76bff); }
.card-3 { background: linear-gradient(135deg, #63f6ff, #56ff7d); }
.recommend-badge {
  align-self: flex-start;
  margin-top: -1.8rem;
  padding: .15rem .65rem;
  color: #fff;
  background: #f00;
  border: 3px double #fff;
  font-weight: 900;
  transform: rotate(-5deg);
}
.recommend-title { display: block; margin: 1rem 0 .5rem; font-size: 1.35rem; }
.recommend-text { flex: 1; }
.recommend-cta { margin-top: 1rem; font-weight: 900; text-align: right; }
.featured-recommendation {
  grid-row: 1 / span 2;
  min-height: 350px;
  border-width: 10px;
  box-shadow: 9px 9px 0 #000, 0 0 0 7px #ff0000, 0 0 25px 12px #fff000;
  animation: featuredShake 1.45s steps(2, jump-none) infinite;
}
.featured-recommendation::before,
.featured-recommendation::after {
  position: absolute;
  z-index: 2;
  color: #fff;
  background: #f00;
  border: 4px double #fff000;
  font-size: clamp(.8rem, 1.8vw, 1.1rem);
  font-weight: 900;
  text-shadow: 2px 2px #000;
}
.featured-recommendation::before {
  content: "★ 初見人気No.1（当社比）★";
  top: 12px;
  right: -20px;
  padding: .25rem .55rem;
  transform: rotate(8deg);
}
.featured-recommendation::after {
  content: "CLICK!!";
  left: 12px;
  bottom: 10px;
  padding: .2rem .45rem;
  animation: blink .55s steps(2, jump-none) infinite;
}
.featured-recommendation .recommend-title {
  margin-top: 1.4rem;
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  line-height: 1.25;
  text-shadow: 2px 2px #fff, 4px 4px #ff00cc;
}
.featured-recommendation .recommend-text { font-size: 1.05rem; font-weight: 800; }
.featured-recommendation .recommend-cta { font-size: 1.2rem; color: #fff; background: #f00; padding: .5rem; border: 4px outset #fff; }

.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.profile-list {
  display: grid;
  grid-template-columns: minmax(7rem, .8fr) 1.7fr;
  margin: 0;
  border: 5px ridge #ddd;
}
.profile-list dt, .profile-list dd { margin: 0; padding: .55rem .7rem; border-bottom: 2px dotted #000; }
.profile-list dt { color: #fff; background: #27005e; font-weight: 900; }
.profile-list dd { background: #fff; font-weight: 700; }
.content-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.content-card { padding: .85rem; background: #fff; border: 4px dashed #ff00cc; box-shadow: 3px 3px 0 #000; }
.content-card:nth-child(even) { transform: rotate(1deg); border-color: #00a63e; }
.content-card:nth-child(odd) { transform: rotate(-1deg); }
.content-card h3 { display: inline; margin-left: .35rem; }
.content-card p { margin-bottom: 0; }
.content-icon { font-size: 1.6rem; }

.links-section { background: linear-gradient(135deg, #ffd6f7, #dffcff); }
.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.link-tile {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 90px;
  padding: .75rem;
  color: #000;
  text-decoration: none;
  border: 6px outset #fff;
  box-shadow: 4px 4px 0 #000;
  transition: transform .12s ease;
}
.link-tile:hover, .link-tile:focus-visible { transform: translateY(-5px) rotate(-1deg); }
.tile-1 { background: #ff5151; }
.tile-2 { color: #fff; background: #111; }
.tile-3 { background: #ff7bd2; }
.tile-4 { background: #6fe7ff; }
.tile-5 { background: #d9ff64; }
.tile-6 { background: #caa2ff; }
.link-icon { font-size: 2rem; font-weight: 900; }
.link-copy { display: grid; }
.link-copy strong { font-size: 1.1rem; }
.link-copy small { font-weight: 700; }

.tag-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.tag-chip {
  display: grid;
  min-width: 180px;
  padding: .55rem .8rem;
  border: 5px outset #fff;
  box-shadow: 3px 3px 0 #000;
  text-align: center;
  transform: rotate(-2deg);
}
.tag-chip:nth-child(even) { transform: rotate(2deg); }
.tag-chip small { font-weight: 700; }
.tag-1 { background: #ff9ee5; }
.tag-2 { background: #7ee8ff; }
.tag-3 { color: #fff; background: #70002d; }
.tag-4 { background: #ffe775; }

.secret-section { color: #00ff5e; background: #000; border-color: #ff00cc; text-align: center; }
.secret-section h2 { background: linear-gradient(90deg, #350049, #ff0000, #350049); }
.secret-copy { font-family: ui-monospace, "Courier New", monospace; font-size: 1.08rem; }
.shoulder { color: #fff000; }
.mystery-button {
  padding: .8rem 1.5rem;
  color: #fff;
  background: #ff0000;
  border: 7px outset #fff;
  box-shadow: 5px 5px 0 #fff000;
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
  animation: pulse 1.3s ease-in-out infinite alternate;
}
.secret-result { min-height: 2rem; color: #fff000; font-weight: 900; }

.guestbook { margin: 1.5rem 0; }
.guestbook ul { margin: 0; padding: 1rem 1rem 1rem 2.2rem; background: #fff; font-family: ui-monospace, "Courier New", monospace; }
.guestbook li { padding: .3rem 0; border-bottom: 1px dotted #888; }

.site-footer {
  position: relative;
  z-index: 3;
  padding: 1.5rem 1rem 2.5rem;
  color: #fff;
  background: #000;
  border-top: 8px ridge #fff;
  text-align: center;
}
.best-viewed { color: #00ff65; font-family: ui-monospace, "Courier New", monospace; font-weight: 900; }
.best-viewed span { display: inline-block; animation: spin 5s linear infinite; }
.footer-note { color: #cfcfcf; font-size: .82rem; }
.construction-gif { width: 180px; margin-top: .5rem; }
.noscript { position: fixed; inset: auto 0 0; z-index: 9999; padding: 1rem; color: #fff; background: #b00000; text-align: center; }

.trail-star {
  position: fixed;
  z-index: 9998;
  pointer-events: none;
  color: #fff000;
  text-shadow: 0 0 4px #ff00cc, 0 0 8px #00e5ff;
  transform: translate(-50%, -50%);
  animation: trail .7s ease-out forwards;
}

:focus-visible { outline: 5px solid #fff000; outline-offset: 4px; }

.calm-mode body {
  background: #20252b;
  background-image: none;
}
.calm-mode .noise, .calm-mode #cursorTrail, .calm-mode .side-banner { display: none; }
.calm-mode .rainbow-text { color: #27005e; -webkit-text-stroke: 0; filter: none; background: none; }
.calm-mode .hero-inner { background: #f7f3e8; }
.calm-mode .top-warning { background: #333; }

.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: .001ms !important;
}

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: .18; } }
@keyframes rainbowMove { to { background-position: 300% 0; } }
@keyframes pulse { from { transform: scale(.96) rotate(-2deg); } to { transform: scale(1.05) rotate(2deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes trail { to { opacity: 0; transform: translate(-50%, -50%) translateY(25px) scale(.2) rotate(160deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  #cursorTrail { display: none; }
}

@media (max-width: 820px) {
  .hero-inner, .two-column { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; order: -1; }
  .sparkle-frame { min-height: 360px; height: 420px; }
  .recommend-grid, .link-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .featured-recommendation { grid-row: auto; min-height: 300px; }
  .content-cards { grid-template-columns: 1fr 1fr; }
  .rainbow-text { font-size: clamp(3.2rem, 17vw, 6rem); }
}

@media (max-width: 520px) {
  .page-shell { width: min(100% - 12px, 1120px); margin-top: .7rem; }
  .hero-inner { padding: .8rem; }
  .hero-visual { min-height: 310px; }
  .sparkle-frame { min-height: 310px; height: 350px; }
  .rotate-seal { width: 76px; font-size: 1.5rem; }
  .new-sticker { right: 0; font-size: 1.2rem; }
  .content-cards { grid-template-columns: 1fr; }
  .profile-list { grid-template-columns: 6rem 1fr; font-size: .9rem; }
  .section-block { padding: .75rem; box-shadow: 4px 4px 0 #000; }
  .window-titlebar { font-size: .8rem; }
}

/* ===== さらにやかましい追加装飾 ===== */
.panic-marquee,
.bottom-marquee {
  overflow: hidden;
  white-space: nowrap;
  color: #000;
  background: repeating-linear-gradient(90deg, #fff000 0 28px, #ff00cc 28px 56px, #00e5ff 56px 84px);
  border-block: 5px ridge #fff;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-shadow: 1px 1px #fff;
}
.panic-marquee-track {
  display: inline-block;
  min-width: max-content;
  padding-left: 100%;
  animation: panicMarquee 12s linear infinite;
}
.bottom-marquee {
  position: relative;
  z-index: 4;
  padding: .35rem 0;
  background: #00ff40;
  color: #f00;
}
.bottom-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: bottomMarquee 16s linear infinite;
}
.bottom-marquee-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
  gap: clamp(1.5rem, 4vw, 4rem);
  min-width: 100vw;
  padding-inline: clamp(1rem, 3vw, 3rem);
}
.bottom-marquee-group > span {
  flex: 0 0 auto;
}

.status-panel {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .4rem .5rem;
  color: #00ff58;
  background: #000;
  border-bottom: 5px double #ff00cc;
  font-family: ui-monospace, "Courier New", monospace;
  font-size: .78rem;
  font-weight: 900;
}
.status-chip {
  padding: .12rem .4rem;
  border: 2px inset #fff;
  animation: statusBlink 1.2s steps(2, jump-none) infinite;
}
.status-chip:nth-child(even) { color: #fff000; animation-delay: .35s; }
.status-chip:nth-child(3n) { color: #00e5ff; animation-delay: .7s; }

.recommend-arrows {
  margin: .4rem auto 1rem;
  color: #f00;
  text-align: center;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(1rem, 3vw, 1.55rem);
  font-weight: 900;
  text-shadow: 2px 2px #fff000;
  animation: arrowsPulse .65s steps(2, jump-none) infinite;
}

.side-banner {
  position: fixed;
  top: 47%;
  z-index: 900;
  padding: .45rem .25rem;
  color: #fff;
  background: #f00;
  border: 5px double #fff000;
  writing-mode: vertical-rl;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-shadow: 2px 2px #000;
  box-shadow: 4px 4px 0 #000;
  animation: sideBounce 1.2s ease-in-out infinite alternate;
  pointer-events: none;
}
.side-banner-left { left: 3px; transform: rotate(2deg); }
.side-banner-right { right: 3px; transform: rotate(-2deg); animation-delay: .45s; }

.mouse-tiger {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9997;
  width: clamp(68px, 5.6vw, 92px);
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(5px 7px 0 rgba(0,0,0,.58));
}
.mouse-tiger img {
  display: block;
  width: 100%;
  height: auto;
  scale: 1 1;
  transform-origin: center;
  transition: transform .12s linear;
  animation: tigerFloat 1.35s ease-in-out infinite alternate;
}
.mouse-tiger-bubble {
  position: absolute;
  right: 60%;
  bottom: 80%;
  min-width: 110px;
  max-width: 180px;
  padding: .35rem .5rem;
  color: #000;
  background: #fff;
  border: 4px solid #000;
  border-radius: 45%;
  font-size: .8rem;
  font-weight: 900;
  text-align: center;
  opacity: 0;
  transform: scale(.6) rotate(-8deg);
  transition: opacity .13s ease, transform .13s ease;
}
.mouse-tiger-bubble::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: -13px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-right: 4px solid #000;
  border-bottom: 4px solid #000;
  transform: rotate(45deg);
}
.mouse-tiger.show-bubble .mouse-tiger-bubble,
.mouse-tiger.mobile-mascot .mouse-tiger-bubble {
  opacity: 1;
  transform: scale(1) rotate(-4deg);
}
.mouse-tiger.is-jumping img { animation: tigerJump .65s cubic-bezier(.2,.8,.2,1); }
.mouse-tiger.mobile-mascot {
  right: -12px;
  bottom: 8px;
  left: auto;
  top: auto;
  width: 72px;
  transform: none !important;
}
.mouse-tiger.mobile-mascot .mouse-tiger-bubble {
  right: 52%;
  bottom: 80%;
  min-width: 105px;
  font-size: .7rem;
}

.click-burst-label,
.click-particle {
  position: fixed;
  z-index: 10001;
  pointer-events: none;
  font-family: Impact, "Arial Black", sans-serif;
  font-weight: 900;
  transform: translate(-50%, -50%);
}
.click-burst-label {
  color: #f00;
  font-size: 2.4rem;
  -webkit-text-stroke: 2px #fff000;
  text-shadow: 4px 4px #000;
  animation: burstLabel .8s ease-out forwards;
}
.click-particle {
  color: #fff000;
  font-size: 1.1rem;
  text-shadow: 2px 2px #ff00cc;
  animation: burstParticle .85s ease-out forwards;
}

.links-section::before,
.hot-section::after {
  content: "NEW!!";
  position: absolute;
  z-index: 3;
  padding: .2rem .45rem;
  color: #fff;
  background: #f00;
  border: 4px double #fff000;
  font-weight: 900;
  text-shadow: 2px 2px #000;
  animation: spinWobble 2.4s linear infinite;
}
.links-section,
.hot-section { position: relative; }
.links-section::before { top: -14px; left: -14px; }
.hot-section::after { top: 42%; right: -24px; content: "必見!!"; }

.calm-mode .panic-marquee,
.calm-mode .bottom-marquee,
.calm-mode .status-panel { background: #333; color: #fff; }
.calm-mode .mouse-tiger { filter: drop-shadow(3px 4px 0 rgba(0,0,0,.45)); }
.calm-mode .mouse-tiger-bubble { display: none; }

.reduce-motion .mouse-tiger {
  right: 10px !important;
  bottom: 10px !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
}
.reduce-motion .mouse-tiger-bubble { opacity: 0 !important; }

@keyframes panicMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bottomMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes statusBlink { 50% { opacity: .38; } }
@keyframes arrowsPulse { 50% { transform: scale(1.08); color: #ff00cc; } }
@keyframes sideBounce { to { margin-top: -18px; filter: hue-rotate(80deg); } }
@keyframes tigerFloat { from { transform: translateY(0) rotate(0deg) scaleX(1); } to { transform: translateY(-5px) rotate(2deg) scaleX(1); } }
@keyframes tigerJump {
  0% { transform: translateY(0) rotate(0) scaleX(1); }
  35% { transform: translateY(-38px) rotate(-14deg) scale(1.08) scaleX(1); }
  70% { transform: translateY(4px) rotate(8deg) scale(.98) scaleX(1); }
  100% { transform: translateY(0) rotate(0) scaleX(1); }
}
@keyframes burstLabel { to { opacity: 0; transform: translate(-50%, -50%) translateY(-70px) scale(1.7) rotate(-12deg); } }
@keyframes burstParticle { to { opacity: 0; transform: translate(-50%, -50%) translate(var(--burst-x), var(--burst-y)) rotate(210deg) scale(.4); } }
@keyframes featuredShake {
  0%, 100% { transform: rotate(-.45deg); }
  50% { transform: rotate(.45deg) scale(1.006); }
}
@keyframes spinWobble { to { transform: rotate(360deg); } }

@media (max-width: 1180px) {
  .side-banner { display: none; }
}

@media (max-width: 820px) {
  .recommend-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .featured-recommendation { grid-row: auto; min-height: 300px; }
  .featured-recommendation::before { right: -5px; }
  .hot-section::after { right: -4px; top: 47%; }
  .status-panel { font-size: .7rem; }
}

@media (max-width: 520px) {
  .mouse-tiger { width: 64px; }
  .panic-marquee, .bottom-marquee { font-size: .82rem; }
  .featured-recommendation { min-height: 260px; box-shadow: 5px 5px 0 #000, 0 0 0 4px #f00; }
  .featured-recommendation::before { position: static; display: inline-block; align-self: flex-end; margin-top: -.45rem; transform: rotate(4deg); }
  .hot-section::after { display: none; }
}

/* ===== 無意味な秘密の入口 ===== */
.secret-knock {
  padding: 0;
  cursor: help;
  appearance: none;
  -webkit-appearance: none;
}
.secret-knock:hover,
.secret-knock:focus-visible {
  color: #fff;
  background: #f00000;
  box-shadow: 4px 4px 0 #000, 0 0 18px 8px #00ff40, 0 0 34px 16px #ff00cc;
}
.secret-knock.is-knocked {
  animation: secretKnock .42s steps(2, jump-none) both !important;
}
.secret-knock.secret-unlocked {
  color: #00ff40;
  border-color: #00ff40;
  animation: secretUnlockedSpin 1.25s linear infinite;
}

.secret-door[hidden],
.secret-unlock-notice[hidden] {
  display: none !important;
}
.secret-door {
  position: fixed;
  left: 10px;
  bottom: 8px;
  z-index: 9996;
  display: grid;
  place-items: center;
  width: 88px;
  height: 126px;
  padding: .35rem;
  color: #fff000;
  background:
    radial-gradient(circle at 72% 52%, #fff000 0 4px, #000 5px 7px, transparent 8px),
    repeating-linear-gradient(90deg, #411400 0 14px, #7b2e00 14px 28px);
  border: 7px ridge #c0c0c0;
  box-shadow: 7px 7px 0 #000, 0 0 0 5px #ff00cc;
  text-decoration: none;
  text-align: center;
  transform: translateY(160%) rotate(-7deg);
  opacity: 0;
  transition: transform .55s cubic-bezier(.2,.9,.2,1.2), opacity .35s ease;
}
.secret-door.is-visible {
  transform: translateY(0) rotate(-3deg);
  opacity: 1;
  animation: secretDoorWobble 1.7s ease-in-out infinite alternate;
}
.secret-door:hover,
.secret-door:focus-visible {
  transform: translateY(-8px) rotate(3deg) scale(1.08);
  filter: hue-rotate(110deg);
}
.secret-door-sign {
  display: block;
  font-size: 2rem;
  line-height: 1;
  text-shadow: 3px 3px #f00;
}
.secret-door-label {
  display: block;
  padding: .15rem;
  color: #fff;
  background: #000;
  border: 2px solid #fff000;
  font-size: .68rem;
  font-weight: 900;
  line-height: 1.25;
}

.secret-unlock-notice {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10020;
  display: grid;
  gap: .3rem;
  width: min(460px, calc(100% - 28px));
  padding: 1rem;
  color: #00ff40;
  background: #000080;
  border: 9px ridge #c0c0c0;
  box-shadow: 12px 12px 0 #000;
  font-family: ui-monospace, "Courier New", monospace;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.35) rotate(12deg);
  transition: opacity .25s ease, transform .35s cubic-bezier(.2,.9,.2,1.25);
}
.secret-unlock-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(-1deg);
}
.secret-unlock-notice strong {
  color: #fff000;
  font-size: 1.3rem;
  animation: blink .7s steps(2, jump-none) infinite;
}

@keyframes secretKnock {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-18deg) scale(1.16); }
  50% { transform: rotate(13deg) scale(.9); }
  75% { transform: rotate(-9deg) scale(1.08); }
}
@keyframes secretUnlockedSpin {
  to { transform: rotate(-360deg); filter: hue-rotate(360deg); }
}
@keyframes secretDoorWobble {
  to { margin-bottom: 8px; filter: saturate(1.8); }
}

.reduce-motion .secret-door.is-visible {
  animation: none;
  transform: translateY(0) rotate(-3deg);
}

@media (max-width: 520px) {
  .secret-door {
    width: 68px;
    height: 98px;
    left: 6px;
    bottom: 6px;
    border-width: 5px;
  }
  .secret-door-sign { font-size: 1.45rem; }
  .secret-door-label { font-size: .56rem; }
}
