#entry-panel { margin-top: 16px; }
#entry-panel > summary {
  display: inline-flex; list-style: none; align-items: center; gap: 9px; min-height: 44px;
  padding: 6px 15px; color: #151a0c; background: #c4fa69; border-radius: 11px;
  cursor: pointer; font-weight: 800;
}
#entry-panel > summary::-webkit-details-marker { display: none; }
#entry-panel[open] .entry-disclosure { transform: rotate(180deg); }
#entry { max-width: none; gap: 14px; }
.entry-banner { background: linear-gradient(120deg,#4c2b4d,#271d34); border: 1px solid #745273; border-radius: 17px; padding: clamp(17px,3vw,24px); color: #fff5ff; }
#entry .entry-banner p { margin: 0 0 4px; color: #ffbde4; font-size: .7rem; font-weight: 800; letter-spacing: .15em; }
.entry-banner h3 { margin: 0 0 5px; font-size: clamp(1.4rem,3.6vw,1.85rem); letter-spacing: -.025em; }
.entry-banner span { color: #e2d2e4; font-size: .91rem; }
.entry-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.entry-card { min-width: 0; display: grid; align-content: start; gap: 10px; padding: 13px; margin: 0; background: #211b26; border: 1px solid #49374c; border-radius: 14px; }
.entry-timing { grid-column: 1 / -1; }
.entry-card p, .entry-footer p { margin: 0; font-size: .86rem; }
.entry-card legend { padding: 0 7px; color: #fff3ff; font-weight: 750; }
.entry-card legend > span[aria-hidden] { font-size: .72rem; color: #f5b8e9; font-variant-numeric: tabular-nums; margin-right: 4px; }
#entry .entry-field { color: #e5d7e6; font-size: .84rem; font-weight: 650; }
#entry .entry-field input { background: #19151f; border-color: #60495f; border-radius: 9px; padding: 9px 11px; font-size: 16px; }
.entry-field small { color: #bcacbf; margin-left: 3px; font-weight: 500; }
#entry .entry-file, #entry .entry-sample {
  display: flex; position: relative; align-items: center; gap: 10px; min-height: 51px;
  padding: 9px; border: 1px solid #634a63; border-radius: 11px; background: #2c2332; cursor: pointer;
}
#entry .entry-file { border-style: dashed; overflow-wrap: anywhere; }
.entry-file-icon, .entry-version { display: grid; flex: 0 0 33px; height: 33px; place-items: center; border-radius: 8px; color: #f7bee9; background: #503754; font-weight: 800; }
.entry-file strong, .entry-sample strong { display: block; font-size: .92rem; }
.entry-file small, .entry-sample small { display: block; margin-top: 2px; color: #cbb9cf; font-size: .77rem; }
#entry .entry-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
#entry .entry-file:focus-within, #entry .entry-sample:focus-within { outline: 2px solid #ffd6f4; outline-offset: 2px; }
#entry-samples { display: grid; gap: 7px; }
#entry .entry-sample input { order: 3; margin-inline-start: auto; width: 17px; min-height: 20px; accent-color: #edbdf7; }
#entry .entry-sample:has(input:checked) { background: #3d2c44; border-color: #e4b0df; }
#entry .entry-sample:has(input:checked) .entry-version { background: #edbdf7; color: #221126; }
.entry-footer { border: 1px solid #49374c; background: #211b26; padding: 12px; border-radius: 14px; }
.entry-footer .arena-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; margin: 0; }
#entry #preview { width: fit-content; color: #f7d5ee; background: #382940; border-color: #735674; border-radius: 9px; }
#entry-submit { border-radius: 11px; color: #131908; background: #cafa72; }
#entry-submit:disabled { opacity: .56; }
#entry-message { margin: 0 0 8px; padding: 7px 9px; border-radius: 8px; color: #e7d5ef; background: #362840; }
#entry-message.error { background: #422732; color: #ffd4cc; }
.entry-receipt { margin-top: 14px; padding: 16px; background: #20321e; border: 1px solid #668449; border-radius: 14px; }
.entry-receipt a { color: #cafa72; }
@media (max-width: 640px) {
  .entry-layout { grid-template-columns: minmax(0,1fr); }
  .entry-footer .arena-actions { align-items: stretch; }
  #entry-submit { width: 100%; }
}
@media (max-width: 300px) { #entry .trim { grid-template-columns: minmax(0,1fr); } }

#entry .entry-timing-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
#entry .entry-timing-fields input { min-width: 0; width: 100%; font-variant-numeric: tabular-nums; }
#entry .entry-trimmer { border: 1px solid #fff2; border-radius: 12px; padding: 12px; background: #100e15; }
#entry .entry-wave { display: flex; align-items: center; gap: 1.25px; height: 70px; }
#entry .entry-wave i { flex: 1; min-width: 0; background: #65576b; border-radius: 2px; }
#entry .entry-wave i.selected { background: #a6fd42; }
#entry .entry-profile-option { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: .86rem; cursor: pointer; }
#entry .entry-profile-option input { accent-color: #a6fd42; width: 19px; height: 19px; }
#entry .entry-cover-file img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
#entry .entry-wave { position:relative; touch-action:pan-y; cursor:ew-resize; }
#entry .entry-wave::before, #entry .entry-wave::after { content:""; position:absolute; top:4px; bottom:4px; width:3px; border-radius:3px; background:#e2ffc0; pointer-events:none; }
#entry .entry-wave::before { left:clamp(0px,var(--trim-start),calc(100% - 3px)); }
#entry .entry-wave::after { left:clamp(0px,var(--trim-end),calc(100% - 3px)); }
