/* Homepage brand lockup: keep the text block exactly aligned to the logo. */
.brand {
  gap: 14px;
}

.brand-mark {
  display: block;
  width: 52px;
  height: 52px;
  padding: 0;
  background: transparent !important;
  border-radius: 0;
  object-fit: contain;
}

.brand-name {
  display: block;
  font-size: 17px;
  line-height: 32px;
}

.brand-name > span {
  display: block;
  position: relative;
  top: -1px;
  font-size: 9.5px;
  line-height: 20px;
}

/* Slightly enlarge the intro eyebrow for the new tagline. */
.intro-panel .eyebrow {
  font-size: 9px;
}

@media (min-width: 761px) and (max-width: 960px) {
  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 14px;
    line-height: 28px;
  }

  .brand-name > span {
    font-size: 8px;
    line-height: 18px;
  }
}

@media (min-width: 761px) and (max-width: 1200px) {
  .intro-panel .eyebrow {
    font-size: 8px;
  }
}

@media (max-width: 760px) {
  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-name {
    font-size: 14px;
    line-height: 27px;
  }

  .brand-name > span {
    font-size: 8px;
    line-height: 17px;
  }

  .intro-panel .eyebrow {
    font-size: 7px;
  }
}

/* The loading mark is the real logo, without a colored tile behind it. */
.loading-mark {
  padding: 0;
  background: transparent;
  border-radius: 0;
  object-fit: contain;
}

.loading-caption {
  font-size: 9px;
}

/* Keep the current-activity card in the lower-right breathing room. */
.activity-card {
  left: auto;
  right: 49px;
  bottom: 134px;
}

/* Keep the plane and dashed path aligned to the NOW BUILDING card. */
.build-note .doodle-cluster {
  position: absolute;
  top: -54px;
  left: 0;
  right: 0;
  height: 54px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 0 8px;
  z-index: 1;
}

.build-note .doodle-plane {
  width: 28px;
  height: 44px;
  flex: 0 0 28px;
  transform: translate(10px, 4px);
}

.build-note .intro-doodle {
  width: auto;
  flex: 1 1 auto;
  margin: 0;
  opacity: 0.9;
}

.build-note .doodle-plane svg,
.build-note .intro-doodle svg {
  width: 100%;
  height: auto;
}

.build-note .doodle-plane-end {
  transform: translate(-31px, -15px) rotate(-4deg);
}

.secondary-view {
  position: absolute;
  inset: 112px 327px 112px 365px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: transparent;
}

.secondary-view-inner {
  width: min(620px, 100%);
  padding: 48px;
  border: 1px solid #e1e2d6;
  border-radius: 18px;
  background: #faf9f280;
  text-align: center;
}

.secondary-view:not([hidden]) .secondary-view-inner {
  animation: secondary-view-in 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes secondary-view-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#app:not([data-view="room"]) .world-viewport,
#app:not([data-view="room"]) .character-label,
#app:not([data-view="room"]) .scene-tooltip,
#app:not([data-view="room"]) .control-dock,
#app:not([data-view="room"]) .control-hint {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.secondary-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #959983;
  font-size: 9px;
  letter-spacing: 1.65px;
}

.secondary-kicker i {
  display: block;
  width: 20px;
  height: 1px;
  background: #a1aa8d;
}

.secondary-view h2 {
  margin: 20px 0 12px;
  color: #4b573e;
  font-family: Songti SC, STSong, "Noto Serif SC", SimSun, serif;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 1px;
}

.secondary-view p {
  margin: 0;
  color: #929684;
  font-size: 13px;
  letter-spacing: 0.6px;
  line-height: 2;
}

.is-night .portfolio-header {
  border-bottom-color: #e7edd91a;
}

.is-night .portfolio-header h2,
.is-night .portfolio-section-heading h3,
.is-night .website-project-copy h4,
.is-night .phone-project-copy h4 {
  color: #dce5cc;
}

.is-night .portfolio-header > p,
.is-night .portfolio-section-heading > p,
.is-night .website-project-copy p,
.is-night .phone-project-copy p {
  color: #aab6a0;
}

.is-night .portfolio-section-heading > div:first-child > span,
.is-night .website-project-index,
.is-night .phone-project-copy > span,
.is-night .website-swiper-count {
  color: #9fad90;
}

.is-night .website-swiper-controls button {
  border-color: #e7edd91f;
  background: #dce3cc14;
  color: #becbaa;
}

.is-night .website-swiper-controls button:hover {
  border-color: #c7d4b440;
  background: #dce3cc24;
  color: #e2e9d6;
}

.is-night .website-slide {
  border-color: #eef0dc16;
  background: #dce3cc0e;
}

.is-night .website-project-copy > div span {
  background: #dce3cc14;
  color: #b8c4a6;
}

.is-night .website-swiper-dots button {
  background: #dce3cc26;
}

.is-night .website-swiper-dots button.is-active {
  background: #a4b68c;
}

.is-night .phone-shell {
  border-color: #1e2721;
  box-shadow: 0 17px 32px #111a1242, inset 0 0 0 1px #ffffff12;
}

.is-night .phone-project:hover .phone-shell {
  box-shadow: 0 22px 40px #111a125c, inset 0 0 0 1px #ffffff17;
}

.is-night .secondary-view {
  background: transparent;
}

.is-night .secondary-view-inner {
  border-color: #eef0dc1a;
  background: #dce3cc20;
}

.is-night .secondary-view h2 {
  color: #e3e8d7;
}

.is-night .secondary-view p,
.is-night .secondary-kicker {
  color: #b2beaa;
}

@media (min-width: 1600px) {
  .secondary-view {
    inset: 124px 338px 124px 417px;
  }
}

@media (min-width: 961px) and (max-width: 1200px) {
  .secondary-view {
    inset: 96px 283px 104px 311px;
  }
}

@media (min-width: 761px) and (max-width: 960px) {
  .secondary-view {
    inset: 92px 274px 104px 272px;
    padding: 8px;
  }

  .secondary-view-inner {
    padding: 32px 16px;
  }

  .secondary-view h2 {
    font-size: 34px;
  }

  .secondary-view p {
    font-size: 11px;
  }
}

@media (min-width: 761px) and (max-width: 1200px) {
  .activity-card {
    right: 30px;
    bottom: 126px;
  }
}

@media (max-width: 760px) {
  .activity-card {
    left: 24px;
    right: 24px;
    bottom: 142px;
  }
}

/* Increase the left information panel's type scale by one step. */
.intro-panel .eyebrow {
  font-size: 10px;
}

.intro-panel h1 {
  font-size: 44px;
}

.intro-panel .intro-copy {
  font-size: 13px;
}

.intro-panel .profile-name {
  font-size: 14px;
}

.intro-panel .profile-name > span {
  font-size: 9px;
}

.intro-panel .profile p {
  font-size: 11px;
}

.intro-panel .room-facts {
  font-size: 10px;
}

@media (min-width: 761px) {
  .intro-panel {
    top: 132px;
  }
}

.build-note {
  position: fixed;
  top: 132px;
  right: 49px;
  left: auto;
  bottom: auto;
  z-index: 3;
  width: 254px;
  margin: 0;
  padding: 12px 14px 11px;
  border: 1px dashed #d3d9c7;
  border-radius: 12px;
  background: #f8f7eea8;
  color: #697458;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  pointer-events: auto;
  user-select: text;
}

.support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid #d3dbc2;
  border-radius: 20px;
  background: #eef1e2e8;
  color: #71805e;
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 0.45px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.support-button:hover {
  background: #e2e9d1;
  color: #586b48;
  box-shadow: 0 5px 15px #74855212;
  transform: translateY(-1px);
}

.support-button:active {
  transform: translateY(0) scale(0.98);
}

.support-button svg {
  color: #9aa977;
}

.is-night .support-button {
  border-color: #e7edd926;
  background: #dce3cc20;
  color: #d0ddbb;
}

.build-note-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #99a187;
  font-size: 7px;
  font-weight: 550;
  letter-spacing: 1.35px;
}

