.maincol{
	min-width:0 !important;
	padding-left:16px;
	padding-right:16px;
	}
#main{
	min-width:0;
	}
#page-body-core{
	margin:0;
	}
#page-head-master .maincol{
	padding-right:145px;
	}
#user-info{
	margin-right:-145px;
	padding-left:4em;
	}
#user-info-greeting,
#page-body-art-1,
#page-body-art-2{
	display:none !important;
	}
#user-info-logout{
	display:none;
	opacity:1 !important;
	}
	#user-info-logout:before{
		display:none !important;
		}
/* The logo's coral dot sits at its right edge — keep the campaign-name box
   clear of it. */
#tour-chooser{
	margin-left:116px;
	}
	#tour-chooser-active{
		line-height:1.7;
		font-size:1.1em;
		}
	#tour-chooser-body{
		left:-116px;
		min-width:300px;
		}
	#tour-chooser-button{
		width:25px;
		}
	#tour-chooser-button:after{
		opacity:0.5;
		}
.tour-countdown{
	display:none;
	}
#page-head-slave .maincol{
	padding-left:0;
	}
.maincol_submenu{
	padding-right:0;
}
UL.tour-submenu{
	margin-left:0 !important;
	font-size: 15px;
	float:none;
	width:100%;
	display:flex;
	flex-direction:row;
	align-items:center;
	}
	UL.tour-submenu LI{
		flex:1;
		text-align:center;
		}
	UL.tour-submenu STRONG,
	UL.tour-submenu A{
		padding:8px 4px;
		}
#forum-update-link{
	display:none;
}
.tour-title .stat{
  width:auto;
}


.col3-1,
.col3-2,
.col3-3,
.col3-23,
.col2a-1,
.col2a-2{
	float:none;
	margin:0 0 2em !important;
	padding:0;
	width:auto;
	}
.col3-1 .col-core,
.col3-2 .col-core,
.col3-3 .col-core,
.col2a-1 .col-core{
	padding:0;
	}
.list-t .event-box_wrap{
	width:auto;
	display:block;
	}
	.list-t .event-box{
		margin:0;
		}
.tour-in-list{
	display:block;
	width:auto;
	}
TABLE.summary{
	width:100%;	
	}
	TABLE.summary TH,
	TABLE.summary TD{
		font-size:1.15em !important;
		}
	.list-t TABLE.summary.summary2 TD{
		}
		
TABLE.rating{
	}
	TABLE.rating TD.num{
		width:10%;
		}
	
/* The desktop top-bar greeting is hidden on mobile; surface it here instead
   as a small speech bubble that pokes up out of the footer's top edge, so it
   reads as a personal aside rather than footer meta. */
#page-foot{
	padding-top:1px;        /* stop the bubble's negative margin collapsing into the footer's top margin */
	padding-bottom:16px;    /* breathing room at the very bottom on mobile */
	}
#foot-greeting{
	display:block;
	position:relative;
	margin:-34px 12px 22px;
	text-align:center;
	}
	#foot-greeting .foot-greeting__bubble{
		display:inline-block;
		position:relative;
		max-width:84%;
		padding:11px 18px;
		background:#fff;
		border-radius:20px;
		font-style:italic;
		font-size:0.95em;
		line-height:1.3;
		text-align:left;
		color:var(--rz-ink);
		/* No border — the soft drop-shadow alone defines the edge (like the
		   stat cards). drop-shadow (not box-shadow) so it follows the real
		   bubble+tail silhouette as one shape; with no border there's also no
		   seam to misalign where the tail meets the bubble. */
		-webkit-filter:drop-shadow(0 3px 6px rgba(12,79,140,0.18));
		filter:drop-shadow(0 3px 6px rgba(12,79,140,0.18));
		}
		/* Comic tail — a plain white SVG triangle leaning down-right, as if the
		   line is spoken from just off the page. No stroke: it overlaps up into
		   the bubble (white-on-white, so the junction is seamless and not
		   alignment-sensitive) and the shared drop-shadow defines its edge.
		   Geometry tuned live via chrome-devtools. */
		#foot-greeting .foot-greeting__bubble:after{
			content:'';
			position:absolute;
			right:28px;
			bottom:-27px;
			width:62px;
			height:29.5px;
			background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 40'%3E%3Cpath d='M20,3 L78,35 L50,3' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat 0 0;
			background-size:62px 29.5px;
			}
		#foot-greeting a{
			color:var(--rz-coral);
			font-weight:700;
			text-decoration:none;
			white-space:nowrap;
			}

#m2x{
	margin-left:0;
	}
#stat{
	float:none;
	clear:both;
	padding:8px 0 0 123px;
	}
