/* The game-creation page's "Latest updates" button, its patch-notes dialog, and the cannon volley that points
   new arrivals at it (updates.js). */
.herobtns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 10px; }
.herobtns .ix-replay { font-size: .95rem; }
.updbtn { position: relative; font-size: 1.1rem; font-weight: 800; min-height: 54px; padding: 10px 22px; border-radius: 12px;
  background: linear-gradient(180deg, #f3dd96, #c9a23a) !important; color: #2b1d04; border: 2px solid #7c5d18;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.6), 0 6px 16px rgba(0,0,0,.4) !important; }
.updbtn:hover { filter: brightness(1.06); }
.updbtn .updglyph { font-size: 1.25rem; }
.updnew { position: absolute; top: -10px; right: -12px; background: #b3261e; color: #fff; font-size: .72rem; font-weight: 900;
  letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.4); animation: upd-badge 1.2s ease-in-out infinite alternate; }
@keyframes upd-badge { to { transform: scale(1.12) rotate(-4deg); } }
.updbtn.beckon { animation: upd-beckon 1.6s ease-in-out infinite; }
@keyframes upd-beckon { 50% { box-shadow: inset 0 2px 0 rgba(255,255,255,.6), 0 0 0 6px rgba(236,210,138,.45), 0 0 30px 10px rgba(255,200,90,.55); } }
.updbtn.hit { animation: upd-hit .32s ease-out; }
@keyframes upd-hit { 20% { transform: translate(-5px, 3px) rotate(-2deg); } 45% { transform: translate(4px, -3px) rotate(1.5deg); }
  70% { transform: translate(-2px, 1px); } }
.sugbtn { min-height: 54px; }

/* the patch notes */
.upddlg { width: min(760px, calc(100vw - 24px)); max-height: min(88vh, 900px); padding: 0; border: 0; border-radius: 16px; color: var(--ink);
  background: #fbf4e1; box-shadow: 0 30px 90px rgba(0,0,0,.6), 0 0 0 3px #c9a23a; overflow: hidden; }
.upddlg::backdrop { background: rgba(3, 12, 18, .72); backdrop-filter: blur(2px); }
.upd-scroll { max-height: min(88vh, 900px); overflow-y: auto; padding: 26px clamp(16px, 4vw, 34px) 22px; position: relative; }
.upd-close { position: sticky; top: 0; float: right; width: 40px; height: 40px; min-height: 0; padding: 0; border-radius: 50%; font-size: 1.6rem; line-height: 1;
  background: rgba(0,0,0,.08) !important; color: var(--ink); box-shadow: none !important; }
.upd-kicker { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #7c5d18; }
.upddlg h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 4px 0 14px; }
.upd-thanks { text-align: center; padding: 16px; border-radius: 14px; margin-bottom: 14px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,236,170,.9), rgba(255,236,170,.25) 70%), #fff8e2; border: 1.5px solid #e0c983; }
.upd-thanks-h { font-family: Georgia, serif; font-weight: 700; font-size: 1.15rem; color: #7c5d18; }
.upd-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 10px 0 8px; }
.upd-names span { font-weight: 900; padding: 5px 14px; border-radius: 999px; color: #fff; background: linear-gradient(180deg, #a22626, #7d1919);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 3px 8px rgba(0,0,0,.25); }
.upd-thanks p { margin: 0; }
.upd-ask { padding: 14px 16px; border-radius: 12px; background: #eef5f3; border-left: 5px solid var(--port); margin-bottom: 8px; }
.upd-ask p { margin: 0 0 10px; }
.upd-sec h3 { font-family: Georgia, serif; color: var(--accent); font-size: 1.2rem; margin: 18px 0 6px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.upd-sec ul { margin: 0; padding-left: 20px; } .upd-sec li { margin: 6px 0; line-height: 1.45; }

/* the volley: tiny shots from off screen, the same as the turn replay's (.pb-ball / .pb-flash) */
.vly { position: fixed; inset: 0; z-index: 900; pointer-events: none; overflow: hidden; }
.vly-ball { position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #777, #111 70%); }
.vly-hit { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: radial-gradient(circle, #fff7c2 0 18%, #ffb347 42%, rgba(255,90,20,.55) 62%, transparent 72%); }

/* First card release banner on the game-creation page */
.setbanner { display: flex; align-items: center; gap: 22px; margin: 18px 0; padding: 18px 24px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(14,28,36,.92), rgba(30,22,16,.92)); border: 1px solid #b8893a;
  box-shadow: 0 0 0 3px rgba(0,0,0,.25), 0 10px 30px rgba(0,0,0,.4), inset 0 0 40px rgba(0,0,0,.45); color: #efe3c4; }
.sb-emblem { flex: 0 0 auto; width: 104px; height: 104px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.sb-kicker { margin: 0 0 2px; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #e0b64a; }
.sb-title { margin: 0 0 6px; font-size: 2.1rem; line-height: 1.1; color: #fff3d0; font-family: Georgia, "Times New Roman", serif; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.sb-lead { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.5; }
.sb-small { margin: 0; font-size: .92rem; line-height: 1.45; opacity: .85; }
.sb-small a { color: #ffd98a; }
@media (max-width: 600px) { .setbanner { flex-direction: column; text-align: center; padding: 16px 16px; gap: 10px; } .sb-title { font-size: 1.7rem; } .sb-emblem { width: 84px; height: 84px; } }
