/*! CSS Used from: https://www.abfotoklubb.no/konkurranser/public/css/jury-entry-new.css?v=v4.1.0.0ca1789e */
.view_title{display:none;color:red;}
/*
@media print{
    a[href]:after{content:" (" attr(href) ")";}
}
*/
.panel.panel-default{border-bottom:none!important;}
span.credit{display:block;clear:both;}
.lightboxOverlay{opacity:1!important;}
.panel.panel-default{border:none!important;}
.box-jury{color:#31708f;background-color:#d9edf7;border-color:#bce8f1;}
@media screen and (max-width: 1025px){
    .hidden-comments{display:none!important;}
}
.jury_comment{float:left;}
.jury_comment,textarea{height:95px;width:48%;padding-right:10px;float:left;}
.jury_comment,.lb-radiobuttons,.decimals,textarea.text-comments{min-height:110px;}
body#default div.divTablePage{margin-top:18px;}
textarea{width:300px;}
@media print{
    .no-print,.no-print *{display:none!important;}
}
div.comments{padding-top:13px;width: max-content}
div.comments_readonly{width:70%;margin:auto;margin-top:-5px;}
#jury_comment{color:#ccc;background-color:transparent;border:none;}
@media print{
    ol.breadcrumb{display:none;}
    div.alert-info{display:none!important;}
}
.view_title{display:none;color:red;}
.image_id{padding-top:5px;}
/*.container h3{float:left;}*/
h4{float:left;clear:both;}
.lightboxOverlay{position:absolute;top:0;left:0;z-index:9999;background-color:#323232;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);opacity:1.0;display:none;}
.lightbox{position:absolute;left:0;width:100%;height:50%;z-index:10000;text-align:center;line-height:0;font-weight:normal;}
.lightbox .lb-image{display:block;height:auto;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;image-rendering:pixelated;image-rendering:-webkit-optimize-contrast;}
.lb-outerContainer{position:relative;background-color:#969696;*zoom:1;width:250px;height:250px;margin:0 auto;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;}
.lb-outerContainer:after{content:"";display:table;clear:both;}
.lb-container{padding:2px;}
.lb-loader{position:absolute;top:43%;left:0%;height:25%;width:100%;text-align:center;line-height:0;}
.lb-cancel{display:block;width:32px;height:32px;margin:0 auto;background:url(https://www.abfotoklubb.no/konkurranser/public/images/loading.gif) no-repeat;}
.lb-nav{position:absolute;top:0;left:0;height:100%;width:100%;z-index:10;}
.lb-nav a{outline:none;background-image:url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');}
.lb-prev,.lb-next{width:33%;height:100%;cursor:pointer;display:block;}
.lb-full{width:33%;height:100%;cursor:pointer;display:block;}
.lb-full:hover{cursor:zoom-in;}
.super-lb-image:hover{cursor:zoom-out;}
.lb-nav{display:flex;}
.lb-nav a.lb-prev{width:50%;left:0;float:left;background:url(https://www.abfotoklubb.no/konkurranser/public/images/prev.png) left 48% no-repeat;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0;-webkit-transition:opacity 0.6s;-moz-transition:opacity 0.6s;-o-transition:opacity 0.6s;transition:opacity 0.6s;}
.lb-nav a.lb-prev:hover{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1;}
.lb-nav a.lb-next{width:50%;right:0;float:right;background:url(https://www.abfotoklubb.no/konkurranser/public/images/next.png) right 48% no-repeat;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0;-webkit-transition:opacity 0.6s;-moz-transition:opacity 0.6s;-o-transition:opacity 0.6s;transition:opacity 0.6s;}
.lb-nav a.lb-next:hover{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1;}
.lb-dataContainer{margin:0 auto;padding-top:5px;*zoom:1;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px;}
.lb-dataContainer:after{content:"";display:table;clear:both;}
.lb-data{padding:0 4px;color:#ccc;}
.lb-data .lb-details{float:none;text-align:left;line-height:1.1em;}
.lb-data .lb-caption{font-size:13px;font-weight:bold;line-height:1em;}
.lb-data .lb-number{display:block;clear:left;padding-bottom:2px;font-size:12px;color:#999999;}
.lb-data .lb-close{display:block;float:right;width:30px;height:30px;background:url(https://www.abfotoklubb.no/konkurranser/public/images/close.png) top right no-repeat;text-align:right;outline:none;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=70);opacity:0.7;-webkit-transition:opacity 0.2s;-moz-transition:opacity 0.2s;-o-transition:opacity 0.2s;transition:opacity 0.2s;}
.lb-data .lb-close:hover{cursor:pointer;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1;}
div.lb-input{color:rgb(228, 228, 228);}
div.lb-input{display: flex;justify-content: center; margin-top:5px;}
input.lb-input:focus{outline:none!important;border:none!important;-webkit-box-shadow:none!important;box-shadow:none!important;}
.lb-radiobuttons,.decimals{vertical-align:middle;float:right;}
div.jury_comment{font-size:12px;}
.truncate{width:525px;margin-left:auto;margin-right:auto;height:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:1px solid #ccc;padding-left:13px;padding-top:7px;text-align:left;}
.lb-exif{margin-left:auto;margin-right:auto;text-align:left;padding-left:13px;}
@media print{
    body{min-height:2000px;padding-top:0px!important;}
    .hide_print{display:none;}
    .credit{font-style:italic;}
}
.divTable{display:table;width:fit-content;margin-left:auto;margin-right:auto;}
.divTableRow{display:table-row;}
.divTableCell{display:table-cell;padding:5px 0px;width:80px;}
.divTableBody{display:table-row-group;text-align:center;}
.divTablePage{display:table;width:300px;}
.divTableRowPage{display:table-row;}
.divTableCellPage{display:table-cell;padding:0px 0px;width:80px;text-align:center;}
.divTableBodyPage{display:table-row-group;text-align:center;}
.hidden-loader{display:none;}
.ajax_loader{position:absolute;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.5);}
.ajax_loader i{position:absolute;left:50%;top:50%;}
.input_points_styling{float:right!important;width:30px;background-color:transparent;text-align:end;border:1px solid;padding-right:5px;margin-right:5px;margin-top:6px;border-radius:4px;}
.jury_points_div{padding-left:10px;padding-bottom:5px;border-radius:inherit;}
.image_id{padding-top:5px;}
.points_radio_buttons_main{margin-right:5px;}
.input_points_own_picture{padding-top:5px;padding-bottom:10px;}
.jury_comment{width:50%;padding-right:0px!important;}
textarea.text-comments{width:95%;}
div.update-indicator{display:inline-block;min-height:20px;padding-left:20px;margin-bottom:0;margin-right:10px;font-weight:400;color:#5cb85c;}
div.status-elements{display:inline-block;margin-top:12px;margin-bottom:0px;}
div#status-div{float:right;}
div#update-indicator{float:left;margin-top:12px;margin-bottom:10px;}
div.lb-radiobuttons,div.decimals{width:30%!important;border-radius:5px;}
.lb-radiobuttons .image_description,.decimals .image_description{margin-bottom:5px;}
.jury_comment,.lb-radiobuttons,.decimals,textarea.text-comments{min-height:110px;}
.points_radio_buttons_main > div.divTablePage{margin-top:20px;width:100%;}
div.header h3{float:left;margin-top:0px;}
input#autosort{margin-left:10px;position:relative;}
td.row_counter{padding-right:0px!important;}
div.image_container{float:left;width:14%;}
div.image_container div{width:100%;}
div.image_description{float:left;padding-left:10px;font-size:12px;padding-top:5px;}
.points_radio_buttons_main{margin-top:10%;}
/*body{min-height:2000px;padding-top:70px;}*/
:target{display:block;position:relative;top:-200px;}
.modal-dialog{z-index:100000!important;width:600px;position:absolute;left:50%;top:50%;margin-left:-300px;margin-top:-100px;}
/* overlay displaying when update is taking place */
.centered-text-block{position:fixed;top:50%;left:50%;z-index:50001;color:red;font-size:xx-large;display:none;transform:translate(-50%, -50%);}
div.centered-text-block p {font-size: xx-large;}
@media screen{
    .hide-screen{display:none!important;width:50%!important;}
}
@media print{
    .hide_print{display:none;}
}
@media only screen and (min-width: 769px){
    a.navbar-brand.logo{padding-top:6px;padding-right:5px;}
}
.panel-default.jury_member{margin-bottom:10px;}
.superOverlay{position:fixed;top:0;left:0;z-index:10004;background-color:#3c3c3c!important;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);opacity:1.0;}
.super-div-img{display:flex;justify-content:center;align-items:center;}
.super-div-img img{display:block;vertical-align:middle;margin-left:auto;margin-right:auto;border:0.5px solid grey;margin-top:15px;}
/*! CSS Used from: Embedded */
/*.modal-dialog{z-index:100000!important;width:600px;position:absolute;left:50%;top:50%;margin-left:-300px;margin-top:-100px;}*/
/*.centered-text-block{position:fixed;top:50%;left:50%;z-index:20000;color:red;font-size:xx-large;display:none;transform:translate(-50%, -50%);}*/
/*! CSS Used from: Embedded */
/*@media screen{*/
/*    .hide-screen{display:none!important;width:50%!important;}*/
/*}*/
/*@media print{*/
/*    .hide_print{display:none;}*/
/*}*/
/*! CSS Used keyframes */
/*@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg);}}*/
/*@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg);}}*/
/*@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg);}}*/
/*@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg);}}*/
/*! CSS Used fontfaces */
/*@font-face{font-family:'Glyphicons Halflings';src:url(https://www.abfotoklubb.no/konkurranser/public/fonts/glyphicons-halflings-regular.eot);src:url(https://www.abfotoklubb.no/konkurranser/public/fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(https://www.abfotoklubb.no/konkurranser/public/fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(https://www.abfotoklubb.no/konkurranser/public/fonts/glyphicons-halflings-regular.woff) format('woff'),url(https://www.abfotoklubb.no/konkurranser/public/fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(https://www.abfotoklubb.no/konkurranser/public/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg');}*/
/*@font-face{font-family:'Glyphicons Halflings';src:url(https://www.abfotoklubb.no/konkurranser/public/fonts/glyphicons-halflings-regular.eot);src:url(https://www.abfotoklubb.no/konkurranser/public/fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(https://www.abfotoklubb.no/konkurranser/public/fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(https://www.abfotoklubb.no/konkurranser/public/fonts/glyphicons-halflings-regular.woff) format('woff'),url(https://www.abfotoklubb.no/konkurranser/public/fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(https://www.abfotoklubb.no/konkurranser/public/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg');}*/
div.jury_comment textarea.text-comments {
    font-size: initial;
}
#jury_placement{
    color: #ccc;
    background-color: transparent;
    border: none;
    padding-top: 10px;
}
#jury_comment {
    margin-bottom: 5px;
    line-height: 1.3;
    text-align: left;
    padding-top: 10px;
}
.comments_readonly.hidden-comments {
    text-align: left;
}

.admin-jurying tr.accept_limit_exactly{border-bottom:4px dotted green;}
.admin-jurying tr.accept_limit{border-bottom:4px dotted red;}
.admin-jurying tr.no-points{border-left:2px solid red;}
.admin-jurying tr.accept_limit_under_warningX{border-bottom:4px dotted red;;border-left:2px solid green;border-right:2px solid green;border-top:2px solid green;}
.admin-jurying tr.accept_limit_under_warning{border-bottom:4px dotted green;;border-left:2px solid green;border-right:2px solid green;border-top:2px solid green;}
.admin-jurying tr.accept_above_limit{border-bottom:2px solid red;border-left:2px solid red;border-right:2px solid red;}
.admin-jurying .accept_above_limit_warning{color:red;}
.admin-jurying tr.accept_under_warning{border-bottom:2px solid green;border-left:2px solid green;border-right:2px solid green;border-top:2px solid green;}
.admin-jurying div.comments {
    width: 100%;
}
.admin-jurying div.thumbnail-label {
    font-size: 12px;
}

.admin-jurying table.juryadmin .textDivX {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%);
    color: red;
    font-weight: bold;
    background-color: white;
    padding: 5px;
    height: 28px;
}

.admin-jurying table.juryadmin .textDivRed,
.admin-jurying table.juryadmin .textDivGreen {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 2px;
    font-weight: bold;
    z-index: 1;
    margin-top: 3px;
}

.admin-jurying table.juryadmin .textDivRed {
    color: red;
}

.admin-jurying table.juryadmin .textDivGreen {
    color: green;
}

.admin-jurying #jury_comment {height: 30px;}
.admin-jurying #status-div {width: 100%;}
.admin-jurying .jury-summary-text {clear: both;}
.admin-jurying .status-elements {float: right;}
.admin-jurying h6#number_of_accepted {margin-bottom: -19px;}
.admin-jurying div.jury-summary-label {
    float: left;
    padding-right: 10px;
    margin-top: 15px;
    clear: both;
}
.admin-jurying div.need2besaved {
    /*margin: 10px;*/
    /*margin-top: 15px;*/
    color: red;
    /*float: left;*/
}
.admin-jurying div.status-elements{margin-bottom:5px;}

.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px;}
.breadcrumb>li{display:inline-block;}
.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0";}
.breadcrumb>.active{color:#777;}
@media print{
    ol.breadcrumb{display:none;}
    div.alert-info{display:none!important;}
}

body.jury_edit .image_container div.image {
    min-height: 112px;
}
body.jury_edit div#jury_comment {
    height: unset;
}
body.jury_edit div.jury_points {
    margin-top: 5px;
    display: inline-grid;
    padding-left: 10px;
}

body:not(.development-mode) span#list-view {
    display: none;
}

.divTableCell.no-linebreak {
    white-space: nowrap;
}

body.admin-jurying .lb-details span {
    display: block;
    margin-bottom: 0px; /* Optional: adds spacing between lines */
    padding-left: 0px;
    color: #999999;
    font-size: 12px;
}
body.admin-jurying span.lb-jury-points {
    display: inline-block;
    max-width: 275px;
    text-overflow: ellipsis;
    flex-shrink: 1;
    overflow: hidden;
    white-space: nowrap;
}
body.admin-jurying .lb-details .lb-title {
    width: 150px;
}
body.admin-jurying .lb-details .lb-exif {
    width: 150px;
    float: left;
}
body#nminafo div.box-jury {
    overflow: hidden;
}
body#nminafo div.points_right {
    padding-left: 10px;
}
body#nminafo div.award {
    float: right;
    margin-top: 5px;
    margin-right: 5px;
}
body#nminafo .image_description,body#nminafo .author_images {
    font-size: var(--bs-body-font-size);
    padding-top: unset;
    padding-left: unset;
}
body#nminafo .points_links {
    display: flex;
    gap: 15px;
}
/*body#nminafo .lb-input .divTable {*/
/*    display: table;*/
/*    width: 300px;*/
/*    margin-left: auto;*/
/*    margin-right: auto;*/
/*}*/
/*body#nminafo .lb-input .divTableBody {*/
/*    display: table-row-group;*/
/*    text-align: center;*/
/*}*/
/*body#nminafo .lb-input .divTableColumn {*/
/*    float: left;*/
/*    display: table-column;*/
/*}*/
/*body#nminafo .lb-input .divTableRow {*/
/*    display: table-row;*/
/*}*/
/*body#nminafo .lb-input {*/
/*    font-size: 12px;*/
/*    width: 50px;*/
/*    margin-top: 0px;*/
/*    display: block;*/
/*    margin-left: auto;*/
/*    margin-right: auto;*/
/*}*/
/*body#nminafo div.comments {*/
/*    width: fit-content;*/
/*    margin-left: auto;*/
/*    margin-right: auto;*/
/*    padding-top: 13px;*/
/*}*/
/*body#nminafo #comments-label {*/
/*    width: fit-content;*/
/*    float: left;*/
/*    margin-left: auto;*/
/*    margin-right: auto;*/
/*}*/
/*#nminafo div.lb-data {*/
/*    width: 100%;*/
/*    display: inline-block;*/
/*}*/
/*#nminafo div.lb-details {*/
/*    width: fit-content;*/
/*}*/
/*#nminafo .lb-data .lb-details {*/
/*    float: left;*/
/*    text-align: left;*/
/*    line-height: 1.1em;*/
/*}*/
/*body#nminafo div#description-label {*/
/*    width: fit-content;*/
/*    float: right;*/
/*    margin-left: auto;*/
/*    margin-right: auto;*/
/*    padding-left: 10px;*/
/*}*/
body#nminafo #superOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001; /* High z-index to appear on top */
}

body#nminafo .superContainer {
    /* This container will be centered by the flex properties of its parent */
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

body#nminafo .super-lb-image {
    /* Ensure the image scales within the container */
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
/* =========================================================
   LIGHTBOX JUDGING UI
   Scoped to body#nminafo
   New structure:
   .lightbox
     .lb-shell
       .lb-stage
         .lb-imageWrap
       .lb-footer
         .lb-meta
         .lb-center
         .lb-actions
   ========================================================= */

body {
    --lb-footer-height: 155px;
    --lb-bg: #323232;
    --lb-panel: rgba(10, 11, 14, 0.88);
    --lb-text: #ffffff;
    --lb-text-muted: rgba(255,255,255,0.78);
    --lb-text-soft: rgba(255,255,255,0.62);
    --lb-border: rgba(255,255,255,0.10);
    --lb-image-border: rgba(255,255,255,0.42);
    --lb-key-bg: rgba(255,255,255,0.08);
    --lb-key-border: rgba(255,255,255,0.14);
    --lb-focus: rgba(13,110,253,0.18);
}

/* optional: hide fixed navbar while lightbox is open */
body.lightbox-open .fixed-top {
    visibility: hidden;
}

/* =========================================================
   OVERLAY + LIGHTBOX ROOT
   ========================================================= */

body #lightboxOverlay {
    position: fixed !important;
    inset: 0;
    z-index: 9998 !important;
    background: rgba(0, 0, 0, 0.78) !important;
}

body #lightbox {
    position: fixed !important;
    inset: 0;
    z-index: 9999 !important;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--lb-bg);
    color: var(--lb-text);
    font-family: Arial, Helvetica, sans-serif;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
}

/* =========================================================
   SHELL
   ========================================================= */

/*body #lightbox .lb-shell {*/
/*    width: 100%;*/
/*    height: 100vh;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    overflow: hidden;*/
/*    box-sizing: border-box;*/
/*}*/

/* =========================================================
   STAGE / IMAGE AREA
   ========================================================= */

body #lightbox .lb-stage {
    flex: 0 0 auto;
    height: calc(100vh - var(--lb-footer-height));
    min-height: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 10px 10px 0;
    position: relative;
    box-sizing: border-box;
}

body #lightbox .lb-imageWrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

body #lightbox .lb-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 1px solid var(--lb-image-border);
    border-radius: 6px;
    background: #1b1b1d;
    box-sizing: border-box;
}