#page-foot-admin{
	float:none;
	clear:both;
	padding:8px 0 0 123px;
	margin-left:0;
	}
.summary{
	max-width:25em;
	}
/* Events table */
	TABLE.events{
		margin-left:0;
		font-size:0.9em;
		}
	TABLE.events .event-title{
		font-size:1em;
		}
	.event-detail-name{
		display:block;
		min-width:0;
		width:auto;
		}
	.events TBODY TH,
	.events TBODY TD{
		padding:5px !important;
		}
	.events-col-title{
		display:inline-block;
		width:1em;
		overflow:hidden;
		text-indent:-9000em;
		}
	.event-detail-desc,
	TABLE.events .tags{
		display:none;
		}

/* Events V2 — mobile overrides */
	TABLE.events.rz-events-v2 TBODY TH,
	TABLE.events.rz-events-v2 TBODY TD{
		padding:10px 3px !important;
		}
	/* Match the caption's padding-top (10px) and name font-size (0.98em) so the
	   dot stays on the same optical line as the flags/name on mobile too. */
	TABLE.events.rz-events-v2 .col-status{
		padding:10px 3px 9px 6px !important;
		width:12px;
		font-size:0.98em;
		}
	/* Keep the date visible, but tags remain desktop hover-only. */
	TABLE.events.rz-events-v2 .rz-tag{
		display:none;
		}
	/* Match name: allow long team names to wrap on narrow screens */
	TABLE.events.rz-events-v2 .col-caption{
		padding-left:2px;
		}
	TABLE.events.rz-events-v2 .event-title.rz-match-name{
		font-size:0.98em;
		}
	TABLE.events.rz-events-v2 .rz-team{
		white-space:normal;
		}
	TABLE.events.rz-events-v2 .rz-flag-sm{
		width:16px;
		margin-right:4px;
		}
	TABLE.events.rz-events-v2 .rz-name-dash{
		margin:0 4px;
		}
	/* Tighter score + points columns; points stays the dominant number */
	TABLE.events.rz-events-v2 .col-score{
		width:46px;
		padding-top:11px !important;
		}
	TABLE.events.rz-events-v2 .col-points{
		width:40px;
		padding-top:9px !important;
		}
	TABLE.events.rz-events-v2 .rz-score-pred{
		font-size:0.85em;
		}
	TABLE.events.rz-events-v2 .rz-score-fact{
		font-size:0.85em;
		}
	TABLE.events.rz-events-v2 .rz-points-val{
		font-size:1.12em;
		}
/* Event page */
	.status{
		margin-left:0;
		}
	.event-name{
		padding-right:0;
		}
	.print-link-wrap{
		display:none;
		}
	.event-name .event-title,
	#pageContent .event-data > .event-title,
	#pageContent .event-name .event-title{
		display:block;
		font-size:1.85em;
		letter-spacing:-0.025em;
		}
	.col2-1,
	.col2-2{
		float:none;
		width:auto;
		margin:0 0 1em;
		}
	.forecast{
		margin:20px 0 10px;
		}
	.weight{
		margin-bottom:16px;
		}
	.prevnext{
		margin:2em 0 0 !important;
		}
		.prevnext LI.prev,
		.prevnext LI.next,
		.prevnext LI.more{
			display:block;
			float:none !important;
			width:auto !important;
			margin:0 0 1.5em;
			}
		.prevnext LI.next{
			position:relative;
			text-align:right !important;
			padding-right:1.7em;
			}
		.prevnext LI.prev{
			position:relative;
			text-align:left !important;
			padding-left:1.7em;
			}
		.prevnext LI.more{
			margin:0.5em 0 0;
			padding:1.25em 0 0;
			text-align:center !important;
			border-top:1px solid rgba(20,32,43,0.08);
			}
		.prevnext .prev A,
		.prevnext .next A{
			position:static;
			}
		.prevnext .dir{
			font-size:0.78em;
			}
			.prevnext .dir strong{
				position:absolute;
				top:0;
				bottom:0;
				display:flex;
				align-items:center;
				margin:0;
				font-size:2em;
				line-height:1;
				color:#b3b2b3;
				}
			.prevnext .next .dir strong{
				right:0;
				}
			.prevnext .prev .dir strong{
				left:0;
				}
	.event-data .match{
		display:none;
		}
#events-head{
	margin-top:0 !important;
	}

DIV.filter{
	float:none;
	clear:both;
	text-align:left;
	padding:12px 0 0;
	}
.filter-list LI{
	display:block;
	margin:0 0 2px;
	padding:12px 12px;
	border-radius:2px;
	}
