/*
 * tips383/style.css  v1.0.0
 * 텔레그램 프로필 등급(Profile Ratings) 가이드
 * 테마: 딥 네이비/트러스트 블루 + 딥 다크 (신뢰·레벨업·별 등급·검증)
 * 그누보드5 격리 | BEM | 모바일 퍼스트
 */

/* ─── 전체 리셋 ─── */
#tg-383-wrapper,
#tg-383-wrapper * {
    box-sizing: border-box; margin: 0; padding: 0; border: none;
    outline: none; text-decoration: none; list-style: none; background: none; font-style: normal;
}
#tg-383-wrapper h1, #tg-383-wrapper h2 { font-size: inherit; font-weight: inherit; color: inherit; line-height: 1.35; }
#tg-383-wrapper strong { font-weight: 700; color: inherit; }
#tg-383-wrapper p { margin-bottom: 14px !important; line-height: 1.85 !important; }
#tg-383-wrapper p:last-child { margin-bottom: 0 !important; }
#tg-383-wrapper button { cursor: pointer; }
#tg-383-wrapper a { color: inherit; }
#tg-383-wrapper ol { list-style: none; }

/* ─── 디자인 토큰 ─── */
#tg-383-wrapper {
    --nvy-100:  #dbeafe;
    --nvy-200:  #bfdbfe;
    --nvy-300:  #93c5fd;
    --nvy-400:  #60a5fa;
    --nvy-500:  #3b82f6;
    --nvy-600:  #2563eb;
    --nvy-700:  #1d4ed8;
    --nvy-800:  #1e3a8a;
    --gold-300: #fcd34d;
    --gold-400: #fbbf24;
    --sky-400:  #38bdf8;
    --grn-400:  #4ade80;
    --red-400:  #f87171;
    --dk-base:  #020510;
    --sl-50:    #f8fafc;
    --sl-100:   #f1f5f9;
    --sl-200:   #e2e8f0;
    --sl-400:   #94a3b8;
    --sl-500:   #64748b;
    --sl-800:   #1e293b;
    --sl-900:   #0f172a;
    --text-sub: #475569;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --shadow-sm:  0 4px 14px rgba(0,0,0,.06);
    --shadow-nvy: 0 6px 24px rgba(30,58,138,.35);
    --fs-sm:   .9rem;
    --fs-base: 1rem;
    --fs-lg:   1.2rem;

    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: var(--fs-base); color: var(--sl-800); line-height: 1.7;
    max-width: 1100px; margin: 0 auto; width: 100%;
}

/* Material Symbols */
#tg-383-wrapper .material-symbols-outlined {
    font-family: 'Material Symbols Outlined', sans-serif;
    font-weight: normal; font-style: normal; font-size: inherit; line-height: 1;
    display: inline-block; white-space: nowrap; direction: ltr;
    -webkit-font-smoothing: antialiased; vertical-align: middle;
}

