#tt-root { --tt-bar: #ece9e1; --tt-bar2: #c9c4b8; }
html.dark #tt-root, body.dark-mode #tt-root { --tt-bar: #333833; --tt-bar2: #5d625b; }
html:not(.pcs-on) .tt-page #tt-root { box-sizing: border-box; width: 100%; max-width: 100%; padding: 8px 16px 40px; }
html:not(.pcs-on) .tt-page #tt-root .m-page-head { padding: 12px 0 16px; }
html:not(.pcs-on) .tt-page #tt-root .m-page-head h1 { margin: 0 0 8px; font-size: 25px; line-height: 1.3; letter-spacing: -.7px; font-weight: 650; }
html:not(.pcs-on) .tt-page #tt-root .m-page-head p { margin: 0; color: var(--mp-muted); font-size: 13px; line-height: 1.65; word-break: keep-all; }
html:not(.pcs-on) .tt-page #tt-root.tt-run .m-page-head { display: none; }

#tt-root .tt { box-sizing: border-box; width: 100%; max-width: 640px; margin: 0 auto; font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif; color: var(--mp-ink); word-break: keep-all; -webkit-tap-highlight-color: transparent; }
#tt-root .tt *, #tt-root .tt *::before, #tt-root .tt *::after { box-sizing: border-box; }
#tt-root .tt ul { list-style: none; margin: 0; padding: 0; }
#tt-root .tt p { margin: 0 !important; }
#tt-root .tt button { font-family: inherit; }
#tt-root .tt .tt-ico { width: 18px; height: 18px; flex: none; display: inline-block; }
#tt-root .tt .tt-noscript { padding: 24px 0; color: var(--mp-muted) !important; }

#tt-root .tt-view { opacity: 0; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease; }
#tt-root .tt-view.tt-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { #tt-root .tt-view { transition: none; transform: none; opacity: 1; } }

#tt-root .tt-card { background: var(--mp-paper); border: 1px solid var(--mp-line); border-radius: 16px; padding: 22px 20px; margin: 0 0 14px; }
#tt-root .tt p.tt-eyebrow { color: var(--mp-accent) !important; font-size: 12.5px; font-weight: 600; letter-spacing: .2px; margin: 0 0 14px !important; }
#tt-root .tt p.tt-fine { color: var(--mp-muted) !important; font-size: 12px; line-height: 1.6; margin: 12px 0 0 !important; text-align: center; }

#tt-root .tt-badge { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--mp-soft); color: var(--mp-accent); }
#tt-root .tt-badge .tt-ico { width: 21px; height: 21px; }
#tt-root .tt-badge-lg { width: 60px; height: 60px; }
#tt-root .tt-badge-lg .tt-ico { width: 30px; height: 30px; }
#tt-root .tt-li-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#tt-root .tt-li-tx b { font-size: 15px; font-weight: 600; color: var(--mp-ink) !important; line-height: 1.4; }
#tt-root .tt-li-tx small { font-size: 12.5px; color: var(--mp-muted) !important; line-height: 1.45; }

#tt-root .tt-types { display: flex; flex-direction: column; gap: 12px; margin: 0 0 22px !important; }
#tt-root .tt-types li { display: flex; align-items: center; gap: 12px; color: var(--mp-ink) !important; }

#tt-root a.tt-primary, #tt-root button.tt-primary { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 52px; margin: 0; padding: 0 18px; border: 0; border-radius: 12px; background: var(--mp-accent) !important; color: var(--mp-on-accent) !important; font-size: 16px; font-weight: 600; line-height: 1.3; text-decoration: none !important; text-align: center; cursor: pointer; transition: filter .15s ease; }
#tt-root a.tt-secondary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 10px 0 0; padding: 0 16px; border: 1px solid var(--mp-line); border-radius: 12px; background: var(--mp-paper) !important; color: var(--mp-ink) !important; font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none !important; text-align: center; }
#tt-root .tt-ico-r { width: 18px; height: 18px; }
#tt-root button.tt-text { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; margin: 0; padding: 0 6px; border: 0; background: none !important; color: var(--mp-muted) !important; font-size: 14px; font-weight: 500; cursor: pointer; }
#tt-root .tt-ico-l { width: 16px; height: 16px; }
#tt-root button.tt-ghost { flex: 1 1 140px; min-width: 0; min-height: 46px; margin: 0; padding: 0 12px; border: 1px solid var(--mp-line); border-radius: 12px; background: var(--mp-paper) !important; color: var(--mp-ink) !important; font-size: 14.5px; font-weight: 600; cursor: pointer; }
#tt-root button.tt-ghost:disabled { opacity: .55; cursor: default; }
#tt-root a.tt-link { display: inline-block; margin-top: 10px; color: var(--mp-accent) !important; font-size: 14px; font-weight: 600; text-decoration: underline !important; text-underline-offset: 3px; }

