/*
__________________________________________________________________

HYPER: COMMONS CSS

*** PRIMACY: /E2H (FILE CODEBASE) ***

Revisions:
    20230502 extracted from [::e2h-filters-css] and hyperphotos-css !

Shared between:
	* mima22
	* hyperphotos

[TOC]

___________________________________
*/

:root {

	--Z-BUTTONS:		1100000;
	--Z-BAR:			1000000;
	--Z-MESSAGES:		999999;
	--Z-SUPERSCREEN:	500000;
	--Z-DEVBOX:			70000;
	--Z-VIEWBOX:		49999; /* TAGS and stuff */
	


    /*
        →→DEFAULTS AND ALSO COMMON

    ----------------------------------------------------------------
        (1) These are set in code at
            →→COLOR DEFAULTS !!
            So the below don't to anything!
          ↓↓↓
    ----------------------------------------------------------------
    --BG: white;
    --FG: black;
    */


	/*
	—————————— SCROLLBAR —————————————————
	*/

	scrollbar-color: var(--SCROLLBAR_TOC) var(--BG) !important;

	  /* WebKit (Chrome/Safari/Edge) */
	  /*
	  &::-webkit-scrollbar {
		width: 8px;
		height: 8px;
	  }
	  */
	  &::-webkit-scrollbar-track {
		background: var(--BG);
	  }
	  &::-webkit-scrollbar-thumb {
		background: var(--SCROLLBAR_TOC);
		border-radius: 4px;
	  }

	/*
	————————————————————————————————————————————
	*/
}




/*————————————————————————
*** VIEW: #MESSAGES
——————————————————*/

#messages {
    border: solid 5px var(--FG);
    background: var(--BG) !important;
    color: var(--FG) !important;
    padding: 20px 50px 20px 50px !important;
    position: sticky !important; /* mima-style */
    position: fixed !important; /* hp-style */
    bottom: 5%;
    left: 5%;
    z-index: var(--Z-MESSAGES);
}





/*————————————————————————
*** VIEW: #INFO
——————————————————*/

#info {
}

#info-table, #info-table td {
    border: 2px solid black !important;
    border-collapse: collapse !important;
    padding: 3px;
}


/*————————————————————————
$$$$$$ HUH?! AGAIN?
*** VIEW: #INFO
——————————————————*/

.info {
}

.table-info, .table-info td {
    border: 2px solid black !important;
    border-collapse: collapse !important;
    padding: 3px;
}

.table-list, .table-list td {
    border: 1px solid #444 !important;
    border-collapse: collapse !important;
    padding: 3px;
}







/*
% % % % % % % % % % % % % % % % % % % % % % % % 

 % % % % % % % % % % % % % % % % % % % % % % % % 

*** MAIN: SUPERSCREEN
aka "OVERRIDE"

% % % % % % % % % % % % % % % % % % % % % % % % 

 % % % % % % % % % % % % % % % % % % % % % % % % 
*/


#superscreen {
    background: var(--FG);
    color: var(--BG);

    position: fixed;

    /*
    margin: 0%;
    top: 10px;
    left: 10px;
    border: 10px solid #555;
    height: 90%;
    width: 90%;
    */

    margin: 0px;
    padding: 0px;
    top: 0px;
    left: 0px;
    border: none;
    height: 100vh;
    width: 100vw;

    z-index: var(--Z-SUPERSCREEN);
}
#superscreen h1 {
	font-size: 222%;
	font-weight: bold;
	padding: 15px;
}
#superscreen_in {
    background: var(--BG);
    color: var(--FG);

    margin: 0px;
    padding: 0px;
    /*
    width: auto;
    height: auto;
    */
    height: 100vh;
    width: 100vw;

    overflow: scroll;
    /*

        [!!] 
            looks cool
            but wrecks EXPORT

    display: flex;
    */
    display: block;
    justify-content: space-evenly;
}

