@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('/fonts/dm-sans-latin.woff2') format('woff2');
}
:root {
  --ink: #171b2a;
  --muted: #606673;
  --blue: #394bea;
  --blue-hover: #2737c4;
  --pale: #edf0ff;
  --line: #dfe1e8;
  --canvas: #fff;
  --radius: 13px;
  --wrap: min(1410px, calc(100% - clamp(44px, 8.4vw, 140px)));
  font-family: 'DM Sans', 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: style;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
:focus-visible {
  outline: 3px solid #5d74ff;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: transparent;
}
button,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
.button,
a {
  touch-action: manipulation;
}
button .icon,
a .icon,
.icon {
  flex: none;
  vertical-align: middle;
}
button[hidden],
[hidden] {
  display: none !important;
}
.wrap {
  width: var(--wrap);
  margin-inline: auto;
}
.skip {
  position: fixed;
  left: 12px;
  top: -70px;
  z-index: 10;
  padding: 10px 16px;
  color: white;
  background: var(--blue);
  border-radius: 7px;
}
.skip:focus {
  top: 8px;
}
.topbar {
  border-bottom: 1px solid #e9eaf0;
  background: white;
  position: relative;
  z-index: 2;
}
.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: clamp(26px, 4.3vw, 74px);
}
.brand {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  white-space: nowrap;
  letter-spacing: -1.1px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}
