:root{
  --ny-cream:#FFF8F0;
  --ny-mustard:#F4B740;
  --ny-pink:#E8798A;
  --ny-brown:#3B322C;
  --ny-soft:#FFFDF9;
  --ny-line:#EEDFD3;
  --ny-green:#62B987;
  --ny-blue:#6DA7E8;
  --ny-purple:#9B7BD3;
  --ny-orange:#E89555;
  --ny-shadow:0 14px 34px rgba(89,63,42,.10);
  --ny-mascot:url("https://nyanco-game.com/wp-content/uploads/2026/09/にゃんこげーむ-スマホで遊ぶ猫.png");

/* Final custom header search — bypass JIN search styling entirely */
.nyanco-head-search{
  display:block!important;
  width:360px!important;
  height:44px!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
.nyanco-search-form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 88px!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  height:44px!important;
  margin:0!important;
  padding:0!important;
  position:static!important;
  background:transparent!important;
}
.nyanco-search-input{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:44px!important;
  margin:0!important;
  padding:0 14px!important;
  border:1px solid #E6D7C8!important;
  border-radius:16px!important;
  background:#FFFDF9!important;
  color:#3B322C!important;
  font-family:"Noto Sans JP",sans-serif!important;
  font-size:13px!important;
  line-height:1!important;
  box-sizing:border-box!important;
  box-shadow:none!important;
  outline:none!important;
  -webkit-appearance:none!important;
  appearance:none!important;
}
.nyanco-search-input::placeholder{color:#A89486!important;}
.nyanco-search-input:focus{
  border-color:#E8798A!important;
  box-shadow:0 0 0 3px rgba(232,121,138,.12)!important;
}
.nyanco-search-input::-webkit-search-decoration,
.nyanco-search-input::-webkit-search-cancel-button,
.nyanco-search-input::-webkit-search-results-button,
.nyanco-search-input::-webkit-search-results-decoration{
  display:none!important;
  -webkit-appearance:none!important;
}
.nyanco-search-button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:88px!important;
  min-width:88px!important;
  height:44px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:16px!important;
  background:#F4B740!important;
  color:#4B3524!important;
  font-family:"Zen Maru Gothic","Noto Sans JP",sans-serif!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1!important;
  cursor:pointer!important;
  box-shadow:none!important;
  transform:none!important;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important;
  -webkit-appearance:none!important;
  appearance:none!important;
}
.nyanco-search-button:before,
.nyanco-search-button:after{
  content:none!important;
  display:none!important;
}
.nyanco-search-button:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 8px 18px rgba(244,183,64,.30)!important;
  filter:brightness(1.03)!important;
}
.nyanco-search-button:active{transform:translateY(0)!important;}
@media(max-width:980px){
  .nyanco-head-search{
    grid-column:1 / -1!important;
    grid-row:2!important;
    width:100%!important;
    height:44px!important;
  }
  .nyanco-search-form{
    grid-template-columns:minmax(0,1fr) 82px!important;
    width:100%!important;
  }
  .nyanco-search-button{
    width:82px!important;
    min-width:82px!important;
  }
}
}
body{
  background:var(--ny-cream)!important;
  color:var(--ny-brown)!important;
  font-family:"Noto Sans JP","Hiragino Sans","Yu Gothic",sans-serif!important;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,.post-list-title,.archive-post-header h1,.entry-title{
  font-family:"Zen Maru Gothic","Noto Sans JP",sans-serif!important;
  font-weight:800!important;
  letter-spacing:-.02em;
}
#main-image{display:none!important;}
#contents{padding-top:34px!important;}
#main-contents,.main-contents,#main-contents-one{background:transparent!important;}

/* header */
#header-box{
  position:sticky!important;
  top:0;
  z-index:9999;
  background:rgba(255,253,249,.97)!important;
  box-shadow:0 7px 24px rgba(82,57,39,.09);
  backdrop-filter:blur(12px);
}
.admin-bar #header-box{top:32px;}
#header-box #header{background:transparent!important;}
#site-info a{
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  color:var(--ny-brown)!important;
  font-family:"Zen Maru Gothic","Noto Sans JP",sans-serif!important;
  font-weight:900!important;
  text-decoration:none!important;
}
#site-info a:before{
  content:"";
  width:44px;
  height:44px;
  flex:0 0 44px;
  border-radius:50%;
  background-image:var(--ny-mascot);
  background-size:205%;
  background-position:50% 36%;
  background-repeat:no-repeat;
  box-shadow:0 4px 12px rgba(105,75,53,.13);
  border:2px solid #fff;
}
#drawernav3 .menu-box a{color:var(--ny-brown)!important;font-weight:700!important;}
#drawernav3 .menu-box a:hover{color:var(--ny-pink)!important;}

