:root{
      --bg-body: #e8e0d5; 
      --paper: #fdfbf7;   
      --paper-texture: #f4ecd8;
      --ink: #3e2723;     
      --gold-band: #c5a065; 
      --gold-text: #ffffff; 
      --border-green: #6b8e6b; 
      --accent: #d35400;  
      --highlight: #eebc1f; 
      --alert-red: #c0392b; 
      --shadow: rgba(62, 39, 35, 0.15);
      --font-serif: 'Playfair Display', serif;
      --font-mono: 'Courier Prime', monospace;
      --font-sans: 'Lato', sans-serif;
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      font-family: var(--font-sans);
      background-color: var(--bg-body);
      background-image: radial-gradient(#d7ccc0 1px, transparent 1px);
      background-size: 20px 20px;
      color: var(--ink);
      padding: 20px 10px;
      line-height: 1.6;
    }
    .wrap{max-width:1000px; margin:0 auto;}
    .ticket-container {
      background: var(--paper);
      border-radius: 20px;
      box-shadow: 0 20px 50px var(--shadow);
      position: relative;
      overflow: hidden;
    }
    .ticket-border {
      border: 3px solid var(--border-green);
      border-radius: 16px;
      margin: 10px;
      padding: 0 0 20px 0;
    }
    .gold-header-strip {
      background: var(--gold-band);
      color: var(--gold-text);
      padding: 15px 30px;
      border-radius: 12px 12px 0 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-family: var(--font-sans);
      text-transform: uppercase;
      letter-spacing: 2px;
      font-weight: 900;
      font-size: 1.4rem;
      border-bottom: 2px solid #a88550;
    }
    .hero-ticket {
      padding: 30px;
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 30px;
      border-bottom: 2px dashed var(--border-green);
    }
    .hero-info h1 {
      font-family: var(--font-mono); font-size: 2rem; color: var(--ink);
      text-transform: uppercase; margin: 0 0 10px 0; letter-spacing: -1px;
    }
    .plane-stamp {
      border: 4px solid var(--gold-band); border-radius: 50%;
      width: 140px; height: 140px;
      display: flex; align-items: center; justify-content: center;
      margin: auto;
      background: white; overflow: hidden;
    }
    .plane-stamp img { width: 90%; height: auto; }
    nav {
      display: flex; justify-content: center; gap: 10px; padding: 15px;
      background: rgba(255,255,255,0.5);
      border-bottom: 1px dashed var(--border-green);
      flex-wrap: wrap;
    }
    nav a {
      text-decoration: none; font-family: var(--font-mono); font-weight: bold;
      color: var(--ink); padding: 8px 15px; border-radius: 20px;
      font-size: 0.9rem; transition: 0.3s;
    }
    nav a:hover { background: var(--accent); color: white; }
    .content-area { padding: 30px; }
    .photo-section {
      background: #fff; border: 1px solid #ddd; border-radius: 8px;
      margin-bottom: 25px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      padding: 20px;
    }
    .photo-section h3 { margin-top: 0; font-family: var(--font-serif); color: var(--ink); font-size: 1.5rem; }
    .photo-section p { color: #666; margin-bottom: 15px; }

    /* Gallery grid avec cartes */
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 16px; margin-top: 20px;
    }
    .gallery-card {
      border-radius: 10px; overflow: hidden;
      border: 1px solid #e0e0e0;
      background: #fafaf8;
      box-shadow: 0 2px 8px rgba(0,0,0,.06);
      transition: transform .2s, box-shadow .2s;
    }
    .gallery-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
    .gallery-img-wrap { aspect-ratio: 1; overflow: hidden; }
    .img-link {
      display: block;
      width: 100%;
      height: 100%;
      padding: 0;
      cursor: zoom-in;
      border: 0;
      background: #f1eee9;
      overflow: hidden;
    }
    .gallery-img-wrap img { width:100%; height:100%; object-fit:cover; display:block; transition: transform .3s; }
    .gallery-img-wrap:hover img { transform: scale(1.05); }
    
    /* Actions (like + comment) */
    .gallery-actions {
      display: flex; align-items: center; gap: 8px;
      padding: 8px 10px;
      border-top: 1px solid #f0f0f0;
      background: #fff;
    }
    .like-btn, .comment-btn, .download-btn {
      display: inline-flex; align-items: center; gap: 4px;
      background: none; border: 1.5px solid #eee; border-radius: 20px;
      padding: 4px 10px; font-size: .82rem; cursor: pointer;
      font-family: var(--font-mono); color: var(--ink);
      transition: .15s; white-space: nowrap; text-decoration: none;
    }
    .like-btn:hover { border-color: #e74c3c; background: #fff0f0; }
    .like-btn.liked { border-color: #e74c3c; background: #fff0f0; color: #e74c3c; }
    .comment-btn:hover { border-color: var(--accent); background: #fff5f0; }
    .download-btn { margin-left: auto; border-radius: 50%; padding: 4px 8px; justify-content: center; width: 32px; height: 32px; }
    .download-btn:hover { border-color: #2ecc71; background: #f0fdf4; color: #27ae60; }
    .like-icon { font-size: 1rem; }

    /* Modal commentaires */
    .modal-overlay {
      position: fixed; inset: 0; background: rgba(0,0,0,.55);
      z-index: 9999; display: none; align-items: center; justify-content: center;
      padding: 20px; backdrop-filter: blur(3px);
    }
    .modal-overlay.open { display: flex; }
    .modal-card {
      background: #fff; border-radius: 16px; max-width: 520px; width: 100%;
      box-shadow: 0 20px 60px rgba(0,0,0,.25);
      animation: modal-in .3s cubic-bezier(.34,1.56,.64,1);
      display: flex; flex-direction: column; max-height: 85vh;
    }
    @keyframes modal-in { from { transform: scale(.88) translateY(20px); opacity:0; } to { transform:none; opacity:1; } }
    
    /* Lightbox */
    .lightbox-card {
      position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
      width: 100%; max-width: 1000px; max-height: 95vh; animation: modal-in .3s cubic-bezier(.34,1.56,.64,1);
    }
    .lightbox-img {
      max-height: 80vh; max-width: 100%; object-fit: contain; border-radius: 12px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.6); background: rgba(0,0,0,0.8);
      transition: opacity .18s ease;
    }
    .lightbox-img.is-loading { opacity: .35; }
    .lightbox-actions-bar {
      margin-top: 15px; border-radius: 24px; padding: 10px 20px;
    }
    .lightbox-close-btn {
      position: absolute; top: -10px; right: 0px; color: #fff; font-size: 1.8rem;
      background: rgba(0,0,0,0.5); border: none; border-radius: 50%;
      width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
      cursor: pointer; z-index: 10001; transition: 0.2s;
    }
    .lightbox-close-btn:hover { background: rgba(0,0,0,0.8); }
    .lightbox-nav {
      position: absolute; top: 50%; transform: translateY(-50%);
      background: rgba(0,0,0,0.4); color: #fff; border: none; border-radius: 50%;
      width: 44px; height: 44px; font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
      cursor: pointer; z-index: 10001; transition: 0.2s; padding: 0;
    }
    .lightbox-nav:hover { background: rgba(0,0,0,0.8); }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .modal-head {
      display: flex; align-items: center; justify-content: space-between;
      padding: 16px 20px; border-bottom: 1px solid #eee;
      font-family: var(--font-serif); font-size: 1.1rem; color: var(--ink);
    }
    .modal-close {
      background: none; border: none; font-size: 1.3rem; cursor: pointer; color: #aaa; padding: 4px;
    }
    .modal-close:hover { color: var(--ink); }
    .modal-photo { width: 100%; max-height: 200px; object-fit: cover; }
    .modal-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
    .comment-item {
      display: flex; gap: 10px; margin-bottom: 14px;
    }
    .comment-avatar {
      width: 36px; height: 36px; border-radius: 50%; background: var(--gold-band);
      display: flex; align-items: center; justify-content: center;
      font-family: var(--font-mono); font-weight: 700; font-size: .85rem; color: #fff;
      flex-shrink: 0; text-transform: uppercase;
    }
    .comment-bubble { flex: 1; }
    .comment-author { font-weight: 700; font-size: .82rem; color: var(--ink); font-family: var(--font-mono); }
    .comment-text { font-size: .88rem; color: #444; margin-top: 2px; line-height: 1.5; }
    .comment-time { font-size: .72rem; color: #aaa; font-family: var(--font-mono); margin-top: 3px; }
    .no-comments { text-align: center; color: #aaa; font-style: italic; padding: 20px 0; font-size: .9rem; }
    .modal-footer { padding: 12px 20px; border-top: 1px solid #eee; background: #fafaf8; border-radius: 0 0 16px 16px; }
    .comment-form { display: flex; gap: 8px; }
    .comment-input {
      flex: 1; padding: 9px 12px; border: 1.5px solid #ddd; border-radius: 20px;
      font-family: var(--font-sans); font-size: .88rem; outline: none; resize: none;
      background: #fff;
    }
    .comment-input:focus { border-color: var(--accent); }
    .comment-send {
      background: var(--accent); color: #fff; border: none; border-radius: 50%;
      width: 38px; height: 38px; cursor: pointer; display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; transition: .15s;
    }
    .comment-send:hover { background: #b34300; }
    .not-logged-msg {
      text-align:center; padding: 14px; color: #888; font-style:italic; font-size:.88rem;
    }
    .not-logged-msg a { color: var(--accent); font-weight: bold; }

    /* ===== MODERN TRAVEL GALLERY REFRESH ===== */
    body{
      background:
        linear-gradient(115deg, rgba(253,251,247,.92), rgba(253,251,247,.58)),
        var(--photos-background-image) center/cover fixed,
        linear-gradient(135deg, #f6efe2 0%, var(--bg-body) 48%, #d8c8b6 100%);
      padding: 32px 14px;
      min-height: 100vh;
    }

    .wrap{max-width:1120px;}

    .ticket-container {
      background: rgba(253,251,247,.9);
      border-radius: 32px;
      box-shadow: 0 32px 90px rgba(62,39,35,.2);
      border: 1px solid rgba(255,255,255,.72);
      backdrop-filter: blur(18px);
    }

    .ticket-border {
      border: 1px solid rgba(107,142,107,.28);
      border-radius: 28px;
      margin: 10px;
      padding-bottom: 18px;
      overflow: hidden;
    }

    .gold-header-strip {
      background: rgba(255,255,255,.72);
      color: var(--ink);
      padding: 18px 30px;
      border-radius: 24px 24px 0 0;
      border-bottom: 1px solid rgba(107,142,107,.22);
      font-size: 1rem;
      backdrop-filter: blur(12px);
    }

    .gold-header-strip span:first-child {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--accent);
    }

    .gold-header-strip span:last-child {
      color: #2e7d32;
      background: rgba(107,142,107,.12);
      border: 1px solid rgba(107,142,107,.26);
      border-radius: 999px;
      padding: 8px 14px;
      letter-spacing: 1px;
      font-size: .82rem;
    }

    .hero-ticket {
      grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
      gap: 28px;
      align-items: stretch;
      padding: 34px;
      border-bottom: 0;
      background:
        radial-gradient(circle at 8% 15%, rgba(238,188,31,.22), transparent 24%),
        linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.22));
    }

    .hero-info {
      padding: 24px 10px 24px 8px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-width: 0;
    }

    .hero-info > div[style],
    .hero-info > h1,
    .hero-info > p[style],
    .plane-stamp {
      display: none;
    }

    .modern-hero-copy {
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-width: 0;
    }

    .hero-kicker {
      font-family: var(--font-mono);
      color: var(--accent);
      font-weight: 700;
      margin-bottom: 14px;
      letter-spacing: 2px;
      font-size: .82rem;
      text-transform: uppercase;
    }

    .hero-info h1 {
      font-family: var(--font-serif);
      font-size: clamp(2.65rem, 6vw, 5.15rem);
      line-height: .92;
      letter-spacing: 0;
      text-transform: none;
      max-width: 620px;
      margin-bottom: 18px;
    }

    .hero-lead {
      max-width: 540px;
      margin: 0 0 24px;
      font-family: var(--font-serif);
      font-size: clamp(1.05rem, 2vw, 1.32rem);
      font-style: italic;
      line-height: 1.55;
      color: #5a3e36;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 4px;
    }

    .hero-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-height: 50px;
      padding: 14px 22px;
      border-radius: 999px;
      text-decoration: none;
      font-family: var(--font-mono);
      font-weight: 700;
      font-size: .9rem;
      transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    }

    .hero-btn.primary {
      background: var(--accent);
      color: #fff;
      box-shadow: 0 12px 26px rgba(211,84,0,.28);
    }

    .hero-btn.secondary {
      background: rgba(255,255,255,.78);
      color: var(--ink);
      border: 1px solid rgba(107,142,107,.42);
    }

    .hero-btn:hover { transform: translateY(-2px); }
    .hero-btn.primary:hover { background: #b34300; }

    .hero-media {
      min-height: 500px;
      border-radius: 28px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 24px 60px rgba(62,39,35,.22);
      background: var(--ink);
      isolation: isolate;
    }

    .hero-media img {
      width: 100%;
      height: 100%;
      min-height: 500px;
      object-fit: cover;
      display: block;
      filter: saturate(1.02) contrast(1.03);
    }

    .hero-media::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(to top, rgba(62,39,35,.72), rgba(62,39,35,0) 52%),
        linear-gradient(135deg, rgba(211,84,0,.12), rgba(107,142,107,.08));
      z-index: 1;
      pointer-events: none;
    }

    .travel-card {
      position: absolute;
      left: 18px;
      right: 18px;
      bottom: 18px;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 14px 16px;
      border-radius: 18px;
      color: #fff;
      background: rgba(62,39,35,.78);
      border: 1px solid rgba(255,255,255,.24);
      backdrop-filter: blur(8px);
    }

    .travel-card span {
      display: block;
      font-family: var(--font-mono);
      font-size: .68rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: rgba(255,255,255,.72);
    }

    .travel-card strong {
      display: block;
      font-family: var(--font-serif);
      font-size: 1.25rem;
      line-height: 1.1;
      color: #fff;
    }

    nav {
      padding: 0 34px 28px;
      background: transparent;
      border-bottom: 1px solid rgba(107,142,107,.22);
    }

    nav a {
      padding: 11px 18px;
      border-radius: 999px;
      border: 1px solid rgba(107,142,107,.22);
      background: rgba(255,255,255,.7);
    }

    .content-area { padding: 34px 36px 12px; }

    .gallery-hub { padding: 8px 0 28px; }

    .gallery-hub h2,
    .upload-panel h2 {
      margin: 0 0 8px;
      color: var(--ink);
      font-family: var(--font-serif);
      font-size: 2rem;
      line-height: 1.15;
      letter-spacing: 0;
    }

    .gallery-hub > p,
    .upload-panel > p { margin: 0 0 24px; color: #6f5a50; }

    .gallery-choice-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .gallery-choice {
      display: grid;
      grid-template-columns: 150px minmax(0, 1fr);
      min-height: 150px;
      overflow: hidden;
      color: var(--ink);
      text-decoration: none;
      border: 1px solid rgba(197,160,101,.34);
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 12px 28px rgba(62,39,35,.08);
      transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    }

    .gallery-choice:hover,
    .gallery-choice:focus-visible {
      transform: translateY(-3px);
      border-color: var(--accent);
      box-shadow: 0 16px 34px rgba(62,39,35,.14);
      outline: none;
    }

    .gallery-choice img {
      width: 100%;
      height: 100%;
      min-height: 150px;
      object-fit: cover;
    }

    .gallery-choice-copy {
      display: flex;
      min-width: 0;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      gap: 7px;
      padding: 20px;
    }

    .gallery-choice-copy i { color: var(--accent); font-size: 1.15rem; }
    .gallery-choice-copy strong { font-family: var(--font-serif); font-size: 1.28rem; line-height: 1.2; }
    .gallery-choice-copy span { color: #76635a; font-size: .9rem; line-height: 1.45; }
    .gallery-choice-copy small {
      color: var(--accent);
      font-family: var(--font-mono);
      font-size: .72rem;
      font-weight: 700;
    }

    .gallery-choice.upload-choice { border-color: rgba(211,84,0,.35); background: #fff8f3; }

    .upload-choice-visual {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 150px;
      color: #fff;
      background: var(--accent);
      font-size: 2.4rem;
    }

    .upload-panel {
      max-width: 720px;
      margin: 8px auto 28px;
      padding: 30px;
      border: 1px solid rgba(197,160,101,.34);
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 16px 40px rgba(62,39,35,.09);
    }

    .upload-dropzone {
      display: flex;
      min-height: 190px;
      cursor: pointer;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 10px;
      padding: 24px;
      border: 2px dashed rgba(107,142,107,.45);
      border-radius: 8px;
      color: #6f5a50;
      text-align: center;
      background: #fdfbf7;
    }

    .upload-dropzone:hover { border-color: var(--accent); }
    .upload-dropzone i { color: var(--accent); font-size: 2rem; }
    .upload-dropzone strong { color: var(--ink); font-family: var(--font-mono); }
    .upload-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }

    .upload-submit {
      display: inline-flex;
      min-height: 48px;
      margin-top: 18px;
      padding: 0 22px;
      cursor: pointer;
      align-items: center;
      justify-content: center;
      gap: 9px;
      border: 0;
      border-radius: 8px;
      color: #fff;
      background: var(--accent);
      font-family: var(--font-mono);
      font-weight: 700;
    }

    .upload-notice { margin-bottom: 18px; padding: 12px 14px; border-left: 4px solid var(--border-green); color: #365b36; background: #f1f7f1; }
    .upload-notice.error { border-color: var(--alert-red); color: #84261d; background: #fff3f1; }

    .gallery-toast {
      position: fixed;
      right: 20px;
      bottom: 20px;
      z-index: 2000;
      max-width: min(360px, calc(100vw - 32px));
      padding: 12px 16px;
      border-radius: 8px;
      color: #fff;
      background: #3e2723;
      box-shadow: 0 12px 32px rgba(0,0,0,.22);
      font-family: var(--font-sans);
    }

    .photo-section {
      border-radius: 26px;
      border: 1px solid rgba(197,160,101,.24);
      background: rgba(255,255,255,.78);
      box-shadow: 0 16px 42px rgba(62,39,35,.08);
      padding: 28px;
      margin-bottom: 24px;
      overflow: hidden;
    }

    .photo-section h3 {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: clamp(1.6rem, 3vw, 2.25rem);
      line-height: 1.08;
      margin: 0 0 8px;
    }

    .photo-section h3 i {
      width: 46px;
      height: 46px;
      border-radius: 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(211,84,0,.1);
      color: var(--accent);
      font-size: 1.05rem;
      flex: 0 0 auto;
    }

    .photo-section p {
      color: #6f5a50;
      max-width: 760px;
      line-height: 1.65;
      margin-bottom: 20px;
    }

    .photo-section > h3,
    .photo-section > p {
      display: none;
    }

    .section-intro h3,
    .section-intro p {
      display: flex;
    }

    .section-intro p {
      display: block;
    }

    .gallery-grid {
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 18px;
    }

    .gallery-card {
      border-radius: 20px;
      border: 1px solid rgba(197,160,101,.24);
      background: rgba(253,251,247,.9);
      box-shadow: 0 12px 30px rgba(62,39,35,.08);
    }

    .gallery-img-wrap { aspect-ratio: 4 / 5; }

    .gallery-filename {
      display: flex;
      min-width: 0;
      height: 34px;
      padding: 0 12px;
      align-items: center;
      gap: 7px;
      color: #76635a;
      background: rgba(255,255,255,.88);
      border-top: 1px solid rgba(107,142,107,.12);
      font-family: var(--font-mono);
      font-size: .7rem;
    }

    .gallery-filename i {
      flex: 0 0 auto;
      color: var(--accent);
    }

    .gallery-filename span {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .gallery-empty {
      display: flex;
      min-height: 200px;
      align-items: center;
      justify-content: center;
      border: 2px dashed var(--gold-band);
      border-radius: 8px;
      background: #fdfbf7;
    }

    .gallery-empty p {
      margin: 0;
      color: var(--ink);
      text-align: center;
      font-family: var(--font-mono);
      font-style: italic;
    }

    .legacy-hero-kicker { font-family: var(--font-mono); color: var(--accent); font-weight: 700; margin-bottom: 5px; }
    .legacy-hero-quote { margin-top: 20px; font-family: var(--font-serif); font-size: 1.1rem; font-style: italic; }
    .site-footer { padding: 20px; color: #777; text-align: center; font-family: var(--font-mono); font-size: .8rem; }

    .gallery-actions {
      padding: 12px;
      background: rgba(255,255,255,.88);
      border-top: 1px solid rgba(107,142,107,.16);
    }

    nav a.active {
      color: #fff;
      background: var(--accent);
      border-color: var(--accent);
    }

    .gallery-pagination {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 28px;
      padding: 22px 0 0;
      border: 0;
      border-top: 1px solid rgba(107,142,107,.18);
      background: transparent;
    }

    .gallery-pagination .pagination-summary {
      flex-basis: 100%;
      margin-bottom: 4px;
      color: var(--ink);
      text-align: center;
      font-family: var(--font-mono);
      font-weight: 700;
    }

    .pagination-summary small {
      margin-left: 8px;
      color: #806d64;
      font-family: var(--font-sans);
      font-weight: 400;
    }

    .gallery-pagination a,
    .pagination-page,
    .pagination-arrow,
    .pagination-ellipsis {
      display: inline-flex;
      width: 40px;
      height: 40px;
      align-items: center;
      justify-content: center;
      padding: 0;
      border: 1px solid rgba(107,142,107,.28);
      border-radius: 8px;
      color: var(--ink);
      background: #fff;
      text-decoration: none;
      font-family: var(--font-mono);
      font-weight: 700;
    }

    .gallery-pagination a:hover,
    .pagination-page.current {
      color: #fff;
      background: var(--accent);
      border-color: var(--accent);
    }

    .pagination-arrow.disabled { opacity: .35; }

    .pagination-ellipsis {
      border-color: transparent;
      background: transparent;
    }

    .like-btn, .comment-btn, .download-btn {
      min-height: 36px;
      border-radius: 999px;
      background: #fff;
      border-color: rgba(107,142,107,.24);
    }

    .modal-card {
      border-radius: 24px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.6);
    }

    .modal-head {
      background: rgba(253,251,247,.94);
    }

    .modal-footer {
      background: rgba(253,251,247,.94);
    }

    @media (max-width: 700px) {
      html, body { max-width: 100%; overflow-x: hidden; }
      body { padding: 10px 6px; }
      .wrap { width: 100%; max-width: 100%; overflow: hidden; }
      .ticket-container { width: 100%; max-width: calc(100vw - 12px); border-radius: 22px; }
      .ticket-border { margin: 5px; border-radius: 18px; }
      .gold-header-strip { font-size: 1rem; padding: 10px 15px; flex-direction: column; gap:8px; text-align: center; border-radius: 14px 14px 0 0;}
      .hero-ticket { grid-template-columns: minmax(0, 1fr); text-align: center; padding: 24px 12px; gap: 22px; overflow: hidden; }
      .hero-info { align-items: center; padding: 18px 0 0; }
      .hero-kicker { font-size: .72rem; letter-spacing: 1.6px; }
      .hero-info h1 { font-size: clamp(1.9rem, 9.6vw, 2.35rem); max-width: 300px; }
      .hero-lead { font-size: .95rem; max-width: 285px; }
      .hero-actions { width: 100%; justify-content: center; flex-direction: column; align-items: center; }
      .hero-btn { width: min(100%, 285px); justify-content: center; }
      .hero-media, .hero-media img { min-height: 300px; max-width: 100%; }
      .travel-card { left: 14px; right: 14px; align-items: flex-start; flex-direction: column; gap: 10px; text-align: left; }
      nav {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        padding: 16px 10px 18px;
        gap: 8px;
      }
      nav a {
        min-width: 0;
        font-size: .78rem;
        padding: 10px 8px;
        text-align: center;
        overflow-wrap: anywhere;
      }
      .content-area { padding: 24px 14px 6px; }
      .gallery-choice-grid { grid-template-columns: minmax(0, 1fr); }
      .gallery-choice { grid-template-columns: 108px minmax(0, 1fr); min-height: 128px; }
      .gallery-choice img, .upload-choice-visual { min-height: 128px; }
      .gallery-choice-copy { padding: 16px; }
      .gallery-choice-copy strong { font-size: 1.08rem; }
      .gallery-choice-copy span { font-size: .82rem; }
      .gallery-hub h2, .upload-panel h2 { font-size: 1.65rem; }
      .upload-panel { padding: 22px 14px; }
      .photo-section { width: 100%; max-width: 100%; min-width: 0; padding: 22px 14px; border-radius: 22px; }
      .photo-section h3 { flex-direction: column; text-align: center; font-size: 1.55rem; }
      .photo-section p { text-align: center; font-size: .92rem; max-width: 285px; margin-left: auto; margin-right: auto; }
      .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
      .gallery-pagination { display: flex; padding: 20px 0 0; }
      .gallery-pagination .pagination-summary { display: block; }
      .gallery-pagination a, .pagination-page, .pagination-arrow, .pagination-ellipsis { width: 36px; height: 36px; }
      .gallery-img-wrap { aspect-ratio: 4 / 4.7; }
      .gallery-actions { justify-content: center; }
      .modal-card { max-height: 92vh; }
      .lightbox-close-btn { top: 0px; right: 0px; width: 36px; height: 36px; font-size: 1.5rem; }
      .lightbox-nav { width: 36px; height: 36px; font-size: 1rem; }
    }
