/* Rise of Denemearc – shared styles for every screen */

/* Runes: Noto Sans Runic ships with the game (SIL Open Font License, see assets/fonts/NotoSansRunic-OFL.txt),
   so every device shows the same runes. Only downloaded when a page actually shows runic letters. */
@font-face {
  font-family: "Denemearc Runes";
  src: url("../fonts/NotoSansRunic-Regular.ttf?v=1") format("truetype");   /* browsers keep this for a year: bump v if the file changes */
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+16A0-16FF;
}

/* Colours come from the player's colour theme (theme-css.php, built from the database by app/Theme.php):
   --ink --ink-soft --parch --parch-2 --line --bronze --gold --gold-hi --wood-1 --wood-2 --bar --line-c … in a light and a
   dark version. Interface parts (headers, buttons, panels, tooltips) use them; the artwork (parish map colours,
   coast, sea, sky, title painting) keeps its own colours. */
:root {
  --on-wood: #f3e8cd;        /* text on the dark wooden parts – the wood is dark in every theme */
  --font:"Palatino Linotype", "Book Antiqua", Palatino, "TeX Gyre Pagella", Georgia, serif;
  /* runic letters: our own font first, the system's rune fonts only as a fallback */
  --runes: "Denemearc Runes", "Noto Sans Runic", "Segoe UI Historic", "Apple Symbols", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }

/* Nothing in the game can be highlighted or dragged out (see also js/guard.js) – except what you type in */
html {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;          /* iOS: no copy/save pop-up on long press */
  -webkit-tap-highlight-color: transparent;
}
img, svg { -webkit-user-drag: none; }
input, textarea, [contenteditable="true"] { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }

html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0b1622;
  color: var(--ink);
  font-family: var(--font);
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; }

