/* どっちが自然？（NATIVE OR NOT） */
.ax-nt { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; align-items: center; padding: 14px 12px 22px; gap: 12px; }
.ax-nt > :first-child { margin-top: auto; }
.ax-nt > :last-child { margin-bottom: auto; }
.ax-nt-card { padding: 14px 16px 16px; }
.ax-nt-c { margin: 2px 0 0; font-weight: 900; font-size: clamp(16px, 4.4vw, 21px); line-height: 1.45; color: #fff; }
.ax-nt-fv { font-family: var(--f-pix); font-size: 8.5px; padding: 3px 6px; border-radius: 5px; background: var(--a-yel); color: #2a1a00; }
.ax-nt-duel { position: relative; width: min(100%, 760px); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ax-nt-vs { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-pix); font-size: 10px; color: var(--a-yel); background: #070a22; border: 2px solid var(--a-yel); box-shadow: 0 0 14px rgba(255, 225, 77, 0.55); pointer-events: none; }
.ax-nt-b { --nc: #35e0ff; position: relative; min-height: clamp(128px, 26vh, 210px); display: flex; align-items: center; justify-content: center; text-align: center; padding: 30px 12px 18px; border-radius: 22px; border: 3px solid var(--nc); background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--nc) 16%, transparent), rgba(255, 255, 255, 0.03)); color: #fff; box-shadow: 0 0 22px color-mix(in srgb, var(--nc) 38%, transparent), inset 0 0 18px color-mix(in srgb, var(--nc) 14%, transparent); touch-action: manipulation; transition: transform 0.12s, opacity 0.2s, box-shadow 0.2s; animation: ax-nt-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both; overflow: hidden; }
.ax-nt-b.r { --nc: #ff4fd8; animation-delay: 0.06s; }
@keyframes ax-nt-in { from { opacity: 0; transform: translateY(16px) scale(0.96); } }
@media (hover: hover) { .ax-nt-b:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 0 34px color-mix(in srgb, var(--nc) 60%, transparent), inset 0 0 22px color-mix(in srgb, var(--nc) 20%, transparent); } }
.ax-nt-b:active:not(:disabled) { transform: scale(0.97); }
.ax-nt-b:disabled { cursor: default; }
.ax-nt-k { position: absolute; left: 12px; top: 9px; font-family: var(--f-pix); font-size: 10px; color: var(--nc); opacity: 0.85; }
.ax-nt-b.r .ax-nt-k { left: auto; right: 12px; }
.ax-nt-s { font-family: var(--f-en); font-weight: 700; font-size: clamp(16px, 4.3vw, 25px); line-height: 1.4; word-break: break-word; }
.ax-nt-s mark { border-radius: 6px; padding: 0 3px; }
.ax-nt-s mark.g { background: rgba(61, 255, 154, 0.3); color: #eafff4; box-shadow: 0 0 10px rgba(61, 255, 154, 0.4); }
.ax-nt-s mark.x { background: rgba(255, 79, 109, 0.35); color: #fff; text-decoration: line-through; text-decoration-thickness: 2px; }
.ax-nt-st { position: absolute; right: 10px; top: 4px; font-style: normal; font-family: var(--f-en); font-weight: 900; font-size: 28px; line-height: 1; opacity: 0; pointer-events: none; }
.ax-nt-b.ok { --nc: #3dff9a; background: rgba(61, 255, 154, 0.14); }
.ax-nt-b.ng { --nc: #ff4f6d; background: rgba(255, 79, 109, 0.14); }
.ax-nt-b.ok .ax-nt-st { color: #3dff9a; opacity: 0.9; text-shadow: 0 0 16px #3dff9a; animation: ax-nt-stamp 0.35s cubic-bezier(0.22, 1, 0.36, 1) both; }
.ax-nt-b.ng .ax-nt-st { color: #ff4f6d; opacity: 0.9; text-shadow: 0 0 16px #ff4f6d; animation: ax-nt-stamp 0.35s cubic-bezier(0.22, 1, 0.36, 1) both; }
.ax-nt-b.ng.pick { animation: qz-ng 0.35s; }
.ax-nt-b.dim { opacity: 0.7; }
@keyframes ax-nt-stamp { from { transform: scale(2.6) rotate(-20deg); opacity: 0; } }
.ax-nt-why { width: min(100%, 760px); line-height: 1.7; }
.ax-nt-p { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 900; color: #04122a; background: var(--a-yel); vertical-align: 1px; }
.ax-nt-w { display: block; margin-top: 4px; }
.ax-nt-next { margin-top: 0; }
@media (min-width: 760px) {
  .ax-nt { gap: 16px; padding-top: 20px; }
  .ax-nt-card { padding: 20px 24px; }
  .ax-nt-duel { gap: 26px; }
  .ax-nt-vs { width: 46px; height: 46px; font-size: 12px; }
  .ax-nt-st { top: auto; bottom: 2px; right: 8px; font-size: 60px; }
}
@media (hover: none) { .ax-nt-k { display: none; } }
@media (max-height: 640px) { .ax-nt-b { min-height: 108px; } }
/* 説明画面の「CEFR-J のレベル」の一文はこのゲームには関係がないので出さない */
@media (prefers-reduced-motion: reduce) {
  .ax-nt-b, .ax-nt-b.ok .ax-nt-st, .ax-nt-b.ng .ax-nt-st, .ax-nt-b.ng.pick { animation: none; }
}