/* V2 filter pills on mobile — stay horizontal, wrap */
.rz-filter-pills.filter-list > LI{
	display:inline-flex;
	margin:0;
	padding:6px 12px;
	border-radius:100px;
	font-size:0.8em;
	}


/* Forum */
	.message-head{
		float:none;
		width:auto;
		margin:0;
		}
		.message-head A.thumb{
			margin-right:10px;
			}
		.message-head H3{
			float:none;
			overflow:hidden;
			font-size:1em;
			}
		.message-head H3 .mesage-player{
			display:inline;
			}
		.message-head H3 .message-time{
			display:inline;
			}
		.message-head H3 .interval{
			display:none;
			}
	.message-body{
		padding-left:0;
		}
	.messages LI{
		margin-bottom:40px;
		}

/* Players chat V2 — mobile */
	.rz-chat-wrap{
		box-sizing:border-box;
		height:calc(100vh - 110px);
		max-height:none;
		min-height:160px;
		margin-top:10px;
		margin-bottom:0;
		padding-bottom:8px;
		}
	.page-tour-forum.is-chat-keyboard-open .rz-chat-wrap{
		padding-bottom:0;
		}
	/* No hover on touch — keep reply/delete reachable */
	.rz-chat .rz-bubble__actions{
		opacity:1;
		}
	.rz-chat .rz-bubble__col{
		max-width:84%;
		}
	.rz-bubble__avatar,
	.rz-bubble__avatar img{
		width:28px;
		height:28px;
		}
	/* System lines: keep the game+result on one line, drop the flavor onto its
	   own line (avoids messy random wrapping on narrow screens) */
	.rz-chat .rz-inject__match{
		display:block;
		}
	.rz-chat .rz-inject__fact{
		display:block;
		margin-left:0;
		margin-top:1px;
		}

.form-submit,
.fields DD.form-submit{
	max-width: none;
}
		
/* Players list */
	.players{
		margin-left:0;
		}
	.players:not(.players_real-rating){
		grid-template-columns:repeat(2,1fr);
		}
	.player-item{
		width:auto;
		}
		.player-item__link{
			padding:10px 8px;
			}
		.player-item__num{
			margin-right:6px;
			}
		.player-item__thumb{
			margin-right:6px;
			}
		.players:not(.players_real-rating) .player-item__details{
			width:100%;
			}
		.player-item__login{
			font-size:1.1em;
			}
		.player-item__name{
			font-size:0.8em;
			}
		.player-item__points{
			font-size:1.15em;
			}
		.players_real-rating{
			margin:inherit;
			}
		.players_real-rating .player-item_pos-1,
		.players_real-rating .player-item_pos-2,
		.players_real-rating .player-item_pos-3{
			-webkit-transform:none;
			transform:none;
			}
		/* Rating rows: one flex line — num, avatar, name block, then points
		   and trend pinned to the right edge */
		.players_real-rating .player-item__link{
			display:flex;
			align-items:center;
			}
		.players_real-rating .player-item__details{
			flex:1;
			width:auto;
			min-width:0;
			}
			.players_real-rating .player-item__login{
				overflow:hidden;
				text-overflow:ellipsis;
				}
		.players_real-rating .player-item__points{
			font-size:1.3em;
			}
		.players_real-rating .player-item__trend{
			top:0;
			vertical-align:baseline;
			margin:0 0 0 8px;
			padding:0;
			}
	/*.players{
		}
		.players-header{
			display:none;
			}
		.players IMG.thumb{
			display:block;
			float:none;
			}
		.players .details{
			width:8em;
			overflow:hidden;
			margin:0 0 0 1.8em;
			}
		.players H3{
			font-size:1em;
			}
		.players .points{
			margin-top:-70px;
			}
			.players .points STRONG{
				width:3em;
				font-size:1.15em;
				}
		.players .trend{
			margin-top:-50px;
			margin-left:5em;
			font-size:1.15em;
			}*/
			
