/* =============================================
   PIRATEN BROWSERGAME - CSS
   Dark Sea / Aged Parchment / Gold Accent
   ============================================= */

:root {
  --sea-deep:    #0a2535;
  --sea-mid:     #0e3348;
  --sea-light:   #1a5f7a;
  --sand:        #e8d5a3;
  --sand-dark:   #c4a96b;
  --wood:        #8b5e3c;
  --wood-dark:   #5a3520;
  --gold:        #f0c040;
  --gold-bright: #ffe680;
  --gold-dark:   #b8860b;
  --rum-red:     #8b1a1a;
  --rum-light:   #c0392b;
  --parchment:   #f5e6c8;
  --ink:         #2a1a0a;
  --twitch:      #9147ff;
  --green-ok:    #2ecc71;
  --red-err:     #e74c3c;
  --panel-bg:    rgba(10,25,35,0.92);
  --panel-border:#3a6a8a;
  --radius:      8px;
}

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

body {
  font-family: 'Crimson Text', Georgia, serif;
  background: var(--sea-deep);
  color: var(--sand);
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at 20% 80%, rgba(26,95,122,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(139,94,60,0.1) 0%, transparent 60%);
}

/* ===== AUTH MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at center, #0e3348 0%, #030e16 100%);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a5f7a' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.modal-box {
  background: linear-gradient(160deg, #0e2a3a 0%, #071520 100%);
  border: 2px solid var(--gold-dark);
  border-radius: 16px;
  padding: 40px 48px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 0 60px rgba(240,192,64,0.15), 0 20px 60px rgba(0,0,0,0.6);
  animation: floatIn 0.5s ease;
}
@keyframes floatIn {
  from { transform: translateY(30px); opacity:0; }
  to   { transform: translateY(0);    opacity:1; }
}

.modal-anchor {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 12px;
  animation: sway 3s ease-in-out infinite;
}
@keyframes sway {
  0%,100% { transform: rotate(-5deg); }
  50%      { transform: rotate(5deg);  }
}

.modal-title {
  font-family: 'Pirata One', serif;
  font-size: 2.4rem;
  text-align: center;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(240,192,64,0.4);
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.modal-sub {
  text-align: center;
  color: var(--sand-dark);
  font-style: italic;
  margin-bottom: 24px;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.auth-tab {
  flex:1;
  padding: 10px;
  border: 1px solid var(--panel-border);
  background: transparent;
  color: var(--sand);
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.2s;
}
.auth-tab.active, .auth-tab:hover {
  background: var(--gold-dark);
  color: var(--ink);
  border-color: var(--gold);
}

.auth-form { display: flex; flex-direction: column; gap: 12px; }

.input-field {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  color: var(--sand);
  font-family: 'Crimson Text', serif;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.input-field:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}
.input-field::placeholder { color: rgba(196,169,107,0.5); }

.btn {
  padding: 13px 20px;
  border: none;
  border-radius: var(--radius);
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--ink);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(240,192,64,0.4); }
.btn-twitch {
  background: var(--twitch);
  color: white;
}
.btn-twitch:hover { background: #7b35e8; transform: translateY(-2px); }

.divider {
  text-align: center;
  position: relative;
  color: var(--sand-dark);
  font-size: 0.85rem;
}
.divider::before, .divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--panel-border);
}
.divider::before { left: 0; }
.divider::after  { right: 0; }

.auth-error {
  background: rgba(231,76,60,0.15);
  border: 1px solid var(--red-err);
  color: #ff8080;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* ===== TOPBAR ===== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 60px;
  background: linear-gradient(90deg, #071520, #0e2a3a, #071520);
  border-bottom: 2px solid var(--gold-dark);
  position: sticky; top: 0; z-index: 100;
  gap: 12px;
}
.topbar-left { display: flex; align-items: center; gap: 12px; min-width: 180px; }
.game-logo {
  font-family: 'Pirata One', serif;
  font-size: 1.5rem;
  color: var(--gold);
  white-space: nowrap;
}
.island-name {
  color: var(--sand-dark);
  font-style: italic;
  font-size: 0.9rem;
  white-space: nowrap;
}

.resources-bar {
  display: flex;
  gap: 24px;
  align-items: center;
}
.res-item {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.05);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(58,106,138,0.5);
  font-size: 0.95rem;
}
.res-icon { font-size: 1.1rem; }
.res-prod { color: var(--green-ok); font-size: 0.7rem; opacity: 0.8; }

.topbar-right { display: flex; align-items: center; gap: 10px; min-width: 180px; justify-content: flex-end; }
.player-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--gold-dark);
}
.btn-logout {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--rum-red);
  color: #ff8080;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s;
}
.btn-logout:hover { background: var(--rum-red); color: white; }

/* ===== NAVIGATION ===== */
.main-nav {
  display: flex;
  gap: 0;
  background: #071520;
  border-bottom: 1px solid var(--panel-border);
}
.nav-btn {
  padding: 12px 24px;
  background: transparent;
  border: none;
  color: var(--sand-dark);
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.nav-btn:hover, .nav-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(240,192,64,0.05);
}