.build-note-signal {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9cac7c;
  box-shadow: 0 0 0 3px #9cac7c18;
}

.build-note p {
  margin: 7px 0 9px;
  color: #657052;
  font-family: Songti SC, STSong, "Noto Serif SC", SimSun, serif;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.35px;
  white-space: nowrap;
}

.build-note-body {
  display: block;
  width: 100%;
}

.build-note-quote {
  height: 18px;
  overflow: hidden;
}

.build-note-quote span {
  display: block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.26s ease, transform 0.26s ease;
  will-change: opacity, transform;
}

.build-note-quote span.is-leaving {
  opacity: 0;
  transform: translateY(-5px);
}

.build-note-quote span.is-entering {
  opacity: 0;
  transform: translateY(5px);
  transition: none;
}

.build-note-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  width: 100%;
}

.build-note-tags span {
  padding: 3px 6px;
  border: 1px solid #e0e4d4;
  border-radius: 5px;
  color: #929985;
  font-size: 9px;
  letter-spacing: 0.35px;
  text-align: center;
  white-space: nowrap;
}

.is-night .build-note {
  border-color: #e7edd91f;
  background: #dce3cc18;
}

.is-night .build-note-kicker {
  color: #afbc9a;
}

.is-night .build-note p {
  color: #d2ddbf;
}

.is-night .build-note-tags span {
  border-color: #e7edd91a;
  color: #b7c39f;
}

.support-tree {
  position: absolute;
  top: 388px;
  left: 0;
  z-index: 3;
  width: 254px;
  height: 150px;
  overflow: hidden;
  margin: 0;
  pointer-events: auto;
}

.support-tree-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.support-tree-trigger:focus-visible {
  outline: 2px solid #9baf77;
  outline-offset: -3px;
}

.support-tree-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  pointer-events: none;
}

.support-tree-context-menu {
  position: fixed;
  z-index: 1000;
  min-width: 132px;
  padding: 5px;
  border: 1px solid #d9ddcd;
  border-radius: 9px;
  background: #f5f3e9;
  box-shadow: 0 10px 28px #4f594326;
}

.support-tree-context-menu[hidden] {
  display: none;
}

.support-tree-context-action {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 9px;
  border-radius: 6px;
  color: #657052;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.2px;
  text-decoration: none;
  white-space: nowrap;
}

.support-tree-context-action::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  box-shadow: inset 0 0 0 2px #f5f3e9;
  background: #819266;
}

.support-tree-context-action:hover,
.support-tree-context-action:focus-visible {
  outline: 0;
  background: #e4e8d8;
  color: #536044;
}

.support-tree-context-menu.is-night {
  border-color: #e7edd926;
  background: #3e4a3e;
  box-shadow: 0 10px 28px #20291b52;
}

.support-tree-context-menu.is-night .support-tree-context-action {
  color: #d0ddbb;
}

.support-tree-context-menu.is-night .support-tree-context-action::before {
  box-shadow: inset 0 0 0 2px #3e4a3e;
  background: #a7be83;
}

.support-tree-context-menu.is-night .support-tree-context-action:hover,
.support-tree-context-menu.is-night .support-tree-context-action:focus-visible {
  background: #dce3cc1f;
  color: #e3e8d7;
}

.contact-links {
  position: fixed;
  left: 56px;
  bottom: 48px;
  z-index: 4;
  width: 254px;
  margin-top: 0;
  padding: 13px 14px 11px;
  border: 1px solid #e1e2d6;
  border-radius: 13px;
  background: #faf9f280;
  box-shadow: 0 8px 30px #70664d03;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #969b85;
  pointer-events: auto;
}

.contact-card-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}

/* 赞赏入口属于联系卡片本身，固定在卡片标题行右侧。 */
.contact-card-heading .support-button {
  flex: 0 0 auto;
  height: 25px;
  margin-left: auto;
  padding: 0 8px;
  gap: 4px;
  border-radius: 20px;
  font-size: 7px;
}

.contact-card-heading .support-button svg {
  width: 11px;
  height: 11px;
}

.contact-card-mark {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #eceedf;
  color: #87966f;
}

.contact-card-mark svg {
  display: block;
}

.contact-label {
  display: block;
  color: #7f896d;
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 0.45px;
}

.contact-copy {
  display: block;
  margin-top: 3px;
  color: #a1a58f;
  font-size: 8px;
  letter-spacing: 0.5px;
}

.contact-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid #e5e7dc;
}

.contact-link {
  position: relative;
  width: auto;
  height: 34px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  padding: 0 5px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #7d896b;
  font: inherit;
  font-size: 8px;
  letter-spacing: 0.35px;
  white-space: nowrap;
  transition: color 0.2s, transform 0.2s, background 0.2s;
}

.contact-link:hover {
  color: #5f704e;
  background: #eef1e2;
  transform: translateY(-1px);
}

.contact-link img,
.contact-link svg {
  display: block;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  object-fit: contain;
  opacity: 0.9;
}

.contact-link > img {
  filter: brightness(0) saturate(100%) invert(48%) sepia(13%) saturate(975%) hue-rotate(44deg) brightness(91%) contrast(86%);
}

.contact-link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.is-night .contact-links {
  border-color: #eef0dc1a;
  background: #dce3cc20;
  box-shadow: none;
}

.is-night .contact-card-mark {
  background: #dce3cc18;
  color: #b6c59b;
}

.is-night .contact-label {
  color: #c8d3b5;
}

.is-night .contact-copy {
  color: #aeb99f;
}

.is-night .contact-items {
  border-color: #e7edd91a;
}

.is-night .contact-link {
  color: #b9c8a2;
}

.is-night .contact-link:hover {
  background: #dce3cc18;
  color: #d7e0c5;
}