/* Copyright line – bottom right on every screen */
/* text only for screen readers (e.g. the map page heading) */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* TEST: language, colour theme and light/dark selectors in the bottom right corner (later from the player's profile) */
.lang-select {
  position: fixed;
  right: 1%;
  bottom: calc(0.8% + 18px + env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  max-width: 98vw;
}
.lang-select select {
  padding: 3px 6px;
  border: 1px solid var(--bronze);
  border-radius: 6px;
  background: color-mix(in srgb, var(--wood-2) 90%, transparent);
  color: var(--gold-hi);
  font: 13px var(--font);
  cursor: pointer;
}
.lang-select select:hover, .lang-select select:focus { border-color: var(--gold); outline: none; }
.lang-select option { background: var(--wood-2); color: var(--gold-hi); }
.lang-select select:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }

.copyright {
  position: fixed;
  right: 1%;
  bottom: calc(0.8% + env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  font-size: clamp(11px, 0.7vw, 12px);
  letter-spacing: 0.04em;
  color: rgba(243, 232, 205, 0.8);
  text-shadow: 0 1px 2px #000, 0 0 6px #000;
  pointer-events: none;
  white-space: nowrap;
}

/* "Report / idea" (Layout::feedbackButton / feedback, assets/js/feedback.js) – signed-in players: in its own small box
   left of the info box (.ub-fb, styled with the .ub* rules below); .fb-btn = the bottom-left fallback on signed-in
   pages without the info box (staff.php) */
.fb-btn {
  position: fixed; left: 1%; bottom: calc(0.6% + env(safe-area-inset-bottom, 0px)); z-index: 1001;
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; cursor: pointer;
  font: 12px var(--font); letter-spacing: 0.04em; color: var(--on-wood);
  background: color-mix(in srgb, var(--wood-2) 75%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 50%, transparent);
  border-radius: 999px; opacity: 0.55; transition: opacity 0.2s ease;
}
.fb-btn:hover, .fb-btn:focus-visible, .fb-btn[data-unread] { opacity: 1; outline: none; }
.fb-btn:focus-visible { box-shadow: 0 0 0 2px var(--gold-hi); }
@media (max-width: 520px) { .fb-btn span { display: none; } }   /* phones: only the icon */
.fb-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--line-c); box-shadow: 0 0 0 2px var(--parch); }
.fb-dialog { width: min(100%, 44rem); }
.fb-dialog [hidden] { display: none !important; }   /* .btn etc. set their own display */
.fb-box {
  position: relative; max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; padding: 20px 22px;
  background: var(--parch); border: 3px solid var(--wood-1); border-radius: 12px; box-shadow: 0 0 0 2px var(--bar) inset, 0 10px 28px rgba(0, 0, 0, 0.55);
}
.fb-box h2 { margin: 0 40px 10px 0; color: var(--heading); font-size: 21px; }
.fb-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; border-bottom: 2px solid var(--line); }
.fb-tabs button { padding: 6px 12px; font: bold 14px var(--font); color: var(--ink-soft); background: var(--parch-2); border: 2px solid var(--line); border-bottom: 0; border-radius: 8px 8px 0 0; margin-bottom: -2px; cursor: pointer; }
.fb-tabs button.on { color: var(--ink); background: var(--card); border-color: var(--wood-1); }
.fb-form .acc-field select, .fb-form textarea {
  width: 100%; box-sizing: border-box; padding: 0.5em 0.6em; font: 16px var(--font); color: var(--ink);
  background: var(--card); border: 2px solid var(--line); border-radius: 8px;
}
.fb-form textarea { resize: vertical; min-height: 7em; }
.fb-form textarea:focus, .fb-form select:focus { border-color: var(--gold); outline: 2px solid color-mix(in srgb, var(--gold), transparent 50%); outline-offset: 1px; }
.fb-shot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 8px 0; }
.fb-shot small { color: var(--ink-soft); font-size: 13px; flex: 1 1 16rem; }
.fb-editor { margin: 8px 0; }
.fb-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.fb-tool { display: grid; place-items: center; width: 36px; height: 34px; padding: 0; cursor: pointer; color: var(--ink); background: var(--card); border: 2px solid var(--line); border-radius: 8px; }
.fb-tool.on { border-color: var(--gold); background: var(--parch-2); }
.fb-tool:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 1px; }
.fb-canvas { display: block; width: 100%; height: auto; border: 2px solid var(--line); border-radius: 6px; cursor: crosshair; touch-action: none; }
.fb-msg { margin: 8px 0 0; padding: 6px 10px; border-radius: 6px; border-left: 4px solid var(--line-c); background: color-mix(in srgb, var(--line-c) 10%, transparent); }
.fb-msg.good { border-left-color: var(--gold); background: color-mix(in srgb, var(--gold) 14%, transparent); }
.fb-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin: 14px 0 0; }
.fb-actions .btn { padding: 0.55em 1.4em; font-size: 16px; }
.fb-mine ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fb-mine li { padding: 8px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.fb-mine li.new { border-left: 5px solid var(--gold); }
.fb-mine li p { margin: 0; overflow-wrap: anywhere; }
.fb-mine li small { color: var(--ink-soft); }
.fb-mine .fb-text { margin-top: 4px; color: var(--ink-soft); }
.fb-mine .fb-note { margin-top: 4px; font-style: italic; }
.fb-status { padding: 1px 8px; border-radius: 999px; font-size: 12px; background: var(--parch-2); border: 1px solid var(--line); }
.fb-fixed .fb-status { border-color: var(--gold); }
.fb-deleted .fb-status { border-color: var(--line-c); color: var(--line-c); }
.fb-none { color: var(--ink-soft); }

/* Bronze-and-gold button */
.btn {
  display: inline-block;
  padding: 0.7em 2.2em;
  border: 2px solid var(--wood-2);
  border-radius: 0.5em;
  background: linear-gradient(color-mix(in srgb, var(--wood-1), var(--gold) 25%), var(--wood-1) 55%, var(--wood-2));
  box-shadow: 0 0 0 2px var(--gold) inset, 0 0.4em 1.2em rgba(0, 0, 0, 0.6);
  color: var(--gold-hi);
  font: bold clamp(15px, 1.6vw, 24px) var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 2px 0 #000;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover, .btn:focus-visible { filter: brightness(1.18); transform: translateY(-2px); outline: none; }
.btn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 4px; }   /* clear ring for keyboard users */
.btn:active { transform: translateY(1px); }

/* ---------- Title screen ---------- */
.title-screen {
  position: fixed;
  inset: 0;
  overflow: hidden;
}
/* the painting and, on top, the two ships as their own animated layer (both made by rod-private/tools/branding/
   make-title-ships.php; the same frame, sizing and position, so they line up – bump v when the files change) */
.title-bg, .title-ships {
  position: absolute;
  inset: -8px;   /* a little larger than the screen, so the thunder shake never shows an edge */
  background: 62% 60% / cover no-repeat;
}
.title-bg { background-color: #0b1622; background-image: url("../img/branding/title_background.svg?v=2"); }
.title-ships { background-image: url("../img/branding/title_ships.svg?v=1"); pointer-events: none; }
/* the living sky over the painting (assets/js/title.js – it reads .title-bg's background-position, keep them in step) */
.title-sky { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* a blow of Mjölnir: the painting and the ships flash and shake together (class "thunder" on .title-screen, set by title.js) */
.title-screen.thunder .title-bg, .title-screen.thunder .title-ships { animation: title-thunder 0.75s ease-out; }
@keyframes title-thunder {
  0%   { filter: none; transform: none; }
  6%   { filter: brightness(1.9) saturate(0.7); transform: translate(-3px, 2px); }
  14%  { filter: brightness(1.1); transform: translate(3px, -2px); }
  22%  { filter: brightness(1.55) saturate(0.8); transform: translate(-2px, 1px); }
  34%  { filter: brightness(1.05); transform: translate(2px, 0); }
  48%  { transform: translate(-1px, 1px); }
  100% { filter: none; transform: none; }
}
.title-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 3% 4% 0;
  text-align: center;
}
.title-content h1 { margin: 0; width: 100%; display: flex; justify-content: center; }
.title-logo {
  width: 58%;
  max-width: 1000px;
  max-height: 56vh;
  object-fit: contain;
  filter: drop-shadow(0 0.6vh 1.2vh rgba(0, 0, 0, 0.6));
}
.tagline {
  margin: 1% 0 2.5%;
  color: #e8d9b5;
  font-size: clamp(14px, 1.5vw, 24px);
  font-style: italic;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 4px #000;
}
.title-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2em; }
/* the guide / demo button at the bottom (a placeholder: opens the map until the guided tour is built) */
.title-guide {
  margin-top: auto;
  padding-bottom: calc(max(5vh, 60px) + env(safe-area-inset-bottom, 0px));   /* clear of the selectors in the bottom right corner */
  display: flex; flex-direction: column; align-items: center; gap: 0.5em;
}
.btn-guide { padding: 0.5em 1.8em; font-size: clamp(13px, 1.1vw, 18px); }
.title-guide small {
  max-width: 34em;
  color: #e8d9b5;
  font-size: clamp(11px, 0.85vw, 14px);
  font-style: italic;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 3px #000, 0 0 6px #000;
}
/* the music on/off button, top right (index.php, assets/js/music.js) – almost see-through until pointed at */
.title-music {
  position: fixed; z-index: 1002;
  top: calc(14px + env(safe-area-inset-top, 0px)); right: 1.2%;
  width: 46px; height: 46px; padding: 0;
  display: grid; place-items: center;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); border-radius: 50%;
  background: color-mix(in srgb, var(--wood-2) 75%, transparent);
  color: var(--gold-hi); cursor: pointer;
  opacity: 0.55; transition: opacity 0.2s, background 0.2s;
}
.title-music:hover, .title-music:focus-visible { opacity: 1; background: color-mix(in srgb, var(--wood-2) 92%, transparent); outline: none; }
.title-music:focus-visible { box-shadow: 0 0 0 2px var(--gold-hi); }
.title-music .ic-on, .title-music.on .ic-off { display: none; }
.title-music.on .ic-on { display: block; }
.title-music.on { opacity: 0.75; }
@media (prefers-reduced-motion: reduce) {
  .title-screen.thunder .title-bg, .title-screen.thunder .title-ships { animation: none; }
  .title-music { transition: none; }
}

