:root {
  color-scheme: dark;

  --bg: #050505;
  --text: #f5f5f5;
  --muted: #8f8f8f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --app-height: 100dvh;
}


* {
  box-sizing: border-box;
}


html,
body {
  margin: 0;
  padding: 0;

  width: 100%;
  min-height: 100%;

  background: var(--bg);
  color: var(--text);

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


body {
  min-height: 100vh;
}


button,
input,
select,
textarea {
  font: inherit;
}


button,
a {
  -webkit-tap-highlight-color: transparent;
}


button {
  color: inherit;
}


a {
  color: inherit;
  text-decoration: none;
}


.is-hidden {
  display: none !important;
}


/* ========================================================
HOME
======================================================== */

.page-home {
  background: var(--bg);

  /*
    100dvh는 "지금 이 순간" 뷰포트 높이라 사파리 주소창이 계속 떠있는
    상황(자동으로 안 접힘)을 못 잡아냅니다. 100svh는 브라우저 UI가
    가장 많이 펼쳐진 최악의 경우를 기준으로 계산되는 단위라, 주소창이
    항상 떠있어도 그 영역을 안전하게 제외해줍니다. 지원 안 하는
    구형 브라우저는 앞줄의 100vh로 자연스럽게 대체됩니다.
  */
  height: 100vh;
  height: 100dvh;
  height: 100svh;

  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;

  overflow: hidden;
}


.home-shell {
  width: min(720px, 100%);

  height: 100%;

  margin: 0 auto;

  display: flex;

  flex-direction: column;

  padding:
    max(22px, env(safe-area-inset-top))
    20px
    0;
}


.home-header {
  flex: none;

  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 24px;
}


.brand-kicker {
  display: none;

  margin: 0 0 8px;

  color: var(--muted);

  font-size: 11px;
  font-weight: 600;
}


.brand-logo-image {
  display: block;

  height: 40px;

  margin: 12px 0 10px;

  object-fit: contain;
}


/* 로고 이미지가 비동기로 도착해도 제목이 위아래로 움직이지 않도록
   첫 렌더링부터 로고의 최종 공간을 확보합니다. */
.page-home .home-header > div:first-child {
  position: relative;
  padding-top: 62px;
}

.page-home .brand-logo-image {
  position: absolute;
  top: 12px;
  left: 0;
  margin: 0;
}


.home-title {
  margin: 0;

  font-size:
    clamp(
      34px,
      8vw,
      54px
    );

  font-weight: 620;

  letter-spacing: -0.055em;
  line-height: 1.02;
}


.admin-link {
  padding-top: 2px;

  color: var(--muted);

  font-size: 11px;

  opacity: 0.65;
}


.home-intro {
  flex: none;

  width: min(430px, 100%);

  margin-top: 16px;
  margin-bottom: 28px;
}


.home-intro p {
  margin: 0;

  color: var(--muted);

  font-size: 12px;
  line-height: 1.6;
}


/*
  목록만 이 안에서 스크롤됩니다. 헤더/인트로/배너는 화면에 고정되어
  있어서, 목록이 아무리 길어져도 배너가 항목을 가리는 일이 없습니다.
*/
.event-section {
  flex: 1;

  max-width: 100%;

  min-height: 0;

  margin-bottom:
    calc(
      93px +
      env(safe-area-inset-bottom)
    );

  overflow-x: hidden;
  overscroll-behavior-x: none;

  overflow-y: auto;

  -webkit-overflow-scrolling: touch;

  border-top:
    1px solid
    var(--line);
}


.event-list {
  display: grid;

  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;

  padding-bottom:
    max(
      32px,
      calc(env(safe-area-inset-bottom) + 20px)
    );
}


.event-card {
  display: block;

  max-width: 100%;

  padding: 20px 0;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.06);
}


.event-card-top {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 18px;
}


.event-card h2 {
  margin: 0;

  font-size: 17px;
  font-weight: 560;
}


.event-card p {
  margin: 6px 0 0;

  color: var(--muted);

  font-size: 11px;
}


.event-arrow {
  display: flex;

  align-items: center;

  color: rgba(255, 255, 255, 0.32);
}


.event-chevron {
  display: block;
}


.event-dday {
  color: rgba(255, 255, 255, 0.62);

  font-weight: 600;
}


.empty-state {
  padding: 28px 0;

  color: var(--muted);

  font-size: 12px;
}


html,
body.page-finder {
  width: 100%;
  min-height: var(--app-height);
}

body.page-finder {
  position: relative;

  overflow-x: hidden;
  overflow-y: auto;

  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.page-finder::-webkit-scrollbar {
  width: 0;
  height: 0;

  display: none;
}


/* ========================================================
FINDER
======================================================== */

.page-finder {
  width: 100%;
  min-height: var(--app-height);

  overflow-x: hidden;
  overflow-y: auto;

  background: #000;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-finder::-webkit-scrollbar {
  width: 0;
  height: 0;

  display: none;
}


.finder-app {
  position: relative;

  width: 100%;
  height: 100dvh;
  min-height: 100dvh;

  overflow-x: hidden;
  overflow-y: visible;

  background:
    radial-gradient(
      circle at 50% 40%,
      #131313 0%,
      #070707 48%,
      #000 100%
    );
}


.camera {
  position: absolute;

  inset: 0;

  z-index: 1;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;

  background: #000;

  transition:
    opacity 160ms ease;
}


.camera.is-on {
  opacity: 1;
}


/*
  전면 카메라일 때 미리보기만 좌우 반전(거울 모드)합니다.
  실제 촬영본은 <video> 프레임을 그대로 캔버스에 그리므로
  이 CSS transform과 무관하게 반전되지 않습니다.
*/
.camera.is-front {
  transform: scaleX(-1);
}


.finder-vignette {
  position: absolute;

  inset: 0;

  z-index: 2;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.48) 0%,
      rgba(0, 0, 0, 0.02) 30%,
      rgba(0, 0, 0, 0.01) 60%,
      rgba(0, 0, 0, 0.74) 100%
    );
}


.finder-header {
  position: absolute;

  z-index: 20;

  top: 0;
  left: 0;
  right: 0;

  display: grid;

  grid-template-columns:
    42px
    minmax(0, 1fr)
    42px;

  align-items: center;

  gap: 12px;

  padding:
    max(
      14px,
      env(safe-area-inset-top)
    )
    15px
    10px;
}


.finder-event-title {
  min-width: 0;

  text-align: center;
}


.finder-event-title > div {
  overflow: hidden;

  color:
    rgba(
      255,
      255,
      255,
      0.95
    );

  font-size: 14px;
  font-weight: 620;

  text-overflow: ellipsis;
  white-space: nowrap;
}


.finder-event-title small {
  display: block;

  margin-top: 3px;

  color:
    rgba(
      255,
      255,
      255,
      0.46
    );

  font-size: 10px;
}


