/* =========================================================
   로또TTP theme  (2026-11-30)
   ink navy + cobalt, 공식 로또 공 색상(노랑/파랑/빨강/회색/초록)을 브랜드 색으로 사용
   ========================================================= */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

:root{
  --ttp-ink:#15204a;
  --ttp-cobalt:#2b4bd8;
  --ttp-cobalt-d:#1f38a8;
  --ttp-paper:#f3f5fa;
  --ttp-line:#dde2ee;
  --ttp-text:#1e2745;
  --ttp-muted:#4f5a78;
  --ttp-sun:#fbc400;
  --ball-y:#fbc400; --ball-b:#69c8f2; --ball-r:#ff7272; --ball-k:#aaaaaa; --ball-g:#b0d840;
  --ttp-font:'Pretendard Variable','Pretendard','Apple SD Gothic Neo','Malgun Gothic',sans-serif;
  --ttp-display:'Pretendard Variable','Pretendard','Malgun Gothic',sans-serif;
}

/* ---------- 공통 바탕 ---------- */
html body{background:var(--ttp-paper)!important;background-image:none!important;color:var(--ttp-text)!important;font-family:var(--ttp-font)!important;-webkit-font-smoothing:antialiased}
body *:not(i):not([class*=icon]):not([class*=fa-]){font-family:var(--ttp-font)!important}
html body{font-weight:500;letter-spacing:-.01em}
b,strong,th{font-weight:700}
.ttp-wrap{box-sizing:border-box;width:100%;max-width:1200px;margin:0 auto;padding:0 24px}
a:focus-visible,button:focus-visible{outline:3px solid var(--ttp-sun)!important;outline-offset:2px}

/* 이전 스킨이 만들던 머리글/모바일 메뉴/하단 고정 메뉴는 모두 숨김 */
.lm-mobile-shell,.dc-bottom-nav,.dc-mobile-nav,.lr-mobile-nav,.dc-search-layer{display:none!important}