/* 스크롤 등장 */
#tg-383-wrapper .tg-383-motion { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
#tg-383-wrapper .tg-383-motion.is-visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════ 히어로 */
#tg-383-wrapper .tg-383-hero {
    position: relative; background: var(--dk-base);
    border-radius: var(--radius-lg); padding: 64px 28px 72px; text-align: center; overflow: hidden;
}
#tg-383-wrapper .tg-383-hero__bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 65% 52% at 28% 35%, rgba(30,58,138,.3) 0%, transparent 56%),
        radial-gradient(ellipse 50% 44% at 80% 68%, rgba(96,165,250,.12) 0%, transparent 52%);
}
#tg-383-wrapper .tg-383-hero__floats { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
#tg-383-wrapper .tg-383-float { position: absolute; font-size: 1.8rem; opacity: 0; animation: tg383Float ease-in-out infinite; }
#tg-383-wrapper .tg-383-float--1 { top:14%; left:4%;    animation-duration:5.5s; }
#tg-383-wrapper .tg-383-float--2 { top:22%; right:5%;   animation-duration:4.5s; animation-delay:-2s; font-size:1.3rem; }
#tg-383-wrapper .tg-383-float--3 { bottom:28%; left:6%; animation-duration:6s;   animation-delay:-1s; }
#tg-383-wrapper .tg-383-float--4 { bottom:20%; right:7%;animation-duration:5s;   animation-delay:-1.8s; font-size:1.3rem; }
@keyframes tg383Float { 0%,100%{opacity:0;transform:translateY(0) scale(.9);}50%{opacity:.52;transform:translateY(-14px) scale(1.12);} }
#tg-383-wrapper .tg-383-hero__inner { position:relative; z-index:1; max-width:700px; margin:0 auto; }
#tg-383-wrapper .tg-383-hero__badge { display:inline-flex; align-items:center; gap:6px; background:rgba(30,58,138,.2); border:1px solid rgba(96,165,250,.35); color:var(--nvy-300); font-size:.85rem; font-weight:700; padding:6px 18px; border-radius:999px; margin-bottom:22px !important; }
#tg-383-wrapper .tg-383-hero__title { font-size:clamp(1.65rem,4.2vw,2.3rem); font-weight:900; color:#fff; line-height:1.28; letter-spacing:-.02em; margin-bottom:16px; }
#tg-383-wrapper .tg-383-hero__title em { font-style:normal; color:var(--nvy-300); text-shadow:0 0 24px rgba(96,165,250,.55); }
#tg-383-wrapper .tg-383-hero__subtitle { color:rgba(255,255,255,.65); line-height:1.8; max-width:540px; margin:0 auto 28px !important; }
#tg-383-wrapper .tg-383-hero__chips { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
#tg-383-wrapper .tg-383-hero__chip { display:inline-flex; align-items:center; gap:6px; background:rgba(30,58,138,.15); border:1px solid rgba(96,165,250,.22); color:var(--nvy-300); font-size:.82rem; font-weight:800; padding:8px 16px; border-radius:999px; }
#tg-383-wrapper .tg-383-hero__chip--gold { background:rgba(251,191,36,.08); border-color:rgba(251,191,36,.22); color:var(--gold-300); }
#tg-383-wrapper .tg-383-hero__chip--sky  { background:rgba(56,189,248,.08); border-color:rgba(56,189,248,.22); color:var(--sky-400); }

/* ─── 레이아웃 ─── */
#tg-383-wrapper .tg-383-main { display:flex; flex-direction:column; gap:28px; }

/* 도입부 */
#tg-383-wrapper .tg-383-intro { background:#fff; border:1px solid var(--sl-200); border-top:4px solid var(--nvy-700); border-radius:var(--radius-md); padding:36px 28px; text-align:center; box-shadow:var(--shadow-sm); }
#tg-383-wrapper .tg-383-intro__icon { font-size:2.4rem; color:var(--nvy-700); margin-bottom:14px; }
#tg-383-wrapper .tg-383-intro__title { font-size:clamp(1.05rem,2.8vw,1.3rem); font-weight:800; color:var(--sl-900); margin-bottom:14px; }
#tg-383-wrapper .tg-383-intro p { color:var(--text-sub); max-width:680px; margin-left:auto; margin-right:auto; }
/* 점수 카드 */
#tg-383-wrapper .tg-383-score-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:22px; max-width:580px; margin-left:auto; margin-right:auto; text-align:left; }
#tg-383-wrapper .tg-383-score-card { border-radius:var(--radius-sm); padding:16px; }
#tg-383-wrapper .tg-383-score-card--plus  { background:rgba(34,197,94,.06); border:1px solid rgba(34,197,94,.22); }
#tg-383-wrapper .tg-383-score-card--minus { background:rgba(239,68,68,.06); border:1px solid rgba(239,68,68,.22); }
#tg-383-wrapper .tg-383-score-card__title { font-size:.78rem; font-weight:900; color:var(--sl-900); margin-bottom:10px !important; }
#tg-383-wrapper .tg-383-score-card__rows  { display:flex; flex-direction:column; gap:6px; }
#tg-383-wrapper .tg-383-score-card__row   { display:flex; justify-content:space-between; align-items:center; font-size:.68rem; color:var(--text-sub); }
#tg-383-wrapper .tg-383-score-card--plus  .tg-383-score-card__row strong { color:#16a34a; }
#tg-383-wrapper .tg-383-score-card--minus .tg-383-score-card__row strong { color:#dc2626; }