.finder-icon-button {
  width: 42px;
  height: 42px;

  display: grid;

  place-items: center;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background:
    rgba(
      0,
      0,
      0,
      0.22
    );

  color:
    rgba(
      255,
      255,
      255,
      0.9
    );

  font-size: 17px;

  cursor: pointer;

  backdrop-filter:
    blur(12px);

  -webkit-backdrop-filter:
    blur(12px);
}


.finder-stage {
  position: absolute;

  inset: 0;

  z-index: 3;

  overflow: hidden;

  pointer-events: none;
}


#firework-layer {
  position: absolute;

  inset: 0;
}


.firework-zone {
  position: absolute;

  width: 110px;
  height: 110px;

  aspect-ratio: 1 / 1;

  transform:
    translate(
      -50%,
      -50%
    );

  pointer-events: none;
}


.firework-area {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  border:
    2px dashed
    rgba(
      255,
      138,
      0,
      0.92
    );

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(
        255,
        138,
        0,
        0.10
      )
      0%,

      rgba(
        255,
        138,
        0,
        0.035
      )
      46%,

      transparent
      72%
    );

  box-shadow:
    0 0 22px
    rgba(
      255,
      138,
      0,
      0.18
    ),
    inset 0 0 22px
    rgba(
      255,
      138,
      0,
      0.08
    );
}


.firework-center {
  position: absolute;

  left: 50%;
  top: 50%;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #ff8a00;

  transform:
    translate(
      -50%,
      -50%
    );

  box-shadow:
    0 0 0 4px
    rgba(
      255,
      138,
      0,
      0.16
    ),
    0 0 16px
    rgba(
      255,
      138,
      0,
      0.72
    );
}


.firework-label {
  position: absolute;

  left: 50%;
  top: calc(100% + 10px);

  transform:
    translateX(-50%);

  color:
    rgba(
      255,
      178,
      92,
      0.92
    );

  font-size: 10px;
  font-weight: 620;

  white-space: nowrap;
}


.offscreen-indicator {
  position: absolute;

  left: 50%;
  top: 50%;

  color:
    rgba(
      255,
      255,
      255,
      0.76
    );

  font-size: 24px;

  transform:
    translate(
      -50%,
      -50%
    );
}


.finder-bottom {
  position: absolute;

  z-index: 20;

  left: 0;
  right: 0;
  bottom: 0;

  padding:
    22px
    18px
    max(
      24px,
      env(safe-area-inset-bottom)
    );

  background:
    linear-gradient(
      180deg,
      rgba(
        0,
        0,
        0,
        0
      )
      0%,

      rgba(
        0,
        0,
        0,
        0.46
      )
      30%,

      rgba(
        0,
        0,
        0,
        0.94
      )
      100%
    );
}


.finder-reading {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 34px;

  margin-bottom: 17px;
}


.finder-reading-item {
  min-width: 0;

  text-align: center;
}


.finder-reading-item span {
  display: block;

  margin-bottom: 5px;

  color:
    rgba(
      255,
      255,
      255,
      0.38
    );

  font-size: 9px;
}


.finder-reading-item strong {
  display: block;

  color:
    rgba(
      255,
      255,
      255,
      0.94
    );

  font-size: 14px;
  font-weight: 580;

  white-space: nowrap;
}


.altitude-reading {
  appearance: none;

  margin: 0;
  padding: 0;

  border: 0;

  background: transparent;
}


.finder-start-button {
  width: 100%;

  min-height: 50px;

  border: 0;
  border-radius: 14px;

  background:
    rgba(
      255,
      255,
      255,
      0.96
    );

  color: #080808;

  font-size: 14px;
  font-weight: 680;
}


/*
  헤더(finder-header)와 동일한 42px / 1fr / 42px 3열 패턴입니다.
  좌측 스페이서와 우측 전환 버튼의 너비가 같아서 셔터 버튼이
  항상 정중앙에 위치합니다.
*/
.camera-actions {
  display: grid;

  grid-template-columns:
    42px
    minmax(0, 1fr)
    42px;

  align-items: center;

  min-height: 64px;
}


.camera-actions-spacer {
  width: 42px;
  height: 42px;
}


.camera-actions .capture-button {
  justify-self: center;
}


.camera-actions .finder-icon-button {
  justify-self: end;
}


.capture-button {
  width: 60px;
  height: 60px;

  display: grid;

  place-items: center;

  padding: 0;

  border:
    2px solid
    rgba(
      255,
      255,
      255,
      0.94
    );

  border-radius: 50%;

  background:
    rgba(
      0,
      0,
      0,
      0.08
    );
}


.capture-button span {
  width: 48px;
  height: 48px;

  display: block;

  border-radius: 50%;

  background:
    rgba(
      255,
      255,
      255,
      0.96
    );
}


.finder-status {
  min-height: 18px;

  margin: 10px 0 0;

  color:
    rgba(
      255,
      255,
      255,
      0.42
    );

  font-size: 10px;
  line-height: 1.45;

  text-align: center;
}


/* ========================================================
SHEET
======================================================== */

.bottom-sheet {
  position: fixed;

  z-index: 120;

  inset: 0;

  display: flex;

  align-items: flex-end;
  justify-content: center;
}


.bottom-sheet-backdrop {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  padding: 0;

  border: 0;

  background:
    rgba(
      0,
      0,
      0,
      0.62
    );

  backdrop-filter:
    blur(4px);

  -webkit-backdrop-filter:
    blur(4px);
}


.bottom-sheet-panel {
  position: relative;

  z-index: 2;

  width: min(
    520px,
    100%
  );

  padding:
    10px
    20px
    max(
      20px,
      env(safe-area-inset-bottom)
    );

  border-radius:
    22px
    22px
    0
    0;

  background: #111;
}


.bottom-sheet-handle {
  width: 34px;
  height: 4px;

  margin:
    0
    auto
    20px;

  border-radius: 999px;

  background:
    rgba(
      255,
      255,
      255,
      0.18
    );
}


.bottom-sheet-panel h2 {
  margin: 0 0 8px;

  font-size: 20px;
  font-weight: 650;
}


.bottom-sheet-copy {
  margin: 0 0 22px;

  color:
    rgba(
      255,
      255,
      255,
      0.48
    );

  font-size: 12px;
  line-height: 1.55;
}


.altitude-auto-row {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 16px;

  padding-bottom: 14px;

  border-bottom:
    1px solid
    var(--line);
}


.altitude-auto-row span,
.altitude-manual-field > span {
  display: block;

  margin-bottom: 4px;

  color:
    rgba(
      255,
      255,
      255,
      0.42
    );

  font-size: 10px;
}


.altitude-auto-row strong {
  font-size: 14px;
}


.altitude-manual-field {
  display: grid;

  gap: 8px;

  margin-top: 18px;
}


.altitude-manual-field input {
  width: 100%;

  min-height: 48px;

  padding: 0 14px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.10
    );

  border-radius: 12px;

  background: #181818;

  color: #fff;

  font-size: 16px;

  outline: none;
}