/* neutralize old lightbox wrappers if still present */
body #lightbox .lb-outerContainer,
body #lightbox .lb-container {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    min-height: 0;
}

/* =========================================================
   NAV
   ========================================================= */

body #lightbox .lb-nav {
    position: absolute;
    inset: 0;
    z-index: 50;
    pointer-events: none;
}

body #lightbox .lb-nav a {
    pointer-events: auto;
    opacity: 0.65;
    transition: opacity 0.18s ease;
}

body #lightbox .lb-nav a:hover {
    opacity: 1;
}

body #lightbox .lb-full {
    position: absolute;
    top: 14px;
    right: 14px;
}

/* =========================================================
   READONLY COMMENT OVERLAY
   ========================================================= */

body #lightbox .comments_readonly {
    z-index: 200;
    max-width: 360px;
}

/*
body#nminafo #lightbox .comments_readonly.hidden-comments {
    display: none;
}
*/

body #lightbox #jury_comment {
    /*background: rgba(0,0,0,0.46);*/
    /*backdrop-filter: blur(8px);*/
    /*border: 1px solid rgba(255,255,255,0.14);*/
    /*border-radius: 10px;*/
    padding: 10px 12px;
    padding-top: unset;
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}

/* =========================================================
   LOADER
   ========================================================= */

body #lightbox .lb-loader {
    position: absolute;
    z-index: 220;
}

/* =========================================================
   FOOTER
   ========================================================= */

body #lightbox .lb-footer,
#lightbox.jury-lb-scoremode .lb-footer {
    flex: 0 0 var(--lb-footer-height);
    min-height: var(--lb-footer-height);
    max-height: var(--lb-footer-height);
    overflow: hidden;
    display: grid;
    grid-template-columns: 450px 1fr 450px;
    align-items: start;
    gap: 18px;
    padding: 8px 14px 12px;
    background: var(--lb-panel);
    border-top: 1px solid var(--lb-border);
    box-sizing: border-box;
}

/* =========================================================
   META COLUMN
   ========================================================= */

body#nminafo #lightbox .lb-meta {
    min-width: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

body#nminafo #lightbox .lb-dataContainer {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    position: static !important;
    z-index: auto !important;
}

body#nminafo #lightbox .lb-data {
    background: transparent !important;
    padding: 0 !important;
    display: block !important;
}

body#nminafo #lightbox .lb-details {
    width: 100% !important;
    float: none !important;
    color: var(--lb-text-muted);
    font-size: 14px;
    line-height: 1.35;
}

body#nminafo #lightbox .lb-caption,
body#nminafo #lightbox #lb_points,
body#nminafo #lightbox .lb-number,
body#nminafo #lightbox .lb-points,
body#nminafo #lightbox .lb-accepted,
body#nminafo #lightbox .lb-jury-points,
body#nminafo #lightbox .lb-jury-orig-average {
    display: block;
    float: none !important;
    margin: 0;
}

body#nminafo #lightbox .lb-caption,
body#nminafo #lightbox #lb_points {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

body#nminafo #lightbox .lb-number {
    color: var(--lb-text-muted);
    margin-bottom: 4px;
}

body#nminafo #lightbox .lb-points {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 4px;
}

body#nminafo #lightbox .lb-jury-points,
body#nminafo #lightbox .lb-jury-orig-average,
body#nminafo #lightbox .lb-accepted {
    color: var(--lb-text-soft);
    font-size: 14px;
}

body#nminafo #lightbox .lb-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

body#nminafo #lightbox .lb-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--lb-text);
}

body#nminafo #lightbox .lb-exif {
    font-size: 13px;
    line-height: 1.35;
    color: var(--lb-text-soft);
}

/* =========================================================
   CENTER COLUMN
   ========================================================= */

