/* =========================================================
   Playarea — gastbok.css
   Endast sådant som gästboken behöver. Allt är prefixat med
   .gb- och bygger på tokens och komponenter i style.css
   (.panel, .button, .band-stats, .band-actions, .pager,
   .stat-grid, .online-strip, .rules-list, .quote-card,
   .tiny-avatar, .mem-flag, .crumbs m.fl.).
   Används tillsammans med style.css.
   ========================================================= */

/* ---------- Gästbokens huvud ---------- */
.gb-hero { position: relative; }
.gb-rings {
  height: 18px; border-bottom: 1px solid #dae5ea;
  background:
    radial-gradient(circle at 11px 9px, #8fa9b4 0 2px, #dfeaee 2.5px 5px, transparent 5.5px) 0 0 / 22px 18px repeat-x,
    linear-gradient(#f3f8fa, #eaf2f5);
}
.gb-hero-body {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 106px minmax(0, 1fr); gap: 20px;
  padding: 20px 22px 17px;
  background: linear-gradient(115deg, #d9f0ed 0%, #e6f3f2 50%, #f8e9c5 100%);
}
.gb-hero-body:before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,239,205,.85), transparent 42%),
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(255,255,255,.08) 10px 11px);
}
.gb-hero-photo {
  position: relative; z-index: 1; align-self: start; width: 100px; height: 100px; display: grid; place-items: center;
  border: 5px solid #fff; outline: 1px solid #cfdfe3; border-radius: 4px; box-shadow: 0 4px 9px rgba(35,64,82,.22);
  color: #fff; font: 900 46px 'Nunito', sans-serif; transform: rotate(-3deg); transition: transform .2s;
}
.gb-hero-photo:hover { transform: rotate(2deg) scale(1.04); color: #fff; }
.gb-hero-photo:after { content: ""; position: absolute; top: -13px; left: 50%; width: 46px; height: 17px; margin-left: -23px; background: rgba(241,199,93,.72); box-shadow: 0 1px 2px rgba(120,90,30,.18); transform: rotate(4deg); }
.gb-hero-copy { position: relative; z-index: 1; min-width: 0; }
.gb-kicker { color: #9a6846; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.gb-title { margin: 3px 0 5px; color: #59483c; font: 900 30px/1.08 'Nunito', sans-serif; letter-spacing: -.8px; }
.gb-title span { position: relative; color: #b96545; white-space: nowrap; }
.gb-title span:after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; z-index: -1; height: 5px; border-radius: 3px; background: rgba(222,166,75,.55); }
.gb-lead { max-width: 450px; margin: 0; color: #78675a; font-size: 11.5px; line-height: 1.6; }
.gb-hero .band-stats { margin-top: 13px; }
.gb-hero .band-actions { margin-top: 13px; }
.gb-stamp {
  position: absolute; z-index: 1; top: 24px; right: 28px; width: 92px; height: 92px; display: grid; place-content: center; text-align: center;
  border: 2px dashed #c9915e; border-radius: 50%; background: rgba(255,249,237,.72); color: #a65e3f; transform: rotate(10deg);
}
.gb-stamp b { display: block; font: 900 25px/1 'Nunito', sans-serif; }
.gb-stamp small { display: block; margin-top: 2px; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.gb-stamp:before { content: "✦"; position: absolute; top: -9px; left: 8px; color: #d4a632; font-size: 17px; }

/* ---------- Formulär ---------- */
.gb-form { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; padding: 14px 14px 0; background: linear-gradient(180deg, #fffdf6, #fff 65%); }
.gb-me { width: 50px; height: 50px; overflow: hidden; border: 3px solid #fff; outline: 1px solid #d9e3e8; border-radius: 6px; box-shadow: 0 3px 7px #cfdce2; transform: rotate(-2deg); }
.gb-me img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gb-write { min-width: 0; }
.gb-write > label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; color: #52687a; font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.gb-write > label small { color: #93a0aa; font-size: 10px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.gb-text {
  display: block; width: 100%; min-height: 100px; padding: 5px 13px; resize: vertical; outline: 0;
  border: 1px solid #dfe7eb; border-radius: 5px 5px 0 0; border-left: 3px solid #f0a99c;
  background: #fff;
  color: var(--ink); font: 700 13px/24px 'Nunito', Arial, sans-serif;
  transition: border-color .15s, box-shadow .15s;
}
.gb-text::placeholder { color: #a0abb2; font-weight: 600; }
.gb-text:hover { border-color: #bcd3da; border-left-color: #f0a99c; }
.gb-text:focus { border-color: #8bc7ca; border-left-color: #ed7969; box-shadow: 0 0 0 3px #e3f5f3; }
.gb-meter { height: 4px; overflow: hidden; border-radius: 0 0 4px 4px; background: #e9f0f3; }
.gb-meter i { display: block; height: 100%; width: var(--pct, 0%); background: linear-gradient(#52c0b7, #2e9e99); transition: width .15s, background .2s; }
.gb-meter.warn i { background: linear-gradient(#f2d070, #e3ae3d); }
.gb-meter.max i { background: linear-gradient(#f39a8a, #e0705f); }
.gb-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 7px; }
.gb-stickers { display: flex; align-items: center; gap: 4px; }
.gb-stickers > span { margin-right: 3px; color: #93a0aa; font-size: 9px; font-weight: 900; letter-spacing: .09em; }
.gb-stickers button { width: 28px; height: 26px; border: 1px solid #d6e5e6; border-radius: 5px; background: linear-gradient(#fff, #f1f8f6); font-size: 14px; line-height: 1; transition: transform .12s, border-color .12s; }
.gb-stickers button:hover { border-color: #8bc7ca; transform: translateY(-2px) rotate(-4deg); }
.gb-count { color: #93a0aa; font-size: 10px; font-weight: 700; white-space: nowrap; }
.gb-count b { color: #5d7788; font: 900 11px 'Nunito', sans-serif; }
.gb-count.warn b { color: #b98a1f; }
.gb-count.max b { color: #d4604f; }
.gb-error { display: none; margin-top: 5px; color: #d4604f; font-size: 10px; font-weight: 700; }
.gb-error.show { display: block; }
.gb-form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px -14px 0; padding: 9px 14px; border-top: 1px solid #edf0f2; background: #fbfcfd; }
.gb-form-foot small { color: #93a0aa; font-size: 10px; line-height: 1.4; }
.gb-form-foot small b { color: #5d7788; }
.gb-form-foot .button { padding: 8px 18px; font-size: 12px; }
.gb-form-foot .button:disabled { opacity: .55; cursor: not-allowed; filter: grayscale(.6); transform: none; }

/* ---------- Inlägg ---------- */
.gb-list { list-style: none; margin: 0; padding: 0; }
.gb-entry { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 14px 14px 13px; border-bottom: 1px dashed #e3eaee; transition: background .15s, opacity .3s; }
.gb-entry:last-child { border-bottom: 0; }
.gb-entry:hover { background: #fcfefe; }
.gb-entry.is-new { background: #fffdf0; animation: gb-in .5s ease both; }
.gb-entry.is-gone { opacity: 0; }
@keyframes gb-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.gb-who { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; text-align: center; }
.gb-avatar { width: 58px; height: 58px; display: grid; place-items: center; overflow: hidden; border: 3px solid #fff; outline: 1px solid #d6e1e6; border-radius: 5px; box-shadow: 0 3px 6px #cdd9df; color: #fff; font: 900 25px 'Nunito', sans-serif; transform: rotate(-2deg); transition: transform .15s; }
.gb-entry:nth-child(even) .gb-avatar { transform: rotate(2deg); }
.gb-avatar:hover { transform: rotate(0) scale(1.07); color: #fff; }
.gb-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gb-name { max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #34607a; font: 800 12px/1.2 'Nunito', sans-serif; }
.gb-name:hover { color: var(--coral); }
.gb-status { color: #a1abb2; font-size: 9px; font-weight: 700; }
.gb-status.on { color: #3aa878; }
.gb-status.on:before { content: "● "; }

.gb-note { position: relative; min-width: 0; padding: 7px 13px 11px; border: 1px solid #e4e7da; border-radius: 3px 7px 7px 7px; background: #fffef9; box-shadow: 0 1px 0 rgba(35,64,82,.04); }
.gb-note:before, .gb-note:after { content: ""; position: absolute; top: 15px; border: 6px solid transparent; border-left: 0; }
.gb-note:before { left: -7px; border-right-color: #e4e7da; }
.gb-note:after { left: -6px; border-right-color: #fffef9; }
.gb-entry.mine .gb-note { border-color: #c3e1de; background: #f3fbfa; }
.gb-entry.mine .gb-note:before { border-right-color: #c3e1de; }
.gb-entry.mine .gb-note:after { border-right-color: #f3fbfa; }
.gb-note-head { display: flex; align-items: center; gap: 8px; min-height: 22px; margin-bottom: 5px; padding-bottom: 4px; border-bottom: 1px dotted #e0e4d5; color: #93a0aa; font-size: 10px; }
.gb-date b { color: #5d7788; font-weight: 800; }
.gb-time { margin-left: 5px; }
.gb-nr { margin-left: auto; color: #c0cad0; font: 900 10px 'Nunito', sans-serif; }
.gb-del { padding: 0 2px; border: 0; background: transparent; color: #b3bec5; font-size: 10px; font-weight: 700; opacity: 0; transition: opacity .15s, color .15s; }
.gb-entry:hover .gb-del, .gb-del:focus-visible { opacity: 1; }
.gb-del:hover { color: #d4604f; }
.gb-del:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; border-radius: 3px; }
.gb-confirm { display: flex; align-items: center; gap: 5px; color: #d4604f; font-size: 10px; font-weight: 800; }
.gb-confirm[hidden] { display: none; }
.gb-confirm button { padding: 1px 8px; border: 1px solid #e8a79c; border-radius: 10px; background: #fff; color: #d4604f; font-size: 9px; font-weight: 800; }
.gb-confirm button:hover { background: #fde7e1; }
.gb-confirm button.keep { border-color: #cddfe5; color: #47788f; }
.gb-confirm button.keep:hover { background: #e3f5f3; }
.gb-note p { margin: 0; color: #4e6677; font: 700 12.5px/1.6 'Nunito', sans-serif; white-space: pre-line; overflow-wrap: anywhere; }
.gb-note .mem-flag { margin-left: 0; }

.gb-pager { border-top: 1px solid #edf0f2; }
.gb-pager nav span { min-width: 24px; padding: 3px 7px; border: 1px solid #e9eff1; border-radius: 4px; color: #c0cad0; text-align: center; font-weight: 800; }
.gb-pager nav span.gap { border-color: transparent; padding: 3px 3px; }

/* ---------- Tomt läge ---------- */
.gb-empty {
  position: relative; overflow: hidden; padding: 30px 24px 26px; text-align: center;
  background:
    radial-gradient(circle at 50% 28%, rgba(255,247,222,.95), transparent 16rem),
    radial-gradient(circle, #e3ecef 1px, transparent 1.5px) 0 0 / 14px 14px,
    #fffdf7;
}
.gb-ghost { position: relative; width: 84px; height: 102px; margin: 0 auto 10px; filter: drop-shadow(0 4px 0 #d3e2e8); animation: gb-float 3.4s ease-in-out infinite; }
.gb-ghost-body { position: absolute; inset: 0 0 12px; border-radius: 42px 42px 0 0; background: #fff; }
.gb-ghost-body:after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 14px; background: radial-gradient(circle at 50% 0, #fff 0 9.5px, transparent 10px) 0 0 / 28px 14px repeat-x; }
.gb-ghost .eye { position: absolute; top: 36px; width: 9px; height: 13px; border-radius: 50%; background: #34495e; }
.gb-ghost .eye.l { left: 25px; }
.gb-ghost .eye.r { right: 25px; }
.gb-ghost .mouth { position: absolute; top: 57px; left: 50%; width: 11px; height: 13px; margin-left: -5.5px; border-radius: 50%; background: #34495e; }
.gb-ghost .cheek { position: absolute; top: 52px; width: 12px; height: 7px; border-radius: 50%; background: rgba(237,121,105,.4); }
.gb-ghost .cheek.l { left: 13px; }
.gb-ghost .cheek.r { right: 13px; }
.gb-ghost .arm { position: absolute; top: 58px; width: 14px; height: 9px; border-radius: 50%; background: #fff; }
.gb-ghost .arm.l { left: -8px; transform: rotate(25deg); }
.gb-ghost .arm.r { right: -8px; transform: rotate(-25deg); }
.gb-spark { position: absolute; color: #e3ae3d; animation: gb-twinkle 2.6s ease-in-out infinite; }
.gb-spark.a { top: 34px; left: 26%; font-size: 17px; }
.gb-spark.b { top: 70px; left: 17%; font-size: 11px; color: #c9a4d6; animation-delay: .7s; }
.gb-spark.c { top: 40px; right: 25%; font-size: 12px; color: #8bc7ca; animation-delay: 1.3s; }
.gb-spark.d { top: 82px; right: 18%; font-size: 16px; animation-delay: 1.9s; }
@keyframes gb-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-9px) rotate(2deg); } }
@keyframes gb-twinkle { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
.gb-empty h2 { margin: 0 0 6px; color: #2e4f65; font: 900 24px/1.2 'Nunito', sans-serif; letter-spacing: -.4px; }
.gb-empty h2 span { color: #e0705f; }
.gb-empty > p { max-width: 400px; margin: 0 auto; color: #687887; font-size: 12px; line-height: 1.65; }
.gb-empty-actions { display: flex; justify-content: center; gap: 8px; margin-top: 15px; }
.gb-starters { max-width: 480px; margin: 18px auto 0; padding-top: 13px; border-top: 1px dashed #d8e3e7; }
.gb-starters > small { display: block; margin-bottom: 7px; color: #93a0aa; font-size: 9px; font-weight: 900; letter-spacing: .09em; }
.gb-starters div { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.gb-starters button { padding: 4px 11px; border: 1px solid #d6e5e6; border-radius: 12px; background: #fff; color: #4b8796; font: 700 11px 'Nunito', sans-serif; transition: background .15s, color .15s, border-color .15s; }
.gb-starters button:hover { border-color: var(--coral); background: var(--coral); color: #fff; }

/* ---------- Sidokolumn ---------- */
.gb-links { list-style: none; margin: 0; padding: 0; }
.gb-links a { display: flex; align-items: center; gap: 9px; padding: 8px 12px; border-bottom: 1px solid #f0f3f5; font-size: 11px; font-weight: 700; }
.gb-links li:last-child a { border-bottom: 0; }
.gb-links a:hover { background: #f2f9fa; }
.gb-links i { flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; background: #e1eef6; color: #2c7299; font-style: normal; font-size: 12px; }
.gb-links li:nth-child(2) i { background: #fde7e1; color: #e0705f; }
.gb-links li:nth-child(3) i { background: #fff1cc; color: #c9961f; }
.gb-links li:nth-child(4) i { background: #e4f4ea; color: #3e9966; }
.gb-links em { margin-left: auto; color: #9ab2bd; font-size: 15px; font-style: normal; }
.gb-tips .rules-list { padding-top: 9px; font-size: 10.5px; }
.gb-side-note { padding: 9px 12px; border-top: 1px solid #edf0f2; background: #fbfcfd; color: #93a0aa; font-size: 10px; line-height: 1.5; }

/* ---------- Brödsmulor ---------- */
.gb-crumbs { margin: -6px 2px -12px; }

/* =========================================================
   Playarea – Gemensam gästbok på profil och helsida
   ========================================================= */

/* Åtgärdsmeny – Radera / Rapportera */

.gb-actions-menu {
    position: relative;
    display: flex;
    align-items: center;
    flex: none;
    margin-left: 0;
}

.gb-note-head .gb-actions-menu {
    align-self: center;
}

.gb-actions-menu > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    padding: 0;
    list-style: none;
    border: 1px solid #dbe5e9;
    border-radius: 4px;
    background: #fff;
    color: #5d7788;
    cursor: pointer;
    font-size: 0;
    line-height: 1;
}

.gb-actions-menu > summary::-webkit-details-marker {
    display: none;
}

/* Liten centrerad chevron */

.gb-actions-menu > summary::after {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.gb-actions-menu[open] > summary::after {
    transform: translateY(1px) rotate(225deg);
}

.gb-actions-menu > summary:hover {
    background: #e9f3f8;
    border-color: #b8d0da;
}

.gb-actions-menu > summary:focus-visible {
    outline: 2px solid #2e9e99;
    outline-offset: 2px;
}

/* Dropdown-panel */

.gb-actions-panel {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    z-index: 20;
    min-width: 148px;
    padding: 4px;
    background: #fff;
    border: 1px solid #dce4e9;
    border-radius: 5px;
    box-shadow: 0 6px 18px #29384b22;
}

.gb-actions-panel button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 34px;
    padding: 7px 10px;
    border: 0;
    background: none;
    color: #52687a;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.gb-actions-panel button:hover {
    background: #e9f3f8;
}

/* Svara på gästboksinlägg */

.gb-reply-actions {
    margin-top: 9px;
    text-align: right;
}

.gb-reply-trigger {
    border: 0;
    background: none;
    color: #2c7299;
    font-weight: 800;
    font-size: 11px;
}

.gb-reply-trigger:hover {
    color: #ed7969;
}

/* Formulär för svar och rapportering */

.gb-reply-form,
.gb-report-form {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid #d8e8e7;
    border-radius: 5px;
    background: #f6fbfa;
}

.gb-reply-form[hidden],
.gb-report-form[hidden] {
    display: none;
}

.gb-reply-form label,
.gb-report-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 800;
    font-size: 11px;
    color: #52687a;
}

.gb-reply-form textarea,
.gb-report-form textarea {
    display: block;
    width: 100%;
    padding: 9px;
    border: 1px solid #cbdde3;
    border-radius: 4px;
    resize: vertical;
    font: inherit;
}

.gb-reply-form > div,
.gb-report-form > div {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.gb-reply-form > div > button:first-child,
.gb-report-form > div > button:first-child {
    border: 0;
    background: transparent;
    color: #52687a;
}

/* Gästboksinlägg och placering */

.gb-note-head .gb-nr {
    margin-left: auto;
}

.gb-list .gb-entry:last-child {
    border-bottom: 0;
}

/* Gästbok på profilsidan */

body.page-profile .lajv-guestbook-preview {
    overflow: visible;
}

body.page-profile .lajv-guestbook-preview .gb-entry {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    border-bottom: 1px dashed #e3eaee;
}

body.page-profile .lajv-guestbook-preview .gb-entry:last-child {
    border-bottom: 0;
}

body.page-profile .lajv-guestbook-preview .gb-empty {
    padding: 30px 24px 26px;
}

/* =========================================================
   Playarea – Linjerat brevpapper i svarsrutan
   ========================================================= */

.gb-reply-form.gb-paper-reply {
    background: linear-gradient(180deg, #fffdf6, #fff 75%);
    border-color: #dfe7eb;
    padding: 12px;
}

.gb-friendly-tips { background:linear-gradient(145deg,#fffdf5,#fff 65%);border-color:#e8dfca; }
.gb-friendly-tips .gb-tips-intro { display:flex;gap:12px;align-items:center;padding:17px 14px;background:linear-gradient(115deg,#edf7f3,#fff2d4);border-bottom:1px dashed #e6dcc5; }
.gb-tips-intro>span { position:relative;display:grid;place-items:center;flex:0 0 39px;height:42px;background:#4a9e99;color:#fff;border:2px solid #fff;border-radius:10px 10px 10px 3px;box-shadow:0 3px 0 #d7e5d8;font-size:23px;transform:rotate(-6deg); }
.gb-tips-intro>span i { position:absolute;right:-8px;top:-10px;color:#dc8978;font-size:20px;font-style:normal; }
.gb-tips-intro small { font-size:8px;color:#79968a;letter-spacing:.1em;font-weight:800; }
.gb-tips-intro h2 { margin:4px 0;font:900 19px/1.15 Nunito,Arial,sans-serif;color:#42666a;letter-spacing:-.3px; }
.gb-tips-intro h2 span { color:#dc8978; }
.gb-tips-intro p { margin:5px 0 0;color:#92988b;font-size:10px; }
.gb-friendly-list { list-style:none;padding:4px 14px;margin:0; }
.gb-friendly-list li { display:flex;gap:10px;padding:12px 0; }
.gb-friendly-list li+li { border-top:1px solid #f0ece2; }
.gb-friendly-list li>span { display:grid;place-items:center;flex:0 0 26px;height:26px;border-radius:8px;background:#fbefd1;color:#b89a50;font-size:14px; }
.gb-friendly-list li:nth-child(2)>span { background:#fae9e5;color:#c67e70; }
.gb-friendly-list li:nth-child(3)>span { background:#eaf1f7;color:#7997ac; }
.gb-friendly-list li:nth-child(4)>span { background:#e6f2ec;color:#6d9c84; }
.gb-friendly-list b { color:#5d7477;font-size:11px; }
.gb-friendly-list p { margin:3px 0 0;color:#929b9e;font-size:11px;line-height:1.6; }
@media(prefers-reduced-motion:reduce){.gb-tips-intro>span{transform:none}}

.gb-paper-reply textarea.gb-text {
    width: 100%;
    min-height: 100px;
    padding: 5px 13px;
    border: 1px solid #dfe7eb;
    border-left: 3px solid #f0a99c;
    border-radius: 5px 5px 0 0;
    background: #fff;
    font: 700 13px/24px 'Nunito', Arial, sans-serif;
    color: var(--ink);
}

.gb-paper-reply textarea.gb-text:focus {
    border-color: #8bc7ca;
    border-left-color: #ed7969;
    box-shadow: 0 0 0 3px #e3f5f3;
    outline: 0;
}

.gb-paper-reply .gb-reply-meter {
    margin-top: 0;
}

.gb-paper-reply .gb-reply-tools {
    margin-top: 8px;
}

.gb-paper-reply .gb-reply-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #edf0f2;
}

.gb-paper-reply .gb-reply-footer > button:first-child {
    border: 0;
    background: transparent;
    color: #52687a;
}
.online-strip img.tiny-avatar {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
/* Slutjusteringar: hero-statistik, högerställd tillbakaknapp och synlig meny */
.gb-hero .band-stats > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.gb-hero .band-stats > div > b,
.gb-hero .band-stats > div > small {
    display: block;
    width: 100%;
    text-align: center;
}
.gb-hero .gb-hero-actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
/* Öppen dropdown ska ligga ovanför efterföljande gästboksinlägg. */
.gb-list, .gb-entry, .gb-note, .gb-note-head { overflow: visible; }
.gb-entry { position: relative; }
.gb-entry:has(.gb-actions-menu[open]) { z-index: 30; }
.gb-actions-menu[open] { z-index: 31; }

/* Dropdown: den gemensamma .panel har overflow:hidden.
   Tillat menyn att sticka utanfor just gastbokens inlaggspanel. */
body.page-guestbook .gb-entries-wrap > .panel { overflow: visible; }
body.page-profile .lajv-guestbook-preview,
body.page-profile .lajv-guestbook-preview .panel { overflow: visible; }

.gb-form-foot > .button { margin-left:auto; }