/* hero */
.nyanco-hero{
  max-width:1180px;
  margin:28px auto 34px;
  padding:42px 48px;
  border-radius:30px;
  background:linear-gradient(135deg,#FFF4DE 0%,#FFF6EE 52%,#FDE8EC 100%);
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr);
  align-items:center;
  gap:28px;
  border:1px solid #F2E1D1;
  box-shadow:var(--ny-shadow);
  overflow:hidden;
  position:relative;
}
.nyanco-hero:after{
  content:"";
  position:absolute;
  width:180px;height:180px;border-radius:50%;
  background:rgba(244,183,64,.12);
  right:-50px;top:-65px;
}
.nyanco-kicker{
  display:inline-flex;
  align-items:center;
  padding:7px 13px;
  border-radius:999px;
  background:var(--ny-mustard);
  color:#fff;
  font-family:"Zen Maru Gothic",sans-serif;
  font-weight:900;
  font-size:12px;
  letter-spacing:.05em;
  margin-bottom:14px;
}
.nyanco-hero h1{
  margin:0 0 16px!important;
  font-size:34px!important;
  line-height:1.45!important;
  color:var(--ny-brown)!important;
}
.nyanco-hero p{
  margin:0 0 22px!important;
  color:#6B5C52;
  line-height:1.9;
}
.nyanco-hero-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 20px;
  border-radius:14px;
  background:var(--ny-pink);
  color:#fff!important;
  font-weight:800;
  text-decoration:none!important;
  box-shadow:0 8px 20px rgba(232,121,138,.22);
  transition:.2s ease;
}
.nyanco-hero-button:hover{transform:translateY(-2px);box-shadow:0 12px 25px rgba(232,121,138,.28);}
.nyanco-hero-mascot{display:flex;justify-content:center;align-items:center;min-height:220px;position:relative;z-index:1;}
.nyanco-mascot-crop{background-image:var(--ny-mascot);background-repeat:no-repeat;}
.nyanco-mascot-hero{
  width:230px;height:230px;border-radius:38% 38% 42% 42%;
  background-size:155%;
  background-position:50% 42%;
  filter:drop-shadow(0 16px 18px rgba(87,58,42,.14));
}

/* section heading */
.nyanco-section-title{
  display:flex;
  align-items:flex-end;
  gap:12px;
  margin:0 0 24px;
}
.nyanco-section-title span{
  color:var(--ny-pink);
  font-size:11px;
  font-weight:900;
  letter-spacing:.18em;
}
.nyanco-section-title h2{
  margin:0!important;
  font-size:28px!important;
  color:var(--ny-brown)!important;
}

