.mtv-root {
  --mtv-text: #323c54;
  --mtv-muted: #64748b;
  --mtv-line: #e2e8f0;
  --mtv-surface: #ffffff;
  --mtv-soft: #f4f7fa;
  --mtv-blue: #487fa1;
  --mtv-red: #cb463f;
  --mtv-green: #2c8c69;
  --mtv-amber: #b7791f;
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 18px 56px;
  color: var(--mtv-text);
  font-family: Lato, Arial, sans-serif;
}

.mtv-hero { margin-bottom: 24px; }
.mtv-eyebrow { margin: 0 0 6px; color: var(--mtv-blue); font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.mtv-eyebrow span { margin-left: 8px; color: var(--mtv-muted); font-size: 11px; font-weight: 500; text-transform: none; }
.mtv-eyebrow a { margin-left: 8px; color: var(--mtv-blue); font-size: 11px; font-weight: 800; text-transform: none; text-decoration: none; }
.mtv-eyebrow a:hover { text-decoration: underline; }
.mtv-hero h1 { margin: 0 0 8px; font-size: 34px; line-height: 1.12; }
.mtv-hero p { max-width: 720px; margin: 0; color: var(--mtv-muted); font-size: 16px; }
.mtv-hero .mtv-hero-links { margin-top: 8px; font-size: 14px; }
.mtv-hero-links a { color: var(--mtv-blue); font-weight: 800; text-decoration: none; }
.mtv-hero-links a:hover { text-decoration: underline; }
.mtv-admin-week-stats { display: inline-flex; flex-wrap: wrap; gap: 5px; align-items: center; max-width: none !important; margin: 0 0 8px !important; padding: 7px 10px; border-radius: 999px; background: #f8fbfd; color: var(--mtv-muted); font-size: 12px !important; font-weight: 800; }
.mtv-admin-week-stats a { text-decoration: none; }
.mtv-admin-week-stats a:hover { text-decoration: underline; }
.mtv-stat-suggestions { color: var(--mtv-blue); }
.mtv-stat-votes { color: var(--mtv-green); }
.mtv-stat-comments { color: #4b8fc5; }
.mtv-stat-duplicates { color: var(--mtv-red); }
.mtv-stat-status { color: var(--mtv-amber); }

.mtv-list { background: var(--mtv-surface); border: 1px solid var(--mtv-line); border-radius: 8px; box-shadow: 0 2px 4px rgb(0 0 0 / 7%), 0 4px 12px rgb(0 0 0 / 8%); }
.mtv-submit { padding: 0; margin-bottom: 26px; }
.mtv-submit label, .mtv-moderation label, .mtv-comment-form label { display: block; margin-bottom: 12px; }
.mtv-submit label span { display: block; margin-bottom: 8px; font-size: 20px; font-weight: 800; }
.mtv-mode-switch { display: inline-flex !important; align-items: center; gap: 0; width: fit-content; margin-bottom: 12px; padding: 4px; border-radius: 999px; background: #edf2f7; font-size: 18px; }
.mtv-mode-switch button { min-height: 38px !important; border: 0 !important; border-radius: 999px !important; padding: 8px 15px !important; background: transparent !important; color: var(--mtv-text) !important; box-shadow: none !important; font: inherit; font-weight: 500; cursor: pointer; transition: background .15s ease, color .15s ease; }
.mtv-mode-switch button[data-mtv-mode-toggle="submit"] { font-weight: 800; }
.mtv-mode-switch button:hover { background: #fff !important; text-decoration: none; }
.mtv-mode-switch button.is-active { background: var(--mtv-blue) !important; color: #fff !important; text-decoration: none; }
.mtv-mode-switch > span { display: none !important; }
.mtv-mode-switch button span { margin: 0 !important; font-size: inherit !important; font-weight: inherit !important; }
.mtv-mode-switch .mtv-mode-full { display: inline !important; }
.mtv-mode-switch .mtv-mode-short { display: none !important; }
.mtv-moderation span, .mtv-comment-form span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; }
.mtv-submit input, .mtv-submit textarea, .mtv-submit select, .mtv-moderation select, .mtv-moderation textarea, .mtv-comment-form textarea { width: 100%; border: 1px solid var(--mtv-line); border-radius: 6px; padding: 10px 12px; font: inherit; }
.mtv-submit input[data-mtv-title-input] { min-height: 58px; border-radius: 18px; padding: 15px 20px; background: #fff; box-shadow: 0 3px 10px rgb(15 23 42 / 8%); font-size: 18px; }
.mtv-submit input[data-mtv-title-input]:focus { border-color: #87b2c9; box-shadow: 0 0 0 4px rgb(72 127 161 / 14%), 0 3px 10px rgb(15 23 42 / 8%); outline: none; }
.mtv-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mtv-taxonomy-field { min-width: 0; }
.mtv-taxonomy-field > span { display: block; margin-bottom: 8px; font-size: 20px; font-weight: 800; }
.mtv-taxonomy-select { appearance: none; border-radius: 999px !important; padding-right: 38px !important; background-color: #f8fafc; background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; font-weight: 850 !important; }
.mtv-taxonomy-select.has-taxonomy-value { border-color: color-mix(in srgb, var(--mtv-taxonomy-color) 48%, #cbd5e1) !important; background-color: color-mix(in srgb, var(--mtv-taxonomy-color) 14%, white); color: color-mix(in srgb, var(--mtv-taxonomy-color) 82%, #111827); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mtv-taxonomy-color) 12%, transparent); }
.mtv-taxonomy-select:disabled { background-color: #f1f5f9; color: #94a3b8; opacity: 1; cursor: not-allowed; }
.mtv-taxonomy-definition { display: block; min-height: 3.2em; margin-top: 7px; color: var(--mtv-muted); font-size: 12px; font-weight: 600; line-height: 1.45; }
.mtv-taxonomy-definition strong { color: var(--mtv-text); font-weight: 900; }

.mtv-submit button, .mtv-login-note a, .mtv-card-actions button, .mtv-card-actions a, .mtv-comment-form button, .mtv-moderation button, .mtv-match-actions a, .mtv-match-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; border: 0; border-radius: 999px; padding: 9px 16px; background: var(--mtv-blue); color: #fff; font-weight: 800; text-decoration: none; cursor: pointer; }
.mtv-taxonomy-native { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
.mtv-custom-select { position: relative; }
.mtv-submit .mtv-custom-select-trigger { display: flex; width: 100%; min-height: 44px; justify-content: space-between; border: 1px solid var(--mtv-line) !important; border-radius: 999px !important; padding: 10px 16px !important; background: #f8fafc !important; color: var(--mtv-muted) !important; box-shadow: none !important; font: inherit; font-weight: 850; text-align: left; }
.mtv-submit .mtv-custom-select-trigger.has-taxonomy-value { border-color: color-mix(in srgb, var(--mtv-taxonomy-color) 48%, #cbd5e1) !important; background: color-mix(in srgb, var(--mtv-taxonomy-color) 14%, white) !important; color: color-mix(in srgb, var(--mtv-taxonomy-color) 82%, #111827) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mtv-taxonomy-color) 12%, transparent) !important; }
.mtv-submit .mtv-custom-select-trigger:disabled { border-color: var(--mtv-line) !important; background: #f1f5f9 !important; color: #94a3b8 !important; cursor: not-allowed; }
.mtv-custom-select-chevron { width: 9px; height: 9px; margin: -3px 3px 0 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s ease; }
.mtv-custom-select.is-open .mtv-custom-select-chevron { margin-top: 3px; transform: rotate(225deg); }
.mtv-custom-select-menu { position: absolute; z-index: 100; top: calc(100% + 7px); left: 0; display: grid; width: 100%; max-height: 320px; gap: 6px; overflow-y: auto; box-sizing: border-box; padding: 8px; border: 1px solid var(--mtv-line); border-radius: 16px; background: #fff; box-shadow: 0 16px 38px rgb(15 23 42 / 18%); }
.mtv-custom-select-menu[hidden] { display: none !important; }
.mtv-submit .mtv-custom-select-menu button { display: flex; width: 100%; min-height: 38px; justify-content: flex-start; border: 1px solid color-mix(in srgb, var(--mtv-taxonomy-color) 20%, transparent) !important; border-radius: 999px !important; padding: 8px 12px !important; background: color-mix(in srgb, var(--mtv-taxonomy-color) 14%, white) !important; color: color-mix(in srgb, var(--mtv-taxonomy-color) 82%, #111827) !important; box-shadow: none !important; font-weight: 850; text-align: left; }
.mtv-submit .mtv-custom-select-menu button:hover, .mtv-submit .mtv-custom-select-menu button:focus-visible { background: color-mix(in srgb, var(--mtv-taxonomy-color) 24%, white) !important; outline: 2px solid color-mix(in srgb, var(--mtv-taxonomy-color) 45%, transparent); outline-offset: 1px; }
.mtv-submit .mtv-custom-select-menu button.is-selected::after { content: "✓"; margin-left: auto; font-weight: 950; }
.mtv-custom-option-dot { width: 10px; height: 10px; margin-right: 9px; border-radius: 999px; background: var(--mtv-taxonomy-color); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mtv-taxonomy-color) 14%, white); }
.mtv-submit button[type="submit"], .mtv-submit [data-mtv-submit-suggestion] { display: flex; min-width: 230px; min-height: 48px; margin: 18px auto 0; font-size: 16px; }
.mtv-submit [data-mtv-submit-suggestion]:disabled { background: #cbd5e1; color: #64748b; cursor: not-allowed; }
.mtv-card-actions button:disabled, .mtv-match-actions button:disabled { cursor: not-allowed; }
.mtv-card-actions .mtv-secondary { background: #edf2f7; color: var(--mtv-text); }
.mtv-card-actions .mtv-secondary:hover { background: #dce8ef; }
.mtv-card-actions .mtv-vote-button { background: #edf8f2; color: var(--mtv-green); box-shadow: inset 0 0 0 1px rgb(44 140 105 / 22%); }
.mtv-card-actions .mtv-vote-button:hover { background: #dff3e9; color: #1f7456; }
.mtv-card-actions .mtv-vote-button.is-voted, .mtv-card-actions .mtv-vote-button.is-voted:disabled, .mtv-match-actions button.is-voted, .mtv-match-actions button.is-voted:disabled { background: #edf8f2; color: var(--mtv-green); box-shadow: inset 0 0 0 1px rgb(44 140 105 / 24%); opacity: 1; }
.mtv-danger-soft { background: #fdecea !important; color: var(--mtv-red) !important; box-shadow: inset 0 0 0 1px rgb(203 70 63 / 18%); }
.mtv-form-message { margin: 10px 0 0; color: var(--mtv-muted); }
.mtv-form-message[data-mtv-message] {
  position: fixed;
  left: 50%;
  top: 22px;
  z-index: 99999;
  max-width: min(520px, calc(100vw - 28px));
  margin: 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: #edf8f2;
  box-shadow: 0 14px 36px rgb(15 23 42 / 18%);
  color: var(--mtv-green);
  font-weight: 800;
  text-align: center;
  transform: translate(-50%, -18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
.mtv-form-message[data-mtv-message].is-visible { transform: translate(-50%, 0); opacity: 1; }
.mtv-form-message[data-mtv-message].is-error { background: #fdecea; color: var(--mtv-red); }
.mtv-browse-link { margin: 0 0 8px; text-align: center; font-size: 13px; }
.mtv-browse-link a { color: var(--mtv-blue); font-weight: 800; text-decoration: none; }
.mtv-match-loading[hidden] { display: none !important; }
.mtv-match-loading { display: flex; justify-content: center; align-items: center; gap: 9px; margin: 10px 0; color: var(--mtv-muted); font-size: 13px; font-weight: 800; }
.mtv-match-loading span { width: 16px; aspect-ratio: 1; border: 2px solid #cfe0eb; border-top-color: var(--mtv-blue); border-radius: 50%; animation: mtv-spin .75s linear infinite; }
@keyframes mtv-spin { to { transform: rotate(360deg); } }
.mtv-match-panel { display: grid; gap: 10px; margin: 10px 0 14px; padding: 0; border: 0; background: transparent; }
.mtv-match-title { margin: 0; color: var(--mtv-blue); font-size: 20px; font-weight: 800; }
.mtv-match-filter-row { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin: -2px 0 2px; }
.mtv-match-filter-row button { display: inline-flex; align-items: center; min-height: 30px; border: 0; border-radius: 999px; padding: 6px 11px; background: #edf2f7; color: var(--mtv-muted); font-size: 13px; font-weight: 850; cursor: pointer; }
.mtv-match-filter-row button.is-active { background: var(--mtv-blue); color: #fff; }
.mtv-match-filter-row button:disabled { opacity: .48; cursor: default; }
.mtv-match-more { margin: 0; padding: 9px 12px; border-radius: 10px; background: #f8fbfd; color: var(--mtv-muted); font-size: 13px; font-weight: 800; text-align: center; }
.mtv-match { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 2px 12px 2px 2px; border: 0; border-radius: 14px; background: #eef6fb; overflow: hidden; cursor: pointer; }
.mtv-match { position: relative; }
.mtv-match::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  z-index: 2;
  width: 156px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: transparent;
}
.mtv-match[data-match-expandable="0"] { cursor: default; }
.mtv-match-type-suggestion { background: #eef6fb; }
.mtv-match-released { background: #edf8f2; }
.mtv-match-in_progress { background: #fff7e8; }
.mtv-match:first-of-type { border-top: 0; }
.mtv-match-thumb-wrap { position: relative; width: 156px; min-height: 88px; align-self: start; }
.mtv-match-thumb { display: block; width: 156px; height: auto; min-height: 88px; aspect-ratio: 16 / 9; object-fit: contain; padding: 0; box-sizing: border-box; border-radius: 12px; background: inherit; }
.mtv-match-placeholder { display: flex; align-items: center; justify-content: center; color: var(--mtv-blue); font-size: 30px; }
.mtv-match-placeholder::before { content: "💡"; }
.mtv-match-mini-stack { position: absolute; right: 7px; bottom: 7px; z-index: 3; width: 66px; height: 38px; pointer-events: none; }
.mtv-match-mini-thumb { position: absolute; width: 48px; aspect-ratio: 16 / 9; border-radius: 5px; object-fit: cover; background: #edf2f7; }
.mtv-match-mini-thumb-1 { right: 0; bottom: 0; z-index: 3; transform: rotate(5deg); }
.mtv-match-mini-thumb-2 { right: 9px; bottom: 3px; z-index: 2; transform: rotate(-4deg); }
.mtv-match-mini-thumb-3 { right: 18px; bottom: 6px; z-index: 1; transform: rotate(3deg); }
.mtv-match > div:not(.mtv-match-actions):not(.mtv-match-detail):not(.mtv-match-thumb-wrap) { padding: 12px 0; }
.mtv-match h3 { margin: 2px 0; font-size: 16px; line-height: 1.3; color: #111827; }
.mtv-match-story { margin: 0 0 3px; color: #45818e; font-size: 14px; line-height: 1.12; letter-spacing: 0; font-weight: 700; }
.mtv-match-meta { margin: 0; font-size: 12px; color: var(--mtv-muted); }
.mtv-badge-comments::before { content: ""; display: inline-block; width: 10px; height: 8px; margin-right: 5px; border-radius: 6px 6px 6px 2px; background: currentColor; opacity: .72; }
.mtv-match-actions { display: flex; gap: 8px; align-items: center; padding-top: 12px; }
.mtv-match-type-suggestion .mtv-match-actions a, .mtv-match-type-suggestion .mtv-match-actions button { background: var(--mtv-blue); }
.mtv-match-released .mtv-match-actions a, .mtv-match-released .mtv-match-actions button { background: var(--mtv-green); }
.mtv-match-in_progress .mtv-match-actions a, .mtv-match-in_progress .mtv-match-actions button { background: var(--mtv-amber); }
.mtv-match.is-open { box-shadow: inset 5px 0 0 var(--mtv-blue), 0 6px 14px rgb(50 60 84 / 10%); }
.mtv-match-detail { grid-column: 1 / -1; padding: 12px 14px 14px; border-top: 1px solid rgb(50 60 84 / 10%); background: rgb(255 255 255 / 55%); cursor: default; }
.mtv-match-inline-suggestion .mtv-detail { border-top: 0; padding-top: 4px; }
.mtv-link-button { border: 0; padding: 0; background: transparent; color: var(--mtv-blue); font: inherit; font-weight: 800; cursor: pointer; }

.mtv-browse { scroll-margin-top: 24px; }
.mtv-browse-head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0 0 12px; }
.mtv-browse-head h2 { margin: 0; font-size: 20px; }
.mtv-filter-count { margin: 3px 0 0; color: var(--mtv-muted); font-size: 13px; font-weight: 800; }
.mtv-release-roadmap { display: none; width: 100%; max-width: 860px; margin: 4px 0 0; border-radius: 10px; background: #fff7e8; }
.mtv-root[data-active-tab="in_progress"]:not(.is-search-mode) .mtv-release-roadmap { display: block; }
.mtv-release-roadmap summary { cursor: pointer; padding: 10px 12px; color: var(--mtv-amber); font-size: 13px; font-weight: 900; list-style: none; }
.mtv-release-roadmap summary::-webkit-details-marker { display: none; }
.mtv-release-roadmap summary::before { content: "▸"; display: inline-block; width: 16px; margin-right: 4px; transition: transform .14s ease; }
.mtv-release-roadmap[open] summary::before { transform: rotate(90deg); }
.mtv-release-roadmap iframe { display: block; width: 100%; border: 0; border-top: 1px solid rgb(183 121 31 / 20%); border-radius: 0 0 10px 10px; background: #fff; }
.mtv-tabs, .mtv-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.mtv-tabs { padding: 4px; border-radius: 999px; background: #edf2f7; }
.mtv-tabs button, .mtv-filter button { min-height: 32px; border: 0; border-radius: 999px; padding: 6px 12px; background: transparent; color: var(--mtv-text); font-weight: 800; cursor: pointer; }
.mtv-tabs button { min-height: 38px; padding: 7px 14px; font-size: 18px; line-height: 1.1; }
.mtv-tabs button.is-active, .mtv-filter button.is-active { background: var(--mtv-blue); color: #fff; }
.mtv-filter-row { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--mtv-muted); font-size: 12px; font-weight: 800; }
.mtv-filter { gap: 6px; }
.mtv-filter button { min-height: 28px; padding: 5px 10px; background: #f1f5f9; color: var(--mtv-muted); font-size: 12px; }
.mtv-filter button[style*="--mtv-category-color"]:not(.is-active) { background: color-mix(in srgb, var(--mtv-category-color) 18%, white); color: color-mix(in srgb, var(--mtv-category-color) 78%, #111827); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mtv-category-color) 20%, transparent); }
.mtv-search-status-row[hidden] { display: none !important; }
.mtv-search-status-row { display: flex; flex-wrap: wrap; gap: 8px; width: fit-content; margin: 0 0 12px; padding: 4px; border-radius: 999px; background: #edf2f7; }
.mtv-search-status-row button { min-height: 32px; border: 0; border-radius: 999px; padding: 6px 12px; background: transparent; color: var(--mtv-text); font-weight: 800; cursor: pointer; }
.mtv-search-status-row button.is-active { background: var(--mtv-blue); color: #fff; }
.mtv-search-filter-hint[hidden] { display: none !important; }
.mtv-search-filter-hint { margin: -4px 0 12px; padding: 9px 12px; border-radius: 999px; background: #f8fbfd; color: var(--mtv-muted); font-size: 12px; font-weight: 800; }
.mtv-search-filter-hint button { border: 0; padding: 0; background: transparent; color: var(--mtv-blue); font: inherit; font-weight: 900; cursor: pointer; text-decoration: underline; }
.mtv-root.is-search-mode.has-search-query .mtv-tabs { display: none; }
.mtv-root.is-search-mode.has-search-query .mtv-list-tab:not(.mtv-search-results) { display: none; }
.mtv-root.is-search-mode.has-search-query .mtv-search-results { display: grid; }
.mtv-search-results[hidden] { display: none !important; }
.mtv-list-loading[hidden] { display: none !important; }
.mtv-list-loading { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--mtv-muted); font-size: 12px; font-weight: 800; }
.mtv-list-loading span { width: 14px; aspect-ratio: 1; border: 2px solid #dbe8ef; border-top-color: var(--mtv-blue); border-radius: 50%; animation: mtv-spin .75s linear infinite; }
.mtv-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mtv-wide-list { margin-top: 18px; }
.mtv-list { padding: 16px; }
.mtv-list-tab { display: none; }
.mtv-list-tab.is-active { display: block; }
.mtv-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; margin: 0 -8px; padding: 18px 13px; border-top: 1px solid var(--mtv-line); border-radius: 8px; transition: background .15s ease, box-shadow .15s ease, transform .15s ease; }
.mtv-card.has-visual { grid-template-columns: 160px minmax(0, 1fr) auto; }
.mtv-card:first-of-type { border-top: 0; }
.mtv-card:hover { background: #f1f7fb; box-shadow: inset 4px 0 0 #c4dce8; }
.mtv-card[data-status="released"] { background: #f5faf7; }
.mtv-card[data-status="released"]:hover { background: #edf8f2; box-shadow: inset 4px 0 0 #b8dec9; }
.mtv-card.is-open { background: #eaf4f8; box-shadow: inset 5px 0 0 var(--mtv-blue), 0 6px 14px rgb(50 60 84 / 10%); }
.mtv-card-highlight { animation: mtv-highlight 1.5s ease-out 1; }
@keyframes mtv-highlight { 0% { background: #fff2d8; } 100% { background: #eaf4f8; } }
.mtv-card h3 { display: flex; align-items: flex-start; gap: 7px; margin: 6px 0 0; font-size: 20px; line-height: 1.25; }
.mtv-copy-link { flex: 0 0 auto; width: 24px !important; min-width: 24px !important; height: 24px !important; min-height: 24px !important; margin-top: 1px !important; border: 0 !important; border-radius: 999px !important; padding: 0 !important; background: #edf2f7 !important; color: var(--mtv-blue) !important; box-shadow: none !important; font-size: 15px !important; font-weight: 900 !important; line-height: 1 !important; cursor: pointer; }
.mtv-copy-link:hover { background: #dce8ef !important; }
.mtv-card-meta { margin: 3px 0 0; color: var(--mtv-muted); font-size: 13px; font-weight: 800; }
.mtv-meta-votes { color: var(--mtv-green); }
.mtv-meta-comments { color: var(--mtv-blue); }
.mtv-card-visual { align-self: start; display: block; width: 156px; min-height: 98px; border-radius: 12px; overflow: visible; background: transparent; }
.mtv-card-visual { position: relative; }
.mtv-card-visual::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  z-index: 6;
  width: 152px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: transparent;
}
.mtv-card-visual-layer { position: absolute; left: 0; top: 0; display: block; width: 156px; height: auto; min-height: 88px; aspect-ratio: 16 / 9; object-fit: contain; padding: 2px; box-sizing: border-box; border-radius: 12px; background: #edf2f7; }
.mtv-card-visual-layer-1 { z-index: 5; transform: rotate(-1deg); }
.mtv-card-visual-layer-2 { z-index: 4; transform: translate(4px, 4px) rotate(2deg); }
.mtv-card-visual-layer-3 { z-index: 3; transform: translate(8px, 8px) rotate(-2deg); }
.mtv-card-main { min-width: 0; cursor: pointer; }
.mtv-card-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 116px; }
.mtv-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mtv-badge { display: inline-flex; align-items: center; min-height: 22px; border: 0; border-radius: 999px; padding: 3px 9px; background: #edf2f7; color: var(--mtv-muted); font-size: 12px; font-weight: 800; line-height: 1.2; }
.mtv-badge-category[style*="--mtv-category-color"], .mtv-badge-type[style*="--mtv-category-color"] { background: color-mix(in srgb, var(--mtv-category-color) 18%, white); color: color-mix(in srgb, var(--mtv-category-color) 78%, #111827); }
.mtv-badge-status { background: #eef6fa; color: var(--mtv-blue); }
.mtv-badge-status-in_progress { background: #fff7e8; color: var(--mtv-amber); }
.mtv-badge-status-released { background: #edf8f2; color: var(--mtv-green); }
.mtv-badge-status-declined { background: #fdecea; color: var(--mtv-red); }
.mtv-status-date { color: var(--mtv-muted); font-size: 12px; font-weight: 700; line-height: 1.2; }
.mtv-badge-top { background: #fff7e8; color: var(--mtv-amber); }
.mtv-badge-trending { background: #edf8f2; color: var(--mtv-green); }
.mtv-badge-comments { background: #eef6fa; color: var(--mtv-blue); }
.mtv-badge-own { background: #fff7e8; color: var(--mtv-amber); }
.mtv-badge-voted { background: #edf8f2; color: var(--mtv-green); }
.mtv-note, .mtv-description, .mtv-muted, .mtv-login-note p { margin: 6px 0 0; color: var(--mtv-muted); font-size: 14px; }
.mtv-list-empty, .mtv-filter-empty { margin: 10px 0; padding: 14px 16px; border-radius: 8px; background: #f8fbfd; color: var(--mtv-muted); font-weight: 800; text-align: center; }
.mtv-login-preview { border: 1px solid var(--mtv-line); border-radius: 14px; background: #f8fbfd; padding: 18px; box-shadow: 0 8px 24px rgb(15 23 42 / 7%); }
.mtv-login-preview-head { display: grid; gap: 8px; margin-bottom: 16px; }
.mtv-login-preview-head strong { font-size: 22px; color: var(--mtv-text); }
.mtv-login-preview-head p { margin: 0; color: var(--mtv-muted); }
.mtv-login-preview-head a { justify-self: start; display: inline-flex; align-items: center; justify-content: center; min-height: 38px; border-radius: 999px; padding: 9px 16px; background: var(--mtv-blue); color: #fff; font-weight: 800; text-decoration: none; }
.mtv-login-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mtv-preview-column { position: relative; overflow: hidden; min-height: 270px; border-radius: 12px; background: #fff; padding: 14px; }
.mtv-preview-column::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 70px; background: linear-gradient(to bottom, rgb(255 255 255 / 0), #fff 72%); pointer-events: none; }
.mtv-preview-column h2 { margin: 0 0 10px; font-size: 18px; }
.mtv-preview-items { display: grid; gap: 8px; }
.mtv-preview-item { border: 1px solid var(--mtv-line); border-radius: 10px; padding: 10px; background: #f8fbfd; }
.mtv-preview-item strong { display: block; color: var(--mtv-text); }
.mtv-preview-item p { margin: 4px 0 0; color: var(--mtv-muted); font-size: 13px; font-weight: 800; }
.mtv-preview-item.is-peeking { transform: translateY(20px); opacity: .72; }
.mtv-note { border-left: 3px solid var(--mtv-blue); padding: 8px 10px; background: var(--mtv-soft); }
.mtv-note-preview { max-width: 760px; background: #f8fbfd; }
.mtv-note strong { display: block; margin-bottom: 3px; color: var(--mtv-text); font-size: 13px; }
.mtv-note p { margin: 0; }
.mtv-single-list .mtv-card { margin: 0; }
.mtv-protected-thumb { user-select: none; -webkit-user-drag: none; }
.mtv-detail { grid-column: 1 / -1; border-top: 1px solid #c9dce7; padding-top: 14px; }
.mtv-owner-panel { margin: 0 0 14px; padding: 0; border-radius: 0; background: transparent; border: 0; }
.mtv-owner-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.mtv-owner-actions-inline { display: grid; gap: 8px; margin: 0; }
.mtv-owner-actions-inline[hidden] { display: none !important; }
.mtv-edit-form[hidden] { display: none !important; }
.mtv-edit-form label { display: block; margin-bottom: 10px; }
.mtv-edit-form span { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 800; }
.mtv-detail-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(190px, 0.5fr); gap: 16px; }
.mtv-detail-grid-compact { grid-template-columns: minmax(190px, 320px); }
.mtv-detail h4, .mtv-comments h4 { margin: 0 0 8px; font-size: 14px; }
.mtv-detail p { margin: 0 0 8px; font-size: 14px; line-height: 1.45; }
.mtv-moderation { display: grid; grid-template-columns: minmax(150px, 0.5fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; margin: 12px 0; padding: 12px; background: var(--mtv-soft); border: 1px solid var(--mtv-line); border-radius: 6px; }
.mtv-comments { margin-top: 12px; }
.mtv-admin-inline { margin: 0 0 14px; padding: 12px; border: 1px solid var(--mtv-line); border-radius: 8px; background: #f8fbfd; }
.mtv-admin-inline .mtv-form-grid label:last-child { grid-column: 1 / -1; }
.mtv-manual-links { margin: 0 0 16px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.mtv-admin-inline[hidden] { display: none !important; }
.mtv-admin-inline h4, .mtv-manual-links h4 { margin: 0 0 10px; font-size: 14px; }
.mtv-link-search-form { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--mtv-line); }
.mtv-admin-links { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--mtv-line); }
.mtv-admin-link-note { margin-top: 8px !important; color: var(--mtv-muted); font-size: 12px !important; }
.mtv-admin-status-hint { margin: 10px 0 !important; padding: 10px 12px; border-radius: 8px; background: #fff7e8; color: #8a5a12; font-size: 13px !important; font-weight: 800; }
.mtv-link-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.mtv-link-search-results { display: grid; gap: 8px; margin-top: 10px; }
.mtv-linked-items { display: grid; gap: 8px; }
.mtv-linked-item, .mtv-link-result { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 8px; border-radius: 8px; background: #fff; border: 1px solid #e1ebf2; }
.mtv-manual-links .mtv-linked-items { display: grid; gap: 0; border-top: 1px solid var(--mtv-line); }
.mtv-manual-links .mtv-linked-item { padding: 10px 0; border: 0; border-bottom: 1px solid var(--mtv-line); border-radius: 0; background: transparent; }
.mtv-link-result.is-selected { border-color: rgb(44 140 105 / 50%); background: #edf8f2; box-shadow: inset 4px 0 0 var(--mtv-green); }
.mtv-linked-item img, .mtv-link-result img, .mtv-link-result-placeholder { width: 96px; aspect-ratio: 16 / 9; border-radius: 8px; object-fit: contain; background: #edf2f7; }
.mtv-manual-links .mtv-linked-item img { width: 86px; border-radius: 8px; }
.mtv-linked-item strong, .mtv-link-result strong { display: block; color: var(--mtv-text); font-size: 14px; line-height: 1.25; }
.mtv-linked-item p, .mtv-link-result p { margin: 2px 0 4px; color: var(--mtv-muted); font-size: 12px; font-weight: 800; }
.mtv-linked-item a { color: var(--mtv-blue); font-size: 13px; font-weight: 900; }
.mtv-link-result button.is-selected { background: var(--mtv-green); color: #fff; }
.mtv-link-bulk-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 8px 0 2px; }
.mtv-link-bulk-actions span { color: var(--mtv-muted); font-size: 13px; font-weight: 800; }
.mtv-link-bulk-actions button:disabled { background: #cbd5e1; cursor: not-allowed; }
.mtv-link-remove { align-self: start; border: 0; border-radius: 999px; padding: 6px 10px; background: #fdecea; color: var(--mtv-red); font-weight: 900; cursor: pointer; }
.mtv-link-remove:disabled { opacity: .6; cursor: wait; }
.mtv-comments-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.mtv-comments-head span { color: var(--mtv-blue); font-size: 14px; font-weight: 900; }
.mtv-comments-list { display: grid; gap: 8px; }
.mtv-comment { border-top: 1px solid var(--mtv-line); padding-top: 8px; }
.mtv-comment:first-child { border-top: 0; padding-top: 0; }
.mtv-comment p { margin: 0; font-size: 14px; line-height: 1.45; }
.mtv-comment .mtv-comment-meta { margin-bottom: 3px; color: var(--mtv-muted); font-size: 12px; font-weight: 800; }
.mtv-comment-form { margin-top: 12px; }
.mtv-first-comment { color: var(--mtv-blue); font-weight: 800; }
.mtv-error { margin: 0; color: var(--mtv-red); font-size: 14px; }
.mtv-help { display: flex; gap: 16px; margin-top: 18px; }
.mtv-help a { color: var(--mtv-red); font-weight: 800; }
.mtv-load-more { display: flex; min-width: 180px; margin: 14px auto 0; border: 0; border-radius: 999px; padding: 10px 18px; background: var(--mtv-blue); color: #fff; font-weight: 800; cursor: pointer; }
.mtv-load-more:disabled { background: #cbd5e1; cursor: wait; }
.mtv-load-more[hidden] { display: none !important; }
.mtv-dialog-backdrop { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 18px; background: rgb(15 23 42 / 34%); }
.mtv-dialog { width: min(520px, 100%); border-radius: 14px; padding: 20px; background: #fff; box-shadow: 0 20px 60px rgb(15 23 42 / 28%); }
.mtv-dialog h3 { margin: 0 0 8px; font-size: 22px; }
.mtv-dialog p { margin: 0 0 12px; color: var(--mtv-muted); }
.mtv-dialog ul { margin: 0 0 16px; padding-left: 20px; }
.mtv-dialog li { margin: 4px 0; font-weight: 800; }
.mtv-dialog li span { color: var(--mtv-muted); font-weight: 700; }
.mtv-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }
.mtv-released-collage { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr); gap: 18px; align-items: center; margin: 2px 0 18px; padding: 16px; border-radius: 8px; background: #f5faf7; overflow: hidden; }
.mtv-released-copy strong { display: block; color: var(--mtv-green); font-size: 18px; line-height: 1.2; }
.mtv-released-copy p { max-width: 390px; margin: 6px 0 0; color: var(--mtv-muted); font-size: 14px; line-height: 1.4; }
.mtv-collage-stack { position: relative; min-height: 174px; }
.mtv-collage-item { position: absolute; width: 172px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 22px rgb(50 60 84 / 18%); transition: transform .16s ease, z-index .16s ease; }
.mtv-collage-item:hover { z-index: 10; transform: rotate(0deg) scale(1.06); }
.mtv-collage-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mtv-collage-item-1 { left: 0; top: 42px; transform: rotate(-7deg); }
.mtv-collage-item-2 { left: 92px; top: 8px; transform: rotate(5deg); }
.mtv-collage-item-3 { left: 210px; top: 52px; transform: rotate(-3deg); }
.mtv-collage-item-4 { left: 330px; top: 16px; transform: rotate(7deg); }
.mtv-collage-item-5 { left: 48px; top: 94px; transform: rotate(4deg); }
.mtv-collage-item-6 { left: 178px; top: 102px; transform: rotate(-8deg); }
.mtv-collage-item-7 { left: 308px; top: 92px; transform: rotate(3deg); }
.mtv-collage-item-8 { left: 438px; top: 54px; transform: rotate(-5deg); }

@media (max-width: 760px) {
  .mtv-root { padding: 22px 12px 42px; }
  .mtv-columns, .mtv-form-grid, .mtv-card, .mtv-card.has-visual, .mtv-detail-grid, .mtv-moderation, .mtv-match { grid-template-columns: 1fr; }
  .mtv-mode-switch { width: 100%; font-size: 15px; }
  .mtv-mode-switch button { flex: 1 1 0; min-height: 36px !important; padding: 7px 10px !important; }
  .mtv-mode-switch .mtv-mode-full { display: none !important; }
  .mtv-mode-switch .mtv-mode-short { display: inline !important; }
  .mtv-admin-week-stats { border-radius: 14px; align-items: flex-start; }
  .mtv-browse-head { align-items: flex-start; flex-direction: column; }
  .mtv-tabs { width: 100%; max-width: 100%; overflow-x: auto; flex-wrap: nowrap; border-radius: 18px; scrollbar-width: thin; }
  .mtv-tabs button { flex: 0 0 auto; min-height: 36px; font-size: 14px; white-space: nowrap; }
  .mtv-search-status-row { width: 100%; max-width: 100%; overflow-x: auto; flex-wrap: nowrap; border-radius: 18px; scrollbar-width: thin; }
  .mtv-search-status-row button { flex: 0 0 auto; white-space: nowrap; }
  .mtv-filter-row { align-items: flex-start; flex-direction: column; gap: 7px; }
  .mtv-filter { width: 100%; }
  .mtv-filter button { min-height: 34px; padding: 7px 11px; }
  .mtv-login-preview-grid { grid-template-columns: 1fr; }
  .mtv-card { gap: 10px; margin: 0 -6px; padding: 16px 11px; }
  .mtv-card-actions, .mtv-match-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .mtv-card-actions button, .mtv-card-actions a, .mtv-match-actions button, .mtv-match-actions a { flex: 1 1 140px; }
  .mtv-linked-item, .mtv-link-result, .mtv-link-search-row { grid-template-columns: 1fr; }
  .mtv-linked-item img, .mtv-link-result img, .mtv-link-result-placeholder { width: 100%; }
  .mtv-match-thumb-wrap, .mtv-match-thumb, .mtv-card-visual { width: 100%; height: auto; border-radius: 12px; }
  .mtv-match-thumb-wrap { min-height: auto; }
  .mtv-card-visual { min-height: calc((100vw - 50px) * 0.5625 + 10px); }
  .mtv-card-visual::after { width: calc(100% - 4px); }
  .mtv-card-visual-layer { width: 100%; }
  .mtv-match::after { width: calc(100% - 4px); }
  .mtv-hero h1 { font-size: 28px; }
  .mtv-hero p { font-size: 15px; }
  .mtv-released-collage { grid-template-columns: 1fr; }
  .mtv-collage-stack { min-height: 250px; }
  .mtv-collage-item { width: 148px; }
}