.sheet-primary-button {
  width: 100%;

  min-height: 48px;

  margin-top: 12px;

  border: 0;
  border-radius: 12px;

  background: #fff;

  color: #090909;

  font-size: 13px;
  font-weight: 680;
}


.sheet-secondary-button {
  min-height: 38px;

  padding: 0 12px;

  border:
    1px solid
    var(--line-strong);

  border-radius: 10px;

  background: transparent;

  color: #fff;

  font-size: 11px;
}


.sheet-secondary-button:disabled {
  opacity: 0.35;
}


.sheet-text-button {
  width: 100%;

  min-height: 42px;

  margin-top: 4px;

  border: 0;

  background: transparent;

  color:
    rgba(
      255,
      255,
      255,
      0.46
    );

  font-size: 11px;
}


/* ========================================================
PHOTO
======================================================== */

.capture-canvas {
  display: none;
}


.photo-preview {
  position: fixed;

  z-index: 140;

  inset: 0;

  overflow: hidden;

  background: #000;
}


.photo-preview-image {
  position: absolute;

  inset: 0;

  z-index: 1;

  width: 100%;
  height: 100%;

  object-fit: cover;

  background: #000;
}


.photo-preview-vignette {
  position: absolute;

  inset: 0;

  z-index: 2;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.78) 100%
    );
}


.photo-preview-actions {
  position: absolute;

  z-index: 3;

  left: 0;
  right: 0;
  bottom: 0;

  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap: 10px;

  padding:
    16px
    18px
    max(
      20px,
      env(safe-area-inset-bottom)
    );
}


.preview-secondary-button,
.preview-primary-button {
  min-height: 50px;

  border-radius: 14px;

  font-size: 13px;
  font-weight: 650;
}


.preview-secondary-button {
  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.4
    );

  background:
    rgba(
      0,
      0,
      0,
      0.3
    );

  color: #fff;

  backdrop-filter:
    blur(8px);

  -webkit-backdrop-filter:
    blur(8px);
}


.preview-primary-button {
  border: 0;

  background: #fff;

  color: #090909;
}


/* ========================================================
ADMIN BASE
======================================================== */

.page-admin {
  background: var(--bg);
}


.admin-shell {
  width: min(
    860px,
    100%
  );

  margin: 0 auto;

  padding:
    max(
      30px,
      env(safe-area-inset-top)
    )
    20px
    max(
      48px,
      env(safe-area-inset-bottom)
    );
}


.topbar {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 30px;
}


.topbar h1 {
  margin: 4px 0 0;

  font-size:
    clamp(
      30px,
      6vw,
      44px
    );
}


.eyebrow {
  margin: 0;

  color: var(--muted);

  font-size: 10px;
}


.text-link,
.text-button {
  border: 0;

  background: transparent;

  color: var(--muted);

  font-size: 11px;
}


.admin-card {
  margin-bottom: 12px;

  padding: 20px;

  border:
    1px solid
    var(--line);

  border-radius: 12px;

  background: #080808;
}


.admin-card h2 {
  margin: 0 0 18px;

  font-size: 15px;
}


.form-stack,
.form-grid {
  display: grid;

  gap: 14px;
}


.form-grid {
  grid-template-columns:
    repeat(
      2,
      minmax(
        0,
        1fr
      )
    );
}


.span-2 {
  grid-column:
    1 / -1;
}


.form-stack label,
.form-grid label {
  display: grid;

  gap: 7px;

  color: var(--muted);

  font-size: 10px;
}


input,
select,
textarea {
  width: 100%;

  border:
    1px solid
    var(--line);

  border-radius: 9px;

  background: #0d0d0d;

  color: var(--text);

  padding: 0 13px;

  font-size: 16px;

  outline: none;
}


input,
select {
  min-height: 46px;
}


textarea {
  min-height: 150px;

  padding-top: 12px;
  padding-bottom: 12px;

  resize: vertical;
}


.primary-button,
.secondary-button,
.danger-button {
  min-height: 46px;

  padding: 0 16px;

  border-radius: 9px;
}


.primary-button {
  border: 0;

  background: #f2f2f2;

  color: #080808;

  font-weight: 700;
}


.secondary-button {
  border:
    1px solid
    var(--line);

  background: transparent;
}


.danger-button {
  border:
    1px solid
    rgba(
      239,
      68,
      68,
      0.25
    );

  background: transparent;

  color: #f87171;
}


.status-text {
  min-height: 18px;

  color: var(--muted);

  font-size: 10px;

  text-align: center;
}


.admin-actions {
  display: flex;

  gap: 10px;

  margin-bottom: 14px;
}


.admin-event-row {
  width: 100%;

  display: grid;

  grid-template-columns:
    1fr
    auto;

  align-items: center;

  gap: 16px;

  padding: 15px 0;

  border: 0;

  border-bottom:
    1px solid
    var(--line);

  background: transparent;

  text-align: left;
}


.admin-event-row h3 {
  margin: 0;

  font-size: 13px;
}


.admin-event-row p {
  margin: 6px 0 0;

  color: var(--muted);

  font-size: 10px;
}


.status-pill {
  padding: 5px 8px;

  border:
    1px solid
    var(--line);

  border-radius: 999px;

  color: var(--muted);

  font-size: 9px;
}


.editor-title,
.form-actions {
  display: flex;

  align-items: center;
  justify-content: space-between;
}


.form-actions {
  justify-content: flex-start;

  gap: 10px;
}





