
/* ══════════════════════════════════════
   HERO — lightweight CSS-only slider
   ══════════════════════════════════════ */
.wellcoms-hero{height:auto!important;min-height:120px!important;max-height:none!important;background:#0a1628!important;background-image:linear-gradient(135deg,#0a1628 0%,#0f2240 40%,#0d1f3a 70%,#0a1628 100%);display:flex;align-items:center;justify-content:center;text-align:center;padding:24px 20px;position:relative;overflow:hidden}
.wellcoms-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 20% 50%,rgba(94,245,255,.06) 0%,transparent 50%),radial-gradient(ellipse at 80% 30%,rgba(99,102,241,.05) 0%,transparent 45%);pointer-events:none;z-index:0}

.wellcoms-hero-content{position:relative;z-index:2;max-width:none;margin:0;width:100%}
.wc-hero-main{display:block!important;position:relative!important;width:100%!important}
.wc-hero-main>div:first-child{min-width:0!important;overflow:visible!important}

.wc-hero-brand-wrap{overflow:visible;margin-bottom:8px;text-align:center}
.wc-hero-brand-scroll{display:flex;flex-direction:column;align-items:center;justify-content:center}
.wc-hero-brand-scroll .wc-hero-brand-line{display:flex;align-items:center;justify-content:center;flex-shrink:0}
.wc-hero-brand{font-size:clamp(1.4rem,5vw,3.6rem)!important;font-weight:900!important;letter-spacing:.02em!important;color:#fff!important;-webkit-text-fill-color:#fff!important;background:none!important;line-height:1.2!important;text-align:center!important;display:block!important;width:100%!important}
.wc-hero-brand-en{display:none!important}

/* Slider — CSS-only auto rotate */
.wc-hero-slider{position:relative;min-height:60px}
.wc-hero-slide{position:absolute;top:0;left:0;width:100%;text-align:center;opacity:0;transform:translateY(8px);transition:opacity .45s ease,transform .45s ease;pointer-events:none}
.wc-hero-slide.active{opacity:1;transform:translateY(0);pointer-events:auto;position:relative}

/* Slide headings */
.wc-hero-slide h1,.wc-hero-slide h2{font-size:clamp(.85rem,1.6vw,1.2rem)!important;font-weight:600!important;letter-spacing:.01em!important;line-height:1.35!important;margin:0 0 6px!important;text-align:center!important}
.wc-hero-slide h1{color:#5ef5ff!important;-webkit-text-fill-color:#5ef5ff!important;background:none!important;text-shadow:0 0 12px rgba(94,245,255,.25)!important}
.wc-hero-slide h2{color:#5ef5ff!important;-webkit-text-fill-color:#5ef5ff!important;background:none!important;text-shadow:0 0 12px rgba(94,245,255,.2)!important}

/* Why bar — compact text only */
.wc-hero-slide .wc-why-bar-inner{display:flex!important;justify-content:center!important;gap:16px!important;flex-wrap:nowrap!important;overflow:hidden!important;text-align:center!important}
.wc-why-bar-item{display:flex;align-items:center;gap:4px;white-space:nowrap;flex-shrink:0}
.wc-why-bar-title{display:flex;align-items:center;gap:4px}
.wc-why-bar-ico{display:none}
.wc-why-bar-item strong{color:rgba(224,242,254,.85);font-size:.72rem;font-weight:500}

/* Slide badge animation */
.wc-hero-slide .wc-why-bar-item{opacity:0;transform:translateY(6px);transition:opacity .3s ease,transform .3s ease}
.wc-hero-slide.active .wc-why-bar-item{opacity:1;transform:translateY(0)}
.wc-hero-slide.active .wc-why-bar-item:nth-child(1){transition-delay:.1s}
.wc-hero-slide.active .wc-why-bar-item:nth-child(2){transition-delay:.2s}
.wc-hero-slide.active .wc-why-bar-item:nth-child(3){transition-delay:.3s}
.wc-hero-slide.active .wc-why-bar-item:nth-child(4){transition-delay:.4s}

/* Buttons */
.wellcoms-hero-buttons,.wc-hero-main .wellcoms-hero-buttons,.wc-hero-main .wc-hero-main-buttons{position:relative!important;top:auto!important;right:auto!important;display:flex!important;flex-direction:row!important;gap:10px!important;flex-shrink:0!important;align-items:center!important;justify-content:center!important;z-index:10!important;margin-top:12px!important}
.wellcoms-hero-buttons .wc-btn,.wc-hero-main .wc-btn{background:rgba(0,162,204,.15)!important;border:1px solid rgba(224,242,254,.5)!important;color:#E0F2FE!important;-webkit-text-fill-color:#E0F2FE!important;border-radius:4px!important;padding:6px 16px!important;font-size:.78rem!important;font-weight:600!important;display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap!important;transition:all .2s ease!important;box-shadow:none!important;text-decoration:none!important}
.wellcoms-hero-buttons .wc-btn:hover{background:rgba(0,162,204,.3)!important;border-color:#00a2cc!important;box-shadow:0 4px 16px rgba(0,162,204,.35)!important;transform:translateY(-1px)}

/* Admin button */
.wc-hero-admin{position:absolute;bottom:12px;right:20px;z-index:10}
.wc-hero-admin a{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:5px;background:rgba(255,255,255,.06);color:rgba(255,255,255,.5);font-size:.58rem;text-decoration:none;border:1px solid rgba(255,255,255,.1);transition:background .2s}
.wc-hero-admin a:hover{background:rgba(0,162,204,.3);color:#fff}
.wc-hero-admin a svg{width:12px;height:12px;flex-shrink:0}

/* Hide pseudo elements */
.wellcoms-hero::after,.wellcoms-hero-content::before,.wellcoms-hero-content::after{display:none!important;content:none!important}

/* Keyframes */
@keyframes wcShimmer{0%,100%{background-position:200% center}50%{background-position:-100% center}}
@keyframes wcBrandScroll{0%,35%{transform:translateY(0)}50%,85%{transform:translateY(-50%)}100%{transform:translateY(0)}}

/* Responsive */
@media(max-width:767px){
.wellcoms-hero{padding:10px 12px 8px;min-height:90px!important;text-align:left!important;justify-content:flex-start!important}
.wc-hero-slider{min-height:50px}
.wc-hero-slide{text-align:left!important}
.wc-hero-slide h1,.wc-hero-slide h2{font-size:clamp(.72rem,2.5vw,.95rem)!important;text-align:left!important}
.wc-why-bar-item strong{font-size:.6rem}
.wc-hero-slide .wc-why-bar-inner{gap:10px;justify-content:flex-start!important}
.wellcoms-hero-buttons,.wc-hero-main .wellcoms-hero-buttons{position:absolute!important;top:8px!important;right:10px!important;flex-direction:column!important;gap:3px!important;margin-top:0!important}
.wellcoms-hero-buttons .wc-btn{font-size:.58rem!important;padding:3px 6px!important}
.wc-hero-admin{bottom:8px;right:10px}.wc-hero-admin a{font-size:.52rem;padding:3px 6px}
}

/* Reduced motion */
@media(prefers-reduced-motion:reduce){
.wc-hero-brand-scroll,.wc-hero-brand,.wc-hero-brand-en{animation:none!important}
.wc-hero-slide{transition:opacity .15s ease!important;transform:none!important}
.wc-hero-slide .wc-why-bar-item{opacity:1!important;transform:none!important;transition:none!important}
}

/* ══════════════════════════════════════
   QUICKBAR — 날짜/시간/날씨 + 빠른가기
   ══════════════════════════════════════ */
.wc-quickbar {display:none}

.wc-quickbar-inner {
    width: 100%;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.wc-quickbar-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex-shrink: 0;
    min-width: 0;
}

.wc-quickbar-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.wc-quickbar-meta {
    gap: 6px;
}

.wc-quickbar-datetime {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.wc-qb-date {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
}

.wc-qb-divider {
    width: 1px;
    height: 14px;
    background: #D1D5DB;
    flex-shrink: 0;
}

.wc-qb-lunar {
    font-size: 0.875rem;
    font-weight: 800;
    color: #B45309;
    white-space: nowrap;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1) 0%, rgba(180, 83, 9, 0.08) 100%);
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid rgba(217, 119, 6, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.wc-qb-lunar .wc-qb-term {
    color: #92400E;
    font-weight: 700;
    margin-left: 3px;
    background: rgba(217, 119, 6, 0.15);
    padding: 1px 6px;
    border-radius: 4px;
}

/* 클릭 가능한 정보 아이템 */
.wc-qb-clickable {
    text-decoration: none !important;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s ease, transform 0.15s ease;
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    outline: none;
}

.wc-qb-clickable:hover {
    background: rgba(0, 162, 204, 0.06);
    transform: translateY(-1px);
}

.wc-qb-clickable:hover .wc-qb-date {
    color: #00a2cc;
}

.wc-qb-clickable:hover .wc-qb-lunar {
    border-color: rgba(217, 119, 6, 0.4);
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.15) 0%, rgba(180, 83, 9, 0.12) 100%);
}

.wc-qb-clickable:hover .wc-quickbar-weather-label {
    color: #00a2cc;
}

/* 외부 링크 아이콘 인디케이터 */
.wc-qb-clickable::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid currentColor;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    opacity: 0;
    margin-left: 0;
    transition: opacity 0.15s ease, margin-left 0.15s ease;
    flex-shrink: 0;
}

.wc-qb-clickable:hover::after {
    opacity: 0.4;
    margin-left: 4px;
}

/* 환율 정보 */
.wc-quickbar-exrate {
    font-size: 0.8125rem;
    color: #374151;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #E5E7EB;
    background: #F9FAFB;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.wc-quickbar-exrate:hover {
    border-color: rgba(0, 162, 204, 0.3);
    background: rgba(0, 162, 204, 0.04);
}

.wc-quickbar-kospi {
    font-size: 0.8125rem;
    color: #374151;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #E5E7EB;
    background: #F9FAFB;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.wc-quickbar-kospi:hover {
    border-color: rgba(0, 162, 204, 0.3);
    background: rgba(0, 162, 204, 0.04);
}

.wc-qb-kospi-label {
    font-weight: 500;
    color: #6B7280;
    font-size: 0.75rem;
}

.wc-qb-kospi-value {
    font-weight: 500;
    color: #374151;
    font-variant-numeric: tabular-nums;
    font-size: 0.8125rem;
}

.wc-qb-kospi-change {
    font-size: 0.6875rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.wc-qb-exrate-label {
    font-weight: 500;
    color: #6B7280;
    font-size: 0.75rem;
}

.wc-qb-exrate-loading {
    color: #D1D5DB;
    font-size: 0.75rem;
}

.wc-qb-exrate-value {
    font-weight: 500;
    color: #00a2cc;
    font-variant-numeric: tabular-nums;
    font-size: 0.8125rem;
}



.wc-qb-exrate-loading {
    color: #D1D5DB;
    font-size: 0.75rem;
}

.wc-qb-time {
    font-size: 0.875rem;
    font-weight: 800;
    color: #00a2cc;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.wc-quickbar-weather {
    font-size: 0.75rem;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.wc-quickbar-weather svg {
    flex-shrink: 0;
}

.wc-gps-icon {
    background: rgba(0,162,204,.08);
    border: 1px solid rgba(0,162,204,.18);
    border-radius: 50%;
    padding: 2px;
    margin-left: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    opacity: .7;
    transition: all .2s;
    color: #00a2cc;
}
.wc-gps-icon:hover {
    opacity: 1;
    background: rgba(0,162,204,.18);
    transform: scale(1.1);
}
.wc-gps-icon.loading {
    animation: wcGpsSpin 1s linear infinite;
}
.wc-gps-icon.success {
    color: #10b981;
    background: rgba(16,185,129,.12);
    border-color: rgba(16,185,129,.3);
    opacity: 1;
}
.wc-gps-icon.active {
    opacity: .3;
    color: #10b981;
    background: transparent;
    border-color: transparent;
}
@keyframes wcGpsSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.wc-qb-weather-loading {
    color: #D1D5DB;
}

.wc-quickbar-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: flex-end;
    flex-wrap: wrap;
    min-width: 0;
}

.wc-quickbar-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2px;
    padding: 5px 6px;
    border-radius: 8px;
    text-decoration: none !important;
    color: #374151 !important;
    font-size: 0.8125rem;
    font-weight: 400;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
    background: #F9FAFB;
    border: 1px solid #F3F4F6;
    min-width: 48px;
    flex: 0 0 auto;
}

.wc-quickbar-link:hover {
    background: var(--ql-color, #00a2cc);
    color: #FFFFFF !important;
    border-color: var(--ql-color, #00a2cc);
    transform: translateY(-1px);
}

.wc-quickbar-link:hover svg path,
.wc-quickbar-link:hover svg circle {
    fill: #FFFFFF;
}

.wc-quickbar-link:hover .wc-quickbar-link-label {
    color: #FFFFFF !important;
}

.wc-quickbar-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--ql-color, #374151);
}

.wc-quickbar-link-label {
    color: #374151;
    font-size: 0.5625rem;
    font-weight: 400;
    text-align: center;
    min-width: 32px;
}

/* ══════════════════════════════════════
   CALENDAR POPUP — 양력/음력 달력
   ══════════════════════════════════════ */
.wc-calendar-popup {
    position: absolute;
    top: 100%;
    left: 16px;
    z-index: 200;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    min-width: 320px;
    max-width: 380px;
    padding: 0;
    overflow: hidden;
    animation: wcCalFadeIn 0.18s ease;
}

@keyframes wcCalFadeIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.96); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.wc-calendar-popup-header {
    display: flex;
    align-items: center;
    padding: 14px 16px 10px;
    background: linear-gradient(135deg, #0f2240 0%, #152e4c 100%);
    color: #FFFFFF;
    gap: 8px;
}

.wc-cal-title {
    flex: 1;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.02em;
}

.wc-cal-nav {
    background: rgba(255,255,255,0.12);
    border: none;
    color: #FFFFFF;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.wc-cal-nav:hover {
    background: rgba(255,255,255,0.25);
}

.wc-cal-close {
    background: rgba(255,255,255,0.08);
    border: none;
    color: rgba(255,255,255,0.7);
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    margin-left: 4px;
}

.wc-cal-close:hover {
    background: rgba(255,255,255,0.2);
    color: #FFFFFF;
}

.wc-calendar-popup-body {
    padding: 12px 14px 8px;
}

.wc-cal-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.wc-cal-table th {
    font-size: 0.7rem;
    font-weight: 600;
    color: #9CA3AF;
    text-align: center;
    padding: 4px 0 8px;
    text-transform: uppercase;
}

.wc-cal-table td {
    text-align: center;
    padding: 2px 0;
    vertical-align: top;
    position: relative;
}

.wc-cal-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 2px;
    border-radius: 8px;
    transition: background 0.12s;
    cursor: default;
}

.wc-cal-day:hover {
    background: #F3F4F6;
}

.wc-cal-day-solar {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
}

.wc-cal-day-lunar {
    font-size: 0.6rem;
    color: #B45309;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

.wc-cal-day.wc-cal-today {
    background: linear-gradient(135deg, #00a2cc, #0088aa);
    border-radius: 8px;
}

.wc-cal-day.wc-cal-today .wc-cal-day-solar {
    color: #FFFFFF;
    font-weight: 800;
}

.wc-cal-day.wc-cal-today .wc-cal-day-lunar {
    color: rgba(255,255,255,0.85);
}

.wc-cal-day.wc-cal-sun .wc-cal-day-solar {
    color: #DC2626;
}

.wc-cal-day.wc-cal-sun.wc-cal-today .wc-cal-day-solar {
    color: #FFFFFF;
}

.wc-cal-calendar-month {
    color: #DC2626 !important;
    font-weight: 800 !important;
}

.wc-calendar-popup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 12px;
    border-top: 1px solid #F3F4F6;
}

.wc-cal-today-btn {
    font-size: 0.75rem;
    font-weight: 600;
    color: #00a2cc;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 6px;
    transition: background 0.12s;
}

.wc-cal-today-btn:hover {
    background: rgba(0, 162, 204, 0.08);
}

.wc-cal-link {
    font-size: 0.75rem;
}

.wc-cal-link a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.12s;
}

.wc-cal-link a:hover {
    color: #00a2cc;
}

@media (max-width: 767px) {
    .wc-calendar-popup {
        left: 8px;
        right: 8px;
        min-width: unset;
        max-width: unset;
    }
}

@media (max-width: 400px) {
    .wc-calendar-popup {
        left: 4px;
        right: 4px;
    }
    .wc-cal-day-solar {
        font-size: 0.78rem;
    }
    .wc-cal-day-lunar {
        font-size: 0.55rem;
    }
}

/* ══════════════════════════════════════
   계산기 팝업
   ══════════════════════════════════════ */
.wc-calc-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 200;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    width: 300px;
    padding: 0;
    overflow: hidden;
    animation: wcCalFadeIn 0.18s ease;
    max-height: 90vh;
}

.wc-calc-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    background: linear-gradient(135deg, #0f2240 0%, #152e4c 100%);
    color: #FFFFFF;
}

.wc-calc-tabs {
    display: flex;
    gap: 0;
    flex: 1;
}

.wc-calc-tab {
    flex: 1;
    padding: 9px 0;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
    font-family: inherit;
    letter-spacing: 0.02em;
    position: relative;
}

.wc-calc-tab:hover {
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.05);
}

.wc-calc-tab.active {
    color: #FFFFFF;
    background: rgba(255,255,255,0.1);
}

.wc-calc-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: #00a2cc;
    border-radius: 1px;
}

.wc-calc-close {
    background: rgba(255,255,255,0.08);
    border: none;
    color: rgba(255,255,255,0.7);
    width: 26px;
    height: 26px;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    margin-right: 8px;
    flex-shrink: 0;
}

.wc-calc-close:hover {
    background: rgba(255,255,255,0.2);
    color: #FFFFFF;
}

.wc-calc-panel {
    min-height: 330px;
}

.wc-calc-powered {
    text-align: center;
    font-size: 0.6875rem;
    color: rgba(0,0,0,0.25);
    padding: 6px 0 8px;
    letter-spacing: 0.03em;
}
.wc-calc-powered strong {
    color: rgba(0,0,0,0.38);
    font-weight: 700;
}

.wc-calc-display {
    padding: 12px 14px 8px;
    border-bottom: 1px solid #F3F4F6;
}

.wc-calc-expr {
    font-size: 0.75rem;
    color: #9CA3AF;
    min-height: 1.2em;
    text-align: right;
    word-break: break-all;
    font-variant-numeric: tabular-nums;
}

.wc-calc-result {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    text-align: right;
    min-height: 1.4em;
    word-break: break-all;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
}

.wc-calc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 8px 10px 12px;
}