@media (orientation: portrait) {
  .title-bg, .title-ships { background-position: 72% 50%; }
  .title-content { padding-top: 12%; }
  .title-logo { width: 94%; }
  .tagline { margin: 3% 0 6%; }
  /* room for the language / theme selectors in the bottom right corner */
  .title-guide { padding-bottom: calc(4.5em + env(safe-area-inset-bottom, 0px)); }
}
@media (max-height: 500px) and (orientation: landscape) {
  .title-content { padding-top: 1.5%; }
  .title-logo { width: 42%; max-height: 62vh; }
  .tagline { margin: 0.5% 0 1.5%; }
  .title-guide { align-self: flex-start; padding-bottom: calc(0.8em + env(safe-area-inset-bottom, 0px)); }   /* bottom left, beside the selectors */
  .title-guide small { display: none; }   /* no room beside the selectors – the button alone (aria-describedby still reads it) */
}

/* ---------------------------------------------------------------- the player's info box (Layout::userBox, js/userbox.js)
   In the page header, top right: world (menu when 2+ worlds), player name (opens the settings layer), sign out.
   Almost see-through until pointed at, focused or tapped. Text on the dark wood: --on-wood / --gold-hi. */
.ub-bar { margin-left: auto; display: flex; align-items: stretch; gap: 6px; min-width: 0; }
.ub {
  display: flex; align-items: stretch; gap: 2px; min-width: 0;
  padding: 3px; border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  background: color-mix(in srgb, var(--wood-2) 30%, transparent);
  opacity: 0.4; transition: opacity 0.2s ease, background 0.2s ease;
  font-family: var(--font);
}
.ub:hover, .ub:focus-within, .ub:has(.open) { opacity: 1; background: color-mix(in srgb, var(--wood-2) 92%, transparent); }
.ctrl + .ub-bar { margin-left: 10px; }
/* the "Report / idea" box: icon + text (icon only on phones); a dot and full strength when there is news */
.ub.ub-fb { flex: 0 0 auto; }
.ub-fb:has([data-unread]) { opacity: 1; }
.ub-item.ub-fb-btn { position: relative; flex-direction: row; white-space: nowrap; align-items: center; gap: 6px; font-size: 13px; font-weight: bold; color: var(--gold-hi); }
.ub-fb-btn svg { flex: 0 0 auto; }
.ub-fb-btn .fb-dot { position: absolute; top: 2px; right: 2px; }
.ub-float { position: fixed; top: calc(10px + env(safe-area-inset-top, 0px)); right: 1%; z-index: 20; }

