:root{
  --bg:#050b11;
  --bg2:#08141c;
  --panel:#0b1922;
  --panel2:#0e2029;
  --panel3:#111d20;
  --line:#20343e;
  --line2:#314650;
  --gold:#cfa664;
  --gold2:#efd19a;
  --cream:#f0e9de;
  --text:#e8eceb;
  --muted:#83969f;
  --teal:#5e979e;
  --green:#79b69f;
  --red:#b77c70;
  --blur:rgba(5,13,18,.78);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  background:
    radial-gradient(
      circle at 50% -5%,
      rgba(73,125,136,.17),
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 32%,
      rgba(190,145,76,.06),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #04090e,
      #07131b 42%,
      #050d13
    );
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Pretendard",
    "Noto Sans KR",
    "Malgun Gothic",
    sans-serif;
}

body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.12;
  background-image:
    radial-gradient(
      circle,
      #d6b271 0 1px,
      transparent 1.2px
    );
  background-size:49px 49px;
  mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 75%
    );
}

button,
input,
textarea{
  font:inherit;
}

.shell{
  width:min(1120px,calc(100% - 32px));
  margin:0 auto;
  position:relative;
  z-index:1;
}

.top{
  height:72px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:
    1px solid rgba(255,255,255,.04);
}

.logo{
  display:flex;
  gap:11px;
  align-items:center;
}

.logo-mark{
  width:38px;
  height:38px;
  border-radius:50%;
  border:
    1px solid rgba(207,166,100,.6);
  display:grid;
  place-items:center;
  color:var(--gold2);
  font-family:serif;
  font-size:20px;
  background:
    radial-gradient(
      circle,
      rgba(207,166,100,.08),
      transparent 62%
    );
}

.logo strong{
  display:block;
  font-size:15px;
  letter-spacing:.08em;
}

.logo small{
  display:block;
  margin-top:2px;
  color:#687d86;
  font-size:8px;
  letter-spacing:.19em;
}

.engine-state{
  font-size:10px;
  color:#6e828c;
}

.engine-state.ok{
  color:#8ab8a6;
}

.engine-state:before{
  content:"";
  display:inline-block;
  width:7px;
  height:7px;
  margin-right:7px;
  border-radius:50%;
  background:#786950;
}

.engine-state.ok:before{
  background:var(--green);
  box-shadow:
    0 0 12px var(--green);
}

.hero{
  padding:75px 0 58px;
  text-align:center;
}

.hero-label{
  color:var(--gold);
  font-size:10px;
  letter-spacing:.3em;
}

.hero h1{
  margin:18px 0 14px;
  font-family:
    "Noto Serif KR",
    "Batang",
    serif;
  font-size:
    clamp(36px,6.2vw,64px);
  line-height:1.18;
  letter-spacing:-.055em;
}

.hero h1 em{
  color:var(--gold2);
  font-style:normal;
}

.hero p{
  max-width:610px;
  margin:auto;
  color:#82969f;
  font-size:14px;
  line-height:1.85;
}

.trust{
  margin:24px auto 0;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:7px;
}

.trust span{
  padding:7px 11px;
  border:
    1px solid #213640;
  border-radius:99px;
  color:#7f929b;
  font-size:9px;
  background:
    rgba(7,20,28,.55);
}

.layout{
  display:grid;
  grid-template-columns:
    minmax(0,.85fr)
    minmax(0,1.15fr);
  gap:22px;
  align-items:start;
  padding-bottom:80px;
}

.card{
  border:
    1px solid var(--line);
  border-radius:24px;
  background:
    linear-gradient(
      145deg,
      rgba(13,31,41,.96),
      rgba(7,20,28,.96)
    );
  box-shadow:
    0 30px 90px
    rgba(0,0,0,.2);
}

.form-card{
  padding:25px;
  position:sticky;
  top:15px;
}

.kicker{
  color:var(--gold);
  letter-spacing:.18em;
  font-size:9px;
}

.form-card h2{
  margin:7px 0 4px;
  font-size:21px;
}

.form-card .desc{
  margin:0 0 22px;
  color:#71858e;
  font-size:11px;
  line-height:1.6;
}

.field{
  margin-top:16px;
}

.field label{
  display:block;
  margin-bottom:7px;
  color:#9badb4;
  font-size:11px;
}

input,
textarea{
  width:100%;
  color:#e7ecea;
  border:
    1px solid #263c46;
  border-radius:11px;
  background:#07151d;
  outline:none;
  padding:0 12px;
}

