:root {
  --rot-bg: var(--aw-bg, #0e0e10);
  --rot-panel: var(--aw-bg-3, #17171b);
  --rot-panel-2: var(--aw-bg-2, #141417);
  --rot-panel-elev: var(--aw-bg-elev, #202026);
  --rot-line: var(--aw-line, rgba(244, 237, 228, 0.12));
  --rot-line-strong: var(--aw-line-strong, rgba(244, 237, 228, 0.22));
  --rot-ink: var(--aw-ink, #f4ede4);
  --rot-muted: var(--aw-ink-dim, #c3b9ae);
  --rot-soft: var(--aw-ink-mute, #908a82);
  --rot-ruby: var(--aw-accent, #b8444a);
  --rot-ruby-deep: var(--aw-accent-deep, #7f2d34);
  --rot-ruby-soft: #ff8b93;
  --rot-gold: #d8b66d;
  --rot-green: #41c982;
  --rot-danger: #ef646d;
  --rot-font: var(--aw-font-en, "Inter Tight", "Tajawal", "Segoe UI", system-ui, sans-serif);
  --rot-display: var(--aw-font-display, "Playfair Display", Georgia, serif);
  --rot-radius-sm: 6px;
  --rot-radius: 8px;
  --rot-radius-lg: 14px;
  --rot-radius-xl: 18px;
  --rot-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  --rot-shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.22);
}

html {
  background: var(--rot-bg);
}

.aw-rotations-body {
  min-height: 100dvh;
  background-color: var(--rot-bg);
  background-image:
    linear-gradient(180deg, rgba(184, 68, 74, 0.14), transparent 360px),
    linear-gradient(135deg, #0a0a0c 0%, #101015 48%, #121316 100%);
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 720px, 100% 100%;
  color: var(--rot-ink);
  font-family: var(--rot-font);
}

.aw-rot-page,
.aw-rot-page *,
.aw-rot-page *::before,
.aw-rot-page *::after {
  box-sizing: border-box;
}

.aw-rot-page {
  width: min(2000px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.aw-rot-page a {
  color: inherit;
  text-decoration: none;
}

.aw-rot-page button,
.aw-rot-page input,
.aw-rot-page select,
.aw-rot-page textarea {
  font: inherit;
}

.aw-rot-page img {
  display: block;
  max-width: 100%;
}

.aw-toast-layer {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: grid;
  gap: 10px;
  width: min(420px, calc(100vw - 28px));
  pointer-events: none;
}

.aw-toast {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 12px 12px 14px;
  border: 1px solid rgba(244, 237, 228, 0.14);
  border-left: 4px solid rgba(216, 182, 109, 0.72);
  border-radius: var(--rot-radius);
  background:
    linear-gradient(135deg, rgba(244, 237, 228, 0.08), rgba(0, 0, 0, 0.18)),
    rgba(20, 20, 23, 0.96);
  color: var(--rot-ink);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: auto;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.aw-toast--in {
  opacity: 1;
  transform: translateY(0);
}

.aw-toast--out {
  opacity: 0;
  transform: translateY(10px);
}

.aw-toast__icon {
  color: var(--rot-gold);
}

.aw-toast__msg {
  min-width: 0;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.35;
}

.aw-toast__close {
  width: 30px;
  height: 30px;
  border: 1px solid transparent;
  border-radius: var(--rot-radius-sm);
  background: transparent;
  color: var(--rot-muted);
  cursor: pointer;
}

.aw-toast__close:hover,
.aw-toast__close:focus-visible {
  border-color: rgba(244, 237, 228, 0.16);
  background: rgba(244, 237, 228, 0.08);
  color: var(--rot-ink);
  outline: none;
}

.aw-toast--success {
  border-left-color: var(--rot-green);
}

.aw-toast--success .aw-toast__icon {
  color: var(--rot-green);
}

.aw-toast--error {
  border-left-color: var(--rot-danger);
}

.aw-toast--error .aw-toast__icon {
  color: var(--rot-danger);
}

.aw-toast--warning {
  border-left-color: var(--rot-gold);
}

.aw-toast--info {
  border-left-color: #72a7ff;
}

@keyframes aw-toast-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.aw-toast--pulse {
  animation: aw-toast-pulse 260ms ease;
}

.aw-rot-lang-ar .aw-rot-page [data-rot-i18n],
.aw-rot-lang-ar .aw-rot-page [data-rot-lang-toggle-label] {
  font-family: "Tajawal", var(--rot-font);
}

.aw-rot-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}

.aw-rot-hero__copy {
  min-width: 0;
}

.aw-rot-eyebrow {
  margin: 0 0 7px;
  color: var(--rot-ruby-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aw-rot-hero h1,
.aw-rot-submit-guide h2,
.aw-rot-section-title h2,
.aw-rot-owner-review h2 {
  margin: 0;
  color: var(--rot-ink);
  letter-spacing: 0;
}

.aw-rot-hero h1 {
  max-width: 820px;
  font-family: var(--rot-display);
  font-size: clamp(2.25rem, 4.8vw, 3.65rem);
  font-weight: 700;
  line-height: 1;
}

.aw-rot-hero span {
  display: block;
  max-width: 760px;
  margin-top: 12px;
  color: var(--rot-muted);
  font-size: 18px;
  line-height: 1.55;
}

.aw-rot-detail-page {
  width: min(1500px, calc(100% - 32px));
}

.aw-rot-detail-hero {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.aw-rot-detail-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.aw-rot-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--rot-line);
  border-radius: var(--rot-radius);
  background: rgba(244, 237, 228, 0.055);
  color: var(--rot-muted);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, color 150ms ease, background 150ms ease;
}

.aw-rot-back-link:hover,
.aw-rot-back-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(216, 182, 109, 0.62);
  background: rgba(216, 182, 109, 0.08);
  color: var(--rot-ink);
  outline: none;
}

.aw-rot-detail-title {
  max-width: 980px;
  margin: 0;
  color: var(--rot-ink);
  font-family: var(--rot-display);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.04;
}

.aw-rot-detail-note {
  max-width: 1280px;
  margin: 0;
  color: var(--rot-muted);
  font-size: 1.03rem;
  line-height: 1.62;
}

.aw-rot-detail-gallery {
  gap: 0;
}

.aw-rot-detail-card {
  gap: 16px;
}

.aw-rot-detail-heading-spacer {
  min-height: 1px;
}

.aw-rot-detail-missing {
  display: grid;
  justify-items: center;
  gap: 14px;
  min-height: 42vh;
}

.aw-rot-detail-missing h1,
.aw-rot-detail-missing p {
  margin: 0;
}

.aw-rot-hero__actions,
.aw-rot-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.aw-rot-link,
.aw-rot-button,
.aw-rot-icon-button,
.aw-rot-picker-button,
.aw-rot-chip,
.aw-rot-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid var(--rot-line);
  border-radius: var(--rot-radius);
  color: var(--rot-ink);
  background: rgba(244, 237, 228, 0.055);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  text-align: center;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, color 150ms ease, box-shadow 150ms ease;
  -webkit-tap-highlight-color: transparent;
}

.aw-rot-link,
.aw-rot-button,
.aw-rot-picker-button {
  padding: 0 16px;
}

.aw-rot-hero__actions .aw-rot-link {
  min-height: 44px;
  padding: 0 16px 2px;
  line-height: 1.15;
}

.aw-rot-hero__actions .aw-rot-link i,
.aw-rot-hero__actions .aw-rot-link span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.aw-rot-hero__actions .aw-rot-link span {
  transform: translateY(-5px);
}

.aw-rot-link:hover,
.aw-rot-link:focus-visible,
.aw-rot-button:hover,
.aw-rot-button:focus-visible,
.aw-rot-picker-button:hover,
.aw-rot-picker-button:focus-visible,
.aw-rot-icon-button:hover,
.aw-rot-icon-button:focus-visible,
.aw-rot-chip:hover,
.aw-rot-chip:focus-visible,
.aw-rot-tab:hover,
.aw-rot-tab:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(216, 182, 109, 0.62);
  outline: none;
}

.aw-rot-link--primary,
.aw-rot-button--primary {
  border-color: rgba(184, 68, 74, 0.56);
  background: linear-gradient(135deg, var(--rot-ruby), var(--rot-ruby-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(184, 68, 74, 0.22);
}

.aw-rot-hero__actions .aw-rot-link--primary {
  border-color: rgba(216, 182, 109, 0.62);
  background: linear-gradient(135deg, #e2c476, #a67a34);
  color: #080706;
  box-shadow: 0 10px 24px rgba(216, 182, 109, 0.18);
}

.aw-rot-hero__actions .aw-rot-link--primary i,
.aw-rot-hero__actions .aw-rot-link--primary span {
  color: currentColor;
}

.aw-rot-hero__actions .aw-rot-link--primary:hover,
.aw-rot-hero__actions .aw-rot-link--primary:focus-visible {
  border-color: rgba(255, 222, 148, 0.78);
  background: linear-gradient(135deg, #efd58b, #bb8b3e);
  color: #080706;
  box-shadow: 0 14px 28px rgba(216, 182, 109, 0.24), 0 0 0 3px rgba(216, 182, 109, 0.12);
}

.aw-rot-link--ghost,
.aw-rot-button:not(.aw-rot-button--primary):not(.aw-rot-button--danger) {
  color: var(--rot-muted);
}

.aw-rot-link--danger,
.aw-rot-button--danger {
  border-color: rgba(239, 100, 109, 0.46);
  background: rgba(239, 100, 109, 0.12);
  color: #ffc7cc;
}

.aw-rot-icon-button--video {
  width: 56px;
  min-width: 56px;
  height: 38px;
  min-height: 38px;
  align-self: center;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  background: #ff0033;
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 0, 51, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.aw-rot-icon-button--video i {
  font-size: 1.25rem;
  line-height: 1;
}

.aw-rot-video-field .aw-rot-link {
  border-color: rgba(239, 100, 109, 0.34);
  color: #ffc7cc;
}

.aw-rot-icon-button--video:hover,
.aw-rot-icon-button--video:focus-visible {
  border-color: rgba(255, 255, 255, 0.18);
  background: #ff1f43;
  color: #fff;
  box-shadow: 0 14px 28px rgba(255, 0, 51, 0.34), 0 0 0 3px rgba(255, 0, 51, 0.14);
}

.aw-rot-video-field .aw-rot-link:hover,
.aw-rot-video-field .aw-rot-link:focus-visible {
  border-color: rgba(239, 100, 109, 0.62);
  color: #fff;
}

.aw-rot-button:disabled,
.aw-rot-icon-button:disabled,
.aw-rot-picker-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.aw-rot-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(220px, 280px) minmax(220px, 280px) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid var(--rot-line);
  border-radius: 10px;
  background: rgba(23, 23, 27, 0.86);
}

.aw-rot-saved-filter {
  min-height: 44px;
  border-color: rgba(184, 68, 74, 0.56);
  background: linear-gradient(135deg, var(--rot-ruby), var(--rot-ruby-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(184, 68, 74, 0.18);
  white-space: nowrap;
}

.aw-rot-button.aw-rot-saved-filter:not(.aw-rot-button--primary):not(.aw-rot-button--danger) {
  color: #fff;
}

.aw-rot-saved-filter i {
  color: #ffd5d9;
}

.aw-rot-saved-filter:hover,
.aw-rot-saved-filter:focus-visible {
  border-color: rgba(255, 139, 147, 0.72);
  background: linear-gradient(135deg, #cc4f57, var(--rot-ruby-deep));
  color: #fff;
  box-shadow: 0 14px 28px rgba(184, 68, 74, 0.24), 0 0 0 3px rgba(184, 68, 74, 0.12);
}

.aw-rot-saved-filter.is-active {
  border-color: rgba(255, 139, 147, 0.56);
  background: linear-gradient(135deg, rgba(184, 68, 74, 0.72), rgba(127, 45, 52, 0.72));
  color: #fff;
  box-shadow: 0 10px 24px rgba(184, 68, 74, 0.18);
}

.aw-rot-saved-filter.is-active i {
  color: #ffd5d9;
}

.aw-rot-search,
.aw-rot-count-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--rot-line);
  border-radius: var(--rot-radius);
  background: rgba(0, 0, 0, 0.2);
  color: var(--rot-soft);
}

.aw-rot-search input,
.aw-rot-count-filter select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--rot-ink);
}

.aw-rot-count-filter select {
  color-scheme: dark;
  cursor: pointer;
}

.aw-rot-count-filter select option {
  background: #17171b;
  color: var(--rot-ink);
}

.aw-rot-search input::placeholder {
  color: var(--rot-soft);
  opacity: 0.78;
}

.aw-rot-search:focus-within,
.aw-rot-count-filter:focus-within,
.aw-rot-field:focus-within input,
.aw-rot-field:focus-within textarea,
.aw-rot-field:focus-within select,
.aw-rot-owner-editor input:focus,
.aw-rot-owner-editor textarea:focus,
.aw-rot-owner-editor select:focus {
  border-color: rgba(184, 68, 74, 0.44);
  box-shadow: 0 0 0 3px rgba(184, 68, 74, 0.13);
}

.aw-rot-field {
  display: grid;
  gap: 7px;
  color: var(--rot-muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.aw-rot-field > span {
  color: var(--rot-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  text-transform: uppercase;
}

.aw-rot-field input,
.aw-rot-field textarea,
.aw-rot-field select,
.aw-rot-owner-editor input,
.aw-rot-owner-editor textarea,
.aw-rot-owner-editor select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--rot-line);
  border-radius: var(--rot-radius);
  outline: 0;
  background:
    linear-gradient(135deg, rgba(244, 237, 228, 0.035), rgba(0, 0, 0, 0.16)),
    rgba(0, 0, 0, 0.22);
  color: var(--rot-ink);
  font-weight: 500;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.aw-rot-field textarea,
.aw-rot-owner-editor textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.55;
}

.aw-rot-field select,
.aw-rot-owner-editor select {
  color-scheme: dark;
  cursor: pointer;
}

.aw-rot-field select option,
.aw-rot-owner-editor select option {
  background: #17171b;
  color: var(--rot-ink);
}

.aw-rot-field small,
.aw-rot-muted {
  color: var(--rot-soft);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

.aw-rot-character-filter,
.aw-rot-character-slot,
.aw-rot-build-picker,
.aw-rot-picker {
  position: relative;
  min-width: 0;
}

.aw-rot-picker-button {
  width: 100%;
  min-height: 42px;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(184, 68, 74, 0.11), rgba(244, 237, 228, 0.035)),
    rgba(0, 0, 0, 0.22);
  color: var(--rot-ink);
  text-align: start;
}

.aw-rot-picker-button i {
  color: var(--rot-gold);
  font-size: 13px;
  transition: transform 150ms ease;
}

.aw-rot-character-filter.is-open .aw-rot-picker-button,
.aw-rot-character-slot.is-open .aw-rot-picker-button,
.aw-rot-build-picker.is-open .aw-rot-picker-button {
  border-color: rgba(216, 182, 109, 0.62);
  box-shadow: 0 0 0 3px rgba(216, 182, 109, 0.10);
}

.aw-rot-character-filter.is-open .aw-rot-picker-button i,
.aw-rot-character-slot.is-open .aw-rot-picker-button i,
.aw-rot-build-picker.is-open .aw-rot-picker-button i {
  transform: rotate(180deg);
}

.aw-rot-picker-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 310px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 6px;
  border: 1px solid rgba(216, 182, 109, 0.32);
  border-radius: var(--rot-radius);
  background:
    linear-gradient(180deg, rgba(32, 32, 38, 0.98), rgba(13, 13, 16, 0.98)),
    var(--rot-panel);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.aw-rot-character-slot .aw-rot-picker-menu {
  top: 50px;
}

.aw-rot-picker-menu[hidden] {
  display: none;
}

.aw-rot-picker-option {
  width: 100%;
  min-height: 42px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 6px 9px;
  border: 0;
  border-radius: var(--rot-radius-sm);
  background: transparent;
  color: var(--rot-ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: start;
}

.aw-rot-picker-option:hover,
.aw-rot-picker-option:focus-visible {
  background: rgba(244, 237, 228, 0.08);
  outline: none;
}

.aw-rot-picker-option.is-selected {
  background: rgba(184, 68, 74, 0.18);
  color: var(--rot-ink);
  box-shadow: inset 3px 0 0 rgba(216, 182, 109, 0.78);
}

.aw-rot-picker-option:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.aw-rot-picker-option img,
.aw-rot-card-character img,
.aw-rot-build-row img,
.aw-rot-submission-mini img,
.aw-rot-team-chip img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  background: rgba(244, 237, 228, 0.06);
}

.aw-rot-field--picker {
  min-width: 0;
}

.aw-rot-build-editor .aw-rot-field select,
.aw-rot-build-picker-button {
  min-height: 52px;
}

.aw-rot-build-picker-button {
  padding: 6px 12px;
  min-width: 0;
  overflow: hidden;
}

.aw-rot-picker-selected {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.aw-rot-picker-selected > span:not(.aw-rot-picker-image-placeholder) {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aw-rot-picker-selected + i {
  flex: 0 0 auto;
}

.aw-rot-picker-selected img,
.aw-rot-picker-selected .aw-rot-picker-image-placeholder {
  flex: 0 0 auto;
}

.aw-rot-build-picker-menu {
  z-index: 80;
  width: 100%;
  max-height: 330px;
}

.aw-rot-picker-option--asset {
  grid-template-columns: 38px minmax(0, 1fr) auto;
  min-height: 48px;
}

.aw-rot-picker-option--asset > span:not(.aw-rot-picker-image-placeholder) {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.aw-rot-picker-option--asset img,
.aw-rot-picker-selected img,
.aw-rot-picker-image-placeholder {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(244, 237, 228, 0.12);
  border-radius: 7px;
  background:
    radial-gradient(circle at 50% 35%, rgba(216, 182, 109, 0.12), transparent 70%),
    rgba(244, 237, 228, 0.055);
  object-fit: contain;
  padding: 3px;
}

.aw-rot-picker-image-placeholder {
  display: block;
}

.aw-rot-picker-empty {
  padding: 12px;
  color: var(--rot-soft);
  font-size: 0.92rem;
}

.aw-rot-filter-chips,
.aw-rot-character-slots,
.aw-rot-build-grid,
.aw-rot-status-tabs,
.aw-rot-lang-choice,
.aw-rot-form-grid,
.aw-rot-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aw-rot-filter-chips {
  min-height: 30px;
  margin: 0 0 10px;
}

.aw-rot-filter-chips:empty {
  min-height: 0;
  margin-bottom: 0;
}

.aw-rot-chip {
  min-height: 32px;
  padding: 0 10px;
  color: var(--rot-muted);
  font-size: 0.86rem;
}

.aw-rot-chip.is-active,
.aw-rot-tab.is-active {
  border-color: rgba(184, 68, 74, 0.56);
  background: linear-gradient(135deg, rgba(184, 68, 74, 0.72), rgba(127, 45, 52, 0.72));
  color: #fff;
}

.aw-rot-gallery {
  display: grid;
  gap: 16px;
}

.aw-rot-card,
.aw-rot-form-panel,
.aw-rot-submit-guide,
.aw-rot-submission-row,
.aw-rot-owner-shell,
.aw-rot-submissions-shell {
  border: 1px solid var(--rot-line);
  border-radius: var(--rot-radius);
  background: rgba(23, 23, 27, 0.9);
  box-shadow: var(--rot-shadow-soft);
}

.aw-rot-card,
.aw-rot-form-panel,
.aw-rot-submit-guide {
  padding: 22px;
}

.aw-rot-card {
  display: grid;
  gap: 15px;
  position: relative;
  overflow: hidden;
}

.aw-rot-card::before,
.aw-rot-form-panel::before,
.aw-rot-submit-guide::before,
.aw-rot-owner-shell::before,
.aw-rot-submissions-shell::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 68, 74, 0.45), transparent);
  pointer-events: none;
}

.aw-rot-form-panel,
.aw-rot-submit-guide,
.aw-rot-owner-shell,
.aw-rot-submissions-shell {
  position: relative;
}

.aw-rot-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.aw-rot-card h2,
.aw-rot-form-panel h2,
.aw-rot-submission-row h2 {
  margin: 0;
  color: var(--rot-ink);
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.18;
}

.aw-rot-card-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease, text-shadow 150ms ease;
}

.aw-rot-card-title-link:hover,
.aw-rot-card-title-link:focus-visible {
  color: #fff4df;
  text-shadow: 0 0 16px rgba(216, 182, 109, 0.18);
}

.aw-rot-card-note {
  margin: 8px 0 0;
  color: var(--rot-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.aw-rot-card-characters,
.aw-rot-team-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aw-rot-card-character,
.aw-rot-team-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 3px 10px 3px 3px;
  border: 1px solid var(--rot-line);
  border-radius: 999px;
  background: rgba(244, 237, 228, 0.045);
  color: var(--rot-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.aw-rot-card-meta,
.aw-rot-submission-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--rot-soft);
  font-size: 0.88rem;
  font-weight: 500;
}

.aw-rot-card-meta > span,
.aw-rot-submission-meta span,
.aw-rot-submission-meta a,
.aw-rot-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid var(--rot-line);
  border-radius: 999px;
  background: rgba(244, 237, 228, 0.045);
}

.aw-rot-card-meta-value {
  color: var(--rot-ink);
  font-weight: 800;
  line-height: 1;
}

.aw-rot-owner-edit-name {
  line-height: 1;
}

.aw-rot-public-id-meta {
  border-color: rgba(216, 182, 109, 0.34);
  background: rgba(216, 182, 109, 0.08);
}

.aw-rot-public-id-meta i,
.aw-rot-public-id-meta .aw-rot-card-meta-value {
  color: var(--rot-gold);
}

.aw-rot-swap-count {
  min-width: 1ch;
  font-weight: 900;
}

.aw-rot-swap-count--zero,
.aw-rot-swap-count--unavailable {
  color: var(--rot-muted);
}

.aw-rot-swap-count--low {
  color: #62d98a;
}

.aw-rot-swap-count--medium {
  color: #d8b66d;
}

.aw-rot-swap-count--high {
  color: #ffad5f;
}

.aw-rot-swap-count--very-high {
  color: #ff7a66;
}

.aw-rot-swap-count--extreme {
  color: #ff4f61;
  text-shadow: 0 0 12px rgba(255, 79, 97, 0.18);
}

.aw-rot-submitter-meta {
  gap: 10px;
  min-height: 44px;
  max-width: 100%;
  padding: 4px 11px 4px 5px;
}

.aw-rot-submitter-avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border: 1px solid rgba(244, 237, 228, 0.18);
  border-radius: 50%;
  background: var(--aw-rot-submitter-avatar-bg, linear-gradient(135deg, #b8444a, #7a1f23));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.aw-rot-submitter-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aw-rot-submitter-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: min(380px, calc(100vw - 120px));
}

.aw-rot-submitter-label {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 5px;
  color: var(--rot-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.aw-rot-lang-ar .aw-rot-submitter-label {
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: none;
}

.aw-rot-submitter-link {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  text-decoration: none;
}

.aw-rot-submitter-name {
  display: inline-block;
  min-width: 0;
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aw-rot-card-meta a,
.aw-rot-submission-meta a {
  color: var(--rot-ink);
  text-decoration: none;
}

.aw-rot-status-pill[data-status="approved"] {
  color: #ceffdf;
  border-color: rgba(65, 201, 130, 0.42);
  background: rgba(65, 201, 130, 0.12);
}

.aw-rot-status-pill[data-status="pending"] {
  color: #ffe7b0;
  border-color: rgba(216, 182, 109, 0.45);
  background: rgba(216, 182, 109, 0.10);
}

.aw-rot-status-pill[data-status="changes_requested"] {
  color: #ffe7b0;
  border-color: rgba(216, 182, 109, 0.52);
  background: rgba(216, 182, 109, 0.15);
}

.aw-rot-status-pill[data-status="rejected"],
.aw-rot-status-pill[data-status="deleted"] {
  color: #ffc7cc;
  border-color: rgba(239, 100, 109, 0.46);
  background: rgba(239, 100, 109, 0.11);
}

.aw-rot-section-list {
  display: grid;
  gap: 10px;
}

.aw-rot-section {
  border: 1px solid var(--rot-line);
  border-radius: var(--rot-radius);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.16);
}

.aw-rot-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--rot-line);
  background: rgba(244, 237, 228, 0.035);
}

summary.aw-rot-section-title {
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 150ms ease, border-color 150ms ease;
}

summary.aw-rot-section-title::-webkit-details-marker {
  display: none;
}

summary.aw-rot-section-title:hover,
summary.aw-rot-section-title:focus-visible {
  background: rgba(244, 237, 228, 0.06);
  outline: none;
}

summary.aw-rot-section-title:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(216, 182, 109, 0.36);
}

.aw-rot-section-title-copy {
  display: inline-flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.aw-rot-section-chevron {
  flex: 0 0 auto;
  color: var(--rot-gold);
  font-size: 0.78rem;
  transition: transform 150ms ease;
}

details[open] > .aw-rot-section-title .aw-rot-section-chevron {
  transform: rotate(180deg);
}

details.aw-rot-section:not([open]) > .aw-rot-section-title {
  border-bottom-color: transparent;
}

.aw-rot-section-title h3 {
  margin: 0;
  color: var(--rot-ink);
  font-size: 0.96rem;
  font-weight: 700;
}

.aw-rot-repeat {
  margin: 0;
  color: var(--rot-gold);
  font-size: 0.88rem;
  font-weight: 600;
}

.aw-rot-move-list {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.aw-rot-move {
  display: grid;
  grid-template-columns: 30px minmax(150px, 210px) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.aw-rot-move-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(216, 182, 109, 0.32);
  border-radius: 999px;
  background: rgba(216, 182, 109, 0.09);
  color: #ffe7b0;
  font-size: 0.86rem;
  font-weight: 700;
}

.aw-rot-move-character {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--rot-muted);
  font-weight: 600;
  line-height: 1.3;
}

.aw-rot-move-character-image {
  display: inline-grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border: 1px solid rgba(216, 182, 109, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(244, 237, 228, 0.055), rgba(0, 0, 0, 0.18)),
    rgba(0, 0, 0, 0.2);
  color: var(--rot-soft);
}

.aw-rot-move-character-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aw-rot-move-text {
  color: var(--rot-ink);
  line-height: 1.55;
  white-space: pre-wrap;
}

.aw-rot-input-display {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(216, 182, 109, 0.22);
  border-radius: var(--rot-radius);
  background: rgba(216, 182, 109, 0.055);
}

.aw-rot-section-title--input {
  border: 1px solid var(--rot-line);
  border-radius: var(--rot-radius);
}

details.aw-rot-input-display:not([open]) {
  gap: 0;
}

.aw-rot-move--input {
  align-items: center;
}

.aw-rot-action-line,
.aw-rot-action-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.aw-rot-action-palette {
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--rot-line);
  border-radius: var(--rot-radius);
  background: rgba(0, 0, 0, 0.14);
}

.aw-rot-action-token {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  min-height: 32px;
  max-width: 100%;
  padding: 4px 9px;
  border: 1px solid rgba(244, 237, 228, 0.16);
  border-radius: var(--rot-radius-sm);
  background:
    linear-gradient(180deg, rgba(244, 237, 228, 0.06), rgba(0, 0, 0, 0.10)),
    rgba(18, 18, 22, 0.9);
  color: var(--rot-ink);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.aw-rot-action-token--compact {
  height: 44px;
  min-height: 44px;
  padding: 4px 8px;
  gap: 7px;
}

.aw-rot-action-token--draggable {
  cursor: grab;
}

.aw-rot-action-token--draggable:active {
  cursor: grabbing;
}

.aw-rot-action-token.is-dragging {
  opacity: 0.45;
  transform: scale(0.98);
}

.aw-rot-action-token.is-drop-target,
.aw-rot-action-chip-field.is-drop-target {
  border-color: rgba(216, 182, 109, 0.64);
  box-shadow: 0 0 0 3px rgba(216, 182, 109, 0.12);
}

.aw-rot-action-token--terminal {
  border-color: rgba(216, 182, 109, 0.38);
  background: rgba(216, 182, 109, 0.12);
  color: #ffe7b0;
  cursor: default;
}

.aw-rot-action-token[data-action-id="intro"] {
  border-color: rgba(239, 100, 109, 0.38);
  background:
    linear-gradient(180deg, rgba(239, 100, 109, 0.16), rgba(184, 68, 74, 0.08)),
    rgba(18, 18, 22, 0.9);
  box-shadow: inset 0 0 0 1px rgba(239, 100, 109, 0.08);
}

.aw-rot-action-token--hold {
  border-color: rgba(216, 182, 109, 0.28);
}

.aw-rot-action-label {
  color: var(--rot-muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.aw-rot-action-word {
  position: relative;
  padding: 0 2px;
}

.aw-rot-action-word--hold {
  padding-bottom: 5px;
}

.aw-rot-action-word--hold::after,
.aw-rot-keycap--hold::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 231, 176, 0.92);
  box-shadow: 0 0 8px rgba(216, 182, 109, 0.18);
}

.aw-rot-action-token--compact .aw-rot-action-word {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 4px;
}

.aw-rot-keycap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(244, 237, 228, 0.26);
  border-bottom-color: rgba(244, 237, 228, 0.42);
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(244, 237, 228, 0.17), rgba(244, 237, 228, 0.05)),
    rgba(0, 0, 0, 0.34);
  color: var(--rot-ink);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.24);
  font-size: 0.78rem;
  font-weight: 800;
}

.aw-rot-keycap--hold {
  border-color: rgba(216, 182, 109, 0.44);
  color: #ffe7b0;
}

.aw-rot-action-token:not(.aw-rot-action-token--terminal),
.aw-rot-action-token:not(.aw-rot-action-token--terminal) .aw-rot-action-label,
.aw-rot-action-token:not(.aw-rot-action-token--terminal) .aw-rot-action-word,
.aw-rot-action-token:not(.aw-rot-action-token--terminal) .aw-rot-keycap {
  color: #fff;
}

.aw-rot-action-token--compact .aw-rot-keycap {
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
}

.aw-rot-keycap--space {
  min-width: 70px;
}

.aw-rot-mouse-button {
  position: relative;
  display: inline-grid;
  width: 28px;
  height: 34px;
  border: 1px solid rgba(244, 237, 228, 0.24);
  border-radius: 13px 13px 10px 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.20);
}

.aw-rot-action-token--compact .aw-rot-mouse-button {
  width: 34px;
  height: 34px;
}

.aw-rot-mouse-button__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 15px;
  border-bottom: 1px solid rgba(244, 237, 228, 0.18);
}

.aw-rot-mouse-button__top span + span {
  border-left: 1px solid rgba(244, 237, 228, 0.16);
}

.aw-rot-mouse-button--left .aw-rot-mouse-button__top span:first-child,
.aw-rot-mouse-button--left-hold .aw-rot-mouse-button__top span:first-child {
  background: linear-gradient(180deg, rgba(184, 68, 74, 0.92), rgba(127, 45, 52, 0.92));
}

.aw-rot-mouse-button--right .aw-rot-mouse-button__top span:last-child {
  background: linear-gradient(180deg, rgba(216, 182, 109, 0.92), rgba(155, 111, 45, 0.92));
}

.aw-rot-mouse-button__hold {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 6px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 231, 176, 0.9);
}

.aw-rot-action-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: -4px;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 237, 228, 0.08);
  color: var(--rot-soft);
  cursor: pointer;
}

.aw-rot-action-token--compact .aw-rot-action-remove {
  width: 24px;
  height: 24px;
  margin-right: -2px;
}

.aw-rot-action-remove:hover,
.aw-rot-action-remove:focus-visible {
  color: var(--rot-ink);
  background: rgba(239, 100, 109, 0.22);
  outline: none;
}

.aw-rot-builds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.aw-rot-build-row {
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: center;
  justify-content: center;
  column-gap: 18px;
  row-gap: 8px;
  min-width: 0;
  min-height: 108px;
  padding: 10px 12px;
  border: 1px solid var(--rot-line);
  border-radius: var(--rot-radius);
  background:
    linear-gradient(145deg, rgba(34, 36, 40, 0.84), rgba(17, 18, 21, 0.92)),
    rgba(0, 0, 0, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.aw-rot-build-character,
.aw-rot-build-details {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  min-width: 0;
  width: auto;
}

.aw-rot-build-character {
  max-width: 126px;
}

.aw-rot-build-details {
  min-width: 96px;
}

.aw-rot-build-row .aw-rot-build-character-image {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(184, 68, 74, 0.24);
  border-radius: 10px;
  object-fit: cover;
  background: rgba(244, 237, 228, 0.06);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(0, 0, 0, 0.72);
}

.aw-rot-build-badges {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.aw-rot-build-sequence,
.aw-rot-build-refinement {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.aw-rot-build-sequence {
  border: 1px solid rgba(184, 68, 74, 0.34);
  background: rgba(184, 68, 74, 0.18);
  color: #ffd7db;
}

.aw-rot-build-refinement {
  border: 1px solid rgba(249, 115, 22, 0.28);
  background: rgba(249, 115, 22, 0.14);
  color: #ffbd88;
}

.aw-rot-build-equipment {
  display: flex;
  justify-content: center;
  gap: 7px;
  width: auto;
  max-width: 100%;
}

.aw-rot-build-row .aw-rot-build-equipment-image,
.aw-rot-build-asset-placeholder {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  object-fit: cover;
  background: linear-gradient(145deg, rgba(39, 41, 45, 0.98), rgba(27, 29, 33, 1));
  color: var(--rot-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.aw-rot-build-row .aw-rot-build-equipment-image:hover,
.aw-rot-build-asset-placeholder:hover {
  transform: scale(1.08);
  border-color: rgba(184, 68, 74, 0.48);
  box-shadow: 0 4px 12px rgba(184, 68, 74, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.aw-rot-build-editor {
  display: grid;
  gap: 10px;
  min-width: min(100%, 300px);
  flex: 1 1 300px;
  padding: 12px;
  border: 1px solid var(--rot-line);
  border-radius: var(--rot-radius);
  background: rgba(0, 0, 0, 0.16);
}

.aw-rot-build-row strong,
.aw-rot-submission-mini strong {
  display: block;
  color: var(--rot-ink);
  font-weight: 700;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aw-rot-build-row small {
  display: block;
  color: var(--rot-soft);
  font-size: 0.86rem;
  line-height: 1.45;
}

.aw-rot-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.aw-rot-icon-button {
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--rot-muted);
}

.aw-rot-card-actions .aw-rot-icon-button--video {
  width: 56px;
  min-width: 56px;
  height: 38px;
  min-height: 38px;
  color: #fff;
}

.aw-rot-icon-button--image {
  border-color: rgba(216, 182, 109, 0.42);
  background: rgba(216, 182, 109, 0.10);
  color: #f3d48a;
}

.aw-rot-icon-button--image:hover,
.aw-rot-icon-button--image:focus-visible {
  border-color: rgba(255, 222, 148, 0.72);
  background: rgba(216, 182, 109, 0.16);
  color: #fff0c7;
  box-shadow: 0 12px 24px rgba(216, 182, 109, 0.14), 0 0 0 3px rgba(216, 182, 109, 0.11);
}

.aw-rot-icon-button--image.is-loading i {
  animation: aw-rot-image-button-spin 850ms linear infinite;
}

@keyframes aw-rot-image-button-spin {
  to {
    transform: rotate(360deg);
  }
}

.aw-rot-owner-card-edit {
  width: auto;
  min-width: 78px;
  padding: 0 12px;
  border-color: rgba(216, 182, 109, 0.54);
  background: rgba(216, 182, 109, 0.12);
  color: #ffe7b0;
  box-shadow: 0 8px 18px rgba(216, 182, 109, 0.10);
}

.aw-rot-owner-card-edit[hidden] {
  display: none;
}

.aw-rot-owner-card-edit span {
  font-size: 0.86rem;
  font-weight: 800;
}

.aw-rot-owner-card-edit:hover,
.aw-rot-owner-card-edit:focus-visible {
  border-color: rgba(255, 222, 148, 0.78);
  background: rgba(216, 182, 109, 0.18);
  color: #fff0c7;
  box-shadow: 0 12px 24px rgba(216, 182, 109, 0.16), 0 0 0 3px rgba(216, 182, 109, 0.12);
}

.aw-rot-icon-button.is-active {
  border-color: rgba(255, 139, 147, 0.56);
  background: rgba(255, 139, 147, 0.14);
  color: #ffd5d9;
}

.aw-rot-state,
.aw-rot-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 180px;
  padding: 24px;
  color: var(--rot-muted);
  font-weight: 600;
  text-align: center;
}

.aw-rot-show-more {
  display: flex;
  justify-content: center;
  padding: 18px 0 0;
}

.aw-rot-show-more[hidden] {
  display: none;
}

.aw-rot-show-more-button {
  min-width: 180px;
  justify-content: center;
}

.aw-rot-show-more-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.aw-rot-floating-translate {
  position: fixed;
  z-index: 70;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid rgba(216, 182, 109, 0.48);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(216, 182, 109, 0.18), rgba(184, 68, 74, 0.16)),
    rgba(20, 20, 23, 0.9);
  color: var(--rot-ink);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(216, 182, 109, 0.10) inset;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.aw-rot-floating-translate:hover,
.aw-rot-floating-translate:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(216, 182, 109, 0.68);
  outline: none;
}

.aw-rot-floating-translate i {
  color: var(--rot-gold);
}

.aw-rot-form-shell {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.aw-rot-submit-guide {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 18px;
  background: linear-gradient(180deg, rgba(29, 31, 35, 0.96), rgba(20, 22, 26, 0.98));
}

.aw-rot-submit-guide__head {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.aw-rot-guide-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: fit-content;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(216, 182, 109, 0.34);
  border-radius: var(--rot-radius);
  background: rgba(216, 182, 109, 0.08);
  color: var(--rot-ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.aw-rot-guide-toggle:hover,
.aw-rot-guide-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(216, 182, 109, 0.68);
  outline: none;
  box-shadow: 0 0 0 3px rgba(216, 182, 109, 0.10);
}

.aw-rot-guide-toggle i {
  color: var(--rot-gold);
}

.aw-rot-guide-content {
  min-width: 0;
}

.aw-rot-submit-guide h2,
.aw-rot-form-panel h2,
.aw-rot-owner-review h2 {
  font-size: 1.18rem;
  font-weight: 650;
  line-height: 1.25;
}

.aw-rot-submit-guide ol {
  margin: 0;
  padding-left: 22px;
  color: var(--rot-muted);
  line-height: 1.68;
  font-weight: 500;
}

.aw-rot-submit-guide [lang="ar"] {
  font-family: "Tajawal", var(--rot-font);
}

.aw-rot-submit-guide ol[dir="rtl"] {
  padding-right: 22px;
  padding-left: 0;
  text-align: right;
}

.aw-rot-auth-note {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 12px;
  border: 1px solid var(--rot-line);
  border-radius: var(--rot-radius);
  background: rgba(23, 23, 27, 0.9);
  color: var(--rot-muted);
  font-weight: 600;
}

.aw-rot-form-panel {
  display: grid;
  gap: 18px;
  min-width: 0;
  background: linear-gradient(180deg, rgba(29, 31, 35, 0.96), rgba(20, 22, 26, 0.98));
}

.aw-rot-form-panel--text {
  gap: 16px;
}

.aw-rot-form-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.aw-rot-form-panel__head--stack {
  display: grid;
  justify-content: stretch;
  align-items: start;
  gap: 8px;
}

.aw-rot-panel-hint {
  max-width: 980px;
  margin: 0;
  color: var(--rot-soft);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.55;
}

.aw-rot-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.aw-rot-form-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aw-rot-text-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(420px, 1fr));
  gap: 14px;
  align-items: start;
  width: 100%;
}

.aw-rot-text-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.aw-rot-text-language {
  display: grid;
  gap: 11px;
  min-width: 0;
  align-content: start;
  padding: 12px;
  border: 1px solid var(--rot-line);
  border-radius: var(--rot-radius);
  background: rgba(0, 0, 0, 0.16);
}

.aw-rot-text-language-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 26px;
  color: var(--rot-muted);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.aw-rot-text-language .aw-rot-field input {
  min-height: 44px;
}

.aw-rot-text-language .aw-rot-field textarea {
  min-height: 118px;
}

.aw-rot-video-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  min-width: 0;
}

.aw-rot-video-field .aw-rot-link {
  min-width: 132px;
}

.aw-rot-character-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 12px;
  width: 100%;
}

.aw-rot-character-slot {
  min-width: 0;
}

.aw-rot-slot-preview {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  margin-top: 8px;
  color: var(--rot-soft);
  font-size: 0.9rem;
  font-weight: 500;
}

.aw-rot-slot-preview img {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
}

.aw-rot-lang-choice label,
.aw-rot-toggle-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--rot-line);
  border-radius: var(--rot-radius);
  background: rgba(244, 237, 228, 0.045);
  color: var(--rot-muted);
  font-weight: 600;
}

.aw-rot-lang-choice input,
.aw-rot-toggle-field input {
  accent-color: var(--rot-ruby);
}

.aw-rot-move-editor {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--rot-line);
  border-radius: var(--rot-radius);
  background: rgba(0, 0, 0, 0.16);
}

.aw-rot-move-editor [data-rot-move-rows] {
  display: grid;
  gap: 10px;
}

.aw-rot-move-editor-row {
  display: grid;
  grid-template-columns: 42px minmax(300px, 420px) minmax(420px, 1fr) 54px;
  gap: 12px;
  align-items: start;
  min-width: 0;
}

.aw-rot-move-character-picker {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  min-width: 0;
}

.aw-rot-move-character-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  min-width: 54px;
  min-height: 54px;
  box-sizing: border-box;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--rot-line);
  border-radius: var(--rot-radius);
  background:
    linear-gradient(135deg, rgba(244, 237, 228, 0.045), rgba(0, 0, 0, 0.18)),
    rgba(0, 0, 0, 0.22);
  color: var(--rot-soft);
}

.aw-rot-move-character-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aw-rot-move-character-avatar.has-image {
  border-color: rgba(216, 182, 109, 0.32);
  background: rgba(0, 0, 0, 0.3);
}

.aw-rot-move-editor-row select,
.aw-rot-move-editor-row textarea {
  width: 100%;
  min-height: 54px;
  height: 54px;
  padding: 13px 12px;
  border: 1px solid var(--rot-line);
  border-radius: var(--rot-radius);
  outline: 0;
  background:
    linear-gradient(135deg, rgba(244, 237, 228, 0.035), rgba(0, 0, 0, 0.16)),
    rgba(0, 0, 0, 0.22);
  color: var(--rot-ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.aw-rot-move-editor-row select {
  color-scheme: dark;
  cursor: pointer;
  appearance: auto;
}

.aw-rot-move-editor-row textarea {
  resize: vertical;
}

.aw-rot-action-composer {
  position: relative;
  min-width: 0;
}

.aw-rot-action-chip-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 54px;
  height: auto;
  padding: 7px 8px;
  border: 1px solid var(--rot-line);
  border-radius: var(--rot-radius);
  background:
    linear-gradient(135deg, rgba(244, 237, 228, 0.035), rgba(0, 0, 0, 0.16)),
    rgba(0, 0, 0, 0.22);
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.aw-rot-action-chip-field:focus-within {
  border-color: rgba(184, 68, 74, 0.44);
  box-shadow: 0 0 0 3px rgba(184, 68, 74, 0.13);
}

.aw-rot-action-composer.is-locked .aw-rot-action-chip-field {
  border-color: rgba(216, 182, 109, 0.28);
  background: rgba(216, 182, 109, 0.075);
}

.aw-rot-action-chip-field input {
  flex: 1 1 170px;
  min-width: 150px;
  height: 32px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--rot-ink);
  font: inherit;
  font-size: 0.95rem;
}

.aw-rot-action-chip-field input::placeholder {
  color: var(--rot-soft);
  opacity: 0.82;
}

.aw-rot-action-chip-field input:disabled {
  cursor: not-allowed;
}

.aw-rot-action-suggestions {
  position: absolute;
  z-index: 55;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  display: grid;
  gap: 4px;
  max-height: 280px;
  min-width: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 6px;
  border: 1px solid rgba(216, 182, 109, 0.32);
  border-radius: var(--rot-radius);
  background:
    linear-gradient(180deg, rgba(32, 32, 38, 0.98), rgba(13, 13, 16, 0.98)),
    var(--rot-panel);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.aw-rot-action-suggestions[hidden] {
  display: none;
}

.aw-rot-action-suggestions button {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 5px 7px;
  border: 0;
  border-radius: var(--rot-radius-sm);
  background: transparent;
  color: var(--rot-ink);
  cursor: pointer;
  font: inherit;
  text-align: start;
}

.aw-rot-action-suggestions button:hover,
.aw-rot-action-suggestions button:focus-visible {
  background: rgba(244, 237, 228, 0.08);
  outline: none;
}

.aw-rot-move-editor-row textarea::placeholder {
  color: var(--rot-soft);
  opacity: 0.82;
}

.aw-rot-move-editor-row select option {
  background: #17171b;
  color: var(--rot-ink);
}

.aw-rot-move-editor-row select:focus,
.aw-rot-move-editor-row textarea:focus {
  border-color: rgba(184, 68, 74, 0.44);
  box-shadow: 0 0 0 3px rgba(184, 68, 74, 0.13);
}

.aw-rot-move-editor-row .aw-rot-icon-button {
  width: 54px;
  height: 54px;
  margin-top: 0;
  border-color: var(--rot-line);
  background: rgba(244, 237, 228, 0.045);
  color: var(--rot-muted);
}

.aw-rot-move-editor-row .aw-rot-icon-button:hover,
.aw-rot-move-editor-row .aw-rot-icon-button:focus-visible {
  border-color: rgba(216, 182, 109, 0.48);
  color: var(--rot-gold);
}

.aw-rot-move-editor-row .aw-rot-move-index {
  align-self: start;
  margin-top: 7px;
}

.aw-rot-section-editor-head {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: flex-start;
  min-width: 0;
}

.aw-rot-section-editor-head > strong {
  min-width: 0;
}

.aw-rot-section-editor-head:has(.aw-rot-section-editor-actions) > strong {
  padding-top: 10px;
}

.aw-rot-section-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.aw-rot-copy-section-button {
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.88rem;
  white-space: nowrap;
}

.aw-rot-section-editor-head strong,
.aw-rot-owner-editor-section > strong {
  color: var(--rot-ink);
  font-weight: 650;
}

.aw-rot-move-editor > .aw-rot-move-editor-row + .aw-rot-move-editor-row {
  margin-top: 8px;
}

.aw-rot-move-editor[data-rot-section$=":third"],
.aw-rot-move-editor[data-owner-section$=":third"],
.aw-rot-move-editor[data-rot-input-section$=":third"] {
  min-height: 96px;
  background:
    linear-gradient(135deg, rgba(216, 182, 109, 0.055), transparent 46%),
    rgba(0, 0, 0, 0.14);
}

.aw-rot-move-editor[data-rot-section$=":third"] .aw-rot-section-editor-head,
.aw-rot-move-editor[data-owner-section$=":third"] .aw-rot-section-editor-head,
.aw-rot-move-editor[data-rot-input-section$=":third"] .aw-rot-section-editor-head {
  padding-bottom: 4px;
}

.aw-rot-move-editor[data-rot-section$=":third"] .aw-rot-toggle-field,
.aw-rot-move-editor[data-owner-section$=":third"] .aw-rot-toggle-field,
.aw-rot-move-editor[data-rot-input-section$=":third"] .aw-rot-toggle-field {
  flex: 0 0 auto;
}

.aw-rot-submissions-shell,
.aw-rot-owner-shell {
  padding: 0;
  overflow: hidden;
}

.aw-rot-submission-list {
  display: grid;
}

.aw-rot-submission-row {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.aw-rot-submission-row:last-child {
  border-bottom: 0;
}

.aw-rot-submission-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.aw-rot-submission-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aw-rot-feedback-panel {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(216, 182, 109, 0.28);
  border-radius: var(--rot-radius);
  background: rgba(216, 182, 109, 0.065);
}

.aw-rot-feedback-panel__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #ffe7b0;
}

.aw-rot-feedback-panel__head i {
  margin-top: 2px;
}

.aw-rot-feedback-panel__head strong,
.aw-rot-feedback-panel__head span {
  display: block;
}

.aw-rot-feedback-panel__head span {
  margin-top: 3px;
  color: var(--rot-muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.aw-rot-feedback-list {
  display: grid;
  gap: 8px;
}

.aw-rot-feedback-item {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(244, 237, 228, 0.10);
  border-radius: var(--rot-radius-sm);
  background: rgba(0, 0, 0, 0.16);
}

.aw-rot-feedback-item[data-feedback-type="rejected"] {
  border-color: rgba(239, 100, 109, 0.28);
  background: rgba(239, 100, 109, 0.07);
}

.aw-rot-feedback-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--rot-soft);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.aw-rot-feedback-item p {
  margin: 0;
  color: var(--rot-ink);
  line-height: 1.52;
  white-space: pre-wrap;
}

.aw-rot-owner-layout {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  min-height: 560px;
}

.aw-rot-owner-list {
  border-right: 1px solid var(--rot-line);
  background: rgba(0, 0, 0, 0.14);
}

.aw-rot-owner-list-head {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--rot-line);
}

.aw-rot-owner-list-items {
  display: grid;
  max-height: 720px;
  overflow: auto;
}

.aw-rot-owner-item {
  display: grid;
  gap: 7px;
  padding: 13px 14px;
  border: 0;
  border-bottom: 1px solid var(--rot-line);
  background: transparent;
  color: var(--rot-ink);
  cursor: pointer;
  font: inherit;
  text-align: start;
}

.aw-rot-owner-item strong {
  font-weight: 700;
}

.aw-rot-owner-item small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--rot-soft);
  font-size: 0.84rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.aw-rot-owner-item:hover,
.aw-rot-owner-item:focus-visible {
  background: rgba(244, 237, 228, 0.055);
  outline: none;
}

.aw-rot-owner-item.is-active {
  background: rgba(184, 68, 74, 0.14);
  box-shadow: inset 3px 0 0 var(--rot-ruby);
}

.aw-rot-owner-review {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
}

.aw-rot-owner-editor {
  display: grid;
  gap: 12px;
}

.aw-rot-owner-editor-section {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--rot-line);
  border-radius: var(--rot-radius);
  background: rgba(0, 0, 0, 0.16);
}

.aw-rot-owner-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.aw-rot-owner-waiting-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(216, 182, 109, 0.30);
  border-radius: var(--rot-radius);
  background: rgba(216, 182, 109, 0.07);
}

.aw-rot-owner-waiting-panel i {
  margin-top: 3px;
  color: #ffe7b0;
}

.aw-rot-owner-waiting-panel strong,
.aw-rot-owner-readonly-grid span {
  color: var(--rot-ink);
  font-weight: 700;
}

.aw-rot-owner-waiting-panel p,
.aw-rot-owner-readonly-grid p {
  margin: 4px 0 0;
  color: var(--rot-muted);
  line-height: 1.55;
}

.aw-rot-owner-readonly-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.aw-rot-owner-readonly-grid > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(244, 237, 228, 0.10);
  border-radius: var(--rot-radius-sm);
  background: rgba(0, 0, 0, 0.14);
}

.aw-rot-owner-readonly-grid h3 {
  margin: 6px 0 0;
  color: var(--rot-ink);
  font-size: 1rem;
  line-height: 1.3;
}

.aw-rot-owner-review-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.aw-rot-danger-modal[hidden] {
  display: none !important;
}

.aw-rot-danger-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
}

.aw-rot-danger-modal-open {
  overflow: hidden;
}

.aw-rot-danger-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 5, 0.72);
  backdrop-filter: blur(10px);
}