/* ---------- 버튼 ---------- */
.ttp-btn{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:42px;padding:0 18px;border-radius:999px;font-size:15px;font-weight:700;text-decoration:none!important;white-space:nowrap;border:1.5px solid transparent;transition:background .15s,color .15s}
.ttp-btn-lg{height:52px;padding:0 26px;font-size:16px}
.ttp-btn-ink{background:var(--ttp-cobalt);color:#fff!important}
.ttp-btn-ink:hover{background:var(--ttp-cobalt-d)}
.ttp-btn-line{background:#fff;color:var(--ttp-ink)!important;border-color:var(--ttp-ink)}
.ttp-btn-line:hover{background:var(--ttp-ink);color:#fff!important}
.ttp-btn-sun{background:var(--ttp-sun);color:var(--ttp-ink)!important}
.ttp-btn-sun:hover{background:#ffd43b}

/* ---------- 로고 ---------- */
.ttp-logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none!important;color:var(--ttp-ink)!important}
.ttp-logo-balls{display:inline-flex}
.ttp-logo-balls i{width:16px;height:16px;border-radius:50%;margin-left:-5px;box-shadow:0 0 0 2px #fff}
.ttp-logo-balls i:first-child{margin-left:0}
.ttp-logo-balls .y{background:var(--ball-y)}.ttp-logo-balls .b{background:var(--ball-b)}.ttp-logo-balls .r{background:var(--ball-r)}
.ttp-logo-word{font-family:var(--ttp-display);font-weight:800;font-size:24px;letter-spacing:-.8px;line-height:1}
.ttp-logo-word b{font-weight:900;color:var(--ttp-cobalt)}
.ttp-logo-light{color:#fff!important}.ttp-logo-light .ttp-logo-word b{color:var(--ttp-sun)}
.ttp-logo-light .ttp-logo-balls i{box-shadow:0 0 0 2px var(--ttp-ink)}

/* ---------- GNB ---------- */
.ttp-gnb{position:sticky;top:0;z-index:900;background:#fff;border-bottom:1px solid var(--ttp-line)}
.ttp-gnb-in{display:flex;align-items:center;height:72px;gap:40px}
.ttp-menu{display:flex;gap:6px;flex:1}
.ttp-menu a{position:relative;padding:10px 14px;font-size:16px;font-weight:700;color:var(--ttp-text)!important;text-decoration:none!important}
.ttp-menu a:hover{color:var(--ttp-cobalt)!important}
.ttp-menu a.on{color:var(--ttp-ink)!important}
.ttp-menu a.on:after{content:"";position:absolute;left:14px;right:14px;bottom:-15px;height:3px;background:var(--ttp-cobalt);border-radius:3px 3px 0 0}
.ttp-account{display:flex;align-items:center;gap:16px}
.ttp-link{font-size:15px;font-weight:500;color:var(--ttp-muted)!important;text-decoration:none!important}
.ttp-link:hover{color:var(--ttp-ink)!important}
.ttp-burger{display:none;margin-left:auto;width:44px;height:44px;border:0;background:transparent;cursor:pointer;padding:11px 10px}
.ttp-burger i{display:block;height:2px;margin:5px 0;background:var(--ttp-ink);border-radius:2px}
.ttp-drawer{display:none}

/* ---------- Footer ---------- */
.ttp-foot{margin-top:72px;background:var(--ttp-ink);color:#b8c0dc;font-size:14px;padding:44px 0 36px}
.ttp-foot-top{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;padding-bottom:24px;border-bottom:1px solid #2c3866}
.ttp-foot-top nav{display:flex;gap:22px;flex-wrap:wrap}
.ttp-foot-top nav a{color:#dfe4f5!important;text-decoration:none!important}
.ttp-foot-top nav a b{color:#fff;font-weight:600}
.ttp-foot-body{display:flex;justify-content:space-between;gap:32px;padding:24px 0 6px;flex-wrap:wrap}
.ttp-foot-biz{display:flex;flex-wrap:wrap;gap:6px 22px;margin:0;max-width:760px}
.ttp-foot-biz div{display:flex;gap:8px}
.ttp-foot-biz dt{color:#8792bb}.ttp-foot-biz dd{margin:0;color:#dfe4f5}
.ttp-foot-cs{display:flex;flex-direction:column;gap:2px;text-align:right}
.ttp-foot-cs span{color:#8792bb}.ttp-foot-cs strong{font-size:22px;color:#fff;font-weight:700}.ttp-foot-cs small{color:#8792bb}
.ttp-foot-note{margin:18px 0 6px;font-size:13px;color:#8792bb}
.ttp-foot-copy{margin:0;font-size:13px;color:#6f7aa5}

/* ---------- 로또 공 (모든 페이지 공통 색) ---------- */
.dc-v3-ball,.rd-ball,.my-ball,.an-ball{border-radius:50%!important;color:#fff!important;font-weight:700!important;text-shadow:0 1px 1px rgba(0,0,0,.25)!important;box-shadow:inset -3px -4px 0 rgba(0,0,0,.12)!important;background-image:none!important;border:0!important}
.dc-v3-ball.y,.rd-ball.y,.my-ball.y,.an-ball.y{background:var(--ball-y)!important}
.dc-v3-ball.b,.rd-ball.b,.my-ball.b,.an-ball.b{background:var(--ball-b)!important}
.dc-v3-ball.r,.rd-ball.r,.my-ball.r,.an-ball.r{background:var(--ball-r)!important}
.dc-v3-ball.gr,.rd-ball.gr,.my-ball.gr,.an-ball.gr{background:var(--ball-g)!important}
.dc-v3-ball.g,.rd-ball.g,.my-ball.g,.an-ball.g{background:var(--ball-k)!important}

/* =========================================================
   메인
   ========================================================= */
.ttp-home main{display:block}
.ttp-hero{background:#fff;border-bottom:1px solid var(--ttp-line)}
.ttp-hero-in{display:grid;grid-template-columns:1fr 520px;gap:56px;align-items:center;padding-top:64px;padding-bottom:64px}
.ttp-hero h1{margin:0 0 20px;font-family:var(--ttp-display);font-weight:800;font-size:clamp(36px,4.4vw,54px);line-height:1.25;letter-spacing:-1.6px;color:var(--ttp-ink);word-break:keep-all}
.ttp-hero-copy p{margin:0 0 32px;max-width:30em;font-size:17px;line-height:1.75;color:var(--ttp-muted);word-break:keep-all}
.ttp-hero-cta{display:flex;gap:12px;flex-wrap:wrap}

.ttp-draw-card{background:var(--ttp-ink);color:#fff;border-radius:28px;padding:32px 32px 26px;position:relative;overflow:hidden}
.ttp-draw-card:before{content:"";position:absolute;right:-60px;top:-60px;width:200px;height:200px;border-radius:50%;background:var(--ttp-cobalt);opacity:.55}
.ttp-draw-head{position:relative;display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:26px}
.ttp-draw-head strong{font-size:22px;font-weight:700}
.ttp-draw-head span{font-size:14px;color:#aab3d6}
.ttp-balls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;position:relative}
.ttp-balls .dc-v3-ball{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;font-size:18px}
.ttp-balls-xl .dc-v3-ball{width:54px;height:54px;font-size:21px}
.ttp-balls .dc-v3-plus{color:#7d88b5;font-size:22px;font-weight:600;margin:0 2px}
.ttp-balls .lm-no-result{display:block;width:100%;padding:18px 0;color:#aab3d6;font-size:15px}
.ttp-draw-next{position:relative;display:grid;grid-template-columns:1fr auto;gap:2px 12px;margin-top:28px;padding:16px 18px;background:rgba(255,255,255,.07);border-radius:16px}
.ttp-draw-next span{font-size:14px;color:#cfd5ee}
.ttp-draw-next b{grid-row:span 2;align-self:center;font-family:var(--ttp-display);font-weight:900;font-size:34px;color:var(--ttp-sun)}
.ttp-draw-next small{font-size:13px;color:#8d97c2}
.ttp-draw-more{position:relative;display:inline-block;margin-top:18px;font-size:14px;color:#dfe4f5!important;text-decoration:underline!important;text-underline-offset:4px}

.ttp-quick{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:-1px;padding-top:32px!important}
.ttp-quick-item{display:flex;flex-direction:column;gap:6px;padding:20px 20px 22px;background:#fff;border:1px solid var(--ttp-line);border-radius:18px;text-decoration:none!important;border-top:5px solid var(--q)}
.ttp-quick-item b{font-size:18px;font-weight:800;color:var(--ttp-ink)}
.ttp-quick-item span{font-size:14px;color:var(--ttp-muted);word-break:keep-all}
.ttp-quick-item:hover{border-color:var(--q);border-top-width:5px}
.q-y{--q:var(--ball-y)}.q-b{--q:var(--ball-b)}.q-r{--q:var(--ball-r)}.q-g{--q:var(--ball-g)}.q-k{--q:var(--ttp-cobalt)}

.ttp-board-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:20px;margin-top:20px}
.ttp-box{background:#fff;border:1px solid var(--ttp-line);border-radius:22px;padding:26px 28px}
.ttp-box-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.ttp-box-head h2{margin:0;font-size:20px;font-weight:800;letter-spacing:-.5px;color:var(--ttp-ink)}
.ttp-box-head a{font-size:14px;color:var(--ttp-cobalt)!important;text-decoration:none!important;font-weight:500}
.ttp-box-head a:hover{text-decoration:underline!important}
.ttp-empty{margin:0;padding:28px 0;color:var(--ttp-muted);font-size:15px;text-align:center}
.ttp-chart{display:block;width:100%;height:170px}
.ttp-chart-grid path{stroke:var(--ttp-line);stroke-width:1}
.ttp-chart-x{display:flex;justify-content:space-between;margin-top:6px;font-size:12px;color:var(--ttp-muted)}
.ttp-hot{margin-top:22px;padding-top:20px;border-top:1px dashed var(--ttp-line)}
.ttp-hot h3{margin:0 0 14px;font-size:15px;font-weight:600;color:var(--ttp-text)}
.ttp-hot ol{display:flex;gap:16px;flex-wrap:wrap;margin:0;padding:0;list-style:none}
.ttp-hot li{display:flex;flex-direction:column;align-items:center;gap:6px}
.ttp-hot .dc-v3-ball{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;font-size:16px}
.ttp-hot small{font-size:13px;color:var(--ttp-muted)}
.ttp-notice ul{margin:0;padding:0;list-style:none}
.ttp-notice li a{display:flex;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid var(--ttp-line);text-decoration:none!important}
.ttp-notice li:last-child a{border-bottom:0}
.ttp-notice li b{font-weight:500;color:var(--ttp-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ttp-notice li a:hover b{color:var(--ttp-cobalt)}
.ttp-notice time{flex:0 0 auto;font-size:13px;color:var(--ttp-muted)}

.ttp-proof{margin-top:20px!important}
.ttp-proof{background:transparent}
.ttp-proof-row{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.ttp-proof-row .ttp-empty{grid-column:1/-1;background:#fff;border:1px dashed var(--ttp-line);border-radius:22px}
.ttp-proof-item{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid var(--ttp-line);border-radius:22px;padding:12px 12px 18px;text-decoration:none!important}
.ttp-proof-item img,.ttp-proof-blank{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px;background:var(--ttp-paper)}
.ttp-proof-blank{display:flex;align-items:center;justify-content:center;color:var(--ttp-muted);font-size:14px}
.ttp-proof-item b{margin:8px 6px 0;font-weight:600;color:var(--ttp-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ttp-proof-item time{margin:0 6px;font-size:13px;color:var(--ttp-muted)}

.ttp-join{margin-top:56px;background:var(--ttp-cobalt);color:#fff}
.ttp-join-in{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:44px;padding-bottom:44px;flex-wrap:wrap}
.ttp-join h2{margin:0 0 8px;font-family:var(--ttp-display);font-weight:800;font-size:30px;letter-spacing:-1px}
.ttp-join p{margin:0;color:#d9e0ff;font-size:16px;word-break:keep-all}
.ttp-home .ttp-foot{margin-top:0}

/* =========================================================
   서브 페이지 공통 보정 (기존 스킨 위에 TTP 색으로 덮어쓰기)
   ========================================================= */
body:not(.ttp-home) h1,body:not(.ttp-home) h2,body:not(.ttp-home) h3{color:var(--ttp-ink)}
.rd-page,.an-page,.product-page,.pd-page,.my-page,.auth-page,.dc-wrap,.dc-container{background:transparent!important}

/* ---------- 반응형 ---------- */
@media (max-width:1080px){
  .ttp-hero-in{grid-template-columns:1fr;gap:36px}
  .ttp-quick{grid-template-columns:repeat(3,1fr)}
  .ttp-board-grid{grid-template-columns:1fr}
}
@media (max-width:860px){
  .ttp-menu,.ttp-account{display:none}
  .ttp-burger{display:block}
  .ttp-gnb-in{height:62px}
  .ttp-nav-open .ttp-drawer{display:flex;flex-direction:column;padding:8px 24px 20px;border-top:1px solid var(--ttp-line);background:#fff}
  .ttp-drawer a{padding:14px 2px;font-size:17px;font-weight:600;color:var(--ttp-ink)!important;text-decoration:none!important;border-bottom:1px solid var(--ttp-line)}
  .ttp-drawer a.on{color:var(--ttp-cobalt)!important}
  .ttp-drawer-cta{margin-top:14px;border:0!important;text-align:center;background:var(--ttp-cobalt);color:#fff!important;border-radius:999px}
}
@media (max-width:640px){
  .ttp-wrap{padding:0 18px}
  .ttp-hero-in{padding-top:36px;padding-bottom:36px}
  .ttp-hero-copy p{font-size:16px}
  .ttp-draw-card{padding:24px 20px 20px;border-radius:22px}
  .ttp-balls-xl .dc-v3-ball{width:34px;height:34px;font-size:14px}
  .ttp-balls{gap:4px;flex-wrap:nowrap}
  .ttp-balls .dc-v3-plus{font-size:16px;margin:0}
  .ttp-draw-head{flex-direction:column;gap:4px}
  .ttp-chart-x{font-size:10px;white-space:nowrap}
  .ttp-hot ol{gap:8px}
  .ttp-hot .dc-v3-ball{width:36px;height:36px;font-size:14px}
  .ttp-quick{grid-template-columns:1fr 1fr;gap:10px}
  .ttp-quick-item{padding:16px}
  .ttp-box{padding:22px 18px;border-radius:18px}
  .ttp-proof-row{grid-template-columns:1fr}
  .ttp-join h2{font-size:26px}
  .ttp-foot-cs{text-align:left}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* ---------- 서브 페이지 상단 타이틀 (공통) ---------- */
.rd-hero,.an-hero,.pd-hero,.my-hero,.dc-page-hero{position:relative!important;overflow:hidden!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:52px max(24px,calc((100% - 1152px)/2)) 50px!important;background:var(--ttp-ink)!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.rd-hero:before,.an-hero:before,.pd-hero:before,.my-hero:before:before,.dc-page-hero:before{content:""!important;display:block!important;position:absolute!important;right:max(24px,calc((100% - 1152px)/2));top:50%;width:250px;height:56px;margin-top:-28px;background:radial-gradient(circle 24px at 28px 28px,var(--ball-y) 96%,transparent) 0 0/50px 56px,radial-gradient(circle 24px at 28px 28px,var(--ball-b) 96%,transparent) 50px 0/50px 56px,radial-gradient(circle 24px at 28px 28px,var(--ball-r) 96%,transparent) 100px 0/50px 56px,radial-gradient(circle 24px at 28px 28px,var(--ball-k) 96%,transparent) 150px 0/50px 56px,radial-gradient(circle 24px at 28px 28px,var(--ball-g) 96%,transparent) 200px 0/50px 56px;background-repeat:no-repeat!important;opacity:.95;left:auto;bottom:auto;transform:none!important;filter:none!important;border:0!important;box-shadow:none!important}
.rd-hero:after,.an-hero:after,.pd-hero:after,.my-hero:after:after,.dc-page-hero:after{display:none!important}
.rd-hero>*,.an-hero>*,.pd-hero>*,.my-hero>*>*,.dc-page-hero>*{position:relative;z-index:1;max-width:760px!important;margin:0!important;padding:0!important}
.rd-hero [class*="visual"],.an-hero [class*="visual"],.pd-hero [class*="visual"],.my-hero [class*="visual"] [class*="visual"],.rd-hero img,.an-hero img,.pd-hero img{display:none!important}
.rd-hero .eyebrow,.an-hero .eyebrow,.pd-eyebrow,.my-eyebrow,.dc-eyebrow,.product-plan-heading>span{display:none!important}
.rd-hero h1,.an-hero h1,.pd-hero h1,.my-hero h1 h1,.dc-page-hero h1{margin:0 0 10px!important;font-family:var(--ttp-display)!important;font-weight:800!important;font-size:clamp(30px,3.2vw,40px)!important;line-height:1.25!important;letter-spacing:-1.2px!important;color:#fff!important;background:none!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important}
.rd-hero h1 b,.an-hero h1 b,.pd-hero h1 b,.my-hero h1 b h1 b,.dc-page-hero h1 strong,.product-plan-heading h1 b{font-weight:inherit!important;color:inherit!important;-webkit-text-fill-color:inherit!important;background:none!important}
.rd-hero p,.an-hero p,.pd-hero p,.my-hero p p,.dc-page-hero p{margin:0!important;font-size:16px!important;line-height:1.7!important;color:#c3cae6!important}
.product-plan-heading h1{font-family:var(--ttp-display)!important;font-weight:800!important;letter-spacing:-1.2px!important;color:var(--ttp-ink)!important}
.ttp-foot p{color:#8792bb!important}.ttp-foot .ttp-foot-copy{color:#6f7aa5!important}
@media (max-width:860px){.rd-hero:before,.an-hero:before,.pd-hero:before,.my-hero:before:before,.dc-page-hero:before{display:none!important}.rd-hero,.an-hero,.pd-hero,.my-hero,.dc-page-hero{padding:34px 18px 32px!important}}
.product-plan-heading h1 b,.product-plan-heading h1 em{color:var(--ttp-ink)!important;-webkit-text-fill-color:var(--ttp-ink)!important}
/* 이용안내: 추천 등급 카드 */
.product-plan-card.featured{background:var(--ttp-ink)!important;border-color:var(--ttp-ink)!important}
.product-plan-card.featured,.product-plan-card.featured *{color:#fff!important}
.product-plan-card.featured p,.product-plan-card.featured li{color:#c3cae6!important}
.product-plan-card.featured a{background:var(--ttp-sun)!important;color:var(--ttp-ink)!important;border-color:var(--ttp-sun)!important}
.product-plan-card.featured a *{color:var(--ttp-ink)!important}
.product-membership-page .product-plan-card.featured,.product-plan-card.featured{background:var(--ttp-ink)!important;background-image:none!important}
.pd-hero:before{display:none!important}
.auth-sub-btn{background:var(--ttp-ink)!important;color:#fff!important;border-color:var(--ttp-ink)!important}
.auth-submit,.auth-btn,button[type=submit].auth-submit{background:var(--ttp-cobalt)!important;background-image:none!important}
@media (max-width:860px){
  .rd-hero>*,.an-hero>*,.pd-hero>*,.my-hero>*,.auth-hero>*,.dc-page-hero>*{max-width:100%!important;box-sizing:border-box!important}
  .rd-page table,.an-page table,.rd-latest table,main table{display:block!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
  .rd-page table th,.rd-page table td,main table th,main table td{white-space:nowrap!important}
}

/* 글꼴 무게 보정 */
body:not(.ttp-home) h1,body:not(.ttp-home) h2{font-weight:800!important;letter-spacing:-.03em}
body:not(.ttp-home) h3,body:not(.ttp-home) h4{font-weight:700!important}
:where(body:not(.ttp-home)) :where(p,li,td,label,small){font-weight:500}
body:not(.ttp-home) th{font-weight:700!important}

/* =========================================================
   UI v2 (2026-11-30) : 서브 페이지 구조 재구성
   - 큰 남색 상단 띠 대신 흰 머리글 + 경로 + 묶음 탭
   - 표는 남색 머리줄, 카드 대신 납작한 패널
   ========================================================= */
.ttp-subhead{background:#fff;border-bottom:1px solid var(--ttp-line)}
.ttp-subhead-in{padding-top:22px!important;padding-bottom:26px!important}
.ttp-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;color:var(--ttp-muted)}
.ttp-crumb a{color:var(--ttp-muted)!important;text-decoration:none!important}
.ttp-crumb a:hover{color:var(--ttp-cobalt)!important}
.ttp-crumb span:before{content:"";display:inline-block;width:5px;height:5px;margin:0 8px 2px 2px;border-right:1.5px solid #9aa3bd;border-bottom:1.5px solid #9aa3bd;transform:rotate(-45deg)}
.ttp-crumb span[aria-current]{color:var(--ttp-ink);font-weight:700}
.ttp-subhead-body{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-top:16px}
.ttp-subhead-text h1{margin:0!important;font-size:34px!important;font-weight:800!important;letter-spacing:-1.2px!important;line-height:1.25!important;color:var(--ttp-ink)!important}
.ttp-subhead-text p{margin:8px 0 0!important;max-width:42em;font-size:16px!important;line-height:1.65!important;color:var(--ttp-muted)!important;word-break:keep-all}
.ttp-subhead .an-period,.ttp-subhead .pd-grade-badge{flex:0 0 auto;display:flex!important;align-items:baseline;gap:8px;margin:0!important;padding:12px 18px!important;width:auto!important;height:auto!important;border:1.5px solid var(--ttp-line)!important;border-radius:14px!important;background:var(--ttp-paper)!important;box-shadow:none!important;position:static!important;transform:none!important}
.ttp-subhead .an-period strong,.ttp-subhead .pd-grade-badge strong{font-size:22px!important;font-weight:800!important;color:var(--ttp-cobalt)!important;line-height:1!important}
.ttp-subhead .an-period span,.ttp-subhead .pd-grade-badge span{font-size:13px!important;color:var(--ttp-muted)!important;font-weight:600!important}
.ttp-subtabs{border-top:1px solid var(--ttp-line);background:#fff}
.ttp-subtabs-in{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ttp-subtabs-in::-webkit-scrollbar{display:none}
.ttp-subtabs a{position:relative;flex:0 0 auto;display:flex;align-items:center;height:54px;padding:0 16px;font-size:15px;font-weight:600;color:var(--ttp-muted)!important;text-decoration:none!important;white-space:nowrap}
.ttp-subtabs a:hover{color:var(--ttp-ink)!important}
.ttp-subtabs a.on{color:var(--ttp-cobalt)!important;font-weight:800}
.ttp-subtabs a.on:after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--ttp-cobalt)}

/* 공통 본문 폭과 패널 */
.rd-page,.my-page,.pd-page,.product-page,.dc-product-ref-page{background:var(--ttp-paper)!important}
.rd-latest,.rd-content,.an-summary,.an-grid,.my-content,.pd-content,.product-plan-inner,.dc-layout,.lm-board-card,#subContainer{box-sizing:border-box!important;width:auto!important;max-width:1200px!important;margin-left:auto!important;margin-right:auto!important;padding-left:24px!important;padding-right:24px!important}
.ttp-page{padding-top:32px;padding-bottom:16px}
.ttp-panel{background:#fff;border:1px solid var(--ttp-line);border-radius:16px;padding:28px}
.ttp-panel-head h2{margin:0 0 8px;font-size:22px;font-weight:800;color:var(--ttp-ink);letter-spacing:-.5px}
.ttp-panel-head p{margin:0 0 20px;color:var(--ttp-muted);line-height:1.7;word-break:keep-all}
.ttp-note{margin:18px 0 0;padding:14px 16px;border-radius:12px;background:var(--ttp-paper);color:var(--ttp-text);font-size:14px;line-height:1.6}
.ttp-seg{display:inline-flex;gap:4px;padding:4px;margin-bottom:18px;border-radius:12px;background:var(--ttp-paper);border:1px solid var(--ttp-line)}
.ttp-seg button{height:40px;padding:0 20px;border:0;border-radius:9px;background:transparent;font:inherit;font-weight:700;color:var(--ttp-muted);cursor:pointer}
.ttp-seg button[aria-selected=true]{background:var(--ttp-ink);color:#fff}
.ttp-seg-panel img{display:block;max-width:100%;height:auto;margin:0 auto;border-radius:12px}

/* ---------- 번호정보: 최신 회차 ---------- */
.rd-latest{display:grid!important;grid-template-columns:auto 1fr auto;align-items:center;gap:28px 40px;margin-top:28px!important;margin-bottom:0!important;padding-top:30px!important;padding-bottom:30px!important;background:var(--ttp-ink)!important;border:0!important;border-radius:20px!important;box-shadow:none!important;color:#fff;max-width:1152px!important;padding-left:36px!important;padding-right:36px!important}
.rd-latest *{color:inherit}
.rd-latest-left h2{margin:0 0 6px!important;font-size:15px!important;font-weight:700!important;color:#aab3d6!important}
.rd-latest .rd-round{font-size:20px!important;font-weight:700!important;color:#fff!important;line-height:1.2!important}
.rd-latest .rd-round strong{font-size:44px!important;font-weight:900!important;letter-spacing:-1.5px;color:#fff!important}
.rd-latest .rd-date{margin-top:6px!important;font-size:14px!important;color:#aab3d6!important}
.rd-latest-balls{display:flex!important;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px!important}
.rd-latest-balls .rd-ball,.rd-latest-balls .dc-v3-ball{width:52px!important;height:52px!important;font-size:20px!important;line-height:52px!important}
.rd-latest-balls .plus,.rd-latest-balls span:not([class*=ball]){color:#7d88b5!important;font-size:22px!important}
.rd-latest-prize{display:grid!important;gap:10px!important;margin:0!important;padding:0 0 0 32px!important;border-left:1px solid rgba(255,255,255,.14)!important;background:none!important}
.rd-latest-prize *{margin:0!important;color:#fff!important}
.rd-latest-prize dt,.rd-latest-prize span,.rd-latest-prize small,.rd-latest-prize p{font-size:13px!important;color:#aab3d6!important;font-weight:600!important}
.rd-latest-prize dd,.rd-latest-prize strong,.rd-latest-prize b{font-size:18px!important;font-weight:800!important}

/* 본문: 통계 카드를 표 위 가로 띠로 */
.rd-content{display:flex!important;flex-direction:column;gap:20px!important;margin-top:20px!important}
.rd-side{order:-1;width:auto!important;max-width:none!important;position:static!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
.rd-side-card{display:grid!important;grid-template-columns:repeat(3,1fr);gap:16px!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
.rd-side-card>h3{display:none!important}
.rd-stat-box{margin:0!important;padding:20px 22px!important;background:#fff!important;border:1px solid var(--ttp-line)!important;border-radius:16px!important;box-shadow:none!important}
.rd-stat-box:nth-child(2){border-top:4px solid var(--ball-y)!important}
.rd-stat-box:nth-child(3){border-top:4px solid var(--ball-b)!important}
.rd-stat-box:nth-child(4){border-top:4px solid var(--ball-r)!important}
.rd-stat-box strong{font-size:16px!important;font-weight:800!important;color:var(--ttp-ink)!important}
.rd-stat-box p{margin:4px 0 12px!important;font-size:13px!important;color:var(--ttp-muted)!important}
.rd-mini-link{display:inline-flex!important;align-items:center;height:36px;padding:0 14px!important;border-radius:999px!important;background:var(--ttp-paper)!important;border:1px solid var(--ttp-line)!important;color:var(--ttp-ink)!important;font-size:14px!important;font-weight:700!important;text-decoration:none!important;width:auto!important}
.rd-list{width:auto!important;margin:0!important;padding:26px 28px!important;background:#fff!important;border:1px solid var(--ttp-line)!important;border-radius:16px!important;box-shadow:none!important}
.rd-section-title{display:flex!important;justify-content:space-between;align-items:center;margin:0 0 16px!important}
.rd-section-title h2,.rd-section-title h3{margin:0!important;font-size:20px!important;font-weight:800!important;color:var(--ttp-ink)!important}
.rd-section-title a{font-size:14px!important;font-weight:700!important;color:var(--ttp-cobalt)!important;text-decoration:none!important}

/* 표: 남색 머리줄 */
.rd-table,.my-table,table.ttp-table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;border:0!important}
.rd-table thead th,.my-table thead th,.rd-table tr:first-child th{background:var(--ttp-ink)!important;color:#fff!important;font-size:13px!important;font-weight:700!important;padding:13px 12px!important;border:0!important;text-align:left}
.rd-table thead th:first-child,.my-table thead th:first-child{border-radius:10px 0 0 10px}
.rd-table thead th:last-child,.my-table thead th:last-child{border-radius:0 10px 10px 0}
.rd-table td,.my-table td{padding:14px 12px!important;border:0!important;border-bottom:1px solid var(--ttp-line)!important;font-size:15px!important;color:var(--ttp-text)!important;background:transparent!important}
.rd-table tbody tr:hover td,.my-table tbody tr:hover td{background:#f7f9fe!important}
.rd-table td:first-child{font-weight:800!important;color:var(--ttp-ink)!important}

/* ---------- 번호 출현 통계 / 미출현 ---------- */
.an-summary{display:grid!important;grid-template-columns:repeat(3,1fr);gap:16px!important;margin-top:28px!important}
.an-card{margin:0!important;padding:22px!important;background:#fff!important;border:1px solid var(--ttp-line)!important;border-radius:16px!important;box-shadow:none!important;border-left:5px solid var(--ttp-cobalt)!important}
.an-card:nth-child(2){border-left-color:var(--ball-r)!important}
.an-card:nth-child(3){border-left-color:var(--ball-y)!important}
.an-card h2,.an-panel h2{margin:0 0 6px!important;font-size:18px!important;font-weight:800!important;color:var(--ttp-ink)!important}
.an-card p{color:var(--ttp-muted)!important;font-size:13px!important}
.an-grid{display:grid!important;grid-template-columns:repeat(2,1fr);gap:16px!important;margin-top:16px!important}
.an-panel{margin:0!important;padding:24px 26px!important;background:#fff!important;border:1px solid var(--ttp-line)!important;border-radius:16px!important;box-shadow:none!important}
.an-grid>.an-panel:last-child:nth-child(odd){grid-column:1/-1}
.an-panel h2{padding-bottom:14px!important;margin-bottom:16px!important;border-bottom:1px solid var(--ttp-line)!important}
.an-bar{background:linear-gradient(180deg,var(--ttp-cobalt),#6f8bff)!important;border-radius:8px 8px 3px 3px!important;box-shadow:none!important}
.an-ratio-track{background:var(--ttp-paper)!important;border-radius:999px!important;height:10px!important}
.an-ratio-fill{background:var(--ttp-cobalt)!important;border-radius:999px!important}

/* ---------- 이용안내: 요금표를 세로 비교표로 ---------- */
html body .product-extra{padding-top:28px!important;background:var(--ttp-paper)!important}
html body .product-membership-page .product-plan-inner{padding-top:0!important}
html body .product-membership-page .product-plan-grid{display:flex!important;flex-direction:column;gap:14px!important}
html body .product-membership-page .product-plan-card{display:grid!important;grid-template-columns:190px 1fr 230px;grid-template-rows:auto auto;column-gap:32px;row-gap:6px;align-items:center;margin:0!important;padding:26px 30px!important;min-height:0!important;background:#fff!important;border:1px solid var(--ttp-line)!important;border-radius:16px!important;box-shadow:none!important;transform:none!important}
html body .product-membership-page .product-plan-card .product-plan-number{grid-column:1;grid-row:1;font-size:13px!important;font-weight:800!important;color:var(--ttp-cobalt)!important;background:none!important;width:auto!important;height:auto!important;padding:0!important;margin:0!important}
html body .product-membership-page .product-plan-card h2{grid-column:1;grid-row:2;margin:0!important;font-size:24px!important;font-weight:900!important;color:var(--ttp-ink)!important;letter-spacing:-.5px}
html body .product-membership-page .product-plan-card>p{grid-column:2;grid-row:1;margin:0!important;min-height:0!important;font-size:15px!important;color:var(--ttp-text)!important}
html body .product-membership-page .product-plan-card ul{grid-column:2;grid-row:2;display:flex!important;flex-wrap:wrap;gap:6px 18px;margin:4px 0 0!important;padding:0!important;list-style:none}
html body .product-membership-page .product-plan-card li{font-size:14px!important;color:var(--ttp-muted)!important;padding:0!important;margin:0!important;background:none!important}
html body .product-membership-page .product-plan-card li:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--ttp-cobalt);margin:0 8px 2px 0}
html body .product-membership-page .product-plan-card>a,html body .product-membership-page .product-plan-card .product-plan-btn{grid-column:3;grid-row:1/3;justify-self:stretch;display:flex!important;align-items:center;justify-content:center!important;gap:6px;height:50px!important;margin:0!important;padding:0 18px!important;border-radius:999px!important;background:var(--ttp-cobalt)!important;color:#fff!important;font-size:15px!important;font-weight:800!important;text-decoration:none!important;border:0!important;box-shadow:none!important}
html body .product-membership-page .product-plan-card>a *,html body .product-membership-page .product-plan-card .product-plan-btn *{color:#fff!important}
html body .product-membership-page .product-plan-card.featured li,html body .product-membership-page .product-plan-card.featured li{color:#c3cae6!important}
html body .product-membership-page .product-plan-card.featured .product-plan-number{color:var(--ttp-sun)!important}
html body .product-membership-page .product-plan-card.featured h2,html body .product-membership-page .product-plan-card.featured>p{color:#fff!important}
html body .product-membership-page .product-plan-card.featured li:before{background:var(--ttp-sun)}

/* 등급별 혜택 (grade) */
html body .dc-product-ref-grid{display:flex!important;flex-direction:column;gap:14px!important;margin-top:28px!important}
html body .dc-product-ref-card{display:grid!important;grid-template-columns:120px 1fr;align-items:center;gap:24px;margin:0!important;padding:26px 30px!important;min-height:0!important;background:#fff!important;border:1px solid var(--ttp-line)!important;border-radius:16px!important;box-shadow:none!important}
html body .dc-product-ref-card:before,html body .dc-product-ref-card:after,html body .dc-product-visual{display:none!important}
html body .dc-product-num{display:flex!important;align-items:center;justify-content:center;width:88px!important;height:88px!important;border-radius:50%!important;background:var(--ttp-paper)!important;color:var(--ttp-cobalt)!important;font-size:26px!important;font-weight:900!important;position:static!important}
html body .dc-product-ref-card.royal .dc-product-num{background:#fff6d6!important;color:#a57b00!important}
html body .dc-product-ref-card.vip .dc-product-num{background:#e4f5fd!important;color:#1b7fae!important}
html body .dc-product-content{display:grid!important;grid-template-columns:1fr auto;column-gap:24px;align-items:center;padding:0!important}
html body .dc-product-content h2{grid-column:1;margin:0!important;font-size:24px!important;font-weight:900!important;color:var(--ttp-ink)!important}
html body .dc-product-content h3{grid-column:1;margin:2px 0 6px!important;font-size:14px!important;color:var(--ttp-muted)!important;font-weight:700!important}
html body .dc-product-content p{grid-column:1;margin:0 0 8px!important;color:var(--ttp-text)!important}
html body .dc-product-content p br{display:none}
html body .dc-product-content ul{grid-column:1;display:flex!important;flex-wrap:wrap;gap:6px 18px;margin:0!important;padding:0!important;list-style:none}
html body .dc-product-content li{font-size:14px!important;color:var(--ttp-muted)!important}
html body .dc-product-content li i{display:none}
html body .dc-product-content li:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--ttp-cobalt);margin:0 8px 2px 0}
html body .dc-product-btn{grid-column:2;grid-row:1/5;display:flex!important;align-items:center;height:50px!important;padding:0 24px!important;border-radius:999px!important;background:var(--ttp-cobalt)!important;color:#fff!important;font-weight:800!important;text-decoration:none!important;border:0!important;white-space:nowrap}
html body .dc-product-btn b{display:none}
html body .dc-product-ref-foot{display:none!important}

/* 멤버십 상세 (vip/royal/first) */
.pd-content{margin-top:28px!important}
.pd-overview,.pd-point-card,.pd-section,.pd-provide-force{background:#fff!important;border:1px solid var(--ttp-line)!important;border-radius:16px!important;box-shadow:none!important;background-image:none!important}
.pd-icon{background:var(--ttp-paper)!important;color:var(--ttp-cobalt)!important;border-radius:12px!important;box-shadow:none!important}
.pd-section h2,.pd-section h3,.pd-overview h2,.pd-provide-force h2{color:var(--ttp-ink)!important;font-weight:800!important}

/* ---------- 게시판 ---------- */
.lm-board-card{margin-top:28px!important;padding:26px 28px!important;background:#fff!important;border:1px solid var(--ttp-line)!important;border-radius:16px!important;box-shadow:none!important;max-width:1152px!important}
.lm-board-title{display:none!important}
.lm-board-list{border-top:2px solid var(--ttp-ink)!important;margin:0!important}
.lm-board-row{display:flex!important;align-items:center;gap:16px;padding:18px 6px!important;border-bottom:1px solid var(--ttp-line)!important;background:none!important;border-radius:0!important;text-decoration:none!important}
.lm-board-row:hover{background:#f7f9fe!important}
.lm-board-row *{color:var(--ttp-text)!important}
.lm-board-pagination{display:flex!important;justify-content:center;gap:6px;margin-top:22px!important}
.lm-board-pagination a{min-width:38px;height:38px;display:inline-flex!important;align-items:center;justify-content:center;border-radius:10px!important;border:1px solid var(--ttp-line)!important;background:#fff!important;color:var(--ttp-text)!important;font-weight:700;text-decoration:none!important}
.lm-board-pagination a.on{background:var(--ttp-ink)!important;border-color:var(--ttp-ink)!important;color:#fff!important}
.lm-board-empty{padding:48px 0!important;text-align:center;color:var(--ttp-muted)!important}

/* 상세/약관/FAQ 카드 */
.dc-layout .dc-card,.dc-layout>.dc-card{background:#fff!important;border:1px solid var(--ttp-line)!important;border-radius:16px!important;box-shadow:none!important;padding:28px!important}
.dc-page-hero{display:none!important}

/* ---------- 마이페이지: 왼쪽 프로필 + 오른쪽 현황 ---------- */
.my-content{margin-top:28px!important}
.my-grid{display:grid!important;grid-template-columns:340px 1fr;gap:20px!important;margin:0 0 20px!important}
.my-card{margin:0!important;padding:26px!important;background:#fff!important;border:1px solid var(--ttp-line)!important;border-radius:16px!important;box-shadow:none!important}
.my-card:first-child{background:var(--ttp-ink)!important;border-color:var(--ttp-ink)!important}
.my-card:first-child *{color:#fff!important}
.my-card:first-child dt,.my-card:first-child .my-info-table span{color:#aab3d6!important}
.my-avatar{background:var(--ttp-cobalt)!important;border:0!important}
.my-badge{background:var(--ttp-sun)!important;color:var(--ttp-ink)!important;border-radius:999px!important;font-weight:800!important}
.my-status-grid{display:grid!important;grid-template-columns:repeat(3,1fr);gap:12px}
.my-status-row{display:flex!important;flex-direction:column;gap:6px;padding:16px!important;border-radius:12px!important;background:var(--ttp-paper)!important;border:0!important}
.my-status-row span{font-size:13px!important;color:var(--ttp-muted)!important}
.my-status-row strong{font-size:18px!important;font-weight:800!important;color:var(--ttp-ink)!important}
.my-analysis{padding:26px 28px!important;background:#fff!important;border:1px solid var(--ttp-line)!important;border-radius:16px!important;box-shadow:none!important}
.my-analysis h2{font-size:20px!important;font-weight:800!important;color:var(--ttp-ink)!important}

/* ---------- 로그인·회원가입: 좌우 분할 ---------- */
.ttp-auth{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);max-width:1100px;margin:40px auto 0;border-radius:24px;overflow:hidden;border:1px solid var(--ttp-line);background:#fff}
.ttp-auth .auth-hero{display:flex!important;align-items:flex-end;margin:0!important;padding:48px 44px!important;min-height:520px;background:var(--ttp-ink)!important;background-image:none!important;border:0!important;border-radius:0!important;position:relative;overflow:hidden}
.ttp-auth .auth-hero:before{content:"";position:absolute;right:-70px;top:-70px;width:260px;height:260px;border-radius:50%;background:var(--ttp-cobalt);opacity:.6}
.ttp-auth .auth-hero:after{content:"";position:absolute;left:44px;top:48px;width:110px;height:34px;background:radial-gradient(circle 15px at 17px 17px,var(--ball-y) 96%,transparent) 0 0/36px 34px,radial-gradient(circle 15px at 17px 17px,var(--ball-b) 96%,transparent) 36px 0/36px 34px,radial-gradient(circle 15px at 17px 17px,var(--ball-r) 96%,transparent) 72px 0/36px 34px;background-repeat:no-repeat}
.ttp-auth .auth-hero-copy{position:relative;z-index:1;max-width:none!important;margin:0!important;padding:0!important;text-align:left!important}
.ttp-auth .auth-eyebrow{display:none!important}
.ttp-auth .auth-hero h1{margin:0 0 12px!important;font-size:34px!important;font-weight:800!important;color:#fff!important;letter-spacing:-1px!important}
.ttp-auth .auth-hero h1 b{color:#fff!important;font-weight:inherit!important}
.ttp-auth .auth-hero p{margin:0!important;color:#c3cae6!important;font-size:16px!important;line-height:1.7!important}
.ttp-auth-points{margin:26px 0 0;padding:22px 0 0;list-style:none;border-top:1px solid rgba(255,255,255,.15)}
.ttp-auth-points li{position:relative;padding-left:28px;margin:10px 0;color:#fff;font-weight:600;font-size:15px}
.ttp-auth-points li:before{content:"";position:absolute;left:0;top:4px;width:16px;height:16px;border-radius:50%;background:var(--ttp-sun)}
.ttp-auth-points li:after{content:"";position:absolute;left:5px;top:8px;width:6px;height:3px;border-left:2px solid var(--ttp-ink);border-bottom:2px solid var(--ttp-ink);transform:rotate(-45deg)}
.ttp-auth .auth-content{display:flex!important;align-items:center;justify-content:center;margin:0!important;padding:44px!important;background:#fff!important;min-height:0!important}
.ttp-auth .auth-box{width:100%!important;max-width:400px!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
.ttp-auth .auth-box h2{margin:0 0 24px!important;font-size:24px!important;font-weight:800!important;color:var(--ttp-ink)!important;text-align:left!important}
.auth-label{font-weight:700!important;color:var(--ttp-ink)!important;font-size:14px!important}
.auth-input,.ttp-auth input[type=text],.ttp-auth input[type=password],.ttp-auth input[type=tel],.ttp-auth select{box-sizing:border-box;height:52px!important;border:1.5px solid var(--ttp-line)!important;border-radius:12px!important;background:#fff!important;font-size:16px!important;padding:0 16px!important;box-shadow:none!important}
.auth-input:focus,.ttp-auth input:focus{border-color:var(--ttp-cobalt)!important;outline:none!important;box-shadow:0 0 0 3px rgba(43,75,216,.15)!important}
.auth-btn{height:54px!important;border-radius:12px!important;background:var(--ttp-cobalt)!important;color:#fff!important;font-size:17px!important;font-weight:800!important;border:0!important;box-shadow:none!important}
.auth-footer-link{text-align:left!important;margin-top:18px!important}
.auth-footer-link a{color:var(--ttp-cobalt)!important;font-weight:800!important}

/* ---------- 예전 구조 페이지(회원정보·결제·글쓰기 등) ---------- */
#subContainer{display:block!important;margin-top:28px!important;background:none!important}
#subContainer .sub_menu,#subContainer #sub_menu,#subContainer .lnb,#subContainer>.left,.sub_tit,#subContainer .location{display:none!important}
#subContainer .contents{float:none!important;width:auto!important;margin:0!important;padding:28px!important;background:#fff!important;border:1px solid var(--ttp-line)!important;border-radius:16px!important;box-sizing:border-box}

/* ---------- 반응형 ---------- */
@media (max-width:1080px){
  .rd-latest{grid-template-columns:1fr;text-align:left}
  .rd-latest-balls{justify-content:flex-start}
  .rd-latest-prize{grid-template-columns:repeat(3,1fr);padding:18px 0 0!important;border-left:0!important;border-top:1px solid rgba(255,255,255,.14)!important}
  html body .product-membership-page .product-plan-card{grid-template-columns:150px 1fr}
  html body .product-membership-page .product-plan-card>a{grid-column:1/3;grid-row:3;margin-top:10px!important}
  .my-grid{grid-template-columns:1fr}
}
@media (max-width:860px){
  .ttp-subhead-body{flex-direction:column;align-items:flex-start}
  .rd-side-card,.an-summary,.an-grid{grid-template-columns:1fr!important}
  .ttp-auth{grid-template-columns:1fr;margin:20px 18px 0;border-radius:20px}
  .ttp-auth .auth-hero{min-height:0;padding:96px 26px 30px!important}
  .ttp-auth .auth-hero:after{left:26px;top:34px}
  .ttp-auth .auth-content{padding:30px 22px!important}
  .ttp-auth-points{display:none}
  html body .dc-product-ref-card{grid-template-columns:1fr;gap:14px}
  html body .dc-product-content{grid-template-columns:1fr}
  html body .dc-product-btn{grid-column:1;grid-row:auto;margin-top:12px;justify-content:center}
  .my-status-grid{grid-template-columns:1fr}
}
@media (max-width:640px){
  .ttp-subhead-text h1{font-size:26px!important}
  .ttp-subhead-text p{font-size:15px!important}
  .ttp-subtabs a{height:48px;padding:0 12px;font-size:14px}
  .rd-latest,.rd-content,.an-summary,.an-grid,.my-content,.pd-content,.product-plan-inner,.dc-layout,.lm-board-card,#subContainer{padding-left:16px!important;padding-right:16px!important}
  .rd-latest{margin-left:16px!important;margin-right:16px!important;padding:24px 20px!important;border-radius:18px!important}
  .rd-latest .rd-round strong{font-size:34px!important}
  .rd-latest-balls{gap:5px!important;flex-wrap:nowrap}
  .rd-latest-balls .rd-ball,.rd-latest-balls .dc-v3-ball{width:34px!important;height:34px!important;font-size:14px!important;line-height:34px!important}
  .rd-latest-prize{grid-template-columns:1fr 1fr 1fr;gap:8px!important}
  .rd-latest-prize dd,.rd-latest-prize strong,.rd-latest-prize b{font-size:15px!important}
  .rd-list,.an-panel,.lm-board-card,.my-analysis,#subContainer .contents,.ttp-panel{padding:20px 16px!important;border-radius:14px!important}
  .lm-board-card{margin-left:16px!important;margin-right:16px!important}
  html body .product-membership-page .product-plan-card{grid-template-columns:1fr;padding:22px 20px!important;row-gap:8px}
  html body .product-membership-page .product-plan-card>*{grid-column:1!important;grid-row:auto!important}
  .ttp-seg{display:flex}
  .ttp-seg button{flex:1;padding:0 8px}
}

.product-extra,.product-plan-section{background:var(--ttp-paper)!important;background-image:none!important}
html body .product-membership-page .product-plan-card>a b{display:none!important}
.pd-provide-force-item{background:var(--ttp-paper)!important;border:1px solid var(--ttp-line)!important;border-radius:12px!important;box-shadow:none!important}
.pd-provide-force-item *{color:var(--ttp-text)!important}
.pd-provide-force-item strong,.pd-provide-force-item b{color:var(--ttp-ink)!important;font-weight:800!important}
.pd-point-card:nth-child(2){background:#fff!important}
.pd-content a[href*="product.html"]{display:inline-flex!important;align-items:center;height:46px;padding:0 22px!important;border-radius:999px!important;border:1.5px solid var(--ttp-ink)!important;background:#fff!important;color:var(--ttp-ink)!important;font-weight:800!important;text-decoration:none!important}
/* FAQ 펼침 목록 */
.ttp-faq{display:flex;flex-direction:column;gap:10px}
.ttp-faq-item{background:#fff;border:1px solid var(--ttp-line);border-radius:14px;overflow:hidden}
.ttp-faq-item summary{display:flex;align-items:center;gap:14px;padding:20px 22px;cursor:pointer;list-style:none;font-size:16px;font-weight:700;color:var(--ttp-ink)}
.ttp-faq-item summary::-webkit-details-marker{display:none}
.ttp-faq-item summary b{flex:0 0 30px;height:30px;border-radius:50%;background:var(--ttp-cobalt);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px}
.ttp-faq-item summary:after{content:"";margin-left:auto;width:8px;height:8px;border-right:2px solid var(--ttp-muted);border-bottom:2px solid var(--ttp-muted);transform:rotate(45deg);transition:transform .15s}
.ttp-faq-item[open] summary:after{transform:rotate(-135deg)}
.ttp-faq-item p{margin:0;padding:0 22px 22px 66px;color:var(--ttp-text);line-height:1.7}
/* 게시판 목록 */
.lm-board-page .lm-board-card{margin:0!important;max-width:none!important}
.ttp-board-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:14px;color:var(--ttp-muted)}
.ttp-board-top b{color:var(--ttp-cobalt)}
.lm-board-row{display:grid!important;grid-template-columns:80px 1fr 120px 70px;gap:12px}
.lm-board-row.lm-board-label{background:var(--ttp-ink)!important;border-radius:10px!important;border:0!important;padding:13px 6px!important}
.lm-board-row.lm-board-label span{color:#fff!important;font-size:13px!important;font-weight:700!important}
.lm-board-list{border-top:0!important}
.lm-board-row span,.lm-board-row time{text-align:center}
.lm-board-row .lm-board-subject,.lm-board-label span:nth-child(2){text-align:left!important}
.lm-board-subject{font-weight:600!important;color:var(--ttp-ink)!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lm-board-row time,.lm-board-views{font-size:14px!important;color:var(--ttp-muted)!important}
.lm-board-number em{font-style:normal;display:inline-block;padding:2px 8px;border-radius:6px;background:var(--ttp-sun);color:var(--ttp-ink)!important;font-size:12px;font-weight:800}
/* 요금표 세부 */
html body .product-membership-page .product-plan-card>p{border:0!important;padding:0!important}
html body .product-membership-page .product-plan-card li{background-image:none!important;padding-left:0!important}
html body .product-membership-page .product-plan-card li:before{position:static!important}
.product-membership-page,.product-extra{min-height:0!important;padding-bottom:20px!important}
.product-membership-page:after,.product-extra:after,.product-plan-section:after{display:none!important}
@media (max-width:640px){
  .lm-board-row{grid-template-columns:1fr auto!important;row-gap:4px}
  .lm-board-row.lm-board-label{display:none!important}
  .lm-board-number,.lm-board-views{display:none!important}
  .lm-board-row .lm-board-subject{grid-column:1/-1;white-space:normal}
  .lm-board-row time{text-align:left!important;font-size:13px!important}
  .ttp-faq-item p{padding-left:22px}
}
/* 예전 마이페이지 본문(회원정보 수정·결제내역·탈퇴) */
#subContainer .member_area,#subContainer .mypage_info{display:none!important}
#subContainer .mypage_wrap,#subContainer .member_con{float:none!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
#subContainer .mypage_tit{margin:0 0 6px!important;padding:0!important;font-size:22px!important;font-weight:800!important;color:var(--ttp-ink)!important;border:0!important;background:none!important}
#subContainer .myinfo_tit{margin:0 0 18px!important;font-size:13px!important;color:var(--ttp-muted)!important}
#subContainer .ess{color:var(--ball-r)!important}
#subContainer caption{display:none}
#subContainer .form_table{width:100%;border-collapse:collapse;border-top:2px solid var(--ttp-ink)!important}
#subContainer .form_table th,#subContainer .form_table td{padding:16px 14px!important;border:0!important;border-bottom:1px solid var(--ttp-line)!important;background:none!important;text-align:left;vertical-align:top}
#subContainer .form_table th{width:170px;font-size:15px!important;font-weight:700!important;color:var(--ttp-ink)!important;padding-top:28px!important}
#subContainer .form_table input[type=text],#subContainer .form_table input[type=password]{box-sizing:border-box;width:100%!important;max-width:380px;height:50px!important;border:1.5px solid var(--ttp-line)!important;border-radius:12px!important;padding:0 14px!important;font-size:16px!important;background:#fff!important}
#subContainer .form_table input:disabled{background:var(--ttp-paper)!important;color:var(--ttp-muted)!important}
#subContainer .form_table input:focus{outline:none;border-color:var(--ttp-cobalt)!important;box-shadow:0 0 0 3px rgba(43,75,216,.15)}
#subContainer .txt_s,#subContainer .txt_s2,#subContainer .txt_s2 li{display:block;margin-top:6px!important;font-size:13px!important;color:var(--ttp-muted)!important;list-style:none!important;padding:0!important}
#subContainer .txt_s2 ul{margin:0;padding:0}
#subContainer .btn_area{margin-top:24px!important;text-align:left!important}
#subContainer .btn_confirm_m{display:inline-flex!important;align-items:center;justify-content:center;min-width:160px;height:52px!important;padding:0 26px!important;border-radius:999px!important;background:var(--ttp-cobalt)!important;color:#fff!important;font-size:16px!important;font-weight:800!important;text-decoration:none!important;border:0!important;float:none!important}
#subContainer .grad_tb table{width:100%;border-collapse:separate;border-spacing:0}
#subContainer .grad_tb th{background:var(--ttp-ink)!important;color:#fff!important;font-size:13px!important;font-weight:700!important;padding:13px 10px!important;border:0!important}
#subContainer .grad_tb th:first-child{border-radius:10px 0 0 10px}#subContainer .grad_tb th:last-child{border-radius:0 10px 10px 0}
#subContainer .grad_tb td{padding:14px 10px!important;border:0!important;border-bottom:1px solid var(--ttp-line)!important;text-align:center;font-size:15px!important;color:var(--ttp-text)!important;background:none!important}
#subContainer .tb_scroll{overflow-x:auto}
#subContainer .pager ul{display:flex;justify-content:center;gap:6px;margin:20px 0 0;padding:0;list-style:none}
#subContainer .pager li,#subContainer .pager a{min-width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;border:1px solid var(--ttp-line);background:#fff;color:var(--ttp-text);font-weight:700;text-decoration:none;cursor:pointer}
#subContainer .pager li.on{background:var(--ttp-ink);color:#fff;border-color:var(--ttp-ink)}
#subContainer .pager img{width:10px;height:auto;opacity:.6}
#subContainer .member_delet ul{margin:0;padding:18px 20px 18px 38px;border-radius:12px;background:var(--ttp-paper)}
#subContainer .member_delet li{margin:6px 0;color:var(--ttp-text);line-height:1.6}
@media (max-width:640px){
  #subContainer .form_table,#subContainer .form_table tbody,#subContainer .form_table tr,#subContainer .form_table th,#subContainer .form_table td{display:block;width:auto!important}
  #subContainer .form_table th{padding:16px 0 6px!important;border-bottom:0!important}
  #subContainer .form_table td{padding:0 0 16px!important}
  #subContainer .grad_tb table{min-width:560px}
  #subContainer .btn_confirm_m{width:100%}
}
/* 모바일 보정 2 */
html body .lm-board-page .lm-board-card{margin:0!important;box-shadow:none!important;border:1px solid var(--ttp-line)!important}
@media (max-width:640px){
  /* 회차 표 → 회차별 카드 */
  .rd-list .rd-table,.rd-list .rd-table tbody{display:block!important;min-width:0!important;width:100%!important}
  .rd-list .rd-table thead{display:none!important}
  .rd-list .rd-table tr{display:grid!important;grid-template-columns:1fr auto;align-items:center;gap:8px 10px;padding:14px 2px;border-bottom:1px solid var(--ttp-line)}
  .rd-list .rd-table td{display:block!important;padding:0!important;border:0!important;font-size:14px!important}
  .rd-list .rd-table td:nth-child(1){grid-column:1;font-size:16px!important}
  .rd-list .rd-table td:nth-child(2){grid-column:2;color:var(--ttp-muted)!important;font-size:13px!important}
  .rd-list .rd-table td:nth-child(3){grid-column:1;grid-row:2}
  .rd-list .rd-table td:nth-child(4){grid-column:2;grid-row:2}
  .rd-list .rd-table td:nth-child(4):before{content:"+";margin-right:4px;color:var(--ttp-muted);font-weight:700}
  .rd-list .rd-table td:nth-child(4){display:flex!important;align-items:center}
  .rd-list .rd-table td:nth-child(5),.rd-list .rd-table td:nth-child(6){grid-row:3;font-size:13px!important;color:var(--ttp-muted)!important}
  .rd-list .rd-table td:nth-child(5):before{content:"1등 ";}
  .rd-list .rd-table td:nth-child(6){grid-column:2;text-align:right}
  .rd-list .rd-table td[colspan]{grid-column:1/-1}
  .rd-list .rd-mini-balls{display:flex;flex-wrap:nowrap;gap:4px}
  .rd-list .rd-mini-balls .rd-ball,.rd-list .rd-table .rd-ball{width:30px!important;height:30px!important;line-height:30px!important;font-size:12px!important;margin:0!important}
  .rd-list,.rd-list>div{overflow:visible!important}
  /* 로그인·가입 상단 */
  .ttp-auth .auth-hero{padding:80px 22px 26px!important}
  .ttp-auth .auth-hero:before{width:150px;height:150px;right:-50px;top:-50px}
  .ttp-auth .auth-hero h1{font-size:26px!important}
  .ttp-auth .auth-hero p{white-space:normal!important;font-size:15px!important;word-break:keep-all}
  .ttp-auth .auth-hero-copy{width:100%!important}
  /* 등급 번호 */
  .dc-product-num{width:52px!important;height:52px!important;font-size:18px!important}
}
.ttp-auth .auth-hero:before,.ttp-auth .auth-hero:after{position:absolute!important;margin:0!important;display:block!important}
.ttp-auth .auth-hero{flex-direction:column;justify-content:flex-end;align-items:stretch!important}
.ttp-auth .auth-hero-copy{flex:0 0 auto;width:auto!important;min-width:0!important}
@media (max-width:640px){ .rd-list .rd-table td{height:auto!important;line-height:1.3!important;min-height:0!important} .rd-list .rd-table tr{height:auto!important} }
.ttp-auth .auth-hero-copy{left:auto!important;right:auto!important;top:auto!important}

/* mypage payment table (mobile) */
#subContainer .tb_scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
#subContainer .grad_tb th{white-space:nowrap}
#subContainer .grad_tb td.ttp-empty{padding:36px 10px;color:var(--ttp-muted);text-align:center}
@media (max-width:640px){
  #subContainer .grad_tb table{min-width:560px}
  #subContainer .grad_tb th,#subContainer .grad_tb td{padding:12px 8px;font-size:14px}
}
@media (max-width:640px){#subContainer .grad_tb table:has(td.ttp-empty){min-width:0}}

/* =========================================================
   MY v3 — 마이페이지: 왼쪽 계정 패널 + 회차 타임라인
   ========================================================= */
.ttp-my{display:grid;grid-template-columns:272px minmax(0,1fr);gap:28px;align-items:start;box-sizing:border-box;max-width:1200px;margin:32px auto 72px;padding:0 24px}
.ttp-my-side{position:sticky;top:88px;display:flex;flex-direction:column;gap:14px}
.ttp-my-card{background:var(--ttp-ink);color:#fff;border-radius:18px;padding:22px}
.ttp-my-who{display:flex;align-items:center;gap:14px}
.ttp-my-mark{flex:none;width:48px;height:48px;border-radius:12px;background:var(--ttp-sun);color:var(--ttp-ink);display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:800}
.ttp-my-who strong{display:block;font-size:18px;font-weight:800;line-height:1.3;word-break:break-all}
.ttp-my-who em{display:block;font-style:normal;font-size:13px;color:#b9c2e0;margin-top:2px;word-break:break-all}
.ttp-my-grade{display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding:12px 14px;border-radius:10px;background:rgba(255,255,255,.08)}
.ttp-my-grade span{font-size:13px;color:#b9c2e0}
.ttp-my-grade b{font-size:15px;font-weight:800;color:var(--ttp-sun)}
.ttp-my-facts{margin:14px 0 0;padding:0}
.ttp-my-facts div{display:flex;justify-content:space-between;padding:7px 2px;font-size:13px;border-top:1px solid rgba(255,255,255,.1)}
.ttp-my-facts dt{color:#b9c2e0}
.ttp-my-facts dd{margin:0;font-weight:700}
.ttp-my-nav{display:flex;flex-direction:column;background:#fff;border:1px solid var(--ttp-line);border-radius:16px;overflow:hidden}
.ttp-my-nav a{position:relative;display:block;padding:14px 18px;font-size:15px;font-weight:600;color:var(--ttp-text);text-decoration:none;border-top:1px solid var(--ttp-line)}
.ttp-my-nav a:first-child{border-top:0}
.ttp-my-nav a:hover{background:var(--ttp-paper)}
.ttp-my-nav a.on{color:var(--ttp-cobalt);font-weight:800;background:var(--ttp-paper)}
.ttp-my-nav a.on:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;background:var(--ttp-cobalt)}
.ttp-my-nav a.ttp-my-out{color:var(--ttp-muted);font-weight:500;font-size:14px}
.ttp-my-help{padding:16px 18px;border:1px dashed #c6cde0;border-radius:14px;font-size:13px;color:var(--ttp-muted)}
.ttp-my-help b{display:block;color:var(--ttp-ink);font-size:14px}
.ttp-my-help p{margin:4px 0 8px}
.ttp-my-help a{color:var(--ttp-cobalt);font-weight:700;text-decoration:none}
.ttp-my-main{min-width:0}

.ttp-my-sum{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid var(--ttp-line);border-radius:16px;margin-bottom:28px}
.ttp-my-sum>div{padding:20px 22px;border-left:1px solid var(--ttp-line)}
.ttp-my-sum>div:first-child{border-left:0}
.ttp-my-sum span{display:block;font-size:13px;color:var(--ttp-muted)}
.ttp-my-sum b{display:block;margin-top:6px;font-size:28px;font-weight:800;color:var(--ttp-ink);letter-spacing:-.02em}
.ttp-my-sum small{font-size:14px;font-weight:600;color:var(--ttp-muted);margin-left:2px}

.ttp-my-feed-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:14px}
.ttp-my-feed-head h2{margin:0;font-size:20px;font-weight:800;color:var(--ttp-ink)}
.ttp-my-feed-head a{font-size:14px;font-weight:700;color:var(--ttp-cobalt);text-decoration:none}
.ttp-my-round{position:relative;margin-left:6px;padding:0 0 26px 26px;border-left:2px solid var(--ttp-line)}
.ttp-my-round:last-of-type{border-left-color:transparent}
.ttp-my-round>header{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:-3px 0 10px}
.ttp-my-round>header:before{content:"";position:absolute;left:-8px;top:0;width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid var(--ttp-cobalt);box-sizing:border-box}
.ttp-my-round>header strong{font-size:17px;font-weight:800;color:var(--ttp-ink)}
.ttp-my-round>header span{font-size:13px;color:var(--ttp-muted)}
.ttp-my-round>header em{margin-left:auto;font-style:normal;font-size:12px;font-weight:700;color:var(--ttp-cobalt);background:#e8edfd;border-radius:999px;padding:3px 10px}
.ttp-my-round ul{list-style:none;margin:0;padding:0;background:#fff;border:1px solid var(--ttp-line);border-radius:14px;overflow:hidden}
.ttp-my-round li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:12px 18px;border-top:1px solid var(--ttp-line)}
.ttp-my-round li:first-child{border-top:0}
.ttp-my-round li.win{background:#fff8db}
.ttp-my-round .my-balls{display:flex;gap:6px;flex-wrap:wrap}
.ttp-my-tag{font-size:12px;font-weight:700;color:var(--ttp-muted);background:var(--ttp-paper);border-radius:6px;padding:4px 8px;white-space:nowrap}
.ttp-my-round li.win .ttp-my-tag{background:var(--ttp-sun);color:var(--ttp-ink)}
.ttp-my-round time{font-size:12px;color:var(--ttp-muted);white-space:nowrap}
.ttp-my-empty{padding:44px 20px;text-align:center;background:#fff;border:1px dashed #c6cde0;border-radius:16px}
.ttp-my-empty b{display:block;font-size:17px;color:var(--ttp-ink)}
.ttp-my-empty p{margin:8px 0 18px;color:var(--ttp-muted);font-size:14px}
.ttp-btn-line{display:inline-block;padding:11px 20px;border:1.5px solid var(--ttp-cobalt);border-radius:10px;color:var(--ttp-cobalt);font-weight:800;font-size:14px;text-decoration:none}
.ttp-btn-solid{display:inline-block;height:50px;padding:0 28px;border:0;border-radius:12px;background:var(--ttp-cobalt);color:#fff;font:inherit;font-size:15px;font-weight:800;cursor:pointer}
.ttp-btn-solid:hover{background:#2140c2}
.ttp-btn-solid:focus-visible,.ttp-btn-line:focus-visible,.ttp-my-nav a:focus-visible{outline:3px solid #9fb2f5;outline-offset:2px}
.ttp-my-main .my-paging{margin-top:6px}

.ttp-my-box{background:#fff;border:1px solid var(--ttp-line);border-radius:16px;padding:26px;margin-bottom:18px}
.ttp-my-box>header{margin-bottom:20px}
.ttp-my-box>header h2{margin:0;font-size:19px;font-weight:800;color:var(--ttp-ink)}
.ttp-my-box>header p{margin:6px 0 0;font-size:14px;color:var(--ttp-muted)}
.ttp-my-box .ess{color:#e04848;font-style:normal}
.ttp-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 22px}
.ttp-field{display:flex;flex-direction:column;gap:7px}
.ttp-field>span{font-size:14px;font-weight:700;color:var(--ttp-text)}
.ttp-field input{box-sizing:border-box;width:100%;height:48px;padding:0 14px;border:1px solid #cdd4e4;border-radius:10px;font:inherit;font-size:15px;color:var(--ttp-text);background:#fff}
.ttp-field input:focus{outline:0;border-color:var(--ttp-cobalt);box-shadow:0 0 0 3px rgba(43,75,216,.15)}
.ttp-field input:disabled{background:var(--ttp-paper);color:var(--ttp-muted)}
.ttp-field small{font-size:12.5px;color:var(--ttp-muted)}
.ttp-my-actions{display:flex;justify-content:flex-end}
.ttp-my-checks{list-style:none;margin:0;padding:0}
.ttp-my-checks li{position:relative;padding:14px 0 14px 38px;border-top:1px solid var(--ttp-line)}
.ttp-my-checks li:first-child{border-top:0;padding-top:4px}
.ttp-my-checks li:before{content:"!";position:absolute;left:0;top:14px;width:24px;height:24px;border-radius:50%;background:#fde8e8;color:#d33b3b;font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center}
.ttp-my-checks li:first-child:before{top:4px}
.ttp-my-checks b{font-size:15px;color:var(--ttp-ink)}
.ttp-my-checks p{margin:4px 0 0;font-size:14px;color:var(--ttp-muted)}
.ttp-my-cs{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px;padding:16px 18px;border-radius:12px;background:var(--ttp-paper)}
.ttp-my-cs span{font-size:13px;color:var(--ttp-muted)}
.ttp-my-cs a{font-size:20px;font-weight:800;color:var(--ttp-ink);text-decoration:none}
.ttp-my-cs small{font-size:13px;color:var(--ttp-muted)}
.ttp-my-box .tb_scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.ttp-my-table table{width:100%;border-collapse:collapse}
.ttp-my-table th{white-space:nowrap;background:var(--ttp-ink);color:#fff;font-size:14px;font-weight:700;padding:12px 10px}
.ttp-my-table th:first-child{border-radius:10px 0 0 10px}.ttp-my-table th:last-child{border-radius:0 10px 10px 0}
.ttp-my-table td{padding:14px 10px;border-bottom:1px solid var(--ttp-line);text-align:center;font-size:14px}
.ttp-my-table td.td_left{text-align:left}
.ttp-my-table td.ttp-empty{padding:40px 10px;color:var(--ttp-muted)}
.ttp-my-main .dc-layout,.ttp-my-main .ttp-my-dc{max-width:none!important;width:auto!important;margin:0!important;padding:0!important}

@media (max-width:900px){
  .ttp-my{grid-template-columns:minmax(0,1fr);gap:18px;margin-top:20px;padding:0 16px}
  .ttp-my-side{position:static;min-width:0}
  .ttp-my-who{min-width:0}
  .ttp-my-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:18px}
  .ttp-my-grade{margin:0;padding:8px 12px;gap:10px}
  .ttp-my-facts{grid-column:1/-1;margin:0;display:flex;flex-wrap:wrap;gap:4px 16px}
  .ttp-my-facts div{border:0;padding:0;gap:6px}
  .ttp-my-nav{flex-direction:row;overflow-x:auto;border-radius:12px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .ttp-my-nav::-webkit-scrollbar{display:none}
  .ttp-my-nav a{flex:none;border-top:0;border-left:1px solid var(--ttp-line);padding:12px 16px;font-size:14px;white-space:nowrap}
  .ttp-my-nav a:first-child{border-left:0}
  .ttp-my-nav a.on:before{left:12px;right:12px;top:auto;bottom:0;width:auto;height:3px;border-radius:3px 3px 0 0}
  .ttp-my-help{display:none}
}
@media (max-width:640px){
  .ttp-my-sum{margin-bottom:22px}
  .ttp-my-sum>div{padding:14px 12px}
  .ttp-my-sum b{font-size:21px}
  .ttp-my-sum small{font-size:12px}
  .ttp-my-round{padding-left:18px;margin-left:4px}
  .ttp-my-round li{grid-template-columns:auto 1fr;gap:8px 10px;padding:12px 14px}
  .ttp-my-round .my-balls{grid-column:1/-1}
  .ttp-my-round time{text-align:right}
  .ttp-my-box{padding:20px 16px}
  .ttp-field-grid{grid-template-columns:1fr;gap:18px}
  .ttp-my-actions .ttp-btn-solid{width:100%}
  .ttp-my-table table{min-width:540px}
  .ttp-my-table table:has(td.ttp-empty){min-width:0}
  .ttp-my-table th,.ttp-my-table td{font-size:13px;padding:11px 8px}
}
/* 받은 조합 */
.ttp-dc-balls{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.ttp-dc-balls .dc-ball{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;font-size:13px;font-weight:800;color:#fff;background:#aaa;box-shadow:none}
.ttp-dc-balls .dc-ball-gold{background:#fbc400;color:#3a2a00}.ttp-dc-balls .dc-ball-blue{background:#69c8f2}.ttp-dc-balls .dc-ball-red{background:#ff7272}.ttp-dc-balls .dc-ball-gray{background:#aaa}.ttp-dc-balls .dc-ball-green{background:#b0d840}
.ttp-dc-lg .dc-ball{width:40px;height:40px;font-size:15px}
.ttp-dc-balls .dc-plus{color:var(--ttp-muted);font-weight:800;margin:0 2px}
.ttp-my-sum4{grid-template-columns:repeat(4,1fr)}
.ttp-my-sum b.t{font-size:20px;line-height:34px}
.ttp-my-two{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.ttp-my-two .ttp-my-box{margin-bottom:18px}
.ttp-my-combos{list-style:none;margin:0;padding:0}
.ttp-my-combos li{display:flex;align-items:center;gap:12px;padding:8px 0;border-top:1px solid var(--ttp-line)}
.ttp-my-combos li:first-child{border-top:0}
.ttp-my-combos em{flex:none;width:22px;font-style:normal;font-size:12px;font-weight:800;color:var(--ttp-muted)}
.ttp-my-note{margin:12px 0 0;font-size:13px;color:var(--ttp-muted)}
.ttp-my-blank{margin:0;padding:22px 0;text-align:center;color:var(--ttp-muted);font-size:14px}
.ttp-my-more{display:inline-block;margin-top:16px;font-size:14px;font-weight:700;color:var(--ttp-cobalt);text-decoration:none}
.ttp-my-results{list-style:none;margin:0;padding:0;border:1px solid var(--ttp-line);border-radius:12px;overflow:hidden}
.ttp-my-results li{display:grid;grid-template-columns:110px minmax(0,1fr) auto;align-items:center;gap:14px;padding:11px 16px;border-top:1px solid var(--ttp-line)}
.ttp-my-results li:first-child{border-top:0}
.ttp-my-results li b{font-size:15px;color:var(--ttp-ink)}
.ttp-my-results li.win{background:#fff8db}.ttp-my-results li.win .ttp-my-tag{background:var(--ttp-sun);color:var(--ttp-ink)}
.ttp-my-hist details{border:1px solid var(--ttp-line);border-radius:12px;margin-top:10px;background:#fff}
.ttp-my-hist details:first-child{margin-top:0}
.ttp-my-hist summary{display:flex;align-items:center;gap:12px;padding:14px 16px;cursor:pointer;list-style:none}
.ttp-my-hist summary::-webkit-details-marker{display:none}
.ttp-my-hist summary:after{content:"";margin-left:auto;width:8px;height:8px;border-right:2px solid var(--ttp-muted);border-bottom:2px solid var(--ttp-muted);transform:rotate(45deg);transition:transform .15s}
.ttp-my-hist details[open] summary:after{transform:rotate(-135deg)}
.ttp-my-hist summary b{font-size:15px;color:var(--ttp-ink)}
.ttp-my-hist summary span{font-size:13px;color:var(--ttp-muted)}
.ttp-my-hist .ttp-my-combos{padding:0 16px 10px}
@media (max-width:900px){.ttp-my-two{grid-template-columns:1fr;gap:0}}
@media (max-width:640px){
  .ttp-my-sum4{grid-template-columns:1fr 1fr}
  .ttp-my-sum4>div:nth-child(3){border-left:0}
  .ttp-my-sum4>div:nth-child(n+3){border-top:1px solid var(--ttp-line)}
  .ttp-dc-balls .dc-ball{width:30px;height:30px;font-size:12px}
  .ttp-dc-lg .dc-ball{width:34px;height:34px;font-size:14px}
  .ttp-my-results li{grid-template-columns:1fr auto;gap:8px}
  .ttp-my-results li .ttp-dc-balls{grid-column:1/-1;grid-row:2}
  .ttp-my-hist summary{flex-wrap:wrap;gap:6px 10px}
}
