@import url(https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css);
:root {
  --primary-color: #3b82f6;
  --bg-card: #ffffff;
  --bg-hover: #f3f4f6;
  --border-color: #e5e7eb;
  --text-primary: #1f2937;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

html,
body,
#root {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  background-color: #F5F5F5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

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

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

/* Responsive Utilities */
.mobile-only {
  display: block;
}

.pc-only {
  display: none;
}

@media (min-width: 481px) {
  .mobile-only {
    display: none !important;
  }

  .pc-only {
    display: block !important;
  }
}
/* Main Root */
.home-root {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    background-color: #F5F5F5;
    overflow: hidden;
}

/* Header */
.home-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #FFF;
    border-bottom: 1px solid #EEE;
    padding-top: 8px;
    padding-bottom: 4px;
}

.home-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    width: 100%;
}

@media (min-width: 481px) {
    .home-header {
        display: flex;
        justify-content: center;
    }

    .home-header-row {
        max-width: 480px;
        margin: 0 auto;
    }
}

.home-logo {
    margin: 0;
}

.home-logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 800;
    color: #111;
}

.header-logo-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Loading */
.home-loading {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFF;
    height: 100vh;
    height: 100dvh;
}
/* Feed Container */
.feed-container {
    flex: 1;
    background-color: #F0F0F0;
    overflow-y: auto;
    height: 100%;
}

.feed-container-mobile {
    background-color: #FFF;
}

.feed-content {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    padding: 8px 16px 32px;
}

/* Edition Divider */
.edition-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background-color: #DDD;
}

.edition-label {
    font-size: 12px;
    font-weight: 600;
    color: #AAA;
    letter-spacing: 0.5px;
}

/* Skeleton Loading */
.skeleton {
    background-color: #FFF;
    overflow: hidden;
}

.skeleton-rounded {
    border-radius: 16px;
    margin-bottom: 20px;
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #E8E8E8;
}

.skeleton-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skeleton-line {
    background-color: #E8E8E8;
    height: 12px;
    border-radius: 5px;
}

/* End Wrap */
.end-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    gap: 8px;
}

.end-emoji {
    font-size: 28px;
}

.end-message {
    color: #AAA;
    font-size: 14px;
    font-weight: 500;
}

/* Swiper overrides if needed */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
    height: 100%;
}
/* Full Screen (Mobile) Styles */
.nc-full-container {
    width: 100%;
    height: 100%;
    background-color: #FFF;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.nc-full-image-wrap {
    width: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.nc-full-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nc-overlay-header {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.nc-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 18px;
    background-color: rgba(61, 61, 61, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: #FFF;
}

.nc-bottom-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
}

.nc-full-content {
    padding: 24px 24px 16px;
    background-color: #fff;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    /* elevation in CSS is box-shadow */
}

.nc-meta-row {
    display: flex;
    flex-direction: row;
    margin-bottom: 8px;
}

.nc-full-meta {
    font-size: 13px;
    font-weight: 600;
    color: #888;
}

.nc-full-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.36;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    margin-top: 0;
}

.nc-full-summary {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.625;
}

.nc-bottom-cta-bar {
    padding: 16px 24px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    background-color: #1E1E1E;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
}

.nc-cta-label {
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 2px;
    display: block;
}

.nc-cta-source {
    color: #888;
    font-size: 12px;
    display: block;
}

/* Feed Card (PC) Styles */
.nc-feed-card {
    background-color: #FFF;
    border-radius: 20px;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.nc-feed-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.nc-feed-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nc-feed-overlay-header {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nc-brand-tag-sdk {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 4px 10px;
    border-radius: 8px;
}

.nc-brand-name-white {
    color: #FFF;
    font-size: 12px;
    font-weight: 700;
}

.nc-feed-content {
    padding: 24px;
}

.nc-feed-header-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
}

.nc-feed-meta {
    font-size: 13px;
    font-weight: 600;
    color: #888;
}

.nc-share-icon-small {
    font-size: 14px;
    opacity: 0.5;
}

.nc-feed-title {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    line-height: 1.4;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    margin-top: 0;
}

.nc-feed-summary {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.nc-divider {
    height: 1px;
    background-color: #EEE;
    margin-bottom: 12px;
}

.nc-feed-footer {
    display: flex;
    justify-content: flex-end;
}

.nc-footer-more {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}
.tone-selector-wrapper {
    position: relative;
    z-index: 10;
}

.tone-selector-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 8px;
    background-color: #F5F5F5;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.tone-selector-trigger:hover {
    background-color: #EAEAEA;
}

.tone-selector-trigger-text {
    font-size: 14px;
    font-weight: 700;
    color: #FF4444;
}

.tone-selector-arrow {
    font-size: 10px;
    color: #999;
}

.tone-selector-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    background: transparent;
}