.wc-calc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.12s, transform 0.1s;
    font-family: inherit;
    background: #F3F4F6;
    color: #111827;
}

.wc-calc-btn:hover {
    background: #E5E7EB;
}

.wc-calc-btn:active {
    transform: scale(0.95);
    background: #D1D5DB;
}

.wc-calc-btn--op {
    background: rgba(0, 162, 204, 0.1);
    color: #00a2cc;
    font-weight: 700;
}

.wc-calc-btn--op:hover {
    background: rgba(0, 162, 204, 0.18);
}

.wc-calc-btn--op:active {
    background: rgba(0, 162, 204, 0.25);
}

.wc-calc-btn--eq {
    background: linear-gradient(135deg, #00a2cc, #0088aa);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1.1rem;
}

.wc-calc-btn--eq:hover {
    background: linear-gradient(135deg, #0088aa, #006688);
}

.wc-calc-btn--fn {
    background: #FEF3C7;
    color: #92400E;
    font-weight: 700;
    font-size: 0.8125rem;
}

.wc-calc-btn--fn:hover {
    background: #FDE68A;
}

.wc-calc-btn--zero {
    grid-column: span 2;
}

.wc-calc-btn--back {
    background: #FEE2E2;
    color: #DC2626;
    font-size: 1rem;
}

.wc-calc-btn--back:hover {
    background: #FECACA;
}

/* 환율 계산기 */
.wc-exchange-form {
    padding: 14px;
}

.wc-exchange-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.wc-exchange-row select {
    flex: 1;
    padding: 8px 6px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: inherit;
    background: #F9FAFB;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
}

.wc-exchange-row select:focus {
    border-color: #00a2cc;
}

.wc-exchange-rate {
    font-size: 0.8rem;
    color: #6B7280;
    white-space: nowrap;
}

.wc-exchange-input-wrap {
    position: relative;
    margin-bottom: 8px;
}

.wc-exchange-input-wrap input {
    width: 100%;
    padding: 8px 30px 8px 10px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    font-variant-numeric: tabular-nums;
    text-align: right;
    outline: none;
    transition: border-color 0.15s;
    background: #F9FAFB;
    box-sizing: border-box;
}

.wc-exchange-input-wrap input:focus {
    border-color: #00a2cc;
}

.wc-exchange-result {
    width: 100%;
    padding: 10px 12px;
    background: linear-gradient(135deg, #0f2240 0%, #152e4c 100%);
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
    box-sizing: border-box;
    margin-bottom: 8px;
}

.wc-exchange-reverse {
    margin-top: 6px;
}

.wc-exchange-reverse label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #6B7280;
    cursor: pointer;
}

.wc-exchange-reverse input[type="checkbox"] {
    accent-color: #00a2cc;
}

/* 마진 계산기 */
.wc-margin-form {
    padding: 14px;
}

.wc-margin-row {
    margin-bottom: 10px;
}

.wc-margin-row label {
    display: block;
    font-size: 0.75rem;
    color: #6B7280;
    margin-bottom: 4px;
    font-weight: 600;
}

.wc-margin-toggle {
    display: flex;
    gap: 0;
    width: 100%;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
}

.wc-margin-toggle-btn {
    flex: 1;
    padding: 6px 0;
    border: none;
    background: #F9FAFB;
    color: #6B7280;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
}

.wc-margin-toggle-btn:first-child {
    border-right: 1px solid #E5E7EB;
}

.wc-margin-toggle-btn.active {
    background: #0f2240;
    color: #FFFFFF;
}

.wc-margin-toggle-btn:hover:not(.active) {
    background: #F3F4F6;
}

.wc-margin-input-wrap {
    position: relative;
}

.wc-margin-input-wrap input {
    width: 100%;
    padding: 8px 30px 8px 10px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    font-variant-numeric: tabular-nums;
    text-align: right;
    outline: none;
    transition: border-color 0.15s;
    background: #F9FAFB;
    box-sizing: border-box;
}

.wc-margin-input-wrap input:focus {
    border-color: #00a2cc;
}

/* 입력 초기화 버튼 */
.wc-input-clear {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: #E5E7EB;
    color: #6B7280;
    font-size: 0.8rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.12s, color 0.12s;
    padding: 0;
    line-height: 1;
}

.wc-input-clear:hover {
    background: #D1D5DB;
    color: #374151;
}

.wc-input-clear.visible {
    display: flex;
}

.wc-margin-calc-btn {
    width: 100%;
    padding: 9px;
    background: linear-gradient(135deg, #00a2cc, #0088aa);
    border: none;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    font-family: inherit;
    margin-bottom: 12px;
}

.wc-margin-calc-btn:hover {
    background: linear-gradient(135deg, #0088aa, #006688);
}

.wc-margin-calc-btn:active {
    transform: scale(0.98);
}

.wc-margin-result {
    background: #F9FAFB;
    border-radius: 8px;
    padding: 10px 12px;
    border: 1px solid #F3F4F6;
}

.wc-margin-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.wc-margin-item + .wc-margin-item {
    border-top: 1px solid #F3F4F6;
}

.wc-margin-label {
    font-size: 0.75rem;
    color: #6B7280;
}

.wc-margin-val {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
    font-variant-numeric: tabular-nums;
}

/* 날짜 계산기 */
.wc-date-form {
    padding: 14px;
}

.wc-date-toggle {
    display: flex;
    gap: 0;
    width: 100%;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.wc-date-toggle-btn {
    flex: 1;
    padding: 6px 0;
    border: none;
    background: #F9FAFB;
    color: #6B7280;
    font-size: 0.6875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
    border-right: 1px solid #E5E7EB;
}

.wc-date-toggle-btn:last-child {
    border-right: none;
}

.wc-date-toggle-btn.active {
    background: #0f2240;
    color: #FFFFFF;
}

.wc-date-toggle-btn:hover:not(.active) {
    background: #F3F4F6;
}

.wc-date-row {
    margin-bottom: 10px;
}

.wc-date-row label {
    display: block;
    font-size: 0.75rem;
    color: #6B7280;
    margin-bottom: 4px;
    font-weight: 600;
}

.wc-date-row input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
    background: #F9FAFB;
    box-sizing: border-box;
    color: #111827;
}

.wc-date-row input:focus {
    border-color: #00a2cc;
}

.wc-date-row input[type="number"] {
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.wc-date-result {
    background: linear-gradient(135deg, #0f2240 0%, #152e4c 100%);
    border-radius: 8px;
    padding: 12px 14px;
    margin-top: 4px;
}

.wc-date-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wc-date-result-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

.wc-date-result-val {
    font-size: 0.875rem;
    font-weight: 700;
    color: #FFFFFF;
    text-align: right;
    line-height: 1.4;
}

/* 계산기 트리거 버튼 */
.wc-qb-calc-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0f2240 0%, #152e4c 100%);
    border: 1px solid rgba(0, 162, 204, 0.4);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
    padding: 0 10px;
    flex-shrink: 0;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0, 162, 204, 0.25);
    color: #FFFFFF;
    text-decoration: none;
}

.wc-qb-calc-btn:hover {
    background: linear-gradient(135deg, #152e4c 0%, #1a3a5c 100%);
    border-color: rgba(0, 162, 204, 0.7);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 162, 204, 0.35);
}

.wc-qb-calc-btn svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: #00a2cc;
}

.wc-qb-calc-label {
    font-size: 0.6875rem;
    color: #FFFFFF;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1;
}

@media (max-width: 767px) {
    .wc-calc-popup {
        width: calc(100vw - 32px);
        max-width: 340px;
        max-height: 70vh;
        overflow-y: auto;
    }
}

@media (max-width: 400px) {
    .wc-calc-popup {
        width: calc(100vw - 16px);
    }
    .wc-calc-btn {
        height: 34px;
        font-size: 0.875rem;
    }
    .wc-calc-result {
        font-size: 1.25rem;
    }
}

.wc-quickbar-admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    opacity: 0.4;
    color: #6B7280;
    text-decoration: none !important;
    transition: opacity 0.15s ease, background 0.15s ease;
}

.wc-quickbar-admin:hover {
    opacity: 1;
    background: #F3F4F6;
}

@media (max-width: 1023px) {
    .wc-quickbar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 10px 16px;
    }
    .wc-quickbar-links {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 4px;
    }
    .wc-quickbar-link {
        padding: 4px 4px;
        gap: 1px;
        border-radius: 6px;
        min-width: 44px;
    }
    .wc-quickbar-link svg {
        width: 16px;
        height: 16px;
    }
    .wc-quickbar-link-label {
        font-size: 0.5rem;
        min-width: 28px;
    }
}

@media (max-width: 767px) {
.wc-quickbar { display:none }
        position: sticky;
        top: 0;
        z-index: 100;
    }
    .wc-quickbar-inner {
        padding: 8px 12px;
        gap: 4px;
    }
    .wc-quickbar-info-row {
        gap: 6px;
    }
    .wc-quickbar-meta {
        gap: 4px;
    }
    .wc-qb-date {
        font-size: 0.75rem;
    }
    .wc-qb-lunar {
        font-size: 0.75rem;
        padding: 2px 8px;
    }
    .wc-qb-time {
        font-size: 0.8125rem;
    }
    .wc-quickbar-weather {
        font-size: 0.6875rem;
    }
    .wc-quickbar-exrate {
        font-size: 0.6875rem;
        padding: 2px 8px;
    }
    .wc-qb-exrate-value {
        font-size: 0.8125rem;
    }
    .wc-qb-clickable::after {
        display: none;
    }
}