.contact-flyout {
  position: absolute;
  top: auto;
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 132px;
  padding: 10px 10px 9px;
  border: 1px solid #dfe2d2;
  border-radius: 12px;
  background: #faf9f2;
  box-shadow: 0 9px 24px #70664d16;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.contact-flyout::before {
  position: absolute;
  top: auto;
  bottom: -5px;
  left: 50%;
  width: 9px;
  height: 9px;
  border-right: 1px solid #dfe2d2;
  border-bottom: 1px solid #dfe2d2;
  background: #faf9f2;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.contact-link:hover .contact-flyout,
.contact-link:focus-visible .contact-flyout {
  opacity: 1;
  transform: translate(-50%, 0);
}

.contact-flyout-title {
  position: relative;
  color: #677554;
  font-size: 9px;
  font-weight: 550;
  letter-spacing: 0.5px;
}

.contact-flyout img {
  position: relative;
  width: 100px;
  height: 100px;
  padding: 4px;
  border-radius: 8px;
  background: #fffefa;
  object-fit: contain;
  opacity: 1;
}

.contact-flyout-copy {
  position: relative;
  color: #9da18d;
  font-size: 7px;
  letter-spacing: 0.4px;
}

.is-night .contact-flyout {
  border-color: #eef0dc1a;
  background: #3e4a3e;
  box-shadow: 0 9px 24px #20291b2b;
}

.is-night .contact-flyout::before {
  border-color: #eef0dc1a;
  background: #3e4a3e;
}

.is-night .contact-flyout-title {
  color: #d0ddbb;
}

.is-night .contact-flyout-copy {
  color: #b6c2a2;
}

@media (min-width: 1600px) {
  .intro-panel {
    top: max(132px, calc(22% - 96px));
  }

  .build-note {
    top: max(132px, calc(22% - 96px));
  }

  .support-tree {
    top: 404px;
  }

  .contact-links {
    left: 73px;
  }

  .intro-panel h1 {
    font-size: 49px;
  }

  .intro-panel .intro-copy {
    font-size: 14px;
  }
}

@media (min-width: 961px) and (max-width: 1200px) {
  .build-note {
    right: 30px;
    left: auto;
    width: 229px;
    padding: 8px 10px 7px;
  }

  .build-note p {
    margin: 3px 0 5px;
    font-size: 10px;
    line-height: 1.3;
  }

  .build-note-quote {
    height: 13px;
  }

  .build-note-tags {
    gap: 4px;
  }

  .build-note-tags span {
    padding: 2px 5px;
    font-size: 8px;
  }

  .support-tree {
    top: 346px;
    width: 229px;
  }

  .contact-links {
    left: 35px;
  }

  .intro-panel .eyebrow {
    font-size: 9px;
  }

  .intro-panel h1 {
    font-size: 38px;
  }
}

@media (min-width: 761px) and (max-width: 960px) {
  .build-note {
    right: 30px;
    left: auto;
    width: 220px;
    padding: 8px 10px 7px;
  }

  .build-note p {
    margin: 3px 0 5px;
    font-size: 10px;
    line-height: 1.3;
  }

  .build-note-quote {
    height: 13px;
  }

  .build-note-tags {
    gap: 4px;
  }

  .build-note-tags span {
    padding: 2px 5px;
    font-size: 8px;
  }

  .support-tree {
    top: 316px;
    width: 220px;
  }

  .contact-links {
    left: 28px;
  }

  .intro-panel .eyebrow {
    font-size: 9px;
  }

  .intro-panel h1 {
    font-size: 33px;
  }

  .intro-panel .intro-copy {
    font-size: 11px;
  }
}

@media (max-width: 760px) {
  .support-button {
    gap: 4px;
    height: 31px;
    padding: 0 9px;
    font-size: 8px;
  }

  .support-button svg {
    width: 12px;
    height: 12px;
  }

  .intro-panel .eyebrow {
    font-size: 8px;
  }

  .intro-panel h1 {
    font-size: 33px;
  }

  .intro-panel .intro-copy {
    font-size: 11px;
  }

  .intro-panel .profile-name {
    font-size: 11px;
  }

  .intro-panel .profile-name > span {
    font-size: 7px;
  }

  .intro-panel .profile p {
    font-size: 8px;
  }

  .intro-panel .room-facts {
    font-size: 9px;
  }

  .build-note {
    display: none;
  }

  .support-tree {
    display: none;
  }

  .contact-links {
    position: static;
    left: auto;
    bottom: auto;
    z-index: auto;
    margin-top: 13px;
    width: min(254px, 100%);
    padding: 11px 12px 10px;
  }

  .contact-items {
    gap: 3px;
    margin-top: 9px;
    padding-top: 8px;
  }

  .contact-link {
    width: auto;
    height: 31px;
    gap: 4px;
    padding: 0 4px;
    font-size: 7px;
  }

  .contact-link img,
  .contact-link svg {
    width: 18px;
    height: 18px;
  }

}

@media (min-width: 761px) and (max-height: 780px) {
  .intro-panel {
    top: 102px;
  }

  .build-note {
    top: 102px;
    display: flex;
    align-items: center;
    gap: 7px;
    width: 254px;
    padding: 5px 8px;
  }

  .build-note-kicker {
    flex: 0 0 auto;
    gap: 4px;
    font-size: 6px;
    letter-spacing: 0.8px;
  }

  .build-note-signal {
    width: 4px;
    height: 4px;
  }

  .build-note-body {
    flex: 1 1 auto;
    min-width: 0;
  }

  .build-note p {
    display: none;
  }

  .build-note-tags {
    gap: 3px;
  }

  .build-note-tags span {
    padding: 2px 4px;
    font-size: 8px;
  }

  .support-tree {
    top: 342px;
    height: 128px;
  }

  .contact-links {
    bottom: 38px;
  }
}

@media (min-width: 761px) and (max-width: 1200px) and (max-height: 780px) {
  .build-note {
    width: 229px;
  }
}

@media (min-width: 761px) and (max-width: 960px) and (max-height: 780px) {
  .build-note {
    width: 220px;
  }
}

@media (max-width: 420px) {
  .intro-panel h1 {
    font-size: 29px;
  }
}

/* Keep the activity history beside the toy box in the lower-right corner. */
.bottom-actions {
  position: absolute;
  right: 49px;
  bottom: 48px;
  width: 254px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bottom-actions .toy-box-button {
  position: static;
  width: 126px;
  flex: 0 0 126px;
  padding: 0 9px;
  gap: 7px;
}

.journal-button {
  position: relative;
  min-width: 0;
  flex: 1 1 auto;
  height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid #cbd2bb;
  border-radius: 13px;
  background: #ebeedfe0;
  color: #6b7858;
  font-size: 11px;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.journal-button:hover {
  background: #e2e8d1;
  box-shadow: 0 5px 15px #74855212;
  transform: translateY(-2px);
}

.journal-button:active {
  transform: translateY(1px) scale(0.98);
}

.journal-button .new-dot {
  right: 10px;
  top: 8px;
}

.copyright {
  position: fixed;
  left: 56px;
  bottom: 18px;
  width: 254px;
  z-index: 4;
  margin: 0;
  transform: none;
  color: #a3a790;
  font-size: 10px;
  letter-spacing: 0.45px;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.beian {
  position: absolute;
  right: 49px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 254px;
  margin: 0;
  color: #a3a790;
  font-size: 10px;
  letter-spacing: 0.45px;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
}

.beian img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.journal-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  width: 366px;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  border-radius: 23px 0 0 23px;
}

.toy-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  width: 366px;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  border-radius: 23px 0 0 23px;
}

.journal-dialog,
.toy-dialog {
  transform: translateX(0);
}

.journal-dialog[open] {
  animation: journal-slide-in 0.28s ease-out;
}

.toy-dialog[open] {
  animation: journal-slide-in 0.28s ease-out;
}

@keyframes journal-slide-in {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (min-width: 761px) and (max-width: 1200px) {
  .bottom-actions {
    right: 30px;
    bottom: 48px;
    width: 229px;
  }

  .bottom-actions .toy-box-button {
    width: 120px;
    flex-basis: 120px;
    padding: 0 7px;
    gap: 6px;
  }

  .journal-button {
    font-size: 10px;
    gap: 6px;
    padding: 0 9px;
  }

  .copyright {
    left: 35px;
    width: 254px;
  }

  .beian {
    right: 30px;
    width: 229px;
  }
}

@media (min-width: 761px) and (max-width: 1200px) and (max-height: 780px) {
  .bottom-actions {
    bottom: 38px;
  }

  .copyright {
    bottom: 10px;
  }

  .build-note .doodle-cluster {
    display: none;
  }
}

@media (max-width: 760px) {
  .secondary-view {
    inset: 92px 16px 120px;
    padding: 16px;
  }

  .secondary-view-inner {
    padding: 32px 24px;
  }

  .secondary-view h2 {
    font-size: 32px;
  }

  .secondary-view p {
    font-size: 11px;
  }

  .build-note .doodle-cluster {
    display: none;
  }

  .bottom-actions {
    right: 24px;
    bottom: 66px;
    width: calc(100vw - 48px);
    gap: 7px;
  }

  .journal-button {
    height: 52px;
    padding: 0 13px;
    font-size: 10px;
  }

  .copyright {
    position: static;
    left: auto;
    bottom: auto;
    width: min(254px, 100%);
    z-index: auto;
    margin: 8px 0 0;
    font-size: 9px;
  }

  .beian {
    right: 24px;
    bottom: 38px;
    width: calc(100vw - 48px);
    font-size: 9px;
  }

  .beian img {
    width: 14px;
    height: 14px;
  }

  .bottom-actions .toy-box-button {
    height: 52px;
    width: 52px;
    flex-basis: 52px;
    padding: 0;
    gap: 0;
  }

  .journal-dialog {
    width: min(366px, calc(100vw - 16px));
    border-radius: 18px 0 0 18px;
  }

  .toy-dialog {
    width: min(366px, calc(100vw - 16px));
    border-radius: 18px 0 0 18px;
  }
}

@media (min-width: 1600px) {
  .bottom-actions {
    width: 265px;
  }

  .copyright {
    left: 73px;
    width: 254px;
  }

  .beian {
    width: 265px;
  }
}

@media (min-width: 761px) and (max-width: 960px) {
  .bottom-actions {
    width: 220px;
  }

  .copyright {
    left: 28px;
    width: 254px;
  }

  .beian {
    right: 30px;
    width: 220px;
  }

  .bottom-actions .toy-box-button {
    width: 54px;
    flex-basis: 54px;
    padding: 0;
  }
}

@media (max-width: 760px) and (max-height: 740px) {
  .bottom-actions {
    bottom: 48px;
  }

  .beian {
    bottom: 23px;
  }

}

/* Keep compact dialogs as bottom sheets; help follows the right-side workspace drawers. */
dialog {
  position: fixed;
  inset: auto auto 24px 50%;
  width: min(452px, calc(100vw - 32px));
  height: auto;
  max-height: calc(100dvh - 48px);
  margin: 0;
  transform: translateX(-50%);
}

.help-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(430px, calc(100vw - 16px));
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 36px 34px 30px;
  border-radius: 24px 0 0 24px;
  transform: translateX(0);
  overscroll-behavior: contain;
}

dialog[open] {
  animation: bottom-sheet-in 0.28s ease-out;
}

.help-dialog[open] {
  animation: help-drawer-in 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.help-dialog::backdrop {
  background: #3c432918;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

@keyframes help-drawer-in {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bottom-sheet-in {
  from {
    opacity: 0;
    transform: translate(-50%, calc(100% + 24px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 760px) {
  dialog {
    inset: auto auto 16px 50%;
    width: calc(100vw - 32px);
    max-height: calc(100dvh - 32px);
    border-radius: 18px;
  }

  .help-dialog {
    inset: auto auto 8px 50%;
    width: calc(100vw - 16px);
    height: auto;
    max-height: calc(100dvh - 16px);
    padding: 26px 24px 22px;
    border-radius: 22px;
    transform: translateX(-50%);
  }

  .help-dialog[open] {
    animation: help-sheet-in 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
}

@keyframes help-sheet-in {
  from {
    opacity: 0;
    transform: translate(-50%, calc(100% + 16px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.support-dialog {
  position: fixed;
  inset: 50% auto auto 50%;
  width: min(428px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: 0;
  padding: 28px 28px 24px;
  border: 1px solid #e1e5d5;
  border-radius: 26px;
  background: #faf9f2;
  color: #4c5840;
  text-align: center;
  transform: translate(-50%, -50%);
}

.support-dialog[open] {
  animation: support-dialog-in 0.22s ease-out;
}

.support-dialog .dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eeeee1;
  color: #909a7e;
}

.support-dialog-kicker {
  display: block;
  color: #9aa687;
  font-size: 7px;
  font-weight: 550;
  letter-spacing: 1.2px;
}

.support-dialog h2 {
  margin: 8px 0 5px;
  color: #59654a;
  font-family: Songti SC, STSong, "Noto Serif SC", SimSun, serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.7px;
  line-height: 1.35;
}

.support-dialog-copy {
  margin: 0;
  color: #8b947c;
  font-size: 10.5px;
  letter-spacing: 0.35px;
  line-height: 1.7;
}

.support-dialog-qr {
  width: min(340px, 100%);
  height: auto;
  aspect-ratio: 1;
  margin: 16px auto 12px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dfe4d3;
  border-radius: 18px;
  background: #fffef8;
  box-shadow: 0 12px 34px #59654a0d;
}

.support-dialog-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(2.15);
  transform-origin: 50% 27%;
}

.support-dialog-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #a2aa91;
  font-size: 9px;
  letter-spacing: 0.45px;
}

.support-dialog-tip::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d3ad4c;
  box-shadow: 0 0 0 3px #d3ad4c18;
}

.is-night .support-dialog {
  border-color: #e7edd926;
  background: #3e4a3e;
  color: #dce5cc;
}

.is-night .support-dialog h2 {
  color: #e0e8cf;
}

.is-night .support-dialog-copy,
.is-night .support-dialog-tip {
  color: #b5c2a2;
}

.is-night .support-dialog-qr {
  border-color: #e7edd91f;
  background: #f9f8f0;
  box-shadow: none;
}

@media (max-width: 420px) {
  .support-dialog {
    width: calc(100vw - 20px);
    padding: 24px 20px 20px;
    border-radius: 22px;
  }

  .support-dialog .dialog-close {
    top: 7px;
    right: 7px;
  }

  .support-dialog h2 {
    font-size: 22px;
  }

  .support-dialog-copy {
    font-size: 10px;
  }

  .support-dialog-qr {
    margin-top: 14px;
  }
}

@keyframes support-dialog-in {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 10px)) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Secondary pages: skill map and personal profile. */
.secondary-view {
  inset: 112px 327px 112px 365px;
  z-index: 2;
  display: block;
  padding: 10px 12px 28px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #bdc5ae transparent;
  background: transparent;
}

.secondary-view-inner {
  width: 100%;
  min-height: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.secondary-view:not([hidden]) .secondary-view-inner {
  animation: none;
}

.secondary-panel {
  min-height: 100%;
  animation: secondary-panel-in 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes secondary-panel-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.secondary-page-header {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.65fr);
  gap: 28px;
  align-items: end;
  padding: 16px 3px 24px;
  border-bottom: 1px solid #dfe2d6;
}

.secondary-kicker {
  justify-content: flex-start;
  color: #8e987d;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.8px;
}

.secondary-page-header h2,
.about-hero h2 {
  max-width: none;
  margin: 14px 0 0;
  color: #4b573e;
  font-family: Songti SC, STSong, "Noto Serif SC", SimSun, serif;
  font-size: clamp(30px, 2.7vw, 40px);
  font-weight: 500;
  letter-spacing: -0.7px;
  line-height: 1.22;
  text-wrap: balance;
}

.secondary-page-header > p {
  max-width: 36em;
  margin: 0 0 5px;
  color: #8d927f;
  font-size: 10px;
  letter-spacing: 0.35px;
  line-height: 1.9;
  text-wrap: pretty;
}

.skills-map {
  position: relative;
  padding: 23px 3px 0;
}

.skill-core {
  position: relative;
  display: grid;
  grid-template-columns: 42px auto 1fr;
  gap: 16px;
  align-items: center;
  width: min(560px, 88%);
  min-height: 72px;
  margin: 0 auto 36px;
  padding: 14px 20px 14px 14px;
  border: 1px solid #dce1d3;
  border-radius: 15px;
  background: #f8f7efa6;
  box-shadow: inset 0 1px 0 #ffffffb8;
}

.skill-core::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -37px;
  width: 1px;
  height: 36px;
  background: #bec8ad;
}

.skill-core-index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e8eddc;
  color: #748364;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.skill-core small {
  display: block;
  margin-bottom: 5px;
  color: #a0a690;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 1.25px;
}

.skill-core strong {
  color: #57644a;
  font-family: Songti SC, STSong, "Noto Serif SC", SimSun, serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.skill-core p {
  justify-self: end;
  margin: 0;
  color: #929783;
  font-size: 10px;
  line-height: 1.7;
}

.skill-branches {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 1fr;
  gap: 16px;
  padding-top: 23px;
}

.skill-branches::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16.67%;
  right: 16.67%;
  height: 1px;
  background: #bec8ad;
}

.skill-branch {
  position: relative;
  min-height: 186px;
  padding: 16px 15px 14px;
  overflow: visible;
  border: 1px solid #dfe2d6;
  border-radius: 13px;
  background: #faf9f294;
  transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.skill-branch::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 50%;
  width: 1px;
  height: 24px;
  background: #bec8ad;
}

.skill-branch::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -28px;
  width: 90px;
  height: 90px;
  border: 1px solid #a7b3922e;
  border-radius: 50%;
  box-shadow: 0 0 0 15px #a7b3920b, 0 0 0 30px #a7b39208;
  pointer-events: none;
}

.skill-branch:nth-child(2) {
  margin-top: 13px;
}

.skill-branch:hover {
  z-index: 1;
  border-color: #b9c5a8;
  background: #fcfbf4e8;
  box-shadow: 0 14px 35px #5262440b;
  transform: translateY(-4px);
}

.skill-branch:nth-child(2):hover {
  transform: translateY(-4px);
}

.skill-branch-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9ca38e;
  font-size: 7px;
  letter-spacing: 1.2px;
}

.skill-branch-top b {
  color: #82906f;
  font-size: 10px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.skill-branch h3 {
  margin: 13px 0 8px;
  color: #566149;
  font-family: Songti SC, STSong, "Noto Serif SC", SimSun, serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.skill-branch p {
  max-width: 30em;
  min-height: 41px;
  margin: 0;
  color: #919683;
  font-size: 9.5px;
  letter-spacing: 0.15px;
  line-height: 1.75;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 13px;
}

.skill-tags span {
  padding: 4px 7px;
  border-radius: 5px;
  background: #eef1e6;
  color: #7e886f;
  font-size: 8px;
  letter-spacing: 0.25px;
}

.skill-meter {
  height: 2px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 2px;
  background: #e3e7dc;
}

.skill-meter i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #91a077;
  transform: scaleX(var(--skill-level));
  transform-origin: left;
}

.skill-extensions {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, 1fr);
  align-items: center;
  gap: 0;
  margin-top: 19px;
  border-top: 1px solid #e1e4d9;
  border-bottom: 1px solid #e1e4d9;
}

.skill-extension-label {
  color: #9ba28c;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 1.35px;
}

.skill-extension {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 15px;
  border-left: 1px solid #e1e4d9;
}

.skill-extension b {
  color: #747f65;
  font-size: 9.5px;
  font-weight: 550;
}

.skill-extension span {
  color: #a1a891;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.secondary-page-note {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 3px 0;
}

.secondary-page-note span {
  color: #a2a894;
  font-size: 7px;
  letter-spacing: 1.35px;
}

.secondary-page-note p {
  margin: 0;
  color: #8b927e;
  font-family: Songti SC, STSong, "Noto Serif SC", SimSun, serif;
  font-size: 11px;
  letter-spacing: 0.35px;
}

.secondary-placeholder {
  display: flex;
  min-height: calc(100dvh - 180px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.secondary-placeholder .secondary-kicker {
  justify-content: center;
}

.secondary-placeholder h2 {
  margin: 20px 0 12px;
  color: #4b573e;
  font-family: Songti SC, STSong, "Noto Serif SC", SimSun, serif;
  font-size: 42px;
  font-weight: 500;
}

.secondary-placeholder p {
  margin: 0;
  color: #929684;
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* Portfolio: browser swiper above, mini-program devices below. */
.portfolio-header {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr);
  gap: 28px;
  align-items: end;
  padding: 16px 3px 22px;
  border-bottom: 1px solid #dfe2d6;
}

.portfolio-header h2 {
  margin: 13px 0 0;
  color: #4b573e;
  font-family: Songti SC, STSong, "Noto Serif SC", SimSun, serif;
  font-size: clamp(30px, 2.7vw, 40px);
  font-weight: 500;
  letter-spacing: -0.7px;
  line-height: 1.22;
  text-wrap: balance;
}

.portfolio-header > p {
  max-width: 31em;
  margin: 0 0 4px;
  color: #8d927f;
  font-size: 10px;
  letter-spacing: 0.35px;
  line-height: 1.9;
}

.website-showcase,
.miniapp-showcase {
  padding: 23px 3px 0;
}

.portfolio-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 13px;
}

.portfolio-section-heading > div:first-child > span {
  display: block;
  margin-bottom: 5px;
  color: #9aa18b;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 1.35px;
}

.portfolio-section-heading h3 {
  margin: 0;
  color: #606c53;
  font-family: Songti SC, STSong, "Noto Serif SC", SimSun, serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.portfolio-section-heading > p {
  max-width: 29em;
  margin: 0;
  color: #979c89;
  font-size: 8.5px;
  letter-spacing: 0.2px;
  line-height: 1.6;
  text-align: right;
}

.website-swiper-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.website-swiper-count {
  margin-right: 5px;
  color: #89957a;
  font-size: 8px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

.website-swiper-controls button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0 0 2px;
  border: 1px solid #d8ddcf;
  border-radius: 8px;
  background: #f7f6eeaa;
  color: #748265;
  font-size: 13px;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}

.website-swiper-controls button:hover {
  border-color: #b7c2a7;
  background: #edf1e4;
  color: #536545;
  transform: translateY(-1px);
}

.website-swiper-controls button:active {
  transform: scale(0.96);
}

.website-swiper {
  overflow: hidden;
  border-radius: 15px;
  outline-offset: 4px;
  touch-action: pan-y;
}

.website-swiper-track {
  display: flex;
  transform: translate3d(0, 0, 0);
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.website-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(160px, 0.55fr);
  gap: 15px;
  min-width: 100%;
  padding: 10px;
  border: 1px solid #dfe2d6;
  border-radius: 15px;
  background: #faf9f28f;
  opacity: 0.55;
  transition: opacity 0.35s;
}

.website-slide.is-active {
  opacity: 1;
}

.website-browser {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d8ddd0;
  border-radius: 10px;
  background: #eef0e8;
  box-shadow: 0 10px 28px #5862490b;
}

.website-browser-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 8px;
  border-bottom: 1px solid #dfe3d7;
  background: #f4f4ed;
}

.website-browser-bar > i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b2baa5;
}

.website-browser-bar > i:nth-child(2) {
  background: #c8b993;
}

.website-browser-bar > span {
  min-width: 0;
  margin-left: 5px;
  overflow: hidden;
  color: #a0a592;
  font-size: 6px;
  letter-spacing: 0.35px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-preview,
.data-preview,
.ai-preview {
  height: 202px;
}

.studio-preview {
  position: relative;
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  overflow: hidden;
  background: #f2efe7;
}

.studio-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(#71806408 1px, transparent 1px), linear-gradient(90deg, #71806408 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(to right, transparent, #000);
}

.studio-preview-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 17px 6px 17px 17px;
}

.studio-preview-copy small,
.ai-preview-main > small {
  color: #96a087;
  font-size: 5.5px;
  font-weight: 600;
  letter-spacing: 1px;
}

.studio-preview-copy strong {
  margin-top: 10px;
  color: #536047;
  font-family: Songti SC, STSong, "Noto Serif SC", SimSun, serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.studio-preview-copy > span {
  margin-top: 9px;
  color: #999d8e;
  font-size: 6px;
}

.studio-preview-room {
  position: relative;
  align-self: center;
  justify-self: center;
  width: 150px;
  height: 122px;
  border-radius: 50% 50% 14px 14px;
  background: radial-gradient(circle at 67% 31%, #e6cf9b80 0 13%, transparent 28%), linear-gradient(145deg, #c9d7c0 0 50%, #aab99f 50%);
  box-shadow: inset 0 -18px 30px #50614917, 0 17px 24px #5a664b13;
  transform: rotateX(52deg) rotateZ(-29deg);
}

.studio-preview-room i {
  position: absolute;
  display: block;
  transform: rotateZ(29deg) rotateX(-32deg);
}

.room-desk {
  left: 46px;
  top: 38px;
  width: 68px;
  height: 32px;
  border-radius: 4px;
  background: #9c7251;
  box-shadow: 0 6px 0 #76573f;
}

.room-lamp {
  right: 28px;
  top: 12px;
  width: 12px;
  height: 35px;
  border-radius: 50% 50% 3px 3px;
  background: #e1bd72;
  box-shadow: 0 0 19px #edc978;
}

.room-chair {
  left: 55px;
  bottom: 18px;
  width: 30px;
  height: 35px;
  border-radius: 12px 12px 6px 6px;
  background: #677761;
}

.room-person {
  left: 88px;
  bottom: 22px;
  width: 16px;
  height: 31px;
  border-radius: 10px 10px 5px 5px;
  background: #507ca0;
  box-shadow: 0 -9px 0 -3px #d29b73;
}

.room-plant {
  left: 18px;
  top: 27px;
  width: 18px;
  height: 31px;
  border-radius: 60% 10% 50% 10%;
  background: #708466;
  box-shadow: 9px -5px 0 -2px #899b78, 3px 10px 0 3px #b98557;
}

.data-preview {
  display: grid;
  grid-template-columns: 58px 1fr;
  background: #edf0e9;
}

.data-preview aside {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px 10px;
  background: #5d6954;
}

.data-preview aside b {
  margin-bottom: 12px;
  color: #edf1e3;
  font-size: 6px;
  letter-spacing: 1px;
}

.data-preview aside span {
  width: 32px;
  height: 3px;
  border-radius: 3px;
  background: #dce5cd42;
}

.data-preview aside span:first-of-type {
  background: #dce5cdbd;
}

.data-preview-main {
  padding: 15px;
}

.data-preview-main header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.data-preview-main header small,
.data-preview-main header strong {
  display: block;
}

.data-preview-main header small {
  color: #a1a897;
  font-size: 5.5px;
}

.data-preview-main header strong {
  margin-top: 3px;
  color: #56614e;
  font-size: 11px;
}

.data-preview-main header em {
  color: #9ba490;
  font-size: 6px;
  font-style: normal;
  letter-spacing: 0.7px;
}

.data-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 14px;
}

.data-kpis i {
  padding: 8px;
  border-radius: 6px;
  background: #f8f8f2;
  color: #5c6853;
  font-size: 9px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.data-kpis small {
  display: block;
  margin-top: 4px;
  color: #a1a898;
  font-size: 5px;
}

.data-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 86px;
  margin-top: 12px;
  padding: 12px 12px 7px;
  border-radius: 7px;
  background: #f8f8f2;
}

.data-chart span {
  flex: 1;
  height: 42%;
  border-radius: 2px 2px 0 0;
  background: #a8b995;
}

.data-chart span:nth-child(2) { height: 64%; }
.data-chart span:nth-child(3) { height: 48%; }
.data-chart span:nth-child(4) { height: 81%; }
.data-chart span:nth-child(5) { height: 70%; }
.data-chart span:nth-child(6) { height: 92%; }
.data-chart span:nth-child(7) { height: 76%; background: #c5a26f; }

.ai-preview {
  display: grid;
  grid-template-columns: 75px 1fr;
  background: #edf0e9;
}

.ai-preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 10px;
  border-right: 1px solid #dce1d6;
  background: #f5f5ee;
}

.ai-preview-sidebar b {
  margin-bottom: 12px;
  color: #59664e;
  font-size: 7px;
  letter-spacing: 0.8px;
}

.ai-preview-sidebar span {
  padding: 5px;
  border-radius: 4px;
  color: #989f8e;
  font-size: 5.5px;
}

.ai-preview-sidebar span.is-current {
  background: #e5ebdc;
  color: #68765a;
}

.ai-preview-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 19px;
}

.ai-preview-main > strong {
  margin-top: 6px;
  color: #55614a;
  font-family: Songti SC, STSong, "Noto Serif SC", SimSun, serif;
  font-size: 15px;
  font-weight: 600;
}

.ai-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 10px 11px;
  border: 1px solid #d9dfd2;
  border-radius: 7px;
  background: #f9f9f3;
  color: #7d8673;
  font-size: 6.5px;
}

.ai-prompt i {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #768668;
  color: #f6f6ed;
  font-style: normal;
}

.ai-result {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  padding: 9px;
  border-radius: 7px;
  background: #e4eadb;
}

.ai-result > span {
  width: 21px;
  height: 21px;
  border: 5px solid #91a27f;
  border-right-color: #c6a778;
  border-radius: 50%;
}

.ai-result b,
.ai-result small {
  display: block;
}

.ai-result b {
  color: #617054;
  font-size: 6.5px;
}

.ai-result small {
  margin-top: 3px;
  color: #8c9682;
  font-size: 5px;
}

.website-project-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 7px 5px 7px 3px;
}

.website-project-index {
  color: #a0a792;
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 1px;
}

.website-project-copy h4 {
  margin: 12px 0 8px;
  color: #566149;
  font-family: Songti SC, STSong, "Noto Serif SC", SimSun, serif;
  font-size: 19px;
  font-weight: 600;
}

.website-project-copy p {
  margin: 0;
  color: #929783;
  font-size: 8.5px;
  letter-spacing: 0.15px;
  line-height: 1.75;
}

.website-project-copy > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 14px;
}

.website-project-copy > div span {
  padding: 4px 6px;
  border-radius: 4px;
  background: #edf0e5;
  color: #7f8972;
  font-size: 6.5px;
}

.website-swiper-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 9px;
}

.website-swiper-dots button {
  width: 18px;
  height: 3px;
  padding: 0;
  border-radius: 3px;
  background: #d4dacd;
  transition: width 0.25s, background 0.25s;
}

.website-swiper-dots button.is-active {
  width: 30px;
  background: #859775;
}

.miniapp-showcase {
  padding-top: 30px;
  padding-bottom: 18px;
}

.phone-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(145px, 1fr));
  gap: 15px;
  align-items: start;
  padding: 6px 4px 0;
}