body#nminafo #lightbox .lb-center {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* =========================================================
   INPUT / SCORE / EXIF
   ========================================================= */

body#nminafo #lightbox .lb-input {
    width: 100%;
    margin: 0 !important;
    padding: 0;
    font-size: 14px !important;
    color: #fff;
    position: relative;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent !important;
}

body#nminafo #lightbox .lb-exif {
    min-height: 16px;
    text-align: center;
    color: rgba(255,255,255,0.56);
    font-size: 12px;
    padding: 0 0 4px 0 !important;
    width: unset;
}

/* hide old table-like layout if it still exists in the new markup accidentally */
body#nminafo #lightbox .divTable,
body#nminafo #lightbox .divTableBody,
body#nminafo #lightbox .divTableColumn,
body#nminafo #lightbox .divTableRow {
    all: unset;
}

body#nminafo #lightbox .lb-scoring {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

body#nminafo #lightbox .lb-scoreBlock {
    display: flex;
    justify-content: center;
    /*align-items: flex-end;*/
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

body#nminafo #lightbox .lb-currentMedal {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
}

body#nminafo #lightbox #medal-lightbox {
    display: flex;
    align-items: center;
    justify-content: center;
}

body#nminafo #lightbox #medal-lightbox img {
    width: 30px !important;
    height: 30px !important;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
}

body#nminafo #lightbox .lb-scoreController {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* robust selectors for the actual scoring input */
body#nminafo #lightbox .lb-scoreController input,
body#nminafo #lightbox .lb-scoreController .lb-input,
body#nminafo #lightbox input.lb-input[image_id] {
    width: 84px !important;
    height: 36px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.18);
    background: #fff;
    color: #111;
    font-size: 18px !important;
    font-weight: 700;
    text-align: center;
    padding: 4px 8px;
    box-shadow: none;
    outline: none;
    box-sizing: border-box;
}

body#nminafo #lightbox .lb-scoreController input,
body#nminafo #lightbox .lb-scoreController .lb-input,
body#nminafo #lightbox input.lb-input[image_id] {
    color: #fff !important;
}

body#nminafo #lightbox .lb-scoreController input:focus,
body#nminafo #lightbox .lb-scoreController .lb-input:focus,
body#nminafo #lightbox input.lb-input[image_id]:focus {
    border-color: #7db5ff;
    box-shadow: 0 0 0 0.18rem var(--lb-focus);
}

body#nminafo #lightbox .lb-scoreLabel {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--lb-text-muted);
    font-size: 13px;
    line-height: 1.2;
}

body#nminafo #lightbox .lb-scoreLabel span {
    color: #fff;
    font-weight: 600;
}

/* =========================================================
   MEDAL SUMMARY
   ========================================================= */

body#nminafo #lightbox .lb-medalSummary {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 8px;
}

body#nminafo #lightbox #medals {
    display: flex !important;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    clear: none !important;
    float: none !important;
    font-size: 13px !important;
    margin: 0;
}

body#nminafo #lightbox .lb-medalItem,
body#nminafo #lightbox #gold-group,
body#nminafo #lightbox #silver-group,
body#nminafo #lightbox #bronze-group,
body#nminafo #lightbox #badge-group,
body#nminafo #lightbox #rejected-group {
    float: none !important;
    clear: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 38px;
    text-align: center;
}

body#nminafo #lightbox #gold-group img,
body#nminafo #lightbox #silver-group img,
body#nminafo #lightbox #bronze-group img,
body#nminafo #lightbox #badge-group img,
body#nminafo #lightbox #rejected-group img,
body#nminafo #lightbox .lb-medalItem img {
    width: 30px !important;
    height: 30px !important;
    display: block;
    margin: 0 auto 4px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
}

body#nminafo #lightbox #gold-medal-count,
body#nminafo #lightbox #silver-medal-count,
body#nminafo #lightbox #bronze-medal-count,
body#nminafo #lightbox #badge-medal-count,
body#nminafo #lightbox #rejected-medal-count {
    padding-top: 0 !important;
    color: rgba(255,255,255,0.92);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.1;
}

/* =========================================================
   SHORTCUTS
   ========================================================= */

body#nminafo #lightbox .comments {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    /*margin-top: 4px;*/
    color: var(--lb-text-muted);
    font-size: 14px;
    text-align: center;
    position: relative;
    z-index: 110;
    padding-top: 3px;
}
body#nminafo .lb-scoreBlock .divTableCell {
    padding: unset;
}

body#nminafo #lightbox .comments.hidden-comments {
    display: flex;
}

body#nminafo #lightbox #comments-label,
body#nminafo #lightbox #description-label {
    margin: 0 !important;
    padding: 0 !important;
}

body#nminafo #lightbox #comments-label > span,
body#nminafo #lightbox #description-label > span {
    color: rgba(255,255,255,0.84) !important;
}

body#nminafo #lightbox #comments-label > span > span,
body#nminafo #lightbox #description-label > span > span {
    display: inline-block;
    min-width: 18px;
    padding: 1px 6px;
    margin-right: 4px;
    border-radius: 4px;
    background: var(--lb-key-bg);
    border: 1px solid var(--lb-key-border);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 600;
    line-height: 1.2;
}

/* =========================================================
   ACTIONS / CLOSE
   ========================================================= */

body#nminafo #lightbox .lb-actions {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

body#nminafo #lightbox .lb-closeContainer {
    width: 100%;
    float: none !important;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

body#nminafo #lightbox .lb-close {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    text-decoration: none;
    opacity: 1 !important;
    background: none !important;
    position: relative;
}

body#nminafo #lightbox .lb-close::before {
    content: "×";
    font-size: 36px;
    line-height: 1;
    color: rgba(255,255,255,0.85);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
    body#nminafo {
        --lb-footer-height: 165px;
    }

    body#nminafo #lightbox .lb-footer {
        grid-template-columns: 220px 1fr 60px;
        gap: 12px;
        padding-left: 10px;
        padding-right: 10px;
    }

    body#nminafo #lightbox #medals {
        gap: 10px;
    }

    body#nminafo #lightbox .comments_readonly {
        max-width: 280px;
    }
}

@media (max-width: 820px) {
    body#nminafo {
        --lb-footer-height: 230px;
    }

    body#nminafo #lightbox .lb-footer {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-bottom: 10px;
    }

    body#nminafo #lightbox .lb-meta,
    body#nminafo #lightbox .lb-center,
    body#nminafo #lightbox .lb-actions {
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    body#nminafo #lightbox .lb-details {
        text-align: center;
    }

    body#nminafo #lightbox .lb-closeContainer {
        justify-content: center;
    }

    body#nminafo #lightbox .comments_readonly {
        left: 12px;
        top: 12px;
        max-width: calc(100% - 24px);
    }
}
@media (max-width: 1207px) {
    /* iPhone 17 Plus/Pro Max and smaller */
    /* Your iPhone 17 specific styles here */
    .judge-score-page .judge-score-counter {
        padding: 18px 0px 18px 0;
    }
    .judge-score-page .judge-page-header-actions,
    .judge-score-page .judge-middle,
    .judge-score-page .judge-score-row .judge-score-buttons,
    .judge-score-page .jury-scoremode-list .judge-score-actions,
    .judge-score-page .doubleview{
        display: none !important;
    }
    .judge-score-page .jury-scoremode-list .judge-layout {
        grid-template-columns: 150px 1fr;
        column-gap: 0px;
    }
}
/* =========================================================
   REFINED CSS PASS – LISTING
   Focus: score card polish
   Scoped to body#nminafo
   ========================================================= */

body#nminafo {
    --judge-border: #d9dee3;
    --judge-text: #111;
    --judge-muted: #5c6770;
    --judge-blue: #2f6f96;
    --judge-blue-soft: #3d7da5;
    --judge-link: #0a66d9;
    --judge-link-hover: #084fa8;
    --judge-card-bg: #dff0fa;
    --judge-card-border: #c9e3f0;
    --judge-input-border: #8e9499;
    --judge-focus: rgba(77,147,199,.16);
}

/* =========================================================
   ROW LAYOUT
   ========================================================= */

body#nminafo .judge-row-counter {
    width: 64px;
    padding: 20px 10px 20px 0;
    border-bottom: 1px solid var(--judge-border);
    background: #fff;
    vertical-align: top;
    white-space: normal !important;
}

body#nminafo .judge-row-main {
    padding: 20px 0;
    border-bottom: 1px solid var(--judge-border);
    background: #fff;
    vertical-align: top;
    white-space: normal !important;
}

body#nminafo .judge-index {
    width: 47px;
    margin: 0 auto;
    font-size: 2rem;
    line-height: 1;
    color: #222;
    text-align: center;
    padding-top: 58px;
    font-weight: 400;
}

body#nminafo .judge-layout {
    display: grid;
    grid-template-columns: 300px minmax(420px, 1fr) 500px;
    gap: 28px;
    align-items: start;
    white-space: normal !important;
}

body#nminafo .judge-left,
body#nminafo .judge-middle,
body#nminafo .judge-right {
    min-width: 0;
    white-space: normal !important;
}
body#nminafo .judge-middle{
    margin-right: 15px;
}

/* =========================================================
   LEFT – THUMBNAIL / TITLE
   ========================================================= */

body#nminafo .judge-thumb-block {
    min-width: 0;
}

body#nminafo .judge-thumb-link,
body#nminafo .judge-thumb-block a {
    display: inline-block;
    text-decoration: none;
}

body#nminafo .judge-thumb,
body#nminafo .judge-thumb-block img {
    width: 270px;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.10);
}

body#nminafo .judge-title,
body#nminafo .thumbnail-label {
    margin-top: 14px;
    font-size: 1.08rem;
    line-height: 1.32;
    color: var(--judge-text);
    white-space: normal !important;
}

body#nminafo .judge-title strong,
body#nminafo .thumbnail-label strong {
    font-weight: 700;
}

body#nminafo .judge-photographer {
    margin-top: 6px;
    font-size: .96rem;
    line-height: 1.3;
    color: #4b4f54;
}

/* =========================================================
   MIDDLE – COMMENT
   ========================================================= */

body#nminafo .judge-comment-wrap {
    position: relative;
    min-width: 0;
    white-space: normal !important;
}

body#nminafo .judge-comment,
body#nminafo textarea.text-comments {
    width: 100%;
    min-height: 175px;
    padding: 16px 18px;
    border: 1px solid #8f979f;
    border-radius: 12px;
    resize: vertical;
    font-size: 1.08rem;
    line-height: 1.35;
    color: #222;
    background: #fff;
    box-sizing: border-box;
}

body#nminafo .judge-comment::placeholder,
body#nminafo textarea.text-comments::placeholder {
    color: #7a7a7a;
}

body#nminafo .judge-comment:focus,
body#nminafo textarea.text-comments:focus {
    outline: none;
    border-color: #4d93c7;
    box-shadow: 0 0 0 .2rem var(--judge-focus);
}

body#nminafo .judge-comment-meta {
    margin-top: 8px;
    font-size: 0.96rem;
    line-height: 1.3;
    color: #4b4f54;
}

body#nminafo .judge-comment-title {
    font-weight: 600;
    color: #222;
}

body#nminafo .judge-comment-photographer {
    color: #555;
}

/* =========================================================
   RIGHT – SCORE CARD
   ========================================================= */

body#nminafo .judge-right {
    display: block;
    align-self: start;
    white-space: normal !important;
    margin-left: -26px;
}