/*
—————————————————————————————————————————————————————————————————————

    function html_main_override(raw, style) {

                                         ↑

                                superscreen_*
                                         ↓

—————————————————————————————————————————————————————————————————
*/
.superscreen_vulgar {
    background: var(--BG) !important;
    color: var(--FG) !important;
    font-size: 10em;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}




/*
% % % % % % % % % % % % % % % % % % % % % % % % 

 % % % % % % % % % % % % % % % % % % % % % % % % 

*** SEARCHBAR
20230304 0410 via mima22

% % % % % % % % % % % % % % % % % % % % % % % % 

 % % % % % % % % % % % % % % % % % % % % % % % % 
*/

#bar {
     position: fixed;
     top: 35%;
     left: 0;
     right: 0;
     width: 100%;

    z-index: var(--Z-BAR);
}

#barfield {
    display: block;
    width: 628px;
    height: 56px;
    margin: auto;
    border-radius: 5px;
/*
    appearance(none);
*/
    box-shadow: 0 25px 60px 10px rgba(0,0,0,0.3);
    border: 1px solid rgba(0,0,0,0.2);
    outline: none;
    font-size: 1.6rem;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
    color: black;
    background-color: #f8f5f4;

/*
    ——— MOVED SEPARATE ———
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkViZW5lXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjIuNyAyMi41IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyMi43IDIyLjUiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxjaXJjbGUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNjY2NzY2IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgY3g9IjguMSIgY3k9IjguNCIgcj0iNi44Ii8+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNjY2NzY2IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEzLjIiIHkxPSIxMi45IiB4Mj0iMjEuNSIgeTI9IjIxLjQiLz48L3N2Zz4=);
    background-position: left 17px center;
    background-repeat: no-repeat;
    background-size: 3.5%;
*/

    padding: 0 52px;
}

.bar_search {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkViZW5lXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjIuNyAyMi41IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyMi43IDIyLjUiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxjaXJjbGUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNjY2NzY2IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgY3g9IjguMSIgY3k9IjguNCIgcj0iNi44Ii8+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNjY2NzY2IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEzLjIiIHkxPSIxMi45IiB4Mj0iMjEuNSIgeTI9IjIxLjQiLz48L3N2Zz4=);
    background-position: left 17px center;
    background-repeat: no-repeat;
    background-size: 3.5%;
}

.bar_prompt {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-3d-rotate' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M12 3a7 7 0 0 1 7 7v4l-3 -3'%3E%3C/path%3E%3Cpath d='M22 11l-3 3'%3E%3C/path%3E%3Cpath d='M8 15.5l-5 -3l5 -3l5 3v5.5l-5 3z'%3E%3C/path%3E%3Cpath d='M3 12.5v5.5l5 3'%3E%3C/path%3E%3Cpath d='M8 15.545l5 -3.03'%3E%3C/path%3E%3C/svg%3E");
    background-position: left 17px center;
    background-repeat: no-repeat;
    background-size: 3.5%;
}






/*
↑↑↑↑↑↑↑
↑↑↑↑↑↑↑
↑↑↑↑↑↑↑
↑↑↑↑↑↑↑
↑↑↑↑↑↑↑
↑↑↑↑↑↑↑
######################################################################################################### TOTAL COMMONS
↓↓↓↓↓↓↓
↓↓↓↓↓↓↓
↓↓↓↓↓↓↓
↓↓↓↓↓↓↓
↓↓↓↓↓↓↓
*/


/*
% % % % % % % % % % % % % % % % % % % % % % % % 

 % % % % % % % % % % % % % % % % % % % % % % % % 

*** TOUCH BUTTONS

% % % % % % % % % % % % % % % % % % % % % % % % 

 % % % % % % % % % % % % % % % % % % % % % % % % 
*/