.page-finder *,
.bottom-sheet-panel,
.photo-preview {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-finder *::-webkit-scrollbar,
.bottom-sheet-panel::-webkit-scrollbar,
.photo-preview::-webkit-scrollbar {
  width: 0;
  height: 0;

  display: none;
}

@media (orientation: landscape) {

  .finder-header {
    padding:
      max(
        10px,
        env(safe-area-inset-top)
      )
      max(
        14px,
        env(safe-area-inset-right)
      )
      8px
      max(
        14px,
        env(safe-area-inset-left)
      );
  }

  .finder-bottom {
    left: 50%;
    right: auto;

    width:
      min(
        520px,
        calc(
          100% -
          env(safe-area-inset-left) -
          env(safe-area-inset-right) -
          32px
        )
      );

    transform:
      translateX(-50%);

    padding:
      12px
      16px
      max(
        10px,
        env(safe-area-inset-bottom)
      );

    border-radius:
      20px
      20px
      0
      0;
  }

  .finder-reading {
    gap: 28px;

    margin-bottom: 10px;
  }

  .finder-start-button {
    min-height: 44px;
  }

  .camera-actions {
    min-height: 54px;
  }

  .capture-button {
    width: 52px;
    height: 52px;
  }

  .capture-button span {
    width: 42px;
    height: 42px;
  }

  .finder-status {
    margin-top: 6px;
  }
}


@media (max-width: 640px) {

  .finder-header {
    padding-left: 12px;
    padding-right: 12px;
  }

  .finder-bottom {
    padding-left: 14px;
    padding-right: 14px;
  }

  .finder-reading {
    gap: 22px;
  }

  .finder-reading-item strong {
    font-size: 13px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: auto;
  }
}


/* ========================================================
BULKKOK / MULTI LAUNCH SPOTS
======================================================== */

.launch-spots-editor {
  display: grid;

  gap: 14px;

  padding:
    16px;

  border:
    1px solid
    var(--line);

  border-radius: 12px;

  background:
    rgba(
      255,
      255,
      255,
      0.018
    );
}


.launch-spots-heading {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 16px;
}


.launch-spots-heading strong {
  display: block;

  color: var(--text);

  font-size: 12px;
  font-weight: 650;
}


.launch-spots-heading p {
  margin: 5px 0 0;

  color: var(--muted);

  font-size: 10px;
  line-height: 1.5;
}


.compact-button {
  min-height: 36px;

  padding:
    0
    12px;

  flex: 0 0 auto;

  font-size: 10px;
}


.launch-spots-list {
  display: grid;

  gap: 10px;
}


.launch-spot-card {
  padding:
    14px;

  border:
    1px solid
    var(--line);

  border-radius: 10px;

  background: #0b0b0b;
}


.launch-spot-card-head {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin-bottom: 12px;
}


.launch-spot-card-head strong {
  font-size: 11px;
  font-weight: 650;
}


.launch-spot-remove {
  padding:
    6px
    0;

  cursor: pointer;
}


.launch-spot-remove:disabled {
  opacity: 0.28;

  cursor: default;
}


.launch-spot-fields {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(
        0,
        1fr
      )
    );

  gap: 12px;
}


.launch-spot-fields label {
  display: grid;

  gap: 7px;

  color: var(--muted);

  font-size: 10px;
}


/*
  가로 화면에서도 Finder 전체가 현재 visual viewport를 기준으로 유지됩니다.
  예상 불꽃 원은 JS에서 항상 동일한 width / height를 사용하므로
  화면 회전 시에도 타원으로 찌그러지지 않습니다.
*/
.firework-zone,
.firework-area {
  aspect-ratio:
    1 / 1;
}


@media (max-width: 640px) {

  .launch-spots-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .compact-button {
    width: 100%;
  }

  .launch-spot-fields {
    grid-template-columns:
      1fr;
  }

  .launch-spot-fields .span-2 {
    grid-column:
      auto;
  }
}


/* ========================================================
GLOBAL SCROLLBAR HIDE
======================================================== */

html,
body,
* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}


/* ========================================================
HOME BANNER
======================================================== */

.home-banner {
  position: fixed;
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 40;

  width: min(680px, calc(100% - 40px));

  margin: 0;

  transform: translateX(-50%);
}


.home-banner-link {
  display: block;

  width: 100%;

  overflow: hidden;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.10
    );

  border-radius: 10px;

  background: var(--bg);
}


.home-banner-image {
  display: block;

  width: 100%;

  height: auto;
  aspect-ratio: 3.763441 / 1;

  object-fit: cover;
}


/* 이미지가 있는 경우 링크 박스가 별도 테두리 영역을 만들지 않도록
   최종 표시값을 이미지 자체에 적용합니다. */
.home-banner.has-image .home-banner-link {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.home-banner.has-image .home-banner-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3.763441 / 1;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  object-fit: cover;
  overflow: hidden;
}

@media (min-width: 641px) {
  .home-banner {
    width: min(680px, calc(100% - 40px));
    margin-left: 0;
    margin-right: 0;
  }

  .home-banner.has-image .home-banner-image {
    width: 100%;
    height: 93px;
    aspect-ratio: auto;
    object-fit: cover;
  }
}

/* ========================================================
ADMIN BANNER
======================================================== */

.admin-helper {
  margin:
    -10px
    0
    18px;

  color: var(--muted);

  font-size: 10px;

  line-height: 1.5;
}


.banner-admin-preview {
  overflow: hidden;

  border:
    1px solid
    var(--line);

  border-radius: 12px;

  background: #050505;
}


.banner-admin-preview img {
  display: block;

  width: 100%;

  max-height: 140px;

  object-fit: cover;
}


@media (max-width: 640px) {

  .home-shell {
    padding-top:
      calc(
        env(safe-area-inset-top) +
        12px
      );
  }

  .home-banner {
    width: calc(100% - 40px);
    bottom: env(safe-area-inset-bottom);
    transform: translateX(-50%);
  }

  .home-banner-image {
    width: 100%;
    height: auto;
    aspect-ratio: 3.763441 / 1;
  }
}


/* ========================================================
HOME BANNER - NO IMAGE STATE
======================================================== */

.home-banner-link {
  min-height: 0;
}


.home-banner:not(.has-image) .home-banner-link {
  display: block;

  min-height: 0;

  background: rgba(255, 255, 255, 0.03);
}


.home-banner:not(.has-image) .home-banner-image {
  display: none;
}


@media (max-width: 640px) {

  .home-banner-link,
  .home-banner:not(.has-image) .home-banner-link {
    min-height: 0;
  }
}


/* ========================================================
COUNTDOWN OVERLAY
======================================================== */

/*
  나이키 카운트다운 감성: 검정 배경, 흰색/회색만 사용.
  뒤에 실시간 카메라를 반투명하게 깔고, 그 위에 큰 숫자만 놓습니다.
  화면 전체가 탭 영역이라 별도 버튼 없이 어디를 눌러도 Finder로 이동합니다.
*/
.countdown-overlay {
  position: fixed;

  z-index: 200;

  inset: 0;

  display: flex;

  flex-direction: column;

  background: #000;

  cursor: pointer;
}


.countdown-camera {
  position: absolute;

  inset: 0;

  z-index: 1;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;

  background: #000;

  transition: opacity 200ms ease;
}


.countdown-camera.is-on {
  /* 배경은 어디까지나 장식이라 반투명하게, 숫자 가독성을 우선합니다. */
  opacity: 0.4;
}


.countdown-vignette {
  position: absolute;

  inset: 0;

  z-index: 2;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.15) 35%,
      rgba(0, 0, 0, 0.15) 65%,
      rgba(0, 0, 0, 0.7) 100%
    );
}


.countdown-body {
  position: relative;

  z-index: 3;

  flex: 1;

  min-height: 100%;

  padding: 0;
}


