@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Noto+Sans+JP:wght@400;500;700;900&display=swap");
:root {
  --font-display: 'Dela Gothic One', cursive;
  --font-body: 'Noto Sans JP', "ヒラギノ角ゴPro W3", "Hiragino Kaku Gothic Pro", sans-serif;
  --bg-a: #1b0c3f;
  --bg-b: #4b0e6b;
  --bg-c: #0d1b4b;
  --bg-d: #6a0f6e;
  --card-bg: #fffdf8;
  --text-main: #1b0c3f;
  --text-sub: #6b5f8a;
  --white: #ffffff;
}

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

html {
  font-size: 62.5%;
}

body {
  background: linear-gradient(120deg, var(--bg-a), var(--bg-b), var(--bg-c), var(--bg-d));
  background-size: 400% 400%;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1.6;
  min-height: 100vh;
  animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }
}
.page-blobs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.page-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(6rem);
  opacity: 0.55;
  mix-blend-mode: screen;
}

.page-blob--1 {
  width: 34rem;
  height: 34rem;
  background: #ff3b7a;
  top: -10rem;
  left: -8rem;
  animation: floatA 14s ease-in-out infinite;
}

.page-blob--2 {
  width: 28rem;
  height: 28rem;
  background: #29e0e0;
  bottom: -8rem;
  right: -6rem;
  animation: floatB 16s ease-in-out infinite;
}

.page-blob--3 {
  width: 24rem;
  height: 24rem;
  background: #ffd23f;
  top: 42vh;
  right: 10vw;
  animation: floatC 12s ease-in-out infinite;
}

@keyframes floatA {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(2rem, 3rem);
  }
}
@keyframes floatB {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-2.5rem, -2rem);
  }
}
@keyframes floatC {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(1.5rem, -2.5rem) scale(1.08);
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-blob--1, .page-blob--2, .page-blob--3 {
    animation: none;
  }
}
.page-header {
  position: relative;
  padding: 4.5rem 2rem 3rem;
  text-align: center;
}

.page-eyebrow {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.3rem;
  color: #ffd23f;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.4rem);
  margin: 1rem 0;
  text-shadow: 0.3rem 0.3rem 0 rgba(0, 0, 0, 0.25);
}

.page-note {
  max-width: 50rem;
  margin: 0 auto;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.85);
}

.page-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 1.6rem;
}

