/* =========================================================
   酷玩街机秀官网 · 活动资讯 news.html
   ========================================================= */

/* ---------------- News layout ---------------- */
.news-layout { max-width: 1040px; }
.news-panel { border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.panel-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 8px; background: var(--bg); }
.panel-tabs button { min-height: 44px; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--ink-3); font-size: 14px; font-weight: 700; cursor: pointer; }
.panel-tabs button.is-active { color: var(--ink); background: #fff; box-shadow: 0 6px 18px rgba(20, 30, 60, 0.08); }

/* ---------------- Notice ---------------- */
.notice-block { padding: 20px 16px; }
.notice-block + .notice-block { border-top: 1px solid var(--line); }
.notice-block h2 { margin-bottom: 8px; font-size: 17px; font-weight: 700; }
.notice-list button {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(51, 51, 51, 0.06);
  background: transparent;
  text-align: left;
  font-size: 13px;
  cursor: pointer;
}
.notice-list button:last-child { border-bottom: 0; }
.notice-list button span { position: relative; padding-left: 14px; flex: 1; line-height: 1.6; }
.notice-list button span::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: var(--primary-2); }
.notice-list button:hover span { color: var(--primary-2); }
.notice-list time { flex: 0 0 auto; font-size: 11px; color: var(--ink-3); }

/* ---------------- Events ---------------- */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 16px 6px; }
.filter-row button { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 12px; font-weight: 600; cursor: pointer; }
.filter-row button.is-active { color: #fff; border-color: transparent; background: var(--primary-2); }

.event-grid { display: grid; gap: 12px; padding: 16px; }
.event-card { display: flex; flex-direction: column; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.event-art { height: 180px; border-radius: var(--radius-sm); overflow: hidden; background: #101a3a; }
.event-art img { width: 100%; height: 100%; object-fit: cover; }
.event-body { padding: 12px 6px 4px; }
.event-status { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--primary-softer); color: var(--primary-2); font-size: 10px; font-weight: 700; }
.event-card h3 { margin: 8px 0 10px; font-size: 16px; font-weight: 700; }
.tag-row { display: flex; flex-wrap: wrap; gap: 5px; }
.tag-row i { padding: 2px 7px; border-radius: 6px; background: #f3f5f9; color: var(--ink-3); font-size: 10px; font-style: normal; }
.event-card time { display: block; margin: 12px 0; font-size: 11px; color: var(--ink-3); }
.event-card button { padding: 0; border: 0; background: none; color: var(--primary-2); font-size: 13px; font-weight: 600; cursor: pointer; }
.event-card.is-expired { filter: saturate(0.35); opacity: 0.7; }
.event-card.is-expired .event-status { background: #eceef2; color: var(--ink-3); }
.event-card button:disabled { color: var(--ink-3); cursor: default; }

@media (min-width: 768px) {
  .event-card { flex-direction: row; align-items: stretch; }
  .event-art { width: 240px; height: auto; flex: 0 0 auto; }
  .event-body { padding: 16px 20px 16px 6px; }
  .notice-block { padding: 26px 30px; }
  .notice-list button { flex-direction: row; align-items: center; }
}
