/* Hortkuluk Avcısı — mobile layer. Original index.css remains unchanged. */
.ha-mobilebar, .ha-home-intro, .ha-topic-heading, .ha-mobile-footer, .ha-submenu-toggle { display: none; }
@media screen and (max-width: 800px) {
  :root { --ha-ink:#34291f; --ha-brown:#63432c; --ha-paper:#f7f1e5; --ha-panel:#eee1c9; --ha-line:#c9b18e; --ha-gold:#edd4a4; }
  html { -webkit-text-size-adjust:100%; text-size-adjust:100%; scroll-padding-top:16px; }
  body { margin:0; padding:0 0 calc(62px + env(safe-area-inset-bottom,0px)); background:#e7dcc5; color:var(--ha-ink); font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; }
  body, #wrapper, #header, #content_section, #footer_section { min-width:0 !important; max-width:100%; }
  #wrapper { width:100% !important; margin:0; }
  #wrapper *, .ha-mobilebar *, .ha-mobile-footer * { box-sizing:border-box; }
  #header, #header div.frame, #content_section, #content_section > div.frame, #main_content_section, #footer_section, #footer_section > div.frame { width:100%; padding:0; margin:0; background:var(--ha-paper); border-radius:0; min-width:0; }
  #main_content_section { padding:10px; }
  .ha-mobilebar { display:flex; align-items:center; gap:10px; min-height:64px; padding:9px 12px; color:var(--ha-gold); background:linear-gradient(115deg,#49301f,#725039); border-bottom:1px solid #a58050; }
  .ha-mobilebar a { color:var(--ha-gold); text-decoration:none; }
  .ha-wordmark { flex:1; min-width:0; text-align:center; font:bold clamp(18px,5.3vw,26px)/1.15 Georgia,serif; }
  .ha-wordmark span { display:block; margin-top:2px; font-size:11px; color:#d4ac6b; }
  .ha-menu-toggle, .ha-account { display:flex; justify-content:center; align-items:center; flex:0 0 40px; width:40px; height:42px; padding:6px; background:transparent; color:inherit; border:0; border-radius:5px; cursor:pointer; }
  .ha-menu-toggle:hover, .ha-menu-toggle:focus-visible, .ha-account:focus-visible { background:#ffffff12; outline:2px solid #d4ac6b; }
  #top_section { min-height:0; overflow:visible; }
  #top_section h1.forumtitle { height:auto; padding:0; margin:0; background:#74513c; font-size:20px; line-height:1.4; }
  #top_section h1.forumtitle a { display:block; color:var(--ha-gold); }
  #top_section h1.forumtitle img { display:block; width:100%; max-width:100%; height:auto; padding:0; margin:0; }
  #top_section .user, #siteslogan, #header > .frame > br.clear { display:none; }
  #main_menu { float:none; clear:both; height:auto; width:100%; border:0; background:#5c3e29; margin:0; padding:0; }
  .ha-js #main_menu:not(.ha-menu-open) { display:none; }
  #main_menu .dropmenu { float:none; display:block; margin:0; padding:6px 10px; list-style:none; }
  #main_menu .dropmenu li { float:none; height:auto; width:100%; margin:0; padding:0; position:relative; }
  #main_menu .dropmenu a { display:block; min-height:44px; padding:11px 44px 11px 12px; margin:0; background:transparent; color:#fff0d3; border-radius:4px; font-size:14px; }
  #main_menu .dropmenu a span, #main_menu .dropmenu a span.firstlevel { position:static; display:inline; width:auto; height:auto; padding:0; font-size:inherit; line-height:1.5; white-space:normal; background:none; }
  #main_menu .dropmenu a.active, #main_menu .dropmenu a:hover { background:#ffffff16; box-shadow:none; }
  #main_menu .dropmenu li ul, #main_menu .dropmenu li:hover ul, #main_menu .dropmenu li:hover ul ul { display:block; position:static; top:auto; left:auto; width:auto; margin:0 0 4px 12px; padding:0; background:transparent; border:0; }
  .ha-js #main_menu .dropmenu li:not(.ha-submenu-open) > ul { display:none; }
  #main_menu .dropmenu li li a span { color:inherit; }
  #main_menu .ha-submenu-toggle { display:block; position:absolute; right:0; top:2px; width:42px; height:40px; padding:0; border:0; background:transparent; color:#fff0d3; font-size:22px; line-height:1; cursor:pointer; }
  #main_menu .ha-submenu-toggle[aria-expanded="true"] { transform:rotate(180deg); }
  .ha-home-intro { display:block; margin:-10px -10px 12px; }
  .ha-welcome { display:flex; gap:8px; justify-content:space-between; align-items:center; flex-wrap:wrap; padding:10px 12px; background:#ebdcc2; border-bottom:1px solid var(--ha-line); }
  .ha-welcome > span { font:italic 15px/1.4 Georgia,serif; }
  .ha-welcome > div { display:flex; gap:6px; }
  .ha-welcome a { display:inline-block; padding:7px 11px; background:var(--ha-brown); color:#fff3db; border:1px solid var(--ha-brown); border-radius:5px; font-size:12px; text-decoration:none; }
  .ha-welcome a.ha-outline { background:transparent; color:var(--ha-brown); }
  .ha-search { display:flex; align-items:center; margin:10px 12px 0; padding:0 4px 0 12px; border:1px solid #b9a07b; background:#fffaf1; border-radius:6px; }
  .ha-search label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .ha-search input { flex:1; min-width:0; width:100%; padding:10px 0; background:transparent; border:0; color:var(--ha-ink); font-size:16px; }
  .ha-search button { display:flex; justify-content:center; align-items:center; width:42px; height:42px; border:0; background:transparent; color:var(--ha-brown); }
  a:link, a:visited { color:#61432d; }
  a:hover { color:#8a582f; }
  .navigate_section { padding:0 0 8px; }
  .navigate_section ul { display:flex; flex-wrap:wrap; gap:3px; padding:3px 0; font-size:11px; line-height:1.5; }
  .navigate_section ul li { float:none; padding:0 3px 0 0; overflow-wrap:anywhere; }
  #index_common_stats { font-size:11px; padding:7px 2px; }
  div.cat_bar, div.title_bar, div.title_barIC { height:auto; min-height:36px; padding:0 10px; margin:12px 0 0; background:linear-gradient(100deg,#513622,#745037); border:1px solid #725035; border-radius:7px 7px 0 0; overflow:visible; }
  h3.catbg, h3.catbg2, h4.catbg, h4.catbg2, h3.titlebg, h4.titlebg, div.title_barIC h4.titlebg { background:none; border:0; height:auto; min-height:35px; padding:7px 0; line-height:1.3; font:bold 17px/1.3 Georgia,serif; color:#fff1d7; overflow-wrap:anywhere; }
  .catbg a:link, .catbg a:visited, .titlebg a:link, .titlebg a:visited { color:#fff1d7; }
  table.table_list a.collapse { height:auto; line-height:1; margin:4px 0 0 6px; }
  .table_list .unreadlink { font:10px/1.4 Arial,sans-serif; margin:3px 0 0 6px; }
  #newsfader { margin:0 0 12px; border:1px solid var(--ha-line); border-radius:7px; background:linear-gradient(125deg,#f4e5ca,#faf5e9); overflow:hidden; }
  #newsfader .cat_bar { margin:0; border:0; border-radius:0; padding:0 12px; background:transparent; }
  #newsfader h3.catbg { color:var(--ha-brown); font-size:21px; padding-top:11px; }
  #newsfader ul.reset { margin:0; padding:4px 14px 12px; height:auto !important; min-height:0 !important; }
  #newsfader li { font-size:13px; line-height:1.6; }
  #newsfader li a { color:#704829; }
  /* Existing board tables become stacked, real-data cards. */
  #boardindex_table, .childboards, .table_frame { width:100%; min-width:0; margin:0; }
  table.table_list, table.table_list > tbody, table.table_list > tbody > tr, table.table_list > tbody > tr > td { display:block; width:auto; min-width:0; }
  table.table_list { width:100%; border:0; border-spacing:0; }
  table.table_list > tbody.header > tr > td { padding:0; border:0; background:transparent; }
  table.table_list > tbody.content { border:1px solid var(--ha-line); border-top:0; border-radius:0 0 7px 7px; background:var(--ha-paper); overflow:hidden; }
  table.table_list > tbody.content > tr[id^="board_"]:not([id$="_children"]) { display:grid; grid-template-columns:48px minmax(0,1fr); column-gap:9px; padding:11px 10px; margin:0; border-bottom:1px solid #d9c7aa; background:linear-gradient(110deg,#f5ead7,#fbf7ee); }
  table.table_list > tbody.content > tr:last-child { border-bottom:0; }
  table.table_list td.icon { grid-column:1; grid-row:1 / 3; display:flex; align-items:flex-start; justify-content:center; padding:6px 0 0 !important; width:auto !important; background:none; border:0; }
  table.table_list td.icon img { display:block; max-width:42px; height:auto; max-height:48px; }
  table.table_list td.info { grid-column:2; grid-row:1; padding:0 !important; border:0; background:none; width:auto !important; }
  table.table_list td.info a.subject { display:inline; color:#38291e; font:bold 18px/1.2 Georgia,serif; }
  table.table_list td.info p { margin:4px 0 0; padding:0; color:#4f4539; font-size:12px; line-height:1.4; }
  table.table_list td.info p img { max-width:40px !important; max-height:40px !important; height:auto; margin-right:5px; vertical-align:middle; }
  table.table_list td.info p.moderators { font-size:10px; }
  table.table_list td.lastpost { grid-column:2; grid-row:2; padding:4px 0 0 !important; border:0; width:auto !important; font-size:10px; line-height:1.5; color:#75634d; background:none; overflow-wrap:anywhere; }
  table.table_list td.lastpost p { margin:0; padding:0; }
  table.table_list td.lastpost br { display:none; }
  table.table_list td.lastpost br::after { content:" · "; }
  table.table_list td.lastpost a { color:#735134; }
  table.table_list td.stats { grid-column:2; font-size:11px; padding:2px 0 !important; background:none; border:0; }
  table.table_list td.stats p { margin:0; }
  table.table_list td.children { padding:8px 12px 9px 67px !important; background:#eee1c9; border:0; font-size:11px; overflow-wrap:anywhere; }
  table.table_list > tbody.divider td { height:2px; padding:0; border:0; }
  #posting_icons { display:flex; flex-wrap:wrap; gap:5px; padding:10px 0; font-size:10px; }
  #posting_icons ul.reset { display:flex; flex-wrap:wrap; gap:7px; margin:0; padding:0; }
  #posting_icons li { float:none; padding:0; margin:0; }
  .statsframe, .innerframe, #upshrinkHeaderIC { min-width:0; width:100%; max-width:100%; padding:10px; margin:0; background:#efe3cd; border:1px solid var(--ha-line); border-radius:7px; }
  .innerframe, #upshrinkHeaderIC { padding:0; border:0; }
  .statsframe img { max-width:100%; height:auto; }
  #upshrinkHeaderIC .infocenter_section { padding:6px 0; }
  #upshrinkHeaderIC p { font-size:12px; overflow-wrap:anywhere; }
  .ha-topic-heading { display:block; padding:2px 1px 9px; }
  .ha-topic-heading h1 { margin:0 0 4px; color:#49301f; font:bold 26px/1.2 Georgia,serif; overflow-wrap:anywhere; }
  .ha-topic-heading p { margin:0; color:#76644e; font-size:12px; }
  #forumposts > .cat_bar { display:none; }
  .pagesection { display:flex; flex-wrap:wrap; gap:6px 9px; justify-content:space-between; align-items:center; padding:6px 0 10px; margin:0; overflow:visible; }
  .pagesection .buttonlist { float:none; max-width:100%; }
  .buttonlist ul { display:flex; flex-wrap:wrap; gap:5px; margin:0; padding:0; }
  .buttonlist ul li { float:none; margin:0; padding:0; }
  .buttonlist ul li a { display:block; float:none; height:auto; padding:0; background:#efe3d0; color:#61432c; border:1px solid #baa07d; border-radius:5px; }
  .buttonlist ul li a span { display:block; height:auto; line-height:1.35; padding:9px 10px; background:none; color:inherit; font-size:11px; text-transform:none; }
  .buttonlist ul li a.active { color:#fff3da; background:var(--ha-brown); }
  .pagelinks { float:none; padding:5px 0; font-size:12px; }
  .pagelinks a, .pagelinks > strong { display:inline-block; min-width:27px; padding:4px 5px; text-align:center; }
  .nextlinks, .nextlinks_bottom { float:none; font-size:11px; }
  #whoisviewing { padding:8px 9px; margin:0 0 9px; background:#eee1c9; font-size:11px; line-height:1.5; overflow-wrap:anywhere; border-radius:5px; }
  /* Preserve every original postbit field, in its original order. */
  #forumposts #quickModForm > div.windowbg, #forumposts #quickModForm > div.windowbg2, #forumposts #quickModForm > div.approvebg { margin:0 0 12px; padding:0; background:var(--ha-paper); border:1px solid #bfa782; border-radius:7px; }
  #forumposts .topslice, #forumposts .botslice, #forumposts .post_separator { display:none; }
  #forumposts .post_wrapper { display:grid; grid-template-columns:clamp(94px,29vw,132px) minmax(0,1fr); float:none; width:100%; min-width:0; }
  #forumposts .poster { grid-column:1; grid-row:1 / 3; float:none; min-width:0; width:auto; padding:7px 5px; background:linear-gradient(90deg,#edddbf,#f3e6d0); border-right:1px solid var(--ha-line); border-radius:7px 0 0 7px; text-align:center; }
  #forumposts .poster h4 { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:4px; width:auto; min-width:0; margin:0 0 5px; padding:4px 2px; border:1px solid #bba17c; border-radius:3px; background:#f0e1c4; font:bold 16px/1.2 Georgia,serif; }
  #forumposts .poster h4 a { margin:0; max-width:100%; overflow-wrap:anywhere; }
  #forumposts .poster h4 img { display:inline-block; max-width:13px; max-height:13px; width:auto; height:auto; vertical-align:middle; position:static; }
  #forumposts .poster > ul.reset { width:100%; padding:0; margin:0; list-style:none; font-size:10px; line-height:1.35; }
  #forumposts .poster > ul.reset > li { display:block; width:100%; padding:3px 2px; margin:0 0 5px; min-width:0; border:1px solid #bea781; border-radius:3px; background:#f1e3c8; overflow-wrap:anywhere; }
  #forumposts .poster > ul.reset > li.stars { padding:4px 1px; }
  #forumposts .poster li img { max-width:100% !important; width:auto; height:auto; vertical-align:middle; }
  #forumposts .poster li.avatar { display:block; width:100%; margin:0 0 5px; padding:0 !important; border:1px solid #bea781 !important; border-radius:3px; background:#f1e3c8 !important; }
  #forumposts .poster li.avatar img { display:block !important; max-width:100% !important; width:auto !important; height:auto !important; max-height:140px !important; margin:0 auto !important; }
  #forumposts .poster li.im_icons ul, #forumposts .poster ul ul { display:flex; flex-wrap:wrap; justify-content:center; width:100%; padding:0; margin:0; gap:3px; list-style:none; }
  #forumposts .poster ul ul li { padding:0; margin:0; border:0; }
  #forumposts .postarea { grid-column:2; grid-row:1; float:none; min-width:0; width:auto; margin:0; padding:9px 10px; }
  #forumposts .moderatorbar { grid-column:2; grid-row:2; min-width:0; width:auto; margin:0; padding:5px 10px; }
  #forumposts .postarea > .flow_hidden { overflow:visible; width:100%; }
  #forumposts .keyinfo { float:none; width:auto; min-width:0; padding:0 0 8px; border-bottom:1px solid #d5c2a3; }
  #forumposts .keyinfo h5 { font-size:13px; line-height:1.35; margin:0; overflow-wrap:anywhere; }
  #forumposts .keyinfo .smalltext { font-size:10px; line-height:1.45; color:#77634a; }
  #forumposts .messageicon { display:none; }
  #forumposts .post { min-width:0; width:100%; overflow:visible; padding:10px 0 5px; margin:0; font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; overflow-wrap:anywhere; word-break:normal; }
  #forumposts .post .inner { width:100%; min-width:0; max-width:100%; overflow-wrap:anywhere; }
  #forumposts .post img, #forumposts .signature img, #forumposts .attachments img { max-width:100% !important; height:auto !important; }
  #forumposts .post iframe, #forumposts .post video { max-width:100%; }
  #forumposts .post table { display:block; width:100%; max-width:100%; overflow-x:auto; }
  #forumposts .post pre, #forumposts .post code, #forumposts .post blockquote { max-width:100%; overflow:auto; font-size:12px; }
  #forumposts ul.quickbuttons { display:flex; flex-wrap:wrap; gap:4px; float:none; clear:both; width:100%; margin:8px 0 0; padding:0; font-size:10px; text-align:left; }
  #forumposts ul.quickbuttons li { float:none; margin:0; padding:0; }
  #forumposts ul.quickbuttons li a { display:block; min-height:30px; padding:7px 6px; background:#eee2cc; border-radius:4px; }
  #forumposts .signature, #forumposts .attachments, #forumposts .custom_fields_above_signature, #forumposts .reportlinks { max-width:100%; width:100%; font-size:10px; line-height:1.5; overflow-wrap:anywhere; }
  #forumposts .reportlinks { padding:6px 0; }
  #forumposts .signature { max-height:150px; overflow:auto; padding-top:8px; }
  #forumposts .postarea .modified { font-size:10px; }
  #quickreplybox, #quickReplyOptions, .quickReplyContent, #postmodify, #post_header, #post_area, .editor { min-width:0; max-width:100%; }
  #quickreplybox { margin-top:12px; }
  #quickreplybox .windowbg { padding:10px; background:#f0e3cc; border:1px solid var(--ha-line); border-top:0; border-radius:0 0 7px 7px; }
  #quickreplybox textarea, textarea.editor, #post_area textarea { box-sizing:border-box; width:100% !important; min-width:0 !important; max-width:100% !important; font-size:16px; background:#fffbf3; border:1px solid #bda581; border-radius:5px; padding:10px; }
  #quickreplybox .quickReplyContent { padding:0; }
  #quickreplybox .righttext { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:5px; }
  input, select, textarea, button { max-width:100%; }
  input.input_text, input.input_password, input[type="password"], input[type="email"], input[type="search"], textarea { font-size:16px; }
  .button_submit, .button_reset { padding:9px 12px; color:#fff1d7; border:1px solid #533922; border-radius:5px; background:var(--ha-brown); }
  /* Topic listings retain titles, counters, latest posts and moderation inputs. */
  #messageindex, #messageindex .table_frame { min-width:0; width:100%; }
  #messageindex table, #messageindex tbody { display:block; width:100%; }
  #messageindex thead { display:block; font-size:11px; }
  #messageindex thead tr { display:flex; flex-wrap:wrap; background:var(--ha-brown); border-radius:6px 6px 0 0; }
  #messageindex thead th { display:block; width:auto !important; padding:7px; height:auto; background:none; }
  #messageindex tbody tr { display:grid; grid-template-columns:24px minmax(0,1fr) auto; gap:2px 8px; padding:10px; border:1px solid var(--ha-line); border-top:0; background:#fbf6ec; }
  #messageindex tbody td { display:block; min-width:0; width:auto; padding:0; border:0; background:none; }
  #messageindex td.icon1 { grid-column:1; grid-row:1 / 3; }
  #messageindex td.icon2 { display:none; }
  #messageindex td.subject { grid-column:2; grid-row:1; font-size:15px; line-height:1.4; overflow-wrap:anywhere; }
  #messageindex td.stats { grid-column:2; grid-row:2; font-size:10px; color:#79634c; }
  #messageindex td.stats br, #messageindex td.lastpost br { display:none; }
  #messageindex td.lastpost { grid-column:2; grid-row:3; font-size:10px; line-height:1.5; overflow-wrap:anywhere; }
  #messageindex td:last-child:not(.lastpost):not(.stats):not(.subject):not(.icon1):not(.icon2) { grid-column:3; grid-row:1 / 4; }
  #messageindex img { max-width:24px; height:auto; }
  #messageindex .smalltext { font-size:10px; }
  /* Remaining forms, profiles, personal messages and shop use the same palette. */
  #admin_menu { height:auto; padding:0; background:var(--ha-brown); }
  #admin_menu .dropmenu { display:flex; flex-wrap:wrap; padding:4px; margin:0; }
  #admin_menu .dropmenu li { height:auto; }
  #admin_menu .dropmenu a.firstlevel { display:block; margin:0; padding:5px; }
  #admin_menu .dropmenu a.firstlevel span { left:0; height:auto; padding:4px; line-height:1.4; }
  #admin_menu .dropmenu li ul { max-width:calc(100vw - 40px); }
  #basicinfo, #detailedinfo, #personal_picture, #profileview, #profileview .cat_bar { float:none; width:auto; min-width:0; margin:0 0 10px; }
  #basicinfo { padding:12px; }
  #basicinfo img.avatar { max-width:140px; height:auto; }
  #detailedinfo { padding:12px; }
  dl.settings { overflow:visible; }
  dl.settings dt, dl.settings dd { float:none; width:100%; max-width:100%; margin:0 0 8px; }
  #profileview dl { overflow-wrap:anywhere; }
  #main_content_section > form > .tborder, #main_content_section > .tborder { max-width:100%; }
  #main_content_section > form > table, #personal_messages table { max-width:100%; width:100%; table-layout:fixed; overflow-wrap:anywhere; }
  #main_content_section .table_grid { max-width:100%; width:100%; table-layout:fixed; overflow-wrap:anywhere; }
  #main_content_section .table_grid td, #main_content_section .table_grid th { font-size:11px; padding:6px 4px; }
  #main_content_section .windowbg, #main_content_section .windowbg2 { color:var(--ha-ink); }
  .description, .description_board, .plainbox, .information { background:#efe3ce; border:1px solid var(--ha-line); border-radius:5px; font-size:12px; padding:9px; }
  .diagon-store-heading { padding:12px; background:var(--ha-brown); }
  .diagon-store > table > tbody { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .diagon-store .diagon-product { padding:9px; }
  .diagon-store .diagon-product > td:nth-child(2) { font-size:17px; }
  .diagon-store .diagon-buy { background:var(--ha-brown); padding:8px 10px; }
  #footer_section div.frame { padding:22px 12px 18px; font-size:10px; color:#796951; }
  #footer_section ul.reset { margin:0; padding:0; list-style:none; }
  .ha-mobile-footer { position:fixed; z-index:100; left:0; right:0; bottom:0; display:flex; justify-content:space-around; align-items:center; gap:4px; min-height:52px; padding:7px 5px calc(7px + env(safe-area-inset-bottom,0px)); background:#63432c; border-top:1px solid #b4905f; box-shadow:0 -2px 10px #3b27151a; }
  .ha-mobile-footer a { display:flex; align-items:center; justify-content:center; min-height:36px; padding:5px 7px; color:#fff0d2; font:13px/1.2 Georgia,serif; text-align:center; }
  a.ha-yukari { right:10px !important; bottom:calc(68px + env(safe-area-inset-bottom,0px)) !important; width:42px !important; max-width:42px !important; }
  a.ha-yukari img { width:42px !important; max-width:42px !important; height:auto !important; }
  .bbc_img { max-width:100%; height:auto; }
}
@media screen and (max-width:360px) {
  #main_content_section { padding:8px; }
  .ha-home-intro { margin:-8px -8px 10px; }
  #forumposts .post_wrapper { grid-template-columns:94px minmax(0,1fr); }
  #forumposts .poster { padding:6px 4px; }
  #forumposts .postarea { padding:8px; }
  #forumposts .post { font-size:14px; }
  #forumposts .poster > ul.reset { font-size:9px; }
  #forumposts .poster h4 { font-size:15px; }
  table.table_list > tbody.content > tr[id^="board_"]:not([id$="_children"]) { grid-template-columns:38px minmax(0,1fr); padding:10px 8px; gap:7px; }
  table.table_list td.icon img { max-width:34px; }
  table.table_list td.children { padding-left:53px !important; }
  .diagon-store > table > tbody { grid-template-columns:minmax(0,1fr); }
}
@media (prefers-reduced-motion:reduce) { .ha-mobilebar *, .ha-mobile-footer * { transition:none; } }
/* These artwork clones are mobile-only; original board descriptions stay intact. */
.ha-board-art { display:none; }
@media screen and (max-width:800px) {
  #header *, #main_content_section *, #footer_section * { box-sizing:border-box; }
  table.table_list td.icon.ha-has-art a > img:not(.ha-board-art) { display:none; }
  table.table_list td.icon img.ha-board-art { display:block; max-width:44px; max-height:48px; width:auto; height:auto; }
  table.table_list td.info img.ha-art-source { display:none; }
  #messageindex .whos_viewing > td { grid-column:1 / -1 !important; grid-row:auto !important; font-size:11px; }
}
@media screen and (max-width:800px) {
  /* Override the old device-width rule that forced every phone to 764px. */
  div#wrapper { width:100% !important; min-width:0 !important; max-width:100% !important; }
}
@media screen and (max-width:800px) {
  .ha-mobilebar a:link, .ha-mobilebar a:visited { color:#f5dfb5; }
  .ha-welcome a:link, .ha-welcome a:visited { color:#fff3db; }
  .ha-welcome a.ha-outline:link, .ha-welcome a.ha-outline:visited { color:#63432c; }
  table.table_list tbody.content td.icon { background:transparent; }
  #boardindex_table .table_list tbody.content td.info a.subject { color:#38291e; font:bold 18px/1.2 Georgia,serif; }
  #boardindex_table .table_list tbody.content td.lastpost { font-size:10px; line-height:1.5; }
  .buttonlist ul li a.active, .buttonlist ul li a.active span { background:#63432c; color:#fff3da; }
  .buttonlist ul li a { margin:0; }
  #quickReplyOptions .upperframe, #quickReplyOptions .lowerframe { display:none; }
  #quickReplyOptions .roundframe { margin:0; padding:12px; border:1px solid #c9b18e; border-top:0; border-radius:0 0 7px 7px; background:#eee1c9; }
  #quickReplyOptions .quickReplyContent { padding:0; }
  #quickReplyOptions .quickReplyContent textarea { width:100% !important; max-width:100% !important; min-width:0 !important; margin:8px 0; background:#fffbf3; border:1px solid #bda581; padding:10px; font-size:16px; }
  #personal_messages > form > .windowbg.clear, #personal_messages > form > .windowbg2.clear { display:grid; grid-template-columns:100px minmax(0,1fr); border:1px solid #c9b18e; border-radius:6px; background:#f7f1e5; }
  #personal_messages .poster { grid-column:1; grid-row:1 / 3; float:none; width:100px; min-width:0; padding:6px; background:#eee1c9; border-right:1px solid #c9b18e; }
  #personal_messages .poster h4, #personal_messages .poster ul { margin:0; padding:0; font-size:11px; }
  #personal_messages .poster ul li { padding:3px 1px; margin:4px 0; font-size:10px; }
  #personal_messages .poster img { max-width:100%; height:auto; }
  #personal_messages .postarea, #personal_messages .moderatorbar { grid-column:2; float:none; width:auto; min-width:0; margin:0; padding:9px; }
  #personal_messages .keyinfo { float:none; width:100%; }
  #personal_messages .post { font-size:15px; overflow-wrap:anywhere; }
  #personal_messages .post img { max-width:100%; height:auto; }
  #personal_messages .quickbuttons { float:none; display:flex; flex-wrap:wrap; gap:4px; margin:8px 0; }
  #personal_messages .quickbuttons li { float:none; }
  #personal_messages .topslice, #personal_messages .botslice { display:none; }
}
@media screen and (max-width:800px) {
  #main_content_section img { max-width:100%; height:auto; }
  #main_content_section .roundframe { min-width:0; max-width:100%; background:#eee1c9; border:1px solid #c9b18e; padding:12px; }
  #main_content_section .upperframe, #main_content_section .lowerframe { display:none; }
  #main_content_section .login, #main_content_section .register_form, #admin_login { min-width:0; max-width:100%; width:auto; margin:0; }
  .login dl { margin:0 0 12px; }
  .login dt, .login dd { float:none; width:100%; padding:0; margin:0 0 6px; text-align:left; }
  .login input[name="user"], .login input[name="passwrd"] { box-sizing:border-box; width:100%; padding:9px; background:#fffbf3; border:1px solid #bda581; border-radius:5px; }
  .login input[name="cookielength"] { padding:7px; border:1px solid #bda581; border-radius:4px; }
  .login .roundframe > br.clear { display:none; }
  .ha-topic-heading + .pagesection { align-items:flex-start; }
}

/* Revision 2 — compact parchment cards, matching the approved mobile concept. */
.ha-mobile-hero, .ha-announcement, .ha-board-photo, .ha-board-meta, .ha-row-chevron { display:none; }
@media screen and (max-width:800px) {
  .ha-mobilebar { box-sizing:border-box; min-height:52px; height:52px; padding:5px 10px; gap:4px; }
  .ha-wordmark { font-size:clamp(18px,5.6vw,24px); font-weight:normal; line-height:1.05; }
  .ha-wordmark span { font-size:9px; line-height:1; margin-top:2px; }
  .ha-menu-toggle, .ha-account, .ha-inbox { flex:0 0 32px; width:32px; height:40px; padding:5px; }
  .ha-inbox { display:flex; align-items:center; justify-content:center; border:0; color:#f5dfb5; }
  .ha-mobilebar .ha-inbox:link, .ha-mobilebar .ha-inbox:visited { color:#f5dfb5; }
  #header #top_section { display:none; }
  .ha-page-home .ha-mobile-hero { display:block; width:100%; height:96px; overflow:hidden; background:#74513c; }
  .ha-mobile-hero img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
  .ha-page-home #main_content_section > .navigate_section { display:none; }
  .ha-page-topic #header, .ha-page-board #header, .ha-page-other #header { background:#f7f1e5; }
  #main_content_section { padding:9px; background-color:#f8f0e1; background-image:radial-gradient(ellipse at 0 0,#e8d3b333,transparent 60%),radial-gradient(ellipse at 100% 80%,#d9bd8e19,transparent 60%); }
  .ha-page-home .ha-home-intro { margin:-9px -9px 9px; }
  .ha-welcome { box-sizing:border-box; min-height:37px; padding:5px 10px; gap:4px; flex-wrap:nowrap; background:#eee0c6; }
  .ha-welcome > span { min-width:0; font:italic clamp(11px,3.3vw,14px)/1.25 Georgia,serif; }
  .ha-welcome > div { flex-shrink:0; gap:4px; }
  .ha-welcome a { padding:5px 9px; font-size:11px; line-height:1.3; }
  .ha-search { box-sizing:border-box; height:34px; margin:8px 10px 0; padding:0 3px 0 10px; border-color:#bda682; background:#fffaf2; }
  .ha-search input { padding:4px 0; font-size:16px; height:30px; }
  .ha-search button { height:30px; width:32px; order:-1; margin:0 6px 0 -4px; }
  .ha-search button svg { width:17px; height:17px; }
  #newsfader { display:none; }
  .ha-announcement { box-sizing:border-box; position:relative; display:flex; gap:10px; align-items:flex-start; padding:10px 12px 10px 10px; margin:0 0 9px; border:1px solid #bba17c; border-radius:6px; overflow:hidden; background:linear-gradient(115deg,#efe1c5,#fbf3df); }
  .ha-announcement::after { content:""; position:absolute; right:0; top:0; bottom:0; width:40%; pointer-events:none; background-image:var(--ha-announcement-image); background-position:center; background-size:cover; opacity:.16; -webkit-mask-image:linear-gradient(to right,transparent,#000 45%); mask-image:linear-gradient(to right,transparent,#000 45%); }
  .ha-announcement-quill { position:relative; z-index:1; flex:0 0 34px; width:34px; height:48px; margin-top:1px; }
  .ha-announcement-copy { position:relative; z-index:1; flex:1; min-width:0; }
  .ha-announcement-copy h2 { margin:0 0 3px; padding:0; color:#39291a; font:bold 21px/1.15 Georgia,serif; }
  .ha-announcement-copy ul { list-style:disc; padding:0 0 0 14px; margin:0; }
  .ha-announcement-copy li { margin:0; padding:0; color:#34291f; font:12px/1.5 Arial,sans-serif; text-align:left; }
  .ha-announcement-copy li *, .ha-announcement-copy li a:link, .ha-announcement-copy li a:visited { font-size:12px !important; line-height:1.5 !important; font-weight:normal !important; font-style:normal !important; color:#34291f !important; }
  .ha-announcement-copy li a { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:2px; }
  .ha-announcement-copy li br + br { display:none; }
  table.table_list tbody.header td { padding:0; }
  #boardindex_table div.cat_bar { min-height:28px; height:auto; padding:0 9px; margin:8px 0 0; border-radius:6px 6px 0 0; }
  #boardindex_table h3.catbg { min-height:28px; padding:5px 0; font:bold 17px/1.1 Georgia,serif; letter-spacing:0; }
  #boardindex_table h3.catbg .unreadlink { display:none; }
  #boardindex_table table.table_list a.collapse { margin:2px 0 0 5px; }
  #boardindex_table .table_list > tbody.content { border-color:#bba17c; border-radius:0 0 6px 6px; }
  #boardindex_table table.table_list > tbody.content > tr[id^="board_"]:not([id$="_children"]) { position:relative; grid-template-columns:58px minmax(0,1fr); grid-template-rows:auto; column-gap:8px; min-height:76px; padding:8px 21px 8px 8px; background:linear-gradient(110deg,#f0e2cb,#fcf7ec); border-bottom:1px solid #cfb899; }
  #boardindex_table table.table_list td.icon { grid-row:1; align-items:center; padding:0 !important; width:auto !important; min-height:50px; border:0; background:transparent; }
  #boardindex_table table.table_list td.icon > a { display:flex; justify-content:center; align-items:center; width:58px; min-height:50px; padding:0 7px 0 0; border-right:1px solid #dbc8a9; }
  #boardindex_table table.table_list td.icon > a > img:not(.ha-board-photo) { display:none; }
  #boardindex_table table.table_list td.icon > a > img.ha-board-photo { display:block; width:auto; height:auto; max-width:48px; max-height:54px; object-fit:contain; }
  #boardindex_table table.table_list td.info { position:static; grid-column:2; grid-row:1; align-self:center; }
  #boardindex_table .table_list tbody.content td.info a.subject { display:block; padding:0; margin:0; color:#39291b; font:bold 17px/1.15 Georgia,serif; }
  #boardindex_table table.table_list td.info p.ha-board-description { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; max-height:2.8em; margin:2px 0 0; font:11px/1.35 Arial,sans-serif; color:#34291f; }
  #boardindex_table table.table_list td.info p.ha-board-description img { display:none !important; }
  #boardindex_table table.table_list td.info p.ha-board-legacy-stats, #boardindex_table table.table_list td.lastpost { display:none; }
  #boardindex_table table.table_list td.info p.ha-board-meta { display:block; margin:4px 0 0; padding:0; font:9.5px/1.3 Arial,sans-serif; color:#5c4d39; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .ha-board-meta a { color:#4d3623; }
  .ha-board-meta span { white-space:nowrap; }
  #boardindex_table .ha-row-chevron { display:block; position:absolute; right:9px; top:50%; margin-top:-12px; font:28px/1 Georgia,serif; color:#684a30; }
  #boardindex_table table.table_list td.children { padding:6px 10px 6px 75px !important; font-size:10px; background:#eee0c6; }
  #posting_icons { padding:8px 0; margin:0; }
  .statsframe { padding:9px; background:#efe1c8; border-color:#bba17c; }
  .statsframe .statsbar { background:none; border-bottom:1px solid #cfb899; padding:4px 0; font:bold 14px/1.4 Georgia,serif; }
  .ha-mobile-footer { box-sizing:border-box; min-height:44px; padding:5px 8px calc(5px + env(safe-area-inset-bottom,0px)); }
  .ha-mobile-footer a { min-height:32px; font-size:13px; }
  .ha-topic-heading { padding:4px 0 8px; }
  .ha-topic-heading h1 { font-size:27px; }
  .ha-page-topic .navigate_section { margin:0 -9px 5px; padding:5px 10px; background:#efe2cc; }
  .ha-page-topic .navigate_section ul { padding:0; font:italic 12px/1.4 Georgia,serif; }
  .ha-topic-heading + .pagesection { display:flex; gap:6px; align-items:center; justify-content:space-between; }
  .ha-topic-heading + .pagesection .nextlinks { display:none; }
  .ha-topic-heading + .pagesection .buttonlist { flex:1; min-width:0; }
  .ha-topic-heading + .pagesection .buttonlist ul { flex-wrap:nowrap; max-width:100%; overflow-x:auto; padding-bottom:2px; scrollbar-width:thin; }
  .ha-topic-heading + .pagesection .buttonlist ul li { flex-shrink:0; }
  .ha-topic-heading + .pagesection .pagelinks { flex-shrink:0; padding:0; font-size:10px; }
  .ha-topic-heading + .pagesection .pagelinks a, .ha-topic-heading + .pagesection .pagelinks strong { min-width:18px; padding:5px 2px; }
  .buttonlist ul li a span { padding:8px 10px; font-size:12px; }
  #forumposts #quickModForm > div.windowbg, #forumposts #quickModForm > div.windowbg2, #forumposts #quickModForm > div.approvebg { border-color:#bba17c; background:#fbf5ea; }
  #forumposts .post_wrapper { grid-template-columns:clamp(94px,28vw,125px) minmax(0,1fr); }
  #forumposts .poster { background:linear-gradient(90deg,#efe1c8,#f5e9d4); }
  #forumposts .postarea { display:flex; flex-direction:column; padding:10px; background:linear-gradient(125deg,#fcf7ed,#f7edde); border-radius:0 7px 7px 0; }
  #forumposts .postarea > .flow_hidden { display:contents; }
  #forumposts .keyinfo { order:0; padding:0 0 8px; }
  #forumposts .keyinfo h5 { font-size:12px; }
  #forumposts .post { order:1; flex:1; padding:10px 0 14px; font-size:15px; line-height:1.5; }
  #forumposts .post .inner { border:0; padding:0; }
  #forumposts .postarea > .signature, #forumposts .postarea > .custom_fields_above_signature { order:2; }
  #forumposts .postarea > .reportlinks { order:3; }
  #forumposts ul.quickbuttons { order:4; margin:0; padding:7px 0 0; border-top:1px solid #cfb899; }
  #forumposts ul.quickbuttons li a { background:transparent; padding:5px 3px; font-weight:normal; }
  #quickreplybox { margin:10px 0 0; }
  #quickreplybox .cat_bar { background:#f1e3cb; border:1px solid #bba17c; border-bottom:0; }
  #quickreplybox .catbg, #quickreplybox .catbg a { color:#49301f; }
  #quickReplyOptions .roundframe { border-color:#bba17c; background:linear-gradient(110deg,#f0e2c9,#faf2e4); border-radius:0 0 7px 7px; }
}
@media screen and (max-width:360px) {
  #main_content_section { padding:8px; }
  .ha-page-home .ha-home-intro { margin:-8px -8px 9px; }
  .ha-mobilebar { gap:2px; padding-inline:6px; }
  .ha-menu-toggle, .ha-account, .ha-inbox { flex-basis:29px; width:29px; }
  .ha-welcome a { padding:5px 6px; font-size:10px; }
  .ha-welcome > span { font-size:11px; }
  #boardindex_table table.table_list > tbody.content > tr[id^="board_"]:not([id$="_children"]) { grid-template-columns:48px minmax(0,1fr); padding:8px 19px 8px 6px; gap:6px; }
  #boardindex_table table.table_list td.icon > a { width:48px; padding-right:5px; }
  #boardindex_table table.table_list td.icon > a > img.ha-board-photo { max-width:40px; max-height:45px; }
  #boardindex_table .table_list tbody.content td.info a.subject { font-size:16px; }
  #boardindex_table table.table_list td.children { padding-left:60px !important; }
  #forumposts .post_wrapper { grid-template-columns:94px minmax(0,1fr); }
  #forumposts .postarea { padding:8px; }
  #forumposts .post { font-size:14px; }
}
@media screen and (max-width:800px) {
  /* Preserve the entire replacement cover, including any text at its edges. */
  .ha-page-home .ha-mobile-hero { height:auto; min-height:0; }
  .ha-mobile-hero img { height:auto; object-fit:contain; }
  .ha-announcement-quill { object-fit:contain; }
  #boardindex_table tbody.header h3.catbg::before { content:"✦"; display:inline-block; margin-right:7px; color:#ead2a5; font-size:15px; font-weight:normal; vertical-align:middle; }
  #boardindex_table #category_1 h3.catbg::before { content:"⚖"; font-size:20px; line-height:14px; }
  #boardindex_table #category_2 h3.catbg::before { content:"♟"; font-size:18px; line-height:14px; }
}
@media screen and (max-width:800px) {
  #boardindex_table #category_1 h3.catbg::before { content:"⚖\FE0E"; }
  #boardindex_table #category_2 h3.catbg::before { content:""; width:17px; height:16px; background:center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20' fill='%23ead2a5'%3E%3Ccircle cx='12' cy='5' r='3'/%3E%3Ccircle cx='4' cy='7' r='2.3'/%3E%3Ccircle cx='20' cy='7' r='2.3'/%3E%3Cpath d='M7 18v-5a5 5 0 0 1 10 0v5ZM0 18v-5a4 4 0 0 1 6-3v8ZM18 18v-8a4 4 0 0 1 6 3v5Z'/%3E%3C/svg%3E"); }
}

/* Revision 3 — topic cards and action bars from the approved reference. */
.ha-post-meta, .ha-more-actions, .ha-report-tool, .ha-more-topic { display:none; }
@media screen and (max-width:800px) {
  .ha-page-topic #main_content_section { padding:10px 9px; background:#f8f1e5; }
  .ha-page-topic .navigate_section { padding:7px 10px; margin:-10px -9px 9px; background:#eee1cb; }
  .ha-page-topic .navigate_section li:first-child:not(:last-child) { display:none; }
  .ha-page-topic .ha-topic-heading { padding:0 1px 8px; }
  .ha-page-topic .ha-topic-heading h1 { margin:0 0 3px; font:bold 27px/1.2 Georgia,serif; color:#39291c; }
  .ha-page-topic .ha-topic-heading p { font-size:12px; color:#79664f; }
  .ha-page-topic .ha-topic-controls { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:5px 8px; align-items:center; padding:5px 0 12px; }
  .ha-topic-controls .buttonlist { grid-column:1; grid-row:1; width:100%; max-width:100%; min-width:0; }
  .ha-topic-controls .buttonlist ul { gap:7px; flex-wrap:wrap !important; overflow:visible !important; }
  .ha-topic-controls .buttonlist li a { border-radius:5px; background:#f7ecda; border-color:#a98a63; }
  .ha-topic-controls .buttonlist li a span { padding:8px 10px; line-height:1.3; font-size:12px; font-weight:normal; }
  .ha-topic-controls .buttonlist li a.active, .ha-topic-controls .buttonlist li a.active span { background:linear-gradient(#795137,#593b26); color:#fff0d4; }
  .ha-topic-controls .button_strip_reply span::before { content:"↶"; margin-right:6px; font-size:17px; line-height:10px; vertical-align:-1px; }
  .ha-topic-controls .button_strip_notify span::before, .ha-topic-controls .button_strip_unnotify span::before { content:"♧"; margin-right:5px; font-size:15px; line-height:10px; }
  .ha-topic-controls .pagelinks { grid-column:2; grid-row:1; max-width:85px; padding:1px 5px !important; border:1px solid #b59b79; border-radius:4px; white-space:nowrap; overflow:auto; background:#faf3e7; font-size:11px; }
  .ha-topic-controls .ha-pages-label { display:none; }
  .ha-js .ha-topic-controls .buttonlist ul:not(.ha-controls-open) > li.ha-secondary-control { display:none; }
  .ha-topic-controls .ha-more-topic { display:block; }
  .ha-more-topic button { height:34px; min-width:28px; padding:0 3px; border:0; background:transparent; color:#67482d; cursor:pointer; font-size:13px; }
  .ha-topic-controls .ha-controls-open .ha-secondary-control { flex-basis:100%; }
  .ha-topic-controls .ha-controls-open .ha-secondary-control a { display:inline-block; }
  #whoisviewing { margin:0 0 8px; padding:5px 7px; background:#efe4d1; border-radius:4px; font-size:10px; line-height:1.4; }
  #forumposts #quickModForm > div.windowbg, #forumposts #quickModForm > div.windowbg2, #forumposts #quickModForm > div.approvebg { border:1px solid #bca17a; border-radius:7px; margin:0 0 12px; background:#fcf6eb; }
  #forumposts .post_wrapper { grid-template-columns:clamp(92px,27vw,120px) minmax(0,1fr); }
  #forumposts .poster { padding:7px 5px; border-right:1px solid #cbb48f; background:linear-gradient(90deg,#f0e2ca,#f4e8d2); border-radius:7px 0 0 7px; }
  #forumposts .poster h4 { font:bold 16px/1.2 Georgia,serif; padding:4px 1px; margin-bottom:5px; }
  #forumposts .poster > ul.reset > li { margin-bottom:4px; }
  #forumposts .postarea { display:flex; flex-direction:column; padding:9px 10px 5px; background:linear-gradient(115deg,#fdf8ef,#f8efdf); border-radius:0 7px 7px 0; }
  #forumposts .ha-post-meta { display:flex; order:0; align-items:flex-start; justify-content:space-between; gap:6px; padding:0 0 7px; margin-bottom:0; border-bottom:1px solid #cbb48f; color:#79664f; font:11px/1.4 Arial,sans-serif; }
  #forumposts .ha-post-meta a { flex-shrink:0; color:#62442b; text-decoration:none; }
  #forumposts .ha-post-date { min-width:0; overflow-wrap:anywhere; }
  #forumposts .keyinfo { order:1; border:0; padding:0; }
  #forumposts .keyinfo h5, #forumposts .keyinfo .smalltext, #forumposts .keyinfo .messageicon { display:none; }
  #forumposts .post { order:2; padding:10px 0 12px; flex:1; font-size:15px; line-height:1.5; color:#2e281f; }
  #forumposts .post .inner > p:first-child { margin-top:0; }
  #forumposts .post .inner > p:last-child { margin-bottom:0; }
  #forumposts .postarea > .signature, #forumposts .postarea > .custom_fields_above_signature { order:3; }
  #forumposts ul.quickbuttons { display:flex; order:5; align-items:center; flex-wrap:wrap; margin:0; padding:3px 0 0; gap:3px 5px; border-top:1px solid #d1bc9c; }
  #forumposts ul.quickbuttons .quote_button { margin-right:auto; }
  #forumposts ul.quickbuttons li a { min-height:32px; padding:7px 2px; background:transparent; color:#62442b; font-size:11px; font-weight:normal; }
  #forumposts ul.quickbuttons .quote_button a::before { content:"❞"; margin-right:5px; font:bold 20px/10px Georgia,serif; vertical-align:-2px; }
  .ha-js #forumposts ul.quickbuttons:not(.ha-actions-open) > li:not(.quote_button):not(.ha-more-actions):not(.inline_mod_check) { display:none; }
  #forumposts ul.quickbuttons li.ha-more-actions { display:block; margin-left:auto; }
  #forumposts .ha-more-actions button { display:block; height:32px; min-width:28px; padding:3px; border:0; background:transparent; color:#62442b; font-size:13px; cursor:pointer; }
  #forumposts ul.quickbuttons.ha-actions-open li:not(.quote_button):not(.ha-more-actions):not(.inline_mod_check) { display:block; flex-basis:100%; padding:0 3px; }
  #forumposts ul.quickbuttons.ha-actions-open .ha-report-tool { font-size:10px; line-height:1.5; overflow-wrap:anywhere; }
  .ha-js #forumposts .reportlinks.ha-report-copied { display:none; }
  #forumposts .postarea > .reportlinks { order:4; }
  #quickreplybox { margin:10px 0; border:0; border-radius:6px; }
  #quickreplybox .cat_bar { margin:0; min-height:30px; padding:0 10px; border:1px solid #bca17a; border-bottom:0; background:linear-gradient(90deg,#eedfc4,#f9efdc); }
  #quickreplybox h3.catbg { min-height:30px; padding:6px 0 3px; font:bold 20px/1.2 Georgia,serif; letter-spacing:0; }
  #quickreplybox .catbg a { color:#49301f; }
  #quickReplyOptions .roundframe { padding:9px 10px 7px; background:linear-gradient(110deg,#efe0c4,#f8efdd); border:1px solid #bca17a; border-top:0; }
  #quickReplyOptions .roundframe > p.smalltext.lefttext { display:none; }
  #quickReplyOptions .quickReplyContent textarea { min-height:90px; height:96px; margin:0; padding:8px; background:#fffbf4; border-color:#baa17c; font-size:16px; }
  #quickReplyOptions .righttext.padding { padding:7px 0 0; }
  #quickReplyOptions input[name="preview"] { background:transparent; color:#63432c; border-color:#b49b79; }
}
@media screen and (max-width:360px) {
  #forumposts .post_wrapper { grid-template-columns:92px minmax(0,1fr); }
  #forumposts .postarea { padding:8px; }
  #forumposts .post { font-size:14px; }
  .ha-topic-controls .buttonlist li a span { padding:8px 7px; font-size:11px; }
  .ha-topic-controls .buttonlist ul { gap:4px; }
  .ha-topic-controls .pagelinks { max-width:65px; }
}
@media screen and (max-width:800px) {
  .ha-topic-controls .button_strip_notify span::before, .ha-topic-controls .button_strip_unnotify span::before { content:""; display:inline-block; width:13px; height:15px; margin-right:5px; vertical-align:-3px; background:center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2363432c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9ZM10 21h4M12 2V1'/%3E%3C/svg%3E"); }
}
@media screen and (max-width:800px) {
  #forumposts .post_wrapper { grid-template-rows:minmax(0,1fr) auto; }
  .ha-js #forumposts .moderatorbar.ha-empty-moderatorbar { display:none; }
}