.phone-project {
  min-width: 0;
  text-align: center;
}

.phone-project-raised {
  padding-top: 18px;
}

.phone-shell {
  position: relative;
  width: 142px;
  height: 288px;
  margin: 0 auto;
  padding: 9px 7px 11px;
  overflow: hidden;
  border: 1px solid #52584f;
  border-radius: 27px;
  background: #343a35;
  box-shadow: 0 17px 32px #4e58431c, inset 0 0 0 1px #ffffff14;
  transition: transform 0.28s, box-shadow 0.28s;
}

.phone-project:hover .phone-shell {
  box-shadow: 0 22px 40px #4e584329, inset 0 0 0 1px #ffffff1a;
  transform: translateY(-5px) rotate(-0.7deg);
}

.phone-project-raised:hover .phone-shell {
  transform: translateY(-5px) rotate(0.7deg);
}

.phone-speaker {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 3;
  width: 42px;
  height: 10px;
  border-radius: 0 0 8px 8px;
  background: #343a35;
  transform: translateX(-50%);
}

.phone-status {
  position: absolute;
  top: 15px;
  right: 15px;
  left: 15px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: #5d6856;
  font-size: 5px;
  font-variant-numeric: tabular-nums;
}

.phone-status i {
  font-style: normal;
  letter-spacing: 1px;
}