body#nminafo .judge-right-content,
.judge-final-card-container {
    display: flex;
    flex: 20px auto;
    align-items: flex-start;
}
body#nminafo .judge-final-card {
    width: 100%;
}
.judge-right-content .doubleview,
.judge-final-card-container .doubleview {
    flex-shrink: 0;
    margin-top: 8px; /* Adjust to align with score card content */
    margin-right: 10px;
}

.judge-score-card {
    width: 100%;
    max-width: 500px;
    background: var(--judge-card-bg);
    border: 1px solid var(--judge-card-border);
    border-radius: 26px;
    padding: 18px 22px 20px;
    box-sizing: border-box;
    min-height: 0;
    height: auto;
    display: flow-root;
    white-space: normal !important;
}

/* header row */
.judge-score-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    white-space: normal !important;
}

.judge-score-meta {
    min-width: 0;
    display: flex;
    align-items: center;
    white-space: normal !important;
}

body#nminafo .judge-image-id {
    font-size: 1.1rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--judge-blue);
    margin: 0;
}

body#nminafo .judge-rank-medal,
body#nminafo .judge-award-wrap {
    margin-left: auto;
    flex: 0 0 auto;
    min-width: 38px;
    min-height: 38px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

body#nminafo .judge-rank-medal img,
body#nminafo .judge-award-wrap img,
body#nminafo .judge-award-wrap .award img {
    width: 38px !important;
    height: 38px !important;
    display: block;
}

body#nminafo .judge-award-wrap .award {
    min-width: 38px;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* hide compare row unless you truly need it */
body#nminafo .judge-score-tools {
    display: none !important;
}

/* content wrapper */
.judge-score-panel,
.judge-score-card .decimals,
body#nminafo .judge-decimals {
    width: 100%;
    display: block;
    white-space: normal !important;
}

/* score row */
body#nminafo .judge-score-row {
    display: flex;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: start;
    column-gap: 16px;
    row-gap: 10px;
    white-space: normal !important;
}

body#nminafo .judge-score-label {
    flex: 0 0 auto;
    font-size: 1.1rem;
    line-height: 1.2;
    color: var(--judge-blue);
    margin: 0;
    font-weight: 700;
    white-space: nowrap;
}

body#nminafo .judge-score-input,
body#nminafo input.judge-score-input,
body#nminafo input.decimal_points {
    flex: 0 0 142px;
    width: 142px;
    max-width: 142px;
    height: 54px;
    border: 1px solid var(--judge-input-border);
    border-radius: 10px;
    background: #fff;
    color: #111;
    font-size: 1.65rem;
    font-weight: 700;
    padding: .2rem .75rem;
    box-sizing: border-box;
}

body#nminafo .judge-score-input:focus,
body#nminafo input.judge-score-input:focus,
body#nminafo input.decimal_points:focus {
    outline: none;
    border-color: #4d93c7;
    box-shadow: 0 0 0 .2rem var(--judge-focus);
}

/* previous scores below */
body#nminafo .judge-prev-scores,
body#nminafo .span-jury-points.judge-prev-scores {
    display: block;
    font-size: 1rem;
    line-height: 1.25;
    color: var(--judge-blue-soft);
    margin: 0 0 10px 0;
    white-space: normal !important;
}

/* extra points hidden unless needed */
body#nminafo .judge-extra-points {
    display: none;
}

/* help text */
body#nminafo .judge-score-help {
    font-size: 1rem;
    line-height: 1.3;
    color: var(--judge-blue);
    margin: 0 0 12px 0;
    white-space: normal !important;
}

/* action links */
body#nminafo .judge-score-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    white-space: normal !important;
}

body#nminafo .judge-score-actions .author_images,
body#nminafo .judge-score-actions .image_description {
    display: block;
    float: none !important;
    clear: none !important;
}

body#nminafo .judge-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--judge-link);
    text-decoration: underline;
    line-height: 1.25;
    white-space: normal !important;
}

body#nminafo .judge-link:hover {
    color: var(--judge-link-hover);
}

/* =========================================================
   LEGACY CLEANUP
   ========================================================= */

body#nminafo .box-jury {
    background: transparent;
    border: 0;
    padding: 0;
}

body#nminafo .points_links {
    margin-top: 0;
}

body#nminafo .judge-right label.control-label {
    margin-bottom: 0;
}

body#nminafo .judge-score-card .author_images,
body#nminafo .judge-score-card .image_description,
body#nminafo .judge-score-card .points_links,
body#nminafo .judge-score-card .award,
body#nminafo .judge-score-card .gold-points,
body#nminafo .judge-score-card .gold-total-points {
    float: none !important;
    clear: none !important;
}

/* rejected row */
body#nminafo .judge-row-rejected > .judge-row-counter,
body#nminafo .judge-row-rejected > .judge-row-main {
    box-shadow: inset 6px 0 0 #d93025;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1500px) {
    body#nminafo .judge-layout {
        grid-template-columns: 280px minmax(360px, 1fr) 440px;
        gap: 22px;
    }

    body#nminafo .judge-thumb,
    body#nminafo .judge-thumb-block img {
        width: 245px;
    }
}

@media (max-width: 1300px) {
    body#nminafo .judge-layout {
        grid-template-columns: 250px minmax(320px, 1fr) 400px;
        gap: 18px;
    }

    body#nminafo .judge-thumb,
    body#nminafo .judge-thumb-block img {
        width: 220px;
    }

    body#nminafo .judge-index {
        font-size: 1.7rem;
        padding-top: 40px;
    }

    body#nminafo .judge-comment,
    body#nminafo textarea.text-comments {
        min-height: 165px;
    }
}

@media (max-width: 992px) {
    body#nminafo .judge-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body#nminafo .judge-index {
        padding-top: 0;
    }

    body#nminafo .judge-right {
        max-width: 460px;
    }

    body#nminafo .judge-row-counter {
        width: 48px;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    body#nminafo .judge-row-main {
        padding-top: 24px;
        padding-bottom: 24px;
    }
}

@media (max-width: 767.98px) {
    body#nminafo .judge-thumb,
    body#nminafo .judge-thumb-block img {
        width: 190px;
    }

    body#nminafo .judge-score-card {
        padding: 16px 16px 14px;
        border-radius: 18px;
    }

    body#nminafo .judge-comment,
    body#nminafo textarea.text-comments {
        min-height: 140px;
        font-size: 1rem;
    }

    body#nminafo .judge-image-id {
        font-size: 1rem;
    }

    body#nminafo .judge-score-label,
    body#nminafo .judge-prev-scores,
    body#nminafo .judge-score-help,
    body#nminafo .judge-link {
        font-size: .95rem;
    }

    body#nminafo .judge-score-input,
    body#nminafo input.judge-score-input,
    body#nminafo input.decimal_points {
        width: 112px;
        max-width: 112px;
        height: 46px;
        font-size: 1.4rem;
    }
}
body#nminafo .jury-summary-text {
    margin: 18px 0 28px;
}

body#nminafo .jury-summary-card {
    background: #fff;
    border: 1px solid #d9dee3;
    border-radius: 14px;
    padding: 14px;
}

body#nminafo .jury-summary-card:focus-within {
    border-color: #4d93c7;
    box-shadow: 0 0 0 .2rem rgba(77,147,199,.12);
}

body#nminafo .jury-summary-text textarea.text-gen-comments {
    width: 100%;
    min-height: 110px;
    border: 0;
    outline: none;
    resize: vertical;
    background: transparent;
    font-size: 1.05rem;
    line-height: 1.45;
    padding: 0;
}
body#nminafo .container {
    padding-left: 0;
    padding-right: 0;
}
.doubleview {
    width: 40px;
}

/* =========================================================
   RADIO BUTTON LIGHTBOX – COMPLETE CSS
   Scoped to:
   body#nminafo #lightbox.jury-lb-scoremode
   ========================================================= */

body {
    --lb-footer-height: 200px;
    --lb-bg: #323232;
    --lb-panel: rgba(18, 20, 24, 0.9);
    --lb-text: #ffffff;
    --lb-text-muted: rgba(255,255,255,0.82);
    --lb-text-soft: rgba(255,255,255,0.62);
    --lb-border: rgba(255,255,255,0.10);
    --lb-image-border: rgba(255,255,255,0.42);
    --lb-key-bg: rgba(255,255,255,0.08);
    --lb-key-border: rgba(255,255,255,0.14);
    --lb-accent: #0d6efd;
    --lb-accent-soft: rgba(13,110,253,.18);
}

/* optional */
body#nminafo.lightbox-open .fixed-top {
    visibility: hidden;
}

/* =========================================================
   OVERLAY + ROOT
   ========================================================= */

body#nminafo #lightboxOverlay {
    position: fixed !important;
    inset: 0;
    z-index: 9998 !important;
    background: rgba(0, 0, 0, 0.78) !important;
}

#lightbox.jury-lb-scoremode,
#lightbox.jury-lb-final {
    position: fixed !important;
    inset: 0;
    z-index: 9999 !important;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--lb-bg);
    color: var(--lb-text);
    font-family: Arial, Helvetica, sans-serif;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
}

/* =========================================================
   SHELL
   ========================================================= */

#lightbox.jury-lb-scoremode .lb-shell,
#lightbox.jury-lb-final .lb-shell{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

/* =========================================================
   TOP BAR
   ========================================================= */

#lightbox.jury-lb-scoremode .lb-topbar,
body#nminafo #lightbox.final-judging .lb-topbar {
    flex: 0 0 auto;
    min-height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px 4px;
    box-sizing: border-box;
}

#lightbox.jury-lb-scoremode .lb-comp-rules {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    font-size: 14px;
    line-height: 1.2;
    color: var(--lb-text-muted);
    text-align: center;
}

#lightbox.jury-lb-scoremode .lb-accept-status {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    font-size: 14px;
    line-height: 1.2;
    color: var(--lb-text-muted);
    text-align: center;
    padding-right: 18px;
}


#lightbox.jury-lb-scoremode .lb-comp-rules .lb-key,
#lightbox.jury-lb-scoremode .comments span > span,
body#nminafo #lightbox.final-judging .lb-comp-rules .lb-key{
    display: inline-block;
    min-width: 18px;
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--lb-key-bg);
    border: 1px solid var(--lb-key-border);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

/* =========================================================
   STAGE / IMAGE
   ========================================================= */

#lightbox.jury-lb-scoremode .lb-stage {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 4px 24px 0;
    box-sizing: border-box;
    position: relative;
}

#lightbox.jury-lb-scoremode .lb-imageWrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#lightbox.jury-lb-scoremode .div-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#lightbox.jury-lb-scoremode .lb-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 1px solid var(--lb-image-border);
    border-radius: 4px;
    background: #1b1b1d;
    box-sizing: border-box;
}

/* =========================================================
   NAV
   ========================================================= */

#lightbox.jury-lb-scoremode .lb-nav {
    position: absolute;
    inset: 0;
    z-index: 50;
    pointer-events: none;
}

#lightbox.jury-lb-scoremode .lb-nav a {
    pointer-events: auto;
    opacity: .75;
    transition: opacity .18s ease;
}

#lightbox.jury-lb-scoremode .lb-nav a:hover {
    opacity: 1;
}

#lightbox.jury-lb-scoremode .lb-nav a.lb-next {
    margin-left: auto;
}

#lightbox.jury-lb-scoremode .lb-full {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* =========================================================
   READONLY COMMENT
   ========================================================= */