/*

    [!]
        ——NOT NEEDED——
            physical touch buttons
            as we have SWIPES

.touch {
    display: var(--SHOW_TOUCH);
    width: 100px;
    height: 100px;
    background: white;
    border: 3px solid red;
    z-index: 90000;
    position: absolute;
}

#touch_left {
    left: 5%;
    top: 55%;
}
#touch_right {
    right: 5%;
    top: 55%;
}
*/






/*
% % % % % % % % % % % % % % % % % % % % % % % % 

 % % % % % % % % % % % % % % % % % % % % % % % % 

*** DEVBOX ( @ center right )

% % % % % % % % % % % % % % % % % % % % % % % % 

 % % % % % % % % % % % % % % % % % % % % % % % % 
*/

#devbox {

    display: none;
    margin-top: 0.83em;
    margin-bottom: 0.83em;
    margin-left: 0;
    margin-right: 0;


    font-weight: bold;
    font-size: 0.7em;

    /*
    -webkit-text-stroke: 1px var(--BG) !important;
    -webkit-text-fill-color: var(--FG) !important;
    */
    background: #444;
    opacity: 0.8;
    padding: 15px;
    color: var(--BG) !important;
    border: 2px solid var(--BG);

    position: fixed !important;

    top: 10%;
    height: auto;

    left: 50%;
    width: 45%;
    
    z-index: var(--Z-DEVBOX);
}


#speed_level {
    font-size: 0.5em !important;
}




/*
↑↑↑↑↑↑↑
↑↑↑↑↑↑↑
↑↑↑↑↑↑↑
↑↑↑↑↑↑↑
↑↑↑↑↑↑↑
↑↑↑↑↑↑↑
############################################################################################################################
*/

.key-row-td {
    background: black;
    padding: 5px;
}
.key-pure-td {
    background: silver;
    color: black;
}
.key-combo-td {
    background: white;
    color: black;
    font-size: 0.8em;
}
.key-combo-td1 {
    padding-left: 20px;
}
.key-empty-td {
    background: silver;
    color: black;
}

.key-active-td2 {
	cursor: crosshair;
	padding: 4px;
	font-style: italic;
}


/*
.key-empty-td2 {
    background: silver;
    background: #555;
}
*/



/*

.keyboard {
    display: flex;
    align-items: center;
    justify-content: center;
}

.keyboard_key {
    border: 2px solid blue;
}
*/


.attention {
    font-weight: bold;
}
.attention2 {
    background: red;
    color: white;
    padding: 2px;
    font-weight: bold;
}



.copydiv-title {
    cursor: crosshair;
}
.downloaddiv-title {
    cursor: alias;
}



/*
#################################################################################################################
#################################################################################################################
#################################################################################################################
#################################################################################################################
#################################################################################################################
*/




/*————————————————————————
***
***
*** .VIEWBOX
***
***

Used for:
	* TAGSVIEW
	* (maybe in some commons:eapi thing)
	* ###
——————————————————*/

.viewbox {
    user-select: none;

	/*
    --TC1: pink;
    --TC2: cyan;
    --TC3: blue;

    --TC1: red;
    --TC2: yellow;
    --TC3: lime;
    */

    --TC1: var(--BG, white);
    --TC2: var(--C1);
    --TC3: var(--C2);

    background: var(--TC3) !important;
    border: 5px solid var(--TC2) !important;

    position: fixed !important;
    top: 50px !important;
    left: 33% !important;
    width: auto !important;
    height: 77% !important;
    z-index: var(--Z-VIEWBOX);
    padding: 20px;
    margin: 10px;
    overflow: auto !important;

    accent-color: var(--TC2);
    color: var(--TC2);
}




/*————————————————————————————————
***
***
***
*** VIEW: TAGS aka TAGSVIEW
***
***
***
—————————————————————————————*/

#tags {
/*
now all in .viewbox
*/
}