/* The staff's notice box (assets/js/staff-toast.js, app/StaffToast.php – Admin, GM, Bailiff; owner 2026-11-18): small
   wooden signs at the LEFT that fall from under the header (--st-top) to the bottom of the screen (--st-fall, both set by
   the script) one after another, and fade out at the bottom. */
.st-toasts { position: fixed; top: var(--st-top, 12px); left: 1%; z-index: 1003; width: 0; height: 0; pointer-events: none; }
.st-toast {
  position: absolute; top: 0; left: 0; width: max-content;
  animation: st-fall 7s cubic-bezier(0.35, 0.1, 0.65, 0.9) forwards;
  display: flex; align-items: center; gap: 8px; max-width: min(80vw, 20rem);
  padding: 7px 12px; border-radius: 10px; border: 1px solid var(--gold);
  background: color-mix(in srgb, var(--wood-2) 94%, transparent); color: var(--on-wood);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  font-family: var(--font); font-size: 14px; font-weight: bold; text-decoration: none;
}
@keyframes st-fall {
  0%   { opacity: 0; transform: translateY(-40px); }
  6%   { opacity: 1; transform: translateY(0); }
  88%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(var(--st-fall, 70vh)); }
}
@keyframes st-fade { 0%, 100% { opacity: 0; } 10%, 85% { opacity: 1; } }
.st-toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-toast svg { flex: 0 0 auto; color: var(--gold-hi); }
a.st-toast { pointer-events: auto; cursor: pointer; }
a.st-toast:hover, a.st-toast:focus-visible { border-color: var(--gold-hi); outline: none; animation-play-state: paused; }
.st-logout svg { color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .st-toast { animation-name: st-fade; animation-duration: 4s; }
}
.ub-item {
  display: flex; flex-direction: column; justify-content: center; gap: 1px; min-width: 0;
  padding: 3px 10px; border: 0; border-radius: 7px; background: none; cursor: pointer;
  color: var(--on-wood); font: inherit; text-align: left; text-decoration: none; line-height: 1.15;
}
.ub-item small { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.ub-item b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 14em; }
.ub-item b i { font-style: normal; font-size: 0.8em; color: var(--gold); }
.ub-item:hover, .ub-item:focus-visible { background: color-mix(in srgb, var(--gold) 18%, transparent); outline: none; }
.ub-item:focus-visible { box-shadow: 0 0 0 2px var(--gold-hi) inset; }
.ub-logout { display: flex; margin: 0; }
.ub-logout .ub-item { flex-direction: row; align-items: center; gap: 6px; font-size: 13px; font-weight: bold; color: var(--gold-hi); }
.ub-logout svg { flex: 0 0 auto; }