.phone-screen-ui {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: #f6f5ee;
  text-align: left;
}

.phone-screen-ui > header {
  padding: 23px 12px 8px;
}

.phone-screen-ui > header small,
.phone-screen-ui > header b {
  display: block;
}

.phone-screen-ui > header small {
  color: #99a08c;
  font-size: 5px;
  font-weight: 600;
  letter-spacing: 0.9px;
}

.phone-screen-ui > header b {
  margin-top: 4px;
  color: #536047;
  font-family: Songti SC, STSong, "Noto Serif SC", SimSun, serif;
  font-size: 11px;
}

.phone-home-indicator {
  position: absolute;
  bottom: 5px;
  left: 50%;
  z-index: 3;
  width: 40px;
  height: 2px;
  border-radius: 2px;
  background: #92978f;
  transform: translateX(-50%);
}

.phone-screen-ui > nav {
  position: absolute;
  right: 8px;
  bottom: 7px;
  left: 8px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 24px;
  border-radius: 10px;
  background: #ffffffcf;
  box-shadow: 0 4px 12px #4f5b4910;
}

.phone-screen-ui > nav i {
  width: 9px;
  height: 4px;
  border-radius: 3px;
  background: #ccd1c6;
}

.phone-screen-ui > nav i.is-current {
  width: 16px;
  background: #839374;
}

