@charset "UTF-8";
/* CSS Document */

  /* ── Reset & Base ──────────────────────────────────── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { font-size: 16px; }
  body {
    font-family: 'Barlow', sans-serif;
    background: #0d0d0d;
    color: #e8e8e0;
    min-height: 100vh;
  }
  a { text-decoration: none; color: inherit; }

  /* ── Helpers ───────────────────────────────────────── */
  .bc  { font-family: 'Barlow Condensed', sans-serif; }
  .up  { text-transform: uppercase; }
  .ls  { letter-spacing: 0.12em; }

  /* ── Masthead ──────────────────────────────────────── */
  .masthead {
    background: #050f0a;
    border-bottom: 2px solid #1d9e75;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    gap: 16px;
    flex-wrap: wrap;
  }
  .logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 30px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    color: #fff;
  }
  .logo span { color: #1d9e75; }
  .logo sub {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.16em;
    color: #5DCAA5;
    display: block;
    margin-top: 1px;
  }
  .mastnav {
    display: flex;
    gap: 22px;
    align-items: center;
  }
  .mastnav a {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9FE1CB;
    transition: color 0.15s;
  }
  .mastnav a:hover { color: #fff; }
  .mast-meta {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5DCAA5;
    text-align: right;
    line-height: 1.6;
  }
  #mast-datetime { color: #9FE1CB; }

  /* ── Ticker ────────────────────────────────────────── */
  .ticker {
    background: #1d9e75;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 24px;
    display: flex;
    gap: 32px;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
  }
  .ticker-item { display: flex; align-items: center; gap: 6px; }
  .ticker-item i { font-size: 14px; }
  .ticker-sep { opacity: 0.4; }

  /* ── Leaderboard Ad ────────────────────────────────── */
  .ad-leaderboard {
    background: #030d07;
    border-bottom: 0.5px solid #1a2e24;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 0 24px;
  }
  .ad-placeholder {
    border: 0.5px dashed #2a3d30;
    border-radius: 3px;
    width: 100%;
    max-width: 728px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #3a5a44;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  /* ── Layout ────────────────────────────────────────── */
  .page-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 1fr 210px;
    gap: 18px;
  }
  .col-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
  .col-side  { display: flex; flex-direction: column; gap: 14px; }

  /* ── Section Label ─────────────────────────────────── */
  .sec-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #1d9e75;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .sec-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #1a2e24;
  }

  /* ── Card ──────────────────────────────────────────── */
  .card {
    background: #0a1a10;
    border: 0.5px solid #1a2e24;
    border-radius: 3px;
    padding: 14px 16px;
  }

  /* ── Camera ────────────────────────────────────────── */
  .cam-wrap { background: #030d07; border: 0.5px solid #1a2e24; border-radius: 3px;
	  overflow: hidden; }
  .cam-feed {
    width: 100%;
    aspect-ratio: 16/9;
	background-image: url('../images/thirroulbeachcam.jpeg');
	background-repeat: no-repeat;
  	background-size: 100% auto; 

   
	
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
	  
  }
  /* Drop your stream embed here — e.g. YouTube iframe or HLS video element */
  .cam-feed iframe, .cam-feed video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
	
  }
  .cam-no-signal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #1d9e75;
	  
  }
  .cam-no-signal i { font-size: 52px; opacity: 0.4; }
  .cam-no-signal span {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color:#4AEB91;
	 
  }
  .cam-hud-tl {
    position: absolute;
    top: 10px; left: 12px;
    display: flex; align-items: center; gap: 7px;
    z-index: 5;
  }
  .bg-img {
	  background-image: image('../images/thirroulbeachcam.jpeg')
		  
  }

  .live-badge {
    background: #c0392b;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 3px 8px 3px 6px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .live-dot {
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.4s ease-in-out infinite;
  }
  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.15} }
  .cam-ts {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.06em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  }
  .cam-hud-br {
    position: absolute;
    bottom: 10px; right: 12px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    z-index: 5;
  }
  .cam-bar {
    background: #030d07;
    border-top: 0.5px solid #1a2e24;
    padding: 8px 12px;
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .cam-btn {
    background: rgba(255,255,255,0.05);
    border: 0.5px solid #1a2e24;
    color: #5DCAA5;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.15s, color 0.15s;
  }
  .cam-btn:hover { background: rgba(29,158,117,0.2); color: #fff; }
  .cam-btn i { font-size: 14px; }
  .cam-spacer { flex: 1; }
  .cam-qual {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2a5a3a;
  }

  /* ── Conditions grid ───────────────────────────────── */
  .rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }
  .rating-pill {
    background: #1d9e75;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 2px;
  }
  .rating-pill.fair   { background: #8a6a0a; }
  .rating-pill.poor   { background: #7a1f1f; }
  .rating-pill.epic   { background: #085041; }
  .updated-ts {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #3a7a56;
    text-transform: uppercase;
  }
  .cond-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .cond-cell {
    background: #050f0a;
    border: 0.5px solid #1a2e24;
    border-radius: 2px;
    padding: 10px 12px;
  }
  .cond-lbl {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #3a7a56;
    margin-bottom: 4px;
  }
  .cond-val {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: #e8e8e0;
    line-height: 1;
  }
  .cond-unit { font-size: 13px; font-weight: 400; color: #5a8a6a; margin-left: 2px; }
  .cond-sub  {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    color: #1d9e75;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-top: 2px;
  }

  /* ── Loading skeleton ──────────────────────────────── */
  .skel {
    display: inline-block;
    background: linear-gradient(90deg, #1a2e24 25%, #243d2e 50%, #1a2e24 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 2px;
    color: transparent;
    min-width: 40px;
  }
  @keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

  /* ── Tide Chart ────────────────────────────────────── */
  .tide-svg-wrap { position: relative; height: 130px; margin-bottom: 10px; }
  #tide-svg { width: 100%; height: 100%; }
  .tide-times {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
  }
  .tide-item { display: flex; flex-direction: column; align-items: center; gap: 1px; }
  .tide-type {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .tide-type.high { color: #1d9e75; }
  .tide-type.low  { color: #5a8a6a; }
  .tide-val {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #e8e8e0;
  }
  .tide-time {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: #5a8a6a;
  }
  .tide-note {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3a5a44;
    margin-top: 8px;
    text-align: center;
  }

  /* ── Swell Table ───────────────────────────────────── */
  .swell-tbl { width: 100%; border-collapse: collapse; }
  .swell-tbl thead th {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #3a7a56;
    padding: 0 8px 10px 0;
    text-align: left;
    border-bottom: 1px solid #1a2e24;
  }
  .swell-tbl tbody td {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    padding: 9px 8px 9px 0;
    border-bottom: 0.5px solid #111e15;
    vertical-align: middle;
    color: #c8c8c0;
  }
  .swell-tbl tbody tr:last-child td { border-bottom: none; }
  .swell-tbl tbody tr:hover td { background: #0d1f12; }
  .day-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #e8e8e0;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: block;
  }
  .day-date { font-size: 11px; color: #3a7a56; }
  .ht-val { font-weight: 700; color: #1d9e75; font-size: 16px; }
  .dir-cell { display: flex; align-items: center; gap: 5px; }
  .dir-arrow { font-size: 16px; color: #1d9e75; }
  .stars { display: flex; gap: 2px; }
  .star-on  { color: #1d9e75; font-size: 12px; }
  .star-off { color: #1a2e24; font-size: 12px; }
  .tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 2px;
  }
  .tag-epic { background: #0d2e22; color: #1d9e75; border: 0.5px solid #1d9e75; }
  .tag-good { background: #0a1e14; color: #5DCAA5; border: 0.5px solid #1a4a2e; }
  .tag-fair { background: #2e1e0a; color: #e0a84a; border: 0.5px solid #4a3010; }
  .tag-poor { background: #2e0a0a; color: #e05050; border: 0.5px solid #4a1010; }

  /* ── Sidebar ───────────────────────────────────────── */
  .water-badge {
    background: #050f0a;
    border: 0.5px solid #1a2e24;
    border-radius: 2px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }
  .water-temp-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #1d9e75;
    line-height: 1;
  }
  .water-temp-info { display: flex; flex-direction: column; gap: 1px; }
  .water-temp-lbl {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #3a7a56;
  }
  .water-temp-sub {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    color: #5DCAA5;
  }
  .side-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 7px 0;
    border-bottom: 0.5px solid #111e15;
    font-family: 'Barlow Condensed', sans-serif;
  }
  .side-row:last-child { border-bottom: none; }
  .side-k { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #3a7a56; }
  .side-v { font-size: 14px; font-weight: 700; color: #c8c8c0; }

  .ad-side {
    background: #070f09;
    border: 0.5px dashed #1a2e24;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    padding: 14px;
    color: #2a3d2e;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .ad-side i { font-size: 24px; opacity: 0.3; }
  .ad-side-lg  { height: 260px; }
  .ad-side-sm  { height: 130px; }

  /* ── Footer ────────────────────────────────────────── */
  footer {
    background: #030a05;
    border-top: 1px solid #1a2e24;
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2a5a3a;
  }
  footer a { color: #3a7a56; }
  footer a:hover { color: #1d9e75; }


