.think-tank-screen {
  background:
    rgba(244, 244, 242, 0.985)
    url("./assets/ink-home/scenes/paper-texture.webp") center / 72cqw 72cqw repeat;
}

.think-tank-page {
  min-height: 100%;
  padding-bottom: 1.4cqw;
  color: var(--ink-deep);
}

.think-tank-banner {
  width: 100%;
  height: 53.9cqw;
  margin: 0;
  overflow: hidden;
  background: #f3f1ec;
}

.think-tank-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

.think-tank-filterbar {
  display: flex;
  min-height: 13.3cqw;
  padding: 0 4cqw;
  align-items: center;
  justify-content: space-between;
  background: rgba(246, 246, 243, 0.62);
  box-shadow: inset 0 -0.2cqw rgba(21, 61, 63, 0.08);
}

.think-tank-filter-scope {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 2.1cqw;
  font-family: "STKaiti", "Kaiti SC", "KaiTi", "Songti SC", serif;
}

.think-tank-filter-scope strong {
  color: var(--ink-deep);
  font-size: 4.05cqw;
  font-weight: 600;
  line-height: 1;
}

.think-tank-filter-scope small {
  color: #76807e;
  font-family: var(--section-title-font);
  font-size: 2.9cqw;
  line-height: 1;
}

.think-tank-filter-trigger {
  display: inline-flex;
  min-height: 11.75cqw;
  padding: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 1.9cqw;
  border: 0;
  background: transparent;
  color: #38524f;
  font-family: "STKaiti", "Kaiti SC", "KaiTi", "Songti SC", serif;
  font-size: 3.5cqw;
  line-height: 1;
  white-space: nowrap;
  transition: color 180ms ease-out, opacity 180ms ease-out;
}

.think-tank-filter-chevron {
  width: 1.9cqw;
  height: 1.9cqw;
  margin-top: -0.8cqw;
  border-right: 0.35cqw solid currentColor;
  border-bottom: 0.35cqw solid currentColor;
  transform: rotate(45deg);
}

.think-tank-filter-trigger:active {
  opacity: 0.62;
}

.think-tank-surname-dialog[hidden] {
  display: none !important;
}

.think-tank-surname-dialog {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  font-family: "STKaiti", "Kaiti SC", "KaiTi", "Songti SC", serif;
  animation: think-tank-dialog-fade 160ms ease-out both;
}

.think-tank-surname-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: rgba(8, 19, 18, 0.46);
}

.think-tank-surname-sheet {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-height: calc(100% - 19cqw);
  flex-direction: column;
  overflow: hidden;
  border: 0.26cqw solid rgba(173, 143, 95, 0.36);
  border-bottom: 0;
  border-radius: 4.3cqw 4.3cqw 0 0;
  background:
    linear-gradient(rgba(251, 250, 247, 0.98), rgba(251, 250, 247, 0.98)),
    url("./assets/ink-home/scenes/paper-texture.webp") center / 72cqw 72cqw repeat;
  box-shadow: 0 -3cqw 8cqw rgba(8, 19, 18, 0.12);
  color: var(--ink-deep);
  animation: think-tank-sheet-rise 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.think-tank-surname-sheet:focus {
  outline: none;
}

.think-tank-surname-header {
  display: grid;
  grid-template-columns: 16cqw minmax(0, 1fr) 16cqw;
  min-height: 14.5cqw;
  align-items: center;
  border-bottom: 0.26cqw solid rgba(173, 143, 95, 0.25);
}

.think-tank-surname-header h2 {
  margin: 0;
  font-size: 4.4cqw;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.think-tank-surname-header button {
  min-height: 11.75cqw;
  padding: 0;
  border: 0;
  background: transparent;
  color: #596563;
  font-size: 3.65cqw;
}

.think-tank-surname-header .think-tank-surname-reset {
  color: var(--ink);
  font-weight: 600;
}

.think-tank-surname-body {
  min-height: 0;
  padding: 4.3cqw 4.3cqw calc(6.3cqw + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.think-tank-surname-search {
  display: grid;
  grid-template-columns: 5.3cqw minmax(0, 1fr);
  min-height: 11.75cqw;
  padding: 0 3.2cqw;
  align-items: center;
  gap: 2.1cqw;
  border: 0.26cqw solid rgba(32, 75, 71, 0.24);
  border-radius: 2.4cqw;
  background: rgba(255, 255, 253, 0.74);
}

.think-tank-surname-search img {
  display: block;
  width: 5.3cqw;
  height: 5.3cqw;
  object-fit: contain;
  opacity: 0.76;
}

.think-tank-surname-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink-deep);
  font-family: var(--section-title-font);
  font-size: 3.75cqw;
}

.think-tank-surname-search input::placeholder {
  color: #65716f;
  opacity: 1;
}

.think-tank-surname-summary {
  display: flex;
  margin: 4.3cqw 0 2.6cqw;
  align-items: baseline;
  justify-content: space-between;
}

.think-tank-surname-summary strong {
  font-size: 4.05cqw;
  font-weight: 600;
}

.think-tank-surname-summary span {
  color: #687471;
  font-size: 3.15cqw;
}

.think-tank-surname-groups {
  display: grid;
  gap: 2.6cqw;
}

.think-tank-surname-flat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.1cqw;
}

.think-tank-surname-group {
  display: grid;
  grid-template-columns: 7cqw minmax(0, 1fr);
  align-items: start;
  gap: 2.1cqw;
}

.think-tank-surname-group[hidden] {
  display: none;
}

.think-tank-surname-initial {
  display: grid;
  min-height: 11.75cqw;
  place-items: center;
  color: #667270;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 3.2cqw;
  font-weight: 600;
}

.think-tank-surname-group-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.1cqw;
}

