/* いいねこれ：ユーザー承認済み6枚の世界観を共通化。
   3x2 grid: top [Teenieping, Sanrio, Chiikawa], bottom [Zakka, Christmas, Osechi].
   No unrelated character assets, affiliate HTML, post content or links are changed.
   The image is decoration; real HTML labels and aria-labels remain accessible. */

:is(.iinekore-home-world-teenieping,.iinekore-room-teenieping,.iinekore-newspaper-teenieping,.iinekore-article-world-teenieping) {--iip-x:0%;--iip-y:0%}
:is(.iinekore-home-world-sanrio,.iinekore-room-sanrio,.iinekore-newspaper-sanrio,.iinekore-article-world-sanrio) {--iip-x:50%;--iip-y:0%}
:is(.iinekore-home-world-chiikawa,.iinekore-room-chiikawa,.iinekore-newspaper-chiikawa,.iinekore-article-world-chiikawa) {--iip-x:100%;--iip-y:0%}
:is(.iinekore-home-world-zakka,.iinekore-room-zakka,.iinekore-room-news-zakka,.iinekore-article-world-zakka) {--iip-x:0%;--iip-y:100%}
:is(.iinekore-home-world-christmas,.iinekore-season-christmas) {--iip-x:50%;--iip-y:100%}
:is(.iinekore-home-world-osechi2027,.iinekore-season-osechi2027) {--iip-x:100%;--iip-y:100%}

/* The home six are the exact accepted composite, including its in-image lettering.
   Do not repeat that title visually: the link's accessible label remains intact. */