.page-nav a {
  color: var(--white);
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  border-bottom: 0.2rem solid rgba(255, 255, 255, 0.4);
  padding-bottom: 0.1rem;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.page-nav a:hover,
.page-nav a:focus-visible {
  border-color: #ffd23f;
}

.page-footer {
  text-align: center;
  padding: 3rem 2rem 5rem;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
}

.gallery-main {
  padding: 1rem 0 6rem;
}

.gallery-empty {
  max-width: 50rem;
  margin: 2rem auto;
  padding: 2rem;
  text-align: center;
  background: rgba(10, 4, 30, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
}

.masonry-viewport {
  position: relative;
  height: min(70vh, 62rem);
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0, #000 2.4rem, #000 calc(100% - 2.4rem), transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 2.4rem, #000 calc(100% - 2.4rem), transparent 100%);
}

@media (min-width: 900px) {
  .masonry-viewport {
    height: min(80vh, 78rem);
  }
}
@media (max-width: 480px) {
  .masonry-viewport {
    height: min(75vh, 56rem);
  }
}
.masonry-columns {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 0 1.2rem;
}

@media (min-width: 900px) {
  .masonry-columns {
    max-width: 140rem;
    margin: 0 auto;
    padding: 0 2rem;
  }
}
.masonry-batch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 10rem;
  grid-auto-flow: dense;
  gap: 1.2rem;
}

@media (min-width: 900px) {
  .masonry-batch {
    grid-template-columns: repeat(5, 1fr);
  }
}
.masonry-tile {
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: none;
  border-radius: 0.8rem;
  overflow: hidden;
  cursor: pointer;
  background: var(--card-bg);
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.2s ease;
}

.masonry-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.masonry-tile:hover,
.masonry-tile:focus-visible {
  box-shadow: 0 0.7rem 1.8rem rgba(0, 0, 0, 0.5);
  outline: none;
}

.masonry-tile:focus-visible {
  outline: 0.25rem solid var(--white);
  outline-offset: -0.25rem;
}

.masonry-tile--wide {
  grid-column: span 2;
}

.masonry-tile--tall {
  grid-row: span 2;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 2, 15, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  min-height: 0;
  border-radius: 0.8rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-uploader {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  text-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.lightbox-nav--prev {
  left: 1.6rem;
}

.lightbox-nav--next {
  right: 1.6rem;
}

@media (max-width: 600px) {
  .lightbox-nav {
    width: 4rem;
    height: 4rem;
    font-size: 2.1rem;
  }
  .lightbox-nav--prev {
    left: 0.6rem;
  }
  .lightbox-nav--next {
    right: 0.6rem;
  }
}
.upload-main {
  max-width: 60rem;
  margin: 0 auto;
  padding: 1rem 2rem 6rem;
}

.uploader-field {
  margin-bottom: 2rem;
}

.uploader-field label {
  display: block;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.uploader-field input[type=text] {
  width: 100%;
  font: inherit;
  font-size: 1.4rem;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(10, 4, 30, 0.35);
  color: var(--white);
}

.uploader-field input[type=text]:focus-visible {
  outline: 0.2rem solid #ffd23f;
  outline-offset: 0.1rem;
}

.uploader-hint {
  font-size: 1.1rem;
  color: var(--text-sub);
  margin-top: 0.5rem;
}

.uploader-error {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ff6b8b;
  margin-top: 0.5rem;
}

.drop-zone {
  border: 0.25rem dashed rgba(255, 255, 255, 0.4);
  border-radius: 1.6rem;
  padding: 4rem 2rem;
  text-align: center;
  cursor: pointer;
  background: rgba(10, 4, 30, 0.25);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.drop-zone:hover,
.drop-zone:focus-visible,
.drop-zone.is-dragover {
  border-color: #ffd23f;
  background: rgba(10, 4, 30, 0.4);
  outline: none;
}

.drop-zone-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.drop-zone-text {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.6;
}

.drop-zone-text span {
  color: #ffd23f;
  text-decoration: underline;
}

.drop-zone-sub {
  margin-top: 0.8rem;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
}

.pending-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.pending-item {
  position: relative;
  background: var(--card-bg);
  color: var(--text-main);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.25);
}

.pending-thumb {
  width: 100%;
  height: 11rem;
  background: #eee7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  overflow: hidden;
}

.pending-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pending-info {
  padding: 0.8rem 1rem 1rem;
}

.pending-name {
  font-size: 1.2rem;
  font-weight: 700;
  word-break: break-all;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.pending-meta {
  font-size: 1.1rem;
  color: var(--text-sub);
  margin-top: 0.2rem;
}

.pending-status {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0.4rem;
}

.pending-item[data-status=done] .pending-status {
  color: #1f9d55;
}

.pending-item[data-status=error] .pending-status {
  color: #e0335c;
}

.pending-progress {
  height: 0.5rem;
  border-radius: 0.3rem;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-top: 0.6rem;
}

.pending-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff3b7a, #ffd23f);
  transition: width 0.15s ease;
}

.pending-item[data-status=pending] .pending-progress {
  display: none;
}

.pending-item[data-status=done] .pending-progress-bar {
  background: #1f9d55;
}

.pending-item[data-status=error] .pending-progress-bar {
  background: #e0335c;
}

@media (prefers-reduced-motion: reduce) {
  .pending-progress-bar {
    transition: none;
  }
}
.pending-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: none;
  background: rgba(27, 12, 63, 0.75);
  color: var(--white);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.pending-remove:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.upload-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2rem;
}

.btn-primary,
.btn-secondary {
  font: inherit;
  font-weight: 900;
  padding: 1rem 2.4rem;
  border-radius: 2rem;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
}

.btn-primary {
  background: #ffd23f;
  color: var(--text-main);
  box-shadow: 0 0.5rem 1.4rem rgba(255, 210, 63, 0.35);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.upload-summary {
  margin-top: 1.6rem;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.7;
}

.upload-summary a {
  color: #ffd23f;
  font-weight: 700;
}

.roll-main {
  padding: 1rem 2rem 6rem;
  max-width: 78rem;
  margin: 0 auto;
}

.roll-empty {
  max-width: 50rem;
  margin: 2rem auto;
  padding: 2rem;
  text-align: center;
  background: rgba(10, 4, 30, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
}

.roll-sections {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.roll-section-label {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #ffd23f;
  margin-bottom: 0.8rem;
}

.roll-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  gap: 0.3rem;
}

.roll-cell {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border: none;
  overflow: hidden;
  cursor: pointer;
  background: var(--card-bg);
  border-radius: 0.4rem;
}

.roll-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.roll-cell:hover img,
.roll-cell:focus-visible img {
  transform: scale(1.06);
}

.roll-cell img {
  transition: transform 0.25s ease;
}

.roll-cell:focus-visible {
  outline: 0.25rem solid var(--white);
  outline-offset: -0.25rem;
}

.roll-badge {
  position: absolute;
  right: 0.35rem;
  bottom: 0.35rem;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: rgba(10, 4, 30, 0.65);
  border: 0.25rem solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  pointer-events: none;
}

@media (max-width: 480px) {
  .roll-grid {
    grid-template-columns: repeat(auto-fill, minmax(6.4rem, 1fr));
    gap: 0.2rem;
  }
  .roll-badge {
    width: 1.6rem;
    height: 1.6rem;
    font-size: 0.8rem;
  }
}
.mine-main {
  max-width: 60rem;
  margin: 0 auto;
  padding: 1rem 2rem 6rem;
}

.mine-empty {
  max-width: 50rem;
  margin: 2rem auto;
  padding: 2rem;
  text-align: center;
  background: rgba(10, 4, 30, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
}

.mine-status {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffd23f;
  min-height: 1.6rem;
}

.mine-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1.2rem;
}

.mine-item {
  background: var(--card-bg);
  color: var(--text-main);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.25);
}

.mine-thumb {
  width: 100%;
  height: 12rem;
  background: #eee7fb;
  overflow: hidden;
}

.mine-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mine-info {
  padding: 0.8rem 1rem 1rem;
}

.mine-date {
  font-size: 1.1rem;
  color: var(--text-sub);
  margin-bottom: 0.6rem;
}

.mine-uploader {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.mine-uploader-dot {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  flex: none;
}

.mine-error {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e0335c;
  margin-bottom: 0.6rem;
}

.mine-delete {
  width: 100%;
  font: inherit;
  font-weight: 900;
  padding: 0.8rem 1.2rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(224, 51, 92, 0.6);
  background: rgba(224, 51, 92, 0.15);
  color: #ff8fa8;
  cursor: pointer;
}

.mine-delete:hover,
.mine-delete:focus-visible {
  background: rgba(224, 51, 92, 0.3);
}

.mine-delete:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/*# sourceMappingURL=gallery.css.map */