/* 공통 섹션 */
#tg-383-wrapper .tg-383-section { background:#fff; border:1px solid var(--sl-200); border-radius:var(--radius-md); padding:44px 32px; box-shadow:var(--shadow-sm); text-align:center; }
#tg-383-wrapper .tg-383-section--dark { background:var(--dk-base); border-color:rgba(30,58,138,.15); }
#tg-383-wrapper .tg-383-section__label { display:inline-flex; align-items:center; gap:7px; font-size:.88rem; font-weight:700; padding:7px 20px; border-radius:999px; margin-bottom:22px; }
#tg-383-wrapper .tg-383-section__label--dark { background:rgba(255,255,255,.13); color:#fff; border:1px solid rgba(255,255,255,.24); }
#tg-383-wrapper .tg-383-section__label--navy { background:rgba(30,58,138,.08); color:var(--nvy-800); }
#tg-383-wrapper .tg-383-section__label .material-symbols-outlined { font-size:1rem; }
#tg-383-wrapper .tg-383-section__title--light { color:#fff; font-size:clamp(1.2rem,3vw,1.5rem); font-weight:900; letter-spacing:-.02em; margin-bottom:16px !important; text-align:center; line-height:1.35; padding:0 8px; }
#tg-383-wrapper .tg-383-section__title { font-size:clamp(1.2rem,3vw,1.5rem); font-weight:900; color:var(--sl-900); letter-spacing:-.02em; margin-bottom:16px; display:flex; align-items:center; justify-content:center; gap:10px; }
#tg-383-wrapper .tg-383-section > p { color:var(--text-sub); max-width:680px; margin-left:auto; margin-right:auto; }
#tg-383-wrapper .tg-383-section__desc--light { color:rgba(255,255,255,.8) !important; margin-bottom:28px !important; }

/* ═══════════════════════════════ 시뮬레이터 */
#tg-383-wrapper .tg-383-sim-wrap { max-width:420px; margin:0 auto; text-align:left; }