.peel-timer {
  display: flex;
  width: 96px;
  height: 96px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 5px auto 10px;
  border: 7px solid #dfe7d4;
  border-top-color: #819273;
  border-radius: 50%;
  background: #eef2e7;
}

.peel-timer span {
  color: #55654a;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.peel-timer small {
  margin-top: 5px;
  color: #939b87;
  font-size: 4.5px;
}

.peel-task {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 10px;
  padding: 8px;
  border-radius: 8px;
  background: #e8ece1;
}

.peel-task > i {
  width: 17px;
  height: 17px;
  border: 4px solid #96a686;
  border-radius: 50%;
}

.peel-task b,
.peel-task span {
  display: block;
}

.peel-task b {
  color: #68765c;
  font-size: 6px;
}

.peel-task span {
  margin-top: 3px;
  color: #9aa08e;
  font-size: 4.5px;
}

.peel-start {
  display: grid;
  place-items: center;
  height: 25px;
  margin: 8px 10px 0;
  border-radius: 7px;
  background: #77896a;
  color: #f7f7ed;
  font-size: 6px;
  letter-spacing: 0.4px;
}

.phone-shell-prompt .phone-screen-ui {
  background: #f0eee8;
}

.prompt-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 3px 10px 0;
  padding: 7px 8px;
  border-radius: 7px;
  background: #faf9f5;
  color: #9a9a91;
  font-size: 5.5px;
}

