@charset "UTF-8";
.tk-viewer {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgb(124 92 255 / 12%), transparent 60%), linear-gradient(180deg, var(--surface-2), var(--bg-deep));
}
.tk-viewer__stage {
  flex: 1;
  min-height: 260px;
  position: relative;
}
.tk-viewer__canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
}
.tk-viewer__canvas:active {
  cursor: grabbing;
}
.tk-viewer__loading,
.tk-viewer__error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: var(--space-2);
  background: var(--overlay);
  color: var(--text-muted);
  font-size: .9rem;
}
.tk-viewer__error {
  color: var(--danger);
}
.tk-viewer__percent {
  font-variant-numeric: tabular-nums;
}
.tk-viewer__bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-top: 1px solid var(--border);
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
}
.tk-viewer__color {
  display: inline-flex;
  align-items: center;
}
.tk-viewer__material {
  width: auto;
  padding: 5px 26px 5px 8px;
  font-size: .86rem;
}
.tk-viewer__info {
  margin-left: auto;
  font-size: .8rem;
  color: var(--text-subtle);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-viewer:fullscreen {
  background: var(--bg-deep);
}
@media (max-width: 720px) {
  .tk-viewer__info {
    display: none;
  }
}
.tk-model {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--space-5);
  align-items: start;
}
.tk-model__main {
  min-width: 0;
}
.tk-model__side {
  position: sticky;
  top: calc(var(--header-height) + var(--space-4));
  display: flex;
  flex-direction: column;
}
.tk-stage-wrap {
  margin-bottom: var(--space-5);
}
.tk-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  overflow: hidden;
}
.tk-stage__images,
.tk-stage__viewer {
  position: absolute;
  inset: 0;
}
.tk-stage__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  background: var(--bg-deep);
}
.tk-stage__empty {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--text-subtle);
}
.tk-stage--edit {
  aspect-ratio: 16 / 9;
}
.tk-gallery {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
  overflow-x: auto;
  padding-bottom: 4px;
}
.tk-gallery__thumb {
  flex: none;
  width: 88px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: none;
  cursor: pointer;
  overflow: hidden;
  line-height: 0;
}
.tk-gallery__thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.tk-gallery__thumb.is-active {
  border-color: var(--accent);
}
.tk-lightbox {
  width: 100%;
  border-radius: var(--radius-sm);
}
.tk-model__head {
  margin-bottom: var(--space-5);
}
.tk-model__summary {
  color: var(--text-muted);
  font-size: 1.03rem;
}
.tk-model__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}
.tk-stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  color: var(--text-subtle);
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
}
.tk-like.is-active {
  border-color: var(--danger);
  color: var(--danger);
}
.tk-like.is-active svg {
  fill: currentColor;
}
.tk-lang-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .84rem;
  color: var(--text-subtle);
}
.tk-files {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tk-file {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}
.tk-file:last-child {
  border-bottom: 0;
}
.tk-file__icon {
  color: var(--accent);
  display: flex;
}
.tk-file__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: .94rem;
}
.tk-file__dims {
  display: block;
  font-size: .8rem;
  color: var(--text-subtle);
  font-variant-numeric: tabular-nums;
}
.tk-file__size {
  color: var(--text-subtle);
  font-size: .86rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tk-creator__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text);
  margin-bottom: var(--space-3);
}
.tk-creator__head span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tk-creator__head small {
  color: var(--text-subtle);
}
.tk-creator__stats {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
  color: var(--text-subtle);
  font-size: .86rem;
}
.tk-creator__stats span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tk-creator__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.tk-license__name {
  font-weight: 560;
}
.tk-license__facts {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .88rem;
}
.tk-license__facts li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  color: var(--text-muted);
}
.tk-license__facts .is-yes svg {
  color: var(--ok);
}
.tk-license__facts .is-no {
  color: var(--text-subtle);
}
.tk-license__facts .is-no svg {
  color: var(--danger);
}
.tk-comment-form {
  margin-bottom: var(--space-4);
}
.tk-comment-form__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-2);
}
.tk-reply-note {
  margin-bottom: var(--space-2);
  font-size: .86rem;
  color: var(--text-subtle);
}
.tk-comment {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--border);
}
.tk-comment--reply {
  padding-left: var(--space-4);
  border-top: 0;
  border-left: 2px solid var(--border);
  margin-top: var(--space-2);
}
.tk-comment__body {
  flex: 1;
  min-width: 0;
}
.tk-comment__meta {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  font-size: .86rem;
  margin-bottom: 3px;
}
.tk-comment__meta a {
  color: var(--text);
}
.tk-comment__meta time {
  color: var(--text-subtle);
  font-size: .8rem;
}
.tk-comment__actions {
  display: flex;
  gap: var(--space-3);
  margin-top: 4px;
  font-size: .84rem;
}
.tk-comment__replies {
  margin-top: var(--space-2);
}
.tk-dl__file {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}
.tk-dl__support {
  padding: var(--space-3) 0 0;
}
.tk-dl__intro {
  font-size: .92rem;
  color: var(--text-muted);
}
.tk-dl__note {
  margin: var(--space-2) 0 0;
  font-size: .82rem;
  color: var(--text-subtle);
}
@media (max-width: 980px) {
  .tk-model {
    grid-template-columns: 1fr;
  }
  .tk-model__side {
    position: static;
  }
}
