@charset "utf-8";
/* SCOREBOOK_BBS_DESIGN_ACTIVE
   BBS list/view/write/comment/gallery visual layer for scorebook_native.
   Fixed asset name only; no release query is used. */

:root{
  --sb-bbs-navy:#063f6d;
  --sb-bbs-navy-deep:#032f55;
  --sb-bbs-blue:#087fc0;
  --sb-bbs-sky:#eaf6ff;
  --sb-bbs-ink:#20394c;
  --sb-bbs-text:#4b5f6e;
  --sb-bbs-muted:#8697a4;
  --sb-bbs-line:#dce6ed;
  --sb-bbs-soft:#f6f9fb;
  --sb-bbs-white:#fff;
  --sb-bbs-red:#ef5a3c;
  --sb-bbs-green:#1aa775;
  --sb-bbs-shadow:0 8px 24px rgba(4,55,91,.07);
}

/* Common shell */
body.scorebook-reference-theme .scorebook-bbs,
body.scorebook-reference-theme .scorebook-gallery,
body.sb-native-theme .scorebook-bbs,
body.sb-native-theme .scorebook-gallery,
.scorebook-bbs,
.scorebook-gallery{
  width:100%;
  min-width:0;
  margin:0;
  padding:0;
  overflow:hidden;
  color:var(--sb-bbs-text);
  background:var(--sb-bbs-white);
  border:1px solid var(--sb-bbs-line);
  border-radius:10px;
  box-shadow:var(--sb-bbs-shadow);
  font-family:"Noto Sans KR","Malgun Gothic","Apple SD Gothic Neo",Arial,sans-serif;
  font-size:13px;
  line-height:1.55;
}
.scorebook-bbs *,
.scorebook-gallery *{box-sizing:border-box}
.scorebook-bbs img,
.scorebook-gallery img{max-width:100%;height:auto}
.scorebook-bbs a,
.scorebook-gallery a{text-decoration:none}
.scorebook-bbs button,
.scorebook-bbs input,
.scorebook-bbs select,
.scorebook-bbs textarea,
.scorebook-gallery button,
.scorebook-gallery input,
.scorebook-gallery select{font:inherit}
.scorebook-bbs .sound_only,
.scorebook-gallery .sound_only,
.scorebook-bbs caption,
.scorebook-gallery caption{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

/* Board header */
.scorebook-bbs .sb-board-head,
.scorebook-gallery .sb-board-head{
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:20px 22px 18px;
  border-bottom:1px solid var(--sb-bbs-line);
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}
.scorebook-bbs .sb-board-head>div:first-child,
.scorebook-gallery .sb-board-head>div:first-child{min-width:0}
.scorebook-bbs .sb-board-head h1,
.scorebook-gallery .sb-board-head h1{
  margin:0;
  color:var(--sb-bbs-navy-deep);
  font-size:23px;
  font-weight:900;
  letter-spacing:-.7px;
  line-height:1.2;
}
.scorebook-bbs .sb-board-head p,
.scorebook-gallery .sb-board-head p{
  margin:8px 0 0;
  color:#7c8d9a;
  font-size:12px;
}
.scorebook-bbs .sb-board-actions,
.scorebook-gallery .sb-board-actions{display:flex;align-items:center;gap:7px;flex:none}

/* Buttons */
.scorebook-bbs .sb-btn,
.scorebook-gallery .sb-btn,
.scorebook-bbs .btn_b01,
.scorebook-bbs .btn_b02,
.scorebook-bbs .btn_admin,
.scorebook-bbs .btn_submit,
.scorebook-bbs .btn_cancel,
.scorebook-bbs .btn_frmline,
.scorebook-gallery .btn_b01,
.scorebook-gallery .btn_b02,
.scorebook-gallery .btn_submit{
  min-width:66px;
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:0 14px;
  border:1px solid #cbd9e3;
  border-radius:5px;
  background:#fff;
  color:#385970;
  font-size:12px;
  font-weight:800;
  line-height:1;
  text-decoration:none;
  cursor:pointer;
  transition:border-color .15s,background .15s,color .15s,transform .15s;
}
.scorebook-bbs .sb-btn:hover,
.scorebook-gallery .sb-btn:hover{border-color:#91b9d3;background:#f3faff;color:var(--sb-bbs-navy)}
.scorebook-bbs .sb-btn:active,
.scorebook-gallery .sb-btn:active{transform:translateY(1px)}
.scorebook-bbs .sb-btn.primary,
.scorebook-gallery .sb-btn.primary,
.scorebook-bbs .btn_b02,
.scorebook-bbs .btn_submit,
.scorebook-gallery .btn_b02,
.scorebook-gallery .btn_submit{
  border-color:var(--sb-bbs-navy);
  background:linear-gradient(180deg,#09649d,var(--sb-bbs-navy));
  color:#fff;
  box-shadow:0 4px 10px rgba(4,69,111,.14);
}

/* Categories */
.scorebook-bbs .sb-category,
.scorebook-gallery .sb-category{
  display:flex;
  align-items:center;
  gap:7px;
  margin:0;
  padding:12px 20px;
  overflow-x:auto;
  list-style:none;
  border-bottom:1px solid var(--sb-bbs-line);
  background:#f8fbfd;
  scrollbar-width:thin;
}
.scorebook-bbs .sb-category li,
.scorebook-gallery .sb-category li{flex:none;list-style:none}
.scorebook-bbs .sb-category a,
.scorebook-gallery .sb-category a{
  min-height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 12px;
  border:1px solid #d2dfe8;
  border-radius:15px;
  background:#fff;
  color:#657b8a;
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
}
.scorebook-bbs .sb-category #bo_cate_on,
.scorebook-gallery .sb-category #bo_cate_on,
.scorebook-bbs .sb-category a.on,
.scorebook-gallery .sb-category a.on{
  border-color:var(--sb-bbs-blue);
  background:var(--sb-bbs-blue);
  color:#fff;
}

/* List table */
.scorebook-bbs .sb-table-wrap{
  width:100%;
  min-width:0;
  padding:0 20px 4px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:#bfd0db transparent;
}
.scorebook-bbs .sb-board-table{
  width:100%;
  min-width:720px;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
  background:#fff;
}
.scorebook-bbs .sb-board-table thead th{
  height:43px;
  padding:0 8px;
  border-top:2px solid var(--sb-bbs-navy);
  border-bottom:1px solid #d4e1e9;
  background:#f5f8fa;
  color:#647b8b;
  font-size:12px;
  font-weight:800;
  text-align:center;
  white-space:nowrap;
}
.scorebook-bbs .sb-board-table tbody td{
  height:52px;
  padding:8px;
  border-bottom:1px solid #e7eef3;
  color:#566b79;
  font-size:12px;
  text-align:center;
  vertical-align:middle;
  background:#fff;
}
.scorebook-bbs .sb-board-table tbody tr{transition:background .14s}
.scorebook-bbs .sb-board-table tbody tr:hover td{background:#f8fcff}
.scorebook-bbs .sb-board-table tbody tr.notice-row td{background:#fffaf0}
.scorebook-bbs .sb-board-table tbody tr.notice-row:hover td{background:#fff6df}
.scorebook-bbs .sb-board-table td.subject{text-align:left;padding-left:14px}
.scorebook-bbs .sb-board-table td.subject>a{
  min-width:0;
  display:flex;
  align-items:center;
  gap:5px;
  color:#223f54;
  font-weight:700;
  line-height:1.4;
}
.scorebook-bbs .sb-board-table td.subject .title{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.scorebook-bbs .sb-board-table .comment{
  flex:none;
  color:var(--sb-bbs-red);
  font-size:11px;
  font-weight:900;
}
.scorebook-bbs .sb-board-table .notice{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  height:21px;
  padding:0 6px;
  border-radius:3px;
  background:#e9f5ff;
  color:#0871ae;
  font-size:10px;
  font-weight:900;
}
.scorebook-bbs .sb-board-table .writer{text-align:left}
.scorebook-bbs .empty_table,
.scorebook-gallery .empty_table{
  min-height:150px;
  padding:55px 20px!important;
  color:#8998a3!important;
  text-align:center!important;
  background:#fbfcfd!important;
}

/* Member badge */
.scorebook-bbs .sb-member,
.scorebook-gallery .sb-member,
.sb-comments .sb-member{
  min-width:0;
  display:inline-flex;
  align-items:center;
  gap:7px;
  vertical-align:middle;
}
.scorebook-bbs .sb-member-icon,
.scorebook-gallery .sb-member-icon,
.sb-comments .sb-member-icon{
  width:28px;
  height:28px;
  flex:none;
  display:inline-grid;
  place-items:center;
  border-radius:8px;
  color:#fff;
  font-size:10px;
  font-weight:900;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.2);
}
.sb-member-icon.blue{background:linear-gradient(145deg,#167bc4,#3aa9ed)}
.sb-member-icon.purple{background:linear-gradient(145deg,#6451cf,#907cf0)}
.sb-member-icon.green{background:linear-gradient(145deg,#13865d,#2dbe84)}
.sb-member-icon.red{background:linear-gradient(145deg,#be2b2b,#ee6659)}
.sb-member-icon.gold{background:linear-gradient(145deg,#d58b00,#f4bd27)}
.sb-member-icon.navy{background:linear-gradient(145deg,#06365f,#0d699f)}
.scorebook-bbs .sb-member-copy,
.scorebook-gallery .sb-member-copy,
.sb-comments .sb-member-copy{min-width:0;display:flex;flex-direction:column;line-height:1.15}
.scorebook-bbs .sb-member-copy strong,
.scorebook-gallery .sb-member-copy strong,
.sb-comments .sb-member-copy strong{max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#344e60;font-size:11px}
.scorebook-bbs .sb-member-copy small,
.scorebook-gallery .sb-member-copy small,
.sb-comments .sb-member-copy small{margin-top:3px;color:#96a3ac;font-size:9px}

/* List footer */
.scorebook-bbs .sb-bottom,
.scorebook-gallery .sb-bottom{
  min-height:66px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:10px;
  padding:12px 20px;
  border-top:1px solid #edf1f4;
  background:#fff;
}
.scorebook-bbs .sb-admin-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.scorebook-bbs .sb-pagination,
.scorebook-gallery .sb-pagination{grid-column:2;display:flex;align-items:center;justify-content:center;min-width:0}
.scorebook-bbs .sb-bottom>.sb-btn,
.scorebook-gallery .sb-bottom>.sb-btn{justify-self:end}
.scorebook-bbs .pg_wrap,
.scorebook-gallery .pg_wrap{display:flex;align-items:center;justify-content:center;gap:3px;margin:0}
.scorebook-bbs .pg_page,
.scorebook-bbs .pg_current,
.scorebook-gallery .pg_page,
.scorebook-gallery .pg_current{
  min-width:32px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0 8px;
  border:1px solid #d4e0e8;
  border-radius:4px;
  background:#fff;
  color:#607584;
  font-size:11px;
  font-weight:700;
}
.scorebook-bbs .pg_current,
.scorebook-gallery .pg_current{border-color:var(--sb-bbs-navy);background:var(--sb-bbs-navy);color:#fff}

/* Search */
.scorebook-bbs .sb-search,
.scorebook-gallery .sb-search{
  padding:0 20px 20px;
  background:#fff;
}
.scorebook-bbs .scorebook-search,
.scorebook-gallery .scorebook-search{
  width:min(100%,480px);
  min-height:40px;
  display:grid;
  grid-template-columns:110px minmax(120px,1fr) 68px;
  align-items:stretch;
  margin-left:auto;
  border:1px solid #c9d8e3;
  border-radius:5px;
  overflow:hidden;
  background:#fff;
}
.scorebook-bbs .scorebook-search select,
.scorebook-gallery .scorebook-search select,
.scorebook-bbs .scorebook-search input,
.scorebook-gallery .scorebook-search input{
  min-width:0;
  height:38px;
  padding:0 10px;
  border:0;
  border-right:1px solid #dbe5ec;
  outline:0;
  background:#fff;
  color:#405868;
}
.scorebook-bbs .scorebook-search input:focus,
.scorebook-gallery .scorebook-search input:focus{box-shadow:inset 0 0 0 2px rgba(8,127,192,.12)}
.scorebook-bbs .scorebook-search button,
.scorebook-gallery .scorebook-search button{
  border:0;
  background:var(--sb-bbs-navy);
  color:#fff;
  font-weight:900;
  cursor:pointer;
}

/* View page */
.scorebook-bbs .sb-view{padding:0;background:#fff}
.scorebook-bbs .sb-view-toolbar{
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:9px 20px;
  border-bottom:1px solid var(--sb-bbs-line);
  background:#f8fafc;
}
.scorebook-bbs .sb-view-toolbar .date{color:#81919d;font-size:11px}
.scorebook-bbs .sb-view-toolbar .buttons{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.scorebook-bbs .sb-view-head{padding:23px 24px 18px;border-bottom:1px solid var(--sb-bbs-line)}
.scorebook-bbs .sb-view-head h1{
  margin:0;
  color:#183d58;
  font-size:24px;
  font-weight:900;
  letter-spacing:-.6px;
  line-height:1.4;
  word-break:break-word;
}
.scorebook-bbs .sb-view-meta{
  margin-top:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#82929d;
}
.scorebook-bbs .sb-view-meta .stats{margin-left:auto;display:flex;align-items:center;gap:12px;font-size:11px}
.scorebook-bbs #bo_v_img{padding:18px 24px 0}
.scorebook-bbs #bo_v_img img{margin:0 auto 12px;border-radius:6px}
.scorebook-bbs .sb-view-files{margin:18px 24px 0;padding:13px 15px;border:1px solid #dbe6ed;border-radius:6px;background:#f6f9fb}
.scorebook-bbs .sb-view-files strong{display:block;margin-bottom:6px;color:#375468}
.scorebook-bbs .sb-view-files ul{margin:0;padding:0;list-style:none}
.scorebook-bbs .sb-view-files li+li{margin-top:5px}
.scorebook-bbs .sb-view-files a{color:#0a6fa9}
.scorebook-bbs .sb-view-content,
.scorebook-bbs #bo_v_con{
  min-height:300px;
  padding:30px 24px 38px;
  color:#344b5b;
  font-size:14px;
  line-height:1.9;
  overflow:hidden;
  word-break:break-word;
}
.scorebook-bbs .sb-view-content img,
.scorebook-bbs #bo_v_con img{max-width:100%!important;height:auto!important;margin:8px auto}
.scorebook-bbs .sb-signature{margin:0 24px 20px;padding:14px;border:1px solid #e0e8ee;border-radius:6px;background:#f8fafc}
.scorebook-bbs .sb-prev-next{margin:0;padding:0 20px;list-style:none;border-top:1px solid var(--sb-bbs-line)}
.scorebook-bbs .sb-prev-next li{min-height:44px;display:grid;grid-template-columns:70px 1fr;align-items:center;border-bottom:1px solid #e8eef2}
.scorebook-bbs .sb-prev-next b{color:#476275;font-size:11px}
.scorebook-bbs .sb-prev-next a{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#344d5f}

/* Comments */
.scorebook-bbs .sb-comments{padding:20px 24px 24px;border-top:1px solid var(--sb-bbs-line)}
.scorebook-bbs .sb-comments>h2{margin:0 0 12px;color:#183d58;font-size:17px}
.scorebook-bbs .sb-comments>h2 b{color:var(--sb-bbs-blue)}
.scorebook-bbs #bo_vc{border-top:2px solid var(--sb-bbs-navy)}
.scorebook-bbs #bo_vc .view_comment_cont{padding:15px 4px;border-bottom:1px solid #e4ecf1}
.scorebook-bbs #bo_vc .comment_writer{display:flex;align-items:center;gap:8px}
.scorebook-bbs #bo_vc .bo_vc_hdinfo{margin-left:auto;color:#98a4ad;font-size:10px}
.scorebook-bbs #bo_vc .comment_body>p{margin:12px 0 0;padding-left:35px;color:#455c6c;line-height:1.75}
.scorebook-bbs #bo_vc .comment_links{margin-top:9px;padding-left:35px;display:flex;gap:9px}
.scorebook-bbs #bo_vc .comment_links a{color:#628095;font-size:10px}
.scorebook-bbs #bo_vc_empty{padding:30px 0;text-align:center;color:#8a98a3}
.scorebook-bbs #bo_vc_w{margin-top:14px;padding:14px;border:1px solid #d9e4eb;border-radius:7px;background:#f7fafc}
.scorebook-bbs #bo_vc_w .bo_vc_t{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;color:#627888;font-size:11px}
.scorebook-bbs #bo_vc_w .bo_vc_table{display:grid;grid-template-columns:1fr 80px;gap:8px}
.scorebook-bbs #bo_vc_w textarea{width:100%;min-height:100px;padding:11px;border:1px solid #c9d8e2;border-radius:5px;outline:0;resize:vertical;background:#fff}
.scorebook-bbs #bo_vc_w .btn_com_submit input{width:100%;height:100%;min-height:100px;border:0;border-radius:5px;background:var(--sb-bbs-navy);color:#fff;font-weight:900;cursor:pointer}
.scorebook-bbs #bo_vc_w .bo_vc_guest{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.scorebook-bbs #bo_vc_w .bo_vc_guest input{height:36px;padding:0 9px;border:1px solid #cad8e2;border-radius:4px}

/* Write page */
.scorebook-bbs-write{padding:20px 22px 24px!important}
.scorebook-bbs-write #bo_w{width:100%;padding:0;background:#fff}
.scorebook-bbs-write #fwrite{width:100%!important;max-width:none!important}
.scorebook-bbs-write .write_div{margin-bottom:11px}
.scorebook-bbs-write .bo_w_info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.scorebook-bbs-write input[type=text],
.scorebook-bbs-write input[type=password],
.scorebook-bbs-write input[type=email],
.scorebook-bbs-write select,
.scorebook-bbs-write textarea,
.scorebook-bbs-write .frm_input{
  max-width:100%;
  min-height:40px;
  padding:8px 11px;
  border:1px solid #c9d7e1;
  border-radius:5px;
  background:#fff;
  color:#334d60;
  outline:0;
}
.scorebook-bbs-write input:focus,
.scorebook-bbs-write select:focus,
.scorebook-bbs-write textarea:focus{border-color:#6bb0da;box-shadow:0 0 0 3px rgba(8,127,192,.1)}
.scorebook-bbs-write .full_input,
.scorebook-bbs-write textarea{width:100%}
.scorebook-bbs-write .wr_content{min-width:0}
.scorebook-bbs-write #wr_content{min-height:320px}
.scorebook-bbs-write .bo_v_option{display:flex;gap:10px;flex-wrap:wrap;margin:0;padding:10px 12px;list-style:none;border:1px solid #dbe5ec;border-radius:5px;background:#f8fafc}
.scorebook-bbs-write .bo_v_option li{list-style:none}
.scorebook-bbs-write .bo_w_link,
.scorebook-bbs-write .bo_w_flie{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:6px}
.scorebook-bbs-write .lb_icon{height:40px;display:grid;place-items:center;border:1px solid #cad8e2;border-radius:5px;background:#f5f8fa;color:#577184}
.scorebook-bbs-write .btn_confirm{display:flex;justify-content:flex-end;gap:7px;margin-top:18px}
.scorebook-bbs-write #autosave_wrapper{position:relative}
.scorebook-bbs-write #autosave_pop{z-index:20;background:#fff;border:1px solid #d3e0e8;box-shadow:0 12px 30px rgba(0,45,78,.15)}

/* Gallery */
.scorebook-gallery .sb-gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:0;
  padding:20px;
  list-style:none;
}
.scorebook-gallery .sb-gallery-card{
  min-width:0;
  overflow:hidden;
  border:1px solid #dbe5ec;
  border-radius:8px;
  background:#fff;
  transition:transform .15s,box-shadow .15s,border-color .15s;
}
.scorebook-gallery .sb-gallery-card:hover{transform:translateY(-2px);border-color:#a9c9dc;box-shadow:0 10px 24px rgba(5,61,96,.11)}
.scorebook-gallery .sb-gallery-thumb{height:165px;display:block;overflow:hidden;background:#edf3f7}
.scorebook-gallery .sb-gallery-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .2s}
.scorebook-gallery .sb-gallery-card:hover .sb-gallery-thumb img{transform:scale(1.025)}
.scorebook-gallery .sb-gallery-empty{height:100%;display:grid;place-items:center;color:#8ea2b1;font-size:36px}
.scorebook-gallery .sb-gallery-info{padding:12px}
.scorebook-gallery .sb-gallery-info h3{margin:0 0 10px;font-size:13px;line-height:1.45}
.scorebook-gallery .sb-gallery-info h3 a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#263f51}
.scorebook-gallery .sb-gallery-info .comment{margin-left:4px;color:var(--sb-bbs-red);font-size:10px}
.scorebook-gallery .sb-gallery-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#8d9ba5;font-size:10px}
.scorebook-gallery .sb-gallery-meta .sb-member-copy small{display:none}

/* Compatibility with stock/basic skins when a board has not yet switched skins. */
body.scorebook-reference-theme #bo_list,
body.scorebook-reference-theme #bo_v,
body.scorebook-reference-theme #bo_w,
body.scorebook-reference-theme #bo_gall,
body.sb-native-theme #bo_list,
body.sb-native-theme #bo_v,
body.sb-native-theme #bo_w,
body.sb-native-theme #bo_gall{
  width:100%;
  max-width:none;
  min-width:0;
}
body.scorebook-reference-theme .tbl_wrap,
body.sb-native-theme .tbl_wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
body.scorebook-reference-theme .tbl_head01 table,
body.sb-native-theme .tbl_head01 table{width:100%;border-collapse:collapse;background:#fff}
body.scorebook-reference-theme .tbl_head01 thead th,
body.sb-native-theme .tbl_head01 thead th{height:42px;padding:7px;background:#f5f8fa;border-top:2px solid var(--sb-bbs-navy);border-bottom:1px solid #d8e3ea;color:#607787;font-size:12px}
body.scorebook-reference-theme .tbl_head01 td,
body.sb-native-theme .tbl_head01 td{padding:10px 8px;border-bottom:1px solid #e7eef3;color:#405869}
body.scorebook-reference-theme #bo_sch,
body.sb-native-theme #bo_sch{display:flex;justify-content:flex-end;gap:5px;margin:16px 0}
body.scorebook-reference-theme #bo_sch select,
body.scorebook-reference-theme #bo_sch input,
body.sb-native-theme #bo_sch select,
body.sb-native-theme #bo_sch input{height:38px;border:1px solid #cbd9e3;border-radius:4px;padding:0 9px}
body.scorebook-reference-theme #bo_sch button,
body.sb-native-theme #bo_sch button{height:38px;border:0;border-radius:4px;background:var(--sb-bbs-navy);color:#fff;padding:0 15px}

/* Responsive */
@media(max-width:980px){
  .scorebook-gallery .sb-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .scorebook-bbs,.scorebook-gallery{border-radius:7px}
  .scorebook-bbs .sb-board-head,.scorebook-gallery .sb-board-head{min-height:76px;padding:16px;align-items:flex-start}
  .scorebook-bbs .sb-board-head h1,.scorebook-gallery .sb-board-head h1{font-size:20px}
  .scorebook-bbs .sb-board-head p,.scorebook-gallery .sb-board-head p{margin-top:5px;font-size:10px}
  .scorebook-bbs .sb-table-wrap{padding:0 10px 3px}
  .scorebook-bbs .sb-board-table{min-width:680px}
  .scorebook-bbs .sb-bottom,.scorebook-gallery .sb-bottom{grid-template-columns:1fr auto;padding:10px 12px}
  .scorebook-bbs .sb-pagination,.scorebook-gallery .sb-pagination{grid-column:1/3;grid-row:1;order:-1;margin-bottom:4px}
  .scorebook-bbs .sb-admin-actions{grid-column:1;grid-row:2}
  .scorebook-bbs .sb-bottom>.sb-btn,.scorebook-gallery .sb-bottom>.sb-btn{grid-column:2;grid-row:2}
  .scorebook-bbs .sb-search,.scorebook-gallery .sb-search{padding:0 12px 14px}
  .scorebook-bbs .scorebook-search,.scorebook-gallery .scorebook-search{width:100%;grid-template-columns:92px minmax(0,1fr) 58px}
  .scorebook-bbs .sb-view-toolbar{padding:8px 12px;align-items:flex-start}
  .scorebook-bbs .sb-view-toolbar .date{display:none}
  .scorebook-bbs .sb-view-head{padding:18px 16px 14px}
  .scorebook-bbs .sb-view-head h1{font-size:20px}
  .scorebook-bbs .sb-view-meta{align-items:flex-start;flex-direction:column}
  .scorebook-bbs .sb-view-meta .stats{margin-left:0;gap:8px}
  .scorebook-bbs .sb-view-content,.scorebook-bbs #bo_v_con{min-height:220px;padding:22px 16px 28px}
  .scorebook-bbs .sb-view-files{margin:14px 16px 0}
  .scorebook-bbs .sb-comments{padding:16px}
  .scorebook-bbs #bo_vc_w .bo_vc_table{grid-template-columns:1fr}
  .scorebook-bbs #bo_vc_w .btn_com_submit input{min-height:42px}
  .scorebook-bbs-write{padding:16px!important}
  .scorebook-bbs-write .bo_w_info{grid-template-columns:1fr}
  .scorebook-gallery .sb-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px}
  .scorebook-gallery .sb-gallery-thumb{height:140px}
}
@media(max-width:480px){
  .scorebook-bbs .sb-board-head,.scorebook-gallery .sb-board-head{gap:10px}
  .scorebook-bbs .sb-board-head p,.scorebook-gallery .sb-board-head p{display:none}
  .scorebook-bbs .sb-btn,.scorebook-gallery .sb-btn{min-width:58px;padding:0 10px;font-size:11px}
  .scorebook-bbs .sb-board-table{min-width:640px}
  .scorebook-bbs .scorebook-search,.scorebook-gallery .scorebook-search{grid-template-columns:78px minmax(0,1fr) 54px}
  .scorebook-bbs .scorebook-search select,.scorebook-gallery .scorebook-search select,.scorebook-bbs .scorebook-search input,.scorebook-gallery .scorebook-search input{padding:0 6px;font-size:11px}
  .scorebook-bbs .sb-view-toolbar .buttons{width:100%;justify-content:flex-end}
  .scorebook-bbs .sb-prev-next li{grid-template-columns:58px 1fr}
  .scorebook-gallery .sb-gallery-grid{grid-template-columns:1fr 1fr}
  .scorebook-gallery .sb-gallery-thumb{height:115px}
  .scorebook-gallery .sb-gallery-info{padding:9px}
}