.think-tank-surname-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 11.75cqw;
  padding: 0 2.4cqw;
  align-items: center;
  gap: 1.6cqw;
  border: 0.26cqw solid rgba(32, 75, 71, 0.25);
  border-radius: 2.4cqw;
  background: rgba(255, 255, 253, 0.72);
  color: #43514f;
  font-size: 3.55cqw;
  text-align: left;
  transition: border-color 180ms ease-out, background-color 180ms ease-out, color 180ms ease-out, transform 180ms ease-out;
}

.think-tank-surname-option small {
  color: inherit;
  font-family: var(--section-title-font);
  font-size: 2.65cqw;
  opacity: 0.72;
}

.think-tank-surname-option[data-think-surname-has-people="false"] small {
  opacity: 0.52;
}

.think-tank-surname-option[aria-checked="true"] {
  border-color: var(--ink-deep);
  background: var(--ink-deep);
  color: #fffaf2;
  font-weight: 600;
}

.think-tank-surname-option[hidden] {
  display: none;
}

.think-tank-surname-option:active {
  transform: scale(0.97);
}

.think-tank-surname-empty {
  margin: 6.4cqw 0 2.1cqw;
  color: #687471;
  font-family: var(--section-title-font);
  font-size: 3.5cqw;
  text-align: center;
}

.think-tank-surname-empty[hidden] {
  display: none;
}

.phone.has-think-surname-dialog .think-tank-screen {
  overflow: hidden;
}

.think-tank-filterbar button:focus-visible,
.think-tank-surname-header button:focus-visible,
.think-tank-surname-search:focus-within,
.think-tank-surname-option:focus-visible {
  outline: 0.55cqw solid rgba(32, 75, 71, 0.28);
  outline-offset: 0.25cqw;
}

@keyframes think-tank-dialog-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes think-tank-sheet-rise {
  from { transform: translateY(4cqw); }
  to { transform: translateY(0); }
}

.think-tank-content {
  padding: 2.7cqw 3.2cqw 4cqw;
}

.think-tank-person-list {
  display: grid;
  gap: 2.4cqw;
}

.think-tank-person-card[hidden],
.think-tank-people[hidden] {
  display: none;
}

.think-tank-person-art img {
  object-position: center 12%;
}

.think-tank-research {
  margin-top: 1.2cqw;
}

.think-tank-research-list {
  display: grid;
}

.think-tank-research-item {
  display: grid;
  grid-template-columns: 33.9cqw minmax(0, 1fr) 5cqw;
  min-height: 18.6cqw;
  padding: 1.6cqw 0;
  align-items: center;
  gap: 3.2cqw;
  border: 0;
  border-bottom: 0.2cqw solid rgba(21, 61, 63, 0.12);
  background: transparent;
  text-align: left;
}

.think-tank-research-item > img:first-child {
  display: block;
  width: 33.9cqw;
  height: 18.6cqw;
  border-radius: 2.4cqw;
  object-fit: cover;
}

.think-tank-research-item > span {
  display: flex;
  min-width: 0;
  align-self: stretch;
  flex-direction: column;
  justify-content: center;
}

.think-tank-research-item strong {
  color: #142f31;
  font-family: "STKaiti", "Kaiti SC", "KaiTi", "Songti SC", serif;
  font-size: 4cqw;
  font-weight: 600;
  line-height: 1.4;
}