#lightbox.jury-lb-scoremode .comments_readonly {
    position: unset !important;
    left: unset !important;
    top: unset !important;
    /*position: absolute;*/
    /*left: 18px;*/
    /*top: 18px;*/
    z-index: 200;
    max-width: 360px;
    display: block !important;
}

#lightbox.jury-lb-scoremode .comments_readonly.hidden-comments {
    display: block;
}

#lightbox.jury-lb-scoremode #jury_comment {
    background: unset !important;
    backdrop-filter: blur(8px);
    border: unset !important;
    border-radius: 10px;
    /*padding: 10px 12px;*/
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}

/* =========================================================
   LOADER
   ========================================================= */

#lightbox.jury-lb-scoremode .lb-loader {
    position: absolute;
    z-index: 220;
}

/* =========================================================
   FOOTER
   ========================================================= */

/*#lightbox.jury-lb-scoremode .lb-footer {*/
/*    flex: 0 0 var(--lb-footer-height);*/
/*    min-height: var(--lb-footer-height);*/
/*    max-height: var(--lb-footer-height);*/
/*    display: grid;*/
/*    grid-template-columns: 450px 1fr 450px;*/
/*    gap: 18px;*/
/*    align-items: end;*/
/*    padding: 10px 24px 16px;*/
/*    background: var(--lb-panel);*/
/*    box-sizing: border-box;*/
/*}*/

/* =========================================================
   META COLUMN
   ========================================================= */

#lightbox.jury-lb-scoremode .lb-meta {
    min-width: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    padding-bottom: 50px;
}

#lightbox.jury-lb-scoremode .lb-dataContainer {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

#lightbox.jury-lb-scoremode .lb-data {
    background: transparent !important;
    padding: 0 !important;
    display: block !important;
}

#lightbox.jury-lb-scoremode .lb-details {
    width: 100% !important;
    float: none !important;
    color: var(--lb-text-muted);
    font-size: 14px;
    line-height: 1.3;
}

#lightbox.jury-lb-scoremode .lb-caption,
#lightbox.jury-lb-scoremode .lb-number,
#lightbox.jury-lb-scoremode .lb-points,
#lightbox.jury-lb-scoremode .lb-accepted,
#lightbox.jury-lb-scoremode #lb_points,
#lightbox.jury-lb-scoremode .lb-jury-points,
#lightbox.jury-lb-scoremode .lb-jury-orig-average {
    display: block;
    float: none !important;
    margin: 0;
}

#lightbox.jury-lb-scoremode .lb-caption,
#lightbox.jury-lb-scoremode #lb_points {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

#lightbox.jury-lb-scoremode .lb-number {
    color: var(--lb-text-muted);
    margin-bottom: 4px;
}

#lightbox.jury-lb-scoremode .lb-points {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    margin-bottom: 4px;
    width: fit-content;
}

#lightbox.jury-lb-scoremode .lb-jury-points,
#lightbox.jury-lb-scoremode .lb-jury-orig-average,
#lightbox.jury-lb-scoremode .lb-average-points,
#lightbox.jury-lb-scoremode .lb-placement,
#lightbox.jury-lb-scoremode .lb-photographer{
    /*display: inline-block;*/
    white-space: nowrap;
    color: var(--lb-text-soft);
    font-size: 12px;
}

#lightbox.jury-lb-scoremode .lb-accepted {
    color: var(--lb-text-soft);
    font-size: 14px;
}

/* =========================================================
   CENTER COLUMN
   ========================================================= */

#lightbox.jury-lb-scoremode .lb-center {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 50px;
}

body#nminafo #lightbox.jury-lb-scoremode .lb-input {
    width: 100%;
    margin: 0 !important;
    padding: 0;
    color: #fff;
    background: transparent !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightbox.jury-lb-scoremode .lb-exif {
    min-height: 0;
    margin-bottom: 4px;
    text-align: center;
    color: var(--lb-text-soft);
    font-size: 12px;
    display: contents;
}

/* =========================================================
   SCORING BLOCK
   ========================================================= */

#lightbox.jury-lb-scoremode .lb-scoring {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
}

#lightbox.jury-lb-scoremode .lb-scoreBlock {
    width: 100%;
    display: flex;
    justify-content: center;
}

#lightbox.jury-lb-scoremode .lb-scoreController {
    display: flex;
    justify-content: center;
    width: 100%;
}

#lightbox.jury-lb-scoremode .lb-radioButtons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    width: 100%;
}

#lightbox.jury-lb-scoremode .lb-radioItem {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
    min-width: 34px;
    color: #fff;
    text-align: center;
}
/* ***** */
body#nminafo #lightbox.jury-lb-scoremode .lb-radioItem input[type="radio"],
body#default-theme #lightbox.jury-lb-scoremode .lb-radioItem input[type="radio"]{
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

#lightbox.jury-lb-scoremode .lb-radioDot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: 2px solid rgba(255,255,255,0.9);
    box-sizing: border-box;
    transition: all .18s ease;
}

#lightbox.jury-lb-scoremode .lb-radioText {
    font-size: 14px;
    line-height: 1;
    color: #fff;
}

#lightbox.jury-lb-scoremode .lb-radioItem input[type="radio"]:checked + .lb-radioDot {
    background: var(--lb-accent);
    border-color: #fff;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.24);
}

#lightbox.jury-lb-scoremode .lb-radioItem:hover .lb-radioDot {
    transform: scale(1.08);
}

#lightbox.jury-lb-scoremode .lb-scoreLabels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    width: 100%;
    margin-top: -2px;
}

#lightbox.jury-lb-scoremode .lb-scoreLabelItem {
    min-width: 24px;
    text-align: center;
    font-size: 13px;
    line-height: 1;
    color: rgba(255,255,255,0.9);
}

/* =========================================================
   SHORTCUTS BOTTOM
   ========================================================= */

#lightbox.jury-lb-scoremode .comments {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 4px;
    color: var(--lb-text-muted);
    font-size: 14px;
    text-align: center;
}

#lightbox.jury-lb-scoremode .comments.hidden-comments {
    display: flex;
}

#lightbox.jury-lb-scoremode #comments-label,
#lightbox.jury-lb-scoremode #description-label,
#lightbox.jury-lb-scoremode #next-label,
#lightbox.jury-lb-scoremode #prev-label,
#lightbox.jury-lb-scoremode #esc-label {
    margin: 0;
    padding: 0;
}

/* =========================================================
   ACTIONS / CLOSE
   ========================================================= */

#lightbox.jury-lb-scoremode .lb-actions {
    display: flex;
    justify-content: flex-end;
    align-items: end;
    padding-bottom: 50px;
}

#lightbox.jury-lb-scoremode .lb-closeContainer {
    width: 54px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#lightbox.jury-lb-scoremode .lb-close {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    text-decoration: none;
    background: none !important;
    position: relative;
    opacity: 1 !important;
}

#lightbox.jury-lb-scoremode .lb-close::before {
    content: "×";
    font-size: 40px;
    line-height: 1;
    color: rgba(255,255,255,0.88);
}

#lightbox.jury-lb-scoremode .lb-close:hover::before {
    color: #fff;
}

/* =========================================================
   SUPER OVERLAY
   ========================================================= */

body#nminafo #superOverlay,
body#default-theme #superOverlay{
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.9);
}

body#default-theme #superOverlay .superContainer,
body#nminafo #superOverlay .superContainer,
body#nminafo #superOverlay #superLightbox,
body#nminafo #superOverlay .super-div-img,
body#default-theme #superOverlay .super-div-img {
    width: 100%;
    height: 100%;
}

body#nminafo #superOverlay .super-div-img,
body#default-theme #superOverlay .super-div-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

#superOverlay .super-lb-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
    body#nminafo,body#default-theme {
        --lb-footer-height: 170px;
    }

    #lightbox.jury-lb-scoremode .lb-footer {
        grid-template-columns: 250px 1fr 56px;
        gap: 12px;
        padding-left: 16px;
        padding-right: 16px;
    }

    #lightbox.jury-lb-scoremode .lb-radioButtons {
        gap: 12px;
    }

    #lightbox.jury-lb-scoremode .lb-scoreLabels {
        gap: 14px;
    }

    #lightbox.jury-lb-scoremode .comments_readonly {
        max-width: 280px;
    }
}

@media (max-width: 820px) {
    body {
        --lb-footer-height: 235px;
    }

    #lightbox.jury-lb-scoremode .lb-stage {
        padding-left: 12px;
        padding-right: 12px;
    }

    #lightbox.jury-lb-scoremode .lb-footer {
        grid-template-columns: 1fr;
        gap: 12px;
        align-items: start;
        padding: 10px 12px 14px;
    }

    #lightbox.jury-lb-scoremode .lb-meta,
    #lightbox.jury-lb-scoremode .lb-center,
    #lightbox.jury-lb-scoremode .lb-actions {
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    #lightbox.jury-lb-scoremode .lb-details {
        text-align: center;
    }

    #lightbox.jury-lb-scoremode .lb-points {
        width: 100%;
        justify-content: center;
    }

    #lightbox.jury-lb-scoremode .lb-closeContainer {
        justify-content: center;
    }

    #lightbox.jury-lb-scoremode .comments_readonly {
        left: 12px;
        top: 12px;
        max-width: calc(100% - 24px);
    }

    #lightbox.jury-lb-scoremode .lb-comp-rules,
    #lightbox.jury-lb-scoremode .comments {
        font-size: 13px;
        gap: 10px;
    }
}

/* =========================================================
   JURY SCOREMODE LISTING
   Similar visual language as the decimals list
   Scoped to body#nminafo .jury-scoremode-list
   ========================================================= */

body {
    --judge-border: #d9dee3;
    --judge-text: #111;
    --judge-muted: #5c6770;
    --judge-blue: #2f6f96;
    --judge-link: #0a66d9;
    --judge-link-hover: #084fa8;
    --judge-card-bg: #dff0fa;
    --judge-card-border: #c9e3f0;
    --judge-input-border: #8e9499;
    --judge-focus: rgba(77,147,199,.16);
}

/* ---------- table / row ---------- */

.xxjury-scoremode-list {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.jury-scoremode-list .judge-row-counter {
    width: 45px;
    /*padding: 10px 10px 10px 0;*/
    border-bottom: 1px solid var(--judge-border);
    background: #fff;
    padding-left: 10px;
}

.jury-scoremode-list .judge-row-main {
    padding: 10px 0;
    border-bottom: 1px solid var(--judge-border);
    background: #fff;
}

.jury-scoremode-list .lb-radiobuttons {
    min-height: 80px;
}
.jury-scoremode-list .judge-comment {
    min-height: 175px !important;
}

.jury-scoremode-list .judge-index {
    width: 40px;
    margin: 0 auto;
    font-size: 2rem;
    line-height: 1;
    color: #222;
    text-align: center;
    padding-top: 52px;
    font-weight: 400;
}

.jury-scoremode-list .judge-middle {
    margin-right: unset;
}

/* ---------- 3-column layout ---------- */

.jury-scoremode-list .judge-layout {
    display: grid;
    grid-template-columns: 210px minmax(340px, 1fr) 500px;
    gap: 24px;
    align-items: start;
}

.jury-scoremode-list .judge-right {
    margin-left: unset;
}

.jury-scoremode-list .judge-left,
.jury-scoremode-list .judge-middle,
.jury-scoremode-list .judge-right {
    min-width: 0;
}

/* ---------- left: thumbnail / title ---------- */

.jury-scoremode-list .judge-thumb-block,
.jury-scoremode-list .judge-thumb-link {
    display: block;
    min-width: 0;
    text-decoration: none;
}

.jury-scoremode-list .judge-thumb,
.jury-scoremode-list .judge-thumb-block img {
    width: 300px;
    /*width: 210px;*/
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.10);
}