.countdown-event-name {
  position: absolute;

  z-index: 1;

  left: 50%;
  top: calc(50% - min(10.6vw, 14.8vh));

  width: min(92vw, 720px);
  margin: 0;

  transform: translate(-50%, -100%);

  overflow: hidden;

  color: rgba(255, 255, 255, 0.94);

  font-size: clamp(20px, 5vw, 30px);
  font-weight: 650;

  letter-spacing: 0.06em;
  text-transform: uppercase;

  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.countdown-share-button {
  position: absolute;

  z-index: 4;

  top: max(18px, env(safe-area-inset-top));
  right: 18px;

  padding: 8px 14px;

  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;

  background: transparent;

  color: rgba(255, 255, 255, 0.9);

  font-size: 11px;
  font-weight: 600;
}


/*
  일:시간:분:초를 라벨 없이 콜론으로만 구분한 한 줄 형태입니다.
  세로 대신 가로 배치라 폭이 제약 조건이 되므로, vw 기준으로 크기를
  잡아 어떤 화면에서도 한 줄에 잘리지 않고 들어가도록 합니다.
*/
.countdown-clock {
  position: absolute;

  z-index: 2;

  left: 50%;
  top: 50%;

  width: 100vw;
  max-width: none;

  display: flex;

  flex-direction: row;

  align-items: center;
  justify-content: center;

  flex-wrap: nowrap;

  gap:
    clamp(
      8px,
      2.5vw,
      24px
    );

  transform: translate(-50%, -50%);

  overflow: visible;
}


.countdown-location {
  position: absolute;

  z-index: 2;

  left: 50%;
  top: calc(50% + min(12.2vw, 17vh));

  width: min(88vw, 720px);
  margin: 0;

  transform: translateX(-50%);

  color: rgba(255, 255, 255, 0.68);

  font-size: clamp(15px, 4vw, 22px);
  font-weight: 500;

  letter-spacing: -0.02em;
  line-height: 1.35;

  text-align: center;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.countdown-brand-logo {
  position: absolute;

  z-index: 2;

  left: 50%;
  bottom: max(
    calc(env(safe-area-inset-bottom, 0px) + 28px),
    34px
  );

  width: min(26vw, 138px);
  height: min(10vw, 54px);

  transform: translateX(-50%);

  object-fit: contain;
  object-position: center;

  opacity: 0.94;

  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}



.countdown-digit {
  font-family:
    "Helvetica Neue",
    "Arial Narrow",
    Arial,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;

  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;

  /*
    레퍼런스처럼 숫자 자체는 크게, 획은 한 단계 두껍게.
    자간은 기존보다 넓혀 11 / 53 / 29가 서로 붙어 보이지 않게 합니다.
  */
  font-size: min(14vw, 19.7vh);
  font-weight: 400;

  letter-spacing: -0.065em;
  line-height: 0.88;

  white-space: nowrap;

  /*
    TT Travels Next 계열의 좁고 긴 비율을 흉내 내되,
    숫자 사이 자간까지 눌리지 않도록 글리프 폭만 보정합니다.
  */
  transform: none;
  transform-origin: center;

  margin: 0;

  color: #fff;

  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;

  filter: none;
}


/*
  ":" 문자를 그대로 쓰면 폰트가 그 글리프를 원래 아래쪽(베이스라인 근처)에
  그리기 때문에, 컨테이너를 아무리 center 정렬해도 시각적으로는 처져 보입니다.
  그래서 문자 대신 점 두 개를 CSS로 직접 그려 위치를 완전히 고정합니다.
*/
.countdown-colon {
  font-size: min(14vw, 19.7vh);

  display: inline-flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 0.17em;

  height: 0.9em;

  margin: 0;

  transform: none;
  transform-origin: center;
}


.countdown-colon::before,
.countdown-colon::after {
  content: "";

  display: block;

  width: 0.115em;
  height: 0.115em;

  border-radius: 50%;

  background: #fff;

  box-shadow: none;
}

/* ========================================================
ADMIN 2.0 / REPORTS
======================================================== */

.admin-shell-v2 {
  width: min(1440px, 100%);
  padding-top: 0;
  padding-left: 24px;
  padding-right: 24px;
}

.admin-v2-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 -24px 24px;
  padding:
    calc(max(22px, env(safe-area-inset-top)) + 12px)
    24px
    16px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.admin-v2-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.admin-v2-brand strong {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.admin-v2-brand span {
  color: var(--muted);
  font-size: 10px;
}

.admin-v2-layout {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.admin-v2-nav {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 5px;
}

.admin-v2-nav button {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  text-align: left;
}

.admin-v2-nav button:hover,
.admin-v2-nav button.is-active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.admin-v2-content {
  min-width: 0;
}

.admin-view {
  display: none;
}

.admin-view.is-active {
  display: block;
}

.admin-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.04em;
}

.admin-section-head p {
  max-width: 620px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.admin-section-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.campaign-performance-head {
  margin-bottom: 16px;
}

.campaign-report-detail {
  display: grid;
  gap: 20px;
}

.campaign-report-back {
  justify-self: start;
}

.campaign-report-title {
  margin-bottom: 0;
}

.campaign-report-table-card {
  margin-bottom: 0;
}

.admin-dashboard-head {
  margin-bottom: 28px;
}

.admin-dashboard-section + .admin-dashboard-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.admin-subsection-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.admin-subsection-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.admin-subsection-head p:not(.eyebrow) {
  max-width: 620px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.analytics-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.analytics-kpi {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #080808;
}

.analytics-kpi span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
}

.analytics-kpi strong {
  display: block;
  overflow: hidden;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-overflow: ellipsis;
}

.analytics-kpi small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.analytics-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 12px;
}

.analytics-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #080808;
}

.analytics-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.analytics-card-head h3 {
  margin: 0;
  font-size: 14px;
}

.analytics-card-head span {
  color: var(--muted);
  font-size: 9px;
}

.funnel-list {
  display: grid;
  gap: 12px;
}

.funnel-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 12px;
}

.funnel-label {
  color: var(--muted);
  font-size: 10px;
}

.funnel-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.funnel-fill {
  height: 100%;
  min-width: 2px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.86);
}

.funnel-value {
  font-size: 10px;
  text-align: right;
}

.analytics-insights {
  display: grid;
  gap: 9px;
}

.analytics-insight {
  padding: 12px 13px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: #d7d7d7;
  font-size: 11px;
  line-height: 1.55;
}

.analytics-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.analytics-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-size: 10px;
}

.analytics-table th,
.analytics-table td {
  padding: 11px 9px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.analytics-table th {
  color: var(--muted);
  font-weight: 500;
}

.analytics-table td strong {
  font-size: 11px;
}

.analytics-list {
  display: grid;
  gap: 8px;
}

.analytics-list-button {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #080808;
  text-align: left;
}

.analytics-list-button:hover {
  border-color: var(--line-strong);
}

.analytics-list-button h3 {
  margin: 0;
  font-size: 13px;
}

.analytics-list-button p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.campaign-editor {
  margin-top: 14px;
}

.campaign-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.campaign-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #050505;
}

.campaign-preview img {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: cover;
}

.report-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding:
    max(28px, env(safe-area-inset-top))
    20px
    max(48px, env(safe-area-inset-bottom));
}

.report-head {
  margin-bottom: 24px;
}

.report-head .eyebrow {
  margin-bottom: 7px;
}

.report-head h1 {
  margin: 0;
  font-size: clamp(30px, 6vw, 52px);
  letter-spacing: -0.05em;
}

.report-head p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.report-summary {
  margin-bottom: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #080808;
  color: #d8d8d8;
  font-size: 13px;
  line-height: 1.65;
}

