* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  font-size: 13px;
  background: #fff;
  color: #000;
}

a {
  color: #00008B;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* WRAPPER */
.wrap {
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid #999;
}

/* HEADER */
.header {
  background: #1a1a6e;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  font-family: Arial Black, sans-serif;
  letter-spacing: -1px;
}

.logo span {
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  display: block;
  letter-spacing: 0;
}

.search-bar {
  display: flex;
  margin-left: auto;
}

.search-bar input {
  padding: 6px 10px;
  font-size: 13px;
  border: none;
  width: 260px;
}

.search-bar button {
  background: #d4d4d4;
  border: none;
  padding: 6px 14px;
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
}

.search-bar button:hover {
  background: #bbb;
}

.dateline {
  color: #ccc;
  font-size: 11px;
  text-align: right;
  white-space: nowrap;
  margin-left: 12px;
}

.dateline span {
  color: #ffd700;
}

.visitor-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.visitor-counter a {
  color: #ffd700;
}

.visitor-counter img {
  vertical-align: middle;
}

/* NAV */
.nav {
  background: #cc3300;
  display: flex;
}

.nav a {
  color: #fff;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  display: block;
}

.nav a:hover,
.nav a.active {
  background: #aa2200;
  text-decoration: none;
}

/* BREAKING NEWS */
.breaking {
  background: #ffd700;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-wrap {
  overflow: hidden;
  flex: 1;
}

.breaking .label {
  background: #cc3300;
  color: #fff;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 900;
  margin-right: 8px;
  white-space: nowrap;
}

.breaking-text {
  color: #000;
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: breaking-text 30s linear infinite;
}

.breaking-text span {
  padding-right: 40px;
}

@keyframes breaking-text {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* MAIN LAYOUT */
.main {
  display: flex;
}

.left {
  flex: 1;
  border-right: 1px solid #ccc;
}

.right {
  width: 220px;
}

/* LIVE BOX */
.live-box {
  border: 1px solid #999;
  margin: 8px;
}

.live-header {
  background: #1a1a6e;
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
}

.live-header::before {
  content: "▶ ";
  color: #ffd700;
}

.live-video {
  background: #bbb;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #555;
  font-style: italic;
  text-align: center;
  padding: 16px;
}

/* BROADCASTS */
.broadcasts {
  padding: 8px;
}

.broadcasts h3 {
  font-size: 12px;
  font-style: italic;
  margin-bottom: 6px;
}

.thumb-row {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-bottom: 8px;
}

.thumb {
  background: #bbb;
  width: 80px;
  height: 55px;
  flex-shrink: 0;
}

.thumb-next {
  background: #1a1a6e;
  color: #fff;
  width: 24px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  margin-left: auto;
}

/* STORY TABS */
.tabs {
  display: flex;
  border: 1px solid #999;
  margin: 0 8px;
}

.tabs a {
  padding: 4px 12px;
  font-size: 12px;
  border-right: 1px solid #999;
  color: #00008B;
  background: #e8e8e8;
}

.tabs a.active {
  background: #fff;
  font-weight: 700;
}

.tabs a:hover {
  text-decoration: none;
  background: #fff;
}

/* STORY HEADER */
.story-header {
  background: #1a1a6e;
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  margin: 4px 8px 0;
}

.story-header::before {
  content: "▶ ";
  color: #ffd700;
}

/* STORIES */
.story {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-bottom: 1px solid #ddd;
}

.story-thumb {
  background: #bbb;
  width: 100px;
  height: 70px;
  flex-shrink: 0;
}

.story h4 {
  font-size: 13px;
  color: #00008B;
  margin-bottom: 4px;
}

.story p {
  font-size: 11px;
  color: #333;
  line-height: 1.4;
}

.story .meta {
  font-size: 10px;
  color: #666;
  margin-bottom: 4px;
}

/* SIDEBAR */
.sidebar-box {
  border: 1px solid #999;
  margin: 8px;
}

.sidebar-header {
  background: #1a1a6e;
  color: #fff;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
}

.sidebar-header::before {
  content: "▶ ";
  color: #ffd700;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  padding: 4px 8px;
  border-bottom: 1px solid #eee;
  font-size: 11px;
}

.schedule-item .time {
  color: #555;
  white-space: nowrap;
}

.schedule-item .show {
  color: #00008B;
  text-align: right;
}

.schedule-more {
  text-align: right;
  padding: 4px 8px;
  font-size: 11px;
}

.popular-list {
  padding: 4px 8px;
}

.popular-list a {
  display: block;
  font-size: 11px;
  padding: 3px 0;
  border-bottom: 1px solid #eee;
  color: #00008B;
}

.quick-links a {
  display: block;
  padding: 3px 8px;
  font-size: 11px;
  color: #00008B;
  border-bottom: 1px solid #eee;
}

.quick-links a::before {
  content: "▶ ";
  color: #cc3300;
  font-size: 10px;
}