.jury-scoremode-list .judge-title,
.jury-scoremode-list .thumbnail-label {
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.32;
    color: var(--judge-text);
}

.jury-scoremode-list .judge-title strong,
.jury-scoremode-list .thumbnail-label strong {
    font-weight: 700;
}

/* ---------- middle: comment ---------- */

.jury-scoremode-list .judge-comment-wrap {
    position: relative;
    min-width: 0;
}

.jury-scoremode-list .judge-comment,
.jury-scoremode-list textarea.text-comments {
    width: 100%;
    min-height: 110px;
    padding: 14px 16px;
    border: 1px solid #8f979f;
    border-radius: 10px;
    resize: vertical;
    font-size: 1.03rem;
    line-height: 1.35;
    color: #222;
    background: #fff;
    box-sizing: border-box;
}

.jury-scoremode-list .judge-comment::placeholder,
.jury-scoremode-list textarea.text-comments::placeholder {
    color: #7a7a7a;
}

.jury-scoremode-list .judge-comment:focus,
.jury-scoremode-list textarea.text-comments:focus {
    outline: none;
    border-color: #4d93c7;
    box-shadow: 0 0 0 .2rem var(--judge-focus);
}

/* ---------- right: score card ---------- */

.jury-scoremode-list .judge-right {
    display: block;
    align-self: start;
}

.jury-scoremode-list .judge-score-card {
    width: 100%;
    max-width: 500px;
    background: var(--judge-card-bg);
    border: 1px solid var(--judge-card-border);
    border-radius: 18px;
    padding: 14px 16px 12px;
    box-sizing: border-box;
    display: block;
}

/* top row: id + selected score */
.jury-scoremode-list .judge-score-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.jury-scoremode-list .judge-score-meta {
    min-width: 0;
}

.jury-scoremode-list .judge-image-id {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--judge-blue);
    margin: 0;
}

.jury-scoremode-list .judge-current-score,
.jury-scoremode-list .judge-score-badge {
    min-width: 44px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(20, 36, 52, 0.7);
    border-radius: 6px;
    background: rgba(255,255,255,0.92);
    color: #15212c;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
}

/* radio scale */
.jury-scoremode-list .judge-radio-panel,
.jury-scoremode-list .judge-score-panel {
    width: 100%;
}

.jury-scoremode-list .judge-radio-buttons,
.jury-scoremode-list .lb-radioButtons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 4px;
}

.jury-scoremode-list .judge-radio-item,
.jury-scoremode-list .lb-radioItem {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 24px;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.jury-scoremode-list .judge-radio-item input[type="radio"],
.jury-scoremode-list .lb-radioItem input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.jury-scoremode-list .judge-radio-dot,
.jury-scoremode-list .lb-radioDot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #8e9499;
    background: #fff;
    box-sizing: border-box;
    transition: all .18s ease;
}

.jury-scoremode-list .judge-radio-text,
.jury-scoremode-list .lb-radioText {
    font-size: .95rem;
    line-height: 1;
    color: var(--judge-blue);
}

.jury-scoremode-list .judge-radio-item input[type="radio"]:checked + .judge-radio-dot,
.jury-scoremode-list .lb-radioItem input[type="radio"]:checked + .lb-radioDot {
    background: #0d6efd;
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13,110,253,.15);
}

.jury-scoremode-list .judge-radio-item:hover .judge-radio-dot,
.jury-scoremode-list .lb-radioItem:hover .lb-radioDot {
    transform: scale(1.08);
}

/* score labels row if present */
.jury-scoremode-list .judge-score-labels,
.jury-scoremode-list .lb-scoreLabels {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 2px;
}

.jury-scoremode-list .judge-score-label-item,
.jury-scoremode-list .lb-scoreLabelItem {
    min-width: 24px;
    text-align: center;
    font-size: .9rem;
    line-height: 1;
    color: var(--judge-blue);
}

/* help / actions */
.jury-scoremode-list .judge-score-help {
    font-size: .96rem;
    line-height: 1.3;
    color: var(--judge-blue);
    margin-top: 8px;
    margin-bottom: 8px;
}

.jury-scoremode-list .judge-score-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.jury-scoremode-list .judge-link {
    font-size: .95rem;
    font-weight: 500;
    color: var(--judge-link);
    text-decoration: underline;
    line-height: 1.25;
    padding-left: unset;
    padding-top: 15px;
}

.jury-scoremode-list .judge-link:hover {
    color: var(--judge-link-hover);
}

/* legacy compare buttons if still present */
.jury-scoremode-list .judge-score-tools,
.jury-scoremode-list .judge-comment-tools {
    display: none !important;
}

/* rejected row */
.jury-scoremode-list .judge-row-rejected > .judge-row-counter,
.jury-scoremode-list .judge-row-rejected > .judge-row-main {
    box-shadow: inset 6px 0 0 #d93025;
}

table.jury-scoremode-list div.lb-radiobuttons {
    max-width: unset !important;
}
table.jury-scoremode-list div.jury_comment {
    width: 100%;
}
/* ---------- responsive ---------- */

@media (max-width: 1500px) {
    .jury-scoremode-list .judge-layout {
        grid-template-columns: 190px minmax(300px, 1fr) 430px;
        gap: 20px;
    }

    .jury-scoremode-list .judge-thumb,
    .jury-scoremode-list .judge-thumb-block img {
        width: 135px;
    }
}

@media (max-width: 1200px) {
    .jury-scoremode-list .judge-layout {
        grid-template-columns: 180px minmax(260px, 1fr) 390px;
        gap: 16px;
    }

    .jury-scoremode-list .judge-index {
        font-size: 1.7rem;
        padding-top: 42px;
    }
}

@media (max-width: 992px) {
    .jury-scoremode-list .judge-layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .jury-scoremode-list .judge-index {
        padding-top: 0;
    }

    .jury-scoremode-list .judge-right {
        max-width: 500px;
    }

    .jury-scoremode-list .judge-row-counter {
        width: 48px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .jury-scoremode-list .judge-row-main {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .jury-scoremode-list .judge-thumb,
    .jury-scoremode-list .judge-thumb-block img {
        width: 120px;
    }

    .jury-scoremode-list .judge-score-card {
        padding: 12px 14px 10px;
        border-radius: 14px;
    }

    .jury-scoremode-list .judge-comment,
    .jury-scoremode-list textarea.text-comments {
        min-height: 96px;
        font-size: .98rem;
    }

    .jury-scoremode-list .judge-image-id {
        font-size: .96rem;
    }

    .jury-scoremode-list .judge-current-score,
    .jury-scoremode-list .judge-score-badge {
        font-size: 1.15rem;
        min-width: 28px;
        height: 28px;
        line-height: 26px;
    }

    .jury-scoremode-list .judge-radio-text,
    .jury-scoremode-list .lb-radioText,
    .jury-scoremode-list .judge-link {
        font-size: .9rem;
    }
}
/* superOverlay handling */
#superOverlay,
#superOverlay .superContainer,
#superOverlay #superLightbox,
#superOverlay .super-div-img {
    position: fixed;
    inset: 0;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
}
/* Header */
body#nminafo .judge-page-header-actions .btn-premium {
    --bs-btn-color: #24313d;
    --bs-btn-bg: #ffffff;
    --bs-btn-border-color: #cfd8e1;

    --bs-btn-hover-color: #15212c;
    --bs-btn-hover-bg: #f4f8fb;
    --bs-btn-hover-border-color: #b8c7d6;

    --bs-btn-active-color: #15212c;
    --bs-btn-active-bg: #eef4f8;
    --bs-btn-active-border-color: #aebfce;

    --bs-btn-disabled-color: #7b8794;
    --bs-btn-disabled-bg: #f8fafc;
    --bs-btn-disabled-border-color: #d8e0e7;

    --bs-btn-focus-shadow-rgb: 77,147,199;

    height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow:
            0 1px 2px rgba(16, 24, 40, 0.04),
            0 1px 1px rgba(16, 24, 40, 0.03);
    transition:
            background-color 0.18s ease,
            border-color 0.18s ease,
            color 0.18s ease,
            box-shadow 0.18s ease,
            transform 0.12s ease;
}

body#nminafo button.btn.btn-premium.btn-premium-icon.btn-grid-view {
    display: none;
}

body#nminafo .judge-page-header-actions .btn-premium:hover {
    transform: translateY(-1px);
    box-shadow:
            0 4px 10px rgba(16, 24, 40, 0.08),
            0 1px 2px rgba(16, 24, 40, 0.04);
}

body#nminafo .judge-page-header-actions .btn-premium:active {
    transform: translateY(0);
    box-shadow:
            0 1px 3px rgba(16, 24, 40, 0.06);
}

body#nminafo .judge-page-header-actions .btn-premium-icon {
    width: 40px;
    min-width: 40px;
    padding: 0;
}

body#nminafo .judge-page-header-actions .btn-premium-toggle {
    position: relative;
    overflow: hidden;
}

body#nminafo .judge-page-header-actions .btn-premium-toggle input.form-check-input {
    width: 16px;
    height: 16px;
    box-shadow: none;
    margin-top: 0;
    flex: 0 0 auto;
}

body#nminafo .judge-page-header-actions .btn-premium-toggle:has(input:checked) {
    --bs-btn-bg: #eaf5fb;
    --bs-btn-border-color: #b7d4e8;
    --bs-btn-color: #245f86;
}

body#nminafo .judge-page-header-actions .btn-premium-accent {
    --bs-btn-color: #245f86;
    --bs-btn-bg: #fafdff;
    --bs-btn-border-color: #b7d4e8;

    --bs-btn-hover-color: #194f73;
    --bs-btn-hover-bg: #eaf5fb;
    --bs-btn-hover-border-color: #9fc6df;

    --bs-btn-active-color: #194f73;
    --bs-btn-active-bg: #dceef9;
    --bs-btn-active-border-color: #95bdd8;
}
/* judge header */
.judge-page-meta,
.jury-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 6px;
    font-size: 1rem;
    line-height: 1.35;
}

.judge-page-meta .label,
.jury-meta .label {
    color: #6e7882;
    font-weight: 500;
    margin-right: 6px;
}

.judge-page-meta .value,
.jury-meta .value {
    color: #1f2933;
    font-weight: 700;
}
/* final judging list */
body {
    --judge-border: #d9dee3;
    --judge-text: #111;
    --judge-muted: #5c6770;
    --judge-blue: #2f6f96;
    --judge-blue-soft: #3d7da5;
    --judge-link: #0a66d9;
    --judge-link-hover: #084fa8;
    --judge-card-bg: #f8fbff;
    /*--judge-card-bg: #dff0fa;*/
    --judge-card-border: #d9e8f7;
    /*--judge-card-border: #c9e3f0;*/
    /*--judge-card-bg: #f7f7f7;*/
    /*--judge-card-border: #f7f7f7;*/
    /*--judge-card-bg: #f4f4f4;*/
    /*--judge-card-border: #f4f4f4;*/
    --judge-input-border: #8e9499;
    --judge-focus: rgba(77,147,199,.16);
}

