.remaked-admin-entry {
  box-sizing: border-box;
  width: min(490px, calc(100vw - 24px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  color: #e6ebcd;
  background: #202b1c;
  border: 2px solid #87975d;
  border-radius: 2px;
  box-shadow: 0 0 0 3px #202b1c, 0 20px 70px #10220f66;
  font: 14px/1.5 ui-monospace, Consolas, monospace;
  animation: remaked-terminal-start 420ms ease-out both;
}
.remaked-admin-entry::backdrop { background: #172014b3; }
.remaked-admin-entry::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 2px, #abc67a33 2px 3px);
  animation: remaked-terminal-scan 600ms ease-out both;
}
.remaked-admin-terminal-header, .remaked-admin-terminal-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 8px 16px; background: #303c24; color: #c9d6a5;
  font-size: 11px; letter-spacing: .08em;
}
.remaked-admin-terminal-header { border-bottom: 1px solid #87975d; }
.remaked-admin-terminal-footer { border-top: 1px solid #687d47; }
.remaked-admin-terminal-body { padding: 22px 24px 24px; }
.remaked-admin-accepted { color: #b4cf77; margin: 0 0 8px; font-weight: 700; }
.remaked-admin-entry h2 { margin: 0; font: 700 18px/1.4 ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.remaked-admin-hint { margin: 12px 0 20px; color: #c3caaa; font-size: 12px; }
.remaked-admin-entry form { display: grid; gap: 8px; }
.remaked-admin-entry label { font-size: 12px; letter-spacing: .08em; }
.remaked-admin-entry input, .remaked-admin-entry button {
  box-sizing: border-box; min-height: 44px; min-width: 44px;
  color: #edf1d7; border: 1px solid #87975d; border-radius: 2px;
  font: inherit;
}
.remaked-admin-entry input { width: 100%; padding: 8px 10px; background: #111b0d; margin-bottom: 8px; }
.remaked-admin-entry button { cursor: pointer; background: #40552d; padding: 8px 12px; }
.remaked-admin-entry button:hover { background: #526936; }
.remaked-admin-entry .remaked-admin-close { padding: 0; font-size: 24px; line-height: 1; }
.remaked-admin-entry .remaked-admin-authenticate { box-sizing: border-box; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: 8px; padding: 8px 12px; border: 1px solid #87975d; border-radius: 2px; color: #172013; background: #b8cb88; font: inherit; font-weight: 700; text-decoration: none; }
.remaked-admin-entry .remaked-admin-authenticate:hover { background: #cddd9f; }
body.remaked-modern .remaked-admin-entry :is(input, button, a[href]):focus-visible { outline: 2px solid #dfedb3; outline-offset: 3px; }
@keyframes remaked-terminal-start {
  from { opacity: 0; transform: translateY(5px) scaleY(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes remaked-terminal-scan { from { opacity: .5; } to { opacity: 0; } }
@media (max-width: 480px) {
  .remaked-admin-terminal-body { padding: 18px 16px; }
  .remaked-admin-terminal-header, .remaked-admin-terminal-footer { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .remaked-admin-entry { animation: none; }
  .remaked-admin-entry::before { display: none; animation: none; }
}