input{
  height:46px;
}

textarea{
  min-height:84px;
  padding-top:11px;
  resize:vertical;
}

input:focus,
textarea:focus{
  border-color:#736044;
  box-shadow:
    0 0 0 3px
    rgba(207,166,100,.05);
}

.row2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.segment{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
}

.segment input{
  display:none;
}

.segment label{
  display:grid;
  place-items:center;
  min-height:42px;
  margin:0;
  cursor:pointer;
  border:
    1px solid #293f49;
  border-radius:10px;
  color:#899ca4;
  background:#07161e;
}

.segment
input:checked + label{
  color:var(--gold2);
  border-color:#756044;
  background:#18201c;
}

.check{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:9px;
  color:#7e9199;
  font-size:10px;
}

.check input{
  width:15px;
  height:15px;
}

.cta{
  width:100%;
  height:55px;
  margin-top:24px;
  border:0;
  border-radius:13px;
  color:#101416;
  font-weight:800;
  cursor:pointer;
  background:
    linear-gradient(
      90deg,
      #c59a59,
      #eccb90
    );
  box-shadow:
    0 14px 30px
    rgba(197,154,89,.13);
}

.cta:disabled{
  opacity:.55;
}

.note{
  margin-top:10px;
  text-align:center;
  color:#60737c;
  font-size:9px;
  line-height:1.6;
}

.report{
  min-height:660px;
  padding:27px;
}

.empty{
  min-height:600px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
}

.compass{
  width:150px;
  height:150px;
  position:relative;
  margin-bottom:28px;
}

.compass:before,
.compass:after{
  content:"";
  position:absolute;
  border-radius:50%;
}

.compass:before{
  inset:0;
  border:
    1px solid rgba(207,166,100,.35);
  animation:
    spin 30s linear infinite;
}

.compass:after{
  inset:21px;
  border:
    1px dashed
    rgba(94,151,158,.35);
  animation:
    rev 37s linear infinite;
}

.compass span{
  position:absolute;
  inset:45px;
  display:grid;
  place-items:center;
  border-radius:50%;
  border:
    1px solid rgba(207,166,100,.5);
  color:var(--gold2);
  font-family:serif;
  font-size:36px;
}

.empty strong{
  font-size:18px;
}

.empty p{
  max-width:360px;
  color:#788c95;
  font-size:11px;
  line-height:1.75;
}

.result{
  display:none;
}

.result.on{
  display:block;
}

.result-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:15px;
  padding-bottom:20px;
  border-bottom:
    1px solid var(--line);
}

.result-head h2{
  margin:6px 0 0;
  font-size:22px;
}

.dm{
  min-width:70px;
  padding:8px;
  text-align:center;
  border:
    1px solid #55462f;
  border-radius:12px;
  background:#151a17;
}

.dm b{
  display:block;
  color:var(--gold2);
  font-family:serif;
  font-size:27px;
}

.dm small{
  color:#73868d;
  font-size:8px;
}

.stability{
  margin-top:16px;
  padding:13px;
  border:
    1px solid #24404a;
  border-radius:13px;
  background:
    rgba(8,27,35,.65);
  color:#8da0a7;
  font-size:10px;
  line-height:1.7;
}

.stability.good{
  border-color:#315346;
}

.pillars{
  display:grid;
  grid-template-columns:
    repeat(4,1fr);
  gap:7px;
  margin-top:17px;
}

.pillar{
  padding:14px 5px;
  text-align:center;
  border:
    1px solid #1f3640;
  border-radius:12px;
  background:#07161f;
}

.pillar small{
  display:block;
  margin-bottom:6px;
  color:#71848d;
  font-size:9px;
}

.pillar b{
  font-family:serif;
  color:#ecd5aa;
  font-size:22px;
}

.chat{
  margin-top:25px;
}

.chat-label{
  color:#6d8088;
  font-size:9px;
  letter-spacing:.15em;
}

.bubble{
  width:90%;
  margin-top:10px;
  padding:15px 16px;
  border-radius:
    7px 17px 17px 17px;
  border:
    1px solid #243a44;
  background:#0c1d26;
}

.bubble.gold{
  border-color:#4a3d2c;
  background:
    linear-gradient(
      135deg,
      rgba(45,35,23,.72),
      rgba(12,29,38,.95)
    );
}