#tt-root .tt-prog { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
#tt-root .tt-prog-t { flex: none; font-size: 13px; color: var(--mp-muted) !important; font-variant-numeric: tabular-nums; }
#tt-root .tt-prog-t b { color: var(--mp-accent) !important; font-weight: 700; }
#tt-root .tt-bar { position: relative; flex: 1; height: 6px; border-radius: 3px; background: var(--tt-bar); overflow: hidden; }
#tt-root .tt-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--mp-accent); transition: width .25s ease; }
#tt-root h2.tt-qt { margin: 0 0 20px !important; padding: 0 !important; font-size: 21px !important; font-weight: 600 !important; line-height: 1.45 !important; letter-spacing: -.5px !important; color: var(--mp-ink) !important; text-align: left !important; outline: none; }
#tt-root .tt-opts { display: flex; flex-direction: column; gap: 10px; }
#tt-root button.tt-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; margin: 0; padding: 12px 16px; border: 1px solid var(--mp-line); border-radius: 12px; background: var(--mp-paper) !important; color: var(--mp-ink) !important; font-size: 15.5px; font-weight: 500; line-height: 1.45; text-align: left; cursor: pointer; transition: border-color .12s ease, background-color .12s ease; }
#tt-root .tt-opt-n { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--mp-hero); color: var(--mp-muted) !important; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; transition: background-color .12s ease, color .12s ease; }
#tt-root .tt-opt-t { flex: 1; min-width: 0; color: inherit !important; }
#tt-root button.tt-opt.on { border-color: var(--mp-accent); background: var(--mp-soft) !important; }
#tt-root button.tt-opt.on .tt-opt-n { background: var(--mp-accent); color: var(--mp-on-accent) !important; }
#tt-root .tt-qnav { display: flex; justify-content: flex-start; margin: 16px 0 0 -6px; }

#tt-root .tt-res-head { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
#tt-root h2.tt-res-name { margin: 0 0 4px !important; padding: 0 !important; font-size: 25px !important; font-weight: 700 !important; line-height: 1.3 !important; letter-spacing: -.7px !important; color: var(--mp-ink) !important; text-align: left !important; outline: none; }
#tt-root .tt p.tt-res-tag { color: var(--mp-accent) !important; font-size: 14.5px; font-weight: 600; line-height: 1.45; }
#tt-root .tt p.tt-res-desc { color: var(--mp-muted) !important; font-size: 14.5px; line-height: 1.7; margin: 0 0 6px !important; }
#tt-root h3.tt-h3 { margin: 20px 0 10px !important; padding: 0 !important; font-size: 15px !important; font-weight: 600 !important; line-height: 1.4 !important; letter-spacing: -.3px !important; color: var(--mp-ink) !important; text-align: left !important; }
#tt-root .tt-card > h3.tt-h3:first-child { margin-top: 0 !important; }
#tt-root .tt-list { display: flex; flex-direction: column; gap: 9px; margin: 0 0 4px !important; }
#tt-root .tt-list li { display: flex; align-items: flex-start; gap: 9px; color: var(--mp-ink) !important; font-size: 14.5px; line-height: 1.6; }
#tt-root .tt-list li span { color: inherit !important; }
#tt-root .tt-list .tt-li-ico { width: 18px; height: 18px; margin-top: 2px; color: var(--mp-accent); }
#tt-root .tt-list-warn .tt-li-ico { color: var(--mp-muted); }
#tt-root .tt-res a.tt-primary, #tt-root .tt-res button.tt-primary { margin-top: 22px; }

