/* BLINKBUN v3.9.8 — final public geometry + controls
   Source-based consolidation. Loaded from shared footer AFTER all legacy page CSS. */
:root{
  --v398-axis:1200px;
  --v398-gutter:16px;
  --v398-gap:26px;
  --v398-line:rgba(100,181,220,.22);
  --v398-line-strong:rgba(91,224,211,.40);
  --v398-panel:#081b2a;
  --v398-panel2:#0a2234;
  --v398-text:#eef8ff;
  --v398-muted:#89a5b8;
  --v398-cyan:#63e3d5;
  --v398-blue:#5fd1ff;
  --v398-violet:#8d82ff;
  --v398-gold:#f0cc52;
}
*,*:before,*:after{box-sizing:border-box}
html,body{max-width:100%;overflow-x:hidden}

/* ---------- 1. Header: paint is full width, CONTENT is exactly 1200px ---------- */
body header.v230-header.v260-header,
body header.v230-header.v387-header,
body header.v230-header{
  width:100%!important;
  max-width:none!important;
  min-height:74px!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
  border-bottom:1px solid rgba(108,171,206,.15)!important;
}
body .v398-header-axis{
  width:min(var(--v398-axis),calc(100% - 32px))!important;
  max-width:var(--v398-axis)!important;
  min-width:0!important;
  min-height:74px!important;
  margin:0 auto!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:190px minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:18px!important;
}
body .v398-header-axis>.v230-brand{margin:0!important;justify-self:start!important;min-width:0!important}
body .v398-header-axis>.v260-nav,
body .v398-header-axis>.v387-nav{
  width:auto!important;min-width:0!important;margin:0!important;padding:0!important;
  justify-self:center!important;display:flex!important;align-items:center!important;justify-content:center!important;
  flex-wrap:nowrap!important;gap:4px!important;overflow:visible!important;
}
body .v398-header-axis>.v260-nav>a,
body .v398-header-axis>.v387-nav>a,
body .v398-header-axis>.v260-nav>details>summary,
body .v398-header-axis>.v387-nav>details>summary{
  height:38px!important;min-height:38px!important;padding:0 10px!important;margin:0!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  white-space:nowrap!important;font-size:12px!important;line-height:1!important;border-radius:10px!important;
}
body .v398-header-axis>.v230-actions,
body .v398-header-axis>.v260-actions{
  width:auto!important;min-width:0!important;margin:0!important;padding:0!important;
  justify-self:end!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;
  flex-wrap:nowrap!important;gap:7px!important;
}
body .v398-header-axis .v260-language-select{width:116px!important;min-width:116px!important;height:38px!important;min-height:38px!important}
body .v398-header-axis .v291-auth-link{height:38px!important;min-height:38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}

/* outer legacy shell is only a background/DOM owner, never a width owner */
body .v230-shell,body .v286-shell,body .v365-shell,body .v285-shell,body .i280-shell{
  width:100%!important;max-width:none!important;margin:0!important;padding-left:0!important;padding-right:0!important;
}

/* ---------- 2. One public content axis ---------- */
body main.v398-main-axis{
  width:min(var(--v398-axis),calc(100% - 32px))!important;
  max-width:var(--v398-axis)!important;
  min-width:0!important;
  margin:0 auto!important;
  padding:28px 0 76px!important;
  float:none!important;
  display:block!important;
}
body main.v398-main-axis>*{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  float:none!important;
}
/* never let neighbouring top-level boxes visually touch */
body main.v398-main-axis>*+*{margin-top:var(--v398-gap)!important}
body main.v398-main-axis>script,
body main.v398-main-axis>style,
body main.v398-main-axis>template{margin-top:0!important}

/* Footer aligns with same axis */
body .v260-footer{
  width:min(var(--v398-axis),calc(100% - 32px))!important;
  max-width:var(--v398-axis)!important;
  margin:30px auto!important;
  padding:26px 0!important;
}