/* header */
.judge-final-page .judge-page-header,
.grid .judge-page-header,
.judge-score-page .judge-page-header,
.admin.result-page .result-page-header{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin: 8px 0 16px;
}

.judge-final-page .judge-page-title,
.grid .judge-page-title{
    margin: 0 0 8px;
    font-size: 2rem;
    line-height: 1.15;
    color: #212529;
}

.judge-final-page .judge-page-meta,
.grid .judge-page-meta{
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 1rem;
    line-height: 1.35;
}

.judge-final-page .judge-page-meta .label,
.grid .judge-page-meta .label{
    color: #6e7882;
    font-weight: 500;
    margin-right: 6px;
}

.judge-final-page .judge-page-meta .value,
.grid .judge-page-meta .value{
    color: #1f2933;
    font-weight: 700;
}

.judge-final-page .judge-page-header-actions,
.grid .judge-page-header-actions,
.judge-score-page .judge-page-header-actions{
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 6px;
}

/* buttons */
.judge-final-page .judge-page-header-actions .btn-premium,
.grid .judge-page-header-actions .btn-premium,
.judge-score-page .judge-page-header-actions .btn-premium{
    --bs-btn-color: #24313d;
    --bs-btn-bg: #ffffff;
    --bs-btn-border-color: #cfd8e1;
    --bs-btn-hover-color: #15212c;
    --bs-btn-hover-bg: #f4f8fb;
    --bs-btn-hover-border-color: #b8c7d6;
    --bs-btn-active-color: #15212c;
    --bs-btn-active-bg: #eef4f8;
    --bs-btn-active-border-color: #aebfce;
    --bs-btn-focus-shadow-rgb: 77,147,199;

    height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 1px 2px rgba(16,24,40,0.04), 0 1px 1px rgba(16,24,40,0.03);
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .12s ease;
}

.judge-final-page .judge-page-header-actions .btn-premium:hover,
.grid .judge-page-header-actions .btn-premium:hover,
.judge-score-page .judge-page-header-actions .btn-premium:hover{
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(16,24,40,0.08), 0 1px 2px rgba(16,24,40,0.04);
}

.judge-final-page .judge-page-header-actions .btn-premium-icon,
.grid .judge-page-header-actions .btn-premium-icon,
.judge-score-page .judge-page-header-actions .btn-premium-icon{
    width: 40px;
    min-width: 40px;
    padding: 0;
}

.judge-final-page .judge-page-header-actions .btn-premium-toggle input.form-check-input {
    width: 16px;
    height: 16px;
    margin-top: 0;
    box-shadow: none;
}

/* summary */
.judge-final-page .jury-summary-section,
.grid .jury-summary-section,
.admin.result-page .jury-summary-section{
    margin: 8px 0 18px;
}
.judge-final-page .jury-summary-sub-section,
.grid .jury-summary-sub-section,
.admin.result-page .jury-summary-sub-section{
    display: flex;
    align-items: center;
}

.judge-final-page .jury-summary-sub-section > *:not(:last-child),
.grid .jury-summary-sub-section > *:not(:last-child),
.admin.result-page .jury-summary-sub-section > *:not(:last-child){
    margin-right: auto;
}

.judge-final-page .jury-summary-header,
.grid .jury-summary-header,
.admin.result-page .jury-summary-header{
    margin-bottom: 8px;
}

.judge-final-page .jury-summary-title,
.grid .jury-summary-title,
.admin.result-page  .jury-summary-title{
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
    color: #212529;
}

.judge-final-page .jury-summary-card,
.grid .jury-summary-card,
.admin.result-page .jury-summary-card{
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid var(--judge-border);
    border-radius: 14px;
    padding: 14px;
    overflow: hidden;
}

.judge-final-page .jury-summary-card:focus-within,
.grid .jury-summary-card:focus-within,
.admin.result-page .jury-summary-card:focus-within{
    border-color: #4d93c7;
    box-shadow: 0 0 0 .2rem rgba(77,147,199,.12);
}

.judge-final-page .jury-summary-textarea,
.grid .jury-summary-textarea,
.judge-final-page textarea.text-gen-comments,
.grid textarea.text-gen-comments,
.admin.result-page  .jury-summary-textarea{
    display: block;
    width: 100%;
    min-height: 110px;
    box-sizing: border-box;
    border: 0;
    outline: none;
    resize: vertical;
    background: transparent;
    padding: 0;
    margin: 0;
}

/* final list */
.judge-final-page .judge-final-list {
    width: 100%;
}

.judge-final-page .judge-final-row,
.judge-score-page .judge-score-row{
    display: grid;
    grid-template-columns: 56px 1fr;
    border-bottom: 1px solid var(--judge-border);
    background: #fff;
}

.judge-final-page .judge-final-counter {
    padding: 18px 10px 18px 0;
}

.judge-score-page .judge-score-counter {
    padding: 18px 10px 18px 0;
}

.judge-final-page .judge-final-main,
.judge-score-page .judge-score-main{
    padding: 18px 0;
}

.judge-final-page .judge-index {
    width: 40px;
    margin: 0 auto;
    font-size: 2rem;
    line-height: 1;
    color: #222;
    text-align: center;
    padding-top: 54px;
    font-weight: 400;
}

.judge-final-page .judge-final-layout {
    display: grid;
    grid-template-columns: 210px minmax(340px, 1fr) 560px;
    gap: 12px;
    align-items: start;
}

.judge-final-page .judge-final-left,
.judge-final-page .judge-final-middle,
.judge-final-page .judge-final-right,
.judge-final-list .judge-final-right {
    min-width: 0;
}

/* thumbnail */
.judge-final-page .judge-thumb-block {
    min-width: 0;
}

.judge-final-page .judge-thumb-link {
    display: inline-block;
    text-decoration: none;
}

.judge-final-page .judge-thumb {
    width: 170px;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.10);
}

.judge-final-page .judge-title,
.judge-final-page .placement,
.judge-final-page .judge-points,
.judge-final-page .average-points,
.judge-final-page .photographer {
    margin-top: 2px;
    font-size: 1.0rem;
    line-height: 1.2;
    color: var(--judge-text);
}

.judge-final-page .judge-title strong {
    font-weight: 700;
}

/* comment */
.judge-final-page .judge-comment-wrap {
    min-width: 0;
}

.judge-final-page .judge-comment,
.judge-final-page textarea.text-comments {
    width: 100%;
    min-height: 160px;
    padding: 14px 16px;
    border: 1px solid #8f979f;
    border-radius: 12px;
    resize: vertical;
    font-size: 1.05rem;
    line-height: 1.35;
    color: #222;
    background: #fff;
    box-sizing: border-box;
}

.jury-result .judge-comment {
    border: none !important;
    padding: 0 !important;
    min-height: 0 !important;
}

.judge-final-page .judge-comment::placeholder,
.judge-final-page textarea.text-comments::placeholder {
    color: #7a7a7a;
}

.judge-final-page .judge-comment:focus,
.judge-final-page textarea.text-comments:focus {
    outline: none;
    border-color: #4d93c7;
    box-shadow: 0 0 0 .2rem var(--judge-focus);
}

/* right card */
.judge-final-page .judge-final-card {
    width: 100%;
    max-width: 560px;
    background: var(--judge-card-bg);
    border: 1px solid var(--judge-card-border);
    border-radius: 18px;
    padding: 14px 18px 14px;
    box-sizing: border-box;
}

.judge-final-page .judge-final-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    white-space: normal !important;
}

.judge-final-page .judge-image-id {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--judge-blue);
}

.judge-final-page .judge-final-stats{
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 14px;
}

.judge-final-page .judge-final-stat {
    font-size: 0.98rem;
    line-height: 1.25;
    color: var(--judge-blue);
}

.judge-final-page .judge-final-stat .label {
    font-weight: 500;
    color: var(--judge-blue-soft);
    margin-right: 6px;
}

.judge-final-page .judge-final-stat .value,
.image-title-text {
    font-weight: 600;
    color: var(--judge-blue);
}

/* awards */
body:not(#nminafo) .judge-final-page .judge-final-awards {
    display: grid;
    grid-template-columns: repeat(6, minmax(70px, 1fr));
    gap: 12px 10px;
    align-items: start;
}

.judge-final-page .judge-award-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.judge-final-page .judge-award-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.judge-final-page .judge-award-dot,
.judge-score-page .judge-score-dot{
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #8e9499;
    background: #fff;
    box-sizing: border-box;
    transition: all .18s ease;
}

.judge-final-page .judge-award-item input[type="radio"]:checked + .judge-award-dot,
.judge-score-page .judge-score-item input[type="radio"]:checked + .judge-score-dot{
    background: #0d6efd;
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13,110,253,.15);
}

.judge-final-page .judge-award-label,
.judge-final-page .avg-score,
.judge-final-page .score-points-value{
    font-size: 0.95rem;
    line-height: 1.2;
    color: var(--judge-blue);
    white-space: nowrap;
}

.score-value.judge

/* responsive */
@media (max-width: 1500px) {
    .judge-final-page .judge-final-layout {
        grid-template-columns: 190px minmax(300px, 1fr) 500px;
        gap: 20px;
    }

    .judge-final-page .judge-thumb {
        width: 150px;
    }
}

@media (max-width: 1200px) {
    .judge-final-page .judge-final-layout {
        grid-template-columns: 180px minmax(260px, 1fr) 440px;
        gap: 16px;
    }

    .judge-final-page .judge-final-awards {
        grid-template-columns: repeat(3, minmax(90px, 1fr));
    }
}

@media (max-width: 992px) {
    .judge-final-page .judge-final-layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .judge-final-page .judge-final-right,
    .judge-final-list .judge-final-right {
        max-width: 560px;
    }

    .judge-final-page .judge-index {
        padding-top: 0;
    }
}

@media (max-width: 767.98px) {
    .judge-final-page .judge-thumb {
        width: 125px;
    }

    .judge-final-page .judge-comment,
    .judge-final-page textarea.text-comments {
        min-height: 100px;
        font-size: 1rem;
    }

    .judge-final-page .judge-final-awards {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }

    .judge-final-page .judge-award-label {
        font-size: 0.9rem;
    }
}
.judge-final-list .judge-final-row:nth-child(even),
.judge-score-list .judge-score-row:nth-child(even){
    background: #f6f8fb;
}

.judge-final-list .judge-final-row:nth-child(odd),
.judge-score-list .judge-score-row:nth-child(odd){
    background: #ffffff;
}

.judge-final-list .judge-final-row,
.judge-score-list .judge-score-row{
    transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

.judge-final-list .judge-final-row:hover,
.judge-score-list .judge-score-row:hover,
.judge-score-list .judge-row-main:hover,
.judge-score-page .judge-row-main:hover{
    background: #eef5fa !important;
}
#status-div {
    width: 100%;
}
.header .header-elements {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 10px;
}
.header .header-elements .judge-page-header-main{
}
.no-points {
    border-left: 5px solid red;
}
.judge-final-page .textDivRed,
.judge-final-page .textDivGreen {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
    pointer-events: none; /* Allows clicking through the overlay */
}.judge-final-page .textDivRed,
 .judge-final-page .textDivGreen {
     position: absolute;
     left: 0;
     right: 0;
     z-index: 10;
     text-align: center;
     pointer-events: none; /* Allows clicking through the overlay */
 }