/* 갤럭시노트9 (360px) 최적화 */
@media (max-width: 400px) {
    .wc-quickbar-inner {
        padding: 6px 10px;
        gap: 3px;
    }
    .wc-quickbar-info-row {
        gap: 4px;
    }
    .wc-quickbar-meta {
        gap: 3px;
    }
    .wc-qb-date {
        font-size: 0.6875rem;
    }
    .wc-qb-lunar {
        font-size: 0.6875rem;
        padding: 2px 6px;
    }
    .wc-qb-time {
        font-size: 0.75rem;
    }
    .wc-quickbar-weather {
        font-size: 0.625rem;
    }
    .wc-quickbar-exrate {
        font-size: 0.625rem;
        padding: 2px 6px;
    }
    .wc-qb-divider {
        height: 12px;
    }
    .wc-quickbar-link {
        padding: 3px 3px;
        gap: 1px;
        border-radius: 5px;
        min-width: 38px;
    }
    .wc-quickbar-link svg {
        width: 14px;
        height: 14px;
    }
    .wc-quickbar-link-label {
        font-size: 0.4375rem;
        min-width: 24px;
    }
    .wellcoms-why-grid {
        gap: 8px !important;
    }
    .wellcoms-why-item {
        padding: 10px 6px !important;
    }
    .wellcoms-why-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.875rem !important;
        margin-bottom: 6px !important;
    }
    .wellcoms-why {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }
    .wellcoms-why .wc-section-header {
        margin-bottom: 14px !important;
    }
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .wellcoms-hero {
        height: auto !important;
        min-height: unset !important;
        max-height: none !important;
        padding: 14px 12px 12px !important;
        text-align: left !important;
        justify-content: flex-start !important;
    }

    .wc-hero-brand-wrap {
        height: 1.5rem;
        text-align: left !important;
    }

    .wc-hero-brand-scroll .wc-hero-brand-line {
        height: 1.5rem;
        justify-content: flex-start !important;
    }

    .wc-hero-brand {
        font-size: 1.3rem !important;
        text-align: left !important;
        width: auto !important;
    }

    .wc-hero-brand-en {
        font-size: 1rem !important;
    }

    .wellcoms-hero h1 {
        font-size: .95rem !important;
        line-height: 1.3 !important;
        margin: 4px 0 0 !important;
        text-align: left !important;
    }

    .wellcoms-hero p {
        font-size: .7rem !important;
        margin: 4px 0 0 !important;
        line-height: 1.3 !important;
        text-align: left !important;
    }

    .wellcoms-hero-content {
        padding: 0 !important;
        margin: 0 !important;
    }

    .wc-hero-main {
        display: block !important;
        gap: 0 !important;
    }

    .wellcoms-hero-buttons {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
        width: auto !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        margin-top: 0 !important;
    }

    .wellcoms-hero-buttons .wc-btn {
        padding: 3px 6px !important;
        font-size: .62rem !important;
    }
}