.think-tank-research-item small {
  margin-top: 1.2cqw;
  color: #6d7775;
  font-family: "STKaiti", "Kaiti SC", "KaiTi", "Songti SC", serif;
  font-size: 3.25cqw;
  line-height: 1;
}

.think-tank-row-chevron {
  display: block;
  width: 4cqw;
  height: 4cqw;
  object-fit: contain;
}

.think-tank-cooperation {
  display: grid;
  grid-template-columns: 15.5cqw minmax(0, 1fr) 5cqw;
  width: 100%;
  min-height: 15cqw;
  margin-top: 2.4cqw;
  padding: 1.1cqw 3cqw 1.1cqw 2.5cqw;
  align-items: center;
  gap: 3cqw;
  border: 0.27cqw solid rgba(21, 61, 63, 0.13);
  border-radius: 2.7cqw;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 1.6cqw 4.8cqw rgba(23, 48, 45, 0.045);
  text-align: left;
}

.think-tank-cooperation > img:first-child {
  display: block;
  width: 15.5cqw;
  height: 12.8cqw;
  object-fit: contain;
}

.think-tank-cooperation > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1cqw;
}

.think-tank-cooperation strong {
  font-family: "STKaiti", "Kaiti SC", "KaiTi", "Songti SC", serif;
  font-size: 4.8cqw;
  font-weight: 600;
  line-height: 1;
}

.think-tank-cooperation small {
  color: #5f6e6c;
  font-family: "STKaiti", "Kaiti SC", "KaiTi", "Songti SC", serif;
  font-size: 3.35cqw;
  line-height: 1;
}

.think-tank-empty {
  min-height: 31cqw;
  padding: 7cqw 4cqw;
  text-align: center;
}

.think-tank-empty[hidden] {
  display: none;
}

.think-tank-empty strong {
  display: block;
  font-family: "STKaiti", "Kaiti SC", "KaiTi", "Songti SC", serif;
  font-size: 4.7cqw;
}

.think-tank-empty p {
  margin: 2cqw 0 3cqw;
  color: var(--muted);
  font-family: var(--section-title-font);
  font-size: 3.25cqw;
}

.think-tank-empty button {
  min-height: 10.7cqw;
  padding: 0 4cqw;
  border: 0.27cqw solid var(--ink);
  border-radius: 2.7cqw;
  background: transparent;
  color: var(--ink);
  font-family: var(--section-title-font);
  font-size: 3.45cqw;
}

.think-tank-result-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.think-tank-person-screen {
  background:
    rgba(244, 244, 242, 0.985)
    url("./assets/ink-home/scenes/paper-texture.webp") center / 72cqw 72cqw repeat;
  color: var(--ink-deep);
}

.think-tank-person-page {
  min-height: 100%;
  padding-bottom: 4cqw;
}

.think-tank-person-detail {
  padding: 3.2cqw 3.2cqw 8cqw;
}

.think-tank-person-hero {
  display: grid;
  grid-template-columns: 34.7cqw minmax(0, 1fr);
  min-height: 47.5cqw;
  padding: 3.2cqw;
  align-items: center;
  gap: 4cqw;
  border: 0.2cqw solid rgba(21, 61, 63, 0.11);
  border-radius: 3.2cqw;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 1.6cqw 4.8cqw rgba(18, 45, 44, 0.045);
}

.think-tank-person-portrait {
  height: 41.1cqw;
  margin: 0;
  overflow: hidden;
  border: 0.27cqw solid rgba(33, 62, 61, 0.16);
  border-radius: 17.3cqw 17.3cqw 2.1cqw 2.1cqw;
  background: #eef0eb;
}

.think-tank-person-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

.think-tank-person-identity {
  min-width: 0;
}

.think-tank-person-kicker {
  display: block;
  color: #8a5550;
  font-size: 2.55cqw;
  line-height: 1;
  letter-spacing: 0.18cqw;
}

.think-tank-person-identity h1 {
  margin: 1.7cqw 0 0;
  color: var(--ink);
  font-family: var(--calligraphy);
  font-size: 7.2cqw;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.35cqw;
}

.think-tank-person-years {
  display: block;
  margin-top: 1.35cqw;
  color: #87918e;
  font-size: 2.55cqw;
  line-height: 1;
}

.think-tank-person-role {
  margin: 2.1cqw 0 0;
  color: #354b4a;
  font-family: var(--section-title-font);
  font-size: 3.15cqw;
  line-height: 1.55;
}

.think-tank-person-tags {
  display: flex;
  margin-top: 2.4cqw;
  flex-wrap: wrap;
  gap: 1.3cqw;
}