.brand img {
  width: 37px;
  height: 37px;
}
.brand-light {
  font-weight: 480;
}
.main-nav,
.nav-actions,
.gallery-tools,
.file-buttons,
.edit-actions,
.detail-actions,
.profile-actions {
  display: flex;
  align-items: center;
}
.main-nav {
  gap: 7px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 610;
  border-radius: 8px;
  color: #58606d;
}
.nav-link.active {
  color: #3344d5;
  background: #eef0ff;
}
.nav-link:hover,
.language:hover {
  background: #f3f4f8;
}
.nav-actions {
  margin-left: auto;
  gap: 18px;
}
.language {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 640;
  border-radius: 7px;
  padding: 8px 5px;
  color: #555d6d;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 16px;
  line-height: 1.3;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 650;
  font-size: 14px;
  white-space: nowrap;
}
.primary {
  background: var(--blue);
  color: #fff;
}
.short-label {
  display: none;
}
.primary:hover {
  background: var(--blue-hover);
}
.outline {
  border-color: var(--line);
  background: #fff;
}
.outline:hover,
.soft:hover,
.quiet:hover {
  background: #f0f2fc;
}
.soft {
  color: #3344cf;
  background: var(--pale);
}
.quiet {
  color: #505767;
}
.wide {
  width: 100%;
}
.home {
  padding-top: 25px;
}
.hero {
  height: clamp(275px, 22vw, 323px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 17px;
  border: 1px solid #d6def7;
  background-color: #e8eefc;
  background-image: radial-gradient(#9fb3de70 0.7px, transparent 0.9px);
  background-size: 13px 13px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, #edf1ff75 0%, #eaf0fc0a 56%, #e6ecfb 94%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 51%;
  padding: 12px 0 12px clamp(26px, 3.6vw, 64px);
  pointer-events: none;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3446c3;
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.2;
}
.eyebrow .icon {
  stroke-width: 2.8;
}
.hero h1 {
  margin: 15px 0 12px;
  letter-spacing: -0.068em;
  font-size: clamp(57px, 5.1vw, 82px);
  line-height: 0.94;
  font-weight: 780;
}
.hero h1 em {
  display: block;
  color: #384adf;
  font-style: normal;
}
.hero-copy p {
  margin: 0;
  max-width: 370px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.48;
  color: #464d66;
}
.hero-visual {
  position: absolute;
  z-index: -1;
  inset: 0 1.5% 0 47%;
}
.hero-visual img {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 94%, transparent 100%);
  mix-blend-mode: multiply;
}
.explore {
  padding: clamp(28px, 2.6vw, 43px) 0 42px;
}
.explore-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
h2,
h3,
p {
  overflow-wrap: break-word;
}
.explore-head h2,
.about h2 {
  margin: 0;
  font-size: clamp(26px, 2.35vw, 36px);
  font-weight: 755;
  letter-spacing: -0.055em;
  line-height: 1.2;
}
.gallery-tools {
  gap: 11px;
}
.search-box,
.select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 38px;
  padding: 0 11px;
  background: #fff;
  color: #687181;
}
.search-box input {
  width: clamp(110px, 12vw, 178px);
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.search-box:focus-within,
.select-wrap:focus-within {
  border-color: #8390ff;
  box-shadow: 0 0 0 2px #e2e7ff;
}
.search-box input::placeholder {
  color: #727988;
}
.select-wrap {
  gap: 7px;
  padding-right: 10px;
  color: #363b4a;
}
.select-wrap select {
  appearance: none;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 590;
  cursor: pointer;
  outline: 0;
  position: relative;
  z-index: 1;
  padding: 7px 21px 7px 29px;
  margin-left: -26px;
  margin-right: -20px;
}
.select-wrap .icon {
  pointer-events: none;
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 17px 0 22px;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  line-height: 1.25;
  min-height: 35px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: #494f5c;
  font-size: 14px;
  font-weight: 580;
  background: #fff;
  transition:
    background 0.14s,
    border-color 0.14s;
}
.chip:hover {
  border-color: #aab3ee;
  background: #f6f7ff;
}
.chip.chosen {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(18px, 1.75vw, 29px);
  row-gap: 30px;
}
.project-card {
  min-width: 0;
}
.card-picture {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  isolation: isolate;
  background: #e9eaf3;
}
.card-picture::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid #1c24500e;
}
.card-picture img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.25s;
}
.card-picture:hover img {
  transform: scale(1.025);
}
.card-picture.planet-thumb img {
  object-position: center 24%;
}
.media-tag,
.type-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 690;
  line-height: 1.15;
}
.media-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border-radius: 6px;
  background: #fffffff2;
  color: #292c39;
  padding: 5px 8px;
  box-shadow: 0 1px 4px #141b3614;
}
.media-tag .icon {
  stroke-width: 1.9;
}
.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  margin-top: 12px;
}
.card-heading h3 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.035em;
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 725;
}
.card-heading a:hover,
.creator:hover,
.back-link:hover,
.stage-foot a:hover {
  color: var(--blue);
}
.heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 38px;
  min-height: 27px;
  padding: 2px 3px;
  color: #697080;
  font-size: 13px;
  line-height: 1;
}
.heart:hover,
.heart.is-liked {
  color: #c23a68;
}
.heart.is-liked .icon {
  fill: currentColor;
}
.creator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #58606c;
  font-size: 14px;
  line-height: 1.4;
  margin-top: 5px;
}
.avatar {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--avatar-bg);
  color: var(--avatar-ink);
  font-size: 9px;
  font-weight: 780;
  letter-spacing: -0.25px;
  line-height: 1;
}
.result-info {
  margin-top: 29px;
  color: #707684;
  font-size: 13px;
}
.empty-state {
  grid-column: 1/-1;
  padding: 48px 20px;
  text-align: center;
  border: 1px dashed #ccd1e4;
  border-radius: var(--radius);
  color: #646a78;
}
.empty-state > .icon {
  color: #6874d7;
}
.empty-state h3,
.empty-state h1 {
  color: var(--ink);
  margin: 10px 0;
  font-weight: 700;
}
.empty-state p {
  margin: 0 0 14px;
}
.route-error {
  margin: 48px auto;
  min-height: 36vh;
}
footer {
  border-top: 1px solid #e8eaf0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  color: #6a7180;
  font-size: 13px;
}
.footer-inner .brand {
  color: #252a39;
  font-size: 17px;
  letter-spacing: -0.7px;
  gap: 6px;
}
.footer-inner .brand img {
  width: 25px;
  height: 25px;
}
.footer-inner button {
  margin-left: auto;
  color: #596171;
  font-size: 13px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #545f72;
  font-size: 14px;
  font-weight: 560;
}
.detail-page,
.profile-page {
  padding: 27px 0 48px;
}
.detail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}
.type-label {
  border-radius: 20px;
  padding: 6px 10px;
  color: #333b57;
}
.lilac {
  background: #ebe7ff;
}
.mint {
  background: #d8eee4;
}
.pink {
  background: #f7e5f1;
}
.peach {
  background: #ffe6d3;
}
.yellow {
  background: #f8edbf;
}
.aqua {
  background: #d5efee;
}
.detail-head h1,
.profile-banner h1 {
  font-size: clamp(31px, 3.6vw, 54px);
  letter-spacing: -0.055em;
  line-height: 1.08;
  margin: 10px 0 6px;
  overflow-wrap: anywhere;
}
.detail-head .creator {
  margin-top: 2px;
}
.detail-actions,
.profile-actions {
  gap: 9px;
  flex-wrap: wrap;
}
.detail-actions > .heart {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 40px;
  padding: 8px 12px;
}
.stage {
  position: relative;
  width: 100%;
  height: clamp(350px, 59vw, 650px);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background: #f1f2f7;
  border: 1px solid #dadde8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-frame,
.work-media {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.work-media {
  object-fit: contain;
}
.stage-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 17px;
  border: 1px solid #dadde8;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  font-size: 14px;
  color: #555e72;
}
.stage-foot > span,
.stage-foot a,
.cover-line > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.stage-foot a {
  font-weight: 650;
  color: #3648cb;
}
.about {
  max-width: 780px;
  margin-top: 30px;
}
.about h2,
.profile-page .explore-head h2 {
  font-size: 24px;
}
.about p {
  white-space: pre-line;
  line-height: 1.7;
  color: #4c5466;
  margin: 12px 0;
}
.example-note {
  font-size: 13px;
  color: #697186;
}
.slide-controls {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffffeb;
  color: #252c40;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 14px;
}
.round-btn,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: #41495b;
}
.round-btn {
  border-radius: 50%;
}
.round-btn:hover,
.icon-button:hover {
  background: #eef0f8;
}
.standalone #topbar,
.standalone footer {
  display: none;
}
.standalone-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 16px;
}
.expanded-stage {
  height: calc(100dvh - 42px);
  border: 0;
  border-radius: 0;
}
.profile-banner {
  display: flex;
  gap: 24px;
  align-items: center;
  background: #edf1fd;
  border: 1px solid #dce2f5;
  border-radius: 16px;
  padding: 33px clamp(20px, 3vw, 44px);
  margin: 20px 0 32px;
}
.avatar.big {
  width: 80px;
  height: 80px;
  font-size: 28px;
  box-shadow: 0 0 0 5px #ffffffb0;
}
.profile-info p {
  margin: 8px 0 0;
  color: #596277;
  font-size: 14px;
}
.profile-info p span {
  padding-inline: 4px;
}
.profile-actions {
  margin-left: auto;
}
.profile-page .project-grid {
  margin-top: 22px;
}
.profile-page {
  min-height: 70vh;
}
.modal {
  width: min(calc(100% - 32px), 506px);
  max-height: calc(100dvh - 42px);
  padding: 0;
  border: 1px solid #d6dbea;
  border-radius: 17px;
  box-shadow: 0 18px 80px #10173333;
  color: var(--ink);
  background: white;
  overscroll-behavior: contain;
}
.modal::backdrop {
  background: #10193472;
  backdrop-filter: blur(3px);
}
body:has(.modal[open]) {
  overflow: hidden;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px 15px;
  border-bottom: 1px solid #e6e8f0;
}
.modal-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 730;
  letter-spacing: -0.045em;
}
.modal-body {
  padding: 20px 24px 23px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-intro,
.form-hint,
.switch-prompt {
  margin: 0;
  color: #606879;
  font-size: 14px;
  line-height: 1.55;
}
.form-hint {
  font-size: 13px;
}
.field {
  display: block;
  font-size: 14px;
  font-weight: 660;
  color: #343949;
}
.field input,
.field textarea,
.field select,
.copy-row input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #cfd4e0;
  border-radius: 8px;
  font-weight: 400;
  font-size: 15px;
  background: white;
  outline-offset: 2px;
}
.field select {
  appearance: none;
  padding-right: 34px;
  background:
    linear-gradient(45deg, transparent 50%, #535c70 50%) calc(100% - 17px) 49%/5px 5px no-repeat,
    linear-gradient(135deg, #535c70 50%, transparent 50%) calc(100% - 12px) 49%/5px 5px no-repeat;
}
.field textarea {
  resize: vertical;
  min-height: 65px;
  max-height: 220px;
}
.field small,
.cover-line small {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 450;
  color: #737b88;
}
.switch-prompt {
  text-align: center;
}
.switch-prompt button,
.file-buttons button,
.cover-line button {
  padding: 0;
  color: #3848cd;
  font-weight: 690;
  font-size: 14px;
}
.form-error {
  margin: 0;
  padding: 9px 12px;
  line-height: 1.45;
  font-size: 14px;
  color: #963447;
  background: #fff0f1;
  border-radius: 7px;
}
.upload-modal {
  width: min(calc(100% - 26px), 550px);
}
.upload-form {
  gap: 13px;
}
.dropzone {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  padding: 17px 18px 15px;
  border: 1.5px dashed #aab4e3;
  border-radius: 12px;
  background: #f5f7ff;
  text-align: center;
}
.dropzone.dragging,
.dropzone.has-files {
  background: #edf2ff;
  border-color: #5266db;
}
.upload-symbol {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 10px;
  background: #e4eaff;
  color: var(--blue);
}
.dropzone strong {
  font-size: 16px;
  font-weight: 670;
}
.dropzone #file-help {
  font-size: 13px;
  color: #626b7d;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.file-buttons {
  gap: 8px;
  justify-content: center;
  color: #9199ac;
}
.cover-line,
.publish-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  padding: 2px 0;
}
.cover-line button {
  max-width: 47%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.publish-row {
  border-top: 1px solid #e6e8ef;
  padding-top: 15px;
}
.publish-row > span {
  color: #697080;
  font-size: 13px;
}
.upload-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #606a89;
}
.upload-progress progress {
  accent-color: var(--blue);
  max-width: 50%;
}
.share-title {
  margin: 0;
  font-size: 17px;
  font-weight: 660;
}
.socials {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  justify-content: space-between;
}
.social {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  color: #515b70;
}
.social b {
  display: grid;
  place-items: center;
  height: 40px;
  width: 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f8f9fc;
  color: #292f40;
  font-size: 19px;
}
.social:hover b {
  background: var(--pale);
  color: var(--blue);
}
.copy-row {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.copy-row input {
  margin: 0;
  min-width: 0;
}
.edit-actions {
  justify-content: space-between;
}
.danger {
  color: white;
  background: #aa3148;
}
.danger-link {
  font-size: 14px;
  font-weight: 650;
  color: #a92e44;
}
#notice {
  pointer-events: none;
  position: fixed;
  z-index: 5;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  opacity: 0;
  background: #252b3c;
  color: white;
  font-size: 14px;
  border-radius: 9px;
  padding: 10px 16px;
  max-width: min(90vw, 500px);
  transition: 0.18s;
}
#notice.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.initial-load {
  display: grid;
  place-items: center;
  height: 50vh;
}
.initial-load i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid var(--pale);
  border-top-color: var(--blue);
  animation: turn 0.8s linear infinite;
}
@keyframes turn {
  to {
    transform: rotate(360deg);
  }
}
:lang(zh) .hero h1 {
  line-height: 1.05;
  letter-spacing: -0.045em;
}
:lang(zh) .eyebrow {
  letter-spacing: 1.25px;
}
:lang(zh) .hero-copy p {
  max-width: 360px;
}
@media (min-width: 1630px) {
  .hero-visual {
    right: 5%;
  }
  .hero {
    height: 335px;
  }
}
@media (max-width: 990px) {
  .nav-inner {
    gap: 24px;
  }
  .hero-copy {
    max-width: 53%;
  }
  .hero {
    height: 264px;
  }
  .hero h1 {
    font-size: 59px;
  }
  .hero-visual {
    inset: 0 0 0 50%;
  }
  .hero-copy p {
    max-width: 312px;
  }
  .chip {
    padding: 7px 11px;
  }
  .filter-row {
    gap: 7px;
  }
  .card-heading h3 {
    font-size: 18px;
  }
}
@media (max-width: 780px) {
  :root {
    --wrap: calc(100% - 40px);
  }
  .nav-inner {
    height: 64px;
    gap: 20px;
  }
  .main-nav {
    gap: 0;
  }
  .nav-link {
    padding: 7px 9px;
  }
  .main-nav .icon {
    display: none;
  }
  .nav-actions {
    gap: 10px;
  }
  .brand {
    font-size: 21px;
    gap: 6px;
  }
  .brand img {
    width: 31px;
    height: 31px;
  }
  .home {
    padding-top: 18px;
  }
  .hero {
    height: 253px;
  }
  .hero h1 {
    font-size: 54px;
  }
  .hero-copy {
    padding-left: 25px;
  }
  .hero-copy p {
    font-size: 15px;
  }
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 17px;
  }
  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -20px;
    padding-right: 20px;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }
  .gallery-tools {
    gap: 7px;
  }
  .search-box input {
    width: 110px;
  }
  .detail-head,
  .profile-banner {
    align-items: flex-start;
  }
  .profile-banner {
    flex-wrap: wrap;
  }
  .profile-actions {
    margin-left: 0;
  }
  .footer-inner {
    min-height: 65px;
  }
}
@media (max-width: 600px) {
  :root {
    --wrap: calc(100% - 32px);
  }
  .nav-inner {
    flex-wrap: wrap;
    column-gap: 8px;
    row-gap: 0;
    height: auto;
    padding-top: 10px;
  }
  .main-nav {
    order: 3;
    width: 100%;
    gap: 18px;
    margin-top: 6px;
  }
  .main-nav .icon {
    display: block;
    width: 15px;
    height: 15px;
  }
  .nav-link {
    border-radius: 0;
    padding: 8px 1px 9px;
    font-size: 13px;
    position: relative;
  }
  .nav-link.active {
    background: transparent;
  }
  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--blue);
  }
  .nav-actions {
    gap: 9px;
  }
  .header-upload {
    font-size: 13px;
    min-height: 34px;
    padding: 7px 10px;
    gap: 3px;
  }
  .language {
    font-size: 12px;
    gap: 4px;
  }
  .language .icon {
    width: 14px;
  }
  .hero {
    height: 229px;
    border-radius: 13px;
  }
  .hero-copy {
    max-width: 58%;
    padding-left: 20px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1.2px;
    gap: 5px;
  }
  .hero .eyebrow .icon {
    width: 12px;
    height: 12px;
  }
  .hero h1 {
    font-size: clamp(37px, 9vw, 53px);
    letter-spacing: -0.065em;
    margin: 13px 0 11px;
  }
  .hero-copy p {
    max-width: 205px;
    font-size: 13px;
    line-height: 1.42;
  }
  .hero-visual {
    inset: 35px -7% 12px 49%;
  }
  .explore {
    padding-top: 24px;
  }
  .explore-head {
    flex-wrap: wrap;
    gap: 12px;
  }
  .gallery-tools {
    width: 100%;
  }
  .search-box {
    flex: 1;
  }
  .search-box input {
    width: 100%;
  }
  .select-wrap select {
    min-width: 104px;
  }
  .filter-row {
    margin: 13px -16px 14px 0;
    padding-right: 16px;
  }
  .chip {
    min-height: 32px;
    font-size: 13px;
  }
  .card-picture {
    border-radius: 10px;
    aspect-ratio: 1.38;
  }
  .card-heading {
    margin-top: 8px;
  }
  .card-heading h3 {
    font-size: 16px;
    letter-spacing: -0.03em;
  }
  .heart {
    min-width: 29px;
    font-size: 11px;
    gap: 3px;
    min-height: 22px;
  }
  .heart .icon {
    width: 14px;
  }
  .creator {
    font-size: 12px;
    gap: 4px;
    margin-top: 3px;
  }
  .avatar {
    width: 18px;
    height: 18px;
    font-size: 8px;
  }
  .project-grid {
    gap: 20px 12px;
  }
  .media-tag {
    left: 7px;
    bottom: 7px;
    padding: 4px 6px;
    font-size: 10px;
  }
  .media-tag .icon {
    width: 11px;
    height: 11px;
  }
  .detail-head {
    display: block;
    padding-top: 16px;
  }
  .detail-actions {
    margin-top: 15px;
  }
  .stage {
    height: clamp(260px, 90vw, 480px);
  }
  .expanded-stage {
    height: calc(100dvh - 42px);
  }
  .stage-foot {
    padding: 9px 10px;
    font-size: 13px;
  }
  .about h2 {
    font-size: 21px;
  }
  .avatar.big {
    width: 60px;
    height: 60px;
    font-size: 21px;
  }
  .profile-banner {
    gap: 16px;
    padding: 22px 18px;
  }
  .profile-actions {
    width: 100%;
  }
  .modal-head,
  .modal-body {
    padding-left: 18px;
    padding-right: 18px;
  }
  .footer-inner {
    gap: 10px;
  }
  .footer-inner > span {
    font-size: 12px;
  }
}
@media (max-width: 368px) {
  .brand {
    font-size: 19px;
  }
  .hero-copy {
    padding-left: 15px;
  }
  .hero {
    height: 217px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .card-picture {
    aspect-ratio: 1.64;
  }
  .card-heading h3 {
    font-size: 19px;
  }
}
@media (max-width: 600px) {
  .header-upload .full-label {
    display: none;
  }
  .header-upload .short-label {
    display: inline;
  }
  .nav-inner > .brand {
    font-size: 19px;
    gap: 5px;
  }
  .hero-copy {
    width: 54%;
    max-width: 54%;
    padding-left: 17px;
  }
  .hero h1 {
    font-size: clamp(35px, 9vw, 49px);
  }
  .hero-visual {
    inset: 15px 1% 0 53%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