#tt-root .tt-mix-list { display: flex; flex-direction: column; gap: 11px; }
#tt-root .tt-mix-list li { display: grid; grid-template-columns: 116px 1fr 40px; align-items: center; gap: 10px; color: var(--mp-muted) !important; font-size: 13.5px; }
#tt-root .tt-mix-list li.top { color: var(--mp-ink) !important; font-weight: 600; }
#tt-root .tt-mix-n { color: inherit !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tt-root .tt-mix-bar { position: relative; height: 8px; border-radius: 4px; background: var(--tt-bar); overflow: hidden; }
#tt-root .tt-mix-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--tt-bar2); }
#tt-root .tt-mix-list li.top .tt-mix-bar i { background: var(--mp-accent); }
#tt-root .tt-mix-p { text-align: right; font-variant-numeric: tabular-nums; color: inherit !important; }
#tt-root .tt-mix-list li.top .tt-mix-p { color: var(--mp-accent) !important; }
#tt-root .tt-mix p.tt-fine { text-align: left; }

#tt-root .tt-share-row { display: flex; flex-wrap: wrap; gap: 8px; }
#tt-root button.tt-again { display: flex; margin: 12px auto 0; }
#tt-root button.tt-ghost.tt-send { flex-basis: 100%; min-height: 50px; background: var(--mp-accent) !important; border-color: var(--mp-accent); color: var(--mp-on-accent) !important; }
#tt-root .tt p.tt-share-note { text-align: left; margin-top: 10px !important; }

#tt-root details.tt-other { border-top: 1px solid var(--mp-line); }
#tt-root details.tt-other:first-of-type { border-top: 0; }
#tt-root details.tt-other summary { display: flex; align-items: center; gap: 12px; padding: 12px 0; cursor: pointer; list-style: none; }
#tt-root details.tt-other summary::-webkit-details-marker { display: none; }
#tt-root details.tt-other summary::after { content: ""; flex: none; width: 8px; height: 8px; margin: 0 4px 0 auto; border-right: 1.6px solid var(--mp-muted); border-bottom: 1.6px solid var(--mp-muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s ease; }
#tt-root details.tt-other[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
#tt-root details.tt-other > p { color: var(--mp-muted) !important; font-size: 14px; line-height: 1.65; padding: 0 0 4px 52px; }
#tt-root details.tt-other > a.tt-link { margin: 6px 0 14px 52px; }

