.news-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(56, 217, 245, .14), transparent 30rem),
    #071013;
}
.news-content {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: 78px 0 110px;
}
.news-header {
  display: flex;
  gap: 30px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 38px;
}
.news-header h1 {
  margin: 10px 0;
  font-size: clamp(52px, 9vw, 94px);
  letter-spacing: -.07em;
}
.news-header .news-title {
  margin: 0;
  color: #7bf4cf;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .25em;
}
.news-header p:last-child {
  max-width: 650px;
  color: #91a2a6;
  line-height: 1.65;
}
.news-list { display: grid; gap: 14px; }
.news-item, .owner-card, .new-message-card, .schedule-card {
  padding: 30px;
  border: 1px solid rgba(123, 244, 207, .18);
  background: linear-gradient(145deg, rgba(15, 29, 32, .98), rgba(7, 16, 19, .98));
}
.news-item { position: relative; }
.news-meta {
  display: flex;
  justify-content: space-between;
  color: #607377;
  font-family: monospace;
  font-size: 11px;
  text-transform: uppercase;
}
.news-item > p {
  margin: 26px 0 8px;
  color: #d8e7e5;
  font-size: clamp(18px, 3vw, 25px);
  line-height: 1.55;
}
.empty-news p { color: #91a2a6; }
.owner-card, .new-message-card, .schedule-card {
  width: min(100%, 680px);
  margin: 0 auto 38px;
}
.owner-card h2, .new-message-card h2, .schedule-card h2 {
  margin: 10px 0;
  font-size: 36px;
}
.owner-card > p:not(.auth-kicker) { color: #91a2a6; line-height: 1.6; }
.schedule-card {
  margin-top: 46px;
  border-color: rgba(255, 189, 74, .3);
}
.schedule-card > p:not(.auth-kicker) {
  color: #91a2a6;
  line-height: 1.6;
}
.schedule-button {
  width: 100%;
  margin-top: 22px;
  padding: 16px;
  border: 0;
  background: #ffbd4a;
  color: #071013;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .14em;
  cursor: pointer;
}
.scheduled-section { margin-bottom: 38px; }
.scheduled-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
}
.scheduled-heading h2 { margin: 8px 0 0; font-size: 32px; }
.scheduled-heading > span {
  color: #ffbd4a;
  font-family: monospace;
  font-size: 11px;
  letter-spacing: .12em;
}
.scheduled-item {
  border-color: rgba(255, 189, 74, .42);
  background:
    linear-gradient(145deg, rgba(38, 31, 16, .98), rgba(17, 18, 14, .98));
}
.scheduled-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: #ffbd4a;
}
.scheduled-meta { color: #ffbd4a; }
.field textarea {
  width: 100%;
  resize: vertical;
  padding: 14px;
  border: 1px solid rgba(123, 244, 207, .16);
  outline: none;
  background: #081215;
  color: #effffc;
  font: inherit;
  line-height: 1.55;
}
.field textarea:focus { border-color: #7bf4cf; }
.news-delete {
  margin-top: 14px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 107, 117, .35);
  background: rgba(255, 107, 117, .08);
  color: #ff6b75;
  cursor: pointer;
}
.news-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}
.news-actions .news-delete { margin-top: 0; }
.news-edit {
  padding: 8px 18px;
  border: 1px solid rgba(123, 244, 207, .3);
  background: rgba(123, 244, 207, .07);
  color: #7bf4cf;
  font-size: 12px;
  cursor: pointer;
}
.edit-form {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(123, 244, 207, .18);
  background: rgba(7, 16, 19, .72);
}
.edit-form[hidden] { display: none; }
.edit-form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.news-save {
  margin-top: 14px;
  padding: 10px 15px;
  border: 0;
  background: #7bf4cf;
  color: #071013;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  cursor: pointer;
}
.edit-cancel {
  margin-top: 14px;
  padding: 9px 15px;
  border: 1px solid rgba(145, 162, 166, .3);
  background: transparent;
  color: #91a2a6;
  cursor: pointer;
}
.news-message-text { white-space: pre-wrap; }
.vote-controls {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.vote-button {
  min-width: 72px;
  padding: 9px 13px;
  border: 1px solid rgba(145, 162, 166, .24);
  background: rgba(145, 162, 166, .06);
  color: #91a2a6;
  font-family: monospace;
  font-weight: 800;
  cursor: pointer;
}
.vote-button:hover { border-color: rgba(184, 200, 202, .5); }
.vote-button.upvote.active {
  border-color: rgba(123, 244, 207, .55);
  background: rgba(123, 244, 207, .12);
  color: #7bf4cf;
}
.vote-button.downvote.active {
  border-color: rgba(255, 107, 117, .55);
  background: rgba(255, 107, 117, .12);
  color: #ff6b75;
}
.vote-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 9, 11, .86);
  backdrop-filter: blur(10px);
}
.vote-modal[hidden] { display: none; }
.modal-open { overflow: hidden; }
.vote-dialog {
  width: min(100%, 520px);
  padding: 38px;
  border: 1px solid rgba(123, 244, 207, .3);
  background: linear-gradient(145deg, #0f1d20, #071013);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .55);
}
.vote-dialog h2 {
  margin: 12px 0;
  font-size: clamp(30px, 6vw, 42px);
  letter-spacing: -.04em;
}
.vote-dialog > p:not(.auth-kicker) {
  color: #91a2a6;
  line-height: 1.6;
}
.vote-dialog-actions {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}
.vote-dialog-actions .button {
  min-width: 0;
  flex: 1;
  cursor: pointer;
}
.comments-section{margin-top:28px;padding-top:22px;border-top:1px solid rgba(123,244,207,.13)}.comments-section h3{display:flex;gap:9px;align-items:center;font-size:18px}.comments-section h3 span{color:#607377;font:12px monospace}.comment-list{display:grid;gap:8px}.comment{padding:14px;border:1px solid rgba(123,244,207,.12);background:#081215}.comment>div{display:flex;justify-content:space-between;gap:15px;color:#607377;font-size:11px}.comment a{color:#7bf4cf}.comment p{margin:10px 0 0;color:#c9dad8;white-space:pre-wrap;line-height:1.5}.comment-delete{margin-top:9px;padding:4px 8px;border:0;background:transparent;color:#ff6b75;cursor:pointer}.comment-form{margin-top:14px}.comment-form textarea{width:100%;padding:12px;border:1px solid rgba(123,244,207,.16);background:#071013;color:#effffc;resize:vertical}
.account-controls { display: flex; gap: 9px; align-items: center; }
.owner-link {
  padding: 9px 12px;
  border: 1px solid rgba(255, 189, 74, .3);
  background: rgba(255, 189, 74, .07);
  color: #ffbd4a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
}
.owner-link.verified {
  border-color: rgba(123, 244, 207, .3);
  background: rgba(123, 244, 207, .08);
  color: #7bf4cf;
}
@media (max-width: 760px) {
  .news-content { padding-top: 52px; }
  .news-header { align-items: flex-start; flex-direction: column; }
  .news-item, .owner-card, .new-message-card, .schedule-card { padding: 22px; }
  .news-meta { gap: 14px; flex-direction: column; }
  .scheduled-heading { gap: 14px; align-items: flex-start; flex-direction: column; }
  .vote-dialog { padding: 30px 22px; }
}
