html.tc-mbti-open {overflow:hidden}
#tc-mbti-world {
  --mbti-pink:#e90058;
  --mbti-line:#eddfeb;
  box-sizing:border-box;
  color-scheme:light;
  position:fixed;
  inset:0;
  margin:auto;
  width:min(90vw,1550px);
  height:90dvh;
  max-width:none;
  max-height:none;
  overflow:auto;
  overscroll-behavior:contain;
  padding:0 20px 20px;
  border:1px solid #eddbeb;
  border-radius:22px;
  background:#fcf7fc;
  color:#171219;
  text-align:left;
  box-shadow:0 18px 70px #1a031a59;
}
#tc-mbti-world::backdrop {background:#160919b3}
#tc-mbti-world h2,#tc-mbti-world h3,#tc-mbti-world p {margin:0}
#tc-mbti-world button {cursor:pointer;font:inherit}
#tc-mbti-world button:focus-visible,#tc-mbti-world input:focus-visible,#tc-mbti-world [tabindex]:focus-visible {
  outline:2px solid #ab004a;outline-offset:2px;
}
#tc-mbti-world .mbti-banner {
  position:relative;display:flex;align-items:center;justify-content:space-between;
  min-height:150px;margin:0 -20px;padding:16px 24px;
  isolation:isolate;
  background:radial-gradient(ellipse at 85% 100%,#ffb3e3,#fff1f9 52%,#fff 82%);
}
#tc-mbti-world .mbti-banner h2 {font-size:clamp(31px,5.8vw,82px);line-height:1;font-weight:950;font-style:italic;letter-spacing:-.055em}
#tc-mbti-world .mbti-banner p {font-weight:800;font-size:clamp(15px,1.7vw,26px);margin-top:8px}
#tc-mbti-world em {color:var(--mbti-pink)}
#tc-mbti-world .mbti-banner-art {display:flex;align-items:center;gap:10px;padding-right:55px}
#tc-mbti-world .mbti-banner-art span {background:#fff7fc;border:1px solid #faafd5;border-radius:50%;padding:25px 15px;font-weight:900;color:#ad0049;transform:rotate(-12deg)}
#tc-mbti-world .mbti-close {position:absolute;top:8px;right:10px;width:44px;height:44px;border:0;border-radius:50%;background:#fff9;color:#21101d;font-size:34px;line-height:1}
#tc-mbti-world .mbti-tools,#tc-mbti-world .mbti-layout {display:grid;grid-template-columns:minmax(235px, 30%) minmax(0,1fr);gap:14px}
#tc-mbti-world .mbti-tools {margin:0 0 14px;align-items:center}
#tc-mbti-world .mbti-quiz,#tc-mbti-world .mbti-search button {border:0;background:linear-gradient(145deg,#f42d89,#d70051);color:#fff;font-weight:800}
#tc-mbti-world .mbti-quiz {display:grid;gap:5px;text-align:left;padding:12px 18px;border-radius:16px;font-size:20px}
#tc-mbti-world .mbti-quiz small {font-size:13px}
#tc-mbti-world .mbti-search {display:flex;min-width:0;border:1px solid #f3a5ce;border-radius:999px;background:#fff;padding:5px}
#tc-mbti-world .mbti-search input {min-width:0;flex:1;padding:8px 12px;border:0;border-radius:999px;background:#fff;color:#181019;font:inherit}
#tc-mbti-world .mbti-search button {border-radius:999px;padding:8px 21px}
#tc-mbti-world .mbti-filters,#tc-mbti-world .mbti-content {display:grid;align-content:start;gap:10px;min-width:0}
#tc-mbti-world .mbti-panel {padding:13px;border:1px solid var(--mbti-line);border-radius:18px;background:#fff;box-shadow:0 2px 5px #39133712}
#tc-mbti-world h3 {font-size:clamp(17px,1.65vw,24px);font-weight:850;margin-bottom:9px}
#tc-mbti-world .mbti-choices {display:flex;flex-wrap:wrap;gap:5px}
#tc-mbti-world .mbti-types {display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
#tc-mbti-world .mbti-types button:first-child {grid-column:1/-1;justify-self:start}
#tc-mbti-world .mbti-choices button {
  min-height:34px;padding:4px 9px;border:1px solid #ded8e3;border-radius:999px;
  background:#f3f1f6;color:#232029;font-size:13px;font-weight:750;
}
#tc-mbti-world .mbti-choices button[aria-pressed=true] {background:var(--mbti-pink);border-color:var(--mbti-pink);color:#fff}
#tc-mbti-world .mbti-type-card {display:grid;grid-template-columns:minmax(110px,32%) minmax(0,1fr);padding:0;overflow:hidden;min-height:205px}
#tc-mbti-world .mbti-type-art {display:grid;place-items:center;font-size:clamp(28px,5vw,70px);font-weight:950;font-style:italic;color:#a50049;background:radial-gradient(at 20% 25%,#fff,#fbc3e5 55%,#f38fc9)}
#tc-mbti-world .mbti-description {padding:18px;align-self:center}
#tc-mbti-world .mbti-description em {font-size:1.3em}
#tc-mbti-world .mbti-description p {margin:0 0 8px}
#tc-mbti-world .mbti-keywords {color:#a4004a;font-weight:750}
#tc-mbti-world .mbti-preview-note,#tc-mbti-world .mbti-result {font-size:13px;color:#514755;margin:7px 0}
#tc-mbti-world .mbti-carousel {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:5px}
#tc-mbti-world .mbti-carousel > button {width:34px;height:34px;border:1px solid var(--mbti-line);border-radius:50%;background:#fff;color:#241425;font-size:26px;line-height:1}
#tc-mbti-world .mbti-carousel > button:disabled {opacity:.4;cursor:default}
#tc-mbti-world .mbti-track {display:flex;gap:8px;overflow:auto;padding:3px;scroll-snap-type:x proximity}
#tc-mbti-world .mbti-profile {
  display:grid;flex:0 0 108px;gap:4px;justify-items:center;padding:12px 5px;
  border:0;border-radius:14px;background:linear-gradient(#f7a9dc,#6e315e 60%,#211526);
  color:#fff;scroll-snap-align:start;font-size:13px;
}
#tc-mbti-world .mbti-avatar {display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#fff3fc;color:#8e0041;font-size:30px;font-weight:900}
#tc-mbti-world .mbti-profile b {background:#d70051;border-radius:14px;padding:2px 8px}
#tc-mbti-world .mbti-detail {margin-top:10px;padding:10px;border:1px solid var(--mbti-line);border-radius:12px}
#tc-mbti-world .mbti-detail h4 {margin:0 0 5px}
#tc-mbti-world .mbti-detail button {margin-top:8px;color:#8e0041}
@media(max-width:700px) {
  #tc-mbti-world {width:96vw;height:94dvh;padding:0 10px 12px;border-radius:16px}
  #tc-mbti-world .mbti-banner {min-height:104px;margin:0 -10px;padding:13px 12px}
  #tc-mbti-world .mbti-banner-art {display:none}
  #tc-mbti-world .mbti-tools,#tc-mbti-world .mbti-layout {grid-template-columns:minmax(0,1fr);gap:8px}
  #tc-mbti-world .mbti-type-card {min-height:150px}
}
#tc-mbti-world {
 width:min(85vw,1400px);
 height:auto;
 max-height:85dvh;
}
#tc-mbti-world [hidden] {display:none!important}
#tc-mbti-world:is([data-view="quiz"],[data-view="result"]) {max-width:850px}
#tc-mbti-world:is([data-view="quiz"],[data-view="result"]) .mbti-banner {min-height:64px;padding-block:12px}
#tc-mbti-world:is([data-view="quiz"],[data-view="result"]) .mbti-banner h2 {font-size:clamp(24px,4vw,36px)}
#tc-mbti-world:is([data-view="quiz"],[data-view="result"]) :is(.mbti-banner-art,.mbti-banner p) {display:none}
#tc-mbti-world .mbti-focus {max-width:700px;margin:0 auto;padding:14px 0 6px}
#tc-mbti-world .mbti-quiz-badge {color:#fff;background:#d80054;border-radius:22px;padding:6px 12px;width:fit-content;margin:0 auto 16px;font-weight:800}
#tc-mbti-world .mbti-focus progress {width:100%;height:12px;accent-color:#e60060;margin:6px 0}
#tc-mbti-world .mbti-quiz-notice {color:#5b4a5c;font-size:13px;margin-bottom:14px}
#tc-mbti-world .mbti-focus h3 {text-align:center;padding:10px 0}
#tc-mbti-world .mbti-focus fieldset {display:grid;gap:6px;border:0;padding:0;margin:0;min-width:0}
#tc-mbti-world .mbti-focus fieldset label {display:flex;gap:9px;align-items:center;border:1px solid var(--mbti-line);border-radius:12px;padding:10px;background:#fff;cursor:pointer}
#tc-mbti-world .mbti-focus fieldset label:has(:checked) {border-color:#ed4f93;background:#ffdfed}
#tc-mbti-world .mbti-focus input {accent-color:#dc0058}
#tc-mbti-world .mbti-quiz-nav {display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}
#tc-mbti-world .mbti-quiz-nav button {flex:1 1 130px;min-height:40px;background:#f3edf3;color:#302230;border:1px solid var(--mbti-line);border-radius:20px;padding:6px 12px;font-weight:750}
#tc-mbti-world .mbti-quiz-nav button:is([data-quiz-action="next"],[data-quiz-action="similar"]) {background:#db0056;color:#fff}
#tc-mbti-world .mbti-quiz-nav button:disabled {opacity:.5;cursor:default}
#tc-mbti-world .mbti-result-summary {text-align:center;background:#ffedf6;padding:20px;border-radius:18px;margin-bottom:10px}
#tc-mbti-world .mbti-result-summary em {font-size:2.5em}
#tc-mbti-world[data-view="recommendation"] :is(.mbti-tools,.mbti-type-card,.mbti-filters section:has(.mbti-types),.mbti-filters section:has([data-i18n="ranking"])) {display:none}