/* cards */
.post-list-mag,.post-list-mag-sp1col{gap:22px!important;}
.post-list-mag .post-list-item,
.post-list-mag-sp1col .post-list-item,
.post-list .post-list-item{
  background:#fff!important;
  border:1px solid var(--ny-line)!important;
  border-radius:20px!important;
  overflow:hidden!important;
  box-shadow:0 5px 18px rgba(89,63,42,.07)!important;
  transition:transform .22s ease,box-shadow .22s ease!important;
}
.post-list-mag .post-list-item:hover,
.post-list-mag-sp1col .post-list-item:hover,
.post-list .post-list-item:hover{
  transform:translateY(-5px);
  box-shadow:var(--ny-shadow)!important;
}
.post-list-inner{height:100%!important;display:flex!important;flex-direction:column!important;position:relative!important;}
.post-list-thumb{
  position:relative!important;
  aspect-ratio:16/9!important;
  overflow:hidden!important;
  background:#F4EADF!important;
}
.post-list-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .3s ease!important;}
.post-list-item:hover .post-list-thumb img{transform:scale(1.035);}
.post-list-meta{display:flex!important;flex-direction:column!important;flex:1!important;padding:18px 18px 20px!important;}
.post-list-title{
  font-size:16px!important;
  line-height:1.62!important;
  color:var(--ny-brown)!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  overflow:hidden!important;
  min-height:calc(1.62em * 3)!important;
}
.post-list-date{margin-top:auto!important;color:#A08D80!important;}
.author-name{color:#A08D80!important;}
.post-list-cat{
  display:inline-flex!important;
  align-items:center;
  width:auto!important;
  border-radius:999px!important;
  padding:6px 10px!important;
  color:#fff!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1!important;
  margin-bottom:8px!important;
  box-shadow:none!important;
}
.category-id-4{background:var(--ny-mustard)!important;}
.category-id-5{background:var(--ny-pink)!important;}
.category-id-1{background:#A99D94!important;}

/* sidebar */
.nyanco-sidebar{background:transparent!important;}
.nyanco-ranking,.nyanco-check-block{
  background:#fff;
  border:1px solid var(--ny-line);
  border-radius:20px;
  padding:22px;
  margin-bottom:24px;
  box-shadow:0 5px 18px rgba(89,63,42,.07);
}
.nyanco-widget-title{border-bottom:1px dashed #EED9CA;padding-bottom:12px;margin-bottom:12px;}
.nyanco-widget-title span{display:block;color:var(--ny-pink);font-size:10px;font-weight:900;letter-spacing:.16em;}
.nyanco-widget-title h2{margin:3px 0 0!important;font-size:19px!important;color:var(--ny-brown)!important;}
.nyanco-rank-item{
  display:grid;
  grid-template-columns:28px 72px 1fr;
  gap:10px;
  align-items:center;
  padding:11px 0;
  border-bottom:1px solid #F4E9DF;
  color:inherit!important;
  text-decoration:none!important;
}
.nyanco-rank-item:last-child{border-bottom:0;}
.nyanco-rank-num{
  width:26px;height:26px;border-radius:50%;
  display:grid;place-items:center;
  background:#B7AAA0;color:#fff;font-size:12px;font-weight:900;
}
.nyanco-rank-item:first-of-type .nyanco-rank-num{background:var(--ny-mustard);color:#4A3725;}
.nyanco-rank-thumb{width:72px;height:52px;border-radius:10px;overflow:hidden;background:#F6EADF;}
.nyanco-rank-thumb img{width:100%;height:100%;object-fit:cover;}
.nyanco-rank-item strong{
  font-size:12px;line-height:1.55;color:var(--ny-brown);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.nyanco-check-block{
  background:#4A372E;
  color:#fff;
  text-align:center;
  padding:24px 20px 22px;
}
.nyanco-mascot-side{
  width:72px;height:72px;margin:0 auto 12px;border-radius:50%;
  background-size:205%;
  background-position:50% 34%;
  border:3px solid rgba(255,255,255,.9);
}
.nyanco-check-block>span{font-size:10px;letter-spacing:.16em;color:#FFD891;font-weight:900;}
.nyanco-check-block h2{font-size:18px!important;color:#fff!important;margin:4px 0 9px!important;}
.nyanco-check-block p{font-size:12px;line-height:1.7;color:#EEDFD5;margin:0 0 14px!important;}
.nyanco-check-block a{
  display:block;padding:10px 14px;border-radius:12px;
  background:var(--ny-pink);color:#fff!important;text-decoration:none!important;font-weight:800;font-size:12px;
}

/* archive */
.archive-post-header{
  background:#fff3df!important;
  border:1px solid var(--ny-line)!important;
  border-radius:20px!important;
  color:var(--ny-brown)!important;
  padding:25px 28px!important;
  margin-bottom:26px!important;
}
.archive-post-header h1{color:var(--ny-brown)!important;}

/* footer */
footer{background:#5B463A!important;color:#F8EDE5!important;margin-top:64px!important;}
.nyanco-footer-directory{
  max-width:1180px;margin:0 auto;padding:44px 24px 30px;
  display:grid;grid-template-columns:1fr 1fr;gap:48px;
}
.nyanco-footer-directory h2{color:#fff!important;font-size:18px!important;margin:0 0 15px!important;}
.nyanco-footer-directory ul{margin:0!important;padding:0!important;list-style:none!important;}
.nyanco-footer-cats{display:flex;flex-wrap:wrap;gap:9px;}
.nyanco-footer-cats li{margin:0!important;}
.nyanco-footer-cats a{
  display:block;padding:7px 11px;border-radius:999px;
  border:1px solid #826959;color:#FFF5EC!important;font-size:12px;
}
.nyanco-footer-archives{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 16px;}
.nyanco-footer-archives a{color:#EBD9CD!important;font-size:12px;}
#footer-widget-area{background:transparent!important;}
#footer-box{background:#49362E!important;border-top:1px solid #775C4D!important;}
#footer-box a,#copyright,#copyright-center{color:#F0DDD0!important;}

/* pager */
.pager-top .pagination{display:flex!important;flex-wrap:nowrap!important;justify-content:center!important;gap:9px!important;}
.pager-top .pagination li{border-radius:10px!important;overflow:hidden!important;}
.pager-top .pagination a,.pager-top .pagination span{border-radius:10px!important;}
.pager-top .pagination .current a{background:var(--ny-pink)!important;color:#fff!important;}

/* mobile */
@media(max-width:780px){
  .admin-bar #header-box{top:0;}
  #header-box #header{min-height:64px!important;padding:8px 14px!important;box-sizing:border-box!important;}
  #site-info a:before{width:38px;height:38px;flex-basis:38px;}
  .headsearch.jin-sp-design{display:none!important;}
  .nyanco-hero{
    margin:16px 12px 24px;
    padding:26px 20px 22px;
    border-radius:24px;
    grid-template-columns:1fr;
    gap:8px;
  }
  .nyanco-hero h1{font-size:24px!important;line-height:1.5!important;}
  .nyanco-hero p{font-size:13px;line-height:1.8;}
  .nyanco-hero-mascot{min-height:155px;order:-1;}
  .nyanco-mascot-hero{width:155px;height:155px;background-size:155%;background-position:50% 42%;}
  #contents{padding-top:20px!important;}
  .nyanco-section-title h2{font-size:23px!important;}
  .post-list-mag,.post-list-mag-sp1col{display:block!important;}
  .post-list-mag .post-list-item,.post-list-mag-sp1col .post-list-item{margin-bottom:18px!important;}
  .post-list-title{font-size:15px!important;min-height:auto!important;-webkit-line-clamp:3!important;}
  .nyanco-footer-directory{grid-template-columns:1fr;gap:28px;padding:36px 18px 24px;}
  .nyanco-footer-archives{grid-template-columns:1fr 1fr;}
}

/* Homepage structure: intentionally different from GameNaviX */
.nyanco-home-contents{
  max-width:1180px!important;
  width:calc(100% - 32px)!important;
  margin:0 auto!important;
  padding:0!important;
  display:block!important;
}
.nyanco-home-main{
  width:100%!important;
  max-width:none!important;
  float:none!important;
  margin:0!important;
}
.nyanco-cover{
  max-width:1180px;
  margin:28px auto 26px;
  padding:34px 40px 32px;
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);
  gap:36px;
  align-items:center;
  border-radius:36px;
  background:
    radial-gradient(circle at 86% 12%,rgba(232,121,138,.16) 0 90px,transparent 92px),
    linear-gradient(120deg,#FFF3D8 0%,#FFF9F2 55%,#FCE8EC 100%);
  border:1px solid #F1DDCA;
  box-shadow:0 18px 40px rgba(91,63,43,.10);
  overflow:hidden;
  position:relative;
}
.nyanco-cover-copy{position:relative;z-index:2;}
.nyanco-cover-eyebrow{
  display:inline-block;
  color:var(--ny-pink);
  font-size:11px;
  font-weight:900;
  letter-spacing:.18em;
  margin-bottom:12px;
}
.nyanco-cover h1{
  margin:0 0 14px!important;
  color:var(--ny-brown)!important;
  font-size:36px!important;
  line-height:1.42!important;
}
.nyanco-cover p{
  margin:0 0 20px!important;
  color:#6F5D51;
  line-height:1.9;
}
.nyanco-cover-cta{
  display:inline-flex;
  align-items:center;
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  background:var(--ny-brown);
  color:#fff!important;
  text-decoration:none!important;
  font-weight:800;
  transition:.2s ease;
}
.nyanco-cover-cta:hover{transform:translateY(-2px);background:#2F2722;}
.nyanco-cover-art{
  min-height:250px;
  position:relative;
  display:grid;
  place-items:center;
}
.nyanco-cover-circle{
  position:absolute;
  width:245px;height:245px;border-radius:50%;
  background:#FFD98C;
  box-shadow:inset 0 0 0 16px rgba(255,255,255,.28);
}
.nyanco-cover-cat{
  width:235px;height:235px;
  background-size:152%;
  background-position:50% 43%;
  position:relative;
  z-index:2;
  filter:drop-shadow(0 14px 16px rgba(80,54,39,.15));
}
.nyanco-sticker{
  position:absolute;
  right:8px;bottom:20px;
  z-index:3;
  display:grid;place-items:center;
  width:66px;height:66px;border-radius:50%;
  background:var(--ny-pink);
  color:#fff;
  font-family:"Zen Maru Gothic",sans-serif;
  font-weight:900;
  transform:rotate(8deg);
  box-shadow:0 8px 18px rgba(232,121,138,.24);
}

.nyanco-pick-shelf{
  max-width:1180px;
  margin:0 auto 42px;
  padding:0 2px;
}
.nyanco-pick-heading{
  display:flex;
  align-items:baseline;
  gap:14px;
  margin:0 0 16px;
}
.nyanco-pick-heading span{
  color:var(--ny-mustard);
  font-size:10px;
  font-weight:900;
  letter-spacing:.16em;
}
.nyanco-pick-heading h2{
  margin:0!important;
  color:var(--ny-brown)!important;
  font-size:21px!important;
}
.nyanco-pick-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.nyanco-pick-card{
  display:grid;
  grid-template-columns:42% 58%;
  min-height:150px;
  background:#fff;
  border:1px solid var(--ny-line);
  border-radius:24px;
  overflow:hidden;
  text-decoration:none!important;
  box-shadow:0 7px 20px rgba(89,63,42,.07);
  transition:.2s ease;
}
.nyanco-pick-card:hover{transform:translateY(-4px);box-shadow:var(--ny-shadow);}
.nyanco-pick-image{min-height:150px;overflow:hidden;background:#F4EADF;}
.nyanco-pick-image img{width:100%;height:100%;object-fit:cover;}
.nyanco-pick-copy{
  padding:18px 18px 16px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.nyanco-pick-copy span{
  color:var(--ny-pink);
  font-size:10px;
  font-weight:900;
}
.nyanco-pick-copy h3{
  margin:7px 0 0!important;
  color:var(--ny-brown)!important;
  font-size:16px!important;
  line-height:1.55!important;
}

.nyanco-latest-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  margin:0 0 20px;
  padding:0 2px 14px;
  border-bottom:2px dashed #EBCFC0;
}
.nyanco-latest-heading span{
  display:block;
  color:var(--ny-pink);
  font-size:10px;
  font-weight:900;
  letter-spacing:.17em;
}
.nyanco-latest-heading h2{
  margin:3px 0 0!important;
  color:var(--ny-brown)!important;
  font-size:27px!important;
}
.nyanco-latest-heading p{
  display:none!important;
}

/* Two-column editorial cards: horizontal, not GameNaviX-style tiles */
.home .post-list-mag,
.home .post-list-mag-sp1col{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:22px!important;
  align-items:stretch!important;
}
.home .post-list-mag .post-list-item,
.home .post-list-mag-sp1col .post-list-item{
  margin:0!important;
  height:100%!important;
  border-radius:26px!important;
  overflow:hidden!important;
  background:#fff!important;
}
.home .post-list-mag .post-list-inner,
.home .post-list-mag-sp1col .post-list-inner{
  display:grid!important;
  grid-template-columns:minmax(0,44%) minmax(0,56%)!important;
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  min-height:205px!important;
  margin:0!important;
  padding:0!important;
}
.home .post-list-mag .post-list-thumb,
.home .post-list-mag-sp1col .post-list-thumb{
  aspect-ratio:auto!important;
  height:100%!important;
  min-height:205px!important;
  border-radius:0!important;
}
.home .post-list-mag .post-list-meta,
.home .post-list-mag-sp1col .post-list-meta{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
  padding:20px 18px 18px!important;
  margin:0!important;
  min-width:0!important;
  float:none!important;
  position:static!important;
  justify-content:flex-start!important;
}
.home .post-list-mag .post-list-cat,
.home .post-list-mag-sp1col .post-list-cat{
  align-self:flex-start!important;
}
.home .post-list-mag .post-list-title,
.home .post-list-mag-sp1col .post-list-title{
  font-size:15px!important;
  line-height:1.6!important;
  min-height:calc(1.6em * 3)!important;
  -webkit-line-clamp:3!important;
}
.home .post-list-mag .pager-top,
.home .post-list-mag-sp1col .pager-top{
  grid-column:1 / -1!important;
}

.nyanco-bottom-note{
  margin:42px 0 0;
  padding:24px 28px;
  border-radius:28px;
  display:grid;
  grid-template-columns:86px 1fr auto;
  gap:20px;
  align-items:center;
  background:#5A4337;
  color:#fff;
}
.nyanco-bottom-cat{
  width:80px;height:80px;border-radius:50%;
  background-size:205%;
  background-position:50% 34%;
  border:3px solid rgba(255,255,255,.85);
}
.nyanco-bottom-note span{
  color:#FFD789;
  font-size:10px;
  font-weight:900;
  letter-spacing:.15em;
}
.nyanco-bottom-note h2{color:#fff!important;margin:3px 0 5px!important;font-size:20px!important;}
.nyanco-bottom-note p{margin:0!important;color:#EADDD4;font-size:12px;}
.nyanco-bottom-note>a{
  display:inline-flex;
  min-height:42px;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  border-radius:999px;
  background:var(--ny-pink);
  color:#fff!important;
  text-decoration:none!important;
  font-weight:800;
  white-space:nowrap;
}

/* Archives also use a two-column editorial grid */
.archive .post-list-mag,
.category .post-list-mag,
.archive .post-list-mag-sp1col,
.category .post-list-mag-sp1col{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:20px!important;
}
.archive .post-list-mag .pager-top,
.category .post-list-mag .pager-top,
.archive .post-list-mag-sp1col .pager-top,
.category .post-list-mag-sp1col .pager-top{
  grid-column:1 / -1!important;
}

@media(max-width:780px){
  .nyanco-home-contents{width:calc(100% - 24px)!important;}
  .nyanco-cover{
    margin:14px 12px 22px;
    padding:22px 18px 20px;
    grid-template-columns:1fr;
    gap:10px;
    border-radius:28px;
  }
  .nyanco-cover-art{order:-1;min-height:160px;}
  .nyanco-cover-circle{width:155px;height:155px;}
  .nyanco-cover-cat{width:150px;height:150px;}
  .nyanco-sticker{width:50px;height:50px;right:18%;bottom:8px;font-size:11px;}
  .nyanco-cover h1{font-size:23px!important;}
  .nyanco-pick-shelf{margin:0 12px 30px;}
  .nyanco-pick-heading{display:block;}
  .nyanco-pick-heading h2{font-size:19px!important;margin-top:3px!important;}
  .nyanco-pick-grid{grid-template-columns:1fr;gap:12px;}
  .nyanco-pick-card{grid-template-columns:38% 62%;min-height:125px;border-radius:20px;}
  .nyanco-pick-image{min-height:125px;}
  .nyanco-pick-copy{padding:14px;}
  .nyanco-latest-heading{display:block;}
  .nyanco-latest-heading p{margin-top:6px!important;}
  .home .post-list-mag,
  .home .post-list-mag-sp1col,
  .archive .post-list-mag,
  .category .post-list-mag,
  .archive .post-list-mag-sp1col,
  .category .post-list-mag-sp1col{
    grid-template-columns:1fr!important;
  }
  .home .post-list-mag .post-list-inner,
  .home .post-list-mag-sp1col .post-list-inner{
    grid-template-columns:40% 60%!important;
    min-height:165px!important;
  }
  .home .post-list-mag .post-list-thumb,
  .home .post-list-mag-sp1col .post-list-thumb{
    min-height:165px!important;
  }
  .home .post-list-mag .post-list-meta,
  .home .post-list-mag-sp1col .post-list-meta{
    padding:14px 13px!important;
  }
  .home .post-list-mag .post-list-title,
  .home .post-list-mag-sp1col .post-list-title{
    font-size:14px!important;
    min-height:auto!important;
  }
  .nyanco-bottom-note{
    grid-template-columns:64px 1fr;
    padding:20px;
  }
  .nyanco-bottom-cat{width:60px;height:60px;}
  .nyanco-bottom-note>a{grid-column:1 / -1;width:100%;}
}



/* Card sizing + integrated footer cleanup */
.home .post-list-mag .post-list-item,
.home .post-list-mag-sp1col .post-list-item,
.archive .post-list-mag .post-list-item,
.category .post-list-mag .post-list-item,
.archive .post-list-mag-sp1col .post-list-item,
.category .post-list-mag-sp1col .post-list-item{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  float:none!important;
  box-sizing:border-box!important;
}
.home .post-list-mag .post-list-link,
.home .post-list-mag-sp1col .post-list-link{
  display:block!important;
  width:100%!important;
  height:100%!important;
}
.home .post-list-mag,
.home .post-list-mag-sp1col{
  width:100%!important;
}
.nyanco-latest-heading{
  justify-content:flex-start!important;
}

.nyanco-footer-directory{
  grid-template-columns:1.05fr 1.15fr .8fr!important;
  gap:42px!important;
  align-items:start!important;
}
.nyanco-footer-links{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
.nyanco-footer-links a{
  color:#FFF5EC!important;
  font-size:13px!important;
  text-decoration:none!important;
}
.nyanco-footer-links a:hover{
  color:#FFD789!important;
}
.nyanco-footer-copy{
  max-width:1180px;
  margin:0 auto;
  padding:18px 24px 24px;
  border-top:1px solid rgba(255,255,255,.12);
  color:#EBD9CD;
  font-size:12px;
  text-align:right;
}
#footer-box{
  display:none!important;
}

@media(max-width:780px){
  .nyanco-footer-directory{
    grid-template-columns:1fr!important;
    gap:26px!important;
  }
  .nyanco-footer-copy{
    text-align:center;
    padding:16px 18px 22px;
  }
}



/* Final card width reset and footer simplification */
.home .post-list-mag .post-list-thumb,
.home .post-list-mag-sp1col .post-list-thumb{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  float:none!important;
  margin:0!important;
}
.home .post-list-mag .post-list-item,
.home .post-list-mag-sp1col .post-list-item{
  justify-self:stretch!important;
  align-self:stretch!important;
}
.home .post-list-mag .post-list-link,
.home .post-list-mag-sp1col .post-list-link{
  box-sizing:border-box!important;
}
#footer-widget-area,
.footersen{
  display:none!important;
}
footer .nyanco-footer-directory{
  padding-bottom:24px!important;
}



/* Header redesign with search */
#header-box.tn_off{display:block!important;}
#header-box #header{
  max-width:1180px!important;
  min-height:76px!important;
  margin:0 auto!important;
  padding:10px 20px!important;
  display:grid!important;
  grid-template-columns:auto 1fr auto!important;
  align-items:center!important;
  gap:22px!important;
  box-sizing:border-box!important;
}
#site-info{
  margin:0!important;
  min-width:max-content!important;
}
#site-info .tn-logo-size,
#site-info .sp-logo-size{
  display:block!important;
  margin:0!important;
}
#drawernav3{
  min-width:0!important;
}
#drawernav3 .menu-box{
  justify-content:flex-start!important;
}
.nyanco-head-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  margin:0!important;
}
.nyanco-contact-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  height:42px!important;
  padding:0 14px!important;
  border:1px solid #E4CDBE!important;
  border-radius:14px!important;
  background:#FFFDF9!important;
  color:var(--ny-brown)!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:800!important;
  white-space:nowrap!important;
  transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease!important;
}
.nyanco-contact-link:hover{
  transform:translateY(-2px)!important;
  background:#FFF3E9!important;
  box-shadow:0 8px 18px rgba(88,61,43,.10)!important;
}
.nyanco-head-search{
  display:block!important;
  width:340px!important;
  height:42px!important;
  margin:0!important;
}
.nyanco-head-search .search-box{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 68px!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  height:42px!important;
  margin:0!important;
  padding:0!important;
}
.nyanco-head-search .search-text{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  margin:0!important;
  padding:0 13px!important;
  border:1px solid #E4CDBE!important;
  border-radius:14px!important;
  background:#FFF!important;
  color:var(--ny-brown)!important;
  box-sizing:border-box!important;
  font-size:13px!important;
  outline:none!important;
}
.nyanco-head-search .search-text:focus{
  border-color:var(--ny-pink)!important;
  box-shadow:0 0 0 3px rgba(232,121,138,.10)!important;
}
.nyanco-head-search #searchsubmit{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:68px!important;
  min-width:68px!important;
  height:42px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:14px!important;
  background:var(--ny-mustard)!important;
  color:#4B3524!important;
  font-family:"Zen Maru Gothic","Noto Sans JP",sans-serif!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
  cursor:pointer!important;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important;
}
.nyanco-head-search #searchsubmit:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 8px 18px rgba(244,183,64,.28)!important;
  filter:brightness(1.03)!important;
}
.nyanco-head-search #searchsubmit:active{
  transform:translateY(0)!important;
}
.headsearch.jin-sp-design{
  display:none!important;
}
#header-box .search-box:before,
#header-box .search-box:after,
#header-box .headsearch:before,
#header-box .headsearch:after,
#header-box #searchsubmit:before,
#header-box #searchsubmit:after{
  content:none!important;
  display:none!important;
}
#header-box input[type="search"]{
  -webkit-appearance:none!important;
  appearance:none!important;
}
#header-box input[type="search"]::-webkit-search-decoration,
#header-box input[type="search"]::-webkit-search-cancel-button,
#header-box input[type="search"]::-webkit-search-results-button,
#header-box input[type="search"]::-webkit-search-results-decoration{
  -webkit-appearance:none!important;
  display:none!important;
}

@media(max-width:980px){
  #header-box #header{
    grid-template-columns:auto 1fr!important;
    grid-template-rows:auto auto!important;
    gap:8px 12px!important;
    min-height:108px!important;
    padding:10px 14px 12px!important;
  }
  #site-info{
    grid-column:1!important;
    grid-row:1!important;
  }
  #drawernav3{
    display:none!important;
  }
  .nyanco-head-actions{
    display:contents!important;
  }
  .nyanco-contact-link{
    grid-column:2!important;
    grid-row:1!important;
    justify-self:end!important;
    min-width:126px!important;
    height:40px!important;
  }
  .nyanco-head-search{
    grid-column:1 / -1!important;
    grid-row:2!important;
    width:100%!important;
    height:42px!important;
  }
  .nyanco-head-search .search-box{
    grid-template-columns:minmax(0,1fr) 72px!important;
  }
}



/* Mascot: show the full transparent PNG everywhere */
#site-info a:before{
  width:52px!important;
  height:52px!important;
  flex:0 0 52px!important;
  border-radius:0!important;
  background-image:var(--ny-mascot)!important;
  background-size:contain!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  box-shadow:none!important;
  border:0!important;
}
.nyanco-mascot-crop,
.nyanco-cover-cat,
.nyanco-mascot-hero,
.nyanco-mascot-side,
.nyanco-bottom-cat{
  background-image:var(--ny-mascot)!important;
  background-size:contain!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  border-radius:0!important;
  border:0!important;
  box-shadow:none!important;
}
.nyanco-cover-cat{
  width:240px!important;
  height:240px!important;
}
.nyanco-mascot-hero{
  width:230px!important;
  height:230px!important;
}
.nyanco-mascot-side{
  width:86px!important;
  height:86px!important;
}
.nyanco-bottom-cat{
  width:82px!important;
  height:82px!important;
}
@media(max-width:780px){
  #site-info a:before{
    width:44px!important;
    height:44px!important;
    flex-basis:44px!important;
  }
  .nyanco-cover-cat{
    width:165px!important;
    height:165px!important;
  }
  .nyanco-mascot-hero{
    width:160px!important;
    height:160px!important;
  }
  .nyanco-mascot-side{
    width:72px!important;
    height:72px!important;
  }
}