.aw-rot-danger-modal__dialog {
  position: relative;
  width: min(520px, calc(100vw - 32px));
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(239, 100, 109, 0.32);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(32, 26, 29, 0.98), rgba(13, 13, 16, 0.98));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.aw-rot-danger-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--rot-muted);
  cursor: pointer;
}

.aw-rot-danger-modal__close:hover,
.aw-rot-danger-modal__close:focus-visible {
  border-color: rgba(239, 100, 109, 0.38);
  color: var(--rot-ink);
}

.aw-rot-danger-modal__kicker {
  margin: 0;
  color: #ff9aa2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aw-rot-danger-modal__title {
  margin: 0;
  padding-right: 36px;
  color: var(--rot-ink);
  font-size: 1.22rem;
  line-height: 1.25;
}

.aw-rot-danger-modal__text {
  margin: 0;
  color: var(--rot-muted);
  line-height: 1.55;
}

.aw-rot-danger-modal__field {
  display: grid;
  gap: 8px;
  color: var(--rot-muted);
  font-size: 0.92rem;
}

.aw-rot-danger-modal__field strong {
  color: #ffd4d8;
}

.aw-rot-danger-modal__field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(239, 100, 109, 0.32);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--rot-ink);
  padding: 0 12px;
  font: inherit;
}