.bubble h3{
  margin:0 0 7px;
  color:#e6cc9c;
  font-size:14px;
}

.bubble p{
  margin:0;
  color:#9aabb1;
  font-size:11px;
  line-height:1.75;
}

.why{
  margin-top:10px;
  border:0;
  padding:0;
  color:#c7a667;
  background:none;
  cursor:pointer;
  font-size:10px;
}

.evidence{
  display:none;
  margin-top:10px;
  padding-top:10px;
  border-top:
    1px solid #253942;
  color:#778d95;
  font-size:9px;
  line-height:1.7;
}

.evidence.on{
  display:block;
}

.lock-area{
  margin-top:30px;
}

.lock-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin-bottom:11px;
}

.lock-head strong{
  font-size:15px;
}

.lock-head span{
  color:#806d50;
  font-size:9px;
}

.locked{
  position:relative;
  overflow:hidden;
  margin-top:8px;
  padding:15px;
  border:
    1px solid #243741;
  border-radius:13px;
  background:#0a1820;
}

.locked:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(8,18,24,.18)
    );
}

.locked h4{
  margin:0 0 5px;
  color:#c5c9c5;
  font-size:12px;
}

.locked p{
  margin:0;
  color:#687c84;
  font-size:9px;
  line-height:1.6;
}

.lock-icon{
  float:right;
  color:#b59661;
}

.paybox{
  margin-top:18px;
  padding:20px;
  border:
    1px solid #5b482e;
  border-radius:17px;
  text-align:center;
  background:
    radial-gradient(
      circle at 50% 0,
      rgba(207,166,100,.09),
      transparent 52%
    ),
    #0b171c;
}

.paybox small{
  color:#8c7755;
  letter-spacing:.12em;
}

.paybox h3{
  margin:8px 0 4px;
  font-family:
    "Noto Serif KR",
    serif;
  font-size:20px;
}

.price{
  color:var(--gold2);
  font-size:29px;
  font-weight:800;
}

.paybox p{
  color:#788a91;
  font-size:10px;
  line-height:1.65;
}

.paybtn{
  width:100%;
  height:49px;
  margin-top:8px;
  border:
    1px solid #725b37;
  border-radius:11px;
  color:#ddc18e;
  background:#201c15;
  cursor:not-allowed;
}

.disclaimer{
  margin-top:18px;
  color:#566a73;
  font-size:8px;
  line-height:1.6;
}

.loading{
  position:fixed;
  inset:0;
  z-index:100;
  display:none;
  place-items:center;
  text-align:center;
  background:
    rgba(2,8,12,.9);
  backdrop-filter:
    blur(9px);
}

.loading.on{
  display:grid;
}

.loading-ring{
  width:88px;
  height:88px;
  margin:auto;
  border-radius:50%;
  border:
    1px solid #3f392c;
  border-top-color:
    var(--gold);
  animation:
    spin 1.3s linear infinite;
}

.loading h3{
  margin:18px 0 6px;
  color:#e7ca97;
}

.loading p{
  margin:0;
  color:#73868e;
  font-size:10px;
}

footer{
  padding:0 0 45px;
  text-align:center;
  color:#526770;
  font-size:9px;
  line-height:1.8;
}

@keyframes spin{
  to{
    transform:rotate(360deg);
  }
}

@keyframes rev{
  to{
    transform:rotate(-360deg);
  }
}

@media(max-width:780px){
  .layout{
    grid-template-columns:1fr;
  }

  .form-card{
    position:static;
  }

  .hero{
    padding:
      48px 0 37px;
  }
}

@media(max-width:450px){
  .shell{
    width:
      calc(100% - 20px);
  }

  .report,
  .form-card{
    padding:19px;
  }

  .row2{
    grid-template-columns:1fr;
  }

  .pillar b{
    font-size:19px;
  }

  .bubble{
    width:96%;
  }
}

@media(
  prefers-reduced-motion:reduce
){
  *{
    animation:none!important;
  }
}

.year-preview{
  margin-top:28px;
  padding-top:22px;
  border-top:1px solid var(--line);
}

.year-preview-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:12px;
}

.year-preview-title strong{
  font-size:14px;
}

.year-preview-title span{
  color:#77684e;
  font-size:9px;
}

.year-current{
  border:1px solid #4c402f;
  border-radius:15px;
  padding:16px;
  background:
    linear-gradient(
      135deg,
      rgba(46,35,22,.68),
      rgba(9,25,33,.86)
    );
}

