/* Loaded by test.html only; production and account styles remain untouched. */
body.biot-test { --nav-offset: 160px; --nav-jade: #a4e9c3; --nav-ease: cubic-bezier(.2,.7,.2,1); }
.biot-test #resetBtn { display: none !important; }
.biot-test header { min-height: 72px; }
.biot-test header .logo-text { min-width: 0; }
.biot-test .logo-circle::before { animation: none; }
.biot-test .biot-icon { display: block; width: 22px; height: 22px; flex: 0 0 auto; }
.biot-test .biot-primary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.biot-test .biot-primary button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 10px 14px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--text-dim); cursor: pointer; font: inherit; font-size: 14px; }
.biot-test .biot-primary button b { font-weight: 500; }
.biot-test .biot-primary button[aria-current="page"] { color: #d5f8e3; background: #254b38; border-color: #75bb9380; box-shadow: inset 0 1px 0 #d0ffe514, 0 2px 10px #00000018; }
.biot-test .biot-primary button[aria-current="page"] .biot-icon { color: var(--nav-jade); }
.biot-test .biot-primary button[aria-current="page"] b { font-weight: 700; }
.biot-test .biot-nav { position: sticky; top: 72px; z-index: 25; margin-bottom: 20px; padding: 6px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(120deg,#183025,#14261d 60%); box-shadow: 0 8px 24px #00000014; }
.biot-test .biot-dock { display: none; }
.biot-test .biot-intro { position: relative; isolation: isolate; padding: 6px 0 2px; scroll-margin-top: var(--nav-offset); }
.biot-test .biot-intro::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 12% 35%,#6ec9950c,transparent 65%); }
.biot-test .biot-breadcrumb { display: flex; gap: 8px; font-size: 12px; color: var(--text-dim); }
.biot-test .biot-breadcrumb span { color: #638473; }
.biot-test .biot-heading { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.biot-test .biot-heading::before { content: ''; width: 3px; height: 24px; flex: 0 0 auto; border-radius: 3px; background: linear-gradient(var(--nav-jade),#568d6f); }
.biot-test .biot-heading h2 { font-size: clamp(24px,3vw,32px); line-height: 1.5; }
.biot-test .biot-test-badge { padding: 3px 7px; font-size: 10px; letter-spacing: .12em; color: #e5b85c; border: 1px solid #e5b85c55; border-radius: 5px; }
.biot-test .biot-subnav { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 4px; }
.biot-test .biot-subnav button { position: relative; min-height: 44px; padding: 10px 18px; border: 1px solid #a6ffd118; border-radius: 10px; font: inherit; font-size: 13px; background: #17261f80; color: var(--text-dim); cursor: pointer; }
.biot-test .biot-subnav button::after { content: ''; position: absolute; bottom: 0; left: 25%; right: 25%; height: 2px; border-radius: 2px; background: var(--nav-jade); transform: scaleX(0); transition: transform 150ms var(--nav-ease); }
.biot-test .biot-subnav button[aria-selected="true"] { background: #213c2d; color: #b5efd0; border-color: #77bd9566; font-weight: 700; }
.biot-test .biot-subnav button[aria-selected="true"]::after { transform: scaleX(1); animation: biot-nav-underline 150ms var(--nav-ease); }
@keyframes biot-nav-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.biot-test .biot-profile-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 10px; background: #15261e; }
.biot-test .biot-profile-summary span { min-width: 0; overflow-wrap: anywhere; color: var(--text-dim); font-size: 12px; }
.biot-test .biot-profile-summary button { flex-shrink: 0; min-height: 44px; padding: 6px 10px; color: #b1dcc4; background: transparent; border: 1px solid var(--border); border-radius: 8px; font: inherit; font-size: 12px; cursor: pointer; }
.biot-test .biot-hub-lead { color: var(--text-dim); font-size: 14px; margin-bottom: 16px; }
.biot-test .biot-experience-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.biot-test .biot-experience-card { --card-accent: #a4e9c3; display: flex; min-width: 0; min-height: 204px; padding: 20px; border: 1px solid var(--border); border-radius: 14px; text-align: left; background: radial-gradient(ellipse at 0 0,#90d7aa0a,transparent 70%),linear-gradient(140deg,#1a3025,#15251d); color: var(--text); font: inherit; cursor: pointer; box-shadow: inset 0 1px 0 #ffffff04; }
.biot-test .biot-experience-card[data-experience="ritual"],.biot-test .biot-experience-card[data-experience="guardian"] { --card-accent: #d8c08c; }
.biot-test .biot-experience-card[data-experience="quantum"] { --card-accent: #9ccbd7; }
.biot-test .biot-card-content { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.biot-test .biot-card-top { display: flex; align-items: center; gap: 12px; }
.biot-test .biot-card-emblem { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; color: var(--card-accent); border: 1px solid #c2efd21a; border-radius: 12px; background: #b9f5d107; }
.biot-test .biot-card-emblem .biot-icon { width: 25px; height: 25px; }
.biot-test .biot-experience-card b { font-size: 17px; font-weight: 700; }
.biot-test .biot-card-description { font-size: 12px; line-height: 1.8; color: var(--text-dim); }
.biot-test .biot-experience-card .biot-card-number { color: #91ab9d; font-size: 10px; letter-spacing: .1em; }
.biot-test .biot-card-arrow { margin-left: auto; color: var(--card-accent); font-size: 18px; transition: transform 180ms var(--nav-ease); }
.biot-test :is(.biot-primary button,.biot-subnav button,.biot-experience-card,.biot-profile-summary button) { transition: background-color 160ms ease,color 160ms ease,border-color 160ms ease,box-shadow 180ms ease,transform 180ms var(--nav-ease); }
.biot-test :is(.biot-primary button,.biot-subnav button,.biot-experience-card,.biot-profile-summary button):active { transform: scale(.98); transition-duration: 90ms; }
@media(hover:hover) and (pointer:fine) {
  .biot-test :is(.biot-primary button,.biot-subnav button,.biot-experience-card,.biot-profile-summary button):hover { border-color: #8acba6; }
  .biot-test .biot-primary button:not([aria-current="page"]):hover { background-color: #223d2f; color: #e0f2e8; }
  .biot-test .biot-experience-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px #00000024; }
  .biot-test .biot-experience-card:hover .biot-card-arrow { transform: translate(2px,-2px); }
  .biot-test .biot-experience-card:active { transform: scale(.98); }
}
.biot-test :is(button,a):focus-visible { outline: 2px solid #b4ffcf; outline-offset: 4px; }
.biot-test .dash-grid>* { min-width: 0; }
.biot-test .dash-grid>[hidden],.biot-test .profile-hero.ui-section-hidden { display: none !important; }
.biot-test .dash-grid>[data-nav-panel] { scroll-margin-top: var(--nav-offset); }
.biot-test .dash-grid>.panel[data-ui-section] { animation: none; }
@media(max-width:820px) {
  body.biot-test { --nav-offset: 78px; }
  .biot-test header { min-height: 64px; padding: 10px 12px; gap: 8px; }
  .biot-test .logo-circle { width: 34px; height: 34px; flex-shrink: 0; }
  .biot-test .logo-inner { font-size: 8px; }
  .biot-test .logo-text h1 { font-size: 14px; letter-spacing: .02em; white-space: nowrap; }
  .biot-test .header-right { gap: 6px; flex-shrink: 0; }
  .biot-test .member-chip { width: 40px; height: 40px; padding: 3px !important; justify-content: center; }
  .biot-test .member-copy { display: none; }
  .biot-test .lang-chip { padding: 0 9px; }
  .biot-test .biot-nav { display: none; }
  .biot-test.is-dash .biot-dock { display: grid; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; gap: 4px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: #0f1f18f5; border-top: 1px solid var(--border); backdrop-filter: blur(16px); }
  .biot-test .biot-dock button { flex-direction: column; gap: 3px; min-height: 52px; padding: 5px 2px; font-size: 11px; line-height: 1.3; }
  .biot-test .biot-dock .biot-icon { width: 20px; height: 20px; }
  .biot-test.is-dash .wrap { padding-bottom: calc(164px + env(safe-area-inset-bottom)); }
  .biot-test .oracle-fab { bottom: calc(86px + env(safe-area-inset-bottom)); right: 12px; }
  .biot-test .biot-subnav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 14px; }
  .biot-test .biot-subnav button { padding: 10px 8px; font-size: 12px; }
  .biot-test .biot-experience-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .biot-test .biot-experience-card { min-height: 196px; padding: 14px; }
  .biot-test .biot-card-emblem { width: 34px; height: 34px; border-radius: 10px; }
  .biot-test .biot-card-emblem .biot-icon { width: 22px; height: 22px; }
  .biot-test .biot-card-top { gap: 8px; }
  .biot-test .biot-experience-card b { font-size: 15px; }
  .biot-test .profile-hero { grid-template-columns: minmax(0,1fr) !important; }
}
@media(max-width:480px) {
  .biot-test [data-nav-panel="life"]>div[style*="display:flex"] { flex-wrap: wrap; }
}
@media(prefers-reduced-motion:reduce) {
  .biot-test:not(.biot-motion-enabled) :is(.biot-primary button,.biot-subnav button,.biot-experience-card,.biot-profile-summary button,.biot-card-arrow),.biot-test:not(.biot-motion-enabled) .biot-subnav button::after { transition: none; }
  .biot-test:not(.biot-motion-enabled) .biot-subnav button[aria-selected="true"]::after { animation: none; }
  .biot-test:not(.biot-motion-enabled) :is(.biot-primary button,.biot-subnav button,.biot-experience-card,.biot-profile-summary button,.biot-card-arrow) { transform: none !important; }
}
.biot-test.biot-motion-disabled :is(.biot-primary button,.biot-subnav button,.biot-experience-card,.biot-profile-summary button,.biot-card-arrow),.biot-test.biot-motion-disabled .biot-subnav button::after { transition: none; }
.biot-test.biot-motion-disabled .biot-subnav button[aria-selected="true"]::after { animation: none; }
.biot-test.biot-motion-disabled :is(.biot-primary button,.biot-subnav button,.biot-experience-card,.biot-profile-summary button,.biot-card-arrow) { transform: none !important; }

/* 言語の切替が2つ並ぶようになった（日本語・English・Indonesia, 2026-09-28）。
   スマホではひとかたまりの小さなボタンにして、ロゴと重ならないようにする */
.biot-test .lang-chip + .lang-chip { margin-left: -2px; }
@media (max-width: 560px) {
  .biot-test .lang-chip { padding: 0 6px !important; min-width: 0; font-size: 10px !important; letter-spacing: .04em; }
  .biot-test .header-right { gap: 4px; }
  .biot-test .logo-text { min-width: 0; overflow: hidden; }
  .biot-test .logo-text h1 { overflow: hidden; text-overflow: clip; }
}
@media (max-width: 400px) {
  .biot-test .app-download-label { display: none; }
}
@media (max-width: 430px) {
  /* 後から読む biot-ui-refresh.css / biot-refinement.css より優先させる */
  .biot-test .logo-circle { width: 30px !important; height: 30px !important; box-shadow: none !important; }
  .biot-test .logo-inner { font-size: 7px !important; }
  .biot-test .logo-text h1 { font-size: 12px !important; letter-spacing: .02em !important; }
  .biot-test header { gap: 6px !important; padding-left: 10px !important; padding-right: 10px !important; }
}

/* 言語メニュー(日本語・English・Bahasa Indonesia・繁體中文, 2026-09-28)。
   ヘッダーには今の言語だけを出し、押すと一覧が開く */
.biot-test .lang-menu { position: relative; flex: 0 0 auto; }
.biot-test .lang-menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 40px; }
.biot-test .lang-menu > summary::-webkit-details-marker { display: none; }
.biot-test .lang-menu > summary::after { content: '▾'; margin-left: 4px; font-size: 9px; opacity: .7; }
.biot-test .lang-menu-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 80; display: flex; flex-direction: column; gap: 6px; min-width: 170px; padding: 8px; background: #0f1f18f7; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.biot-test .lang-menu-list .lang-chip { justify-content: flex-start; padding: 0 12px !important; min-height: 38px; display: flex; align-items: center; font-family: inherit; font-size: 13px !important; letter-spacing: 0; }

/* 2026-10-07 表示の速さ: 画面の外のパネルは組み立てを後回しにする(content-visibility)。
   おみくじのパネルは開いたとき position:fixed で全画面に出すので対象外。はみ出し・fixed の有無は tools/qa/cvpanel_check.mjs で確認 */
#dash .dash-grid > .panel:not(:has(.temple-omikuji)) { content-visibility: auto; contain-intrinsic-size: auto 600px; }