/* ===== GAME VIEWS ===== */
.game-view { padding: 24px; max-width: 1200px; margin: 0 auto; }
.view-title {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 24px;
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 12px;
}
.sub-title {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--sand);
  margin: 24px 0 16px;
}

/* ===== ISLAND VIEW ===== */
.island-scene {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--panel-border);
  box-shadow: 0 0 40px rgba(26,95,122,0.3);
}
#islandMap { width:100%; display:block; }
.building-icon:hover { opacity:0.85; }

.active-queues { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.queue-item {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.queue-progress-bar {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}
.queue-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 4px;
  transition: width 1s linear;
}
.queue-label { font-family: 'Cinzel', serif; font-size: 0.85rem; color: var(--gold-bright); min-width: 180px; }
.queue-time { color: var(--sand-dark); font-size: 0.85rem; min-width: 80px; text-align: right; }

/* ===== BUILDINGS GRID ===== */
.buildings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.building-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.building-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}
.building-card:hover { border-color: var(--gold-dark); box-shadow: 0 0 20px rgba(240,192,64,0.1); }

.building-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.building-emoji { font-size: 2rem; }
.building-name { font-family: 'Cinzel', serif; font-size: 1rem; color: var(--gold-bright); }
.building-level { font-size: 0.8rem; color: var(--sand-dark); }
.level-badge {
  margin-left: auto;
  background: var(--gold-dark);
  color: var(--ink);
  padding: 2px 10px;
  border-radius: 12px;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.building-desc { font-size: 0.9rem; color: var(--sand-dark); font-style: italic; margin-bottom: 14px; }
.building-prod { font-size: 0.85rem; color: var(--green-ok); margin-bottom: 14px; }

.costs-row { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.cost-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(58,106,138,0.4);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
}
.cost-badge.insufficient { border-color: var(--red-err); color: #ff8080; }

.btn-build {
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border: none;
  border-radius: var(--radius);
  color: var(--ink);
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-build:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(240,192,64,0.3); }
.btn-build:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ===== FLEET VIEW ===== */
.fleet-overview {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.fleet-ship-item { text-align: center; }
.fleet-ship-icon { font-size: 2.5rem; }
.fleet-ship-name { font-family: 'Cinzel', serif; font-size: 0.8rem; color: var(--sand-dark); margin-top: 4px; }
.fleet-ship-count { font-size: 1.4rem; color: var(--gold); font-weight: 700; }

.ships-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.ship-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.ship-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a5f7a, #4a9ec7);
}
.ship-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ship-emoji { font-size: 2.2rem; }
.ship-name { font-family: 'Cinzel', serif; color: var(--sand); font-size: 1rem; }
.ship-req { font-size: 0.75rem; color: var(--sand-dark); }
.ship-stats { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.85rem; flex-wrap: wrap; }
.stat { color: var(--sand-dark); }
.stat span { color: var(--sand); }

.ship-amount-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.amount-input {
  width: 70px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  color: var(--sand);
  font-size: 1rem;
  text-align: center;
}
.amount-input:focus { outline: none; border-color: var(--gold); }
.amount-label { color: var(--sand-dark); font-size: 0.85rem; }

.btn-ship {
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #1a5f7a, #2a8aa8);
  border: none;
  border-radius: var(--radius);
  color: white;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-ship:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(26,95,122,0.4); }
.btn-ship:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== LEADERBOARD ===== */
.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  overflow: hidden;
}
.leaderboard-table th {
  padding: 14px 16px;
  background: rgba(240,192,64,0.1);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--panel-border);
}
.leaderboard-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(58,106,138,0.3);
  font-size: 0.95rem;
}
.leaderboard-table tr:last-child td { border-bottom: none; }
.leaderboard-table tr:hover td { background: rgba(255,255,255,0.02); }
.rank-medal { font-size: 1.2rem; }
.lb-avatar { width:28px; height:28px; border-radius:50%; vertical-align:middle; margin-right:8px; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 20px;
  border-radius: 10px;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  max-width: 360px;
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.toast.show { transform: translateX(0); }
.toast.success { background: #1a3a1a; border: 1px solid var(--green-ok); color: #80ff80; }
.toast.error   { background: #3a1a1a; border: 1px solid var(--red-err); color: #ff8080; }
.toast.info    { background: #1a2a3a; border: 1px solid var(--sea-light); color: var(--sand); }

/* ===== RESPONSIVENESS ===== */
@media (max-width: 768px) {
  .resources-bar { gap: 10px; }
  .res-item { padding: 4px 8px; font-size: 0.8rem; }
  .res-prod { display: none; }
  .nav-btn { padding: 10px 14px; font-size: 0.78rem; }
  .modal-box { padding: 28px 24px; margin: 16px; }
  .topbar { padding: 0 12px; }
  .island-name { display: none; }
}

/* =============================================
   LAGER-ERWEITERUNG
   ============================================= */

/* Ressourcen-Bar Warnfarben */
.res-item.res-warn {
    border-color: #f39c12 !important;
    background: rgba(243,156,18,0.1) !important;
    animation: pulse-warn 2s ease-in-out infinite;
}
.res-item.res-full {
    border-color: var(--red-err) !important;
    background: rgba(231,76,60,0.15) !important;
    animation: pulse-full 1s ease-in-out infinite;
}
@keyframes pulse-warn {
    0%,100% { box-shadow: 0 0 0 0 rgba(243,156,18,0); }
    50%      { box-shadow: 0 0 8px 2px rgba(243,156,18,0.4); }
}
@keyframes pulse-full {
    0%,100% { box-shadow: 0 0 0 0 rgba(231,76,60,0); }
    50%      { box-shadow: 0 0 10px 3px rgba(231,76,60,0.5); }
}

/* Lager-Warnungen auf der Insel */
.storage-warnings { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.storage-warning {
    background: rgba(231,76,60,0.15);
    border: 1px solid var(--red-err);
    border-radius: var(--radius);
    padding: 10px 16px;
    color: #ff9080;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    from { transform: translateX(-10px); opacity: 0; }
    to   { transform: translateX(0);     opacity: 1; }
}

/* Gebäude-Gruppen */
.building-group-title {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--gold-dark);
    margin: 20px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--panel-border);
    grid-column: 1 / -1;
}
.building-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 8px;
}
#buildingsGrid {
    display: block !important; /* Override grid für Gruppen */
}

/* Lager-Füllstand im Gebäude-Card */
.building-storage {
    font-size: 0.85rem;
    color: var(--sand-dark);
    margin-bottom: 14px;
}
.building-storage.stor-warn { color: #f39c12; }
.building-storage.stor-full { color: var(--red-err); }
.stor-bar {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 4px 0;
}
.stor-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--green-ok), #27ae60);
    border-radius: 3px;
    transition: width 0.5s ease;
}
.stor-warn .stor-fill { background: linear-gradient(90deg, #f39c12, #e67e22); }
.stor-full .stor-fill { background: linear-gradient(90deg, var(--red-err), #c0392b); }

/* =============================================
   BENUTZER-MENÜ DROPDOWN
   ============================================= */
.user-menu-wrap { position: relative; }

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: all 0.2s;
    user-select: none;
}
.user-menu-trigger:hover {
    border-color: var(--gold-dark);
    background: rgba(240,192,64,0.08);
}
.user-menu-arrow {
    color: var(--gold-dark);
    font-size: 0.8rem;
    transition: transform 0.2s;
}
.user-menu-wrap.open .user-menu-arrow { transform: rotate(180deg); }

.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: linear-gradient(160deg, #0e2a3a, #071520);
    border: 1px solid var(--gold-dark);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    z-index: 500;
    overflow: hidden;
    animation: dropIn 0.2s ease;
}
@keyframes dropIn {
    from { transform: translateY(-8px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.user-menu-wrap.open .user-dropdown { display: block; }

.user-dropdown-header {
    padding: 12px 16px;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    color: var(--gold-dark);
    border-bottom: 1px solid var(--panel-border);
    font-style: italic;
}

.dropdown-item {
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: var(--sand);
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
    display: block;
}
.dropdown-item:hover { background: rgba(255,255,255,0.06); }
.dropdown-logout { color: #ff8080 !important; }
.dropdown-logout:hover { background: rgba(231,76,60,0.12) !important; }

.dropdown-divider {
    height: 1px;
    background: var(--panel-border);
    margin: 4px 0;
}

/* Modal klein */
.modal-small { max-width: 380px !important; padding: 32px 36px !important; }

/* Modal Feedback Messages */
.modal-success {
    background: rgba(46,204,113,0.12);
    border: 1px solid var(--green-ok);
    color: #80ff80;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* =============================================
   INSEL-LAYOUT MIT NEWS-BOARD
   ============================================= */
.island-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.island-left {
    flex: 1;
    min-width: 0;
}
.island-right {
    width: 300px;
    flex-shrink: 0;
}

/* News Board */
.news-board {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.news-board::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}
.news-board-title {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--gold);
    padding: 16px 16px 12px;
    border-bottom: 1px solid var(--panel-border);
    letter-spacing: 1px;
}
.news-content {
    padding: 12px;
    max-height: 460px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.news-content::-webkit-scrollbar { width: 4px; }
.news-content::-webkit-scrollbar-track { background: transparent; }
.news-content::-webkit-scrollbar-thumb { background: var(--panel-border); border-radius: 2px; }

.news-entry {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(58,106,138,0.3);
    border-radius: var(--radius);
    padding: 10px 12px;
    animation: slideIn 0.3s ease;
}
.news-entry-date {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    color: var(--gold-dark);
    margin-bottom: 4px;
    letter-spacing: 1px;
}
.news-entry-title {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    color: var(--sand);
    margin-bottom: 6px;
}
.news-entry-text {
    font-size: 0.88rem;
    color: var(--sand-dark);
    line-height: 1.5;
    font-style: italic;
}
.news-empty {
    color: var(--sand-dark);
    font-style: italic;
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

@media (max-width: 900px) {
    .island-layout { flex-direction: column; }
    .island-right { width: 100%; }
    .news-content { max-height: 200px; }
}
