/* Ireland upload page — extends ireland.css */

.upload-page .hero--compact { padding: 2.2rem 1rem 1rem; }
.upload-back { margin-top: .4rem; opacity: .8; }
.upload-back a { color: inherit; text-decoration: underline; }

.upload-content { max-width: 760px; margin: 0 auto; padding: 1rem; }

.up-card {
  background: rgba(20, 32, 26, 0.72);
  border: 1px solid rgba(140, 200, 170, 0.18);
  border-radius: 18px;
  padding: 1.4rem 1.4rem 1.6rem;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(8px);
}
.up-card h2 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  margin: 0 0 .8rem;
  color: #f0e8d4;
  font-size: 1.4rem;
}
.up-label {
  display: block;
  margin-bottom: .8rem;
  font-size: .9rem;
  color: #c9d6c9;
  font-weight: 500;
}
.up-label input {
  display: block;
  width: 100%;
  margin-top: .35rem;
  padding: .7rem .9rem;
  font: inherit;
  font-size: 1rem;
  background: rgba(8, 16, 12, 0.5);
  color: #f4eedd;
  border: 1px solid rgba(140, 200, 170, 0.25);
  border-radius: 10px;
}
.up-label input:focus {
  outline: none;
  border-color: #6ab896;
  box-shadow: 0 0 0 3px rgba(106, 184, 150, 0.2);
}
.up-hint { font-size: .8rem; color: #9eb09e; margin: .3rem 0 0; }

/* Drop zone */
.dropzone {
  border: 2px dashed rgba(140, 200, 170, 0.4);
  border-radius: 14px;
  padding: 2.4rem 1rem;
  text-align: center;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.dropzone:hover, .dropzone.dz--over {
  background: rgba(106, 184, 150, 0.08);
  border-color: #6ab896;
}
.dz-big { font-size: 1.6rem; margin: 0 0 .4rem; color: #f0e8d4; }
.dz-sub { font-size: .9rem; color: #9eb09e; margin: 0; line-height: 1.5; }

/* Queue */
.queue { display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1rem; }
.qrow {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .6rem;
  padding: .65rem .85rem;
  background: rgba(8, 16, 12, 0.4);
  border: 1px solid rgba(140, 200, 170, 0.15);
  border-radius: 10px;
  font-size: .9rem;
}
.qmeta { min-width: 0; }
.qname {
  display: block;
  color: #f4eedd;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qsize { color: #889a89; font-size: .8rem; }

.badge {
  font-size: .78rem;
  padding: .25rem .55rem;
  border-radius: 6px;
  white-space: nowrap;
}
.badge.ok   { background: #2a5a3e; color: #cdf2db; }
.badge.dup  { background: #4a4030; color: #f0d9a0; }
.badge.err  { background: #5a2828; color: #ffd0d0; }
.badge.up   { background: #275a6e; color: #cae8f5; }
.badge.pend { background: #3a3a3a; color: #ccc; }

.qbar {
  grid-column: 1 / -1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.qbar-fill { height: 100%; background: #6ab896; transition: width .12s linear; }

.qrow--done   { border-color: rgba(106, 184, 150, 0.4); }
.qrow--err    { border-color: rgba(220, 100, 100, 0.4); }
.qrow--dup    { border-color: rgba(220, 180, 80, 0.3); }

.queue-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: .4rem;
  font-size: .85rem;
  color: #9eb09e;
}
.queue-foot .btn-primary { white-space: nowrap; }

.up-fineprint {
  font-size: .78rem;
  color: #7a8c7a;
  text-align: center;
  margin: 1.4rem 1rem;
  line-height: 1.5;
}


/* ── Memories landing page ────────────────────────────────────── */
.mem-content { max-width: 920px; margin: 0 auto; padding: 1rem; }

.mem-choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.2rem 0 2rem;
}
@media (min-width: 720px) {
  .mem-choices { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
}

.mem-choice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.4rem;
  background: rgba(20, 32, 26, 0.72);
  border: 1px solid rgba(140, 200, 170, 0.22);
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  backdrop-filter: blur(8px);
}
.mem-choice:hover {
  transform: translateY(-2px);
  border-color: #6ab896;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}
.mem-choice--primary {
  background: linear-gradient(135deg, rgba(232,119,34,0.18), rgba(106,184,150,0.10));
  border-color: rgba(232,119,34,0.45);
}
.mem-choice--primary:hover { border-color: #e87722; }
.mem-choice-icon { font-size: 2.4rem; line-height: 1; }
.mem-choice-text h2 {
  margin: 0 0 .25rem;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: #f4eedd;
}
.mem-choice-text p { margin: 0; font-size: .9rem; color: #b8c7b8; line-height: 1.4; }
.mem-choice-arrow { font-size: 1.6rem; color: #6ab896; }

/* Recent uploads grid */
.mem-recent { margin: 2.4rem 0 1.6rem; }
.mem-recent-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: .8rem;
  flex-wrap: wrap; gap: .4rem;
}
.mem-recent-h {
  font-family: "Fraunces", serif;
  font-weight: 600;
  margin: 0;
  color: #f0e8d4;
  font-size: 1.3rem;
}
.mem-recent-count { font-size: .82rem; color: #889a89; }

.mem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .5rem;
}
.mem-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: #14201a;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #f4eedd;
}
.mem-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s;
}
.mem-tile:hover img { transform: scale(1.04); }
.mem-tile-vid, .mem-tile-plain {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-size: 2rem;
  color: #6ab896;
}
.mem-tile-vid span, .mem-tile-plain span {
  display: block;
  font-size: .65rem; color: #889a89;
  margin-top: .4rem;
  padding: 0 .4rem;
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 95%;
}
.mem-tile-badge {
  position: absolute;
  top: .35rem; right: .4rem;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: .7rem;
  padding: .15rem .4rem;
  border-radius: 4px;
}
.mem-tile-stop {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: .35rem .5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  font-size: .7rem;
  color: #f4eedd;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.mem-empty {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(20, 32, 26, 0.5);
  border: 1px dashed rgba(140, 200, 170, 0.2);
  border-radius: 14px;
  color: #889a89;
  margin: 1rem 0;
}

.mem-soon {
  margin: 2.5rem 0 1.5rem;
  padding: 1.2rem 1.4rem;
  background: rgba(20, 32, 26, 0.45);
  border: 1px solid rgba(140, 200, 170, 0.12);
  border-radius: 14px;
}
.mem-soon h3 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  margin: 0 0 .6rem;
  color: #f0e8d4;
  font-size: 1.1rem;
}
.mem-soon ul { margin: 0; padding-left: 1.2rem; color: #b8c7b8; font-size: .9rem; line-height: 1.6; }
.mem-soon b { color: #f4eedd; }