.year-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.year-top b{
  color:var(--gold2);
  font-size:19px;
  font-family:serif;
}

.signal{
  border:1px solid #3a4a4e;
  border-radius:99px;
  padding:4px 8px;
  color:#83969c;
  font-size:8px;
}

.signal.strong{
  color:#dbb57a;
  border-color:#775f39;
}

.year-current p{
  margin:10px 0 0;
  color:#8fa0a6;
  font-size:10px;
  line-height:1.7;
}

.future-strip{
  display:grid;
  grid-template-columns:
    repeat(4,1fr);
  gap:6px;
  margin-top:8px;
}

.future-year{
  position:relative;
  min-height:72px;
  padding:10px 4px;
  text-align:center;
  border:1px solid #20343d;
  border-radius:11px;
  background:#08161e;
  overflow:hidden;
}

.future-year:after{
  content:"🔒";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  background:
    rgba(6,16,22,.72);
  backdrop-filter:blur(2px);
  font-size:12px;
}

.future-year b{
  display:block;
  color:#c8b28a;
  font-family:serif;
}

.future-year small{
  color:#63767e;
  font-size:8px;
}


/* ==========================================================
   MG-COMMERCIAL-V111
   ========================================================== */

.mg-commercial-intro,
.mg-products,
.mg-life-book,
.mg-last-trust{
  position:relative;
  margin:0 auto 72px;
}

.mg-section-kicker{
  color:var(--gold);
  font-size:9px;
  letter-spacing:.27em;
}

.mg-commercial-intro{
  padding:48px 0 12px;
  text-align:center;
}

.mg-commercial-intro h2,
.mg-section-head h2,
.mg-book-content h2,
.mg-last-trust h2{
  margin:12px 0;
  font-family:
    "Noto Serif KR",
    "Batang",
    serif;
  font-weight:600;
  letter-spacing:-.045em;
}

.mg-commercial-intro h2{
  font-size:
    clamp(28px,4.5vw,44px);
}

.mg-commercial-intro em,
.mg-book-content em,
.mg-last-trust em{
  color:var(--gold2);
  font-style:normal;
}

.mg-commercial-lead{
  max-width:660px;
  margin:0 auto;
  color:#84979f;
  font-size:13px;
  line-height:1.95;
}

.mg-quote{
  max-width:680px;
  margin:31px auto 0;
  padding:28px;
  border:
    1px solid #403623;
  border-radius:20px;
  background:
    radial-gradient(
      circle at 50% 0,
      rgba(207,166,100,.1),
      transparent 65%
    ),
    #09151b;
}

.mg-quote strong{
  display:block;
  color:#e7d0a3;
  font-family:
    "Noto Serif KR",
    serif;
  font-size:20px;
  line-height:1.6;
}

.mg-quote p{
  margin:13px 0 0;
  color:#758991;
  font-size:10px;
  line-height:1.75;
}

.mg-principles{
  display:grid;
  grid-template-columns:
    repeat(3,1fr);
  gap:10px;
  margin-top:20px;
}

.mg-principles article{
  padding:20px;
  text-align:left;
  border:
    1px solid var(--line);
  border-radius:16px;
  background:
    rgba(7,20,28,.62);
}

.mg-principles span{
  color:#77684e;
  font-size:9px;
}

.mg-principles h3{
  margin:8px 0 7px;
  font-size:14px;
}

.mg-principles p{
  margin:0;
  color:#74878f;
  font-size:10px;
  line-height:1.65;
}

.mg-products{
  padding:36px 0 8px;
}

.mg-section-head{
  display:flex;
  justify-content:space-between;
  gap:35px;
  align-items:flex-end;
  margin-bottom:20px;
}

.mg-section-head h2{
  font-size:
    clamp(26px,4vw,38px);
}

.mg-section-head > p{
  max-width:330px;
  margin:0 0 5px;
  color:#73878f;
  font-size:10px;
  line-height:1.7;
}

.mg-product-grid{
  display:grid;
  grid-template-columns:
    repeat(3,1fr);
  gap:12px;
}

.mg-product-card{
  position:relative;
  min-height:430px;
  padding:23px;
  display:flex;
  flex-direction:column;
  border:
    1px solid #233943;
  border-radius:20px;
  background:
    linear-gradient(
      160deg,
      #0d1d25,
      #07141b
    );
}