.prompt-search i {
  color: #65725d;
  font-size: 9px;
  font-style: normal;
}

.prompt-tabs,
.parking-filters {
  display: flex;
  gap: 5px;
  margin: 8px 10px;
}

.prompt-tabs span,
.parking-filters span {
  padding: 4px 7px;
  border-radius: 8px;
  color: #969a8f;
  font-size: 5px;
}

.prompt-tabs span.is-current,
.parking-filters span.is-current {
  background: #5f6e57;
  color: #f6f6ee;
}

.prompt-card {
  margin: 0 10px;
  padding: 11px;
  border-radius: 10px;
  background: #dfe6db;
  box-shadow: 0 8px 16px #4f5c4911;
}

.prompt-card small,
.prompt-card b,
.prompt-card p,
.prompt-card > span {
  display: block;
}

.prompt-card small {
  color: #85917c;
  font-size: 5px;
}

.prompt-card b {
  margin-top: 9px;
  color: #55634e;
  font-family: Songti SC, STSong, "Noto Serif SC", SimSun, serif;
  font-size: 10px;
}

.prompt-card p {
  margin: 7px 0 13px;
  color: #838e7b;
  font-size: 5.5px;
  line-height: 1.65;
}

.prompt-card > span {
  padding-top: 8px;
  border-top: 1px solid #c9d2c4;
  color: #65725e;
  font-size: 5.5px;
  text-align: right;
}

.phone-shell-parking .phone-screen-ui {
  background: #eef3f4;
}

.phone-shell-parking .phone-screen-ui > header b {
  color: #315f7d;
}

.parking-hero {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 10px 9px;
  padding: 9px;
  border-radius: 10px;
  background: #d9eaf2;
}

.parking-hero > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #3b88b5;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.parking-hero small,
.parking-hero b {
  display: block;
}

.parking-hero small {
  color: #7890a0;
  font-size: 5px;
}

.parking-hero b {
  margin-top: 4px;
  color: #315e79;
  font-size: 8px;
}

.parking-filters span.is-current {
  background: #3e87ad;
}

.parking-card {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 7px;
  align-items: center;
  margin: 0 10px;
  padding: 9px 7px;
  border-radius: 9px;
  background: #fff;
}

.parking-card > i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #d9eaf2;
  color: #3a7da2;
  font-size: 6px;
  font-style: normal;
}

.parking-card b,
.parking-card small {
  display: block;
}

.parking-card b {
  color: #446273;
  font-size: 6px;
}

.parking-card small {
  margin-top: 3px;
  color: #92a1aa;
  font-size: 4.5px;
}

.parking-card > span {
  padding: 3px 4px;
  border-radius: 5px;
  background: #deeee0;
  color: #5a9064;
  font-size: 4.5px;
}

.phone-project-copy {
  padding: 11px 4px 0;
}

.phone-project-copy > span {
  color: #a1a793;
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 1px;
}

.phone-project-copy h4 {
  margin: 6px 0 4px;
  color: #5b6750;
  font-family: Songti SC, STSong, "Noto Serif SC", SimSun, serif;
  font-size: 13px;
  font-weight: 600;
}

.phone-project-copy p {
  margin: 0;
  color: #969b89;
  font-size: 7px;
  line-height: 1.6;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
  padding: 16px 3px 28px;
  border-bottom: 1px solid #dfe2d6;
}

.about-copy > p {
  max-width: 49em;
  margin: 20px 0 0;
  color: #898f7c;
  font-size: 11px;
  letter-spacing: 0.35px;
  line-height: 1.95;
  text-wrap: pretty;
}

.about-role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.about-role-list span {
  padding: 6px 9px;
  border: 1px solid #dde2d4;
  border-radius: 7px;
  color: #768269;
  font-size: 8.5px;
  letter-spacing: 0.3px;
}

.about-card {
  position: relative;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #dce1d3;
  border-radius: 16px;
  background: #f8f7efa6;
  box-shadow: inset 0 1px 0 #ffffffbd;
}

.about-card::after {
  content: "PROFILE / 001";
  position: absolute;
  top: 16px;
  right: 17px;
  color: #a2a995;
  font-size: 6.5px;
  letter-spacing: 1.2px;
}

.about-avatar {
  width: 56px;
  height: 56px;
  padding: 3px;
  border: 1px solid #d4dacb;
  border-radius: 50%;
  background: #eef1e5;
}

.about-avatar svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.about-card-name {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 14px;
}

.about-card-name strong {
  color: #566149;
  font-family: Songti SC, STSong, "Noto Serif SC", SimSun, serif;
  font-size: 18px;
  font-weight: 600;
}

.about-card-name span {
  color: #a0a590;
  font-size: 8px;
  letter-spacing: 0.6px;
}

.about-card > p {
  margin: 11px 0 16px;
  color: #8f9580;
  font-size: 9px;
  letter-spacing: 0.2px;
  line-height: 1.8;
}

.about-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #e1e4d9;
  color: #6f7d60;
  font-size: 8.5px;
  letter-spacing: 0.45px;
  transition: color 0.2s;
}

.about-card > a:hover {
  color: #4d6040;
}

.about-card > a span {
  font-size: 13px;
}

.about-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 48px);
  padding: 26px 3px 0;
}

.about-section-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.about-section-heading span {
  color: #a0a792;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 1.25px;
}

.about-section-heading h3 {
  margin: 0;
  color: #647056;
  font-family: Songti SC, STSong, "Noto Serif SC", SimSun, serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.25px;
}

.about-journey ol {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.about-journey li {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 17px;
  padding: 0 0 19px;
}

.about-journey li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 27px;
  bottom: 0;
  width: 1px;
  background: #d7dccf;
}

.about-journey li > span {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 25px;
  border: 1px solid #d7ddce;
  border-radius: 13px;
  background: #f1f3e9;
  color: #7f8b70;
  font-size: 8px;
}

.about-journey b,
.about-method b {
  display: block;
  color: #616d54;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25px;
}

.about-journey p,
.about-method p {
  margin: 6px 0 0;
  color: #969b88;
  font-size: 9px;
  letter-spacing: 0.15px;
  line-height: 1.75;
}

.about-method-grid {
  display: grid;
  gap: 1px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid #dfe2d6;
  border-radius: 13px;
  background: #dfe2d6;
}

.about-method article {
  position: relative;
  min-height: 75px;
  padding: 14px 44px 13px 16px;
  background: #faf9f2b5;
}

.about-method article > span {
  position: absolute;
  top: 14px;
  right: 15px;
  color: #a5ab98;
  font-size: 8px;
  font-variant-numeric: tabular-nums;
}

.is-night .secondary-view {
  background: transparent;
}

.is-night .secondary-page-header,
.is-night .about-hero {
  border-bottom-color: #e7edd91a;
}

.is-night .secondary-page-header h2,
.is-night .about-hero h2,
.is-night .secondary-placeholder h2 {
  color: #e3e8d7;
}

.is-night .secondary-page-header > p,
.is-night .about-copy > p,
.is-night .secondary-page-note p,
.is-night .secondary-placeholder p {
  color: #b2beaa;
}

.is-night .secondary-kicker,
.is-night .secondary-page-note span,
.is-night .about-section-heading span {
  color: #9fad90;
}

.is-night .skill-core,
.is-night .about-card {
  border-color: #eef0dc1a;
  background: #dce3cc18;
  box-shadow: inset 0 1px 0 #ffffff08;
}