/* 프로필 카드 */
#tg-383-wrapper .tg-383-profile-card { background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:14px; padding:16px; margin-bottom:10px; }
#tg-383-wrapper .tg-383-profile-card__top { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
#tg-383-wrapper .tg-383-profile-card__avatar { font-size:2rem; width:48px; height:48px; border-radius:50%; background:rgba(30,58,138,.2); border:2px solid rgba(96,165,250,.3); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
#tg-383-wrapper .tg-383-profile-card__name { font-size:.84rem; font-weight:800; color:#fff; margin-bottom:6px; }
/* 레이팅 배지 */
#tg-383-wrapper .tg-383-rating-badge { display:inline-flex; align-items:center; gap:5px; background:rgba(30,58,138,.15); border:1px solid rgba(96,165,250,.25); border-radius:999px; padding:4px 12px; }
#tg-383-wrapper .tg-383-rating-badge__star { font-size:1rem; color:var(--gold-400); animation:tg383StarPulse 2s ease-in-out infinite; }
@keyframes tg383StarPulse { 0%,100%{opacity:1;}50%{opacity:.6;transform:scale(1.2);} }
#tg-383-wrapper .tg-383-rating-badge__level { font-size:.8rem; font-weight:900; color:var(--nvy-300); }
/* 프로그레스 */
#tg-383-wrapper .tg-383-progress-area { margin-bottom:14px; }
#tg-383-wrapper .tg-383-progress-labels { display:flex; align-items:baseline; gap:3px; margin-bottom:8px; }
#tg-383-wrapper .tg-383-progress-labels__cur  { font-size:1.2rem; font-weight:900; color:var(--nvy-300); transition:all .4s; }
#tg-383-wrapper .tg-383-progress-labels__sep  { font-size:.8rem; color:rgba(255,255,255,.3); }
#tg-383-wrapper .tg-383-progress-labels__max  { font-size:.8rem; color:rgba(255,255,255,.3); }
#tg-383-wrapper .tg-383-progress-labels__unit { font-size:.72rem; color:rgba(255,255,255,.3); margin-right:auto; }
#tg-383-wrapper .tg-383-progress-labels__next { font-size:.62rem; color:rgba(255,255,255,.3); text-align:right; }
#tg-383-wrapper .tg-383-progress-bar { height:8px; background:rgba(255,255,255,.07); border-radius:999px; overflow:hidden; }
#tg-383-wrapper .tg-383-progress-bar__fill { height:100%; background:linear-gradient(90deg, var(--nvy-700), var(--nvy-400), var(--gold-400)); border-radius:999px; transition:width .5s cubic-bezier(.34,1.56,.64,1); }
/* 활동 로그 */
#tg-383-wrapper .tg-383-log-wrap { background:rgba(255,255,255,.03); border-radius:10px; padding:10px 12px; }
#tg-383-wrapper .tg-383-log-wrap__label { font-size:.66rem; font-weight:800; color:rgba(255,255,255,.25); margin-bottom:8px !important; }
#tg-383-wrapper .tg-383-log-list { display:flex; flex-direction:column; gap:5px; max-height:120px; overflow-y:auto; scrollbar-width:none; }
#tg-383-wrapper .tg-383-log-list::-webkit-scrollbar { display:none; }
#tg-383-wrapper .tg-383-log-item { display:flex; align-items:center; gap:7px; font-size:.7rem; animation:tg383SlideIn .3s ease; }
#tg-383-wrapper .tg-383-log-item .material-symbols-outlined { font-size:.85rem; flex-shrink:0; }
#tg-383-wrapper .tg-383-log-item__desc { flex:1; color:rgba(255,255,255,.55); }
#tg-383-wrapper .tg-383-log-item__pts  { font-weight:900; white-space:nowrap; }
#tg-383-wrapper .tg-383-log-item--plus .material-symbols-outlined { color:var(--grn-400); }
#tg-383-wrapper .tg-383-log-item--plus .tg-383-log-item__pts { color:var(--grn-400); }
#tg-383-wrapper .tg-383-log-item--minus .material-symbols-outlined { color:var(--red-400); }
#tg-383-wrapper .tg-383-log-item--minus .tg-383-log-item__pts { color:var(--red-400); }

/* 레벨업 배너 */
#tg-383-wrapper .tg-383-levelup-banner { display:flex; align-items:center; gap:12px; background:linear-gradient(135deg, rgba(30,58,138,.2), rgba(251,191,36,.1)); border:1px solid rgba(251,191,36,.3); border-radius:12px; padding:14px 16px; margin-bottom:10px; animation:tg383BounceIn .5s cubic-bezier(.34,1.56,.64,1); }
#tg-383-wrapper .tg-383-levelup-banner__emoji { font-size:1.8rem; flex-shrink:0; }
#tg-383-wrapper .tg-383-levelup-banner__title { font-size:.9rem; font-weight:900; color:var(--gold-300); margin-bottom:2px !important; }
#tg-383-wrapper .tg-383-levelup-banner__sub   { font-size:.72rem; color:rgba(255,255,255,.5); margin-bottom:0 !important; }