html[data-tc-theme="dark"] #tc-mbti-world {
 color-scheme:dark;--mbti-pink:#ff529e;--mbti-line:#563c56;background:#1d1523;color:#f9edf9;border-color:#694467;
}
html[data-tc-theme="dark"] #tc-mbti-world .mbti-banner {background:radial-gradient(ellipse at 85% 100%,#702655,#35203c 60%,#211525)}
html[data-tc-theme="dark"] #tc-mbti-world :is(.mbti-panel,.mbti-search,.mbti-focus fieldset label) {background:#2c2133}
html[data-tc-theme="dark"] #tc-mbti-world :is(.mbti-search input,.mbti-carousel > button,.mbti-close,.mbti-quiz-nav button:not([data-quiz-action="next"],[data-quiz-action="similar"])) {background:#3a2a40;color:#f9edf9}
html[data-tc-theme="dark"] #tc-mbti-world .mbti-choices button {background:#422e48;color:#f9edf9;border-color:#6b4d6c}
html[data-tc-theme="dark"] #tc-mbti-world .mbti-choices button[aria-pressed=true] {background:#d80054;border-color:#ff529e}
html[data-tc-theme="dark"] #tc-mbti-world :is(.mbti-preview-note,.mbti-result,.mbti-quiz-notice) {color:#e3cbe2}
html[data-tc-theme="dark"] #tc-mbti-world :is(.mbti-detail button,.mbti-keywords) {color:#ffabce}
html[data-tc-theme="dark"] #tc-mbti-world :is(.mbti-focus fieldset label:has(:checked),.mbti-result-summary) {background:#59294a}
@media(max-width:700px) {
 #tc-mbti-world {width:96vw;max-height:94dvh}
}