.is-night .skill-core-index,
.is-night .about-avatar,
.is-night .about-journey li > span {
  border-color: #e7edd91a;
  background: #dce3cc17;
  color: #b8c6a4;
}

.is-night .skill-core strong,
.is-night .skill-branch h3,
.is-night .about-card-name strong,
.is-night .about-section-heading h3,
.is-night .about-journey b,
.is-night .about-method b {
  color: #dce5cc;
}

.is-night .skill-core p,
.is-night .skill-branch p,
.is-night .about-card > p,
.is-night .about-journey p,
.is-night .about-method p {
  color: #aab6a0;
}

.is-night .skill-core::after,
.is-night .skill-branches::before,
.is-night .skill-branch::before,
.is-night .about-journey li:not(:last-child)::before {
  background: #a9b99a55;
}

.is-night .skill-branch {
  border-color: #eef0dc14;
  background: #dce3cc10;
}

.is-night .skill-branch:hover {
  border-color: #c6d3b133;
  background: #dce3cc1b;
  box-shadow: none;
}

.is-night .skill-tags span {
  background: #dce3cc14;
  color: #b9c6a6;
}

.is-night .skill-meter {
  background: #dce3cc18;
}

.is-night .skill-meter i {
  background: #a4b789;
}

.is-night .skill-extensions,
.is-night .skill-extension,
.is-night .about-card > a {
  border-color: #e7edd91a;
}

.is-night .skill-extension b,
.is-night .about-card > a {
  color: #c2cfaf;
}

.is-night .about-role-list span {
  border-color: #e7edd91f;
  color: #bac7a7;
}

.is-night .about-method-grid {
  border-color: #e7edd914;
  background: #e7edd914;
}

.is-night .about-method article {
  background: #dce3cc10;
}

@media (min-width: 1600px) {
  .secondary-view {
    inset: 124px 338px 124px 417px;
  }
}

@media (min-width: 961px) and (max-width: 1200px) {
  .secondary-view {
    inset: 96px 283px 104px 311px;
    padding: 8px 10px 26px;
  }

  .secondary-page-header,
  .portfolio-header,
  .about-hero {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .website-slide {
    grid-template-columns: 1fr;
  }

  .phone-gallery {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .phone-project {
    min-width: 156px;
    scroll-snap-align: start;
  }

  .skill-core {
    grid-template-columns: 39px 1fr;
    width: 100%;
  }

  .skill-core p {
    display: none;
  }

  .skill-branches {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 15px;
  }

  .skill-branches::before {
    top: 0;
    bottom: 0;
    left: 18px;
    width: 1px;
    height: auto;
  }

  .skill-branch,
  .skill-branch:nth-child(2) {
    min-height: 0;
    margin: 0 0 0 35px;
  }

  .skill-branch::before {
    top: 24px;
    left: -18px;
    width: 18px;
    height: 1px;
  }

  .skill-branch::after {
    display: none;
  }

  .skill-extensions {
    grid-template-columns: 1fr 1fr;
  }

  .skill-extension-label {
    grid-column: 1 / -1;
    padding: 12px 0;
  }

  .about-body {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 761px) and (max-width: 960px) {
  .secondary-view {
    inset: 92px 274px 104px 272px;
    padding: 8px 8px 26px;
  }

  .secondary-page-header,
  .portfolio-header,
  .about-hero {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .secondary-page-header h2,
  .portfolio-header h2,
  .about-hero h2 {
    font-size: 28px;
  }

  .website-slide {
    grid-template-columns: 1fr;
  }

  .website-project-copy {
    padding: 7px 4px 5px;
  }

  .studio-preview,
  .data-preview,
  .ai-preview {
    height: 180px;
  }

  .studio-preview {
    grid-template-columns: 1fr;
  }

  .studio-preview-copy {
    width: 64%;
    padding: 12px;
  }

  .studio-preview-room {
    position: absolute;
    top: 29px;
    right: -31px;
    transform: rotateX(52deg) rotateZ(-29deg) scale(0.72);
  }

  .data-preview {
    grid-template-columns: 42px 1fr;
  }

  .data-preview-main {
    padding: 11px;
  }

  .data-kpis i:nth-child(n + 2) {
    display: none;
  }

  .data-kpis {
    grid-template-columns: 1fr;
  }

  .ai-preview {
    grid-template-columns: 1fr;
  }

  .ai-preview-sidebar {
    display: none;
  }

  .ai-preview-main {
    padding: 14px;
  }

  .phone-gallery {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .phone-project {
    min-width: 156px;
    scroll-snap-align: start;
  }

  .skill-core {
    grid-template-columns: 39px 1fr;
    width: 100%;
  }

  .skill-core p {
    display: none;
  }

  .skill-branches {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 15px;
  }

  .skill-branches::before {
    top: 0;
    bottom: 0;
    left: 18px;
    width: 1px;
    height: auto;
  }

  .skill-branch,
  .skill-branch:nth-child(2) {
    min-height: 0;
    margin: 0 0 0 35px;
  }

  .skill-branch::before {
    top: 24px;
    left: -18px;
    width: 18px;
    height: 1px;
  }

  .skill-branch::after {
    display: none;
  }

  .skill-extensions,
  .about-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .secondary-view {
    inset: 92px 16px 120px;
    padding: 16px;
  }

  .secondary-view-inner {
    padding: 0;
  }

  .secondary-page-header,
  .portfolio-header,
  .about-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 12px 0 24px;
  }

  .secondary-page-header h2,
  .portfolio-header h2,
  .about-hero h2 {
    margin-top: 12px;
    font-size: 32px;
    line-height: 1.26;
  }

  .secondary-page-header > p,
  .portfolio-header > p,
  .about-copy > p {
    font-size: 10px;
  }

  .website-slide {
    grid-template-columns: 1fr;
  }

  .phone-gallery {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .phone-project {
    min-width: 156px;
    scroll-snap-align: start;
  }

  .skills-map {
    padding: 22px 0 0;
  }

  .skill-core {
    grid-template-columns: 39px 1fr;
    width: 100%;
    margin-bottom: 30px;
    padding: 12px;
  }

  .skill-core::after {
    bottom: -31px;
    height: 30px;
  }

  .skill-core-index {
    width: 39px;
    height: 39px;
  }

  .skill-core p {
    display: none;
  }

  .skill-branches {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 15px;
  }

  .skill-branches::before {
    top: 0;
    bottom: 0;
    left: 18px;
    width: 1px;
    height: auto;
  }

  .skill-branch,
  .skill-branch:nth-child(2) {
    min-height: 0;
    margin: 0 0 0 35px;
    padding: 15px 15px 13px;
  }

  .skill-branch::before {
    top: 24px;
    left: -18px;
    width: 18px;
    height: 1px;
  }

  .skill-branch::after {
    display: none;
  }

  .skill-branch p {
    min-height: 0;
  }

  .skill-extensions {
    grid-template-columns: 1fr 1fr;
    margin-top: 16px;
  }

  .skill-extension-label {
    grid-column: 1 / -1;
    padding: 12px 0;
  }

  .skill-extension {
    min-height: 43px;
    padding: 0 10px;
    border-top: 1px solid #e1e4d9;
  }

  .skill-extension:nth-child(odd) {
    border-right: 1px solid #e1e4d9;
  }

  .secondary-page-note {
    align-items: flex-start;
    padding: 19px 0 0;
  }

  .secondary-page-note p {
    max-width: 17em;
    text-align: right;
    line-height: 1.6;
  }

  .about-card {
    padding: 17px;
  }

  .about-body {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 25px 0 0;
  }

  .about-role-list {
    margin-top: 16px;
  }

  .secondary-placeholder {
    min-height: calc(100dvh - 250px);
  }

  .secondary-placeholder h2 {
    font-size: 34px;
  }
}

@media (max-width: 420px) {
  .secondary-view {
    padding-right: 16px;
    padding-left: 16px;
  }

  .secondary-page-header h2,
  .about-hero h2 {
    font-size: 29px;
  }
}