.judge-final-page .textDivRed {
    color: red;
    font-weight: bold;
}
.judge-final-page .textDivGreen {
    color: green;
    font-weight: bold;
}
.judge-final-page .textDivRed {
    color: red;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.judge-final-page .textDivGreen {
    color: green;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.judge-final-page .textDivRed::before,
.judge-final-page .textDivRed::after {
    content: '';
    flex: 1;
    border-top: 2px dotted red;
    min-width: 50px;
}

.judge-final-page .textDivGreen::before,
.judge-final-page .textDivGreen::after {
    content: '';
    flex: 1;
    border-top: 2px dotted green;
    min-width: 50px;
}

.judge-final-page .textDivRed::before,
.judge-final-page .textDivGreen::before{
    margin-right: 10px;
}

.judge-final-page .textDivRed::after,
.judge-final-page .textDivRed::after{
    margin-left: 10px;
}
.judge-final-page .accept_above_limit {
    border-bottom:2px dotted red;
    border-left:2px dotted red;
    border-right:2px dotted red;
}
.judge-final-page .accept_limit_under_warning,.judge-final-page .accept_under_warning {
    border-top:2px dotted green;
    border-left:2px dotted green;
    border-right:2px dotted green;
}
.jury-lb-scoremode span#lb_points {
    display: unset !important;
}
.judge-final-page .alert-footer {
    margin-top: 20px;
}
.admin.result-page .jury-sticky-toolbar {
    top: 130px;
}
.jury-sticky-toolbar {
    position: sticky;
    top: 70px; /* adjust to your header height */
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    /*background: rgba(255, 255, 255, 0.92);*/
    backdrop-filter: blur(2px);
}
.judge-score-page .jury-sticky-toolbar,
.judge-score.grid .jury-sticky-toolbar,
body#nminafo .jury-sticky-toolbar{
    display: none;
}
.judge-score-page .jury-summary-section,
.judge-score.grid .jury-summary-section{
    display: none;
}
.jury-sticky-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #cfd8e3;
    border-radius: 14px;
    background: white;
    color: #3f556b;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    white-space: nowrap;
}

.jury-sticky-status__label {
    font-size: 14px;
    font-weight: 600;
    color: #5d7288;
}

.jury-sticky-status__value {
    font-size: 16px;
    font-weight: 700;
    color: #1f5f95;
}

/* optional states */
.jury-sticky-status.is-warning {
    background: #fff8e8;
    border-color: #f0d38a;
}

.jury-sticky-status.is-warning .jury-sticky-status__value {
    color: #a36a00;
}

.jury-sticky-status.is-danger {
    background: #fff1f1;
    border-color: #efb8b8;
}

.jury-sticky-status.is-danger .jury-sticky-status__value {
    color: #b42318;
}

.judge-score-row .judge-score-buttons {
    display: grid;
    grid-template-columns: repeat(11, minmax(0px, 1fr));
    gap: 12px 10px;
    align-items: start;
}

.judge-score-row label.judge-score-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    cursor: pointer;
    position: relative;
}
.judge-score-row input.list_point_button {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.judge-score-row span.judge-award-label {
    font-size: 0.95rem;
    line-height: 1.2;
    color: var(--judge-blue);
    white-space: nowrap;
}
.judge-score-row .judge-score-card {
    /*min-height: 175px;*/
}
.judge-score-page .alert-info.alert-footer,
.judge-final-page .alert-info.alert-footer{
    background-color: var(--judge-card-bg);
    border-radius: 18px;
    margin-top: 10px;
}
.judge-scroll-nav {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.judge-scroll-nav .btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.judge-scroll-nav .btn:hover {
    transform: translateY(-1px);
}
.judge-score-list.is_view_only .judge-final-card {
    width: 100%;
}
.judge-result-image {
    width: 20%;
}
.judge-result-page .judge-result-counter {
    width: 60px;
}
.score-container {
    background: var(--judge-card-bg);
    border: 1px solid var(--judge-card-border);
    border-radius: 18px;
    padding: 14px 18px 14px;
    box-sizing: border-box;
    width: 32%;
}

@media (max-width: 767.98px) {
    .score-container {
        width: 100%;
    }
}
.admin-jury-result .page-header,
.jury-result .page-header{
    position: unset;
}
.admin-jury-result .page-header.container,
.jury-result .page-header.container{
    background: white;
}
.admin-jury-result ul.breadcrumb,
.jury-result ul.breadcrumb{
    margin-bottom: unset;
    padding-left: 10px;
}
.breadcrumb-container {
    margin-top: 75px;
}
/* diploma */
.admin.diploma-page  .result-card {
    display: grid;
    grid-template-columns: 40px 40px 170px minmax(260px, 1fr) 330px;
    gap: 16px;
    align-items: start;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5d08d;
    border-radius: 22px;
    box-shadow: var(--shadow);
}

@media (max-width: 1450px) {
    .admin.diploma-page  .result-card {
        grid-template-columns: 40px 40px 150px minmax(220px, 1fr) 290px;
    }

    .admin.result-page .result-thumb {
        width: 135px;
    }
}
@media (max-width: 900px) {
    .admin.diploma-page  .result-card {
        grid-template-columns: 1fr;
    }

    .admin.result-page .result-select-col,
    .admin.result-page .result-rank-col {
        justify-content: flex-start;
        padding-top: 0;
    }
}
.result-thumb {
    width: 150px;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
}

.form-group textarea#jury,
.form-group textarea#text_1,
.form-group textarea#text_2,
.form-group textarea#text_3,
.form-group textarea#text_4{
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font: inherit;
    background: #fff;
}
/*
@media print{
    .comment-link-container,
    .jury-sticky-toolbar {
        display: none !important;
    }
}
*/

@media print {

    body {
        background: #fff !important;
        color: #000;
        font-size: 9pt;
    }

    @page {
        margin: 12mm;
    }
    .top-result {
        border: 1px solid rgb(25 24 24 / 17%) !important;
    }
    .judge-result-page {
        margin: 0;
        padding: 0;
    }

    .jury-sticky-toolbar {
        position: unset !important;
        padding: 0px !important;
    }

    .jury-sticky-status {
        border: none !important;
    }
    span.jury-sticky-status__label {
        color: black !important;
    }

    span#stickyAcceptedPercent {
        color: black !important;
    }

    nav.pc-sidebar {
        display: none;
    }

    .result-card {
        border: 0;
        border-bottom: 1px solid #ccc;
        border-radius: 0;
        margin: 0;
        padding: 6px 0;
        page-break-inside: avoid;
        break-inside: avoid;
        box-shadow: none !important;
    }

    .result-card > .p-4,
    .result-card > .p-lg-4 {
        /*padding: 0 !important;*/
    }

    .judge-result-row {
        display: grid !important;
        grid-template-columns: 60px 175px 1fr 265px;
        gap: 8px;
        align-items: start;
    }

    .judge-final-counter,
    .judge-final-main,
    .judge-result-middle,
    .score-container {
        width: auto !important;
        max-width: none !important;
        padding: 0 !important;
        /*margin: 0 !important;*/
        /*margin-right: 20px;*/
    }

    .score-container,
    .score-box,
    .judge-comment {
        border: none !important;
    }

    .judge-index {
        font-size: 13pt;
        font-weight: 700;
        line-height: 1;
        padding-top: 4px;
    }

    .judge-thumb {
        width: 60px;
        max-width: 60px;
        height: 60px;
        object-fit: cover;
        border-radius: 4px;
    }

    .photo-title {
        font-size: 10pt;
        font-weight: 700;
        line-height: 1.2;
    }

    .photo-meta {
        font-size: 8.5pt;
        margin: 2px 0 4px !important;
    }

    .badge,
    .result-id {
        font-size: 7.5pt;
        padding: 1px 4px;
        border: 1px solid #bbb;
        background: #fff !important;
        color: #000 !important;
    }

    textarea,
    .comment-link-container,
    .edit-link,
    .btn,
    a[href]::after {
        display: none !important;
    }

    .comment-box {
        border: 1px solid #ccc;
        min-height: 34px;
        padding: 4px 6px;
        font-size: 8.5pt;
        line-height: 1.25;
        white-space: pre-wrap;
    }

    .score-box {
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 5px 6px;
        background: #fff !important;
        font-size: 8pt;
    }

    .score-label {
        display: inline;
        font-size: 7.5pt;
        font-weight: 700;
        text-transform: none;
    }

    .score-label::after {
        content: ": ";
    }

    .score-value,
    .avg-score,
    .score-points-value {
        display: inline;
        font-size: 8pt;
        font-weight: 400;
        margin: 0 !important;
    }

    .score-value::after,
    .avg-score::after {
        content: "\A";
        white-space: pre;
    }

    .judge-comment {
        min-height: 0px !important;
        padding: 0px !important;
    }
    .hide_print {
        display: none !important;
    }
    .pc-container {
        top: 0 !important;
    }
    #toolbarContainer {
        display: none;
    }
    .jury-summary-section {
        margin-bottom: 0px !important;
    }
    .jury-summary-textarea {
        font-size: medium !important;
    }
    .jury-summary-card {
        border: none !important;
        border-radius: 0px !important;
        padding: 0px !important;
    }
    .jury-summary-textarea {
        min-height: 0px !important;
    }
}
/*@media (max-width: 767.98px) {
    .judge-result-row {
        display: grid;
        grid-template-columns: 44px 1fr;
        column-gap: 16px;
        row-gap: 14px;
        align-items: start;
    }

    .judge-final-counter {
        grid-column: 1;
        grid-row: 1;
        padding: 0;
        justify-content: center !important;
    }

    .judge-index {
        font-size: 2rem;
        line-height: 1;
    }

    .judge-final-main {
        grid-column: 2;
        grid-row: 1;
        padding: 0;
    }

    .judge-result-middle {
        grid-column: 1 / -1;
        grid-row: 2;
        padding: 0;
    }

    .judge-thumb-block,
    .judge-thumb-link {
        display: block;
        width: fit-content;
    }

    .judge-thumb {
        width: 110px;
        max-width: 100%;
        height: auto;
        border-radius: 12px;
    }

    .photo-title {
        font-size: 1.25rem;
        line-height: 1.2;
    }

    .photo-meta,
    .comp-description,
    .round-description,
    .comment-box {
        font-size: 0.95rem;
    }
}
@media (max-width: 767.98px) {
    .result-card .p-4 {
        padding: 1.25rem !important;
    }

    .result-card {
        margin-bottom: 1.5rem;
    }
}*/
@media (max-width: 767.98px) {
    .judge-result-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .judge-final-counter {
        position: absolute;
        left: 16px;
        top: 16px;
    }

    .judge-final-main {
        grid-row: 1;
    }

    .judge-result-middle {
        grid-row: 2;
    }

    .judge-thumb {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 14px;
    }
    .judge-result-image {
        width: unset;
    }
    .comment-box {
        min-height: 0px !important;
    }
    .judge-final-page .judge-final-main {
        padding: unset !important;
        padding-left: 18px !important;
    }
    .judge-result-page .judge-result-counter {
        display: none !important;
    }
    img.judge-thumb {
        width: 80vw !important;
        height: auto !important;
    }
    body#nminafo .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}
body#nminafo .badge.points-literal {
    border: none !important;
    background: #fff !important;
}
body#nminafo .badge-icon {
    width: 30px;
    height: 30px;
}