/* 액션 버튼 */
#tg-383-wrapper .tg-383-action-btns { display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px; margin-bottom:8px; }
#tg-383-wrapper .tg-383-action-btn { display:flex; flex-direction:column; align-items:center; gap:4px; padding:12px 6px; border-radius:12px; font-size:.68rem; font-weight:800; color:#fff; line-height:1.3; text-align:center; transition:all .18s; }
#tg-383-wrapper .tg-383-action-btn .material-symbols-outlined { font-size:1.3rem; margin-bottom:2px; }
#tg-383-wrapper .tg-383-action-btn__sub { font-size:.54rem; font-weight:400; opacity:.7; }
#tg-383-wrapper .tg-383-action-btn--tg     { background:linear-gradient(135deg, var(--nvy-700), var(--nvy-800)); border:1px solid rgba(96,165,250,.2); }
#tg-383-wrapper .tg-383-action-btn--tg:hover { opacity:.88; }
#tg-383-wrapper .tg-383-action-btn--user   { background:linear-gradient(135deg, #0369a1, #075985); border:1px solid rgba(56,189,248,.2); }
#tg-383-wrapper .tg-383-action-btn--user:hover { opacity:.88; }
#tg-383-wrapper .tg-383-action-btn--refund { background:linear-gradient(135deg, #991b1b, #7f1d1d); border:1px solid rgba(248,113,113,.2); }
#tg-383-wrapper .tg-383-action-btn--refund:hover { opacity:.88; }
/* 초기화 버튼 */
#tg-383-wrapper .tg-383-retry-btn { display:inline-flex; align-items:center; gap:5px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); color:rgba(255,255,255,.35); font-size:.78rem; font-weight:700; padding:7px 14px; border-radius:999px; transition:background .18s; }
#tg-383-wrapper .tg-383-retry-btn:hover { background:rgba(255,255,255,.1); }
#tg-383-wrapper .tg-383-retry-btn .material-symbols-outlined { font-size:.85rem; }
#tg-383-wrapper .tg-383-sim-hint { font-size:.7rem; color:rgba(255,255,255,.25); text-align:center; margin-top:8px !important; }

/* 기기별 탭 */
#tg-383-wrapper .tg-383-tabs { display:flex; gap:6px; background:var(--sl-100); border-radius:var(--radius-sm); padding:5px; margin-bottom:22px; flex-wrap:wrap; }
#tg-383-wrapper .tg-383-tab-btn { flex:1; min-width:72px; display:flex; align-items:center; justify-content:center; gap:6px; padding:11px 10px; border-radius:7px; font-size:var(--fs-sm); font-weight:600; color:var(--sl-500); transition:background .2s, color .2s; }
#tg-383-wrapper .tg-383-tab-btn .material-symbols-outlined { font-size:1.1rem; }
#tg-383-wrapper .tg-383-tab-btn--active { background:#fff; color:var(--nvy-800); box-shadow:0 2px 8px rgba(0,0,0,.08); font-weight:800; }
#tg-383-wrapper .tg-383-tab-panel { display:none; text-align:left; animation:tg383FadeIn .3s ease; }
#tg-383-wrapper .tg-383-tab-panel--active { display:block; }
#tg-383-wrapper .tg-383-tab-panel__head { display:flex; align-items:center; gap:14px; margin-bottom:20px; padding-bottom:14px; border-bottom:1px solid var(--sl-100); }
#tg-383-wrapper .tg-383-tab-panel__icon { width:50px; height:50px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:1.6rem; color:#fff; flex-shrink:0; }
#tg-383-wrapper .tg-383-tab-panel__icon--pc  { background:linear-gradient(135deg, var(--nvy-700), var(--nvy-800)); }
#tg-383-wrapper .tg-383-tab-panel__icon--and { background:linear-gradient(135deg, #3ddc84, #00ac47); }
#tg-383-wrapper .tg-383-tab-panel__icon--ios { background:linear-gradient(135deg, #555, #111); }
#tg-383-wrapper .tg-383-tab-panel__name { font-size:var(--fs-lg); font-weight:800; color:var(--sl-900); margin-bottom:4px; }
#tg-383-wrapper .tg-383-tab-panel__sub  { font-size:var(--fs-sm); color:var(--sl-500); margin-bottom:0 !important; }
#tg-383-wrapper .tg-383-steps { display:flex; flex-direction:column; gap:12px; counter-reset:steps; }
#tg-383-wrapper .tg-383-steps li { counter-increment:steps; display:flex; align-items:flex-start; gap:12px; font-size:var(--fs-base); color:var(--text-sub); line-height:1.75; }
#tg-383-wrapper .tg-383-steps li::before { content:counter(steps); min-width:28px; height:28px; flex-shrink:0; margin-top:2px; background:linear-gradient(135deg, var(--nvy-700), var(--nvy-800)); color:#fff; font-size:.8rem; font-weight:900; border-radius:50%; display:flex; align-items:center; justify-content:center; }
#tg-383-wrapper .tg-383-steps li strong { color:var(--sl-800); }
#tg-383-wrapper .tg-383-tip-box { display:flex; align-items:flex-start; gap:12px; background:rgba(30,58,138,.06); border:1px solid rgba(96,165,250,.2); border-radius:var(--radius-sm); padding:14px 18px; margin-top:18px; font-size:var(--fs-sm); color:var(--text-sub); line-height:1.7; }
#tg-383-wrapper .tg-383-tip-box .material-symbols-outlined { font-size:1.2rem; color:var(--nvy-700); flex-shrink:0; margin-top:2px; }