.aw-rot-danger-modal__field input:focus {
  outline: none;
  border-color: rgba(239, 100, 109, 0.72);
  box-shadow: 0 0 0 3px rgba(239, 100, 109, 0.16);
}

.aw-rot-danger-modal__actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

[dir="rtl"] .aw-rot-picker-option,
[dir="rtl"] .aw-rot-owner-item {
  text-align: right;
}

[dir="rtl"] .aw-rot-move {
  grid-template-columns: 30px minmax(150px, 210px) minmax(0, 1fr);
}

@media (max-width: 1100px) {
  .aw-rot-builds {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  }
}

@media (max-width: 900px) {
  .aw-toast-layer {
    right: 14px;
    bottom: 14px;
    width: calc(100vw - 28px);
  }

  .aw-rot-page {
    width: min(100% - 20px, 760px);
    padding-top: 28px;
  }

  .aw-rot-detail-page {
    width: min(100% - 20px, 760px);
  }

  .aw-rot-hero,
  .aw-rot-toolbar,
  .aw-rot-submit-guide,
  .aw-rot-owner-layout,
  .aw-rot-form-grid,
  .aw-rot-form-grid--three,
  .aw-rot-text-grid,
  .aw-rot-text-grid--single,
  .aw-rot-video-field,
  .aw-rot-character-slots,
  .aw-rot-owner-editor-grid,
  .aw-rot-owner-readonly-grid {
    grid-template-columns: 1fr;
  }

  .aw-rot-video-field .aw-rot-link {
    width: 100%;
  }

  .aw-rot-hero__actions,
  .aw-rot-actions,
  .aw-rot-card-actions {
    justify-content: flex-start;
  }

  .aw-rot-detail-title {
    font-size: clamp(2rem, 8vw, 2.7rem);
  }

  .aw-rot-owner-list {
    border-right: 0;
    border-bottom: 1px solid var(--rot-line);
  }

  .aw-rot-owner-list-items {
    max-height: 360px;
  }

  .aw-rot-move,
  .aw-rot-move-editor-row {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .aw-rot-move-text,
  .aw-rot-action-line,
  .aw-rot-action-composer,
  .aw-rot-move-character-picker,
  .aw-rot-move-editor-row textarea,
  .aw-rot-move-editor-row input,
  .aw-rot-move-editor-row select,
  .aw-rot-move-editor-row .aw-rot-icon-button {
    grid-column: 2;
  }

  .aw-rot-card-head,
  .aw-rot-submission-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .aw-rot-page {
    width: min(100% - 16px, 520px);
  }

  .aw-rot-detail-page {
    width: min(100% - 16px, 520px);
  }

  .aw-rot-hero h1 {
    font-size: 2.3rem;
  }

  .aw-rot-detail-title {
    font-size: 2.05rem;
  }

  .aw-rot-detail-note {
    font-size: 0.98rem;
  }

  .aw-rot-hero span {
    font-size: 1rem;
  }

  .aw-rot-card,
  .aw-rot-form-panel,
  .aw-rot-submit-guide,
  .aw-rot-owner-review {
    padding: 14px;
  }

  .aw-rot-builds {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
    gap: 6px;
  }

  .aw-rot-build-row {
    min-height: 92px;
    padding: 8px;
    column-gap: 12px;
    row-gap: 6px;
  }

  .aw-rot-build-character {
    max-width: 108px;
  }

  .aw-rot-build-row .aw-rot-build-character-image {
    width: 50px;
    height: 50px;
  }

  .aw-rot-build-equipment {
    gap: 5px;
  }

  .aw-rot-build-row .aw-rot-build-equipment-image,
  .aw-rot-build-asset-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 7px;
  }

  .aw-rot-build-sequence,
  .aw-rot-build-refinement {
    min-height: 22px;
    padding: 0 7px;
    font-size: 0.7rem;
  }

  .aw-rot-section-editor-head {
    flex-direction: column;
    align-items: stretch;
  }

  .aw-rot-section-editor-head > strong {
    padding-top: 0;
  }

  .aw-rot-section-editor-actions {
    justify-content: flex-start;
  }

  .aw-rot-floating-translate {
    right: 12px;
    bottom: 14px;
    min-height: 44px;
  }
}