/* ---------- 3. Home ---------- */
body.v388-core-home main.v398-main-axis{padding-top:0!important}
body.v388-core-home .v230-hero,
body.v388-core-home .v261-hero,
body.v388-core-home .v383-return,
body.v388-core-home .dg340-board,
body.v388-core-home .v391-home-events,
body.v388-core-home .v293-most-watched,
body.v388-core-home .v230-live,
body.v388-core-home .v230-why,
body.v388-core-home .v230-bbun,
body.v388-core-home .v230-faq{
  width:100%!important;max-width:none!important;min-width:0!important;margin-left:0!important;margin-right:0!important;
}
body.v388-core-home .v230-hero{padding-left:42px!important;padding-right:42px!important}
body .v3881-home-core-actions{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
body .v3881-home-core-actions>a{width:100%!important;min-width:0!important;height:42px!important;min-height:42px!important}

/* ---------- 4. Tool / Radar / Catalyst / Watch / Intelligence / Report ---------- */
body.v370-page main.v398-main-axis .v230-tool-hero,
body.v370-page main.v398-main-axis .v250-hero,
body.v370-page main.v398-main-axis .v365-hero,
body.v370-page main.v398-main-axis .i280-hero,
body.v370-page main.v398-main-axis .i280-head,
body.v370-page main.v398-main-axis .rv240-hero,
body.v370-page main.v398-main-axis .v285-report-hero{
  width:100%!important;max-width:none!important;min-width:0!important;margin-left:0!important;margin-right:0!important;
}
body.v370-page .v230-tool-hero{padding:46px 40px!important}
body.v370-page .v230-tool-hero h1{max-width:900px!important}
body.v370-page .v230-tool-hero p{max-width:820px!important}

/* Checker search is a full row, shortcuts are a separate full row */
body #v388PrimarySearch{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;display:block!important}
body #v388PrimarySearch>.v347-token-search,
body .v347-token-search.v347-checker{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important}
body .v347-search-form{width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important}
body .v347-search-form input{width:100%!important;min-width:0!important}
body .v388-checker-shortcuts{width:100%!important;margin:12px 0 0!important;padding:0!important;display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
body .token-checker-shell,
body .v382-entry,
body .v230-note,
body .v380-daily,
body .v317-search-intent,
body .v345-pulse,
body .v382-radar-focus,
body .v230-radar-stats,
body .v230-filter,
body .v230-radar-list{width:100%!important;max-width:none!important;min-width:0!important;margin-left:0!important;margin-right:0!important}

/* Catalyst renderer: only top-level catalyst boxes expand; internal cards keep their own grids */
body main.v398-main-axis>[class^="cat381"],
body main.v398-main-axis>[class*=" cat381"]{width:100%!important;max-width:none!important;min-width:0!important;margin-left:0!important;margin-right:0!important}

/* Search-discovery / token report pages */
body .v319-discovery-main.v398-main-axis,
body .v285-report-main.v398-main-axis{width:min(var(--v398-axis),calc(100% - 32px))!important;max-width:var(--v398-axis)!important;margin-left:auto!important;margin-right:auto!important}
body .v319-discovery-main.v398-main-axis>.seo-hero,
body .v319-discovery-main.v398-main-axis>section,
body .v285-report-main.v398-main-axis>section{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}

/* ---------- 5. Cards, visual separation, readable discovery ---------- */
body main.v398-main-axis :is(section,details).v398-panel,
body main.v398-main-axis>.v383-return,
body main.v398-main-axis>.dg340-board{
  border-radius:18px!important;
}
body .dg340-home-grid{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
body .dg340-feature{min-width:0!important}
body .dg340-stack,body .dg340-new-grid{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;min-width:0!important}
body a.dg340-token,body a.dg340-new-card,body .dg340-stack>a,body .dg340-new-grid>a{
  min-width:0!important;min-height:74px!important;padding:12px 13px!important;border:1px solid rgba(112,181,215,.22)!important;
  border-radius:12px!important;background:#0a2234!important;background-image:none!important;color:var(--v398-text)!important;
  box-shadow:none!important;text-shadow:none!important;overflow:hidden!important;
}
body .dg340-token *,body .dg340-new-card *{text-shadow:none!important}
body .dg340-token :is(b,strong),body .dg340-new-card>b{color:#f1faff!important}
body .dg340-new-card>span{color:#71f0c9!important;font-weight:900!important}
body .dg340-new-card :is(code,small,em),body .dg340-token :is(code,small),body .dg340-token-meta,body .dg340-token-meta span{color:#90aabd!important}
body .dg340-tone-green .dg340-token-top strong{color:#83f1c1!important}
body .dg340-tone-cyan .dg340-token-top strong{color:#7edfff!important}

/* Legacy live Radar cards: no clipped giant “분석 보기” */
body .v230-radar-grid{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
body .v230-radar-grid>a{
  min-width:0!important;min-height:104px!important;padding:14px!important;display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto 1fr!important;gap:7px 12px!important;
  overflow:hidden!important;background:#0a2234!important;background-image:none!important;color:#eef8ff!important;
  border:1px solid rgba(112,181,215,.20)!important;border-radius:12px!important;box-shadow:none!important;text-shadow:none!important;
}
body .v230-radar-grid>a>*{min-width:0!important;max-width:100%!important}
body .v230-radar-grid>a>b{font-size:15px!important;line-height:1.2!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body .v230-radar-grid>a>small{font-size:11px!important;color:#8aa5b8!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body .v230-radar-grid>a>span{grid-column:2!important;grid-row:1/3!important;align-self:center!important;font-size:11px!important;font-weight:850!important;line-height:1.15!important;white-space:nowrap!important;color:#91f4e3!important}
body .v230-radar-grid dl{min-width:0!important;font-size:11px!important}

/* Return module: card information and action row are separate */
body .v383-return{padding:20px!important;overflow:hidden!important;border:1px solid rgba(91,224,211,.28)!important;border-radius:18px!important;background:rgba(6,22,36,.76)!important}
body .v383-return [class*="grid"]{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
body .v383-return :is(article,[class*="card"],[class*="item"]){min-width:0!important;overflow:hidden!important}
body .v383-return .v398-token-summary{display:block!important;width:100%!important;height:auto!important;min-height:74px!important;padding:12px!important;border:1px solid rgba(112,181,215,.20)!important;border-radius:11px!important;background:#091f30!important;color:#eef8ff!important;overflow:hidden!important;white-space:normal!important}
body .v383-return .v398-actions-row{width:100%!important;margin-top:9px!important;padding:0!important;display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;border:0!important;background:none!important;box-shadow:none!important}

/* ---------- 6. Button system: SAME HEIGHT, distinct roles ---------- */
body .v398-btn,
body .v388-checker-shortcuts>a,
body .v388-checker-shortcuts>button{
  appearance:none!important;box-sizing:border-box!important;width:auto!important;min-width:0!important;max-width:100%!important;
  height:40px!important;min-height:40px!important;max-height:40px!important;margin:0!important;padding:0 14px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;
  border-radius:10px!important;font-size:12px!important;font-weight:850!important;line-height:1!important;letter-spacing:0!important;
  white-space:nowrap!important;text-decoration:none!important;text-shadow:none!important;box-shadow:none!important;vertical-align:middle!important;
}
body .v398-primary{color:#06131e!important;background:linear-gradient(135deg,var(--v398-blue),var(--v398-violet))!important;border:1px solid rgba(105,210,255,.72)!important}
body .v398-watch{color:#ffe77a!important;background:#332a0b!important;border:1px solid rgba(240,204,82,.72)!important}
body .v398-live{color:#a4fff0!important;background:#0b3437!important;border:1px solid rgba(91,224,211,.58)!important}
body .v398-schedule{color:#dbe8f0!important;background:#142838!important;border:1px solid rgba(150,183,202,.34)!important}
body .v398-bbun{color:#f3efff!important;background:#30305a!important;border:1px solid rgba(142,130,255,.58)!important}
body .v398-radar{color:#a9fff4!important;background:#0a3040!important;border:1px solid rgba(91,211,226,.50)!important}
body .v398-btn:hover{filter:brightness(1.10)!important;transform:translateY(-1px)!important}
body .v347-search-form button,
body .token-checker-form button[type="submit"]{height:40px!important;min-height:40px!important;border-radius:10px!important;padding:0 16px!important}

/* Restore neutral links/cards accidentally styled as buttons by old runtime layers */
body .v398-token-summary.v398-btn{height:auto!important;min-height:74px!important;max-height:none!important;display:block!important;padding:12px!important;background:#091f30!important;border-color:rgba(112,181,215,.20)!important;color:#eef8ff!important}

/* ---------- 7. Responsive ---------- */
@media(max-width:1240px){
  body .v398-header-axis,body main.v398-main-axis,body .v260-footer{width:calc(100% - 32px)!important}
  body .v398-header-axis{grid-template-columns:160px minmax(0,1fr) auto!important;column-gap:10px!important}
  body .v398-header-axis>.v260-nav>a,body .v398-header-axis>.v387-nav>a,body .v398-header-axis>.v260-nav>details>summary,body .v398-header-axis>.v387-nav>details>summary{padding:0 7px!important;font-size:11.5px!important}
}
@media(max-width:900px){
  body .v398-header-axis{width:calc(100% - 24px)!important;grid-template-columns:1fr auto!important;min-height:64px!important}
  body .v398-header-axis>.v260-nav,body .v398-header-axis>.v387-nav{display:none!important}
  body main.v398-main-axis,body .v260-footer{width:calc(100% - 24px)!important;padding-top:18px!important}
  body .dg340-home-grid,body .v230-radar-grid,body .v383-return [class*="grid"]{grid-template-columns:1fr!important}
  body .v3881-home-core-actions{grid-template-columns:1fr!important}
}
@media(max-width:600px){
  body .v347-search-form{grid-template-columns:1fr!important}
  body .v347-search-form button{width:100%!important}
  body .v398-header-axis>.v230-actions,body .v398-header-axis>.v260-actions{gap:5px!important}
  body .v398-header-axis .v260-language-select{width:102px!important;min-width:102px!important}
  body.v370-page .v230-tool-hero{padding:30px 20px!important}
}