.tone-selector-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background-color: #FFF;
    border-radius: 10px;
    padding: 4px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 11;
    min-width: 100px;
    list-style: none;
    display: flex;
    flex-direction: column;
}

.tone-selector-option {
    padding: 10px 16px;
    text-align: left;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s;
}

.tone-selector-option:hover {
    background-color: #F9F9F9;
}

.tone-selector-option.active {
    background-color: #FFF5F5;
}

.tone-selector-option-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.tone-selector-option.active .tone-selector-option-text {
    color: #FF4444;
    font-weight: 700;
}
.install-prompt-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 16px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.install-prompt-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.install-prompt-icon img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.install-prompt-text {
    flex: 1;
}

.install-prompt-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 2px 0;
}

.install-prompt-desc {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.install-prompt-actions {
    display: flex;
    gap: 8px;
}

.install-btn {
    flex: 1;
    background-color: #1a1a1a;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.install-btn:hover {
    background-color: #333;
}

.close-btn {
    background: transparent;
    color: #888;
    border: none;
    padding: 10px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}

.close-btn:hover {
    color: #555;
}

/* Dark mode support if applicable */
@media (prefers-color-scheme: dark) {
    .install-prompt-container {
        background-color: rgba(30, 30, 30, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .install-prompt-title {
        color: #fff;
    }

    .install-prompt-desc {
        color: #aaa;
    }

    .install-btn {
        background-color: #fff;
        color: #000;
    }

    .install-btn:hover {
        background-color: #e0e0e0;
    }
}
.install-guide-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.2s ease-out;
}

.install-guide-modal {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 24px;
    width: 100%;
    max-width: 340px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    animation: slideUp 0.3s ease-out;
}

.install-guide-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.install-guide-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    line-height: 1.4;
}

.install-guide-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.install-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-hover);
    border-radius: 12px;
    text-align: left;
}

