/* [project]/frontend/src/app/globals.css [app-client] (css) */
:root {
  --bg: #0b0c10;
  --fg: #e6e6e6;
  --muted: #9aa0a6;
  --card: #12141a;
  --line: #23262f;
  --btn: #1b1f2a;
}

* {
  box-sizing: border-box;
}

html, body {
  background: var(--bg);
  height: 100%;
  color: var(--fg);
  margin: 0;
  padding: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji;
}

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

.pageWrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
}

.topBar {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  display: flex;
}

.feedTopBar {
  z-index: 20;
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: #12141ae6;
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  display: flex;
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
}

.title {
  font-weight: 700;
}

.spacer {
  flex: 1;
}

.btn {
  border: 1px solid var(--line);
  background: var(--btn);
  color: var(--fg);
  cursor: pointer;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  padding: 8px 10px;
  display: inline-flex;
}

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

.panel {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 12px;
  margin-top: 16px;
  padding: 12px;
}

.panelTitle {
  margin-bottom: 8px;
  font-weight: 700;
}

.row {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.msg {
  color: var(--muted);
}

.textarea {
  border: 1px solid var(--line);
  width: 100%;
  min-height: 220px;
  color: var(--fg);
  background: #0f1117;
  border-radius: 10px;
  outline: none;
  padding: 10px;
}

.errorBox {
  color: #ffd1d1;
  background: #2a1414;
  border: 1px solid #5c2a2a;
  border-radius: 10px;
  margin-top: 12px;
  padding: 10px;
}

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

@media (max-width: 1100px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.thumbCard {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
}

.thumbLink {
  display: block;
}

.thumbImgWrap {
  aspect-ratio: 16 / 9;
  background: #0f1117;
  width: 100%;
}

.thumbImg {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.thumbFallback {
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 10px;
  display: flex;
}

.thumbProvider {
  font-weight: 700;
}

.thumbUrl {
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  overflow: hidden;
}

.thumbMeta {
  border-top: 1px solid var(--line);
  padding: 10px;
}

.thumbTitle {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  overflow: hidden;
}

.thumbSub {
  color: var(--muted);
  font-size: 12px;
}

.feedRoot {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.snapContainer {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100vw;
  height: 100vh;
  overflow-y: scroll;
}

.snapItem {
  scroll-snap-align: start;
  background: #000;
  justify-content: center;
  align-items: stretch;
  width: 100vw;
  height: 100vh;
  display: flex;
  position: relative;
}

.feedMedia {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
}

.videoEl {
  object-fit: contain;
  background: #000;
  width: 100%;
  height: 100%;
}

.iframeEl {
  background: #000;
  border: 0;
  width: 100%;
  height: 100%;
}

.fallbackEl {
  border: 1px solid var(--line);
  background: #12141acc;
  border-radius: 12px;
  flex-direction: column;
  gap: 12px;
  width: min(900px, 92vw);
  padding: 14px;
  display: flex;
}

.fallbackTitle {
  font-weight: 700;
}

.fallbackUrl {
  color: var(--muted);
  word-break: break-all;
}

.feedOverlay {
  pointer-events: none;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.feedCaption {
  pointer-events: none;
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.capTitle {
  font-weight: 800;
}

.capSub {
  color: var(--muted);
  font-size: 12px;
}

.feedActions {
  pointer-events: auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  display: flex;
}

.pill {
  border: 1px solid var(--line);
  background: #1b1f2ad9;
  border-radius: 999px;
  padding: 10px 12px;
}

.feedEnd {
  height: 120px;
  color: var(--muted);
  background: #000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  display: flex;
}

.footer {
  color: var(--muted);
  justify-content: center;
  margin-top: 12px;
  display: flex;
}

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