.think-tank-person-tags span {
  min-height: 5.6cqw;
  padding: 0.8cqw 1.8cqw;
  border: 0.2cqw solid rgba(21, 61, 63, 0.14);
  border-radius: 1cqw;
  background: rgba(246, 247, 243, 0.76);
  color: #526461;
  font-size: 2.45cqw;
  line-height: 1.45;
  white-space: nowrap;
}

.think-tank-person-intro {
  margin: 3.2cqw 0 0;
  padding: 3.7cqw 4cqw;
  border-left: 0.8cqw solid rgba(154, 48, 42, 0.72);
  background: rgba(255, 255, 255, 0.46);
  color: #3e504e;
  font-family: var(--section-title-font);
  font-size: 3.45cqw;
  line-height: 1.8;
}

.think-tank-person-section {
  margin-top: 6.1cqw;
}

.think-tank-person-section > h2 {
  margin: 0 0 2.8cqw;
  padding-bottom: 1.8cqw;
  border-bottom: 0.2cqw solid rgba(21, 61, 63, 0.1);
  color: var(--ink);
  font-family: var(--section-title-font);
  font-size: 4.8cqw;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.16cqw;
}

.think-tank-person-section > p {
  margin: 0;
  color: #465654;
  font-size: 3.25cqw;
  line-height: 1.9;
}

.think-tank-person-contributions {
  display: grid;
  gap: 2.4cqw;
}

.think-tank-person-contribution {
  padding: 3.3cqw 3.7cqw;
  border: 0.2cqw solid rgba(21, 61, 63, 0.09);
  border-radius: 2.4cqw;
  background: rgba(255, 255, 255, 0.54);
}

.think-tank-person-contribution strong {
  display: block;
  color: #183f40;
  font-family: var(--section-title-font);
  font-size: 3.75cqw;
  font-weight: 500;
  line-height: 1.25;
}

.think-tank-person-contribution p {
  margin: 1.4cqw 0 0;
  color: #5c6a68;
  font-size: 3.05cqw;
  line-height: 1.72;
}

.think-tank-person-source {
  margin-top: 6.1cqw;
  padding: 3.2cqw 3.7cqw;
  border-radius: 2.1cqw;
  background: rgba(229, 233, 226, 0.56);
  color: #687572;
  font-size: 2.75cqw;
  line-height: 1.65;
}

.think-tank-person-source strong {
  display: block;
  margin-bottom: 0.8cqw;
  color: #4b5f5c;
  font-weight: 500;
}

.think-tank-person-return {
  display: grid;
  width: 100%;
  min-height: 11.7cqw;
  margin-top: 4cqw;
  place-items: center;
  border: 0;
  border-radius: 2.4cqw;
  background: #204a46;
  color: #fff;
  font-size: 3.4cqw;
  letter-spacing: 0.08cqw;
}

.think-tank-person-return:active {
  transform: scale(0.985);
}

.think-tank-page button:focus-visible,
.think-tank-page input:focus-visible,
.think-tank-person-page button:focus-visible {
  outline: 0.53cqw solid #2c686a;
  outline-offset: 0.45cqw;
}

.phone[data-page="think-tank"] .statusbar {
  height: 11.7cqw;
  padding: 0 5.2cqw 0 9cqw;
  background: transparent;
}

.phone[data-page="think-tank"] .statusbar .island {
  display: none;
}

.phone[data-page="think-tank"] .statusbar .system-icons {
  gap: 1.6cqw;
}

.phone[data-page="think-tank"] .statusbar .status-wifi {
  width: 4.3cqw;
}

.phone[data-page="think-tank"] .statusbar .status-battery {
  width: 6.3cqw;
}

.phone[data-page="think-tank"] .bottom-nav {
  height: 5cqw;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.phone[data-page="think-tank"] .bottom-nav button {
  display: none;
}

.phone[data-page="think-tank"] .toast {
  bottom: 7cqw;
}

@media (hover: hover) {
  .think-tank-research-item:hover,
  .think-tank-cooperation:hover {
    background-color: rgba(255, 255, 255, 0.6);
  }
}

html.view-h5 .think-tank-page {
  padding-bottom: calc(1.4cqw + env(safe-area-inset-bottom, 0px));
}

html.view-h5 .think-tank-person-page {
  padding-bottom: calc(4cqw + env(safe-area-inset-bottom, 0px));
}

@media (prefers-reduced-motion: reduce) {
  .think-tank-filterbar *,
  .think-tank-surname-dialog * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