.step-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--bg-card);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.step-text {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.install-guide-close {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.install-guide-close:active {
    opacity: 0.9;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.not-found-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 24px;
    background-color: #F5F5F5;
    text-align: center;
}

.not-found-container .emoji {
    font-size: 64px;
    margin-bottom: 24px;
    display: block;
}

.not-found-container .title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #111;
    margin-top: 0;
}

.not-found-container .description {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 32px;
}

.not-found-container .button {
    background-color: #FF4444;
    padding: 12px 24px;
    border-radius: 8px;
    color: #FFF;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    transition: background-color 0.2s;
}

.not-found-container .button:hover {
    background-color: #E03333;
}
/**
 * Swiper 12.1.0
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * https://swiperjs.com
 *
 * Copyright 2014-2026 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: January 28, 2026
 */

:root {
  --swiper-theme-color: #007aff;
  /*
  --swiper-preloader-color: var(--swiper-theme-color);
  --swiper-wrapper-transition-timing-function: initial;
  */
}
:host {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}
.swiper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  /* Fix of Webkit flickering */
  z-index: 1;
  display: block;
}
.swiper-vertical > .swiper-wrapper {
  flex-direction: column;
}
.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
  box-sizing: content-box;
}
.swiper-android .swiper-slide,
.swiper-ios .swiper-slide,
.swiper-wrapper {
  transform: translate3d(0px, 0, 0);
}
.swiper-horizontal {
  touch-action: pan-y;
}
.swiper-vertical {
  touch-action: pan-x;
}
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
  display: block;
}
.swiper-slide-invisible-blank {
  visibility: hidden;
}
/* Auto Height */
.swiper-autoheight,
.swiper-autoheight .swiper-slide {
  height: auto;
}
.swiper-autoheight .swiper-wrapper {
  align-items: flex-start;
  transition-property: transform, height;
}
.swiper-backface-hidden .swiper-slide {
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* 3D Effects */
.swiper-3d.swiper-css-mode .swiper-wrapper {
  perspective: 1200px;
}
.swiper-3d .swiper-wrapper {
  transform-style: preserve-3d;
}
.swiper-3d {
  perspective: 1200px;
  .swiper-slide,
  .swiper-cube-shadow {
    transform-style: preserve-3d;
  }
}

/* CSS Mode */
.swiper-css-mode {
  > .swiper-wrapper {
    overflow: auto;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
    &::-webkit-scrollbar {
      display: none;
    }
  }
  > .swiper-wrapper > .swiper-slide {
    scroll-snap-align: start start;
  }
  &.swiper-horizontal {
    > .swiper-wrapper {
      scroll-snap-type: x mandatory;
    }
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-inline-start: var(--swiper-slides-offset-before);
      scroll-margin-inline-start: var(--swiper-slides-offset-before);
    }
    > .swiper-wrapper > .swiper-slide:last-child {
      margin-inline-end: var(--swiper-slides-offset-after);
    }
  }
  &.swiper-vertical {
    > .swiper-wrapper {
      scroll-snap-type: y mandatory;
    }
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-block-start: var(--swiper-slides-offset-before);
      scroll-margin-block-start: var(--swiper-slides-offset-before);
    }
    > .swiper-wrapper > .swiper-slide:last-child {
      margin-block-end: var(--swiper-slides-offset-after);
    }
  }
  &.swiper-free-mode {
    > .swiper-wrapper {
      scroll-snap-type: none;
    }
    > .swiper-wrapper > .swiper-slide {
      scroll-snap-align: none;
    }
  }
  &.swiper-centered {
    > .swiper-wrapper::before {
      content: '';
      flex-shrink: 0;
      order: 9999;
    }
    > .swiper-wrapper > .swiper-slide {
      scroll-snap-align: center center;
      scroll-snap-stop: always;
    }
  }
  &.swiper-centered.swiper-horizontal {
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-inline-start: var(--swiper-centered-offset-before);
    }
    > .swiper-wrapper::before {
      height: 100%;
      min-height: 1px;
      width: var(--swiper-centered-offset-after);
    }
  }
  &.swiper-centered.swiper-vertical {
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-block-start: var(--swiper-centered-offset-before);
    }
    > .swiper-wrapper::before {
      width: 100%;
      min-width: 1px;
      height: var(--swiper-centered-offset-after);
    }
  }
}

/* Slide styles start */
/* 3D Shadows */
.swiper-3d {
  .swiper-slide-shadow,
  .swiper-slide-shadow-left,
  .swiper-slide-shadow-right,
  .swiper-slide-shadow-top,
  .swiper-slide-shadow-bottom,
  .swiper-slide-shadow,
  .swiper-slide-shadow-left,
  .swiper-slide-shadow-right,
  .swiper-slide-shadow-top,
  .swiper-slide-shadow-bottom {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
  }
  .swiper-slide-shadow {
    background: rgba(0, 0, 0, 0.15);
  }
  .swiper-slide-shadow-left {
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-right {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-top {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-bottom {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
}
.swiper-lazy-preloader {
  width: 42px;
  height: 42px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -21px;
  margin-top: -21px;
  z-index: 10;
  transform-origin: 50%;
  box-sizing: border-box;
  border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));
  border-radius: 50%;
  border-top-color: transparent;
}
.swiper:not(.swiper-watch-progress),
.swiper-watch-progress .swiper-slide-visible {
  .swiper-lazy-preloader {
    animation: swiper-preloader-spin 1s infinite linear;
  }
}
.swiper-lazy-preloader-white {
  --swiper-preloader-color: #fff;
}
.swiper-lazy-preloader-black {
  --swiper-preloader-color: #000;
}
@keyframes swiper-preloader-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Slide styles end */