.ub-menu-wrap { position: relative; display: flex; min-width: 0; }
.ub-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 100%; width: max-content; max-width: min(80vw, 22rem);
  margin: 0; padding: 5px; list-style: none;
  border: 1px solid var(--bronze); border-radius: 8px; background: var(--wood-2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
  visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.ub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }   /* bridge: the hover holds */
.ub-menu-wrap:hover .ub-menu, .ub-menu-wrap:focus-within .ub-menu, .ub-menu-wrap.open .ub-menu { visibility: visible; opacity: 1; transform: none; }
.ub-menu a {
  display: block; padding: 7px 12px; border-radius: 6px; color: var(--on-wood); text-decoration: none; white-space: nowrap; font-size: 15px;
}
.ub-menu a small { margin-left: 6px; font-size: 12px; color: var(--gold); }
.ub-menu a.on { color: var(--gold-hi); font-weight: bold; }
.ub-menu a.on::before { content: "✓ "; }
.ub-menu a:hover, .ub-menu a:focus-visible { background: color-mix(in srgb, var(--gold) 20%, transparent); outline: none; }
.ub-menu .ub-all { margin-top: 4px; padding-top: 4px; border-top: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); }
.ub-menu .ub-all a { font-size: 13px; color: var(--gold); }

/* phones: world above the name (two short lines), sign out beside both */
@media (max-width: 640px) {
  .ub-bar { gap: 4px; }
  .ub { display: grid; grid-template-columns: minmax(0, auto) auto; gap: 0 2px; padding: 2px; }
  .ub.ub-fb { display: flex; }
  .ub-fb-btn span:not(.fb-dot) { display: none; }
  .ub > .ub-world, .ub > .ub-menu-wrap { grid-column: 1; grid-row: 1; }
  .ub > .ub-name { grid-column: 1; grid-row: 2; }
  .ub > .ub-logout { grid-column: 2; grid-row: 1 / span 2; }
  .ub-item { padding: 1px 7px; }
  .ub-item small { display: none; }
  .ub-item b { font-size: 12.5px; max-width: 9em; }
  .ub-logout span { display: none; }
  .ub-menu { left: auto; right: -40px; }   /* the box sits at the right edge: open towards the left */
}
@media (max-width: 380px) { .ub-item b { max-width: 7.5em; } }
@media (hover: none) { .ub { opacity: 0.6; } }   /* touch screens: a little stronger, as there is no pointing */
@media (prefers-reduced-motion: reduce) { .ub, .ub-menu { transition: none; } }

/* the two dialogs: the settings layer (My account inside) and "sign out?" */
.ub-dialog {
  padding: 0; border: 0; background: none; color: var(--ink); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px);
  overflow: visible;
}
.ub-dialog::backdrop { background: rgba(8, 6, 4, 0.7); }
.ub-layer { position: fixed; width: min(100%, 36rem); overflow-y: auto; overscroll-behavior: contain; }
.ub-layer .acc-card.in-layer { width: 100%; margin: 0; }
.ub-layer-body[aria-busy="true"] { opacity: 0.7; }
.ub-loading { margin: 0; padding: 40px; text-align: center; background: var(--parch); border-radius: 12px; color: var(--ink-soft); }
.ub-x {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
  border: 0; border-radius: 50%; background: none; cursor: pointer; color: var(--ink-soft); font: 26px/1 var(--font);
}
.ub-x:hover, .ub-x:focus-visible { color: var(--ink); background: var(--parch-2); outline: none; }
.ub-confirm form {
  width: min(92vw, 24rem); padding: 22px 24px; text-align: center;
  background: var(--parch); border: 3px solid var(--wood-1); border-radius: 12px;
  box-shadow: 0 0 0 2px var(--bar) inset, 0 10px 28px rgba(0, 0, 0, 0.55);
}
.ub-confirm h2 { margin: 0 0 0.4em; color: var(--heading); font-size: 22px; }
.ub-confirm p { margin: 0 0 1.2em; color: var(--ink-soft); line-height: 1.45; }
.ub-confirm .ub-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
.ub-confirm .btn { padding: 0.55em 1.4em; font-size: 16px; }