.mg-product-card.recommended{
  border-color:#725c37;
  box-shadow:
    0 20px 50px
    rgba(0,0,0,.22);
}

.mg-product-card.life-book{
  border-color:#59472e;
  background:
    radial-gradient(
      circle at 50% 0,
      rgba(207,166,100,.09),
      transparent 42%
    ),
    linear-gradient(
      160deg,
      #141a19,
      #08141a
    );
}

.mg-recommend{
  position:absolute;
  top:-10px;
  right:18px;
  padding:5px 9px;
  border-radius:99px;
  color:#17140f;
  background:var(--gold2);
  font-size:7px;
  font-weight:900;
  letter-spacing:.12em;
}

.mg-product-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.mg-product-top span{
  color:#71848b;
  font-size:8px;
  letter-spacing:.15em;
}

.mg-product-top b{
  color:#e4c58d;
  font-size:17px;
}

.mg-product-card h3{
  margin:22px 0 8px;
  font-family:
    "Noto Serif KR",
    serif;
  font-size:20px;
}

.mg-product-card > p{
  min-height:58px;
  margin:0;
  color:#82939a;
  font-size:10px;
  line-height:1.7;
}

.mg-product-lines{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:19px 0 23px;
  color:#a4afb1;
  font-size:9px;
  line-height:1.45;
}

.mg-product-button{
  min-height:45px;
  margin-top:auto;
  border:
    1px solid #77603a;
  border-radius:10px;
  display:grid;
  place-items:center;
  text-decoration:none;
  color:#dcc08d;
  background:#211c14;
  font-size:10px;
}

.mg-product-button.secondary{
  color:#96a7ad;
  border-color:#2b414b;
  background:#091820;
}

.mg-product-button.book{
  color:#dac59f;
  border-color:#5d4d35;
  background:#191813;
}

button.mg-product-button{
  width:100%;
  cursor:not-allowed;
}

.mg-life-book{
  display:grid;
  grid-template-columns:
    .72fr 1.28fr;
  gap:46px;
  align-items:center;
  padding:62px 50px;
  border:
    1px solid #403522;
  border-radius:28px;
  background:
    radial-gradient(
      circle at 18% 30%,
      rgba(205,164,96,.12),
      transparent 30%
    ),
    linear-gradient(
      130deg,
      #0b171b,
      #071118
    );
}

.mg-book-cover{
  aspect-ratio:3/4.4;
  max-width:310px;
  width:100%;
  margin:auto;
  padding:35px 24px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:
    1px solid #806a46;
  border-radius:6px 17px 17px 6px;
  box-shadow:
    -12px 12px 35px
    rgba(0,0,0,.32),
    inset 11px 0 18px
    rgba(0,0,0,.25);
  background:
    radial-gradient(
      circle at 50% 22%,
      rgba(205,164,96,.11),
      transparent 34%
    ),
    #101716;
}

.mg-book-symbol{
  color:#b9955f;
  font-family:serif;
  font-size:12px;
  letter-spacing:.34em;
}

.mg-book-cover small{
  margin-top:10px;
  color:#596b6c;
  font-size:7px;
  letter-spacing:.18em;
}

.mg-book-cover h2{
  margin:46px 0 7px;
  color:#eee2cd;
  font-family:
    "Noto Serif KR",
    serif;
  font-size:23px;
}

.mg-book-rule{
  width:36px;
  height:1px;
  margin:16px;
  background:#79623e;
}

.mg-book-cover h3{
  margin:0;
  color:#c3a575;
  font-family:serif;
  font-size:27px;
  letter-spacing:.2em;
}

.mg-book-cover p{
  margin-top:46px;
  color:#677a7d;
  font-size:8px;
}

.mg-book-content h2{
  font-size:
    clamp(28px,4vw,42px);
}

.mg-book-lead{
  max-width:600px;
  color:#82959c;
  font-size:11px;
  line-height:1.85;
}

.mg-chapters{
  margin-top:23px;
  border-top:
    1px solid #25373b;
}

.mg-chapters > div{
  display:grid;
  grid-template-columns:
    90px 1fr;
  gap:10px;
  padding:10px 0;
  border-bottom:
    1px solid #1b2c32;
}

.mg-chapters b{
  color:#897454;
  font-size:7px;
  letter-spacing:.12em;
}

.mg-chapters span{
  color:#a8b3b4;
  font-size:10px;
}

