/* The main screen's split creation action keeps its original total width and existing button typography. */
.mode-action { position: relative; display: flex; align-items: stretch; min-width: 0; }
.mode-action__main { flex: 1; min-width: 0; }
.mode-action__main > .tt-anchor { display: flex; width: 100%; }
.mode-action__main .btn { width: 100%; min-width: 0; }
.mode-action__toggle.btn { flex: 0 0 .58rem; width: .58rem; min-width: 0; padding: 0; margin-left: .05rem; letter-spacing: 0; background-image: none; }
.mode-action__toggle .btn__icon { width: .28rem; height: .28rem; }
.create-box > .mode-action { width: 100%; }
.special-modes {
  position: absolute;
  z-index: 30;
  right: 0;
  bottom: calc(100% + .1rem);
  width: min(5rem, calc(100vw - .32rem));
  max-height: min(5rem, 65vh);
  overflow-y: auto;
  padding: .1rem;
  background: rgba(6, 15, 11, .98);
  border: 1px solid var(--line-3);
  box-shadow: 0 .12rem .4rem rgba(0, 0, 0, .5);
  animation: special-modes-in var(--t-med) var(--ease-out);
}
.special-modes__heading { display: block; padding: .06rem .12rem .1rem; color: var(--text-lo); font-size: calc(.14 * var(--t)); }
.special-modes__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .16rem;
  width: 100%;
  padding: .13rem .12rem;
  background: transparent;
  border: 0;
  text-align: left;
  color: var(--text-md);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.special-modes__item:hover:not(:disabled), .special-modes__item:focus-visible { background: rgba(78, 216, 175, .08); color: var(--mint-400); }
.special-modes__item.is-selected { color: var(--mint-400); background: rgba(78, 216, 175, .05); }
.special-modes__item:disabled { cursor: default; opacity: .5; }
.special-modes__item > .icon { flex: none; width: .22rem; height: .22rem; }
.special-modes__text { display: flex; flex-direction: column; gap: .05rem; min-width: 0; }
.special-modes__text strong { font-size: calc(.19 * var(--t)); font-weight: 700; }
.special-modes__text > span, .special-modes p { font-size: calc(.14 * var(--t)); color: var(--text-lo); line-height: 1.5; }
.special-modes p { padding: .08rem .12rem 0; margin: 0; }
@keyframes special-modes-in { from { opacity: 0; transform: translateY(.1rem); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .special-modes { animation: none; } }
