/* Purpose shelves: all nine real game links work without JavaScript. */
html{scroll-behavior:smooth;scrollbar-color:#bbac94 #f6efdf}
body.home-shelves{--paper:#f6efdf;--ink:#44362b;--muted:#75614c;--line:#cdbda5;margin:0;background:var(--paper);color:var(--ink);font-synthesis:none}
.home-shelves *{box-sizing:border-box}
.home-shelves a{color:inherit;text-decoration:none;text-underline-offset:4px}
.home-shelves a:focus-visible{outline:3px solid #625074;outline-offset:3px}
.home-shelves ::selection{background:#e3bd84;color:#36271d}
.home-shelves .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.home-shelves .skip{position:absolute;top:-80px;left:16px;z-index:2;padding:12px;background:#fbf4e6}
.home-shelves .skip:focus{top:12px}
.home-shelves .wrap{width:100%;max-width:1120px;margin:auto;padding:0 24px}
.home-shelves .site-header{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:84px}
.home-shelves .brand{display:inline-flex;align-items:center;gap:6px;min-height:44px;flex-shrink:0;font-size:28px;letter-spacing:-.04em}
.home-shelves .brand-character{display:block;flex:none;width:30px;height:32px;background:url('/home-assets/optimized-20261114/brand-90-957563b05665c00b.webp') no-repeat 0 0/30px 32px}
.home-shelves .header-actions,.home-shelves .language-controls nav{display:flex;align-items:center;gap:4px}
.home-shelves .header-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:6px;font-size:12px;white-space:nowrap}
.home-shelves .language-controls a[aria-current=true]{font-weight:700}
.home-shelves .support-link{gap:4px;font-weight:700}
.home-shelves .home-filters{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 22px;padding:0}
.home-shelves .home-filters a{min-height:44px;display:flex;align-items:center;padding:0 14px;border:1.5px solid #b6a38c;border-radius:24px;background:#fffaf0;color:#453025;font-size:13px;font-weight:600;transition:background-color 120ms ease,border-color 120ms ease}
.home-shelves .home-filters a:hover{background:#f2e5cf;border-color:#453025}
.home-shelves .home-filters a[aria-pressed="true"]{background:#453025;color:#fffaf0;border-color:#453025}
.home-shelves .home-filters a[aria-pressed="true"]:hover{background:#5b4233;border-color:#453025}
.home-shelves .shelf{margin-bottom:33px;scroll-margin-top:20px}
.home-shelves .shelf[hidden]{display:none}
.home-shelves .shelf-heading{display:flex;gap:10px;align-items:baseline;margin:0 0 13px;border-bottom:1px solid var(--line);padding-bottom:9px}
.home-shelves .shelf-heading h2{font-size:28px;line-height:1.4;margin:0}
.home-shelves .shelf-heading p{font-size:12px;margin:0;color:var(--muted);line-height:1.6}
.home-shelves .shelf-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px}
/* Desktop All view: unified 3x3 grid without empty category gaps. */
@media(min-width:601px){
  .home-shelves .home-shelves-list:not([data-filtered="true"]){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 20px}
  .home-shelves .home-shelves-list:not([data-filtered="true"]) .shelf,
  .home-shelves .home-shelves-list:not([data-filtered="true"]) .shelf-track{display:contents}
  .home-shelves .home-shelves-list:not([data-filtered="true"]) .shelf-heading{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
}
.home-shelves .product-card,.home-shelves .tile-copy{min-width:0}
.home-shelves .game-open{display:block}
.home-shelves .tile-art{position:relative;display:block;width:100%;aspect-ratio:1;overflow:hidden;border-radius:12px;background:#efe4ce}
.home-shelves .tile-art img{width:100%;height:100%;object-fit:cover;display:block}
.home-shelves .poster-caption{position:absolute;inset:auto 0 0;display:grid;place-items:center;min-height:18%;padding:4px 6px;border-top:1px solid #d5b990;background:#fff2d9;color:#503520;font-size:14px;font-weight:700;line-height:1.25;text-align:center;overflow-wrap:anywhere}
.home-shelves .tile-art .home-like-count{bottom:max(clamp(28px,20%,44px),20%)}
.home-shelves .tile-copy h3{font-size:15px;line-height:1.45;margin:10px 0 0;font-weight:700;word-break:keep-all;overflow-wrap:anywhere}
.home-shelves .game-open:hover h3{text-decoration:underline}
.home-shelves .game-open:hover .tile-art{filter:brightness(1.025)}
.home-shelves .about{border-top:1px solid var(--line);padding-top:22px;margin:32px 0 16px}
.home-shelves .about h2{margin:0 0 8px;font-size:24px}
.home-shelves .about p{max-width:72ch;font-size:14px;line-height:1.8;word-break:keep-all;margin:0;color:var(--muted)}
.home-shelves .site-nav{display:flex;gap:20px}
.home-shelves .site-nav a{display:inline-flex;align-items:center;min-height:44px;font-size:13px}
.home-shelves .site-nav a:hover{text-decoration:underline}
.home-shelves .site-footer{padding:26px 0 24px;color:var(--muted);font-size:12px;line-height:1.8;text-align:center}
.home-shelves .site-footer p{margin:0}
@media(max-width:600px){
 .home-shelves .wrap{padding:0 16px}
 .home-shelves .site-header{min-height:73px}
 .home-shelves .brand{font-size:20px}
 .home-shelves .header-actions a{font-size:11px}
 .home-shelves .home-filters{gap:6px;margin-bottom:20px}
 .home-shelves .home-filters a{font-size:12px;padding:0 10px}
 .home-shelves .shelf-track{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 15px}
 .home-shelves .shelf-heading{display:block}
 .home-shelves .shelf-heading h2{font-size:25px}
 .home-shelves .shelf-heading p{font-size:11px;margin-top:3px}
 .home-shelves .poster-caption{padding:2px 4px;font-size:13.5px;line-height:1.2}
 .home-shelves .tile-copy h3{font-size:14px;margin-top:9px}
}
@media(max-width:360px){.home-shelves .brand{gap:3px}.home-shelves .header-actions{gap:0}.home-shelves .header-actions a{padding:6px 4px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.home-shelves .site-legal{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:2px 14px;margin-top:6px}
.home-shelves .site-legal a{display:inline-flex;align-items:center;min-height:44px;padding:4px 2px;font-size:11.5px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.home-shelves .site-legal a:hover{color:var(--ink)}
.home-shelves .legal-note{margin-top:2px;font-size:11px;color:#84705b;line-height:1.5;word-break:keep-all}

.home-shelves .home-situations{display:flex;flex-wrap:nowrap;align-items:center;gap:7px;margin:-10px 0 22px;padding:2px 0 6px;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.home-situations-label{flex:0 0 auto;font-family:Pretendard,system-ui,sans-serif;font-size:12.5px;font-weight:700;color:#7a5f45;padding-right:2px;white-space:nowrap}
.home-shelves .home-situations a{flex:0 0 auto;min-height:38px;display:flex;align-items:center;padding:0 13px;border:1px dashed #cbb89d;border-radius:20px;background:#fffaf0;color:#453025;font-family:Pretendard,system-ui,sans-serif;font-size:13.5px;font-weight:600;white-space:nowrap;text-decoration:none}
.home-shelves .home-situations a:hover{background:#f2e5cf;border-style:solid}

.tm-beta-pill {display:inline-block;vertical-align:middle;font:700 10px/1.35 system-ui,sans-serif;letter-spacing:.04em;color:#73391b;background:#ffdfb9;border:1px solid #9d6744;border-radius:4px;padding:1px 4px}
[data-product="together-room"] .game-open {position:relative;overflow:visible}
.tm-card-stamp {position:absolute;top:0;left:5px;z-index:1;transform:translateY(-75%) rotate(-3deg)}

.home-shelves .home-lab-feature {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: center;
  margin-bottom: 22px;
  padding: 12px 16px;
  color: var(--ink);
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
}
.home-shelves .home-shelves-list[data-filtered="true"] > .home-lab-feature {display: none}
@media (min-width: 601px) {
  .home-shelves .home-lab-feature {grid-column: span 2; align-self: center; margin-bottom: 0}
}
.home-lab-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}
.home-lab-thumbnail {display: block; width: 100%; height: auto; border-radius: 9px}
.home-lab-copy {display: grid; gap: 4px; line-height: 1.45; overflow-wrap: anywhere}
.home-lab-copy strong {font-size: 17px}
.home-lab-copy > span {color: var(--muted); font-size: 14px; word-break: keep-all}
.home-lab-arrow {color: var(--muted); font-size: 20px}
.home-lab-feature:hover .home-lab-copy strong,
.home-lab-feature:focus-visible .home-lab-copy strong {text-decoration: underline}
@media (max-width: 600px) {
  .home-shelves .home-lab-feature {grid-template-columns: 80px minmax(0, 1fr) auto; gap: 6px 10px; padding: 10px 12px; margin-bottom: 16px}
  .home-lab-copy strong {font-size: 15px}
  .home-lab-copy > span {font-size: 13px}
}

.home-shelves .home-situations{flex-wrap:wrap;overflow:visible}
.home-shelves .home-situations a{min-height:44px;max-width:100%;white-space:normal;word-break:keep-all;overflow-wrap:break-word}