.mg-dialogue-preview{
  margin-top:25px;
}

.mg-dialogue-preview > span{
  color:#74664e;
  font-size:8px;
  letter-spacing:.12em;
}

.mg-dialogue-q,
.mg-dialogue-a{
  max-width:88%;
  margin-top:8px;
  padding:12px 14px;
  border-radius:14px;
  font-size:9px;
  line-height:1.65;
}

.mg-dialogue-q{
  margin-left:auto;
  color:#9aa7aa;
  border:
    1px solid #273941;
  background:#0a1720;
}

.mg-dialogue-a{
  color:#c8b890;
  border:
    1px solid #493e2c;
  background:#171912;
}

.mg-last-trust{
  padding:52px 15px 58px;
  text-align:center;
}

.mg-last-trust h2{
  font-size:
    clamp(27px,4vw,40px);
}

.mg-last-trust > p{
  max-width:560px;
  margin:0 auto;
  color:#7d9097;
  font-size:11px;
  line-height:1.8;
}

.mg-trust-row{
  margin:22px 0;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:7px;
}

.mg-trust-row span{
  padding:7px 11px;
  color:#81959c;
  font-size:8px;
  border:
    1px solid #283b43;
  border-radius:99px;
}

.mg-last-trust small{
  color:#52666e;
  font-size:8px;
  line-height:1.7;
}

@media(max-width:780px){

  .mg-principles,
  .mg-product-grid{
    grid-template-columns:1fr;
  }

  .mg-section-head{
    display:block;
  }

  .mg-section-head > p{
    margin-top:12px;
  }

  .mg-product-card{
    min-height:auto;
  }

  .mg-life-book{
    grid-template-columns:1fr;
    padding:35px 19px;
  }

  .mg-book-cover{
    max-width:240px;
  }

}


/* ==========================================================
   MG-CLASSICAL-V120
   ========================================================== */

.classical-view{
  margin-top:28px;
  padding-top:23px;
  border-top:1px solid var(--line);
}

.classical-title{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:12px;
}

.classical-title strong{
  font-size:14px;
}

.classical-title span{
  color:#796b52;
  font-size:8px;
  letter-spacing:.12em;
}

.classical-grid{
  display:grid;
  grid-template-columns:
    repeat(3,1fr);
  gap:7px;
}

.classical-card{
  min-height:125px;
  padding:13px;
  border:1px solid #263b43;
  border-radius:12px;
  background:#081820;
}

.classical-card.highlight{
  border-color:#59492f;
  background:
    linear-gradient(
      145deg,
      rgba(42,34,22,.48),
      #081820
    );
}

.classical-card small{
  display:block;
  color:#796b52;
  font-size:7px;
  letter-spacing:.12em;
}

.classical-card b{
  display:block;
  margin-top:8px;
  color:#dfc494;
  font-size:12px;
}

.classical-card p{
  margin:7px 0 0;
  color:#7f9198;
  font-size:9px;
  line-height:1.65;
}

.classical-note{
  margin-top:9px;
  padding:10px 12px;
  border:1px solid #20343c;
  border-radius:10px;
  color:#6f838b;
  background:#07151c;
  font-size:8px;
  line-height:1.65;
}

@media(max-width:600px){
  .classical-grid{
    grid-template-columns:1fr;
  }

  .classical-card{
    min-height:auto;
  }
}



/* ==========================================================
   MYEONGRIGYEOL V2 PERSONAL CONTEXT
   ========================================================== */

.form-card select{
  width:100%;
  min-height:46px;
  padding:0 13px;
  border:1px solid #243842;
  border-radius:12px;
  background:#08161d;
  color:#e9eeeb;
  font:inherit;
  outline:none;
}

.form-card select:focus{
  border-color:#806846;
}

.mg-context-intro{
  margin:22px 0 6px;
  padding:16px 17px;
  border:1px solid rgba(199,157,96,.28);
  border-radius:14px;
  background:
    linear-gradient(
      135deg,
      rgba(193,151,87,.08),
      rgba(23,42,49,.22)
    );
}

.mg-context-intro strong{
  display:block;
  margin-bottom:7px;
  color:#d8bb89;
  font-size:12px;
}

.mg-context-intro p{
  margin:0;
  color:#789096;
  font-size:10px;
  line-height:1.7;
}

.mg-field-guide{
  margin-top:7px;
  color:#60777e;
  font-size:9px;
  line-height:1.6;
}

