/* 2026-11-14 に足した10枚のカードの見た目（演出は newcards.js） */

/* 強調の文字：太い黒ぶち＋金属のグラデーション（後ろの ::before が黒ぶち、前の文字が金属） */
.nc-metal { position: relative; display: inline-grid; font: 900 1em/1.05 "Shippori Mincho B1", serif; letter-spacing: .08em; white-space: nowrap; }
.nc-metal > i { grid-area: 1 / 1; font-style: normal; }
.nc-metal > .o { color: #1a0a04; -webkit-text-stroke: .2em #1a0a04; paint-order: stroke fill; text-shadow: 0 .1em 0 #000, 0 0 .3em rgba(0, 0, 0, .6); }
.nc-metal > .f { background: linear-gradient(180deg, #fffdf0 0%, #ffe68e 30%, #e9a82a 52%, #8a5a10 60%, #ffd860 78%, #fff6c8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }

.nc-word { position: fixed; z-index: 38; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px;
  pointer-events: none; white-space: nowrap; isolation: isolate; font-size: calc(var(--k, 1) * 52px); }
.nc-word span { font: 900 calc(var(--k, 1) * 17px)/1 "M PLUS Rounded 1c", sans-serif; letter-spacing: .06em; color: #fff;
  padding: .3em .8em .34em; border-radius: 999px; background: rgba(20, 10, 30, .82); box-shadow: 0 0 0 2px rgba(255, 230, 140, .8), 0 4px 10px rgba(0, 0, 0, .5); }
.nc-word.thunder .nc-metal > .f { background-image: linear-gradient(180deg, #fffff0 0%, #fff27a 32%, #ffc400 52%, #7a4a00 60%, #ffe94a 78%, #fffbd0 100%); }
.nc-word.thunder .nc-metal { filter: drop-shadow(0 0 .25em rgba(255, 230, 80, .9)); }
.nc-word.thunder span { box-shadow: 0 0 0 2px #ffe94a, 0 0 14px rgba(255, 230, 80, .8); }
.nc-word.indigo .nc-metal > .f { background-image: linear-gradient(180deg, #f0f8ff 0%, #9fd0ff 32%, #3a6aff 52%, #102a7a 60%, #7ad0ff 78%, #e8f6ff 100%); }
.nc-word.indigo .nc-metal { filter: drop-shadow(0 0 .25em rgba(90, 160, 255, .9)); }
.nc-word.jade .nc-metal > .f { background-image: linear-gradient(180deg, #f0fff8 0%, #9affd8 32%, #2ac88a 52%, #0a5a3a 60%, #7affc8 78%, #e8fff4 100%); }
.nc-word.jade .nc-metal { filter: drop-shadow(0 0 .25em rgba(80, 255, 180, .8)); }
.nc-word.red .nc-metal > .f { background-image: linear-gradient(180deg, #fff0f0 0%, #ff9a9a 32%, #e8263a 52%, #6a0a14 60%, #ff7a6a 78%, #ffe8e0 100%); }
.nc-word.red .nc-metal { filter: drop-shadow(0 0 .25em rgba(255, 70, 70, .9)); }
.nc-word.gold .nc-metal { filter: drop-shadow(0 0 .25em rgba(255, 200, 80, .85)); }

/* 飛ぶ牌 */
.nc-flytile { position: fixed; z-index: 36; transform: translate(-50%, -50%); pointer-events: none; }
.nc-glowtile { filter: drop-shadow(0 0 10px rgba(255, 120, 90, .95)) drop-shadow(0 0 22px rgba(255, 210, 120, .7)); }

/* 雷獣の戯れ：画面が一瞬、黄色く光る／駆け抜ける雷獣（光の筋）／しびれて震える */
.nc-thunderflash { position: fixed; inset: 0; z-index: 35; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 245, 160, .55), rgba(255, 220, 60, .18) 45%, rgba(120, 60, 200, .08) 75%, transparent);
  animation: ncFlash 1.4s ease-out forwards; }
@keyframes ncFlash { 0% { opacity: 0; } 6% { opacity: 1; } 12% { opacity: .25; } 18% { opacity: .9; } 100% { opacity: 0; } }
.nc-raiju { position: fixed; z-index: 37; width: 220px; height: 60px; pointer-events: none; transform: translate(-50%, -50%); }
.nc-raiju i { position: absolute; left: 0; right: 0; height: 6px; border-radius: 6px; top: calc(50% - 3px);
  background: linear-gradient(90deg, transparent, #fff7a0 30%, #fff 50%, #ffd400 70%, transparent);
  box-shadow: 0 0 12px #ffe94a, 0 0 28px rgba(200, 140, 255, .8); }
.nc-raiju i:nth-child(2) { top: 20%; height: 3px; left: 15%; }
.nc-raiju i:nth-child(3) { top: 78%; height: 3px; right: 20%; }
.nc-shock { animation: ncShock .09s linear infinite; }
@keyframes ncShock { 0% { translate: 0 0; filter: brightness(1.6) drop-shadow(0 0 6px #ffe94a); } 25% { translate: -2px 1px; } 50% { translate: 2px -1px; filter: brightness(1) drop-shadow(0 0 2px #fff27a); } 75% { translate: -1px -1px; } 100% { translate: 1px 1px; } }
/* 麻痺している人の名札：黄色い稲妻の縁（凍った人の水色と分ける） */
.plate.paralyzed { box-shadow: inset 0 0 0 2px rgba(255, 233, 74, .95), 0 0 16px rgba(255, 220, 60, .7), 0 0 4px rgba(180, 120, 255, .8) !important; }
.plate.paralyzed::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 14px, rgba(255, 240, 120, .0) 14px 16px, rgba(255, 240, 120, .55) 16px 18px, transparent 18px 30px);
  mix-blend-mode: screen; animation: ncBuzz 1.1s steps(6) infinite; }
@keyframes ncBuzz { 0%, 100% { opacity: .2; } 30% { opacity: .9; } 34% { opacity: .1; } 60% { opacity: .7; } }
.pl-chip.paralyzed { color: #3a2400; font-weight: 900;
  background: linear-gradient(180deg, #fffbd0, #ffe94a 55%, #e8a800); box-shadow: 0 0 8px rgba(255, 230, 80, .95), 0 0 0 1px rgba(120, 70, 0, .6); }
.pl-chip.paralyzed::before { content: "⚡"; margin-right: 2px; }

/* 渦潮：群青の渦 */
.nc-vortex { position: fixed; z-index: 34; width: calc(var(--k, 1) * 380px); height: calc(var(--k, 1) * 380px); pointer-events: none; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .95) 0 4%, rgba(140, 210, 255, .9) 9%, rgba(30, 80, 220, .82) 26%, rgba(12, 30, 120, .7) 46%, rgba(10, 20, 80, .35) 60%, transparent 70%);
  box-shadow: 0 0 40px rgba(60, 140, 255, .55); }
.nc-vortex i { position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 10%, rgba(230, 248, 255, 1) 14%, transparent 22% 35%, rgba(150, 210, 255, .95) 40%, transparent 50% 60%, rgba(230, 245, 255, .8) 66%, transparent 75% 85%, rgba(100, 170, 255, .7) 92%, transparent);
  -webkit-mask: radial-gradient(circle, transparent 0 8%, #000 14% 62%, transparent 70%); mask: radial-gradient(circle, transparent 0 8%, #000 14% 62%, transparent 70%); }
.nc-vortex i:nth-child(2) { inset: 12%; transform: rotate(60deg); opacity: .8; }
.nc-vortex i:nth-child(3) { inset: 26%; transform: rotate(150deg); opacity: .9; }

/* 大つむじ風 */
.nc-tornado { position: fixed; z-index: 34; width: calc(var(--k, 1) * 220px); height: calc(var(--k, 1) * 300px); pointer-events: none; transform: translate(-50%, -50%); }
.nc-tornado i { position: absolute; left: 50%; border-radius: 50%; transform: translateX(-50%);
  border: 3px solid rgba(180, 255, 220, .55); border-left-color: transparent; border-bottom-color: rgba(255, 255, 255, .85);
  box-shadow: 0 0 14px rgba(120, 255, 200, .5); animation: ncSpin .5s linear infinite; }
.nc-tornado i:nth-child(1) { top: 0; width: 100%; height: 22%; }
.nc-tornado i:nth-child(2) { top: 24%; width: 76%; height: 20%; animation-duration: .42s; }
.nc-tornado i:nth-child(3) { top: 46%; width: 52%; height: 18%; animation-duration: .36s; }
.nc-tornado i:nth-child(4) { top: 66%; width: 30%; height: 16%; animation-duration: .3s; }
@keyframes ncSpin { to { transform: translateX(-50%) rotate(360deg); } }

/* 狐の嫁入り：提灯の灯り */
.nc-lanterns i { position: fixed; z-index: 35; width: 18px; height: 24px; border-radius: 45% 45% 40% 40%; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(circle at 50% 40%, #fff4c0, #ff8a3a 45%, #c4161e 80%); box-shadow: 0 0 14px rgba(255, 120, 60, .9), 0 0 30px rgba(255, 80, 40, .5);
  animation: ncLamp 1.8s ease-out both; }
@keyframes ncLamp { 0% { opacity: 0; scale: .3; } 20% { opacity: 1; scale: 1.1; } 80% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: .9; } }
.nc-gotbox { position: fixed; z-index: 38; display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 14px; pointer-events: none; white-space: nowrap;
  color: #fff3c4; font: 800 15px/1 "M PLUS Rounded 1c", sans-serif; background: rgba(40, 10, 16, .92); box-shadow: 0 0 0 2px #ff8a5a, 0 0 18px rgba(255, 120, 80, .7); }

/* お白洲の吟味：金の天秤と小判 */
.nc-scale { position: fixed; z-index: 35; width: calc(var(--k, 1) * 240px); height: calc(var(--k, 1) * 150px); transform: translate(-50%, -50%); pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(255, 200, 80, .8)) drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
.nc-scale .post { position: absolute; left: calc(50% - 5px); top: 18%; width: 10px; height: 78%; border-radius: 4px;
  background: linear-gradient(90deg, #7a5310, #fff3c4 40%, #b8872b 70%, #7a5310); }
.nc-scale .post::after { content: ""; position: absolute; left: -26px; right: -26px; bottom: -6px; height: 12px; border-radius: 6px; background: linear-gradient(180deg, #ffe68e, #8a5a10); }
.nc-scale .beam { position: absolute; left: 4%; right: 4%; top: 16%; height: 8px; border-radius: 4px; background: linear-gradient(180deg, #fff6c8, #e9a82a 50%, #7a4a10);
  animation: ncTilt 2.2s ease-in-out forwards; transform-origin: 50% 50%; }
.nc-scale .pan { position: absolute; top: 8px; width: 34%; height: calc(var(--k, 1) * 46px); }
.nc-scale .pan.l { left: -8%; } .nc-scale .pan.r { right: -8%; }
.nc-scale .pan::before { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 60%; background: #e7c46a; transform: translateX(-50%); }
.nc-scale .pan::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; border-radius: 0 0 50% 50%;
  background: linear-gradient(180deg, #fff3c4, #e7c46a 40%, #8a5a10); }
@keyframes ncTilt { 0% { rotate: -14deg; } 45% { rotate: 10deg; } 65% { rotate: -4deg; } 80%, 100% { rotate: 0deg; } }
.nc-koban { position: fixed; z-index: 37; width: 22px; height: 30px; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(ellipse at 40% 35%, #fffbe0, #f6d77a 40%, #b8801c 80%); box-shadow: inset 0 0 0 2px rgba(120, 70, 10, .6), 0 0 10px rgba(255, 210, 90, .8); }

/* 足踏み：空回りする水車 */
.nc-wheel { position: fixed; z-index: 36; width: calc(var(--k, 1) * 90px); height: calc(var(--k, 1) * 90px); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none;
  border: 5px solid #8a5a2a; box-shadow: inset 0 0 0 3px #e7c46a, 0 0 16px rgba(120, 255, 200, .6);
  background: radial-gradient(circle, #e7c46a 0 10%, transparent 11%); }
.nc-wheel i { position: absolute; left: 50%; top: 50%; width: 100%; height: 6px; margin: -3px 0 0 -50%; border-radius: 3px; background: linear-gradient(180deg, #c99a5a, #6a3a14); }
.nc-wheel i:nth-child(2) { rotate: 45deg; } .nc-wheel i:nth-child(3) { rotate: 90deg; } .nc-wheel i:nth-child(4) { rotate: 135deg; }

/* 千手観音：後光の千本の手（光の筋） */
.nc-senju { position: fixed; z-index: 35; width: 0; height: 0; pointer-events: none; }
.nc-senju i { position: absolute; left: 0; top: 0; width: 170px; height: 8px; margin-top: -4px; transform-origin: 0 50%; rotate: var(--a); border-radius: 0 8px 8px 0;
  background: linear-gradient(90deg, rgba(255, 220, 120, 0), #ffe68e 40%, #fff6c8 85%, #fff); box-shadow: 0 0 10px rgba(255, 200, 80, .8);
  animation: ncArm 1.6s ease-out both; }
@keyframes ncArm { 0% { opacity: 0; scale: .2 1; } 30% { opacity: 1; scale: 1 1; } 75% { opacity: .9; } 100% { opacity: 0; scale: 1.15 1; } }

/* 予知夢：霞（虹色の照り） */
.nc-dream { position: fixed; z-index: 35; width: 260px; height: 120px; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; filter: blur(8px);
  background: radial-gradient(ellipse, rgba(255, 255, 255, .7), rgba(255, 190, 230, .45) 35%, rgba(170, 200, 255, .3) 60%, transparent 72%); animation: ncDream 1.6s ease-out forwards; }
@keyframes ncDream { 0% { opacity: 0; scale: .5; } 30% { opacity: 1; scale: 1.05; } 100% { opacity: 0; scale: 1.3; } }
/* 予知夢：手牌の左上に、次に引く牌（霞の中に金の縁） */
.handinfo .yochimu { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 8px 6px; border-radius: 12px;
  background: radial-gradient(ellipse at 50% 60%, rgba(255, 240, 255, .28), rgba(120, 90, 200, .35) 60%, rgba(30, 14, 50, .88));
  box-shadow: 0 0 0 2px rgba(255, 220, 140, .9), 0 0 14px rgba(255, 170, 230, .65), 0 0 26px rgba(150, 190, 255, .45); }
.handinfo .yochimu .ych-label { font: 900 11px/1 "M PLUS Rounded 1c", sans-serif; letter-spacing: .04em; color: #fff3c4; white-space: nowrap; text-shadow: 0 1px 2px #000; }
.handinfo .yochimu .tile { opacity: .92; filter: drop-shadow(0 0 6px rgba(255, 215, 120, .95)) drop-shadow(0 0 12px rgba(255, 170, 230, .6));
  animation: ncFloat 2.4s ease-in-out infinite; }
.handinfo .yochimu.changed .tile { animation: ncMistIn .7s ease-out, ncFloat 2.4s ease-in-out .7s infinite; }
@keyframes ncFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
@keyframes ncMistIn { 0% { opacity: 0; filter: blur(6px) brightness(2); translate: 6px 0; } 100% { opacity: .92; filter: blur(0); translate: 0 0; } }

/* 裏鬼門：結果の画面で、3倍になった裏ドラの「×３」 */
.ura-x3 { margin-left: 10px; font-size: 32px; vertical-align: middle; filter: drop-shadow(0 0 6px rgba(255, 70, 70, .95)) drop-shadow(0 0 14px rgba(255, 200, 80, .6)); animation: ncX3 .9s ease-out both; }
.ura-x3 > .f { background-image: linear-gradient(180deg, #ffffff 0%, #fff2a8 28%, #ffc23a 50%, #a85a10 58%, #ffe070 76%, #fffbe0 100%); }
@keyframes ncX3 { 0% { opacity: 0; scale: 2.2; } 30% { opacity: 1; scale: .9; } 45% { scale: 1.1; } 100% { scale: 1; } }

/* 千手観音で2枚から選ぶ */
.overlay.senjupick .peekrow .tile { cursor: pointer; filter: drop-shadow(0 0 10px rgba(255, 210, 100, .8)); }

@media (prefers-reduced-motion: reduce) {
  .nc-shock, .plate.paralyzed::after, .handinfo .yochimu .tile { animation: none; }
}

/* 大つむじ風：竜巻に巻き上げられている間は、相手の手牌を空に見せる（配り終わると戻る） */
body.fx-blown-0 .rot[data-seat="0"] .opphand, body.fx-blown-1 .rot[data-seat="1"] .opphand,
body.fx-blown-2 .rot[data-seat="2"] .opphand, body.fx-blown-3 .rot[data-seat="3"] .opphand { visibility: hidden; }

/* 文字の後ろの半透明の帯（足踏みの「ツモ切りだけ」など）：暗い半透明の横長の帯、ふちに細い光、角は少し丸く */
.nc-word.band { padding: calc(var(--k, 1) * 7px) calc(var(--k, 1) * 18px); border-radius: calc(var(--k, 1) * 10px);
  background: linear-gradient(180deg, rgba(10, 28, 22, .78), rgba(4, 14, 10, .72));
  box-shadow: 0 0 0 1px rgba(150, 255, 205, .85), 0 0 calc(var(--k, 1) * 12px) rgba(80, 255, 180, .55), inset 0 1px 0 rgba(200, 255, 230, .25), 0 4px 12px rgba(0, 0, 0, .5); }
.nc-word.band.jade { box-shadow: 0 0 0 1px rgba(150, 255, 205, .85), 0 0 calc(var(--k, 1) * 12px) rgba(80, 255, 180, .55), inset 0 1px 0 rgba(200, 255, 230, .25), 0 4px 12px rgba(0, 0, 0, .5); }
