/* Styles transcribed from https://tyejvd.site/index.html */

@font-face {
    font-family: 'Noto Sans KR';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('noto-sans-kr-400.ttf') format('truetype');
}

@font-face {
    font-family: 'Noto Sans KR';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('noto-sans-kr-500.ttf') format('truetype');
}

@font-face {
    font-family: 'Noto Sans KR';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('noto-sans-kr-600.ttf') format('truetype');
}

@font-face {
    font-family: 'Noto Sans KR';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('noto-sans-kr-700.ttf') format('truetype');
}

@font-face {
    font-family: 'Noto Sans KR';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('noto-sans-kr-800.ttf') format('truetype');
}

@font-face {
    font-family: 'Noto Sans KR';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('noto-sans-kr-900.ttf') format('truetype');
}

:root {
    --bg-page: #f8fafc;
    --card-white: #ffffff;
    --kakao-yellow: #27fe00;
    --kakao-yellow-hover: #edd500;
    --kakao-dark: #191600;
    --accent-warm-gold: #f59e0b;
    --surge-red: #e11d48;
    --point-blue: #0284c7;
    --text-title: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --border-soft: #e2e8f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body,
p,
div,
span,
h1,
h2,
h3,
a {
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f8fafc;
    background-color: var(--bg-page);
    background-image:
        radial-gradient(circle at 50% 0%, rgba(254, 229, 0, 0.35) 0%, transparent 55%),
        radial-gradient(circle at 100% 25%, rgba(245, 158, 11, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 0% 70%, rgba(2, 132, 199, 0.08) 0%, transparent 50%);
    color: #334155;
    color: var(--text-body);
    min-height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 0 0 170px;
}

.container {
    width: 100%;
    max-width: 440px;
    padding: 0 14px;
}

.top-alert-banner {
    width: 100%;
    background: linear-gradient(90deg, #FEE500 0%, #fde047 50%, #FEE500 100%);
    color: #191600;
    font-size: 12px;
    font-weight: 900;
    padding: 9px 12px;
    text-align: center;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(254, 229, 0, 0.35);
    border-bottom: 1.5px solid #eab308;
}

.hero-profile-card {
    background: #ffffff;
    background: var(--card-white);
    border: 1.5px solid #fed7aa;
    border-radius: 24px;
    padding: 24px 18px 20px;
    margin: 18px 0 20px;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.12);
    text-align: center;
}

.avatar-wrapper {
    width: 96px;
    height: 96px;
    margin: 0 auto 14px;
    border-radius: 50%;
    border: 3px solid #27fe00;
    border: 3px solid var(--kakao-yellow);
    box-shadow: 0 4px 16px rgba(254, 229, 0, 0.5);
    overflow: hidden;
    background: #f1f5f9;
}

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

.expert-name-title {
    font-size: 24px;
    font-weight: 900;
    color: #0f172a;
    color: var(--text-title);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.expert-subtitle-badge {
    display: inline-block;
    background: #fffbeb;
    border: 1.5px solid #fde047;
    color: #b45309;
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 99px;
    margin-bottom: 16px;
}

.declaration-box {
    background: #fff7ed;
    border: 1.5px solid #fdba74;
    border-radius: 16px;
    padding: 16px 14px;
    margin-bottom: 16px;
    text-align: left;
}

.declaration-quote {
    font-size: 14.5px;
    color: #9a3412;
    font-weight: 900;
    line-height: 1.6;
    margin-bottom: 8px;
}

.declaration-quote mark {
    background: #fef08a;
    color: #b91c1c;
    padding: 0 4px;
    border-radius: 4px;
    font-weight: 900;
}

.declaration-sub {
    font-size: 12.5px;
    color: #c2410c;
    font-weight: 700;
    line-height: 1.55;
}

.video-hook-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 14px;
    margin-bottom: 18px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.video-tag-pill {
    background: #e11d48;
    background: var(--surge-red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    padding: 3px 9px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.video-main-question {
    font-size: 19px;
    font-weight: 950;
    color: #0f172a;
    color: var(--text-title);
    line-height: 1.35;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.video-highlight-text {
    font-size: 24px;
    font-weight: 950;
    color: #ea580c;
    letter-spacing: 0.04em;
}

.main-intro-text-box {
    font-size: 13.5px;
    color: #334155;
    line-height: 1.75;
    font-weight: 500;
    text-align: left;
    background: #f8fafc;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.main-intro-text-box strong {
    color: #0f172a;
    color: var(--text-title);
    font-weight: 800;
}

.main-intro-text-box mark {
    background: #fef08a;
    color: #9a3412;
    padding: 0 4px;
    border-radius: 4px;
    font-weight: 900;
}

.btn-top-kakao {
    width: 100%;
    min-height: 54px;
    font-size: 16px;
    font-weight: 950;
    background: #27fe00;
    background: var(--kakao-yellow);
    color: #191600;
    color: var(--kakao-dark);
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(254, 229, 0, 0.45);
    transition: transform 0.15s ease, background 0.15s ease;
    padding: 6px 14px;
    text-align: center;
    letter-spacing: -0.01em;
}

.btn-top-kakao:active {
    transform: scale(0.98);
    background: #edd500;
    background: var(--kakao-yellow-hover);
}

.secret-material-card {
    background: #ffffff;
    border: 1.5px solid #fde047;
    border-radius: 20px;
    padding: 18px 16px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 6px 20px rgba(250, 204, 21, 0.15);
}

.secret-badge-gold {
    background: #fef08a;
    color: #854d0e;
    font-size: 11px;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.secret-head-title {
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
    color: var(--text-title);
    line-height: 1.45;
    margin-bottom: 8px;
}

.secret-body-desc {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.7;
}

.testimonial-real-box {
    background: #ffffff;
    border: 1.5px solid #fecdd3;
    border-left: 5px solid #e11d48;
    border-left: 5px solid var(--surge-red);
    border-radius: 0 18px 18px 0;
    padding: 18px 16px;
    margin-bottom: 22px;
    text-align: left;
    box-shadow: 0 4px 16px rgba(225, 29, 72, 0.06);
}

.testi-title {
    font-size: 15px;
    font-weight: 900;
    color: #e11d48;
    color: var(--surge-red);
    margin-bottom: 8px;
}

.testi-content {
    font-size: 13.5px;
    color: #334155;
    line-height: 1.75;
    font-weight: 600;
}

.testi-content mark {
    background: #ffe4e6;
    color: #be123c;
    font-weight: 900;
    padding: 0 3px;
}

.stock-board-card {
    background: #ffffff;
    background: var(--card-white);
    border: 1.5px solid #fed7aa;
    border-radius: 24px;
    padding: 20px 16px;
    margin-bottom: 22px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.stock-board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.stock-board-title {
    font-size: 15px;
    font-weight: 900;
    color: #0f172a;
    color: var(--text-title);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.02em;
}

.stock-board-badge {
    font-size: 11px;
    font-weight: 800;
    color: #c2410c;
    background: #ffedd5;
    padding: 3px 8px;
    border-radius: 6px;
}

.stock-row-item {
    padding: 12px 0;
    border-bottom: 1px solid #f8fafc;
}

.stock-row-item:last-of-type {
    border-bottom: none;
    padding-bottom: 2px;
}

.stock-flex-headline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.stock-identity-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stock-rank-number {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 900;
    display: grid;
    place-items: center;
}

.rank-gold {
    background: #fef08a;
    color: #854d0e;
}

.rank-silver {
    background: #e2e8f0;
    color: #1e293b;
}

.rank-bronze {
    background: #fed7aa;
    color: #9a3412;
}

.stock-company-name {
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    color: var(--text-title);
}

.stock-ticker-code {
    font-size: 11px;
    color: #64748b;
    font-weight: 700;
    background: #f1f5f9;
    padding: 1px 5px;
    border-radius: 4px;
}

.stock-gain-red {
    font-size: 16px;
    font-weight: 950;
    color: #e11d48;
    color: var(--surge-red);
    letter-spacing: -0.01em;
}

.stock-meta-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
    margin-bottom: 5px;
    padding-left: 30px;
}

.stock-driver-text {
    color: #0284c7;
    color: var(--point-blue);
    font-weight: 700;
}

.judgement-badge {
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-red {
    background: #fee2e2;
    color: #b91c1c;
}

.badge-green {
    background: #dcfce7;
    color: #15803d;
}

.badge-yellow {
    background: #fef3c7;
    color: #b45309;
}

.stock-catalyst-box {
    font-size: 11.5px;
    color: #475569;
    line-height: 1.5;
    background: #f8fafc;
    border-radius: 8px;
    padding: 7px 10px;
    margin-left: 30px;
    border: 1px solid #f1f5f9;
}

.stock-locked-footer {
    margin-top: 14px;
    padding: 14px;
    background: #fffbeb;
    border: 1.5px dashed #f59e0b;
    border-radius: 14px;
    text-align: center;
}

.stock-locked-title {
    font-size: 13.5px;
    font-weight: 900;
    color: #b45309;
    margin-bottom: 4px;
}

.stock-locked-desc {
    font-size: 12px;
    color: #78350f;
    line-height: 1.5;
}

.band-limited-box {
    background: #ffffff;
    background: var(--card-white);
    border: 1.5px solid #fed7aa;
    border-radius: 20px;
    padding: 20px 16px;
    margin-bottom: 22px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.band-limited-title {
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
    color: var(--text-title);
    margin-bottom: 8px;
}

.band-limited-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.7;
}

.band-limited-desc mark {
    background: #fef08a;
    color: #854d0e;
    font-weight: 900;
    padding: 0 3px;
    border-radius: 3px;
}

.footer-compliance {
    font-size: 11px;
    color: #64748b;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
}

.sticky-drawer-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 2.5px solid #27fe00;
    border-top: 2.5px solid var(--kakao-yellow);
    padding: 12px 14px 14px;
    display: flex;
    justify-content: center;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
}

.drawer-inner-shell {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-status-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 800;
}

.drawer-live-alert {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #dc2626;
}

.pulse-dot-red {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #dc2626;
    animation: redPulse 1.2s infinite;
}

@keyframes redPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(1.35);
    }
}

.drawer-timer-tag {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11.5px;
}

.drawer-instruction-note {
    font-size: 12px;
    font-weight: 700;
    color: #1f2937;
    background: #f8fafc;
    border-left: 3.5px solid #27fe00;
    border-left: 3.5px solid var(--kakao-yellow);
    padding: 6px 10px;
    border-radius: 0 8px 8px 0;
    text-align: left;
    line-height: 1.45;
}

.drawer-instruction-note mark {
    background: #fef08a;
    color: #854d0e;
    padding: 0 4px;
    border-radius: 3px;
    font-weight: 900;
}

.btn-drawer-kakao {
    width: 100%;
    min-height: 54px;
    background: #27fe00;
    background: var(--kakao-yellow);
    color: #191600;
    color: var(--kakao-dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(254, 229, 0, 0.45);
    padding: 6px 14px;
    transition: transform 0.15s, background 0.15s;
    text-decoration: none;
    border: none;
}

.btn-drawer-kakao:active {
    transform: scale(0.98);
    background: #edd500;
    background: var(--kakao-yellow-hover);
}

.kakao-icon-svg {
    width: 28px;
    height: 28px;
    fill: #191600;
    flex-shrink: 0;
}

.btn-drawer-text-col {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-drawer-title {
    font-size: 15.5px;
    font-weight: 950;
    color: #191600;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.btn-drawer-subtitle {
    font-size: 11px;
    font-weight: 800;
    color: #713f12;
    margin-top: 1px;
}

/* Compatibility additions loaded after the source styles. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 280px;
}

img,
svg {
  max-width: 100%;
}

/* Safari before flex-gap: margins supply the same spacing. */
.top-alert-banner > * + *,
.btn-top-kakao > * + *,
.stock-board-title > * + *,
.stock-identity-group > * + *,
.judgement-badge > * + *,
.drawer-live-alert > * + *,
.btn-drawer-kakao > * + * {
  margin-left: 6px;
}

.btn-top-kakao > * + * {
  margin-left: 10px;
}

.stock-identity-group > * + * {
  margin-left: 8px;
}

.btn-drawer-kakao > * + * {
  margin-left: 12px;
}

.drawer-inner-shell > * + * {
  margin-top: 8px;
}

@supports (gap: 1px) {
  .top-alert-banner > * + *,
  .btn-top-kakao > * + *,
  .stock-board-title > * + *,
  .stock-identity-group > * + *,
  .judgement-badge > * + *,
  .drawer-live-alert > * + *,
  .btn-drawer-kakao > * + * {
    margin-left: 0;
  }

  .drawer-inner-shell > * + * {
    margin-top: 0;
  }
}

/* Grid fallback used by the small rank chips. */
.stock-rank-number {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.btn-top-kakao,
.stock-board-header,
.stock-flex-headline,
.stock-identity-group,
.stock-meta-line,
.drawer-status-meta,
.drawer-live-alert,
.btn-drawer-kakao {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}

.btn-top-kakao,
.stock-board-header,
.stock-flex-headline,
.stock-identity-group,
.stock-meta-line,
.drawer-status-meta,
.drawer-live-alert,
.btn-drawer-kakao {
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.btn-top-kakao,
.btn-drawer-kakao {
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.stock-board-header,
.stock-flex-headline,
.stock-meta-line,
.drawer-status-meta {
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.drawer-inner-shell,
.btn-drawer-text-col {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  flex-direction: column;
}


