/* GreenVale WWW v0.3 — nakładka: przyciski MyAAC + Emerald.
   Nie zmienia mechanizmów formularzy, ich pól ani danych graczy. */

/* W niektórych widokach MyAAC elementy Submit/Back dziedziczą
   bardzo małe style domyślne, dlatego te reguły są celowo silniejsze. */
.news-area form input[type="submit"],
.news-area form button[type="submit"],
.news-area form input[type="button"],
.news-area form button[type="reset"],
.news-area form input[type="reset"],
.news-area form button:not([type]) {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  min-width: 92px;
  max-width: 100%;
  box-sizing: border-box !important;
  padding: 8px 17px !important;
  background: linear-gradient(135deg, #d9c087, #a98c50) !important;
  border: 1px solid #e3ca91 !important;
  border-radius: 5px !important;
  color: #102219 !important;
  font: 700 13px/1.3 Inter, "Segoe UI", Arial, sans-serif !important;
  letter-spacing: .015em;
  white-space: normal !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 13px rgba(0,0,0,.18);
  transition: filter .18s ease, transform .18s ease;
}
.news-area form input[type="submit"]:hover,
.news-area form button[type="submit"]:hover,
.news-area form input[type="button"]:hover,
.news-area form button[type="reset"]:hover,
.news-area form input[type="reset"]:hover,
.news-area form button:not([type]):hover {
  filter: brightness(1.10);
  transform: translateY(-1px);
}
.news-area form input[type="submit"]:focus-visible,
.news-area form button[type="submit"]:focus-visible,
.news-area form input[type="button"]:focus-visible,
.news-area form button[type="reset"]:focus-visible,
.news-area form input[type="reset"]:focus-visible,
.news-area form button:not([type]):focus-visible {
  outline: 2px solid #f5e4b2 !important;
  outline-offset: 3px;
}
.news-area form input:disabled:is([type="submit"], [type="button"], [type="reset"]),
.news-area form button:disabled {
  filter: saturate(.3);
  opacity: .5;
  cursor: not-allowed !important;
}

/* Cały kafelek Szmaragdowych Rubieży jest linkiem. */
.gv-emerald-tile { display: block; height: 100%; color: inherit; text-decoration: none; }
.gv-emerald-tile:hover { text-decoration: none; }
.gv-emerald-tile:focus-visible { outline: 3px solid #e7d18e; outline-offset: -4px; }
.gv-emerald-tile:hover .realm-link,
.gv-emerald-tile:focus-visible .realm-link { color: #f7e3a5; }

/* Emerald — własna podstrona, korzysta z istniejącej główki i stopki. */
.gv-em-page { min-height: 70vh; background: radial-gradient(ellipse at 55% -15%, #234434 0, transparent 55%), #0c1512; padding: 42px 0 92px; }
.gv-em-shell { width: min(1120px, calc(100% - 42px)); margin: 0 auto; }
.gv-em-back { display: inline-flex; gap: 12px; align-items: center; margin-bottom: 21px; color: #d9c38b; font-size: 13px; font-weight: 650; text-decoration: none; }
.gv-em-back:hover { color: #f6e7bc; }
.gv-em-back span { font-size: 22px; font-weight: 400; line-height: 1; }
.gv-em-frame { border: 1px solid rgba(221,192,122,.33); background: #15261d; box-shadow: 0 24px 70px rgba(0,0,0,.34); overflow: hidden; }
.gv-em-picture { position: relative; height: clamp(290px, 42vw, 480px); overflow: hidden; }
.gv-em-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; }
.gv-em-picture-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,21,14,.94) 0%, rgba(8,20,14,.40) 40%, rgba(8,15,11,.10) 100%), linear-gradient(90deg, rgba(5,15,11,.44),transparent 85%); }
.gv-em-picture-tag { position: absolute; top: 27px; left: 36px; right: 20px; color: #f9e9bc; letter-spacing: .18em; font-size: 10px; font-weight: 800; text-shadow: 0 2px 8px #0008; }
.gv-em-picture-tag span { margin: 0 8px; color: #e0c787; }
.gv-em-picture-title { position: absolute; bottom: 35px; left: 36px; right: 36px; display: flex; flex-direction: column; align-items: flex-start; color: #f8edd4; text-shadow: 0 3px 16px #000b; }
.gv-em-picture-title span { letter-spacing: .19em; font-size: 11px; color: #e2d6b6; font-weight: 700; }
.gv-em-picture-title strong { font: 500 clamp(65px, 10vw, 124px)/.99 Georgia, "Times New Roman", serif; letter-spacing: .075em; color: #f5e8c6; }
.gv-em-picture-title em { font: normal clamp(19px, 3vw, 28px)/1.3 Georgia, serif; color: #f3ddaa; }
.gv-em-content { padding: 49px clamp(25px, 9vw, 110px) 46px; text-align: center; background: linear-gradient(160deg, #17291f, #102018 70%, #12241a); }
.gv-em-kicker { font-size: 11px; font-weight: 800; letter-spacing: .23em; color: #dfc38b; text-transform: uppercase; }
.gv-em-content h1 { max-width: 800px; margin: 13px auto 22px; font: 400 clamp(30px, 5vw, 49px)/1.23 Georgia, serif; color: #f5e9d2; }
.gv-em-content h1 i { color: #e1cb91; font-style: normal; }
.gv-em-intro { max-width: 720px; margin: 0 auto; font-size: 15px; color: #c6d2c3; line-height: 1.95; }
.gv-em-separator { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 31px auto 24px; color: #d6bd80; }
.gv-em-separator:before,.gv-em-separator:after { content: ''; display: block; height: 1px; width: 85px; background: linear-gradient(90deg, transparent, #9e8959); }
.gv-em-separator:after { transform: rotate(180deg); }
.gv-em-whisper { margin: 0 0 18px; color: #d7d4bf; font: italic 18px/1.45 Georgia, serif; }
.gv-em-regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gv-em-region { display: flex; flex-direction: column; gap: 8px; justify-content: center; min-height: 101px; padding: 18px 13px; background: rgba(33,57,42,.75); border: 1px solid rgba(223,194,128,.25); }
.gv-em-region small { color: #d2b879; letter-spacing: .16em; font-size: 10px; }
.gv-em-region span { font: 400 clamp(16px, 1.9vw, 21px)/1.3 Georgia, serif; color: #f0e1c5; }
.gv-em-outro { color: #dfd3b9; font: italic 19px/1.6 Georgia, serif; margin: 27px 0 19px; }
.gv-em-note { color: #9eaf9e; font-size: 11px; line-height: 1.8; }
.gv-em-dot { display: inline-block; margin-right: 6px; vertical-align: 1px; width: 6px; height: 6px; border-radius: 50%; background: #9ec188; }
.gv-em-footnote { margin-top: 24px; text-align: center; color: #8da48e; font-size: 12px; letter-spacing: .02em; }
@media (max-width: 650px) {
  .gv-em-page { padding: 23px 0 55px; }
  .gv-em-shell { width: min(100% - 26px, 1120px); }
  .gv-em-picture { height: 330px; }
  .gv-em-picture-tag { left: 19px; right: 12px; top: 19px; font-size: 9px; letter-spacing: .10em; }
  .gv-em-picture-title { left: 18px; right: 15px; bottom: 23px; }
  .gv-em-picture-title strong { font-size: clamp(53px, 14vw, 81px); }
  .gv-em-picture-title span { font-size: 9px; letter-spacing: .10em; }
  .gv-em-content { padding: 35px 18px 33px; }
  .gv-em-intro { font-size: 14px; }
  .gv-em-regions { grid-template-columns: 1fr; gap: 10px; }
  .gv-em-region { min-height: 70px; padding: 10px; gap: 3px; }
  .gv-em-region span { font-size: 19px; }
  .gv-em-outro { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .news-area form input[type="submit"], .news-area form button[type="submit"] { transition: none; }
}