#tags > table {
    border: 3px solid var(--TC1);
    border: none !important;
    margin: 0px !important;
    padding: 0px !important;
    border-collapse: collapse !important;
}
#tags aim-cb {
    margin: 0px !important;
    padding: 0px !important;
    background: yellow !important;
}
#tags td {
    border: 1px solid var(--TC1);
    padding: 2px;
    border: none !important;
    padding: 0!important;
    margin: 0 !important;
}
.aim-r {
    border: none !important;
    padding: 0!important;
    margin: 0 !important;
}
.aim-label {
    color: var(--TC3);
    font-weight: bold;
    letter-spacing: 3px;
    padding-left: 15px;
}



/*————————————————————————
AIM "checkbox"
also part of TAGSVIEW
——————————————————*/

.aim-toggle-true {
    background: var(--TC2) !important;
    color: var(--TC1) !important;
    cursor: grab !important;
}
.aim-toggle-false {
    background: var(--TC1) !important;
    color: var(--TC2) !important;
    opacity: 0.8;
    cursor: grab !important;
}
.aim-sup {
    color: var(--TC2) !important;
    padding: 1px;
    margin: 2px;
    border-radius: 8px;
    border: 2px solid var(--TC2);
    writing-mode:vertical-rl;
}
.aim-toggle-true .aim-sup {
    color: var(--TC3) !important;
    border-color: var(--TC3);
}


/*————————————————————————
AIM "ranges"
——————————————————*/

input[type="range"] { 
    margin: auto;
    -webkit-appearance: none;
    position: relative;
    overflow: hidden;
    height: 40px;
    width: 200px;
    cursor: pointer;
/*
range rounded corner
*/
    border-radius: 77px; /* iOS */
    border: 1px solid #777;
}

/*
Do nothing?
 */
::-webkit-slider-runnable-track {
    background: blue;
}
::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px; /* 1 */
    height: 40px;
    background: var(--TC3);
    box-shadow: -100vw 0 0 100vw var(--TC3);
    border: 2px solid var(--TC2);
}
/*
the side after thumb
*/
::-moz-range-track {
    height: 40px;
    background: var(--TC2);
}
::-moz-range-thumb {
    background: var(--TC3);
    height: 40px;
    width: 20px;
    border-top: 3px solid var(--TC3);
    border-right: 3px solid var(--TC3);
    border-radius: 8px !important;
    box-shadow: -100vw 0 0 100vw var(--TC2);
    box-sizing: border-box;
}





/*
——————————————————————————————————————————————————

→→MEANXY

	[!!**ee] RENAME CLASSES TO "MEANXY" :)

——————————————————————————————————————————————————
*/


#button-grid {
  display: grid;
  width: 100vw;  /* Full width of the viewport */
  height: 100vh; /* Full height of the viewport */
  position: absolute;
  top: 0;
  left: 0;
  z-index: var(--Z-BUTTONS);
  
  --MEANXY-OPACITY: 0.51;
  
  background-color: rgba(255, 255, 255, 1); /* Transparent background */

  opacity: var(--MEANXY-OPACITY);
  gap: 5px; /* Space between buttons */

  pointer-events: none; /* Allow clicks to pass through the grid */
}

button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.5rem;
  padding: 10px;

  pointer-events: auto; /* Make buttons interactive */
}

button:hover {
  background-color: rgba(0, 0, 0, 0.2);
}


.gridhole {
  visibility: hidden; /* Hides the button but keeps its space */
  pointer-events: none; /* Makes the button non-interactive */
}



/*————————————————————————
((NEW)) / UNSORTED)
↓↓↓
——————————————————*/


/*
	See mm2p.css for the more specific one!
*/
.padframe {
/*
    position: fixed !important;
    top: 2% !important;
    left: 2% !important;
    width: 96% !important;
    height: 96% !important;
    z-index: 49999;
    padding: 0px;
    margin: 0px;
    overflow: auto !important;
*/
    width: 600px;
    height: 400px;
}