.report-chart {
  width: 100%;
  height: 210px;
  display: block;
}

.report-chart text {
  fill: var(--muted);
  font-family: inherit;
  font-size: 8px;
}

.report-footer-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .admin-v2-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .admin-v2-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    margin: 0 -24px;
    padding: 0 24px 2px;
    scrollbar-width: none;
  }

  .admin-v2-nav::-webkit-scrollbar {
    display: none;
  }

  .admin-v2-nav button {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .analytics-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analytics-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .admin-shell-v2 {
    padding-left: 16px;
    padding-right: 16px;
  }

  .admin-v2-header {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .admin-v2-brand span {
    display: none;
  }

  .admin-v2-nav {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .admin-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-dashboard-head {
    margin-bottom: 24px;
  }

  .admin-dashboard-section + .admin-dashboard-section {
    margin-top: 28px;
    padding-top: 28px;
  }

  .admin-subsection-head {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 14px;
  }

  .analytics-kpi-grid {
    gap: 8px;
  }

  .analytics-kpi {
    padding: 20px;
  }

  .analytics-kpi strong {
    font-size: 25px;
  }

  .funnel-row {
    grid-template-columns: 82px minmax(0, 1fr) 52px;
    gap: 8px;
  }

  .campaign-meta-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .campaign-meta-grid .span-2,
  .form-grid .span-2 {
    grid-column: auto;
  }

  .report-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .report-summary {
    padding: 15px;
    font-size: 12px;
  }
}

/* ========================================================
ADMIN · QUIET OPERATIONS UI
======================================================== */

.admin-shell-v2 {
  width: min(1180px, calc(100% - 40px));
}

.admin-v2-nav {
  gap: 2px;
}

.admin-v2-nav button {
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 10px 2px;
  margin-right: 22px;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 520;
}

.admin-v2-nav button.is-active {
  background: transparent;
  color: var(--text);
  border-bottom-color: rgba(255, 255, 255, 0.72);
}

.admin-card,
.analytics-card,
.analytics-kpi {
  box-shadow: none;
}

#admin-event-list {
  display: block;
}

.admin-data-row {
  border-top: 1px solid var(--line);
}

.admin-data-row:last-child {
  border-bottom: 1px solid var(--line);
}

.admin-data-row-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) minmax(300px, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 104px;
  padding: 18px 2px;
}

.admin-data-copy {
  min-width: 0;
}

.admin-data-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.admin-data-title h3 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 580;
  letter-spacing: -0.02em;
}

.admin-data-copy p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.admin-metric-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(64px, 1fr);
  gap: 18px;
}

.admin-metric-strip div {
  min-width: 0;
}

.admin-metric-strip span,
.inline-report-head small {
  display: block;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  font-weight: 500;
}

.admin-metric-strip strong {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 560;
  font-variant-numeric: tabular-nums;
}

.admin-row-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.admin-row-actions .text-button {
  padding: 4px 0;
  font-size: 11px;
}

.inline-report {
  padding: 2px 2px 22px;
}

.inline-report-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.inline-report-head span {
  font-size: 12px;
  font-weight: 560;
}

.analytics-table {
  font-size: 11px;
}

.analytics-table th {
  color: rgba(255, 255, 255, 0.36);
  font-weight: 500;
}

.status-pill {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  font-weight: 520;
}

.status-pill[data-state="active"] {
  color: rgba(255, 255, 255, 0.82);
}

.admin-settings-section {
  margin-bottom: 18px;
}

.admin-settings-heading {
  margin-bottom: 20px;
}

.intro-admin-preview {
  overflow: hidden;
  min-height: 180px;
  max-height: 420px;
  background: #000;
}

.intro-admin-preview img {
  display: block;
  width: 100%;
  height: min(48vh, 420px);
  object-fit: contain;
}


/* ========================================================
SITE INTRO
======================================================== */

.site-intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  background: #000;
  opacity: 0;
  pointer-events: auto;
  transition: opacity 180ms ease;
}

.site-intro-overlay.is-ready {
  opacity: 1;
}

.site-intro-overlay.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.site-intro-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}