/* ═══ 위젯 5카드 그리드 ═══ */
.wc-w5{padding:10px 20px 6px;background:#F7F8FA}
.wc-w5-inner{box-sizing:border-box}
.wc-w5-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.wc-w5-card{background:#FFF;border:1px solid #E5E7EB;border-radius:12px;padding:4px 6px;transition:border-color .25s,box-shadow .25s;display:flex;flex-direction:column;position:relative;overflow:hidden}
.wc-w5-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;border-radius:14px 14px 0 0;opacity:0;transition:opacity .25s}
.wc-w5-card:hover{border-color:#00a2cc;box-shadow:0 6px 24px rgba(0,162,204,.12)}
.wc-w5-card:hover::before{opacity:1}
.wc-w5-info::before{background:linear-gradient(90deg,#00a2cc,#00d4ff)}
.wc-w5-calc::before{background:linear-gradient(90deg,#f97316,#fbbf24)}
.wc-w5-taja::before{background:linear-gradient(90deg,#6366f1,#a78bfa)}
.wc-w5-kkung::before{background:linear-gradient(90deg,#10b981,#34d399)}
.wc-w5-clock::before{background:linear-gradient(90deg,#8b5cf6,#c084fc)}
.wc-w5-pctest::before{background:linear-gradient(90deg,#14b8a6,#5eead4)}
.wc-w5-links::before{background:linear-gradient(90deg,#eab308,#fbbf24)}
.wc-w5-card.wc-w5-link{cursor:pointer;text-decoration:none!important;color:inherit!important}
.wc-w5-card.wc-w5-link:hover{transform:translateY(-3px)}
.wc-w5-h{display:flex;align-items:center;gap:5px;margin-bottom:4px;padding-bottom:0}
.wc-w5-h-ico{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;flex-shrink:0}
.wc-w5-h-ico svg{width:15px;height:15px;fill:currentColor}
.wc-w5-h-txt{font-size:.88rem;font-weight:800;color:#111827}
.wc-w5-h-ip{margin-left:auto;font-size:.6rem;font-weight:400;color:#9CA3AF;font-variant-numeric:tabular-nums;letter-spacing:.02em;white-space:nowrap;display:flex;align-items:center;gap:3px}
.wc-w5-h-ip-label{color:#B0B8C4;font-size:.55rem}
.wc-w5-btn{display:flex;justify-content:space-between;align-items:center;padding:2px 6px;border-radius:6px;cursor:pointer;text-decoration:none!important;color:inherit!important;transition:background .15s;margin-bottom:1px;background:rgba(255,255,255,.5);border:1px solid rgba(0,0,0,.04)}
.wc-w5-btn:hover{background:rgba(255,255,255,.85);border-color:rgba(0,162,204,.2)}
.wc-w5-btn-l{display:flex;align-items:center;gap:4px;font-size:.82rem;color:#6B7280;font-weight:500}
.wc-w5-btn-ico{font-size:.82rem}
.wc-w5-btn-r{font-size:.88rem;font-weight:700;color:#111827;font-variant-numeric:tabular-nums;text-align:right}
.wc-w5-up{color:#16a34a!important}
.wc-w5-dn{color:#dc2626!important}
.wc-w5-desc{padding-top:3px;border-top:1px solid #F3F4F6}
.wc-w5-drow{display:flex;align-items:baseline;justify-content:space-between;gap:4px;padding:2px 0}
.wc-w5-drow+.wc-w5-drow{border-top:1px dashed #E5E7EB}
.wc-w5-dcat{font-size:.85rem;font-weight:700;color:#1F2937;white-space:nowrap}
.wc-w5-dsub{font-size:.76rem;font-weight:400;color:#6B7280;text-align:right}
/* 카테고리 아이콘 배경 */
.wc-w5-info{background:#DBEAFE!important}
.wc-w5-calc{background:#FEF3C7!important}
.wc-w5-taja{background:#E9D5FF!important}
.wc-w5-kkung{background:#BBF7D0!important}
.wc-w5-clock{background:#EDE9FE!important}
.wc-w5-pctest{background:#CCFBF1!important}
.wc-w5-links{background:#FEF08A!important}
.wc-w5-info .wc-w5-h-ico{background:rgba(0,162,204,.12);color:#00a2cc}
.wc-w5-calc .wc-w5-h-ico{background:rgba(249,115,22,.12);color:#f97316}
.wc-w5-taja .wc-w5-h-ico{background:rgba(99,102,241,.12);color:#6366f1}
.wc-w5-kkung .wc-w5-h-ico{background:rgba(16,185,129,.12);color:#10b981}
.wc-w5-clock .wc-w5-h-ico{background:rgba(139,92,246,.12);color:#8b5cf6}
.wc-w5-pctest .wc-w5-h-ico{background:rgba(20,184,166,.12);color:#14b8a6}
.wc-w5-links .wc-w5-h-ico{background:rgba(234,179,8,.12);color:#eab308}
.wc-w5-links-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;height:100%}
.wc-w5-links-grid a{display:flex;align-items:center;justify-content:center;gap:4px;padding:6px 4px;border-radius:8px;text-decoration:none!important;font-size:.68rem;font-weight:400;color:#374151!important;background:#FFF;border:1px solid rgba(234,179,8,.3);transition:all .15s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wc-w5-links-grid a:hover{background:var(--ql-color,#00a2cc);color:#fff!important;border-color:var(--ql-color,#00a2cc);transform:translateY(-1px)}
.wc-w5-links-grid a:hover svg path,.wc-w5-links-grid a:hover svg circle{fill:#fff}
.wc-w5-links-grid a.wc-user-bm{background:#E0F2FE;border:1px solid rgba(14,165,233,.25);color:#0369a1!important}
.wc-w5-links-grid a.wc-user-bm:hover{background:#0ea5e9;color:#fff!important;border-color:#0ea5e9}

@media(max-width:1700px){.wc-w5-grid{grid-template-columns:repeat(4,1fr)}.wc-w5-card:first-child{grid-column:1/-1}.wc-w5-links-grid{grid-template-columns:repeat(6,1fr)}}
@media(max-width:1023px){.wc-w5-grid{grid-template-columns:repeat(2,1fr)}.wc-w5-card:first-child{grid-column:span 2}.wc-w5-links-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:639px){.wc-w5-grid{grid-template-columns:1fr}.wc-w5-card:first-child{grid-column:span 1}.wc-w5-links-grid{grid-template-columns:repeat(3,1fr)}}

/* ═══ 게임 배너바 ═══ */
.wc-game-bar{padding:20px 20px 10px;background:#F7F8FA}
.wc-game-bar-inner{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.wc-game-banner{position:relative;border-radius:14px;overflow:hidden;cursor:pointer;text-decoration:none!important;color:#fff!important;display:block;min-height:180px;transition:transform .3s,box-shadow .3s;background:#000}
.wc-game-banner:hover{transform:translateY(-4px);box-shadow:0 12px 36px rgba(0,0,0,.18)}
.wc-game-banner-img{position:absolute;inset:0}
.wc-game-banner-img img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.wc-game-banner-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.45) 50%,rgba(0,0,0,.25) 100%)}
.wc-game-banner-body{position:relative;z-index:1;padding:14px 16px!important;display:flex;flex-direction:column;align-items:flex-start!important;justify-content:space-between;height:100%;min-height:180px;box-sizing:border-box;text-align:left!important}
.wc-game-banner-title{font-size:1.3rem;font-weight:800;margin:0 0 2px;text-shadow:0 2px 10px rgba(0,0,0,.5);letter-spacing:-.02em}
.wc-game-banner-sub{font-size:.78rem;font-weight:400;opacity:.85;margin:0;text-shadow:0 1px 6px rgba(0,0,0,.4);line-height:1.4}
.wc-game-banner-tags{display:none}
.wc-game-banner-tag{display:none}
.wc-game-banner-cta{display:inline-block!important;font-size:.7rem!important;font-weight:600;padding:4px 12px!important;border-radius:14px;border:none;cursor:pointer;transition:all .2s;width:fit-content;text-decoration:none!important;color:#fff!important;z-index:2;position:static!important}
.wc-game-banner-cta:hover{transform:scale(1.04)}
.wc-game-banner--taja .wc-game-banner-cta{background:linear-gradient(135deg,#6366f1,#8b5cf6)}
.wc-game-banner--kkung .wc-game-banner-cta{background:linear-gradient(135deg,#10b981,#059669)}
@media(max-width:1023px){.wc-game-bar-inner{grid-template-columns:1fr!important}.wc-game-banner{min-height:170px;grid-row:span 1!important}.wc-game-banner-body{min-height:170px;padding:18px 22px}.wc-game-banner-title{font-size:1.3rem}}
@media(max-width:639px){.wc-game-bar{padding:12px 12px 8px}.wc-game-banner-title{font-size:1.1rem}.wc-game-banner-sub{font-size:.82rem}.wc-game-banner-tag{font-size:.66rem;padding:3px 9px}.wc-game-banner-cta{font-size:.8rem;padding:7px 18px}}
/* ═══ 실용도구 카드 섹션 (v2 — horizontal layout, distinct cards) ═══ */
.wc-util-bar{padding:36px 20px 40px;background:#0a0a0a}
.wc-util-bar-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;padding:0 4px}
.wc-util-bar-title{font-size:1.25rem;font-weight:800;color:#fff;display:flex;align-items:center;gap:10px;letter-spacing:-.02em}
.wc-util-bar-title-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:8px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;font-size:.72rem;font-weight:700;letter-spacing:.8px;text-transform:uppercase}
.wc-util-bar-more{font-size:.82rem;color:rgba(255,255,255,.45);text-decoration:none;font-weight:600;transition:color .2s}
.wc-util-bar-more:hover{color:rgba(255,255,255,.85)}
.wc-util-bar-inner{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.wc-util-card{display:flex;flex-direction:row;align-items:center;gap:16px;padding:20px 18px;background:rgba(255,255,255,.08);border-radius:18px;border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);text-decoration:none!important;color:#fff!important;transition:all .3s cubic-bezier(.4,0,.2,1);min-height:96px;position:relative;overflow:hidden}
.wc-util-card::after{content:'';position:absolute;inset:0;border-radius:18px;opacity:0;transition:opacity .35s;pointer-events:none}
.wc-util-card:hover{transform:translateY(-3px);background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.28)}
.wc-util-card:hover::after{opacity:1}
.wc-util-card--indigo::after{box-shadow:inset 0 0 30px rgba(59,130,246,.08),0 6px 28px rgba(59,130,246,.22)}
.wc-util-card--amber::after{box-shadow:inset 0 0 30px rgba(249,115,22,.08),0 6px 28px rgba(249,115,22,.22)}
.wc-util-card--emerald::after{box-shadow:inset 0 0 30px rgba(168,85,247,.08),0 6px 28px rgba(168,85,247,.22)}
.wc-util-card--rose::after{box-shadow:inset 0 0 30px rgba(239,68,68,.08),0 6px 28px rgba(239,68,68,.22)}
.wc-util-card--violet::after{box-shadow:inset 0 0 30px rgba(20,184,166,.08),0 6px 28px rgba(20,184,166,.22)}
.wc-util-card--gold::after{box-shadow:inset 0 0 30px rgba(245,158,11,.08),0 6px 28px rgba(245,158,11,.22)}
.wc-util-card--pink::after{box-shadow:inset 0 0 30px rgba(232,121,249,.08),0 6px 28px rgba(232,121,249,.22)}
.wc-util-card--teal::after{box-shadow:inset 0 0 30px rgba(6,182,212,.08),0 6px 28px rgba(6,182,212,.22)}
.wc-util-card.wc-util-card--indigo{background:#262626;border-color:transparent}
.wc-util-card.wc-util-card--amber{background:#262626;border-color:transparent}
.wc-util-card.wc-util-card--emerald{background:#262626;border-color:transparent}
.wc-util-card.wc-util-card--rose{background:#262626;border-color:transparent}
.wc-util-card.wc-util-card--violet{background:#262626;border-color:transparent}
.wc-util-card.wc-util-card--gold{background:#262626;border-color:transparent}
.wc-util-card.wc-util-card--pink{background:#262626;border-color:transparent}
.wc-util-card.wc-util-card--teal{background:#262626;border-color:transparent}
.wc-util-card.wc-util-card--indigo:hover{background:#333333;border-color:transparent}
.wc-util-card.wc-util-card--amber:hover{background:#333333;border-color:transparent}
.wc-util-card.wc-util-card--emerald:hover{background:#333333;border-color:transparent}
.wc-util-card.wc-util-card--rose:hover{background:#333333;border-color:transparent}
.wc-util-card.wc-util-card--violet:hover{background:#333333;border-color:transparent}
.wc-util-card.wc-util-card--gold:hover{background:#333333;border-color:transparent}
.wc-util-card.wc-util-card--pink:hover{background:#333333;border-color:transparent}
.wc-util-card.wc-util-card--teal:hover{background:#333333;border-color:transparent}
.wc-util-card-badge{font-size:.55rem;font-weight:700;letter-spacing:.5px;padding:2px 7px;border-radius:4px;display:inline-flex;align-items:center;text-transform:uppercase;vertical-align:middle;margin-right:6px;flex-shrink:0}
.wc-util-card--indigo .wc-util-card-badge{background:rgba(59,130,246,.25);color:#60a5fa}
.wc-util-card--amber .wc-util-card-badge{background:rgba(249,115,22,.25);color:#fb923c}
.wc-util-card--emerald .wc-util-card-badge{background:rgba(168,85,247,.25);color:#c084fc}
.wc-util-card--rose .wc-util-card-badge{background:rgba(239,68,68,.25);color:#f87171}
.wc-util-card--violet .wc-util-card-badge{background:rgba(20,184,166,.25);color:#2dd4bf}
.wc-util-card--gold .wc-util-card-badge{background:rgba(245,158,11,.25);color:#fbbf24}
.wc-util-card--pink .wc-util-card-badge{background:rgba(232,121,249,.25);color:#f0abfc}
.wc-util-card--teal .wc-util-card-badge{background:rgba(6,182,212,.25);color:#22d3ee}
.wc-util-card-icon{width:56px;height:56px;min-width:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:32px;box-shadow:0 4px 14px rgba(0,0,0,.3)}
.wc-util-card-icon .material-symbols-rounded{font-size:32px;font-variation-settings:'FILL' 1,'wght' 500,'GRAD' 0,'opsz' 24}
.wc-util-card--indigo .wc-util-card-icon{background:linear-gradient(135deg,#3b82f6,#60a5fa);color:#fff}
.wc-util-card--amber .wc-util-card-icon{background:linear-gradient(135deg,#f97316,#fb923c);color:#fff}
.wc-util-card--emerald .wc-util-card-icon{background:linear-gradient(135deg,#a855f7,#c084fc);color:#fff}
.wc-util-card--rose .wc-util-card-icon{background:linear-gradient(135deg,#ef4444,#f87171);color:#fff}
.wc-util-card--violet .wc-util-card-icon{background:linear-gradient(135deg,#14b8a6,#2dd4bf);color:#fff}
.wc-util-card--gold .wc-util-card-icon{background:linear-gradient(135deg,#f59e0b,#fbbf24);color:#fff}
.wc-util-card--pink .wc-util-card-icon{background:linear-gradient(135deg,#e879f9,#f0abfc);color:#fff}
.wc-util-card--teal .wc-util-card-icon{background:linear-gradient(135deg,#06b6d4,#22d3ee);color:#fff}
.wc-util-card-text{flex:1;min-width:0}
.wc-util-card-title{font-size:.88rem;font-weight:700;color:#fff;display:inline;vertical-align:middle;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wc-util-card-sub{font-size:.74rem;color:rgba(255,255,255,.85);line-height:1.5;margin-top:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:1279px){.wc-util-bar-inner{grid-template-columns:repeat(3,1fr);gap:10px}.wc-util-card{padding:16px 14px;min-height:84px;gap:12px}.wc-util-card-icon{width:48px;height:48px;min-width:48px;border-radius:14px;font-size:28px}.wc-util-card-icon .material-symbols-rounded{font-size:28px}.wc-util-card-title{font-size:.85rem}.wc-util-card-sub{font-size:.68rem}}
@media(max-width:767px){.wc-util-bar-inner{grid-template-columns:repeat(2,1fr);gap:10px}}
@media(max-width:639px){.wc-util-bar{padding:24px 14px 28px}.wc-util-bar-inner{grid-template-columns:1fr;gap:10px}.wc-util-card{padding:16px 16px;min-height:78px;gap:14px}.wc-util-card-icon{width:46px;height:46px;min-width:46px;border-radius:13px;font-size:26px}.wc-util-card-icon .material-symbols-rounded{font-size:26px}.wc-util-card-title{font-size:.84rem}.wc-util-card-sub{font-size:.7rem}}
/* Why Choose Us Bar */
.wc-why-bar{background:#0f2240;padding:8px 20px}
.wc-why-bar-inner{display:flex;justify-content:flex-start;gap:24px;max-width:1200px;margin:0;flex-wrap:nowrap;overflow:hidden}
.wc-why-bar-item{display:flex;align-items:center;gap:5px;text-align:center;white-space:nowrap;flex-shrink:0}
.wc-why-bar-title{display:flex;align-items:center;gap:5px}
.wc-why-bar-ico{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex-shrink:0}
.wc-why-bar-item strong{color:#E0F2FE;font-size:.8rem;font-weight:600}
.wc-why-bar-item>span{display:none}
@media(max-width:767px){.wc-why-bar{padding:6px 10px}.wc-why-bar-inner{gap:12px}.wc-why-bar-item strong{font-size:.68rem}.wc-why-bar-ico{width:16px;height:16px}.wc-why-bar-ico svg{width:14px;height:14px}}

/* ══════════════════════════════════════
   QUICKBAR — 날짜/시간/날씨 + 빠른가기
   ══════════════════════════════════════ */
.wc-quickbar {display:none}

.wc-quickbar-inner {
    width: 100%;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.wc-quickbar-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex-shrink: 0;
    min-width: 0;
}

.wc-quickbar-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.wc-quickbar-meta {
    gap: 6px;
}

.wc-quickbar-datetime {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.wc-qb-date {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
}

.wc-qb-divider {
    width: 1px;
    height: 14px;
    background: #D1D5DB;
    flex-shrink: 0;
}

.wc-qb-lunar {
    font-size: 0.875rem;
    font-weight: 800;
    color: #B45309;
    white-space: nowrap;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1) 0%, rgba(180, 83, 9, 0.08) 100%);
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid rgba(217, 119, 6, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.wc-qb-lunar .wc-qb-term {
    color: #92400E;
    font-weight: 700;
    margin-left: 3px;
    background: rgba(217, 119, 6, 0.15);
    padding: 1px 6px;
    border-radius: 4px;
}

/* 클릭 가능한 정보 아이템 */
.wc-qb-clickable {
    text-decoration: none !important;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s ease, transform 0.15s ease;
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    outline: none;
}

.wc-qb-clickable:hover {
    background: rgba(0, 162, 204, 0.06);
    transform: translateY(-1px);
}

.wc-qb-clickable:hover .wc-qb-date {
    color: #00a2cc;
}

.wc-qb-clickable:hover .wc-qb-lunar {
    border-color: rgba(217, 119, 6, 0.4);
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.15) 0%, rgba(180, 83, 9, 0.12) 100%);
}

.wc-qb-clickable:hover .wc-quickbar-weather-label {
    color: #00a2cc;
}

/* 외부 링크 아이콘 인디케이터 */
.wc-qb-clickable::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid currentColor;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    opacity: 0;
    margin-left: 0;
    transition: opacity 0.15s ease, margin-left 0.15s ease;
    flex-shrink: 0;
}

.wc-qb-clickable:hover::after {
    opacity: 0.4;
    margin-left: 4px;
}

/* 환율 정보 */
.wc-quickbar-exrate {
    font-size: 0.8125rem;
    color: #374151;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #E5E7EB;
    background: #F9FAFB;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.wc-quickbar-exrate:hover {
    border-color: rgba(0, 162, 204, 0.3);
    background: rgba(0, 162, 204, 0.04);
}

.wc-quickbar-kospi {
    font-size: 0.8125rem;
    color: #374151;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #E5E7EB;
    background: #F9FAFB;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.wc-quickbar-kospi:hover {
    border-color: rgba(0, 162, 204, 0.3);
    background: rgba(0, 162, 204, 0.04);
}

.wc-qb-kospi-label {
    font-weight: 500;
    color: #6B7280;
    font-size: 0.75rem;
}

.wc-qb-kospi-value {
    font-weight: 500;
    color: #374151;
    font-variant-numeric: tabular-nums;
    font-size: 0.8125rem;
}

.wc-qb-kospi-change {
    font-size: 0.6875rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.wc-qb-exrate-label {
    font-weight: 500;
    color: #6B7280;
    font-size: 0.75rem;
}

.wc-qb-exrate-loading {
    color: #D1D5DB;
    font-size: 0.75rem;
}

.wc-qb-exrate-value {
    font-weight: 500;
    color: #00a2cc;
    font-variant-numeric: tabular-nums;
    font-size: 0.8125rem;
}



.wc-qb-exrate-loading {
    color: #D1D5DB;
    font-size: 0.75rem;
}

.wc-qb-time {
    font-size: 0.875rem;
    font-weight: 800;
    color: #00a2cc;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.wc-quickbar-weather {
    font-size: 0.75rem;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.wc-quickbar-weather svg {
    flex-shrink: 0;
}

.wc-gps-icon {
    background: rgba(0,162,204,.08);
    border: 1px solid rgba(0,162,204,.18);
    border-radius: 50%;
    padding: 2px;
    margin-left: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    opacity: .7;
    transition: all .2s;
    color: #00a2cc;
}
.wc-gps-icon:hover {
    opacity: 1;
    background: rgba(0,162,204,.18);
    transform: scale(1.1);
}
.wc-gps-icon.loading {
    animation: wcGpsSpin 1s linear infinite;
}
.wc-gps-icon.success {
    color: #10b981;
    background: rgba(16,185,129,.12);
    border-color: rgba(16,185,129,.3);
    opacity: 1;
}
.wc-gps-icon.active {
    opacity: .3;
    color: #10b981;
    background: transparent;
    border-color: transparent;
}
@keyframes wcGpsSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.wc-qb-weather-loading {
    color: #D1D5DB;
}

.wc-quickbar-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: flex-end;
    flex-wrap: wrap;
    min-width: 0;
}

.wc-quickbar-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2px;
    padding: 5px 6px;
    border-radius: 8px;
    text-decoration: none !important;
    color: #374151 !important;
    font-size: 0.8125rem;
    font-weight: 400;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
    background: #F9FAFB;
    border: 1px solid #F3F4F6;
    min-width: 48px;
    flex: 0 0 auto;
}

.wc-quickbar-link:hover {
    background: var(--ql-color, #00a2cc);
    color: #FFFFFF !important;
    border-color: var(--ql-color, #00a2cc);
    transform: translateY(-1px);
}

.wc-quickbar-link:hover svg path,
.wc-quickbar-link:hover svg circle {
    fill: #FFFFFF;
}

.wc-quickbar-link:hover .wc-quickbar-link-label {
    color: #FFFFFF !important;
}

.wc-quickbar-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--ql-color, #374151);
}

.wc-quickbar-link-label {
    color: #374151;
    font-size: 0.5625rem;
    font-weight: 400;
    text-align: center;
    min-width: 32px;
}

/* ══════════════════════════════════════
   CALENDAR POPUP — 양력/음력 달력
   ══════════════════════════════════════ */
.wc-calendar-popup {
    position: absolute;
    top: 100%;
    left: 16px;
    z-index: 200;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    min-width: 320px;
    max-width: 380px;
    padding: 0;
    overflow: hidden;
    animation: wcCalFadeIn 0.18s ease;
}

@keyframes wcCalFadeIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.96); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.wc-calendar-popup-header {
    display: flex;
    align-items: center;
    padding: 14px 16px 10px;
    background: linear-gradient(135deg, #0f2240 0%, #152e4c 100%);
    color: #FFFFFF;
    gap: 8px;
}

.wc-cal-title {
    flex: 1;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.02em;
}

.wc-cal-nav {
    background: rgba(255,255,255,0.12);
    border: none;
    color: #FFFFFF;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.wc-cal-nav:hover {
    background: rgba(255,255,255,0.25);
}

.wc-cal-close {
    background: rgba(255,255,255,0.08);
    border: none;
    color: rgba(255,255,255,0.7);
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    margin-left: 4px;
}

.wc-cal-close:hover {
    background: rgba(255,255,255,0.2);
    color: #FFFFFF;
}

.wc-calendar-popup-body {
    padding: 12px 14px 8px;
}

.wc-cal-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.wc-cal-table th {
    font-size: 0.7rem;
    font-weight: 600;
    color: #9CA3AF;
    text-align: center;
    padding: 4px 0 8px;
    text-transform: uppercase;
}

.wc-cal-table td {
    text-align: center;
    padding: 2px 0;
    vertical-align: top;
    position: relative;
}

.wc-cal-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 2px;
    border-radius: 8px;
    transition: background 0.12s;
    cursor: default;
}

.wc-cal-day:hover {
    background: #F3F4F6;
}

.wc-cal-day-solar {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
}

.wc-cal-day-lunar {
    font-size: 0.6rem;
    color: #B45309;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

.wc-cal-day.wc-cal-today {
    background: linear-gradient(135deg, #00a2cc, #0088aa);
    border-radius: 8px;
}

.wc-cal-day.wc-cal-today .wc-cal-day-solar {
    color: #FFFFFF;
    font-weight: 800;
}

.wc-cal-day.wc-cal-today .wc-cal-day-lunar {
    color: rgba(255,255,255,0.85);
}

.wc-cal-day.wc-cal-sun .wc-cal-day-solar {
    color: #DC2626;
}

.wc-cal-day.wc-cal-sun.wc-cal-today .wc-cal-day-solar {
    color: #FFFFFF;
}

.wc-cal-calendar-month {
    color: #DC2626 !important;
    font-weight: 800 !important;
}

.wc-calendar-popup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 12px;
    border-top: 1px solid #F3F4F6;
}

.wc-cal-today-btn {
    font-size: 0.75rem;
    font-weight: 600;
    color: #00a2cc;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 6px;
    transition: background 0.12s;
}

.wc-cal-today-btn:hover {
    background: rgba(0, 162, 204, 0.08);
}

.wc-cal-link {
    font-size: 0.75rem;
}

.wc-cal-link a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.12s;
}

.wc-cal-link a:hover {
    color: #00a2cc;
}

@media (max-width: 767px) {
    .wc-calendar-popup {
        left: 8px;
        right: 8px;
        min-width: unset;
        max-width: unset;
    }
}

@media (max-width: 400px) {
    .wc-calendar-popup {
        left: 4px;
        right: 4px;
    }
    .wc-cal-day-solar {
        font-size: 0.78rem;
    }
    .wc-cal-day-lunar {
        font-size: 0.55rem;
    }
}

/* ══════════════════════════════════════
   계산기 팝업
   ══════════════════════════════════════ */
.wc-calc-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 200;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    width: 300px;
    padding: 0;
    overflow: hidden;
    animation: wcCalFadeIn 0.18s ease;
    max-height: 90vh;
}

.wc-calc-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    background: linear-gradient(135deg, #0f2240 0%, #152e4c 100%);
    color: #FFFFFF;
}

.wc-calc-tabs {
    display: flex;
    gap: 0;
    flex: 1;
}

.wc-calc-tab {
    flex: 1;
    padding: 9px 0;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
    font-family: inherit;
    letter-spacing: 0.02em;
    position: relative;
}

.wc-calc-tab:hover {
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.05);
}

.wc-calc-tab.active {
    color: #FFFFFF;
    background: rgba(255,255,255,0.1);
}

.wc-calc-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: #00a2cc;
    border-radius: 1px;
}

.wc-calc-close {
    background: rgba(255,255,255,0.08);
    border: none;
    color: rgba(255,255,255,0.7);
    width: 26px;
    height: 26px;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    margin-right: 8px;
    flex-shrink: 0;
}

.wc-calc-close:hover {
    background: rgba(255,255,255,0.2);
    color: #FFFFFF;
}

.wc-calc-panel {
    min-height: 330px;
}

.wc-calc-powered {
    text-align: center;
    font-size: 0.6875rem;
    color: rgba(0,0,0,0.25);
    padding: 6px 0 8px;
    letter-spacing: 0.03em;
}
.wc-calc-powered strong {
    color: rgba(0,0,0,0.38);
    font-weight: 700;
}

.wc-calc-display {
    padding: 12px 14px 8px;
    border-bottom: 1px solid #F3F4F6;
}

.wc-calc-expr {
    font-size: 0.75rem;
    color: #9CA3AF;
    min-height: 1.2em;
    text-align: right;
    word-break: break-all;
    font-variant-numeric: tabular-nums;
}

.wc-calc-result {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    text-align: right;
    min-height: 1.4em;
    word-break: break-all;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
}

.wc-calc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 8px 10px 12px;
}

.wc-calc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.12s, transform 0.1s;
    font-family: inherit;
    background: #F3F4F6;
    color: #111827;
}

.wc-calc-btn:hover {
    background: #E5E7EB;
}

.wc-calc-btn:active {
    transform: scale(0.95);
    background: #D1D5DB;
}

.wc-calc-btn--op {
    background: rgba(0, 162, 204, 0.1);
    color: #00a2cc;
    font-weight: 700;
}

.wc-calc-btn--op:hover {
    background: rgba(0, 162, 204, 0.18);
}

.wc-calc-btn--op:active {
    background: rgba(0, 162, 204, 0.25);
}

.wc-calc-btn--eq {
    background: linear-gradient(135deg, #00a2cc, #0088aa);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1.1rem;
}

.wc-calc-btn--eq:hover {
    background: linear-gradient(135deg, #0088aa, #006688);
}

.wc-calc-btn--fn {
    background: #FEF3C7;
    color: #92400E;
    font-weight: 700;
    font-size: 0.8125rem;
}

.wc-calc-btn--fn:hover {
    background: #FDE68A;
}

.wc-calc-btn--zero {
    grid-column: span 2;
}

.wc-calc-btn--back {
    background: #FEE2E2;
    color: #DC2626;
    font-size: 1rem;
}

.wc-calc-btn--back:hover {
    background: #FECACA;
}

/* 환율 계산기 */
.wc-exchange-form {
    padding: 14px;
}

.wc-exchange-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.wc-exchange-row select {
    flex: 1;
    padding: 8px 6px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: inherit;
    background: #F9FAFB;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
}

.wc-exchange-row select:focus {
    border-color: #00a2cc;
}

.wc-exchange-rate {
    font-size: 0.8rem;
    color: #6B7280;
    white-space: nowrap;
}

.wc-exchange-input-wrap {
    position: relative;
    margin-bottom: 8px;
}

.wc-exchange-input-wrap input {
    width: 100%;
    padding: 8px 30px 8px 10px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    font-variant-numeric: tabular-nums;
    text-align: right;
    outline: none;
    transition: border-color 0.15s;
    background: #F9FAFB;
    box-sizing: border-box;
}

.wc-exchange-input-wrap input:focus {
    border-color: #00a2cc;
}

.wc-exchange-result {
    width: 100%;
    padding: 10px 12px;
    background: linear-gradient(135deg, #0f2240 0%, #152e4c 100%);
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
    box-sizing: border-box;
    margin-bottom: 8px;
}

.wc-exchange-reverse {
    margin-top: 6px;
}

.wc-exchange-reverse label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #6B7280;
    cursor: pointer;
}

.wc-exchange-reverse input[type="checkbox"] {
    accent-color: #00a2cc;
}

/* 마진 계산기 */
.wc-margin-form {
    padding: 14px;
}

.wc-margin-row {
    margin-bottom: 10px;
}

.wc-margin-row label {
    display: block;
    font-size: 0.75rem;
    color: #6B7280;
    margin-bottom: 4px;
    font-weight: 600;
}

.wc-margin-toggle {
    display: flex;
    gap: 0;
    width: 100%;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
}

.wc-margin-toggle-btn {
    flex: 1;
    padding: 6px 0;
    border: none;
    background: #F9FAFB;
    color: #6B7280;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
}

.wc-margin-toggle-btn:first-child {
    border-right: 1px solid #E5E7EB;
}

.wc-margin-toggle-btn.active {
    background: #0f2240;
    color: #FFFFFF;
}

.wc-margin-toggle-btn:hover:not(.active) {
    background: #F3F4F6;
}

.wc-margin-input-wrap {
    position: relative;
}

.wc-margin-input-wrap input {
    width: 100%;
    padding: 8px 30px 8px 10px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    font-variant-numeric: tabular-nums;
    text-align: right;
    outline: none;
    transition: border-color 0.15s;
    background: #F9FAFB;
    box-sizing: border-box;
}

.wc-margin-input-wrap input:focus {
    border-color: #00a2cc;
}

/* 입력 초기화 버튼 */
.wc-input-clear {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: #E5E7EB;
    color: #6B7280;
    font-size: 0.8rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.12s, color 0.12s;
    padding: 0;
    line-height: 1;
}

.wc-input-clear:hover {
    background: #D1D5DB;
    color: #374151;
}

.wc-input-clear.visible {
    display: flex;
}

.wc-margin-calc-btn {
    width: 100%;
    padding: 9px;
    background: linear-gradient(135deg, #00a2cc, #0088aa);
    border: none;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    font-family: inherit;
    margin-bottom: 12px;
}

.wc-margin-calc-btn:hover {
    background: linear-gradient(135deg, #0088aa, #006688);
}

.wc-margin-calc-btn:active {
    transform: scale(0.98);
}

.wc-margin-result {
    background: #F9FAFB;
    border-radius: 8px;
    padding: 10px 12px;
    border: 1px solid #F3F4F6;
}

.wc-margin-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.wc-margin-item + .wc-margin-item {
    border-top: 1px solid #F3F4F6;
}

.wc-margin-label {
    font-size: 0.75rem;
    color: #6B7280;
}

.wc-margin-val {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
    font-variant-numeric: tabular-nums;
}

/* 날짜 계산기 */
.wc-date-form {
    padding: 14px;
}

.wc-date-toggle {
    display: flex;
    gap: 0;
    width: 100%;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.wc-date-toggle-btn {
    flex: 1;
    padding: 6px 0;
    border: none;
    background: #F9FAFB;
    color: #6B7280;
    font-size: 0.6875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
    border-right: 1px solid #E5E7EB;
}

.wc-date-toggle-btn:last-child {
    border-right: none;
}

.wc-date-toggle-btn.active {
    background: #0f2240;
    color: #FFFFFF;
}

.wc-date-toggle-btn:hover:not(.active) {
    background: #F3F4F6;
}

.wc-date-row {
    margin-bottom: 10px;
}

.wc-date-row label {
    display: block;
    font-size: 0.75rem;
    color: #6B7280;
    margin-bottom: 4px;
    font-weight: 600;
}

.wc-date-row input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
    background: #F9FAFB;
    box-sizing: border-box;
    color: #111827;
}

.wc-date-row input:focus {
    border-color: #00a2cc;
}

.wc-date-row input[type="number"] {
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.wc-date-result {
    background: linear-gradient(135deg, #0f2240 0%, #152e4c 100%);
    border-radius: 8px;
    padding: 12px 14px;
    margin-top: 4px;
}

.wc-date-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wc-date-result-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

.wc-date-result-val {
    font-size: 0.875rem;
    font-weight: 700;
    color: #FFFFFF;
    text-align: right;
    line-height: 1.4;
}

/* 계산기 트리거 버튼 */
.wc-qb-calc-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0f2240 0%, #152e4c 100%);
    border: 1px solid rgba(0, 162, 204, 0.4);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
    padding: 0 10px;
    flex-shrink: 0;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0, 162, 204, 0.25);
    color: #FFFFFF;
    text-decoration: none;
}

.wc-qb-calc-btn:hover {
    background: linear-gradient(135deg, #152e4c 0%, #1a3a5c 100%);
    border-color: rgba(0, 162, 204, 0.7);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 162, 204, 0.35);
}

.wc-qb-calc-btn svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: #00a2cc;
}

.wc-qb-calc-label {
    font-size: 0.6875rem;
    color: #FFFFFF;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1;
}

@media (max-width: 767px) {
    .wc-calc-popup {
        width: calc(100vw - 32px);
        max-width: 340px;
        max-height: 70vh;
        overflow-y: auto;
    }
}

@media (max-width: 400px) {
    .wc-calc-popup {
        width: calc(100vw - 16px);
    }
    .wc-calc-btn {
        height: 34px;
        font-size: 0.875rem;
    }
    .wc-calc-result {
        font-size: 1.25rem;
    }
}

.wc-quickbar-admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    opacity: 0.4;
    color: #6B7280;
    text-decoration: none !important;
    transition: opacity 0.15s ease, background 0.15s ease;
}

.wc-quickbar-admin:hover {
    opacity: 1;
    background: #F3F4F6;
}

@media (max-width: 1023px) {
    .wc-quickbar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 10px 16px;
    }
    .wc-quickbar-links {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 4px;
    }
    .wc-quickbar-link {
        padding: 4px 4px;
        gap: 1px;
        border-radius: 6px;
        min-width: 44px;
    }
    .wc-quickbar-link svg {
        width: 16px;
        height: 16px;
    }
    .wc-quickbar-link-label {
        font-size: 0.5rem;
        min-width: 28px;
    }
}

@media (max-width: 767px) {
.wc-quickbar { display:none }
        position: sticky;
        top: 0;
        z-index: 100;
    }
    .wc-quickbar-inner {
        padding: 8px 12px;
        gap: 4px;
    }
    .wc-quickbar-info-row {
        gap: 6px;
    }
    .wc-quickbar-meta {
        gap: 4px;
    }
    .wc-qb-date {
        font-size: 0.75rem;
    }
    .wc-qb-lunar {
        font-size: 0.75rem;
        padding: 2px 8px;
    }
    .wc-qb-time {
        font-size: 0.8125rem;
    }
    .wc-quickbar-weather {
        font-size: 0.6875rem;
    }
    .wc-quickbar-exrate {
        font-size: 0.6875rem;
        padding: 2px 8px;
    }
    .wc-qb-exrate-value {
        font-size: 0.8125rem;
    }
    .wc-qb-clickable::after {
        display: none;
    }
}

/* 갤럭시노트9 (360px) 최적화 */
@media (max-width: 400px) {
    .wc-quickbar-inner {
        padding: 6px 10px;
        gap: 3px;
    }
    .wc-quickbar-info-row {
        gap: 4px;
    }
    .wc-quickbar-meta {
        gap: 3px;
    }
    .wc-qb-date {
        font-size: 0.6875rem;
    }
    .wc-qb-lunar {
        font-size: 0.6875rem;
        padding: 2px 6px;
    }
    .wc-qb-time {
        font-size: 0.75rem;
    }
    .wc-quickbar-weather {
        font-size: 0.625rem;
    }
    .wc-quickbar-exrate {
        font-size: 0.625rem;
        padding: 2px 6px;
    }
    .wc-qb-divider {
        height: 12px;
    }
    .wc-quickbar-link {
        padding: 3px 3px;
        gap: 1px;
        border-radius: 5px;
        min-width: 38px;
    }
    .wc-quickbar-link svg {
        width: 14px;
        height: 14px;
    }
    .wc-quickbar-link-label {
        font-size: 0.4375rem;
        min-width: 24px;
    }
    .wellcoms-why-grid {
        gap: 8px !important;
    }
    .wellcoms-why-item {
        padding: 10px 6px !important;
    }
    .wellcoms-why-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.875rem !important;
        margin-bottom: 6px !important;
    }
    .wellcoms-why {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }
    .wellcoms-why .wc-section-header {
        margin-bottom: 14px !important;
    }
}