/* 결론 */
#tg-383-wrapper .tg-383-summary { background:linear-gradient(145deg, var(--dk-base), #040c28 55%, var(--dk-base)); border:1px solid rgba(30,58,138,.18); border-radius:var(--radius-lg); padding:52px 32px; color:#fff; text-align:center; }
#tg-383-wrapper .tg-383-summary h2 { font-size:1.3rem; font-weight:900; display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:12px; color:#fff; }
#tg-383-wrapper .tg-383-summary h2 .material-symbols-outlined { color:var(--nvy-300); font-size:1.5rem; }
#tg-383-wrapper .tg-383-summary > p { color:rgba(255,255,255,.55); margin-bottom:36px !important; }
#tg-383-wrapper .tg-383-summary__grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; max-width:560px; margin:0 auto; }
#tg-383-wrapper .tg-383-summary__item { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius:12px; padding:20px; display:flex; flex-direction:column; align-items:center; gap:10px; }
#tg-383-wrapper .tg-383-summary__item .material-symbols-outlined { font-size:1.8rem; color:var(--nvy-300); }
#tg-383-wrapper .tg-383-summary__item p { font-size:.84rem; font-weight:700; color:rgba(255,255,255,.75); margin-bottom:0 !important; }
#tg-383-wrapper .tg-383-footer-cta { margin-top:44px; border-top:1px solid rgba(255,255,255,.07); padding-top:28px; }
#tg-383-wrapper .tg-383-footer-cta p { font-size:var(--fs-sm); color:rgba(255,255,255,.4); margin-bottom:20px !important; }
#tg-383-wrapper .tg-383-cta-btn { display:inline-flex; align-items:center; gap:8px; background:linear-gradient(135deg, var(--nvy-700), var(--nvy-800)); color:#fff; font-size:1rem; font-weight:800; padding:15px 32px; border-radius:999px; box-shadow:var(--shadow-nvy); transition:transform .2s; }
#tg-383-wrapper .tg-383-cta-btn:hover { transform:translateY(-3px); }
#tg-383-wrapper .tg-383-cta-btn .material-symbols-outlined { font-size:1.1rem; }

@keyframes tg383Float    { 0%,100%{opacity:0;transform:translateY(0) scale(.9);}50%{opacity:.52;transform:translateY(-14px) scale(1.12);} }
@keyframes tg383FadeIn   { from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:translateY(0);} }
@keyframes tg383SlideIn  { from{opacity:0;transform:translateX(-10px);}to{opacity:1;transform:translateX(0);} }
@keyframes tg383BounceIn { from{opacity:0;transform:scale(.7);}to{opacity:1;transform:scale(1);} }

/* 반응형 */
@media (min-width:480px)  { #tg-383-wrapper .tg-383-score-grid { grid-template-columns:1fr 1fr; } }
@media (min-width:640px)  { #tg-383-wrapper .tg-383-summary__grid { grid-template-columns:repeat(4,1fr); } }
@media (min-width:900px)  { #tg-383-wrapper .tg-383-hero { padding:80px 56px 90px; } #tg-383-wrapper .tg-383-section, #tg-383-wrapper .tg-383-intro { padding:52px 48px; } }