@media (min-width: 641px) {
  .site-intro-overlay {
    justify-content: center;
  }

  .site-intro-image {
    width: min(720px, 100%);
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 640px) {
  .site-intro-overlay {
    justify-content: stretch;
  }

  .site-intro-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 760px) {
  .admin-shell-v2 {
    width: calc(100% - 28px);
  }

  .admin-v2-nav {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .admin-v2-nav button {
    flex: 0 0 auto;
    margin-right: 18px;
  }

  .admin-data-row-main {
    grid-template-columns: 1fr;
    gap: 15px;
    min-height: 0;
    padding: 20px 0;
  }

  .admin-metric-strip {
    grid-auto-flow: column;
    gap: 12px;
  }

  .admin-row-actions {
    justify-content: flex-end;
  }
}


/* ========================================================
HOME · EVENT SHARE
======================================================== */

.event-share-button {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  color: #646464;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 1;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.event-share-button:hover,
.event-share-button:focus-visible {
  color: rgba(255, 255, 255, 0.92);
  outline: none;
}

/* 기존 최종 동작대로 홈에서는 고정 회색이 우선합니다. */
.page-home .event-share-button {
  background: var(--bg);
  color: #646464;
  opacity: 1;
}

.event-share-button:active {
  transform: scale(0.94);
}

.event-share-svg {
  display: block;
  pointer-events: none;
}

.page-home .event-share-button .event-share-svg {
  opacity: 1;
}

.event-share-toast {
  position: fixed;
  left: 50%;
  bottom: max(118px, calc(env(safe-area-inset-bottom) + 108px));
  z-index: 12000;
  transform: translate(-50%, 8px);
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(28, 28, 28, 0.94);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: nowrap;
}

.event-share-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.page-home .event-card .event-arrow {
  display: none !important;
}

/* ========================================================
HOME EVENT FILTER — TEXT TABS
======================================================== */
.event-filter-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 0 11px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.event-filter-bar button {
  position: relative;
  appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.38);
  padding: 8px 0 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 160ms ease, font-weight 160ms ease;
}

.event-filter-bar button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: 1px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.event-filter-bar button:hover {
  color: rgba(255, 255, 255, 0.72);
}

.event-filter-bar button.is-active {
  background: transparent;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 680;
}

.event-filter-bar button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.event-section:has(.event-filter-bar) {
  border-top: 0;
}

.event-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 4px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 650;
}

.event-group-heading span {
  color: rgba(255, 255, 255, 0.28);
}


/* ========================================================
HOME · FEATURED EVENT
가장 가까운 행사 1개만 정보량과 타이포를 조금 확장합니다.
배경 카드/그라데이션/강한 배지는 사용하지 않습니다.
======================================================== */

.event-featured {
  max-width: 100%;
  padding: 22px 0 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.event-featured-label {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.event-card-featured {
  padding: 0 0 22px;
  border-bottom: 0;
}

.event-card-featured h2 {
  font-size: 22px;
  font-weight: 620;
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.event-card-featured .event-arrow {
  align-self: start;
  margin-top: 7px;
}

.event-featured-details {
  margin-top: 13px;
}

.event-card-featured .event-featured-date {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.5;
}

.event-card-featured .event-location {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
}

.event-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.event-featured-day {
  color: #ff8a00;
  font-size: 14px;
  font-weight: 700;
}

.event-featured-action {
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 600;
}

.event-card-today {
  padding: 22px 0;
}

.event-card-title-wrap {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.event-interest {
  flex: none;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(255, 122, 0, 0.12);
  color: rgba(255, 153, 61, 0.95);
  font-size: 9px;
  font-weight: 700;
}

.event-card .event-location {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.48);
}

.event-card .event-meta {
  margin-top: 4px;
}

.event-card-today .event-meta strong {
  color: rgba(255, 255, 255, 0.90);
  font-weight: 680;
}

.event-load-more {
  width: 100%;
  margin: 10px 0 18px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.58);
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}

@media (max-width: 640px) {
  .event-filter-bar {
    position: sticky;
    top: 0;
    z-index: 4;
    background: var(--bg);
  }
}

/* ========================================================
ADMIN · CONTROL SYSTEM CLEANUP
======================================================== */

.page-admin button,
.page-admin input,
.page-admin select,
.page-admin textarea {
  font-family: inherit;
}

.page-admin button {
  cursor: pointer;
}

.page-admin button:disabled {
  cursor: default;
  opacity: 0.5;
}

/* 공통 액션 버튼: 높이·패딩·정렬 통일 */
.page-admin .primary-button,
.page-admin .secondary-button,
.page-admin .danger-button {
  width: auto;
  min-width: 88px;
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 620;
  line-height: 1;
  white-space: nowrap;
}

.page-admin .text-button {
  min-height: 30px;
  padding: 0 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

/* 상단의 새 축제/새 캠페인 버튼도 동일 규격 */
.page-admin .admin-section-head > .primary-button {
  min-width: 112px;
  min-height: 38px;
}

/* 폼 하단 저장/삭제 버튼 */
.page-admin .form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.page-admin .form-actions .primary-button,
.page-admin .form-actions .danger-button,
.page-admin .form-actions .secondary-button {
  min-width: 88px;
}

/* 파일 업로드: 브라우저 기본 버튼을 관리자 UI에 맞게 정리 */
.page-admin input[type="file"] {
  min-height: 42px;
  padding: 5px 7px;
  font-size: 11px;
  line-height: 30px;
  color: rgba(255, 255, 255, 0.56);
}

.page-admin input[type="file"]::file-selector-button {
  min-height: 30px;
  margin: 0 10px 0 0;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.page-admin input[type="file"]::-webkit-file-upload-button {
  min-height: 30px;
  margin: 0 10px 0 0;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

/* 발사 위치 헤더: 제목과 추가 버튼의 기준선 통일 */
.page-admin .launch-spots-heading {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.page-admin .launch-spots-heading .secondary-button {
  min-width: 104px;
}

/* 카드 내부 헤더 버튼 */
.page-admin .analytics-card-head {
  align-items: center;
}

.page-admin .analytics-card-head .secondary-button {
  min-width: 138px;
}

/* 리스트 행 액션 버튼 간격 */
.page-admin .admin-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.page-admin .admin-row-actions .text-button {
  padding: 0;
}

.page-admin .admin-row-actions .danger-text-button {
  color: rgba(248, 113, 113, 0.68);
}

/* 에디터 제목 / 닫기 */
.page-admin .editor-title {
  min-height: 38px;
  align-items: center;
  margin-bottom: 16px;
}

.page-admin .editor-title h2 {
  margin: 0;
}

/* Signature / 설정처럼 카드 안에 카드가 들어가는 영역 */
.page-admin .form-grid > .admin-card {
  margin-top: 4px;
  margin-bottom: 0;
}

.page-admin .form-grid > .admin-card > h2 {
  margin-bottom: 8px;
}

/* 단독 텍스트 액션(이미지 삭제 등)의 위치 */
.page-admin .banner-admin-preview + .text-button,
.page-admin .intro-admin-preview + .text-button {
  justify-self: start;
  margin-top: 2px;
}

/* 상태 문구는 버튼과 겹치지 않게 */
.page-admin .status-text {
  margin: 2px 0 0;
}

@media (max-width: 760px) {
  .page-admin .admin-section-head {
    align-items: flex-start;
  }

  .page-admin .admin-section-head > .primary-button {
    min-width: 96px;
  }

  .page-admin .primary-button,
  .page-admin .secondary-button,
  .page-admin .danger-button {
    min-height: 40px;
  }

  .page-admin .launch-spots-heading {
    align-items: flex-start;
  }

  .page-admin .admin-row-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}


/* ========================================================
PARTNER PERFORMANCE REPORT
======================================================== */

.page-report {
  min-height: 100vh;
  background: #050505;
  color: #f5f5f5;
}

.partner-report-shell {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding:
    max(42px, env(safe-area-inset-top))
    0
    max(32px, env(safe-area-inset-bottom));
}

.partner-report-header {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.partner-report-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.partner-report-brand .brand-logo-image {
  flex: 0 0 auto;
  width: auto;
  height: 40px;
  margin: 0;
  object-fit: contain;
}

.partner-report-title .eyebrow {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.partner-report-title h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.partner-report-title > p:last-child {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.partner-report-content {
  padding-top: 24px;
}

.partner-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partner-kpi-card {
  min-width: 0;
  padding: 24px 20px 25px;
  border-right: 1px solid var(--line);
}

.partner-kpi-card:first-child {
  padding-left: 0;
}

.partner-kpi-card:last-child {
  border-right: 0;
}

.partner-kpi-card span,
.partner-conversion-card span {
  display: block;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 560;
}

.partner-kpi-card strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 680;
  line-height: 1;
  letter-spacing: -0.045em;
}

.partner-kpi-card small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 9px;
  line-height: 1.5;
}

.partner-report-section {
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.partner-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.partner-section-head span,
.partner-report-summary > span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 8px;
  font-weight: 660;
  letter-spacing: 0.1em;
}

.partner-section-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.partner-section-head small {
  color: rgba(255, 255, 255, 0.3);
  font-size: 9px;
}

.partner-conversion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.partner-conversion-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.018);
}

.partner-conversion-card strong {
  display: block;
  margin-top: 13px;
  font-size: 28px;
  font-weight: 680;
  letter-spacing: -0.04em;
}

.partner-conversion-card small {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 9px;
  line-height: 1.5;
}

.partner-report-summary {
  margin: 38px 0 0;
  padding: 22px 0 38px;
  border-bottom: 1px solid var(--line);
}

.partner-report-summary p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 12px;
  line-height: 1.8;
}

.partner-report-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.partner-report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.partner-report-table th,
.partner-report-table td {
  padding: 13px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  text-align: right;
  white-space: nowrap;
}

.partner-report-table th:first-child,
.partner-report-table td:first-child {
  padding-left: 0;
  text-align: left;
}

.partner-report-table th {
  color: rgba(255, 255, 255, 0.3);
  font-size: 9px;
  font-weight: 540;
}

.partner-report-table td {
  color: rgba(255, 255, 255, 0.74);
}

.partner-report-loading,
.partner-report-error {
  padding: 60px 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.partner-report-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 8px;
}

@media (max-width: 760px) {
  .partner-report-shell {
    width: calc(100% - 40px);
    padding-top: max(22px, env(safe-area-inset-top));
  }

  .partner-report-brand {
    margin-bottom: 18px;
  }

  .partner-report-header {
    padding-bottom: 26px;
  }

  .partner-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-kpi-card {
    padding: 20px 14px;
    border-bottom: 1px solid var(--line);
  }

  .partner-kpi-card:nth-child(2) {
    border-right: 0;
  }

  .partner-kpi-card:nth-child(3),
  .partner-kpi-card:nth-child(4) {
    border-bottom: 0;
  }

  .partner-kpi-card:nth-child(3) {
    padding-left: 0;
  }

  .partner-conversion-grid {
    grid-template-columns: 1fr;
  }

  .partner-report-section {
    padding: 30px 0;
  }

  .partner-report-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}


/* ========================================================
HOME HAMBURGER MENU
======================================================== */
.home-menu {
  position: relative;
  flex: 0 0 auto;
}

.home-menu-button {
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.home-menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.home-menu.is-open .home-menu-button span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.home-menu.is-open .home-menu-button span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.home-menu-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  min-width: 126px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: rgba(14,14,14,.96);
  box-shadow: 0 18px 48px rgba(0,0,0,.34);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.home-menu-popover.is-hidden {
  display: none;
}

.home-menu-item {
  width: 100%;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255,255,255,.88);
  text-align: center;
  font: inherit;
  font-size: 14px;
  font-weight: 560;
  cursor: pointer;
}

.home-menu-item:hover,
.home-menu-item:focus-visible {
  background: rgba(255,255,255,.055);
  outline: none;
}

.site-menu-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.68);
  opacity: 0;
  transition: opacity 160ms ease;
}

.site-menu-modal.is-ready {
  opacity: 1;
}

.site-menu-dialog {
  width: min(520px, 100%);
  max-height: min(78vh, 720px);
  overflow: auto;
  padding: 22px 20px max(22px, env(safe-area-inset-bottom));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  background: #111;
  transform: translateY(14px);
  transition: transform 160ms ease;
}

.site-menu-modal.is-ready .site-menu-dialog {
  transform: translateY(0);
}

.site-menu-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.site-menu-dialog-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 680;
  letter-spacing: -.02em;
}

.site-menu-close {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.8);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.site-menu-body {
  margin: 0;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.site-menu-contact-links {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.site-menu-contact-link {
  min-height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-size: 12px;
}

.site-menu-contact-link span:last-child {
  color: rgba(255,255,255,.4);
  overflow-wrap: anywhere;
  text-align: right;
}

/* ========================================================
ADMIN — HOME MENU SETTINGS
======================================================== */
.menu-admin-block {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(255,255,255,.015);
}

.menu-admin-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.menu-admin-block-head strong {
  font-size: 13px;
  font-weight: 650;
}

.menu-admin-toggle {
  width: auto !important;
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 9px !important;
}

.menu-admin-toggle select {
  width: auto;
  min-width: 92px;
}

.menu-admin-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 641px) {
  .site-menu-modal {
    align-items: center;
  }
}

@media (max-width: 640px) {
  .home-menu-button {
    width: 36px;
    height: 36px;
  }

  .site-menu-modal {
    padding: 12px;
  }

  .site-menu-dialog {
    border-radius: 16px;
  }

  .menu-admin-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
ADMIN · ROW ACTION CLICK SAFETY
======================================================== */

.page-admin .admin-data-row,
.page-admin .admin-data-row-main {
  position: relative;
}

.page-admin .admin-row-actions {
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

.page-admin .admin-row-actions .text-button {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  cursor: pointer;
}



/* ========================================================
FINDER · CUSTOM FIREWORK POSITION IMAGE
행사별 이미지가 있으면 우선 사용하고, 없으면 사이트 로고를 표시합니다.
둘 다 없을 때만 기존 점선 원이 보입니다.
======================================================== */

.firework-marker-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.page-admin #firework-image-preview-wrap img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}


/* ========================================================
DASAFT — APP LIST
======================================================== */

.dasaft-app-list {
  display: grid;
  margin-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.dasaft-app-item {
  min-height: 68px;
  padding: 14px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: inherit;
  text-decoration: none;
}

a.dasaft-app-item:hover .dasaft-app-copy strong,
a.dasaft-app-item:focus-visible .dasaft-app-copy strong {
  color: #fff;
}

a.dasaft-app-item:focus-visible {
  outline: none;
}

.dasaft-app-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.dasaft-app-copy strong {
  color: rgba(255,255,255,.92);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -.01em;
}

.dasaft-app-copy span {
  color: rgba(255,255,255,.48);
  font-size: 11px;
  line-height: 1.5;
}

.dasaft-app-meta {
  flex: 0 0 auto;
  color: rgba(255,255,255,.32);
  font-size: 11px;
  white-space: nowrap;
}

.dasaft-site-link {
  margin-top: 18px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255,255,255,.58);
  text-decoration: none;
  font-size: 11px;
}

.dasaft-site-link:hover,
.dasaft-site-link:focus-visible {
  color: rgba(255,255,255,.9);
  outline: none;
}


/* ========================================================
ADMIN — DASAFT APP LIST
======================================================== */

.menu-admin-apps-head,
.menu-admin-app-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.menu-admin-apps-head {
  margin-top: 8px;
}

.menu-admin-apps {
  display: grid;
  gap: 12px;
}

.menu-admin-app-row {
  padding: 14px 0 2px;
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ========================================================
ADMIN · HEADER SITE LOGO
======================================================== */

.admin-v2-brand {
  align-items: center;
}

.admin-brand-logo-image {
  display: block;

  width: auto;
  height: 40px;
  max-width: none;

  object-fit: contain;
  object-position: left center;

  flex: 0 0 auto;

  user-select: none;
  -webkit-user-drag: none;
}
.admin-v2-brand > span {
  flex: 0 0 auto;
}

/* ========================================================
ADMIN · iOS DATE INPUT OVERFLOW FIX
======================================================== */

.page-admin .form-grid,
.page-admin .form-grid > *,
.page-admin .form-grid label {
  min-width: 0;
}

.page-admin input,
.page-admin select,
.page-admin textarea {
  max-width: 100%;
  min-width: 0;
}

.page-admin input[type="date"],
.page-admin input[type="time"],
.page-admin input[type="datetime-local"] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