.iinekore-home-world-grid {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px}
.iinekore-home-world-card {
    min-height:0!important;gap:9px!important;padding:11px 10px 13px!important;
    display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
    overflow:hidden;line-height:1.4;text-align:center
}
.iinekore-home-world-card::before {
    content:"";display:block;flex:0 0 auto;aspect-ratio:1 / 1;
    width:100%;max-width:300px;min-width:0;border-radius:15px;
    background-image:url("iinekore-portal-images/iinekore-six-tiles-hq.webp");
    background-size:300% 200%;background-repeat:no-repeat;
    background-position:var(--iip-x,0%) var(--iip-y,0%);
    box-shadow:0 4px 14px rgba(41,33,38,.12);
}
.iinekore-home-world-card>.iinekore-home-art,
.iinekore-home-world-card>.iinekore-home-world-title {display:none!important}
.iinekore-home-world-card>.iinekore-home-world-description {
    font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif!important;
    font-size:13px!important;font-weight:730!important;line-height:1.5
}
.iinekore-home-world-card>.iinekore-home-world-action {
    margin-top:auto!important;font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif!important;
    font-weight:900!important;letter-spacing:.015em
}
.iinekore-home-world-chiikawa {
    --world-bg:#eaf6fc;--world-edge:#aecfe0;--world-ink:#3e7595;
}
.iinekore-home-world-card:focus-visible {outline:3px solid #a12a65;outline-offset:3px}

/* A photo-only rendition of the same six visuals prevents tiny, unreadable
   baked-in labels on room / newspaper / article-nav icons. */
.iinekore-room-card::before,
.iinekore-newspaper-entry::before,
.iinekore-paper-header::before,
.iinekore-article-world-link::before,
.iinekore-room-news-zakka::before,
.iinekore-seasonal-entry::before {
    content:"";display:block;box-sizing:border-box;aspect-ratio:1;
    background-image:url("iinekore-portal-images/iinekore-six-photos-hq.webp");
    background-repeat:no-repeat;background-size:300% 200%;
    background-position:var(--iip-x,0%) var(--iip-y,0%);
    border:2px solid rgba(255,255,255,.92);border-radius:17%;
    box-shadow:0 2px 7px rgba(54,40,47,.13);
}
.iinekore-room-card>svg,
.iinekore-newspaper-entry>svg,
.iinekore-paper-header>svg,
.iinekore-article-world-link>svg,
.iinekore-room-news-zakka>svg,
.iinekore-seasonal-entry>.iinekore-seasonal-entry-art {display:none!important}
.iinekore-room-card::before{width:83px;height:83px;flex:0 0 83px}
.iinekore-newspaper-entry::before{width:49px;height:49px;flex:0 0 49px}
.iinekore-paper-header::before{width:123px;height:123px;flex:0 0 123px}
.iinekore-article-world-link::before{width:49px;height:49px;flex:0 0 49px}
.iinekore-room-news-zakka::before{width:42px;height:42px;flex:0 0 42px}
.iinekore-seasonal-entry::before{width:86px;height:86px;flex:0 0 86px}
.iinekore-newspaper-entry,
.iinekore-newspaper-entry>span,
.iinekore-room-label,
.iinekore-paper-header h1,
.iinekore-article-world-link>span,
.iinekore-seasonal-entry-title {
    font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif!important;
    font-weight:900!important;letter-spacing:-.015em
}
.iinekore-newspaper-entry small,
.iinekore-article-world-link small,
.iinekore-seasonal-entry-label {font-weight:750!important;letter-spacing:.01em}
.iinekore-newspaper-chiikawa {background:#eff9fd!important;color:#366d8c!important;border-color:#bfdee9!important}
.iinekore-newspaper-sanrio {background:#f6f3ff!important;color:#6954a3!important;border-color:#e0d7f5!important}
.iinekore-newspaper-teenieping {background:#fff2f9!important;color:#a23674!important;border-color:#edd3e4!important}
.iinekore-room-news-pair .iinekore-room-card{gap:6px!important}
.iinekore-room-news-pair .iinekore-newspaper-entry {gap:7px!important}
.iinekore-room-news-pair .iinekore-newspaper-entry>span {font-size:14px!important;line-height:1.3!important}
.iinekore-seasonal-entry{gap:9px}
.iinekore-paper-header {gap:15px!important}
@media(max-width:700px) {
    .iinekore-home-world-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
    .iinekore-home-world-card{padding:7px 5px 9px!important;gap:6px!important}
    .iinekore-home-world-card::before{max-width:100%;border-radius:10px}
    .iinekore-home-world-card>.iinekore-home-world-description{font-size:11px!important}
    .iinekore-home-world-card>.iinekore-home-world-action{font-size:11px!important;min-height:35px!important}
    .iinekore-room-card::before{width:60px;height:60px;flex:0 0 60px}
    .iinekore-room-news-pair .iinekore-room-card::before{width:60px;height:60px;flex:0 0 60px}
    .iinekore-newspaper-entry::before{width:34px;height:34px;flex:0 0 34px}
    .iinekore-room-news-pair .iinekore-newspaper-entry>span{font-size:12px!important}
    .iinekore-paper-header::before{width:75px;height:75px;flex:0 0 75px}
    .iinekore-article-world-link::before{width:34px;height:34px;flex:0 0 34px}
    .iinekore-room-news-zakka::before{width:31px;height:31px;flex:0 0 31px}
    .iinekore-seasonal-entry::before{width:52px;height:52px;flex:0 0 52px}
}
@media(prefers-reduced-motion:reduce) {
    .iinekore-home-world-card:hover {transform:none!important}
}


/* 2026-11-06 screenshot fix: newspaper room cards use the EXACT top artwork,
 * not tiny cropped photos next to the old SVG symbol.
 * The tile already includes a readable label. Link names remain in aria-labels.
 * High-resolution original source replaces the old 200px/panel 15KB composite. */
.iinekore-paper>.iinekore-article-world-nav--top
  .iinekore-article-world-link>svg.iinekore-paper-symbol,
body.single-post .iinekore-article-world-nav--top
  .iinekore-article-world-link>svg.iinekore-paper-symbol {
    display:none!important;width:0!important;height:0!important;flex-basis:0!important;
}
.iinekore-paper>.iinekore-article-world-nav--top
  .iinekore-article-world-link::before,
body.single-post .iinekore-article-world-nav--top
  .iinekore-article-world-link::before {
    background-image:url("iinekore-portal-images/iinekore-six-tiles-hq.webp");
    display:block!important;aspect-ratio:1/1!important;
    width:min(100%,185px)!important;height:auto!important;
    flex:0 0 auto!important;border-radius:13px!important;
    border:0!important;box-shadow:0 4px 12px rgba(54,40,47,.12)!important;
}
.iinekore-paper>.iinekore-article-world-nav--top
  .iinekore-article-room-name,
body.single-post .iinekore-article-world-nav--top
  .iinekore-article-room-name {display:none!important}
.iinekore-paper>.iinekore-article-world-nav--top
  .iinekore-article-world-link {gap:4px!important;padding:8px!important;}
/* Layout follows the layout viewport, including Android desktop-site mode. */
.iinekore-room-card,.iinekore-newspaper-entry,.iinekore-article-world-link,.iinekore-seasonal-entry {
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:flex-start!important;min-width:0!important;height:auto!important;
 padding:8px!important;gap:8px!important;text-align:center!important;
}
.iinekore-room-card::before,.iinekore-newspaper-entry::before,
.iinekore-article-world-nav--top .iinekore-article-world-link::before,
.iinekore-seasonal-entry::before {
 background-image:url("iinekore-portal-images/iinekore-six-tiles-hq.webp")!important;
 width:100%!important;max-width:300px!important;height:auto!important;
 aspect-ratio:1!important;flex:0 0 auto!important;border:0!important;border-radius:12px!important;
}
.iinekore-room-card>svg,.iinekore-newspaper-entry>svg,
.iinekore-article-world-link>svg,.iinekore-seasonal-entry>svg,
.iinekore-room-card>.iinekore-room-label,
.iinekore-article-world-link>.iinekore-article-room-name {display:none!important}
.iinekore-room-news-pair {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important}
.iinekore-newspaper-entry small {display:block!important;font-size:15px!important;line-height:1.5!important;margin-top:auto!important}
.iinekore-article-world-links {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
@media(max-width:700px) {
 .iinekore-home-world-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .iinekore-article-world-links {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
}

.iinekore-room-news-pair .iinekore-room-card::before,
.iinekore-paper>.iinekore-article-world-nav--top .iinekore-article-world-link::before,
body.single-post .iinekore-article-world-nav--top .iinekore-article-world-link::before {
 width:100%!important;max-width:300px!important;height:auto!important;flex:0 0 auto!important;
}

/* The standalone Zakka parent entry uses the same full tile. */
.iinekore-room-news-zakka {
 display:flex!important;flex-direction:column!important;align-items:center!important;
 padding:8px!important;gap:8px!important;text-align:center!important;
}
.iinekore-room-news-zakka::before {
 background-image:url("iinekore-portal-images/iinekore-six-tiles-hq.webp")!important;
 width:100%!important;max-width:300px!important;height:auto!important;aspect-ratio:1!important;flex:0 0 auto!important;
}
.iinekore-room-news-zakka>svg {display:none!important}


/* 2026-11-06: Room navigation stays visual; newspaper/article destinations
 * are TEXT buttons. Do not repeat the room photo twice per newsroom.
 * Override prior paired-two-column image layout only in parent navigation.
 * Keep the home six, newspaper header, article parent nav and approved ads. */
.iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-grid{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-pair{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 justify-content:flex-start!important;min-width:0!important;gap:7px!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-pair .iinekore-room-card{
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:flex-start!important;width:100%!important;height:auto!important;
 min-height:0!important;padding:8px!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-pair .iinekore-room-card::before{
 content:""!important;display:block!important;width:100%!important;max-width:300px!important;
 height:auto!important;aspect-ratio:1/1!important;
 background-image:url("iinekore-portal-images/iinekore-six-tiles-hq.webp")!important;
 background-size:300% 200%!important;background-position:var(--iip-x,0%) var(--iip-y,0%)!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-pair .iinekore-newspaper-entry{
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;box-sizing:border-box!important;min-height:53px!important;
 height:auto!important;width:100%!important;padding:9px 5px!important;gap:3px!important;
 text-align:center!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-newspaper-entry::before{
 content:none!important;display:none!important;background-image:none!important;
 width:0!important;height:0!important;flex-basis:0!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-newspaper-entry>svg{
 display:none!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-newspaper-entry>span{
 display:block!important;font-size:clamp(12px,1.05vw,15px)!important;
 font-weight:850!important;line-height:1.3!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-newspaper-entry>small{
 display:block!important;font-size:clamp(11px,.95vw,13px)!important;
 font-weight:700!important;line-height:1.3!important;
 margin:0!important;white-space:normal!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-zakka{
 box-sizing:border-box!important;width:calc((100% - 24px)/3)!important;
 max-width:none!important;margin:12px 0 0!important;
 min-height:0!important;padding:8px!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-zakka::before{
 max-width:300px!important;
}
@media(max-width:700px){
 .iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-grid{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
 }
 .iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-pair{gap:6px!important}
 .iinekore-room-nav.iinekore-room-news-nav .iinekore-newspaper-entry>span{
   font-size:12px!important;overflow-wrap:anywhere;
 }
 .iinekore-room-nav.iinekore-room-news-nav .iinekore-newspaper-entry>small{
   font-size:11px!important;
 }
 .iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-zakka{
   width:calc((100% - 8px)/2)!important;margin-top:8px!important;
 }
}


/* 2026-11-06: keep each newspaper TEXT button attached directly beneath
 * its corresponding picture tile. The SIX visual entries remain a 3x2 grid
 * on desktop (including Android desktop-site mode) and 2x3 on mobile.
 * The first three grid items are visual+newspaper PAIRS, not independent
 * picture and detached button elements. All other links stay untouched. */
.iinekore-room-nav.iinekore-room-news-nav {
 display:grid!important;
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:10px!important;
 align-items:start!important;
}
.iinekore-room-nav.iinekore-room-news-nav>h2 {
 grid-column:1 / -1!important;grid-row:1!important;
 margin:0 0 5px!important;
}
/* Flatten only the outer shelves; retain all three picture/button pairs. */
.iinekore-room-nav.iinekore-room-news-nav>.iinekore-room-news-grid,
.iinekore-room-nav.iinekore-room-news-nav>.iinekore-seasonal-under-zakka {
 display:contents!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-pair {
 display:flex!important;
 flex-direction:column!important;
 align-items:stretch!important;
 justify-content:flex-start!important;
 gap:6px!important;
 box-sizing:border-box!important;
 width:100%!important;
 min-width:0!important;
 margin:0!important;
 align-self:start!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-teenieping {
 grid-column:1!important;grid-row:2!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-sanrio {
 grid-column:2!important;grid-row:2!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-chiikawa {
 grid-column:3!important;grid-row:2!important;
}
.iinekore-room-nav.iinekore-room-news-nav>.iinekore-room-news-zakka {
 grid-column:1!important;grid-row:3!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-season-christmas {
 grid-column:2!important;grid-row:3!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-season-osechi2027 {
 grid-column:3!important;grid-row:3!important;
}
/* Old flattened layout gave each child anchor its own grid coordinates;
 * clear those declarations now that each pair is a single grid item. */
.iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-pair>.iinekore-room-card,
.iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-pair>.iinekore-newspaper-entry {
 grid-column:auto!important;
 grid-row:auto!important;
 box-sizing:border-box!important;
 width:100%!important;
 max-width:none!important;
 min-width:0!important;
 margin:0!important;
 align-self:stretch!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-pair>.iinekore-room-card {
 height:auto!important;
 min-height:0!important;
 padding:8px!important;
 gap:6px!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-pair>.iinekore-room-card::before {
 width:100%!important;max-width:300px!important;
 height:auto!important;aspect-ratio:1/1!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-pair>.iinekore-newspaper-entry {
 display:flex!important;
 flex-direction:column!important;
 justify-content:center!important;
 min-height:68px!important;
 height:auto!important;
 padding:11px 6px!important;
 gap:3px!important;
 border-radius:12px!important;
}
/* Desktop: readable newspaper names rather than tiny button captions. */
@media (min-width:701px) {
 .iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-pair>.iinekore-newspaper-entry>span {
  display:block!important;
  font-size:clamp(19px,1.5vw,22px)!important;
  font-weight:850!important;line-height:1.35!important;
  letter-spacing:.01em!important;overflow-wrap:anywhere!important;
 }
 .iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-pair>.iinekore-newspaper-entry>small::after {
  font-size:15px!important;
 }
}
/* Preserve the accessible original label; display a friendlier visual hint. */
.iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-pair>.iinekore-newspaper-entry>small {
 display:block!important;font-size:0!important;line-height:1.35!important;
 margin:0!important;white-space:normal!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-pair>.iinekore-newspaper-entry>small::after {
 content:"（ポチッて読む）";
 display:block!important;font-size:14px!important;
 font-weight:750!important;line-height:1.35!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-zakka,
.iinekore-room-nav.iinekore-room-news-nav .iinekore-seasonal-entry {
 box-sizing:border-box!important;
 width:100%!important;
 max-width:none!important;
 min-width:0!important;
 min-height:0!important;
 margin:0!important;
 align-self:start!important;
 gap:6px!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-seasonal-entry{
 padding:8px!important;
}
.iinekore-room-nav.iinekore-room-news-nav .iinekore-seasonal-entry::before,
.iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-zakka::before {
 width:100%!important;max-width:300px!important;height:auto!important;
 aspect-ratio:1/1!important;
}
@media(max-width:700px) {
 .iinekore-room-nav.iinekore-room-news-nav {
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
 }
 .iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-teenieping {
  grid-column:1!important;grid-row:2!important;
 }
 .iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-sanrio {
  grid-column:2!important;grid-row:2!important;
 }
 .iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-chiikawa {
  grid-column:1!important;grid-row:3!important;
 }
 .iinekore-room-nav.iinekore-room-news-nav>.iinekore-room-news-zakka {
  grid-column:2!important;grid-row:3!important;
 }
 .iinekore-room-nav.iinekore-room-news-nav .iinekore-season-christmas {
  grid-column:1!important;grid-row:4!important;
 }
 .iinekore-room-nav.iinekore-room-news-nav .iinekore-season-osechi2027 {
  grid-column:2!important;grid-row:4!important;
 }
 .iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-pair>.iinekore-newspaper-entry {
  min-height:56px!important;
 }
 .iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-pair>.iinekore-newspaper-entry>span {
  font-size:14px!important;line-height:1.4!important;
  font-weight:850!important;
 }
 .iinekore-room-nav.iinekore-room-news-nav .iinekore-room-news-pair>.iinekore-newspaper-entry>small::after {
  font-size:12px!important;
 }
}
