/* H5 20261201: loaded after the shared and page rules. */
:root { --pg26-unit: clamp(1px, .266667vw, 2px); }
.pg26-drawer { width: min(86vw, calc(300 * var(--pg26-unit))); }
.pg26-drawer-head h2 { font-size: calc(18 * var(--pg26-unit)); font-weight: 500; }
.pg26-drawer-account strong, .pg26-drawer-links a { font-size: calc(16 * var(--pg26-unit)); }
.pg26-drawer-account small { font-size: calc(12 * var(--pg26-unit)); }
.pinggu-mobile-home .index-banner a { display: block; aspect-ratio: 20 / 9; overflow: hidden; }
.pinggu-mobile-home .index-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pg26-search-modes { display: flex; align-items: center; gap: 22px; padding: 6px 16px 0; background: #fbf7f3; }
.pg26-search-modes button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 1px; color: #606874; font-size: 16px; font-weight: 500; }
.pg26-search-modes button[aria-pressed="true"] { border-color: #f36b21; color: #c94a09; }
.pg26-search-example { margin: 0; padding: 10px 16px; color: #6c737c; font-size: 13px; }
.pg26-search-example[hidden], #pm-more[hidden], #pg26-share-excerpt[hidden] { display: none; }
.pg26-search-input-wrap { min-width: 0; }
#pg26-ai-search { display: none; }
.pg26-search-bar .pg26-search-cancel { white-space: nowrap; }

#favorite-forum[aria-pressed="true"], #favorite-toggle[aria-pressed="true"] { color: #e55d13; }
#favorite-forum[aria-pressed="true"] svg, #favorite-toggle[aria-pressed="true"] svg,
#favorite-forum[aria-pressed="true"] path, #favorite-toggle[aria-pressed="true"] path {
  color: #ed661b; fill: currentColor; stroke: currentColor;
}
.pg26-fav-feedback:not(:empty) {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 8500;
  bottom: calc(88px + env(safe-area-inset-bottom)); max-width: 85vw; width: max-content;
  background: rgba(26,30,36,.91); border-radius: 10px; padding: 11px 17px; color: #fff; font-size: 14px;
}
#share-dialog .share-action-icon.poster { color: #c65817; background: #fff2e7; }
#share-dialog .share-action-icon.poster svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
#share-dialog .share-excerpt { color: #555e69; font-size: 14px; line-height: 1.6; margin: 10px 0 0; overflow-wrap: anywhere; }
html.keyboard-navigation #share-dialog .close:focus { outline: 2px solid #f36b21; outline-offset: 2px; }
.thread-file .thread-file-name h2 { font-size: calc(16 * var(--pg26-unit)) !important; }
.thread-file { padding: calc(16 * var(--pg26-unit)); margin-bottom: calc(24 * var(--pg26-unit)); }
.thread-file .thread-file-icon { width: calc(36 * var(--pg26-unit)); height: calc(44 * var(--pg26-unit)); }

.my-member-copy strong { font-size: calc(19 * var(--pg26-unit)); }
.my-member-copy p { font-size: calc(12 * var(--pg26-unit)); overflow-wrap: anywhere; }
.my-post-title, .my-forum-name { font-size: calc(17 * var(--pg26-unit)); }
.my-jppx-page .my-post-title, .my-favorite-page .my-post-title { font-size: calc(16 * var(--pg26-unit)); }
.my-favorite-page .my-post-title { line-height: 1.6; font-weight: 400; }
.my-favorite-page .my-post-title a { color: #4e4c4c; }
.my-forum-last { display: inline; font-size: calc(15 * var(--pg26-unit)); line-height: 1.65; }
.my-forum-name:has(+ .my-forum-last) { margin-bottom: 6px; }
.pg26-thread-icons:empty { display: none; }
.pg26-thread-icons .post-icons { display: inline-flex; vertical-align: middle; gap: 3px; margin-left: 5px; }
.pg26-thread-icons img { width: 1em; height: 1em; object-fit: contain; }
.my-msg-avatar { width: calc(44 * var(--pg26-unit)); height: calc(44 * var(--pg26-unit)); border-radius: calc(9 * var(--pg26-unit)); }
.my-notice-heading, .my-msg-name { font-size: calc(16 * var(--pg26-unit)); line-height: 1.5; font-weight: 500; margin: 0 0 8px; overflow-wrap: anywhere; color: #292c32; }
.my-msg-sub { font-size: calc(15 * var(--pg26-unit)); line-height: 1.6; }
.my-msg-time { font-size: calc(12 * var(--pg26-unit)); }
.my-conversation { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
.my-conversation .chat-l, .my-conversation .chat-r { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; }
.my-conversation .chat-r { flex-direction: row-reverse; }
.my-conversation .tx-immg, .my-conversation .tx-immg img, .my-conversation .chat-r > img,
.my-conversation .chat-r > a img { width: 40px; height: 40px; flex: none; border-radius: 9px; object-fit: cover; }
.my-conversation .chat-nr { min-width: 0; max-width: 74%; padding: 10px 14px; color: #292c32; background: #f4f6f8; border-radius: 2px 14px 14px; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.my-conversation .chat-r .chat-nr { border-radius: 14px 2px 14px 14px; background: #fff1e6; }
.my-conversation .chat-nr img { max-width: 100%; }
.my-conversation .lt-time { font-size: 12px; color: #737b86; text-align: center; }
.pm-reply { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; box-sizing: border-box; position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 750px); background: white; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid #edf0f3; z-index: 30; }
.pm-reply input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; font-size: 16px; border-radius: 10px; border: 1px solid #e8e9ec; }
.pm-reply button { border-radius: 10px; min-height: 44px; padding: 0 18px; background: #ef681e; color: white; border: 0; font-size: 15px; }
.pm-reply button:disabled { opacity: .55; }
#pm-status { width: 100%; font-size: 13px; margin: 0; text-align: center; color: #606874; }
#pm-status:empty { display: none; }
@media (max-width: 350px) {
  .my-membership { padding: 12px 10px; gap: 6px; }
  .my-member-actions { gap: 6px; }
  #share-dialog.share-sheet { padding-inline: 12px; }
}

@supports not (aspect-ratio: 20 / 9) {
  .pinggu-mobile-home .index-banner a { position: relative; padding-top: 45%; }
  .pinggu-mobile-home .index-banner img { position: absolute; inset: 0; }
}
.thread-file .thread-file-icon b { font-size: calc(10 * var(--pg26-unit)); }
.pinggu-mobile-home .Posts-box .bot-name:visited,
.pg26-forum-page h3 a[href*="thread-"]:visited { color:#8c949f; }
#pg26-poster.sheet { position:fixed; inset:auto 0 0; margin:0 auto; padding:0 20px calc(29px + env(safe-area-inset-bottom)); border:0; box-sizing:border-box; width:100%; max-width:480px; max-height:95vh; max-height:95dvh; overflow:auto; overscroll-behavior:contain; border-radius:18px 18px 0 0; background:#fff; }
#pg26-poster .sheet-head { height:74px; padding:0; display:flex; align-items:center; justify-content:space-between; }
#pg26-poster .close { padding:0; border:none; background:none; width:40px; height:40px; margin-right:-8px; font-size:24px; color:#727880; }
#pg26-poster img { display:block; width:100%; max-height:calc(95vh - 185px); max-height:calc(95dvh - 185px - env(safe-area-inset-bottom)); object-fit:contain; margin:auto; border-radius:12px; }
#pg26-poster p { margin:14px 0; font-size:12px; color:#737b86; text-align:center; }
#pg26-poster a { display:block; text-align:center; line-height:44px; background:var(--brand-primary,#f36b21); color:white; font-size:16px; border-radius:10px; text-decoration:none; }
#pg26-poster .sheet-head h2 { font-weight:700; font-size:18px; }