#tc-mbti-world .mbti-profile:has(.mbti-portrait) {
 position:relative;isolation:isolate;overflow:hidden;
 flex-basis:clamp(126px,16vw,190px);aspect-ratio:3/4;
 align-content:end;padding:10px 6px;
}
#tc-mbti-world .mbti-profile:has(.mbti-portrait)::before {
 content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#120c16 90%);z-index:-1;
}
#tc-mbti-world .mbti-detail a {color:inherit;text-decoration:underline}

@media(min-width:701px) {
 #tc-mbti-world :is(.mbti-tools,.mbti-layout) {grid-template-columns:minmax(235px,32%) minmax(0,1fr)}
}
#tc-mbti-world .mbti-type-card {display:block;min-height:0;padding:13px}
#tc-mbti-world .mbti-type-card .mbti-description {padding:0}
#tc-mbti-world .mbti-featured {
 display:grid;grid-template-columns:45% minmax(0,1fr);
 height:clamp(285px,27vw,400px);
 padding:0;overflow:hidden;border-color:#db6ca4;
}
#tc-mbti-world :is(.mbti-featured-photo,.mbti-portrait) {
 position:relative;min-width:0;min-height:0;overflow:hidden;
 display:grid;place-items:center;background:#fce1ed;color:#9e1554;font-size:40px;font-weight:800;
}
#tc-mbti-world .mbti-profile .mbti-portrait {position:absolute;inset:0;z-index:-2}
#tc-mbti-world :is(.mbti-featured-photo,.mbti-portrait) img {
 position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;
 transform:scale(var(--mbti-photo-scale,1));transform-origin:var(--mbti-photo-position,50% 26%);
}
#tc-mbti-world .mbti-featured-copy {
 position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-content:center;justify-items:start;
 gap:8px;padding:clamp(12px,2vw,28px);min-width:0;
}
#tc-mbti-world .mbti-featured-heading {
 display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;
}
#tc-mbti-world .mbti-featured-heading h3 {
 font-size:clamp(19px,3.2vw,44px);line-height:1.08;margin:0;
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
 block-size:2.16em;overflow:hidden;overflow-wrap:anywhere;
}
#tc-mbti-world .mbti-featured-badge {
 box-sizing:border-box;width:clamp(54px,6.82vw,98px);text-align:center;background:#d90056;color:#fff;
 border-radius:999px;padding:4px 8px;font:italic 800 clamp(14px,2vw,29px)/1.2 system-ui,sans-serif;
}
#tc-mbti-world .mbti-featured-meta {
 display:flex;align-items:center;gap:6px;width:100%;height:24px;
 font-size:clamp(11px,1.25vw,17px);font-weight:750;
}
#tc-mbti-world .mbti-featured-meta span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#tc-mbti-world .mbti-featured-meta span:first-child {flex-shrink:0;max-width:56%}
#tc-mbti-world .mbti-featured-meta span+span {border-inline-start:1px solid #d78bad;padding-inline-start:6px}
#tc-mbti-world .mbti-featured-facts {width:100%;display:grid;grid-auto-rows:42px;gap:6px;margin:0}
#tc-mbti-world .mbti-featured-facts > div {
 display:grid;grid-template-columns:minmax(64px,31%) minmax(0,1fr);align-items:center;
 border:1px solid #f5cada;border-radius:18px;overflow:hidden;font-size:clamp(11px,1.05vw,15px);
}
#tc-mbti-world .mbti-featured-facts dt {
 display:grid;align-content:center;align-self:stretch;background:#fde7f1;font-weight:750;padding:4px 8px;line-height:1.2;
}
#tc-mbti-world .mbti-featured-facts dd {
 margin:0;padding:0 8px;overflow-wrap:anywhere;line-height:1.2;
 max-height:3.6em;overflow:auto;scrollbar-width:thin;
}
#tc-mbti-world .mbti-photo-credit {position:absolute;right:8px;bottom:5px;font-size:14px;color:inherit}
#tc-mbti-world .mbti-profile:has(.mbti-portrait) {
 box-sizing:border-box;flex-basis:clamp(104px,9.2vw,147px);width:clamp(104px,9.2vw,147px);
 aspect-ratio:3/4;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(3,1.2em);
}
#tc-mbti-world .mbti-profile > :is(strong,span) {
 max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