/* Standings / leaderboard V2 — mobile */
	.rz-board{
		margin-top:12px;
		}
	.rz-podium{
		gap:8px;
		margin-top:22px;
		}
	/* Tighter step on narrow screens so the stairs don't waste vertical space */
	.rz-podium__slot--2{ margin-top:18px; }
	.rz-podium__slot--3{ margin-top:34px; }
	.rz-podium__slot{
		max-width:none;
		}
	.rz-podium__link{
		padding:12px 5px 14px;
		border-radius:14px;
		}
	.rz-podium__slot--1 .rz-podium__link{
		padding:14px 6px 18px;
		}
	/* Avatars keep their desktop sizes (48 / 55 / 44) — already within the
	   55px source resolution, so no mobile upscale override needed. */
	.rz-podium__crown{
		font-size:20px;
		top:-20px;
		}
	.rz-podium__login{
		font-size:0.88em;
		}
	.rz-podium__slot--1 .rz-podium__login{
		font-size:1em;
		}
	.rz-podium__name{
		display:none;
		}
	.rz-podium__pts{
		font-size:1.3em;
		}
	.rz-podium__slot--1 .rz-podium__pts{
		font-size:1.55em;
		}
	.rz-podium .rz-hits__lbl{
		display:none;
		}
	/* Full-size 1.55em tie flag dominates the narrow card (points shrink, the
	   "точных" label is hidden) — scale it back to a quiet circular marker.
	   min-width:0 overrides the base 1.25em so width can't stretch to an oval. */
	.rz-podium .rz-tie__eq{
		min-width:0;
		width:1.05em;
		height:1.05em;
		line-height:1.05em;
		font-size:0.82em;
		}
	.rz-rank__link{
		gap:8px;
		padding:8px 4px;
		}
	.rz-rank__avatar{
		width:34px;
		height:34px;
		}
	.rz-rank__pos{
		min-width:1.4em;
		}
	.rz-rank__score{
		min-width:3em;
		}
	.rz-roster__grid{
		grid-template-columns:repeat(2,1fr);
		}

/* Player page */
	.player{
		padding:0;
		}
	.player .thumb{
		position:static;
		display:block;
		}
	.rz-player__hero{
		padding:18px 16px;
		}
	.rz-player__login{
		font-size:1.55em;
		}
	.rz-player__stat{
		min-width:0;
		}
	.rz-player__stat-val{
		font-size:1.4em;
		}
			
			
.flash{
	display:none;
	}
/* Guest */
	.user-state-guest{
    padding:0;
		background-position:center 10px;
		}
		.user-state-guest #main{
			width:auto;
			}
		.user-state-guest #logo{
      margin: 0;
    }
		.user-state-guest #page-body{
      margin: 0 15px;
      padding: 15px;
      background-color:rgba(255, 255, 255, 0.8);
    }
		.user-state-guest #page-body H1{
      top: 9px;
    }

    .user-state-guest .form-field-row LABEL{
      float:none;
      display:block;
      width:auto;
    }
    .user-state-guest .form-field-row-message{
      margin-left:0;
    }
    .user-state-guest .form-field-row-submit{
      margin-left:0;
    }
    .user-state-guest .form-field-wrap{
      padding: 0;
    }
    .user-state-guest .wow-button{
      display:block;
      width:100%;
      padding: 10px;
    }
    #authform-actions{
      display:block;
      margin:1.6em 0 0;
    }
    #authform-actions #authform-options{
      margin-top:15px;
    }
    .user-state-guest INPUT,
    .user-state-guest TEXTAREA{
      box-sizing: border-box;
      padding: 8px 10px;
      font-size: 16px;
      width:100%;
    }

    #authform-options{
      margin: 15px 0 0;
      font-size: 1em;
    }
    #authform-options LI{
      display:inline-block;
      margin: 0 10px 5px;
      vertical-align:middle;
    }
      #authform-options LI:last-child{
        margin-right:0;;
      }



/* Sticky event title: keeps match name visible when soft keyboard opens.
   overflow:hidden on #page-body-wrap creates a scroll container that blocks sticky;
   override to clip which clips visually but doesn't create a scroll container. */
#page-body-wrap{
	overflow:clip;
	}
#pageContent .event-data > .event-title{
	position:sticky;
	top:0;
	z-index:10;
	background:#fff;
	margin-left:-16px;
	margin-right:-16px;
	padding-top:0.35em;
	padding-bottom:0.35em;
	padding-left:calc(16px + 0.6em);
	padding-right:16px;
	}
	#pageContent .event-data > .event-title::before{
		left:16px;
		}
@supports (animation-timeline: scroll()){
	@keyframes event-title-stuck{
		from{box-shadow:none;}
		to{box-shadow:0 2px 6px rgba(0,0,0,0.10);}
		}
	#pageContent .event-data > .event-title{
		animation:event-title-stuck linear both;
		animation-timeline:scroll();
		animation-range:110px 111px;
		}
	}

/* Tour id=10 (euro-2016) */
.tour-id-10{}
  .tour-id-10 #page-body-core{
    margin-left:0;
  }
	.tour-id-10 #page-foot-inner{
		padding-left: 20px;
	}
	.tour-id-10 .wider-bg{
		right:-15px;
	}
	.tour-id-10 .status{
		margin-right:-15px;
	}
