.stock-detail-container{width:100%;max-width:1200px;margin:0 auto;padding:24px 20px 60px;font-family:-apple-system,BlinkMacSystemFont,Pretendard Variable,Pretendard,Roboto,Segoe UI,sans-serif;color:#1e293b;box-sizing:border-box;overflow-x:hidden}.stock-detail-container.error-wrap,.stock-detail-container.loading-wrap{min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:16px}.spinner{width:44px;height:44px;border:4px solid #e2e8f0;border-top-color:#2563eb;border-radius:50%;animation:spin .8s linear infinite}.spinner.sm{width:24px;height:24px;border-width:3px}@keyframes spin{to{transform:rotate(1turn)}}.detail-top-nav{justify-content:space-between;margin-bottom:20px;flex-wrap:wrap;gap:12px}.breadcrumb,.detail-top-nav{display:flex;align-items:center}.breadcrumb{gap:8px;font-size:13px;color:#64748b}.crumb-link{color:#2563eb;text-decoration:none;font-weight:600}.crumb-link:hover{text-decoration:underline}.crumb-sep{color:#cbd5e1}.crumb-strong{color:#0f172a;font-weight:700}.top-action-links{display:flex;align-items:center;gap:10px}.back-home-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;background:#ffffff;border:1px solid #cbd5e1;border-radius:8px;font-size:13px;font-weight:600;color:#334155;text-decoration:none;transition:all .15s ease}.back-home-btn:hover{background:#f8fafc;border-color:#94a3b8;color:#0f172a}.ext-portal-link{display:inline-flex;align-items:center;gap:4px;padding:7px 12px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;font-weight:600;color:#0284c7;text-decoration:none;transition:all .15s ease}.ext-portal-link:hover{background:#e0f2fe;border-color:#bae6fd}.naver-portal-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;background:#03c75a;color:#ffffff!important;border:none;border-radius:8px;font-size:13px;font-weight:700;text-decoration:none;box-shadow:0 1px 4px rgba(3,199,90,.3);transition:all .15s ease}.naver-portal-btn:hover{background:#02b150;transform:translateY(-1px)}.naver-n-icon{display:inline-flex;align-items:center;justify-content:center;background:#ffffff;color:#03c75a;font-weight:900;font-size:10px;width:15px;height:15px;border-radius:3px;line-height:1}.stock-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:4px 0 8px}.naver-detail-pill{display:inline-flex;align-items:center;gap:6px;background:#03c75a;color:#ffffff!important;font-size:12px;font-weight:700;padding:4px 10px;border-radius:20px;text-decoration:none;box-shadow:0 1px 3px rgba(3,199,90,.25);transition:all .15s ease}.naver-detail-pill:hover{background:#02b150;transform:translateY(-1px)}.detail-header-card{background:#ffffff;border:1px solid #e2e8f0;border-radius:16px;padding:24px 28px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 1px 3px rgba(0,0,0,.05);margin-bottom:20px;flex-wrap:wrap;gap:20px}.header-tags{display:flex;align-items:center;gap:8px;margin-bottom:8px}.tag-market{font-size:11px;font-weight:800;padding:3px 8px;border-radius:6px;text-transform:uppercase}.tag-market.kospi{background:#e0e7ff;color:#3730a3}.tag-market.kosdaq{background:#fef3c7;color:#92400e}.tag-sector{font-size:11px;font-weight:700;padding:3px 8px;background:#f1f5f9;color:#475569;border-radius:6px}.tag-code{font-size:12px;font-weight:700;color:#64748b;font-family:monospace;background:#f8fafc;border:1px solid #e2e8f0;padding:2px 7px;border-radius:5px}.stock-title{font-size:30px;font-weight:800;color:#0f172a;letter-spacing:-.5px;margin:0 0 6px}.stock-subtext{font-size:13px;color:#64748b;margin:0}.header-price-box{text-align:right;display:flex;flex-direction:column;align-items:flex-end}.price-main{display:flex;align-items:baseline;gap:12px}.price-value{font-size:32px;font-weight:900;color:#0f172a;letter-spacing:-.5px}.price-change{font-size:18px;font-weight:800}.price-change.up{color:#dc2626}.price-change.down{color:#2563eb}.price-meta{font-size:13px;color:#64748b;margin-top:6px;display:flex;align-items:center;gap:12px}.price-meta strong{color:#1e293b}.date-badge{background:#f1f5f9;padding:2px 8px;border-radius:4px;font-size:11px}.score-hero-card{background:linear-gradient(135deg,#1e3a8a,#2563eb 50%,#0284c7);border-radius:16px;padding:28px 32px;color:#ffffff;justify-content:space-between;box-shadow:0 4px 20px rgba(37,99,235,.2);margin-bottom:24px;flex-wrap:wrap}.score-hero-card,.score-left{display:flex;align-items:center;gap:24px}.score-left{flex:1;min-width:300px}.score-circle{width:96px;height:96px;border-radius:50%;background:#ffffff;border:4px solid #ffffff;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(0,0,0,.15);flex-shrink:0}.score-num{font-size:28px;font-weight:900;line-height:1}.score-max{font-size:11px;color:#64748b;font-weight:600;margin-top:3px}.score-meta{display:flex;flex-direction:column;gap:6px}.score-pill{align-self:flex-start;font-size:12px;font-weight:800;padding:4px 12px;border-radius:20px;letter-spacing:-.2px}.score-title{font-size:20px;font-weight:800;margin:0;color:#ffffff}.score-desc{font-size:12.5px;color:#e0f2fe;margin:0;line-height:1.5;max-width:520px}.score-right-ranks{gap:12px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);padding:16px 20px;border-radius:12px;backdrop-filter:blur(8px);min-width:260px}.rank-item,.score-right-ranks{display:flex;flex-direction:column}.rank-item{gap:2px}.rank-label{font-size:11.5px;color:#bae6fd;font-weight:600}.rank-value{display:flex;align-items:baseline;gap:8px}.rank-value strong{font-size:18px;font-weight:800;color:#ffffff}.rank-sub{font-size:12px;color:#e0f2fe}.section-title{font-size:18px;font-weight:800;color:#0f172a;margin:0 0 16px}.metrics-section{margin-bottom:28px}.metrics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.metric-card{background:#ffffff;border:1px solid #e2e8f0;border-radius:12px;padding:16px 18px;box-shadow:0 1px 2px rgba(0,0,0,.04);display:flex;flex-direction:column;justify-content:space-between;transition:all .15s ease}.metric-card:hover{border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 4px 10px rgba(0,0,0,.06)}.metric-header{display:flex;flex-direction:column;gap:2px;margin-bottom:10px}.m-name{font-size:13px;font-weight:700;color:#334155}.m-tip{font-size:11px;color:#94a3b8}.metric-value-row{display:flex;align-items:baseline;gap:4px;margin-bottom:8px}.m-val{font-size:24px;font-weight:800;color:#0f172a;letter-spacing:-.5px}.m-val.pos{color:#dc2626}.m-val.neg{color:#2563eb}.m-unit{font-size:13px}.m-status,.m-unit{color:#64748b;font-weight:600}.m-status{font-size:11.5px;margin:0;line-height:1.4}.chart-section{background:#ffffff;border:1px solid #e2e8f0;border-radius:16px;padding:24px;margin-bottom:28px;box-shadow:0 1px 3px rgba(0,0,0,.05)}.chart-section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;flex-wrap:wrap;gap:12px}.chart-tabs{display:flex;gap:4px;background:#f1f5f9;padding:4px;border-radius:8px}.chart-tab{padding:6px 14px;border:none;background:transparent;color:#64748b;font-size:12.5px;font-weight:700;border-radius:6px;cursor:pointer;transition:all .15s}.chart-tab.active{background:#ffffff;color:#0f172a;box-shadow:0 1px 2px rgba(0,0,0,.08)}.chart-canvas-wrapper{position:relative;width:100%}.ma-legend{position:absolute;top:12px;left:16px;z-index:10;display:flex;gap:12px;font-size:11.5px;font-weight:700;pointer-events:none;background:rgba(255,255,255,.9);border:1px solid #e2e8f0;padding:4px 10px;border-radius:6px;backdrop-filter:blur(4px)}.chart-loading-overlay{position:absolute;inset:0;background:rgba(255,255,255,.7);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;z-index:20;font-size:13px;color:#64748b}.quarters-section{background:#ffffff;border:1px solid #e2e8f0;border-radius:16px;padding:24px;margin-bottom:28px;box-shadow:0 1px 3px rgba(0,0,0,.05)}.table-responsive{overflow-x:auto}.quarters-table{width:100%;border-collapse:collapse;font-size:13px}.quarters-table th{background:#f8fafc;color:#475569;font-weight:700;padding:10px 14px;text-align:right;border-bottom:1px solid #e2e8f0;white-space:nowrap}.quarters-table th:first-child{text-align:left}.quarters-table td{padding:12px 14px;border-bottom:1px solid #f1f5f9;text-align:right;color:#1e293b;white-space:nowrap}.quarters-table td:first-child{text-align:left}.quarters-table tr:hover td{background:#f8fafc}.mini-score-badge{background:#e0f2fe;color:#0369a1;font-weight:800;padding:2px 8px;border-radius:12px;font-size:12px}.quarters-table td.pos{color:#dc2626;font-weight:600}.quarters-table td.neg{color:#2563eb;font-weight:600}.method-section{background:#ffffff;border:1px solid #e2e8f0;border-radius:16px;padding:24px 28px;margin-bottom:30px;box-shadow:0 1px 3px rgba(0,0,0,.05)}.method-content{font-size:13.5px;line-height:1.8;color:#475569}.method-content p{margin:0 0 10px}.method-content strong{color:#0f172a}.disclaimer-text{font-size:12px;color:#94a3b8;margin-top:14px!important}.detail-bottom-actions{text-align:center;margin-top:20px}.back-home-bottom-btn{display:inline-flex;align-items:center;gap:8px;padding:14px 32px;background:#2563eb;color:#ffffff;border-radius:12px;font-size:15px;font-weight:700;text-decoration:none;box-shadow:0 4px 12px rgba(37,99,235,.25);transition:all .2s ease}.back-home-bottom-btn:hover{background:#1d4ed8;transform:translateY(-2px);box-shadow:0 6px 18px rgba(37,99,235,.35)}@media (max-width:992px){.metrics-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:640px){.stock-detail-container{padding:14px 12px 60px;width:100%;max-width:100vw;overflow-x:hidden}.detail-top-nav{flex-direction:column;align-items:flex-start;gap:10px}.top-action-links{width:100%;display:flex;justify-content:space-between}.detail-header-card{padding:18px 16px}.stock-title-row{gap:8px}.stock-title{font-size:22px}.header-price-box{align-items:flex-start;text-align:left}.metrics-grid{grid-template-columns:1fr}.score-hero-card{padding:20px 16px}.score-left{flex-direction:column;align-items:flex-start}.financials-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}}