#tc-mbti-world .mbti-profile > b {box-sizing:border-box;width:52px;text-align:center;line-height:1.1}
#tc-mbti-world .mbti-profile[aria-pressed=true] {outline:2px solid #ff529e;outline-offset:0}
#tc-mbti-world .mbti-carousel:not(:has(.mbti-profile)) {display:none}
#tc-mbti-world .mbti-carousel:has(.mbti-profile:only-child) {grid-template-columns:minmax(0,1fr)}
#tc-mbti-world .mbti-carousel:has(.mbti-profile:only-child)>button {display:none}
html[data-tc-theme="dark"] #tc-mbti-world .mbti-featured-facts > div {border-color:#6e4368}
html[data-tc-theme="dark"] #tc-mbti-world .mbti-featured-facts dt {background:#4b2947}
@media(max-width:500px) {
 #tc-mbti-world .mbti-featured {height:clamp(248px,67vw,310px)}
 #tc-mbti-world .mbti-featured-copy {padding:10px 8px 18px}
 #tc-mbti-world .mbti-featured-facts {grid-auto-rows:43px;gap:4px}
 #tc-mbti-world .mbti-featured-facts > div {grid-template-columns:minmax(48px,34%) minmax(0,1fr)}
 #tc-mbti-world .mbti-featured-facts :is(dt,dd) {padding-inline:4px}
}

#tc-mbti-world :is(.mbti-portrait,.mbti-featured-photo):has(.mbti-image-attribution) {position:relative}
#tc-mbti-world .mbti-image-attribution {
 position:absolute;inset:4px 4px auto;z-index:1;width:fit-content;max-width:calc(100% - 8px);
 padding:2px 4px;border-radius:4px;background:#000c;color:#fff;font-size:10px;overflow-wrap:anywhere;
}