.tt-toast { position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 10070; transform: translate(-50%, 8px); max-width: calc(100% - 40px); padding: 11px 18px; border-radius: 999px; background: #25251f; color: #fbfaf7; font: 600 14px/1.4 Pretendard, -apple-system, BlinkMacSystemFont, sans-serif; opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.tt-toast.on { opacity: 1; transform: translate(-50%, 0); }
body.dark-mode .tt-toast, html.dark .tt-toast { background: #f1eee5; color: #181b19; }
html.pcs-on .tt-toast { bottom: 36px; }

@media (hover: hover) and (pointer: fine) {
  #tt-root a.tt-primary:hover, #tt-root button.tt-primary:hover { filter: brightness(.94); }
  #tt-root a.tt-secondary:hover, #tt-root button.tt-ghost:hover:not(:disabled) { border-color: var(--mp-accent); color: var(--mp-accent) !important; }
  #tt-root button.tt-opt:hover { border-color: var(--mp-accent); }
  #tt-root button.tt-text:hover { color: var(--mp-ink) !important; }
}
#tt-root .tt button:focus-visible, #tt-root .tt a:focus-visible, #tt-root details.tt-other summary:focus-visible { outline: 3px solid var(--mp-accent) !important; outline-offset: 2px; }

@media (max-width: 359px) {
  #tt-root .tt-card { padding: 18px 15px; }
  #tt-root h2.tt-qt { font-size: 19px !important; }
  #tt-root button.tt-opt { font-size: 14.5px; padding: 11px 13px; gap: 10px; }
  #tt-root .tt-mix-list li { grid-template-columns: 100px 1fr 36px; font-size: 12.5px; }
  #tt-root h2.tt-res-name { font-size: 22px !important; }
}

html.pcs-on #tt-root .tt { max-width: 880px; padding: 12px 0 32px; }
html.pcs-on #tt-root .tt.tt-wide { max-width: 1240px; }
html.pcs-on #tt-root .tt-card { padding: 40px 44px; border-radius: 18px; margin: 0 0 24px; }
html.pcs-on #tt-root .tt p.tt-eyebrow { font-size: 14.5px; margin: 0 0 20px !important; }
html.pcs-on #tt-root .tt p.tt-fine { font-size: 13.5px; margin-top: 16px !important; }
html.pcs-on #tt-root .tt-badge { width: 52px; height: 52px; }
html.pcs-on #tt-root .tt-badge .tt-ico { width: 26px; height: 26px; }
html.pcs-on #tt-root .tt-badge-lg { width: 80px; height: 80px; }
html.pcs-on #tt-root .tt-badge-lg .tt-ico { width: 40px; height: 40px; }
html.pcs-on #tt-root .tt-li-tx { gap: 4px; }
html.pcs-on #tt-root .tt-li-tx b { font-size: 18px; }
html.pcs-on #tt-root .tt-li-tx small { font-size: 14.5px; }
html.pcs-on #tt-root .tt-types { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 36px; margin: 0 0 32px !important; }
html.pcs-on #tt-root .tt-types li { gap: 16px; }
html.pcs-on #tt-root a.tt-primary, html.pcs-on #tt-root button.tt-primary { min-height: 60px; font-size: 18px; border-radius: 14px; gap: 8px; }
html.pcs-on #tt-root .tt-intro button.tt-primary { max-width: 440px; margin: 0 auto; }
html.pcs-on #tt-root .tt-ico-r { width: 20px; height: 20px; }
html.pcs-on #tt-root a.tt-secondary { min-height: 54px; font-size: 16.5px; border-radius: 14px; margin-top: 12px; }
html.pcs-on #tt-root button.tt-text { font-size: 15.5px; min-height: 44px; }
html.pcs-on #tt-root button.tt-ghost { min-height: 52px; font-size: 16px; border-radius: 14px; }
html.pcs-on #tt-root a.tt-link { font-size: 15.5px; }
html.pcs-on #tt-root .tt-prog { gap: 16px; margin: 0 0 26px; }
html.pcs-on #tt-root .tt-prog-t { font-size: 15.5px; }
html.pcs-on #tt-root .tt-bar { height: 8px; border-radius: 4px; }
html.pcs-on #tt-root h2.tt-qt { font-size: 31px !important; margin: 0 0 28px !important; letter-spacing: -.8px !important; }
html.pcs-on #tt-root .tt-q .tt-opts { gap: 14px; }
html.pcs-on #tt-root button.tt-opt { min-height: 72px; padding: 16px 24px; gap: 16px; font-size: 18.5px; border-radius: 14px; }
html.pcs-on #tt-root .tt-opt-n { width: 32px; height: 32px; font-size: 14.5px; }
html.pcs-on #tt-root .tt-qnav { margin-top: 22px; }
html.pcs-on #tt-root .tt-res-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
html.pcs-on #tt-root .tt-res-grid .tt-card { margin: 0 0 24px; }
html.pcs-on #tt-root .tt-res-head { gap: 20px; margin: 0 0 20px; }
html.pcs-on #tt-root h2.tt-res-name { font-size: 36px !important; margin: 0 0 6px !important; }
html.pcs-on #tt-root .tt p.tt-res-tag { font-size: 18px; }
html.pcs-on #tt-root .tt p.tt-res-desc { font-size: 17px; line-height: 1.75; }
html.pcs-on #tt-root h3.tt-h3 { font-size: 18.5px !important; margin: 28px 0 14px !important; }
html.pcs-on #tt-root .tt-list { gap: 12px; }
html.pcs-on #tt-root .tt-list li { font-size: 16.5px; gap: 11px; }
html.pcs-on #tt-root .tt-list .tt-li-ico { width: 21px; height: 21px; margin-top: 3px; }
html.pcs-on #tt-root .tt-res a.tt-primary, html.pcs-on #tt-root .tt-res button.tt-primary { margin-top: 30px; }
html.pcs-on #tt-root .tt-mix-list { gap: 15px; }
html.pcs-on #tt-root .tt-mix-list li { grid-template-columns: 160px 1fr 54px; gap: 14px; font-size: 16px; }
html.pcs-on #tt-root .tt-mix-bar { height: 10px; border-radius: 5px; }
html.pcs-on #tt-root .tt-share-row { gap: 10px; }
html.pcs-on #tt-root details.tt-other summary { gap: 16px; padding: 16px 0; }
html.pcs-on #tt-root details.tt-other > p { font-size: 15.5px; padding-left: 68px; }
html.pcs-on #tt-root details.tt-other > a.tt-link { margin-left: 68px; }
