/* News Desk (x26-newsdesk). Palette: amber #ffb21e, gold #ffd36b, #ffe0a0, hot #ff8f1f, navy #16284f / #05070f, cyan #38e8ff. No purple. */
body.nd-lock { overflow: hidden; }
.nd-bar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 1rem 0 .2rem; }
.nd-bar .mb-btn { min-height: 44px; }
.nd-hint { flex: 1 1 100%; margin: 0; }
@media (min-width: 760px) { .nd-hint { flex: 1 1 auto; } }
.nd-meta { display: inline-flex; flex-wrap: wrap; gap: .4rem .5rem; align-items: center; margin: .15rem 0 .1rem; }
.nd-meta-row { display: flex; margin: .4rem 0 .7rem; }
.nd-by { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: #ffe0a0; }
.nd-by .mb-face { width: 22px; height: 22px; }
.nd-by-nick { font-size: .86rem; }
.nd-rank { display: inline-block; padding: .08rem .5rem; border-radius: 999px; border: 1px solid rgba(56,232,255,.5); background: rgba(56,232,255,.08); color: #38e8ff; font: 800 .64rem/1.5 var(--rd-sans, system-ui); letter-spacing: .1em; text-transform: uppercase; }
.nd-rank.nd-founder { border-color: rgba(255,211,107,.8); background: linear-gradient(100deg, rgba(255,211,107,.22), rgba(255,143,31,.2)); color: #ffd36b; }
.nd-pill { display: inline-block; padding: .08rem .5rem; border-radius: 6px; font: 800 .64rem/1.5 var(--rd-sans, system-ui); letter-spacing: .1em; text-transform: uppercase; border: 1px solid rgba(255,211,107,.4); color: #ffd36b; background: rgba(255,178,30,.1); }
.nd-pin { color: #05070f; background: linear-gradient(100deg, #ffd36b, #ffb21e); border-color: transparent; }
.nd-spoil { color: #ff8f1f; border-color: rgba(255,143,31,.6); background: rgba(255,143,31,.1); }
.nd-vid { color: #38e8ff; border-color: rgba(56,232,255,.5); background: rgba(56,232,255,.08); }
.nd-st-pending { color: #ffd36b; } .nd-st-published { color: #38e8ff; border-color: rgba(56,232,255,.5); background: rgba(56,232,255,.08); }
.nd-st-rejected { color: #ff8f1f; border-color: rgba(255,143,31,.6); background: rgba(255,143,31,.1); } .nd-st-draft { color: #9fb0c8; border-color: rgba(159,176,200,.4); background: rgba(159,176,200,.08); }
.nd-panel { width: min(720px, 100%); }
.nd-wide .nd-panel, .nd-panel.nd-wide { width: min(880px, 100%); }
.nd-ov.nd-wide .nd-panel { width: min(880px, 100%); }
.nd-cover { display: block; width: 100%; max-height: 340px; object-fit: cover; border-radius: 14px; margin: .3rem 0 1rem; border: 1px solid var(--mb-line); }
.nd-title { margin: 0 0 .4rem; font: 800 1.6rem/1.2 var(--rd-head, system-ui); color: #fff; }
.nd-article { color: #eef3fb; line-height: 1.7; font-size: 1rem; overflow-wrap: anywhere; }
.nd-article h3, .nd-article h4, .nd-article h5 { color: #ffd36b; margin: 1.2rem 0 .4rem; line-height: 1.25; }
.nd-article p { margin: 0 0 1rem; } .nd-article ul, .nd-article ol { margin: 0 0 1rem 1.2rem; padding: 0; } .nd-article li { margin: .2rem 0; }
.nd-article blockquote { margin: 0 0 1rem; padding: .5rem 1rem; border-left: 3px solid #ffb21e; background: rgba(255,178,30,.07); color: #ffe0a0; border-radius: 0 10px 10px 0; }
.nd-article a { color: #38e8ff; } .nd-article code { background: rgba(5,7,15,.8); padding: .05rem .35rem; border-radius: 6px; color: #ffe0a0; } .nd-article hr { border: 0; border-top: 1px solid var(--mb-line); margin: 1.2rem 0; }
.nd-sp { background: #16284f; color: transparent; border-radius: 4px; padding: 0 .25em; cursor: pointer; text-shadow: 0 0 8px rgba(255,255,255,.85); user-select: none; outline-offset: 2px; }
.nd-sp.on { color: #ffe0a0; background: rgba(255,178,30,.15); text-shadow: none; user-select: auto; }
.nd-yt { position: relative; aspect-ratio: 16/9; margin: 1rem 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--mb-line); background: #05070f; }
.nd-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nd-blur { filter: blur(12px); pointer-events: none; user-select: none; max-height: 220px; overflow: hidden; }
.nd-gate { text-align: center; padding: 1.1rem; margin: .5rem 0; border: 1px solid rgba(255,143,31,.5); border-radius: 14px; background: rgba(255,143,31,.08); }
.nd-gate p { margin: .3rem 0 .8rem; color: #9fb0c8; }
.nd-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 .2rem; } .nd-tags span { color: #ffd36b; font-weight: 700; font-size: .8rem; }
.nd-foot { margin-top: .8rem; }
.nd-two { display: grid; grid-template-columns: 1fr; gap: .8rem; } @media (min-width: 560px) { .nd-two { grid-template-columns: 1fr 1fr; } }
.nd-ta { min-height: 220px; resize: vertical; line-height: 1.5; }
.nd-tabs { display: flex; gap: .4rem; margin: .1rem 0 .4rem; flex-wrap: wrap; }
.nd-tab { min-height: 40px; padding: .4rem .95rem; border-radius: 999px; border: 1px solid rgba(255,211,107,.3); background: rgba(5,7,15,.6); color: #ffe0a0; font: 700 .85rem var(--rd-sans, system-ui); cursor: pointer; }
.nd-tab.on { background: linear-gradient(100deg, #ffd36b, #ffb21e); color: #05070f; border-color: transparent; }
.nd-tb { display: flex; gap: .3rem; flex-wrap: wrap; }
.nd-tbb { min-width: 44px; min-height: 40px; border-radius: 10px; border: 1px solid rgba(255,211,107,.3); background: rgba(5,7,15,.7); color: #ffd36b; font-weight: 800; cursor: pointer; }
.nd-prev { min-height: 160px; padding: .8rem; border: 1px dashed rgba(255,211,107,.35); border-radius: 12px; background: rgba(5,7,15,.5); }
.nd-count { text-align: right; }
.nd-cvprev img { display: block; max-width: 100%; max-height: 200px; border-radius: 12px; margin-top: .4rem; border: 1px solid var(--mb-line); }
.nd-actions { margin-top: 1rem; }
.nd-list { display: grid; gap: .8rem; margin-top: .8rem; }
.nd-row { padding: .9rem 1rem; border-radius: 14px; border: 1px solid var(--mb-line); background: rgba(5,7,15,.55); }
.nd-row-top { display: flex; flex-wrap: wrap; gap: .45rem .6rem; align-items: center; }
.nd-row-t { color: #fff; font-size: 1.02rem; flex: 1 1 200px; }
.nd-row .mb-row { margin-top: .6rem; } .nd-row .mb-btn { min-height: 44px; padding: .5rem 1rem; }
.nd-reason { margin: .5rem 0 0; padding: .5rem .8rem; border-left: 3px solid #ff8f1f; background: rgba(255,143,31,.09); border-radius: 0 10px 10px 0; color: #ffe0a0; }
.nd-thumb { display: block; width: 100%; max-height: 150px; object-fit: cover; border-radius: 10px; margin: .5rem 0; }
.nd-det { margin: .5rem 0; } .nd-det summary { cursor: pointer; color: #38e8ff; font-weight: 700; min-height: 32px; }
.nd-det .nd-article { padding: .6rem .2rem; font-size: .95rem; }
.nd-adm input.mb-in { margin-top: .6rem; }
.news-item .nd-meta, .news-hero-copy .nd-meta { display: flex; }
.nd-by .mb-badge { display: none; }
.nd-by .mb-face-link { margin-right: 0; }

/* hero fallback picture (any size) */
.news-hero-media--fallback { position: relative; background: radial-gradient(120% 90% at 20% 100%, rgba(255,178,30,.55), transparent 60%), radial-gradient(90% 70% at 90% 0%, rgba(56,232,255,.25), transparent 60%), linear-gradient(160deg, #16284f, #05070f); }
.news-hero-media--fallback::after { content: attr(data-src); position: absolute; left: 16px; bottom: 14px; right: 16px; font: 800 1.2rem/1.2 var(--rd-head, system-ui); letter-spacing: .06em; text-transform: uppercase; color: #ffd36b; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
/* ================= Phone news layout (t439u-t443u) =================
   The news area is page-flow, no inner scroll box, no double border. Left gutter 8px, RIGHT gutter 18px so a thumb can
   always scroll the page. Each story card is about 74-85% of the screen height, so the next card peeks in as a scroll cue. Big cover pictures on every card; themed fallback when a story has none. */
@media (max-width: 859px) {
  html #news.news-section { padding: .4rem 0 1.2rem; }
  html #news > .wrap.news-panel { width: calc(100% - 26px); margin-left: 8px; margin-right: 18px; padding: .8rem 10px 1.3rem; max-height: none !important; min-height: 85vh; min-height: 85svh; display: block; }
  html #news .news-desk { max-height: none !important; overflow: visible !important; padding: 0; border: 0; background: none; touch-action: auto; overscroll-behavior: auto; }
  html #news .news-list { display: grid; gap: 16px; }
  html #news .news-item { min-height: 74vh; min-height: 74svh; display: flex; flex-direction: column; gap: .35rem; padding: 0 0 1.05rem; border: 1px solid rgba(255,178,30,.34); border-radius: 14px; background: rgba(8,11,26,.9); overflow: hidden; box-shadow: 0 8px 22px rgba(5,7,16,.5); }
  html #news .news-item > *:not(.news-item-media) { padding-left: 14px; padding-right: 14px; margin: 0; }
  html #news .news-item-media { order: -1; flex: 0 0 auto; width: 100%; aspect-ratio: auto; height: 44vh; height: 44svh; min-height: 250px; margin: 0 0 .55rem; border: 0; border-bottom: 1px solid rgba(255,178,30,.3); position: relative; }
  html #news .news-item-media--fallback, html #news .news-hero-media--fallback { background: radial-gradient(120% 90% at 20% 100%, rgba(255,178,30,.55), transparent 60%), radial-gradient(90% 70% at 90% 0%, rgba(56,232,255,.25), transparent 60%), linear-gradient(160deg, #16284f, #05070f); }
  html #news .news-item-media--fallback::after { content: attr(data-src); position: absolute; left: 14px; bottom: 12px; right: 14px; font: 800 1.15rem/1.2 var(--rd-head, system-ui); letter-spacing: .06em; text-transform: uppercase; color: #ffd36b; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
  html #news .news-item-title { font-size: 1.3rem; line-height: 1.3; font-weight: 700; color: #fff6e8; overflow: visible; display: block; -webkit-line-clamp: unset; }
  html #news .news-item-excerpt { font-size: 1.02rem; line-height: 1.55; color: #dfe6ff; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
  html #news .news-item-meta { font-size: .78rem; }
  html #news .news-item-game { align-self: flex-start; margin-left: 14px; padding: .16rem .45rem; }
  html #news .news-hero { margin: 0 0 16px; gap: 16px; }
  html #news .news-hero-main { border-radius: 14px; border: 1px solid rgba(255,178,30,.4); }
  html #news .news-hero-media { aspect-ratio: auto; height: 46vh; height: 46svh; min-height: 260px; }
  html #news .news-hero-main { min-height: 74vh; min-height: 74svh; align-content: start; }
  html #news .news-hero-title { font-size: 1.55rem; line-height: 1.22; }
  html #news .news-hero-side { gap: 12px; }
  html #news .news-hero-side a { border-radius: 12px; padding: 1rem; }
  html #news .news-hero-side h3 { font-size: 1.15rem; }
  html #news .news-tabs { padding-bottom: .6rem; }
  html #news .news-tab { padding: .7rem .95rem; font-size: .8rem; min-height: 44px; }
  html #news .news-more { display: block; width: 100%; min-height: 54px; margin-top: .4rem; border-radius: 14px; border: 1px solid rgba(255,211,107,.5); background: linear-gradient(100deg, #ffd36b, #ffb21e 60%, #ff8f1f); color: #05070f; font: 800 1rem var(--rd-sans, system-ui); letter-spacing: .04em; cursor: pointer; }
  html #news .news-updated { margin-top: 1rem; }
  html #news .nd-meta { padding: 0 14px; }
  /* full-screen reader */
  .nd-ov.nd-read, .nd-ov.nd-ext { align-items: stretch; }
  .nd-ov.nd-read .nd-panel, .nd-ov.nd-ext .nd-panel { width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; padding-right: 22px; }
}
.news-more { display: none; }
@media (max-width: 859px) { .news-more { display: block; } }
.nd-ext-cover { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; margin: .3rem 0 1rem; border: 1px solid var(--mb-line); }
.nd-ext-go { width: 100%; margin-top: 1rem; }

/* Stories with no usable picture: drop the media block instead of the branded backdrop. */
#news .news-item:not(:has(.news-item-media)) { padding-top: .2rem; }