.mg-report-book-link{
  display:block;
  margin-top:12px;
  color:#a98c5e;
  text-decoration:none;
  font-size:10px;
}

.mg-report-book-link:hover{
  color:#e0c28f;
}

.mg-book-points{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:20px;
}

.mg-book-points span{
  padding:7px 10px;
  border:1px solid rgba(182,145,88,.25);
  border-radius:999px;
  color:#8e806a;
  background:rgba(157,119,62,.04);
  font-size:9px;
}

@media(max-width:720px){

  .form-card .row2{
    grid-template-columns:1fr;
  }

}


/* ==========================================================
   RESULT-ONLY DEEP PREFERENCES · V2.1
   ========================================================== */

.mg-deep-preferences{
  margin:28px 0 22px;
  padding:22px;
  border:1px solid rgba(194,154,94,.28);
  border-radius:18px;
  background:
    linear-gradient(
      145deg,
      rgba(16,31,38,.98),
      rgba(7,20,26,.98)
    );
}

.mg-deep-kicker{
  margin-bottom:7px;
  color:#b9955e;
  font-size:8px;
  letter-spacing:.18em;
}

.mg-deep-preferences h3{
  margin:0;
  color:#edf0ec;
  font-size:18px;
}

.mg-deep-desc{
  margin:8px 0 17px;
  color:#788b91;
  font-size:10px;
  line-height:1.7;
}

.mg-focus-grid{
  display:grid;
  grid-template-columns:
    repeat(3,1fr);
  gap:7px;
  margin-bottom:18px;
}

.mg-focus{
  min-height:40px;
  border:1px solid #29414a;
  border-radius:10px;
  color:#87999f;
  background:#07161c;
  font-size:10px;
  cursor:pointer;
  transition:.15s ease;
}

.mg-focus:hover{
  border-color:#65543a;
  color:#d3b47d;
}

.mg-focus.active{
  border-color:#98794a;
  color:#f0d39c;
  background:
    linear-gradient(
      135deg,
      #211e16,
      #0d191b
    );
  box-shadow:
    inset 0 0 0 1px
    rgba(205,165,101,.07);
}

.mg-deep-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
}

.mg-deep-row label,
.mg-deep-question label{
  display:block;
  margin:0 0 6px;
  color:#8ea0a5;
  font-size:9px;
}

.mg-deep-row label span,
.mg-deep-question label span{
  color:#5d7279;
}


/* 브라우저 기본 흰 SELECT 강제 제거 */

.mg-deep-preferences select,
.form-card select{
  width:100%;
  height:43px;
  padding:
    0 38px
    0 12px;

  border:
    1px solid #2b424b;

  border-radius:10px;

  color:#dce4e3;

  background-color:#07161c;

  background-image:
    linear-gradient(
      45deg,
      transparent 50%,
      #b49463 50%
    ),
    linear-gradient(
      135deg,
      #b49463 50%,
      transparent 50%
    );

  background-position:
    calc(100% - 17px) 18px,
    calc(100% - 12px) 18px;

  background-size:
    5px 5px,
    5px 5px;

  background-repeat:no-repeat;

  font:inherit;
  font-size:10px;

  outline:none;

  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;

  color-scheme:dark;

  cursor:pointer;
}

.mg-deep-preferences select:hover,
.form-card select:hover{
  border-color:#5a523d;
}

.mg-deep-preferences select:focus,
.form-card select:focus{
  border-color:#9b7b4c;
  box-shadow:
    0 0 0 2px
    rgba(182,145,88,.09);
}

.mg-deep-preferences select option,
.form-card select option{
  color:#e2e7e5;
  background:#0a171e;
}


.mg-deep-question{
  margin-top:12px;
}

.mg-deep-question input{
  width:100%;
  height:43px;
  padding:0 12px;
  border:1px solid #2b424b;
  border-radius:10px;
  color:#dce4e3;
  background:#07161c;
  outline:none;
  font:inherit;
  font-size:10px;
}

.mg-deep-question input:focus{
  border-color:#9b7b4c;
}

.mg-deep-question small{
  display:block;
  margin-top:6px;
  color:#5f747a;
  font-size:8px;
  line-height:1.5;
}


@media(max-width:650px){

  .mg-focus-grid{
    grid-template-columns:
      repeat(2,1fr);
  }

  .mg-deep-row{
    grid-template-columns:1fr;
  }

}
