@import url("/assets/buttons-af794099.css");
@import url("/assets/card-b89a1d3c.css");

.no-decoration {
  text-decoration: none;
  color: inherit;
}

.pure-menu-fixed {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
}

body {
  padding-top: 3.5rem;
  box-sizing: border-box;
}

.deck-list {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 0;
}

.deck-list tr {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  transition: box-shadow 0.2s;
}

.deck-list tr:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.deck-list td {
  padding: 0.5rem;
  font-size: 1.1rem;
  vertical-align: middle;
  height: 3.5rem;
}

.deck-list td:last-child {
  white-space: nowrap;
}

.deck-list .btn {
  white-space: nowrap;
}

.deck-list td:first-child {
  font-weight: bold;
  color: #333;
}

.deck-sub-item td:first-child {
  padding-left: 1.8rem;
}

.hidden {
  display: none;
}

#notice {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  white-space: nowrap;
}

.sortable-handle {
  cursor: grab;
}

.sortable-handle:active {
  cursor: grabbing;
}

.sortable-dragging {
  opacity: 0.4;
}

.nil-folder-hint td {
  padding: 0.75rem 0.5rem;
  color: #aaa;
  font-size: 0.85rem;
  text-align: center;
  border: 2px dashed #ddd;
  border-radius: 4px;
}

.new-deck-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.pure-menu-horizontal .container {
  display: flex;
  align-items: center;
}

.pure-menu-horizontal .pure-menu-list {
  margin-left: auto;
}

.nav-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  font-size: 1.2rem;
  color: #333;
  vertical-align: middle;
  line-height: 1;
}

.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 220px;
  background: #fff;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.15);
  padding-top: 3.5rem;
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

.nav-drawer ul li a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: #333;
  text-decoration: none;
  font-size: 1rem;
}

.nav-drawer ul li a:hover {
  background: #f5f5f5;
}

.form-page {
  max-width: 480px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.form-page h2 {
  margin-bottom: 1.5rem;
  color: #333;
}

.form-page-links {
  margin-top: 1rem;
}

.error-explanation {
  background: #fdf2f2;
  border: 1px solid #f5c6c6;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  color: #c0392b;
}

.error-explanation ul {
  margin: 0.25rem 0 0;
  padding-left: 1.2rem;
}

.ogp-form-preview {
  margin-top: 0.5rem;
}

.ogp-loading {
  font-size: 0.85rem;
  color: #888;
}
