/* Buzzando Blog. Loaded only on /blog/ pages, on top of site.css.
   Depth in three levels: page #120A38, band #190F4A (--bg-2), card #21155A (--surface).
   Corners only 2/4/6 px (--r-sm/--r-md/--r-lg). No extra glow. */
body.blog { background: var(--bg); }
.blog header.top, .blog header.top.solid { background: #0E0830; border-bottom-color: var(--line); }
.blog main { padding-top: calc(var(--hh, 69px) + env(safe-area-inset-top, 0px)); }
.blog .sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* season band */
.season { background: linear-gradient(90deg, #6A35F0, #EC1C87 60%, #1557E0); }
.season a { display: flex; align-items: center; justify-content: center; gap: 8px 14px; padding: 7px 16px; color: #fff; text-decoration: none; font-weight: 700; font-size: .88rem; text-align: center; }
.season em { font-style: normal; font-size: .72rem; font-weight: 800; background: rgba(18, 10, 56, .45); padding: 2px 8px; border-radius: var(--r-sm); }
.season .go { flex: none; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }

/* sticky blog bar: title + tabs + search + RSS */
.bar { position: sticky; top: calc(var(--hh, 69px) - 1px + env(safe-area-inset-top, 0px)); z-index: 5; background: rgba(18, 10, 56, .97); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; gap: 6px 22px; min-height: 56px; }
.bt-t { display: flex; align-items: baseline; gap: 8px; font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; color: #fff; text-decoration: none; white-space: nowrap; margin: 0; line-height: 1.2; }
.bt-t h1 { font-size: inherit; margin: 0; letter-spacing: inherit; }
.bt-t a { color: var(--muted); text-decoration: none; }
.bt-t a:hover { color: #fff; }
.bt-t span { color: rgba(255, 255, 255, .25); font-weight: 600; }
.bar-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; align-self: stretch; flex: 1 1 auto; min-width: 0; }
.bar-tabs a { position: relative; flex: none; display: flex; align-items: center; padding: 0 11px; font-weight: 700; font-size: .9rem; text-decoration: none; color: rgba(255, 255, 255, .62); white-space: nowrap; }
.bar-tabs a:hover, .bar-tabs a.on { color: #fff; }
.bar-tabs a.on::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -1px; height: 3px; background: var(--pink); }
.bar-tools { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }
.bar .search { position: relative; width: 200px; }
.bar .search input { width: 100%; height: 36px; padding: 0 12px 0 34px; font: 500 16px var(--font-ui, Inter, system-ui, sans-serif); color: #fff; background: var(--bg-2); border: 1px solid var(--line2); border-radius: var(--r-md); }
.bar .search input::placeholder { color: var(--muted); }
.bar .search input:focus { outline: 2px solid var(--blue-lt, #7FA6FF); outline-offset: 1px; }
.bar .search svg { position: absolute; left: 11px; top: 9px; width: 17px; height: 17px; color: var(--muted); }
.bar .rss { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line2); color: var(--pink-lt, #FF6EB4); }
.bar .rss svg { width: 17px; height: 17px; }
.bar .rss:hover { background: var(--bg-2); }
@media (max-width: 820px) {
  .bar-in { flex-wrap: wrap; padding-block: 8px 0; }
  .bar-tabs { order: 3; flex-basis: 100%; height: 44px; margin-inline: -11px; }
  .bar .search { width: 150px; }
  .bar-in:not(:has(.bar-tabs a)) { padding-bottom: 8px; }
  .bar-tabs:empty { display: none; }
}
@media (max-width: 640px) {
  .season a { justify-content: flex-start; font-size: .82rem; }
  .season em { display: none; }
  .season .tx { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
  .bar-in { gap: 4px 10px; padding-block: 6px 0; min-height: 48px; }
  .bt-t { font-size: 1.15rem; }
  .bar .search { width: 132px; }
  .bar-tabs { height: 40px; }
}

/* labels */
.kl { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.kick { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 800; color: var(--c, #fff); }
.kick::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c, #fff); }
.kl .dot { color: var(--muted); }
.kl .tp { font-size: .78rem; font-weight: 700; color: var(--text-2); }
.c-updates { --c: #7FA6FF; } .c-guides { --c: #B59BFF; } .c-ideas { --c: #FF6EB4; } .c-news { --c: #fff; }
.type { display: inline-block; font-size: .7rem; font-weight: 800; padding: 2px 7px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px currentColor; margin-left: 6px; }
.t-game { color: #FF6EB4; } .t-improved { color: #7FA6FF; } .t-lang { color: #B59BFF; }
.meta { font-size: .83rem; color: var(--muted); }

/* images */
.img { display: block; overflow: hidden; border-radius: var(--r-md); background: var(--surface); aspect-ratio: 16 / 9; }
.img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
@media (prefers-reduced-motion: reduce) { .img img { transition: none; } }

/* front page: bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 268px 268px; gap: 14px; padding-block: 28px 8px; }
.bt { position: relative; border-radius: var(--r-md); overflow: hidden; isolation: isolate; text-decoration: none; color: #fff; background: #160C44; box-shadow: inset 0 0 0 1px var(--line); }
.bt .img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; border-radius: 0; z-index: -2; }
.bt-in { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 8px; padding: 22px 24px; }
.bt-lead { grid-column: 1 / 3; grid-row: 1 / 3; }
.bt-lead.wide { grid-column: 1 / 4; }
.bt-lead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 8, 48, .96) 0%, rgba(14, 8, 48, .6) 38%, rgba(14, 8, 48, 0) 68%); }
.bt-lead h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; letter-spacing: -.028em; text-wrap: balance; margin: 0; }
.bt-lead.wide h2 { max-width: 20em; }
.bt-lead .dek { color: var(--text-2); font-size: 1.02rem; max-width: 36em; margin: 0; }
.bt-s { background: var(--surface); }
.bt-s .img { height: 58%; }
.bt-s .bt-in { padding: 14px 18px 16px; gap: 6px; }
.bt-s h3 { font-size: 1.02rem; line-height: 1.25; text-wrap: balance; margin: 0; }
.bt:hover h2, .bt:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--pink); }
.bt-up { grid-column: 4; grid-row: 1 / 3; }
.bt-up .bg, .sb-up .bg { position: absolute; inset: -10%; width: 120%; height: 120%; max-width: none; object-fit: cover; filter: blur(22px) saturate(.75) brightness(.38); z-index: -2; }
.bt-up::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 10, 56, .35), rgba(18, 10, 56, .6)); }
.glass { position: absolute; inset: 14px; background: rgba(18, 10, 56, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line2); border-radius: var(--r-sm); padding: 18px 20px; display: flex; flex-direction: column; overflow: hidden; }
.glass .gh { font-size: .98rem; font-weight: 800; margin: 0 0 8px; color: #fff; }
.glass a { display: grid; gap: 3px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.glass a:not(.all) { flex: 1 1 0; align-content: center; min-height: 0; }
.glass a span { font-size: .76rem; color: var(--muted); font-weight: 600; }
.glass a:hover { color: var(--pink-lt, #FF6EB4); }
.glass a.all { margin-top: auto; font-size: .84rem; color: var(--text-2); font-weight: 700; flex: none; }
.glass.about ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; flex: 1 1 auto; }
.glass.about li { flex: 1 1 0; display: grid; gap: 4px; align-content: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: .86rem; color: var(--text-2); line-height: 1.4; }
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .bt-lead, .bt-lead.wide { grid-column: 1 / 3; grid-row: auto; min-height: 420px; }
  .bt-s { min-height: 268px; }
  .bt-up { grid-column: 1 / 3; grid-row: auto; }
  .glass { position: relative; inset: auto; margin: 14px; }
  .glass a:not(.all), .glass.about li { flex: none; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); padding-top: 18px; }
  .bt-lead, .bt-lead.wide, .bt-up { grid-column: auto; }
  .bt-lead, .bt-lead.wide { min-height: 0; display: flex; flex-direction: column; background: var(--surface); }
  .bt-lead .img { position: relative; height: auto; aspect-ratio: 16 / 10; }
  .bt-lead::after { display: none; }
  .bt-lead .bt-in { position: relative; padding: 16px 18px 20px; }
  .bt-lead h2 { font-size: 1.5rem; }
  .bt-in { padding: 18px; }
}

/* sections and cards */
.sec { padding-block: 44px 8px; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 3px solid var(--c, #fff); padding-top: 14px; margin-bottom: 22px; }
.sec-h h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; }
.sec-h a { font-size: .88rem; font-weight: 700; color: var(--text-2); text-decoration: none; white-space: nowrap; }
.sec-h a:hover { color: #fff; }
.band2 { background: var(--bg-2); box-shadow: 0 0 0 100vmax var(--bg-2); clip-path: inset(0 -100vmax); margin-top: 44px; padding-bottom: 48px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.grid3.list { margin-top: 28px; }
a.card2 { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--surface); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 10px 24px -14px rgba(5, 2, 20, .8); transition: box-shadow .2s, background .2s; }
a.card2:hover { background: #271A66; box-shadow: 0 0 0 1px rgba(236, 28, 135, .55), 0 14px 28px -14px rgba(5, 2, 20, .9); }
a.card2 .img { border-radius: 0; }
a.card2 > *:not(.img) { margin-inline: 18px; }
a.card2 .kl { margin-top: 16px; margin-bottom: 8px; }
a.card2 .h3 { font-size: 1.22rem; line-height: 1.2; letter-spacing: -.02em; margin-top: 0; margin-bottom: 8px; text-wrap: balance; }
a.card2 p { color: #B9B3CC; font-size: .96rem; margin-top: 0; margin-bottom: 14px; }
a.card2 .meta { margin-top: auto; margin-bottom: 16px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.card2:hover .img img { transform: scale(1.035); }
.cat-sub { color: var(--muted); margin: 22px 0 0; max-width: 40rem; }
.cat-lead { margin-top: 22px; }
.cat-lead a.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; text-decoration: none; color: inherit; }
.cat-lead .img { aspect-ratio: 16 / 10; }
.cat-lead .cl-in { display: grid; gap: 10px; }
.cat-lead h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.12; letter-spacing: -.028em; margin: 0; text-wrap: balance; }
.cat-lead .dek { color: var(--text-2); margin: 0; }
.cat-lead a.story:hover h2 { text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 4px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 700; color: var(--muted); }
.pager a { color: #fff; text-decoration: none; }
.cta-strip { margin-top: 52px; background: linear-gradient(90deg, rgba(106, 53, 240, .35), rgba(236, 28, 135, .25)); border: 1px solid var(--line2); border-radius: var(--r-md); padding: 26px 28px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.cta-strip .cs-h { font-size: 1.5rem; font-weight: 800; letter-spacing: -.025em; color: #fff; margin: 0; }
.cta-strip p { color: var(--text-2); margin: 4px 0 0; }
.end { height: 72px; }
.empty { padding: 40px 0; color: var(--muted); font-size: 1.05rem; }
#results:not([hidden]) { padding-top: 28px; }
#results .res-h { color: var(--muted); margin: 0 0 18px; }
@media (max-width: 980px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .grid3 { grid-template-columns: minmax(0, 1fr); }
  .cat-lead a.story { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cta-strip { padding: 22px 18px; }
}

/* article */
.progress { position: fixed; left: 0; top: calc(var(--hh, 69px) - 1px + env(safe-area-inset-top, 0px)); height: 3px; width: 0; background: var(--pink); z-index: 31; }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 312px; gap: 56px; align-items: start; padding-top: 28px; }
.art-main { max-width: 760px; min-width: 0; }
.art .crumbs { margin-bottom: 14px; }
.art .crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: .85rem; color: var(--muted); }
.art .crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, .25); }
.art .crumbs a { color: var(--muted); text-decoration: none; }
.art .crumbs a:hover { color: #fff; }
.art .crumbs li[class] a { color: var(--c); font-weight: 700; }
.art .kl-row { margin: 0 0 10px; }
.art h1 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.12; letter-spacing: -.028em; margin: 0 0 14px; text-wrap: balance; }
.art .stand { font-size: 1.08rem; color: var(--text-2); line-height: 1.55; margin: 0; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 20px; padding-block: 12px; border-block: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.byline .av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: none; background: #fff; }
.byline .av img { width: 36px; height: 36px; display: block; }
.byline strong { color: #fff; }
.hero-img { margin: 24px 0 0; }
.hero-img .img { aspect-ratio: 16 / 9; }
.blog figcaption { font-size: .84rem; color: var(--muted); margin-top: 10px; }
.body { padding-top: 26px; }
.body p, .body li { color: var(--text-2); font-size: 1.05rem; line-height: 1.7; }
.body p { margin: 0; }
.body p + p { margin-top: 18px; }
.body h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -.02em; margin: 44px 0 14px; scroll-margin-top: 150px; }
.body h3 { font-size: 1.25rem; line-height: 1.25; margin: 30px 0 10px; scroll-margin-top: 150px; }
.body ul, .body ol { padding-left: 1.25em; display: grid; gap: 10px; margin: 16px 0; }
.body strong { color: #fff; }
.body a { color: #fff; text-decoration-color: var(--pink); text-underline-offset: 3px; }
.body a:hover { color: var(--pink-lt, #FF6EB4); }
.body .pull { margin: 34px 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--pink); font-size: 1.55rem; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; color: #fff; }
.body .fig-in { margin: 34px 0; }
.body .fig-in img { border-radius: var(--r-lg); width: 100%; display: block; }
.box-tip { margin: 28px 0; padding: 18px 20px; border-radius: var(--r-md); background: rgba(127, 166, 255, .09); box-shadow: inset 0 0 0 1px rgba(127, 166, 255, .35); }
.box-tip.know { background: rgba(236, 28, 135, .08); box-shadow: inset 0 0 0 1px rgba(236, 28, 135, .4); }
.box-tip .box-h { font-size: .86rem !important; font-weight: 800; margin: 0 0 4px !important; color: var(--pink-lt, #FF6EB4); }
.box-tip p { font-size: 1rem !important; }
.box-tip p + p { margin-top: 0; }
.printbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 28px 0 0; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface); }
.printbar p { margin: 0; color: var(--text-2); }
.printbar .btn svg { width: 18px; height: 18px; margin-right: 8px; }
.share-end { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; font-size: .92rem; color: var(--text-2); }
.share { display: flex; gap: 8px; }
.share a, .share button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line2); color: var(--text-2); text-decoration: none; cursor: pointer; border: 0; }
.share a:hover, .share button:hover { color: #fff; background: var(--pink); box-shadow: none; }
.share svg { width: 17px; height: 17px; }
.pn { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.pn a { display: grid; gap: 6px; padding: 18px 20px; border-radius: var(--r-md); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: inherit; }
.pn a:hover { box-shadow: inset 0 0 0 1px var(--pink); }
.pn small { color: var(--muted); font-weight: 700; font-size: .8rem; }
.pn .home small { color: var(--pink-lt, #FF6EB4); }
.pn strong { font-size: 1.02rem; line-height: 1.3; }
.pn .nx { text-align: right; }
.pn.one { grid-template-columns: minmax(0, 1fr); }
.pn.one .nx { text-align: left; }
.art-side { position: sticky; top: calc(var(--hh, 69px) + 76px + env(safe-area-inset-top, 0px)); display: grid; gap: 18px; }
.sb { border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); padding: 18px 18px 8px; }
.sb-h { font-size: .98rem; font-weight: 800; color: #fff; margin: 0 0 6px; }
.sb-row { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: #fff; }
.sb-row b { display: block; font-size: .9rem; line-height: 1.3; }
.sb-row small { display: block; margin-top: 4px; font-size: .76rem; color: var(--muted); font-weight: 600; }
.sb-row:hover b { color: var(--pink-lt, #FF6EB4); }
.th { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-sm); overflow: hidden; background: #160C44; }
.th img { width: 100%; height: 100%; object-fit: cover; }
.sb-up { position: relative; isolation: isolate; overflow: hidden; padding: 0; background: #160C44; min-height: 330px; }
.sb-up .glass, .sb-about .glass { position: relative; inset: auto; margin: 12px; }
.sb-about { padding: 0; background: #160C44; }
.sb-about .glass { min-height: 380px; }
.sb-cta { padding: 20px; display: grid; gap: 8px; justify-items: start; background: linear-gradient(135deg, rgba(106, 53, 240, .35), rgba(236, 28, 135, .22)); box-shadow: inset 0 0 0 1px var(--line2); }
.sb-cta .sb-ct { font-size: 1.1rem; font-weight: 800; color: #fff; margin: 0; }
.sb-cta p { color: var(--text-2); font-size: .92rem; margin: 0; }
.sb-cta .btn { margin-top: 4px; padding: 12px 18px; font-size: .92rem; }
.sec.more { padding-top: 56px; }
@media (max-width: 1000px) {
  .art-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .art-main { max-width: none; }
  .art-side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .sb-about .glass { min-height: 0; }
}
@media (max-width: 640px) {
  .art-grid { padding-top: 20px; }
  .body p, .body li { font-size: 1.04rem; }
  .pn { grid-template-columns: minmax(0, 1fr); }
  .pn .nx { text-align: left; }
}

/* print: just the article */
@media print {
  .blog header.top, .blog footer, .bar, .season, .art-side, .share-end, .pn, .sec.more, .cta-strip, .printbar, .progress, #toast { display: none !important; }
  body.blog { background: #fff; color: #000; }
  .blog main { padding-top: 0; }
  .art-grid { display: block; padding: 0; }
  .art h1, .body h2, .body h3, .body strong, .body .pull, .byline strong { color: #000; }
  .art .stand, .body p, .body li, .byline, .meta, .blog figcaption { color: #222; }
  .hero-img { display: none; }
}
